diff --git a/.github/workflows/build_pr.yaml b/.github/workflows/build_pr.yaml index 431a9088b..b649a0489 100644 --- a/.github/workflows/build_pr.yaml +++ b/.github/workflows/build_pr.yaml @@ -38,8 +38,16 @@ jobs: run: | node sdk-resources/prescript.js api-specs/idn + - name: Build V2024 SDK + id: buildV2024 + run: | + rm -rf ./PSSailpoint/v2024 + java -jar openapi-generator-cli.jar generate -i api-specs/idn/sailpoint-api.v2024.yaml -g powershell -o PSSailpoint/v2024 --global-property skipFormModel=false --config sdk-resources/v2024-config.yaml + node sdk-resources/postscript.js ./PSSailpoint/v2024 + - name: Build V3 SDK id: buildV3 + if: steps.buildV2024.outcome == 'success' run: | rm -rf ./PSSailpoint/v3 java -jar openapi-generator-cli.jar generate -i api-specs/idn/sailpoint-api.v3.yaml -g powershell -o PSSailpoint/v3 --global-property skipFormModel=false --config sdk-resources/v3-config.yaml diff --git a/.github/workflows/bump_version.yaml b/.github/workflows/bump_version.yaml index be3660345..809cb4b1a 100644 --- a/.github/workflows/bump_version.yaml +++ b/.github/workflows/bump_version.yaml @@ -64,6 +64,7 @@ jobs: run: | yq -i '.packageVersion = "${{ github.event.inputs.version }}"' sdk-resources/beta-config.yaml yq -i '.packageVersion = "${{ github.event.inputs.version }}"' sdk-resources/v3-config.yaml + yq -i '.packageVersion = "${{ github.event.inputs.version }}"' sdk-resources/v2024-config.yaml ## Update Build.ps1 file with new version - name: Update Build.ps1 ModuleVersion @@ -74,9 +75,17 @@ jobs: cd PSSailpoint sed -e "s/ModuleVersion = '${LATEST_TAG:1}'/ModuleVersion = '${{ github.event.inputs.version }}'/g" Build.ps1 > Build.ps1.tmp && mv Build.ps1.tmp Build.ps1 + - name: Build V2024 SDK + id: buildV2024 + if: steps.updateModuleVersion.outcome == 'success' + run: | + rm -rf ./PSSailpoint/v2024 + java -jar openapi-generator-cli.jar generate -i api-specs/idn/sailpoint-api.v2024.yaml -g powershell -o PSSailpoint/v2024 --global-property skipFormModel=false --config sdk-resources/v2024-config.yaml + node sdk-resources/postscript.js ./PSSailpoint/v2024 + - name: Build V3 SDK id: buildV3 - if: steps.updateModuleVersion.outcome == 'success' + if: steps.buildV2024.outcome == 'success' run: | rm -rf ./PSSailpoint/v3 java -jar openapi-generator-cli.jar generate -i api-specs/idn/sailpoint-api.v3.yaml -g powershell -o PSSailpoint/v3 --global-property skipFormModel=false --config sdk-resources/v3-config.yaml diff --git a/PSSailpoint/Build.ps1 b/PSSailpoint/Build.ps1 index 0c35fd707..4ce470f36 100644 --- a/PSSailpoint/Build.ps1 +++ b/PSSailpoint/Build.ps1 @@ -46,7 +46,7 @@ function Get-FunctionsToExport { } $ScriptDir = Split-Path $script:MyInvocation.MyCommand.Path -$FunctionPath = "$PSScriptRoot/v3/src/PSSailpoint/Api", "$PSScriptRoot/v3/src/PSSailpoint/Model", "$PSScriptRoot/v3/src/PSSailpoint/Client", "$PSScriptRoot/beta/src/PSSailpointBeta/Api", "$PSScriptRoot/beta/src/PSSailpointBeta/Model", "$PSScriptRoot/beta/src/PSSailpointBeta/Client", "$PSScriptRoot" | ForEach-Object { $_ } +$FunctionPath = "$PSScriptRoot/v3/src/PSSailpoint/Api", "$PSScriptRoot/v3/src/PSSailpoint/Model", "$PSScriptRoot/v3/src/PSSailpoint/Client", "$PSScriptRoot/beta/src/PSSailpointBeta/Api", "$PSScriptRoot/beta/src/PSSailpointBeta/Model", "$PSScriptRoot/beta/src/PSSailpointBeta/Client","$PSScriptRoot/v2024/src/PSSailpointV2024/Api", "$PSScriptRoot/v2024/src/PSSailpointV2024/Model", "$PSScriptRoot/v2024/src/PSSailpointV2024/Client", "$PSScriptRoot" | ForEach-Object { $_ } $Manifest = @{ Path = "$ScriptDir\PSSailpoint.psd1" diff --git a/PSSailpoint/Configuration.ps1 b/PSSailpoint/Configuration.ps1 index cc7bd11b6..26c2654cd 100644 --- a/PSSailpoint/Configuration.ps1 +++ b/PSSailpoint/Configuration.ps1 @@ -58,6 +58,10 @@ function Get-DefaultConfiguration { $Configuration["Proxy"] = $null } + if (!$Configuration.containsKey("Experimental")) { + $Configuration["Experimental"] = $false + } + Return $Configuration } @@ -124,6 +128,7 @@ function Set-DefaultConfiguration { [string]$ClientSecret, [System.Nullable[Int32]]$MaximumRetryCount, [System.Nullable[Int32]]$RetryIntervalSeconds, + [System.Nullable[Boolean]]$Experimental, [System.Object]$Proxy, [switch]$PassThru ) @@ -167,6 +172,10 @@ function Set-DefaultConfiguration { $Script:Configuration['MaximumRetryCount'] = $MaximumRetryCount } + If ($Experimental) { + $Script:Configuration['Experimental'] = $Experimental + } + If ($null -ne $Proxy) { If ($Proxy.GetType().FullName -ne "System.Net.SystemWebProxy" -and $Proxy.GetType().FullName -ne "System.Net.WebProxy" -and $Proxy.GetType().FullName -ne "System.Net.WebRequest+WebProxyWrapperOpaque") { throw "Incorrect Proxy type '$($Proxy.GetType().FullName)'. Must be System.Net.WebProxy or System.Net.SystemWebProxy or System.Net.WebRequest+WebProxyWrapperOpaque." diff --git a/PSSailpoint/PSSailpoint.psd1 b/PSSailpoint/PSSailpoint.psd1 index 2c29bedca..adcd972f1 100644 --- a/PSSailpoint/PSSailpoint.psd1 +++ b/PSSailpoint/PSSailpoint.psd1 @@ -3,7 +3,7 @@ # # Generated by: Sailpoint Developer Relations # -# Generated on: 08/06/2024 +# Generated on: 8/6/2024 # @{ @@ -2888,7 +2888,2086 @@ FunctionsToExport = 'New-AccessProfile', 'Remove-AccessProfile', 'Set-BetaConfigurationApiKeyPrefix', 'Set-BetaConfigurationDefaultHeader', 'Get-BetaHostSetting', 'Get-BetaUrlFromHostSetting', 'Set-BetaConfigurationHttpSigning', - 'Get-BetaConfigurationHttpSigning', 'Get-FunctionsToExport', + 'Get-BetaConfigurationHttpSigning', + 'Get-V2024AccessModelMetadataAttribute', + 'Get-V2024AccessModelMetadataAttributeValue', + 'Get-V2024AccessModelMetadataAttribute', + 'Get-V2024AccessModelMetadataAttributeValue', + 'New-V2024AccessProfile', 'Remove-V2024AccessProfile', + 'Remove-V2024AccessProfilesInBulk', 'Get-V2024AccessProfile', + 'Get-V2024AccessProfileEntitlements', 'Get-V2024AccessProfiles', + 'Update-V2024AccessProfile', 'Update-V2024AccessProfilesInBulk', + 'Approve-V2024AccessRequest', 'Invoke-V2024ForwardAccessRequest', + 'Get-V2024AccessRequestApprovalSummary', + 'Get-V2024CompletedApprovals', 'Get-V2024PendingApprovals', + 'Deny-V2024AccessRequest', 'Get-V2024AccessRequestIdentityMetrics', + 'Suspend-V2024AccessRequest', 'Close-V2024AccessRequest', + 'New-V2024AccessRequest', 'Get-V2024AccessRequestConfig', + 'Get-V2024AccessRequestStatus', 'Set-V2024AccessRequestConfig', + 'Get-V2024AccountActivity', 'Get-V2024AccountActivities', + 'Get-V2024AccountAggregationStatus', 'New-V2024Account', + 'Remove-V2024Account', 'Remove-V2024AccountAsync', + 'Disable-V2024Account', 'Disable-V2024AccountForIdentity', + 'Disable-V2024AccountsForIdentities', 'Enable-V2024Account', + 'Enable-V2024AccountForIdentity', + 'Enable-V2024AccountsForIdentities', 'Get-V2024Account', + 'Get-V2024AccountEntitlements', 'Get-V2024Accounts', + 'Send-V2024Account', 'Submit-V2024ReloadAccount', + 'Unlock-V2024Account', 'Update-V2024Account', + 'Get-V2024UsagesByAccountId', 'Get-V2024DiscoveredApplications', + 'Get-V2024ManualDiscoverApplicationsCsvTemplate', + 'Get-V2024VendorConnectorMappings', + 'Send-V2024ManualDiscoverApplicationsCsvTemplate', + 'Get-V2024Approval', 'Get-V2024Approvals', 'Update-V2024Approval', + 'Get-V2024ProfileConfig', 'Get-V2024ProfileConfigList', + 'Update-V2024ProfileConfig', 'Get-V2024AuthUser', + 'Update-V2024AuthUser', 'New-V2024BrandingItem', + 'Remove-V2024Branding', 'Get-V2024Branding', 'Get-V2024BrandingList', + 'Set-V2024BrandingItem', 'New-V2024CampaignFilter', + 'Remove-V2024CampaignFilters', 'Get-V2024CampaignFilterById', + 'Get-V2024CampaignFilters', 'Update-V2024CampaignFilter', + 'Complete-V2024Campaign', 'New-V2024Campaign', + 'New-V2024CampaignTemplate', 'Remove-V2024CampaignTemplate', + 'Remove-V2024CampaignTemplateSchedule', 'Remove-V2024Campaigns', + 'Get-V2024ActiveCampaigns', 'Get-V2024Campaign', + 'Get-V2024CampaignReports', 'Get-V2024CampaignReportsConfig', + 'Get-V2024CampaignTemplate', 'Get-V2024CampaignTemplateSchedule', + 'Get-V2024CampaignTemplates', 'Move-V2024', + 'Update-V2024CampaignTemplate', 'Set-V2024CampaignReportsConfig', + 'Set-V2024CampaignTemplateSchedule', 'Start-V2024Campaign', + 'Start-V2024CampaignRemediationScan', 'Start-V2024CampaignReport', + 'Start-V2024GenerateCampaignTemplate', 'Update-V2024Campaign', + 'Get-V2024CertificationTask', 'Get-V2024IdentityCertification', + 'Get-V2024IdentityCertificationItemPermissions', + 'Get-V2024PendingCertificationTasks', + 'Get-V2024CertificationReviewers', + 'Get-V2024IdentityAccessReviewItems', + 'Get-V2024IdentityCertifications', 'Select-V2024IdentityDecision', + 'Invoke-V2024ReassignIdentityCertifications', + 'Invoke-V2024SignOffIdentityCertification', + 'Submit-V2024ReassignCertsAsync', + 'Get-V2024IdentityAccessSummaries', + 'Get-V2024IdentityDecisionSummary', 'Get-V2024IdentitySummaries', + 'Get-V2024IdentitySummary', 'New-V2024ObjectMapping', + 'New-V2024ObjectMappings', 'Remove-V2024ObjectMapping', + 'Remove-V2024UploadedBackup', 'Get-V2024ObjectMappings', + 'Get-V2024UploadedBackup', 'Get-V2024UploadedBackups', + 'Import-V2024UploadedBackup', 'Update-V2024ObjectMappings', + 'New-V2024ConnectorRule', 'Remove-V2024ConnectorRule', + 'Get-V2024ConnectorRule', 'Get-V2024ConnectorRuleList', + 'Update-V2024ConnectorRule', 'Confirm-V2024ConnectorRule', + 'New-V2024CustomConnector', 'Remove-V2024CustomConnector', + 'Get-V2024Connector', 'Get-V2024ConnectorCorrelationConfig', + 'Get-V2024ConnectorList', 'Get-V2024ConnectorSourceConfig', + 'Get-V2024ConnectorSourceTemplate', + 'Get-V2024ConnectorTranslations', 'Send-V2024CorrelationConfig', + 'Send-V2024SourceConfig', 'Send-V2024SourceTemplate', + 'Send-V2024Translations', 'Update-V2024Connector', + 'New-V2024FormDefinition', 'New-V2024FormDefinitionDynamicSchema', + 'New-V2024FormDefinitionFileRequest', 'New-V2024FormInstance', + 'Remove-V2024FormDefinition', 'Export-V2024FormDefinitionsByTenant', + 'Get-V2024FileFromS3', 'Get-V2024FormDefinitionByKey', + 'Get-V2024FormInstanceByKey', 'Get-V2024FormInstanceFile', + 'Import-V2024FormDefinitions', 'Update-V2024FormDefinition', + 'Update-V2024FormInstance', 'Search-V2024FormDefinitionsByTenant', + 'Search-V2024FormElementDataByElementID', + 'Search-V2024FormInstancesByTenant', + 'Search-V2024PreDefinedSelectOptions', + 'Show-V2024PreviewDataSource', + 'New-V2024CustomPasswordInstructions', + 'Remove-V2024CustomPasswordInstructions', + 'Get-V2024CustomPasswordInstructions', + 'New-V2024AccessModelMetadataForEntitlement', + 'Remove-V2024AccessModelMetadataFromEntitlement', + 'Get-V2024Entitlement', 'Get-V2024EntitlementRequestConfig', + 'Import-V2024EntitlementsBySource', 'Get-V2024EntitlementChildren', + 'Get-V2024EntitlementParents', 'Get-V2024Entitlements', + 'Update-V2024Entitlement', 'Send-V2024EntitlementRequestConfig', + 'Reset-V2024SourceEntitlements', 'Update-V2024EntitlementsInBulk', + 'New-V2024AuthOrgNetworkConfig', 'Get-V2024AuthOrgNetworkConfig', + 'Update-V2024AuthOrgNetworkConfig', 'New-V2024Workgroup', + 'Remove-V2024Workgroup', 'Remove-V2024WorkgroupMembers', + 'Remove-V2024WorkgroupsInBulk', 'Get-V2024Workgroup', + 'Get-V2024Connections', 'Get-V2024WorkgroupMembers', + 'Get-V2024Workgroups', 'Update-V2024Workgroup', + 'Update-V2024WorkgroupMembers', + 'Add-V2024AccessRequestRecommendationsIgnoredItem', + 'Add-V2024AccessRequestRecommendationsRequestedItem', + 'Add-V2024AccessRequestRecommendationsViewedItem', + 'Add-V2024AccessRequestRecommendationsViewedItems', + 'Get-V2024AccessRequestRecommendations', + 'Get-V2024AccessRequestRecommendationsIgnoredItems', + 'Get-V2024AccessRequestRecommendationsRequestedItems', + 'Get-V2024AccessRequestRecommendationsViewedItems', + 'New-V2024CommonAccess', 'Get-V2024CommonAccess', + 'Update-V2024CommonAccessStatusInBulk', 'Export-V2024OutliersZip', + 'Get-V2024IdentityOutlierSnapshots', 'Get-V2024IdentityOutliers', + 'Get-V2024LatestIdentityOutlierSnapshots', + 'Get-V2024OutlierContributingFeatureSummary', + 'Get-V2024PeerGroupOutliersContributingFeatures', + 'Invoke-V2024IgnoreIdentityOutliers', + 'Get-V2024OutliersContributingFeatureAccessItems', + 'Invoke-V2024UnIgnoreIdentityOutliers', + 'Get-V2024PeerGroupOutliers', 'Get-V2024Recommendations', + 'Get-V2024RecommendationsConfig', + 'Update-V2024RecommendationsConfig', + 'New-V2024PotentialRoleProvisionRequest', + 'New-V2024RoleMiningSessions', + 'Invoke-V2024DownloadRoleMiningPotentialRoleZip', + 'Export-V2024RoleMiningPotentialRole', + 'Export-V2024RoleMiningPotentialRoleAsync', + 'Export-V2024RoleMiningPotentialRoleStatus', + 'Get-V2024AllPotentialRoleSummaries', + 'Get-V2024EntitlementDistributionPotentialRole', + 'Get-V2024EntitlementsPotentialRole', + 'Get-V2024ExcludedEntitlementsPotentialRole', + 'Get-V2024IdentitiesPotentialRole', 'Get-V2024PotentialRole', + 'Get-V2024PotentialRoleApplications', + 'Get-V2024PotentialRoleSourceIdentityUsage', + 'Get-V2024PotentialRoleSummaries', + 'Get-V2024RoleMiningPotentialRole', 'Get-V2024RoleMiningSession', + 'Get-V2024RoleMiningSessionStatus', 'Get-V2024RoleMiningSessions', + 'Get-V2024SavedPotentialRoles', 'Update-V2024PotentialRole', + 'Update-V2024PotentialRole0', 'Update-V2024RoleMiningSession', + 'Update-V2024EntitlementsPotentialRole', 'Remove-V2024Icon', + 'Set-V2024Icon', 'Remove-V2024Identity', 'Get-V2024Identity', + 'Get-V2024IdentityOwnershipDetails', 'Get-V2024RoleAssignment', + 'Get-V2024RoleAssignments', 'Get-V2024Identities', + 'Reset-V2024Identity', 'Start-V2024IdentityProcessing', + 'Sync-V2024hronizeAttributesForIdentity', + 'New-V2024IdentityAttribute', 'Remove-V2024IdentityAttribute', + 'Remove-V2024IdentityAttributesInBulk', + 'Get-V2024IdentityAttribute', 'Get-V2024IdentityAttributes', + 'Send-V2024IdentityAttribute', 'Compare-V2024IdentitySnapshots', + 'Compare-V2024IdentitySnapshotsAccessType', + 'Get-V2024HistoricalIdentity', 'Get-V2024HistoricalIdentityEvents', + 'Get-V2024IdentitySnapshot', 'Get-V2024IdentitySnapshotSummary', + 'Get-V2024IdentityStartDate', 'Get-V2024HistoricalIdentities', + 'Get-V2024IdentityAccessItems', + 'Get-V2024IdentitySnapshotAccessItems', + 'Get-V2024IdentitySnapshots', 'New-V2024IdentityProfile', + 'Remove-V2024IdentityProfile', 'Remove-V2024IdentityProfiles', + 'Export-V2024IdentityProfiles', + 'Get-V2024DefaultIdentityAttributeConfig', + 'Get-V2024IdentityProfile', 'Import-V2024IdentityProfiles', + 'Get-V2024IdentityProfiles', 'Show-V2024IdentityPreview', + 'Sync-V2024IdentityProfile', 'Update-V2024IdentityProfile', + 'New-V2024LifecycleState', 'Remove-V2024LifecycleState', + 'Get-V2024LifecycleState', 'Get-V2024LifecycleStates', + 'Set-V2024LifecycleState', 'Update-V2024LifecycleStates', + 'New-V2024ManagedClient', 'Remove-V2024ManagedClient', + 'Get-V2024ManagedClient', 'Get-V2024ManagedClientStatus', + 'Get-V2024ManagedClients', 'Update-V2024ManagedClient', + 'New-V2024ManagedCluster', 'Remove-V2024ManagedCluster', + 'Get-V2024ManagedCluster', 'Get-V2024ManagedClusters', + 'Update-V2024ManagedCluster', 'Get-V2024MFADuoConfig', + 'Get-V2024MFAKbaConfig', 'Get-V2024MFAOktaConfig', + 'Set-V2024MFADuoConfig', 'Set-V2024MFAKBAConfig', + 'Set-V2024MFAOktaConfig', 'Test-V2024MFAConfig', + 'Approve-V2024NonEmployeeRequest', 'New-V2024NonEmployeeRecord', + 'New-V2024NonEmployeeRequest', 'New-V2024NonEmployeeSource', + 'New-V2024NonEmployeeSourceSchemaAttributes', + 'Remove-V2024NonEmployeeRecord', + 'Remove-V2024NonEmployeeRecordsInBulk', + 'Remove-V2024NonEmployeeRequest', + 'Remove-V2024NonEmployeeSchemaAttribute', + 'Remove-V2024NonEmployeeSource', + 'Remove-V2024NonEmployeeSourceSchemaAttributes', + 'Export-V2024NonEmployeeRecords', + 'Export-V2024NonEmployeeSourceSchemaTemplate', + 'Get-V2024NonEmployeeApproval', + 'Get-V2024NonEmployeeApprovalSummary', + 'Get-V2024NonEmployeeBulkUploadStatus', + 'Get-V2024NonEmployeeRecord', 'Get-V2024NonEmployeeRequest', + 'Get-V2024NonEmployeeRequestSummary', + 'Get-V2024NonEmployeeSchemaAttribute', 'Get-V2024NonEmployeeSource', + 'Get-V2024NonEmployeeSourceSchemaAttributes', + 'Import-V2024NonEmployeeRecordsInBulk', + 'Get-V2024NonEmployeeApprovals', 'Get-V2024NonEmployeeRecords', + 'Get-V2024NonEmployeeRequests', 'Get-V2024NonEmployeeSources', + 'Update-V2024NonEmployeeRecord', + 'Update-V2024NonEmployeeSchemaAttribute', + 'Update-V2024NonEmployeeSource', 'Deny-V2024NonEmployeeRequest', + 'Update-V2024NonEmployeeRecord', 'New-V2024DomainDkim', + 'New-V2024NotificationTemplate', 'New-V2024VerifiedFromAddress', + 'Remove-V2024NotificationTemplatesInBulk', + 'Remove-V2024VerifiedFromAddress', 'Get-V2024DkimAttributes', + 'Get-V2024MailFromAttributes', 'Get-V2024NotificationTemplate', + 'Get-V2024NotificationsTemplateContext', 'Get-V2024FromAddresses', + 'Get-V2024NotificationPreferences', + 'Get-V2024NotificationTemplateDefaults', + 'Get-V2024NotificationTemplates', 'Send-V2024MailFromAttributes', + 'Send-V2024TestNotification', 'New-V2024OauthClient', + 'Remove-V2024OauthClient', 'Get-V2024OauthClient', + 'Get-V2024OauthClients', 'Update-V2024OauthClient', + 'Get-V2024OrgConfig', 'Get-V2024ValidTimeZones', + 'Update-V2024OrgConfig', 'New-V2024PasswordOrgConfig', + 'Get-V2024PasswordOrgConfig', 'Send-V2024PasswordOrgConfig', + 'Get-V2024PasswordDictionary', 'Send-V2024PasswordDictionary', + 'New-V2024DigitToken', 'Get-V2024PasswordChangeStatus', + 'Search-V2024PasswordInfo', 'Set-V2024Password', + 'New-V2024PasswordPolicy', 'Remove-V2024PasswordPolicy', + 'Get-V2024PasswordPolicyById', 'Get-V2024PasswordPolicies', + 'Set-V2024PasswordPolicy', 'New-V2024PasswordSyncGroup', + 'Remove-V2024PasswordSyncGroup', 'Get-V2024PasswordSyncGroup', + 'Get-V2024PasswordSyncGroups', 'Update-V2024PasswordSyncGroup', + 'New-V2024PersonalAccessToken', 'Remove-V2024PersonalAccessToken', + 'Get-V2024PersonalAccessTokens', 'Update-V2024PersonalAccessToken', + 'Get-V2024PublicIdentities', 'Get-V2024PublicIdentityConfig', + 'Update-V2024PublicIdentityConfig', 'Suspend-V2024Report', + 'Get-V2024Report', 'Get-V2024ReportResult', 'Start-V2024Report', + 'Get-V2024RequestableObjects', 'New-V2024RoleInsightRequests', + 'Invoke-V2024DownloadRoleInsightsEntitlementsChanges', + 'Get-V2024EntitlementChangesIdentities', 'Get-V2024RoleInsight', + 'Get-V2024RoleInsights', 'Get-V2024RoleInsightsCurrentEntitlements', + 'Get-V2024RoleInsightsEntitlementsChanges', + 'Get-V2024RoleInsightsRequests', 'Get-V2024RoleInsightsSummary', + 'New-V2024Role', 'Remove-V2024BulkRoles', 'Remove-V2024Role', + 'Get-V2024Role', 'Get-V2024RoleAssignedIdentities', + 'Get-V2024RoleEntitlements', 'Get-V2024Roles', 'Update-V2024Role', + 'New-V2024SavedSearch', 'Remove-V2024SavedSearch', + 'Invoke-V2024ExecuteSavedSearch', 'Get-V2024SavedSearch', + 'Get-V2024SavedSearches', 'Send-V2024SavedSearch', + 'New-V2024ScheduledSearch', 'Remove-V2024ScheduledSearch', + 'Get-V2024ScheduledSearch', 'Get-V2024ScheduledSearch', + 'Invoke-V2024UnsubscribeScheduledSearch', + 'Update-V2024ScheduledSearch', 'Search-V2024Aggregate', + 'Search-V2024Count', 'Search-V2024Get', 'Search-V2024Post', + 'New-V2024SearchAttributeConfig', + 'Remove-V2024SearchAttributeConfig', + 'Get-V2024SearchAttributeConfig', + 'Get-V2024SingleSearchAttributeConfig', + 'Update-V2024SearchAttributeConfig', 'New-V2024Segment', + 'Remove-V2024Segment', 'Get-V2024Segment', 'Get-V2024Segments', + 'Update-V2024Segment', 'New-V2024ServiceDeskIntegration', + 'Remove-V2024ServiceDeskIntegration', + 'Get-V2024ServiceDeskIntegration', + 'Get-V2024ServiceDeskIntegrationTemplate', + 'Get-V2024ServiceDeskIntegrationTypes', + 'Get-V2024ServiceDeskIntegrations', 'Get-V2024StatusCheckDetails', + 'Update-V2024ServiceDeskIntegration', + 'Send-V2024ServiceDeskIntegration', + 'Update-V2024StatusCheckDetails', 'New-V2024SIMIntegration', + 'Remove-V2024SIMIntegration', 'Get-V2024SIMIntegration', + 'Get-V2024SIMIntegrations', 'Update-V2024BeforeProvisioningRule', + 'Update-V2024SIMAttributes', 'Send-V2024SIMIntegration', + 'New-V2024SodPolicy', 'Remove-V2024SodPolicy', + 'Remove-V2024SodPolicySchedule', 'Get-V2024CustomViolationReport', + 'Get-V2024DefaultViolationReport', 'Get-V2024SodAllReportRunStatus', + 'Get-V2024SodPolicy', 'Get-V2024SodPolicySchedule', + 'Get-V2024SodViolationReportRunStatus', + 'Get-V2024SodViolationReportStatus', 'Get-V2024SodPolicies', + 'Update-V2024SodPolicy', 'Send-V2024PolicySchedule', + 'Send-V2024SodPolicy', 'Start-V2024EvaluateSodPolicy', + 'Start-V2024SodAllPoliciesForOrg', 'Start-V2024SodPolicy', + 'Start-V2024PredictSodViolations', 'Start-V2024ViolationCheck', + 'New-V2024ProvisioningPolicy', 'New-V2024Source', + 'New-V2024SourceSchema', 'Remove-V2024AccountsAsync', + 'Remove-V2024NativeChangeDetectionConfig', + 'Remove-V2024ProvisioningPolicy', 'Remove-V2024Source', + 'Remove-V2024SourceSchema', 'Get-V2024AccountsSchema', + 'Get-V2024EntitlementsSchema', + 'Get-V2024NativeChangeDetectionConfig', + 'Get-V2024ProvisioningPolicy', 'Get-V2024Source', + 'Get-V2024SourceAttrSyncConfig', 'Get-V2024SourceConfig', + 'Get-V2024SourceEntitlementRequestConfig', 'Get-V2024SourceHealth', + 'Get-V2024SourceSchema', 'Get-V2024SourceSchemas', + 'Import-V2024Accounts', 'Import-V2024AccountsSchema', + 'Import-V2024ConnectorFile', 'Import-V2024EntitlementsSchema', + 'Import-V2024UncorrelatedAccounts', 'Get-V2024ProvisioningPolicies', + 'Get-V2024Sources', 'Receive-V2024ResourceObjects', + 'Ping-V2024Cluster', 'Send-V2024NativeChangeDetectionConfig', + 'Send-V2024ProvisioningPolicy', 'Send-V2024Source', + 'Send-V2024SourceAttrSyncConfig', 'Send-V2024SourceSchema', + 'Sync-V2024AttributesForSource', 'Test-V2024SourceConfiguration', + 'Test-V2024SourceConnection', + 'Update-V2024ProvisioningPoliciesInBulk', + 'Update-V2024ProvisioningPolicy', 'Update-V2024Source', + 'Update-V2024SourceEntitlementRequestConfig', + 'Update-V2024SourceSchema', 'Get-V2024StatusBySourceId', + 'Get-V2024UsagesBySourceId', 'Export-V2024SpConfig', + 'Get-V2024SpConfigExport', 'Get-V2024SpConfigExportStatus', + 'Get-V2024SpConfigImport', 'Get-V2024SpConfigImportStatus', + 'Import-V2024SpConfig', 'Get-V2024SpConfigObjects', + 'Get-V2024SedBatchStats', 'Get-V2024SedBatches', 'Get-V2024Seds', + 'Update-V2024Sed', 'Submit-V2024SedApproval', + 'Submit-V2024SedAssignment', 'Submit-V2024SedBatchRequest', + 'Remove-V2024TaggedObject', 'Remove-V2024TagsToManyObject', + 'Get-V2024TaggedObject', 'Get-V2024TaggedObjects', + 'Get-V2024TaggedObjectsByType', 'Send-V2024TaggedObject', + 'Set-V2024TagToObject', 'Set-V2024TagsToManyObjects', + 'Get-V2024PendingTaskHeaders', 'Get-V2024PendingTasks', + 'Get-V2024TaskStatus', 'Get-V2024TaskStatusList', + 'Update-V2024TaskStatus', 'Get-V2024Tenant', 'New-V2024Transform', + 'Remove-V2024Transform', 'Get-V2024Transform', 'Get-V2024Transforms', + 'Update-V2024Transform', 'Complete-V2024TriggerInvocation', + 'New-V2024Subscription', 'Remove-V2024Subscription', + 'Get-V2024Subscriptions', 'Get-V2024TriggerInvocationStatus', + 'Get-V2024Triggers', 'Update-V2024Subscription', + 'Start-V2024TestTriggerInvocation', 'Test-V2024SubscriptionFilter', + 'Update-V2024Subscription', 'Get-V2024TenantUiMetadata', + 'Set-V2024TenantUiMetadata', 'New-V2024VendorConnectorMapping', + 'Remove-V2024VendorConnectorMapping', + 'Suspend-V2024WorkflowExecution', + 'New-V2024ExternalExecuteWorkflow', 'New-V2024Workflow', + 'New-V2024WorkflowExternalTrigger', 'Remove-V2024Workflow', + 'Get-V2024Workflow', 'Get-V2024WorkflowExecution', + 'Get-V2024WorkflowExecutionHistory', 'Get-V2024WorkflowExecutions', + 'Get-V2024CompleteWorkflowLibrary', + 'Get-V2024WorkflowLibraryActions', + 'Get-V2024WorkflowLibraryOperators', + 'Get-V2024WorkflowLibraryTriggers', 'Get-V2024Workflows', + 'Update-V2024Workflow', 'Send-V2024Workflow', + 'Test-V2024ExternalExecuteWorkflow', 'Test-V2024Workflow', + 'Approve-V2024ApprovalItem', 'Approve-V2024ApprovalItemsInBulk', + 'Complete-V2024WorkItem', 'Get-V2024CompletedWorkItems', + 'Get-V2024CountCompletedWorkItems', 'Get-V2024CountWorkItems', + 'Get-V2024WorkItem', 'Get-V2024WorkItemsSummary', + 'Get-V2024WorkItems', 'Deny-V2024ApprovalItem', + 'Deny-V2024ApprovalItemsInBulk', 'Send-V2024WorkItemForward', + 'Submit-V2024AccountSelection', + 'New-V2024ReassignmentConfiguration', + 'Remove-V2024ReassignmentConfiguration', + 'Get-V2024EvaluateReassignmentConfiguration', + 'Get-V2024ReassignmentConfigTypes', + 'Get-V2024ReassignmentConfiguration', + 'Get-V2024TenantConfigConfiguration', + 'Get-V2024ReassignmentConfigurations', + 'Send-V2024ReassignmentConfig', 'Send-V2024TenantConfiguration', + 'Initialize-V2024Access', 'ConvertFrom-V2024JsonToAccess', + 'Initialize-V2024AccessConstraint', + 'ConvertFrom-V2024JsonToAccessConstraint', + 'Initialize-V2024AccessCriteria', + 'ConvertFrom-V2024JsonToAccessCriteria', + 'Initialize-V2024AccessCriteriaCriteriaListInner', + 'ConvertFrom-V2024JsonToAccessCriteriaCriteriaListInner', + 'Initialize-V2024AccessItemAccessProfileResponse', + 'ConvertFrom-V2024JsonToAccessItemAccessProfileResponse', + 'Initialize-V2024AccessItemAccountResponse', + 'ConvertFrom-V2024JsonToAccessItemAccountResponse', + 'Initialize-V2024AccessItemAppResponse', + 'ConvertFrom-V2024JsonToAccessItemAppResponse', + 'Initialize-V2024AccessItemApproverDto', + 'ConvertFrom-V2024JsonToAccessItemApproverDto', + 'Initialize-V2024AccessItemAssociated', + 'ConvertFrom-V2024JsonToAccessItemAssociated', + 'ConvertFrom-V2024JsonToAccessItemAssociatedAccessItem', + 'Initialize-V2024AccessItemDiff', + 'ConvertFrom-V2024JsonToAccessItemDiff', + 'Initialize-V2024AccessItemEntitlementResponse', + 'ConvertFrom-V2024JsonToAccessItemEntitlementResponse', + 'Initialize-V2024AccessItemRef', + 'ConvertFrom-V2024JsonToAccessItemRef', + 'Initialize-V2024AccessItemRemoved', + 'ConvertFrom-V2024JsonToAccessItemRemoved', + 'Initialize-V2024AccessItemRequestedFor', + 'ConvertFrom-V2024JsonToAccessItemRequestedFor', + 'Initialize-V2024AccessItemRequestedForDto', + 'ConvertFrom-V2024JsonToAccessItemRequestedForDto', + 'Initialize-V2024AccessItemRequester', + 'ConvertFrom-V2024JsonToAccessItemRequester', + 'Initialize-V2024AccessItemRequesterDto', + 'ConvertFrom-V2024JsonToAccessItemRequesterDto', + 'Initialize-V2024AccessItemReviewedBy', + 'ConvertFrom-V2024JsonToAccessItemReviewedBy', + 'Initialize-V2024AccessItemRoleResponse', + 'ConvertFrom-V2024JsonToAccessItemRoleResponse', + 'Initialize-V2024AccessProfile', + 'ConvertFrom-V2024JsonToAccessProfile', + 'Initialize-V2024AccessProfileApprovalScheme', + 'ConvertFrom-V2024JsonToAccessProfileApprovalScheme', + 'Initialize-V2024AccessProfileBulkDeleteRequest', + 'ConvertFrom-V2024JsonToAccessProfileBulkDeleteRequest', + 'Initialize-V2024AccessProfileBulkDeleteResponse', + 'ConvertFrom-V2024JsonToAccessProfileBulkDeleteResponse', + 'Initialize-V2024AccessProfileBulkUpdateRequestInner', + 'ConvertFrom-V2024JsonToAccessProfileBulkUpdateRequestInner', + 'Initialize-V2024AccessProfileDocument', + 'ConvertFrom-V2024JsonToAccessProfileDocument', + 'Initialize-V2024AccessProfileDocumentAllOfSource', + 'ConvertFrom-V2024JsonToAccessProfileDocumentAllOfSource', + 'Initialize-V2024AccessProfileEntitlement', + 'ConvertFrom-V2024JsonToAccessProfileEntitlement', + 'Initialize-V2024AccessProfileRef', + 'ConvertFrom-V2024JsonToAccessProfileRef', + 'Initialize-V2024AccessProfileRole', + 'ConvertFrom-V2024JsonToAccessProfileRole', + 'Initialize-V2024AccessProfileSourceRef', + 'ConvertFrom-V2024JsonToAccessProfileSourceRef', + 'Initialize-V2024AccessProfileSummary', + 'ConvertFrom-V2024JsonToAccessProfileSummary', + 'Initialize-V2024AccessProfileUpdateItem', + 'ConvertFrom-V2024JsonToAccessProfileUpdateItem', + 'Initialize-V2024AccessProfileUsage', + 'ConvertFrom-V2024JsonToAccessProfileUsage', + 'Initialize-V2024AccessProfileUsageUsedByInner', + 'ConvertFrom-V2024JsonToAccessProfileUsageUsedByInner', + 'Initialize-V2024AccessRecommendationMessage', + 'ConvertFrom-V2024JsonToAccessRecommendationMessage', + 'Initialize-V2024AccessRequest', + 'ConvertFrom-V2024JsonToAccessRequest', + 'Initialize-V2024AccessRequestConfig', + 'ConvertFrom-V2024JsonToAccessRequestConfig', + 'Initialize-V2024AccessRequestContext', + 'ConvertFrom-V2024JsonToAccessRequestContext', + 'Initialize-V2024AccessRequestDynamicApprover', + 'ConvertFrom-V2024JsonToAccessRequestDynamicApprover', + 'Initialize-V2024AccessRequestDynamicApprover1', + 'ConvertFrom-V2024JsonToAccessRequestDynamicApprover1', + 'Initialize-V2024AccessRequestDynamicApproverRequestedItemsInner', + 'ConvertFrom-V2024JsonToAccessRequestDynamicApproverRequestedItemsInner', + 'Initialize-V2024AccessRequested', + 'ConvertFrom-V2024JsonToAccessRequested', + 'Initialize-V2024AccessRequestItem', + 'ConvertFrom-V2024JsonToAccessRequestItem', + 'Initialize-V2024AccessRequestItemResponse', + 'ConvertFrom-V2024JsonToAccessRequestItemResponse', + 'Initialize-V2024AccessRequestPhases', + 'ConvertFrom-V2024JsonToAccessRequestPhases', + 'Initialize-V2024AccessRequestPostApproval', + 'ConvertFrom-V2024JsonToAccessRequestPostApproval', + 'Initialize-V2024AccessRequestPostApprovalRequestedItemsStatusInner', + 'ConvertFrom-V2024JsonToAccessRequestPostApprovalRequestedItemsStatusInner', + 'Initialize-V2024AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInner', + 'ConvertFrom-V2024JsonToAccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInner', + 'Initialize-V2024AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInnerApprover', + 'ConvertFrom-V2024JsonToAccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInnerApprover', + 'Initialize-V2024AccessRequestPreApproval', + 'ConvertFrom-V2024JsonToAccessRequestPreApproval', + 'Initialize-V2024AccessRequestPreApproval1', + 'ConvertFrom-V2024JsonToAccessRequestPreApproval1', + 'Initialize-V2024AccessRequestPreApprovalRequestedItemsInner', + 'ConvertFrom-V2024JsonToAccessRequestPreApprovalRequestedItemsInner', + 'Initialize-V2024AccessRequestRecommendationActionItemDto', + 'ConvertFrom-V2024JsonToAccessRequestRecommendationActionItemDto', + 'Initialize-V2024AccessRequestRecommendationActionItemResponseDto', + 'ConvertFrom-V2024JsonToAccessRequestRecommendationActionItemResponseDto', + 'Initialize-V2024AccessRequestRecommendationItem', + 'ConvertFrom-V2024JsonToAccessRequestRecommendationItem', + 'Initialize-V2024AccessRequestRecommendationItemDetail', + 'ConvertFrom-V2024JsonToAccessRequestRecommendationItemDetail', + 'Initialize-V2024AccessRequestRecommendationItemDetailAccess', + 'ConvertFrom-V2024JsonToAccessRequestRecommendationItemDetailAccess', + 'Initialize-V2024AccessRequestResponse', + 'ConvertFrom-V2024JsonToAccessRequestResponse', + 'Initialize-V2024AccessReviewItem', + 'ConvertFrom-V2024JsonToAccessReviewItem', + 'Initialize-V2024AccessReviewReassignment', + 'ConvertFrom-V2024JsonToAccessReviewReassignment', + 'Initialize-V2024AccessSummary', + 'ConvertFrom-V2024JsonToAccessSummary', + 'Initialize-V2024AccessSummaryAccess', + 'ConvertFrom-V2024JsonToAccessSummaryAccess', + 'Initialize-V2024Account', 'ConvertFrom-V2024JsonToAccount', + 'Initialize-V2024AccountAction', + 'ConvertFrom-V2024JsonToAccountAction', + 'Initialize-V2024AccountActivity', + 'ConvertFrom-V2024JsonToAccountActivity', + 'Initialize-V2024AccountActivityDocument', + 'ConvertFrom-V2024JsonToAccountActivityDocument', + 'Initialize-V2024AccountActivityItem', + 'ConvertFrom-V2024JsonToAccountActivityItem', + 'Initialize-V2024AccountActivitySearchedItem', + 'ConvertFrom-V2024JsonToAccountActivitySearchedItem', + 'Initialize-V2024AccountAggregationCompleted', + 'ConvertFrom-V2024JsonToAccountAggregationCompleted', + 'Initialize-V2024AccountAggregationCompletedSource', + 'ConvertFrom-V2024JsonToAccountAggregationCompletedSource', + 'Initialize-V2024AccountAggregationCompletedStats', + 'ConvertFrom-V2024JsonToAccountAggregationCompletedStats', + 'Initialize-V2024AccountAggregationStatus', + 'ConvertFrom-V2024JsonToAccountAggregationStatus', + 'Initialize-V2024AccountAllOfOwnerGroup', + 'ConvertFrom-V2024JsonToAccountAllOfOwnerGroup', + 'Initialize-V2024AccountAllOfOwnerIdentity', + 'ConvertFrom-V2024JsonToAccountAllOfOwnerIdentity', + 'Initialize-V2024AccountAllOfSourceOwner', + 'ConvertFrom-V2024JsonToAccountAllOfSourceOwner', + 'Initialize-V2024AccountAttribute', + 'ConvertFrom-V2024JsonToAccountAttribute', + 'Initialize-V2024AccountAttributes', + 'ConvertFrom-V2024JsonToAccountAttributes', + 'Initialize-V2024AccountAttributesChanged', + 'ConvertFrom-V2024JsonToAccountAttributesChanged', + 'Initialize-V2024AccountAttributesChangedAccount', + 'ConvertFrom-V2024JsonToAccountAttributesChangedAccount', + 'Initialize-V2024AccountAttributesChangedChangesInner', + 'ConvertFrom-V2024JsonToAccountAttributesChangedChangesInner', + 'ConvertFrom-V2024JsonToAccountAttributesChangedChangesInnerNewValue', + 'ConvertFrom-V2024JsonToAccountAttributesChangedChangesInnerOldValue', + 'Initialize-V2024AccountAttributesChangedIdentity', + 'ConvertFrom-V2024JsonToAccountAttributesChangedIdentity', + 'Initialize-V2024AccountAttributesChangedSource', + 'ConvertFrom-V2024JsonToAccountAttributesChangedSource', + 'Initialize-V2024AccountAttributesCreate', + 'ConvertFrom-V2024JsonToAccountAttributesCreate', + 'Initialize-V2024AccountAttributesCreateAttributes', + 'ConvertFrom-V2024JsonToAccountAttributesCreateAttributes', + 'Initialize-V2024AccountCorrelated', + 'ConvertFrom-V2024JsonToAccountCorrelated', + 'Initialize-V2024AccountCorrelatedAccount', + 'ConvertFrom-V2024JsonToAccountCorrelatedAccount', + 'Initialize-V2024AccountCorrelatedIdentity', + 'ConvertFrom-V2024JsonToAccountCorrelatedIdentity', + 'Initialize-V2024AccountCorrelatedSource', + 'ConvertFrom-V2024JsonToAccountCorrelatedSource', + 'Initialize-V2024AccountInfoDto', + 'ConvertFrom-V2024JsonToAccountInfoDto', + 'Initialize-V2024AccountRequest', + 'ConvertFrom-V2024JsonToAccountRequest', + 'Initialize-V2024AccountRequestInfo', + 'ConvertFrom-V2024JsonToAccountRequestInfo', + 'Initialize-V2024AccountRequestResult', + 'ConvertFrom-V2024JsonToAccountRequestResult', + 'Initialize-V2024AccountsAsyncResult', + 'ConvertFrom-V2024JsonToAccountsAsyncResult', + 'Initialize-V2024AccountsCollectedForAggregation', + 'ConvertFrom-V2024JsonToAccountsCollectedForAggregation', + 'Initialize-V2024AccountsCollectedForAggregationSource', + 'ConvertFrom-V2024JsonToAccountsCollectedForAggregationSource', + 'Initialize-V2024AccountsCollectedForAggregationStats', + 'ConvertFrom-V2024JsonToAccountsCollectedForAggregationStats', + 'Initialize-V2024AccountsExportReportArguments', + 'ConvertFrom-V2024JsonToAccountsExportReportArguments', + 'Initialize-V2024AccountSource', + 'ConvertFrom-V2024JsonToAccountSource', + 'Initialize-V2024AccountStatusChanged', + 'ConvertFrom-V2024JsonToAccountStatusChanged', + 'Initialize-V2024AccountStatusChangedAccount', + 'ConvertFrom-V2024JsonToAccountStatusChangedAccount', + 'Initialize-V2024AccountStatusChangedStatusChange', + 'ConvertFrom-V2024JsonToAccountStatusChangedStatusChange', + 'Initialize-V2024AccountToggleRequest', + 'ConvertFrom-V2024JsonToAccountToggleRequest', + 'Initialize-V2024AccountUncorrelated', + 'ConvertFrom-V2024JsonToAccountUncorrelated', + 'Initialize-V2024AccountUncorrelatedAccount', + 'ConvertFrom-V2024JsonToAccountUncorrelatedAccount', + 'Initialize-V2024AccountUncorrelatedIdentity', + 'ConvertFrom-V2024JsonToAccountUncorrelatedIdentity', + 'Initialize-V2024AccountUncorrelatedSource', + 'ConvertFrom-V2024JsonToAccountUncorrelatedSource', + 'Initialize-V2024AccountUnlockRequest', + 'ConvertFrom-V2024JsonToAccountUnlockRequest', + 'Initialize-V2024AccountUsage', + 'ConvertFrom-V2024JsonToAccountUsage', + 'Initialize-V2024ActivateCampaignOptions', + 'ConvertFrom-V2024JsonToActivateCampaignOptions', + 'Initialize-V2024ActivityInsights', + 'ConvertFrom-V2024JsonToActivityInsights', + 'Initialize-V2024AdminReviewReassign', + 'ConvertFrom-V2024JsonToAdminReviewReassign', + 'Initialize-V2024AdminReviewReassignReassignTo', + 'ConvertFrom-V2024JsonToAdminReviewReassignReassignTo', + 'Initialize-V2024AggregationResult', + 'ConvertFrom-V2024JsonToAggregationResult', + 'Initialize-V2024Aggregations', + 'ConvertFrom-V2024JsonToAggregations', 'Initialize-V2024App', + 'ConvertFrom-V2024JsonToApp', 'Initialize-V2024AppAllOfAccount', + 'ConvertFrom-V2024JsonToAppAllOfAccount', + 'Initialize-V2024Approval', 'ConvertFrom-V2024JsonToApproval', + 'Initialize-V2024Approval1', 'ConvertFrom-V2024JsonToApproval1', + 'Initialize-V2024ApprovalBatch', + 'ConvertFrom-V2024JsonToApprovalBatch', + 'Initialize-V2024ApprovalComment', + 'ConvertFrom-V2024JsonToApprovalComment', + 'Initialize-V2024ApprovalComment1', + 'ConvertFrom-V2024JsonToApprovalComment1', + 'Initialize-V2024ApprovalDescription', + 'ConvertFrom-V2024JsonToApprovalDescription', + 'Initialize-V2024ApprovalDto', 'ConvertFrom-V2024JsonToApprovalDto', + 'Initialize-V2024ApprovalForwardHistory', + 'ConvertFrom-V2024JsonToApprovalForwardHistory', + 'Initialize-V2024ApprovalIdentity', + 'ConvertFrom-V2024JsonToApprovalIdentity', + 'Initialize-V2024ApprovalInfoResponse', + 'ConvertFrom-V2024JsonToApprovalInfoResponse', + 'Initialize-V2024ApprovalItemDetails', + 'ConvertFrom-V2024JsonToApprovalItemDetails', + 'Initialize-V2024ApprovalItems', + 'ConvertFrom-V2024JsonToApprovalItems', + 'Initialize-V2024ApprovalName', + 'ConvertFrom-V2024JsonToApprovalName', + 'Initialize-V2024ApprovalReference', + 'ConvertFrom-V2024JsonToApprovalReference', + 'Initialize-V2024ApprovalReminderAndEscalationConfig', + 'ConvertFrom-V2024JsonToApprovalReminderAndEscalationConfig', + 'Initialize-V2024ApprovalSchemeForRole', + 'ConvertFrom-V2024JsonToApprovalSchemeForRole', + 'Initialize-V2024ApprovalStatusDto', + 'ConvertFrom-V2024JsonToApprovalStatusDto', + 'Initialize-V2024ApprovalStatusDtoCurrentOwner', + 'ConvertFrom-V2024JsonToApprovalStatusDtoCurrentOwner', + 'Initialize-V2024ApprovalStatusDtoOriginalOwner', + 'ConvertFrom-V2024JsonToApprovalStatusDtoOriginalOwner', + 'Initialize-V2024ApprovalSummary', + 'ConvertFrom-V2024JsonToApprovalSummary', + 'Initialize-V2024Argument', 'ConvertFrom-V2024JsonToArgument', + 'ConvertFrom-V2024JsonToArrayInner', + 'Initialize-V2024AssignmentContextDto', + 'ConvertFrom-V2024JsonToAssignmentContextDto', + 'Initialize-V2024AttributeChange', + 'ConvertFrom-V2024JsonToAttributeChange', + 'Initialize-V2024AttributeDefinition', + 'ConvertFrom-V2024JsonToAttributeDefinition', + 'Initialize-V2024AttributeDefinitionSchema', + 'ConvertFrom-V2024JsonToAttributeDefinitionSchema', + 'Initialize-V2024AttributeDTO', + 'ConvertFrom-V2024JsonToAttributeDTO', + 'Initialize-V2024AttributeDTOList', + 'ConvertFrom-V2024JsonToAttributeDTOList', + 'Initialize-V2024AttributeRequest', + 'ConvertFrom-V2024JsonToAttributeRequest', + 'Initialize-V2024AttributesChanged', + 'ConvertFrom-V2024JsonToAttributesChanged', + 'Initialize-V2024AttributeValueDTO', + 'ConvertFrom-V2024JsonToAttributeValueDTO', + 'Initialize-V2024AttrSyncSource', + 'ConvertFrom-V2024JsonToAttrSyncSource', + 'Initialize-V2024AttrSyncSourceAttributeConfig', + 'ConvertFrom-V2024JsonToAttrSyncSourceAttributeConfig', + 'Initialize-V2024AttrSyncSourceConfig', + 'ConvertFrom-V2024JsonToAttrSyncSourceConfig', + 'Initialize-V2024AuditDetails', + 'ConvertFrom-V2024JsonToAuditDetails', + 'Initialize-V2024AuthProfile', 'ConvertFrom-V2024JsonToAuthProfile', + 'Initialize-V2024AuthProfileSummary', + 'ConvertFrom-V2024JsonToAuthProfileSummary', + 'Initialize-V2024AuthUser', 'ConvertFrom-V2024JsonToAuthUser', + 'Initialize-V2024Base64Decode', + 'ConvertFrom-V2024JsonToBase64Decode', + 'Initialize-V2024Base64Encode', + 'ConvertFrom-V2024JsonToBase64Encode', 'Initialize-V2024BaseAccess', + 'ConvertFrom-V2024JsonToBaseAccess', + 'Initialize-V2024BaseAccessAllOfOwner', + 'ConvertFrom-V2024JsonToBaseAccessAllOfOwner', + 'Initialize-V2024BaseAccessProfile', + 'ConvertFrom-V2024JsonToBaseAccessProfile', + 'Initialize-V2024BaseAccount', 'ConvertFrom-V2024JsonToBaseAccount', + 'Initialize-V2024BaseCommonDto', + 'ConvertFrom-V2024JsonToBaseCommonDto', + 'Initialize-V2024BaseCommonDto1', + 'ConvertFrom-V2024JsonToBaseCommonDto1', + 'Initialize-V2024BaseDocument', + 'ConvertFrom-V2024JsonToBaseDocument', + 'Initialize-V2024BaseEntitlement', + 'ConvertFrom-V2024JsonToBaseEntitlement', + 'Initialize-V2024BaseReferenceDto', + 'ConvertFrom-V2024JsonToBaseReferenceDto', + 'Initialize-V2024BaseReferenceDto1', + 'ConvertFrom-V2024JsonToBaseReferenceDto1', + 'Initialize-V2024BaseSegment', 'ConvertFrom-V2024JsonToBaseSegment', + 'Initialize-V2024BasicAuthConfig', + 'ConvertFrom-V2024JsonToBasicAuthConfig', + 'Initialize-V2024BearerTokenAuthConfig', + 'ConvertFrom-V2024JsonToBearerTokenAuthConfig', + 'Initialize-V2024BeforeProvisioningRuleDto', + 'ConvertFrom-V2024JsonToBeforeProvisioningRuleDto', + 'Initialize-V2024Bound', 'ConvertFrom-V2024JsonToBound', + 'Initialize-V2024BrandingItem', + 'ConvertFrom-V2024JsonToBrandingItem', + 'Initialize-V2024BrandingItemCreate', + 'ConvertFrom-V2024JsonToBrandingItemCreate', + 'Initialize-V2024BucketAggregation', + 'ConvertFrom-V2024JsonToBucketAggregation', + 'Initialize-V2024BulkAddTaggedObject', + 'ConvertFrom-V2024JsonToBulkAddTaggedObject', + 'Initialize-V2024BulkIdentitiesAccountsResponse', + 'ConvertFrom-V2024JsonToBulkIdentitiesAccountsResponse', + 'Initialize-V2024BulkRemoveTaggedObject', + 'ConvertFrom-V2024JsonToBulkRemoveTaggedObject', + 'Initialize-V2024BulkTaggedObjectResponse', + 'ConvertFrom-V2024JsonToBulkTaggedObjectResponse', + 'Initialize-V2024Campaign', 'ConvertFrom-V2024JsonToCampaign', + 'Initialize-V2024CampaignActivated', + 'ConvertFrom-V2024JsonToCampaignActivated', + 'Initialize-V2024CampaignActivatedCampaign', + 'ConvertFrom-V2024JsonToCampaignActivatedCampaign', + 'Initialize-V2024CampaignActivatedCampaignCampaignOwner', + 'ConvertFrom-V2024JsonToCampaignActivatedCampaignCampaignOwner', + 'Initialize-V2024CampaignAlert', + 'ConvertFrom-V2024JsonToCampaignAlert', + 'Initialize-V2024CampaignAllOfFilter', + 'ConvertFrom-V2024JsonToCampaignAllOfFilter', + 'Initialize-V2024CampaignAllOfRoleCompositionCampaignInfo', + 'ConvertFrom-V2024JsonToCampaignAllOfRoleCompositionCampaignInfo', + 'Initialize-V2024CampaignAllOfRoleCompositionCampaignInfoRemediatorRef', + 'ConvertFrom-V2024JsonToCampaignAllOfRoleCompositionCampaignInfoRemediatorRef', + 'Initialize-V2024CampaignAllOfSearchCampaignInfo', + 'ConvertFrom-V2024JsonToCampaignAllOfSearchCampaignInfo', + 'Initialize-V2024CampaignAllOfSearchCampaignInfoReviewer', + 'ConvertFrom-V2024JsonToCampaignAllOfSearchCampaignInfoReviewer', + 'Initialize-V2024CampaignAllOfSourceOwnerCampaignInfo', + 'ConvertFrom-V2024JsonToCampaignAllOfSourceOwnerCampaignInfo', + 'Initialize-V2024CampaignAllOfSourcesWithOrphanEntitlements', + 'ConvertFrom-V2024JsonToCampaignAllOfSourcesWithOrphanEntitlements', + 'Initialize-V2024CampaignCompleteOptions', + 'ConvertFrom-V2024JsonToCampaignCompleteOptions', + 'Initialize-V2024CampaignEnded', + 'ConvertFrom-V2024JsonToCampaignEnded', + 'Initialize-V2024CampaignEndedCampaign', + 'ConvertFrom-V2024JsonToCampaignEndedCampaign', + 'Initialize-V2024CampaignFilterDetails', + 'ConvertFrom-V2024JsonToCampaignFilterDetails', + 'Initialize-V2024CampaignFilterDetailsCriteriaListInner', + 'ConvertFrom-V2024JsonToCampaignFilterDetailsCriteriaListInner', + 'Initialize-V2024CampaignGenerated', + 'ConvertFrom-V2024JsonToCampaignGenerated', + 'Initialize-V2024CampaignGeneratedCampaign', + 'ConvertFrom-V2024JsonToCampaignGeneratedCampaign', + 'Initialize-V2024CampaignGeneratedCampaignCampaignOwner', + 'ConvertFrom-V2024JsonToCampaignGeneratedCampaignCampaignOwner', + 'Initialize-V2024CampaignReference', + 'ConvertFrom-V2024JsonToCampaignReference', + 'Initialize-V2024CampaignReport', + 'ConvertFrom-V2024JsonToCampaignReport', + 'Initialize-V2024CampaignReportsConfig', + 'ConvertFrom-V2024JsonToCampaignReportsConfig', + 'Initialize-V2024CampaignsDeleteRequest', + 'ConvertFrom-V2024JsonToCampaignsDeleteRequest', + 'Initialize-V2024CampaignTemplate', + 'ConvertFrom-V2024JsonToCampaignTemplate', + 'Initialize-V2024CampaignTemplateOwnerRef', + 'ConvertFrom-V2024JsonToCampaignTemplateOwnerRef', + 'Initialize-V2024CancelAccessRequest', + 'ConvertFrom-V2024JsonToCancelAccessRequest', + 'Initialize-V2024CancelledRequestDetails', + 'ConvertFrom-V2024JsonToCancelledRequestDetails', + 'Initialize-V2024Certification', + 'ConvertFrom-V2024JsonToCertification', + 'Initialize-V2024CertificationDto', + 'ConvertFrom-V2024JsonToCertificationDto', + 'Initialize-V2024CertificationIdentitySummary', + 'ConvertFrom-V2024JsonToCertificationIdentitySummary', + 'Initialize-V2024CertificationReference', + 'ConvertFrom-V2024JsonToCertificationReference', + 'Initialize-V2024CertificationReference1', + 'ConvertFrom-V2024JsonToCertificationReference1', + 'Initialize-V2024CertificationReferenceDto', + 'ConvertFrom-V2024JsonToCertificationReferenceDto', + 'Initialize-V2024CertificationSignedOff', + 'ConvertFrom-V2024JsonToCertificationSignedOff', + 'Initialize-V2024CertificationSignedOffCertification', + 'ConvertFrom-V2024JsonToCertificationSignedOffCertification', + 'Initialize-V2024CertificationTask', + 'ConvertFrom-V2024JsonToCertificationTask', + 'Initialize-V2024CertifierResponse', + 'ConvertFrom-V2024JsonToCertifierResponse', + 'Initialize-V2024ClientLogConfiguration', + 'ConvertFrom-V2024JsonToClientLogConfiguration', + 'Initialize-V2024CloseAccessRequest', + 'ConvertFrom-V2024JsonToCloseAccessRequest', + 'Initialize-V2024Column', 'ConvertFrom-V2024JsonToColumn', + 'Initialize-V2024Comment', 'ConvertFrom-V2024JsonToComment', + 'Initialize-V2024CommentDto', 'ConvertFrom-V2024JsonToCommentDto', + 'Initialize-V2024CommentDtoAuthor', + 'ConvertFrom-V2024JsonToCommentDtoAuthor', + 'Initialize-V2024CommonAccessIDStatus', + 'ConvertFrom-V2024JsonToCommonAccessIDStatus', + 'Initialize-V2024CommonAccessItemAccess', + 'ConvertFrom-V2024JsonToCommonAccessItemAccess', + 'Initialize-V2024CommonAccessItemRequest', + 'ConvertFrom-V2024JsonToCommonAccessItemRequest', + 'Initialize-V2024CommonAccessItemResponse', + 'ConvertFrom-V2024JsonToCommonAccessItemResponse', + 'Initialize-V2024CommonAccessResponse', + 'ConvertFrom-V2024JsonToCommonAccessResponse', + 'Initialize-V2024CompletedApproval', + 'ConvertFrom-V2024JsonToCompletedApproval', + 'Initialize-V2024CompletedApprovalPreApprovalTriggerResult', + 'ConvertFrom-V2024JsonToCompletedApprovalPreApprovalTriggerResult', + 'Initialize-V2024CompletedApprovalRequesterComment', + 'ConvertFrom-V2024JsonToCompletedApprovalRequesterComment', + 'Initialize-V2024CompletedApprovalReviewerComment', + 'ConvertFrom-V2024JsonToCompletedApprovalReviewerComment', + 'Initialize-V2024CompleteInvocation', + 'ConvertFrom-V2024JsonToCompleteInvocation', + 'Initialize-V2024CompleteInvocationInput', + 'ConvertFrom-V2024JsonToCompleteInvocationInput', + 'Initialize-V2024Concatenation', + 'ConvertFrom-V2024JsonToConcatenation', + 'Initialize-V2024Conditional', 'ConvertFrom-V2024JsonToConditional', + 'Initialize-V2024ConditionEffect', + 'ConvertFrom-V2024JsonToConditionEffect', + 'Initialize-V2024ConditionEffectConfig', + 'ConvertFrom-V2024JsonToConditionEffectConfig', + 'Initialize-V2024ConditionRule', + 'ConvertFrom-V2024JsonToConditionRule', + 'Initialize-V2024ConfigObject', + 'ConvertFrom-V2024JsonToConfigObject', 'Initialize-V2024ConfigType', + 'ConvertFrom-V2024JsonToConfigType', + 'Initialize-V2024ConfigurationDetailsResponse', + 'ConvertFrom-V2024JsonToConfigurationDetailsResponse', + 'Initialize-V2024ConfigurationItemRequest', + 'ConvertFrom-V2024JsonToConfigurationItemRequest', + 'Initialize-V2024ConfigurationItemResponse', + 'ConvertFrom-V2024JsonToConfigurationItemResponse', + 'Initialize-V2024ConfigurationResponse', + 'ConvertFrom-V2024JsonToConfigurationResponse', + 'Initialize-V2024ConflictingAccessCriteria', + 'ConvertFrom-V2024JsonToConflictingAccessCriteria', + 'Initialize-V2024ConnectedObject', + 'ConvertFrom-V2024JsonToConnectedObject', + 'Initialize-V2024ConnectorDetail', + 'ConvertFrom-V2024JsonToConnectorDetail', + 'Initialize-V2024ConnectorDetail1', + 'ConvertFrom-V2024JsonToConnectorDetail1', + 'Initialize-V2024ConnectorRuleCreateRequest', + 'ConvertFrom-V2024JsonToConnectorRuleCreateRequest', + 'Initialize-V2024ConnectorRuleCreateRequestSignature', + 'ConvertFrom-V2024JsonToConnectorRuleCreateRequestSignature', + 'Initialize-V2024ConnectorRuleResponse', + 'ConvertFrom-V2024JsonToConnectorRuleResponse', + 'Initialize-V2024ConnectorRuleUpdateRequest', + 'ConvertFrom-V2024JsonToConnectorRuleUpdateRequest', + 'Initialize-V2024ConnectorRuleValidationResponse', + 'ConvertFrom-V2024JsonToConnectorRuleValidationResponse', + 'Initialize-V2024ConnectorRuleValidationResponseDetailsInner', + 'ConvertFrom-V2024JsonToConnectorRuleValidationResponseDetailsInner', + 'Initialize-V2024ContextAttributeDto', + 'ConvertFrom-V2024JsonToContextAttributeDto', + 'ConvertFrom-V2024JsonToContextAttributeDtoValue', + 'Initialize-V2024CorrelatedGovernanceEvent', + 'ConvertFrom-V2024JsonToCorrelatedGovernanceEvent', + 'Initialize-V2024CreateDomainDkim405Response', + 'ConvertFrom-V2024JsonToCreateDomainDkim405Response', + 'Initialize-V2024CreateExternalExecuteWorkflow200Response', + 'ConvertFrom-V2024JsonToCreateExternalExecuteWorkflow200Response', + 'Initialize-V2024CreateExternalExecuteWorkflowRequest', + 'ConvertFrom-V2024JsonToCreateExternalExecuteWorkflowRequest', + 'Initialize-V2024CreateFormDefinitionFileRequestRequest', + 'ConvertFrom-V2024JsonToCreateFormDefinitionFileRequestRequest', + 'Initialize-V2024CreateFormDefinitionRequest', + 'ConvertFrom-V2024JsonToCreateFormDefinitionRequest', + 'Initialize-V2024CreateFormInstanceRequest', + 'ConvertFrom-V2024JsonToCreateFormInstanceRequest', + 'Initialize-V2024CreateOAuthClientRequest', + 'ConvertFrom-V2024JsonToCreateOAuthClientRequest', + 'Initialize-V2024CreateOAuthClientResponse', + 'ConvertFrom-V2024JsonToCreateOAuthClientResponse', + 'Initialize-V2024CreatePersonalAccessTokenRequest', + 'ConvertFrom-V2024JsonToCreatePersonalAccessTokenRequest', + 'Initialize-V2024CreatePersonalAccessTokenResponse', + 'ConvertFrom-V2024JsonToCreatePersonalAccessTokenResponse', + 'Initialize-V2024CreateSavedSearchRequest', + 'ConvertFrom-V2024JsonToCreateSavedSearchRequest', + 'Initialize-V2024CreateScheduledSearchRequest', + 'ConvertFrom-V2024JsonToCreateScheduledSearchRequest', + 'Initialize-V2024CreateWorkflowRequest', + 'ConvertFrom-V2024JsonToCreateWorkflowRequest', + 'Initialize-V2024CustomPasswordInstruction', + 'ConvertFrom-V2024JsonToCustomPasswordInstruction', + 'Initialize-V2024DataAccess', 'ConvertFrom-V2024JsonToDataAccess', + 'Initialize-V2024DataAccessCategoriesInner', + 'ConvertFrom-V2024JsonToDataAccessCategoriesInner', + 'Initialize-V2024DataAccessImpactScore', + 'ConvertFrom-V2024JsonToDataAccessImpactScore', + 'Initialize-V2024DataAccessPoliciesInner', + 'ConvertFrom-V2024JsonToDataAccessPoliciesInner', + 'Initialize-V2024DateCompare', 'ConvertFrom-V2024JsonToDateCompare', + 'ConvertFrom-V2024JsonToDateCompareFirstDate', + 'ConvertFrom-V2024JsonToDateCompareSecondDate', + 'Initialize-V2024DateFormat', 'ConvertFrom-V2024JsonToDateFormat', + 'ConvertFrom-V2024JsonToDateFormatInputFormat', + 'ConvertFrom-V2024JsonToDateFormatOutputFormat', + 'Initialize-V2024DateMath', 'ConvertFrom-V2024JsonToDateMath', + 'Initialize-V2024DecomposeDiacriticalMarks', + 'ConvertFrom-V2024JsonToDecomposeDiacriticalMarks', + 'Initialize-V2024DeleteNonEmployeeRecordsInBulkRequest', + 'ConvertFrom-V2024JsonToDeleteNonEmployeeRecordsInBulkRequest', + 'Initialize-V2024DeleteSource202Response', + 'ConvertFrom-V2024JsonToDeleteSource202Response', + 'Initialize-V2024DeleteVendorConnectorMapping200Response', + 'ConvertFrom-V2024JsonToDeleteVendorConnectorMapping200Response', + 'Initialize-V2024DiscoveredApplicationsInner', + 'ConvertFrom-V2024JsonToDiscoveredApplicationsInner', + 'Initialize-V2024DisplayReference', + 'ConvertFrom-V2024JsonToDisplayReference', + 'Initialize-V2024DkimAttributes', + 'ConvertFrom-V2024JsonToDkimAttributes', + 'Initialize-V2024DomainAddress', + 'ConvertFrom-V2024JsonToDomainAddress', + 'Initialize-V2024DomainStatusDto', + 'ConvertFrom-V2024JsonToDomainStatusDto', + 'Initialize-V2024E164phone', 'ConvertFrom-V2024JsonToE164phone', + 'Initialize-V2024EmailNotificationOption', + 'ConvertFrom-V2024JsonToEmailNotificationOption', + 'Initialize-V2024EmailStatusDto', + 'ConvertFrom-V2024JsonToEmailStatusDto', + 'Initialize-V2024Entitlement', 'ConvertFrom-V2024JsonToEntitlement', + 'Initialize-V2024Entitlement1', + 'ConvertFrom-V2024JsonToEntitlement1', + 'Initialize-V2024Entitlement1AccessModelMetadata', + 'ConvertFrom-V2024JsonToEntitlement1AccessModelMetadata', + 'Initialize-V2024Entitlement1ManuallyUpdatedFields', + 'ConvertFrom-V2024JsonToEntitlement1ManuallyUpdatedFields', + 'Initialize-V2024Entitlement1Owner', + 'ConvertFrom-V2024JsonToEntitlement1Owner', + 'Initialize-V2024Entitlement1Source', + 'ConvertFrom-V2024JsonToEntitlement1Source', + 'Initialize-V2024EntitlementAccessRequestConfig', + 'ConvertFrom-V2024JsonToEntitlementAccessRequestConfig', + 'Initialize-V2024EntitlementApprovalScheme', + 'ConvertFrom-V2024JsonToEntitlementApprovalScheme', + 'Initialize-V2024EntitlementBulkUpdateRequest', + 'ConvertFrom-V2024JsonToEntitlementBulkUpdateRequest', + 'Initialize-V2024EntitlementDocument', + 'ConvertFrom-V2024JsonToEntitlementDocument', + 'Initialize-V2024EntitlementDocumentAllOfSource', + 'ConvertFrom-V2024JsonToEntitlementDocumentAllOfSource', + 'Initialize-V2024EntitlementDto', + 'ConvertFrom-V2024JsonToEntitlementDto', + 'Initialize-V2024EntitlementRef', + 'ConvertFrom-V2024JsonToEntitlementRef', + 'Initialize-V2024EntitlementRef1', + 'ConvertFrom-V2024JsonToEntitlementRef1', + 'Initialize-V2024EntitlementRequestConfig', + 'ConvertFrom-V2024JsonToEntitlementRequestConfig', + 'Initialize-V2024EntitlementRequestConfig1', + 'ConvertFrom-V2024JsonToEntitlementRequestConfig1', + 'Initialize-V2024EntitlementSource', + 'ConvertFrom-V2024JsonToEntitlementSource', + 'Initialize-V2024EntitlementSourceResetBaseReferenceDto', + 'ConvertFrom-V2024JsonToEntitlementSourceResetBaseReferenceDto', + 'Initialize-V2024EntitlementSummary', + 'ConvertFrom-V2024JsonToEntitlementSummary', + 'Initialize-V2024EntityCreatedByDTO', + 'ConvertFrom-V2024JsonToEntityCreatedByDTO', + 'Initialize-V2024ErrorMessage', + 'ConvertFrom-V2024JsonToErrorMessage', + 'Initialize-V2024ErrorMessageDto', + 'ConvertFrom-V2024JsonToErrorMessageDto', + 'Initialize-V2024ErrorResponseDto', + 'ConvertFrom-V2024JsonToErrorResponseDto', + 'Initialize-V2024EvaluateResponse', + 'ConvertFrom-V2024JsonToEvaluateResponse', + 'Initialize-V2024EventAttributes', + 'ConvertFrom-V2024JsonToEventAttributes', + 'Initialize-V2024EventBridgeConfig', + 'ConvertFrom-V2024JsonToEventBridgeConfig', + 'Initialize-V2024EventDocument', + 'ConvertFrom-V2024JsonToEventDocument', + 'Initialize-V2024ExceptionAccessCriteria', + 'ConvertFrom-V2024JsonToExceptionAccessCriteria', + 'Initialize-V2024ExceptionCriteria', + 'ConvertFrom-V2024JsonToExceptionCriteria', + 'Initialize-V2024ExceptionCriteriaAccess', + 'ConvertFrom-V2024JsonToExceptionCriteriaAccess', + 'Initialize-V2024ExceptionCriteriaCriteriaListInner', + 'ConvertFrom-V2024JsonToExceptionCriteriaCriteriaListInner', + 'Initialize-V2024ExpansionItem', + 'ConvertFrom-V2024JsonToExpansionItem', + 'Initialize-V2024ExportFormDefinitionsByTenant200ResponseInner', + 'ConvertFrom-V2024JsonToExportFormDefinitionsByTenant200ResponseInner', + 'Initialize-V2024ExportOptions', + 'ConvertFrom-V2024JsonToExportOptions', + 'Initialize-V2024ExportPayload', + 'ConvertFrom-V2024JsonToExportPayload', + 'Initialize-V2024Expression', 'ConvertFrom-V2024JsonToExpression', + 'Initialize-V2024ExpressionChildrenInner', + 'ConvertFrom-V2024JsonToExpressionChildrenInner', + 'Initialize-V2024ExternalAttributes', + 'ConvertFrom-V2024JsonToExternalAttributes', + 'Initialize-V2024FeatureValueDto', + 'ConvertFrom-V2024JsonToFeatureValueDto', + 'Initialize-V2024FieldDetailsDto', + 'ConvertFrom-V2024JsonToFieldDetailsDto', + 'Initialize-V2024FilterAggregation', + 'ConvertFrom-V2024JsonToFilterAggregation', + 'Initialize-V2024FirstValid', 'ConvertFrom-V2024JsonToFirstValid', + 'Initialize-V2024FormCondition', + 'ConvertFrom-V2024JsonToFormCondition', + 'Initialize-V2024FormDefinitionDynamicSchemaRequest', + 'ConvertFrom-V2024JsonToFormDefinitionDynamicSchemaRequest', + 'Initialize-V2024FormDefinitionDynamicSchemaRequestAttributes', + 'ConvertFrom-V2024JsonToFormDefinitionDynamicSchemaRequestAttributes', + 'Initialize-V2024FormDefinitionDynamicSchemaResponse', + 'ConvertFrom-V2024JsonToFormDefinitionDynamicSchemaResponse', + 'Initialize-V2024FormDefinitionFileUploadResponse', + 'ConvertFrom-V2024JsonToFormDefinitionFileUploadResponse', + 'Initialize-V2024FormDefinitionInput', + 'ConvertFrom-V2024JsonToFormDefinitionInput', + 'Initialize-V2024FormDefinitionResponse', + 'ConvertFrom-V2024JsonToFormDefinitionResponse', + 'Initialize-V2024FormDetails', 'ConvertFrom-V2024JsonToFormDetails', + 'Initialize-V2024FormElement', 'ConvertFrom-V2024JsonToFormElement', + 'Initialize-V2024FormElementDataSourceConfigOptions', + 'ConvertFrom-V2024JsonToFormElementDataSourceConfigOptions', + 'Initialize-V2024FormElementDynamicDataSource', + 'ConvertFrom-V2024JsonToFormElementDynamicDataSource', + 'Initialize-V2024FormElementDynamicDataSourceConfig', + 'ConvertFrom-V2024JsonToFormElementDynamicDataSourceConfig', + 'Initialize-V2024FormElementPreviewRequest', + 'ConvertFrom-V2024JsonToFormElementPreviewRequest', + 'Initialize-V2024FormElementValidationsSet', + 'ConvertFrom-V2024JsonToFormElementValidationsSet', + 'Initialize-V2024FormError', 'ConvertFrom-V2024JsonToFormError', + 'Initialize-V2024FormInstanceCreatedBy', + 'ConvertFrom-V2024JsonToFormInstanceCreatedBy', + 'Initialize-V2024FormInstanceRecipient', + 'ConvertFrom-V2024JsonToFormInstanceRecipient', + 'Initialize-V2024FormInstanceResponse', + 'ConvertFrom-V2024JsonToFormInstanceResponse', + 'Initialize-V2024FormItemDetails', + 'ConvertFrom-V2024JsonToFormItemDetails', + 'Initialize-V2024FormOwner', 'ConvertFrom-V2024JsonToFormOwner', + 'Initialize-V2024FormUsedBy', 'ConvertFrom-V2024JsonToFormUsedBy', + 'Initialize-V2024ForwardApprovalDto', + 'ConvertFrom-V2024JsonToForwardApprovalDto', + 'Initialize-V2024GenerateRandomString', + 'ConvertFrom-V2024JsonToGenerateRandomString', + 'ConvertFrom-V2024JsonToGetActiveCampaigns200ResponseInner', + 'ConvertFrom-V2024JsonToGetHistoricalIdentityEvents200ResponseInner', + 'Initialize-V2024GetOAuthClientResponse', + 'ConvertFrom-V2024JsonToGetOAuthClientResponse', + 'Initialize-V2024GetPersonalAccessTokenResponse', + 'ConvertFrom-V2024JsonToGetPersonalAccessTokenResponse', + 'Initialize-V2024GetReferenceIdentityAttribute', + 'ConvertFrom-V2024JsonToGetReferenceIdentityAttribute', + 'ConvertFrom-V2024JsonToGetRoleAssignments200ResponseInner', + 'Initialize-V2024HttpConfig', 'ConvertFrom-V2024JsonToHttpConfig', + 'Initialize-V2024IdentitiesAccountsBulkRequest', + 'ConvertFrom-V2024JsonToIdentitiesAccountsBulkRequest', + 'Initialize-V2024IdentitiesDetailsReportArguments', + 'ConvertFrom-V2024JsonToIdentitiesDetailsReportArguments', + 'Initialize-V2024IdentitiesReportArguments', + 'ConvertFrom-V2024JsonToIdentitiesReportArguments', + 'Initialize-V2024Identity', 'ConvertFrom-V2024JsonToIdentity', + 'Initialize-V2024Identity1', 'ConvertFrom-V2024JsonToIdentity1', + 'ConvertFrom-V2024JsonToIdentityAccess', + 'Initialize-V2024IdentityAssociationDetails', + 'ConvertFrom-V2024JsonToIdentityAssociationDetails', + 'Initialize-V2024IdentityAssociationDetailsAssociationDetailsInner', + 'ConvertFrom-V2024JsonToIdentityAssociationDetailsAssociationDetailsInner', + 'Initialize-V2024IdentityAttribute', + 'ConvertFrom-V2024JsonToIdentityAttribute', + 'Initialize-V2024IdentityAttribute1', + 'ConvertFrom-V2024JsonToIdentityAttribute1', + 'Initialize-V2024IdentityAttribute2', + 'ConvertFrom-V2024JsonToIdentityAttribute2', + 'Initialize-V2024IdentityAttributeConfig', + 'ConvertFrom-V2024JsonToIdentityAttributeConfig', + 'Initialize-V2024IdentityAttributeNames', + 'ConvertFrom-V2024JsonToIdentityAttributeNames', + 'Initialize-V2024IdentityAttributePreview', + 'ConvertFrom-V2024JsonToIdentityAttributePreview', + 'Initialize-V2024IdentityAttributesChanged', + 'ConvertFrom-V2024JsonToIdentityAttributesChanged', + 'Initialize-V2024IdentityAttributesChangedChangesInner', + 'ConvertFrom-V2024JsonToIdentityAttributesChangedChangesInner', + 'ConvertFrom-V2024JsonToIdentityAttributesChangedChangesInnerNewValue', + 'ConvertFrom-V2024JsonToIdentityAttributesChangedChangesInnerOldValue', + 'ConvertFrom-V2024JsonToIdentityAttributesChangedChangesInnerOldValueOneOfValue', + 'Initialize-V2024IdentityAttributesChangedIdentity', + 'ConvertFrom-V2024JsonToIdentityAttributesChangedIdentity', + 'Initialize-V2024IdentityAttributeTransform', + 'ConvertFrom-V2024JsonToIdentityAttributeTransform', + 'Initialize-V2024IdentityCertDecisionSummary', + 'ConvertFrom-V2024JsonToIdentityCertDecisionSummary', + 'Initialize-V2024IdentityCertificationDto', + 'ConvertFrom-V2024JsonToIdentityCertificationDto', + 'Initialize-V2024IdentityCertified', + 'ConvertFrom-V2024JsonToIdentityCertified', + 'Initialize-V2024IdentityCompareResponse', + 'ConvertFrom-V2024JsonToIdentityCompareResponse', + 'Initialize-V2024IdentityCreated', + 'ConvertFrom-V2024JsonToIdentityCreated', + 'Initialize-V2024IdentityCreatedIdentity', + 'ConvertFrom-V2024JsonToIdentityCreatedIdentity', + 'Initialize-V2024IdentityDeleted', + 'ConvertFrom-V2024JsonToIdentityDeleted', + 'Initialize-V2024IdentityDeletedIdentity', + 'ConvertFrom-V2024JsonToIdentityDeletedIdentity', + 'Initialize-V2024IdentityDocument', + 'ConvertFrom-V2024JsonToIdentityDocument', + 'Initialize-V2024IdentityDocumentAllOfIdentityProfile', + 'ConvertFrom-V2024JsonToIdentityDocumentAllOfIdentityProfile', + 'Initialize-V2024IdentityDocumentAllOfManager', + 'ConvertFrom-V2024JsonToIdentityDocumentAllOfManager', + 'Initialize-V2024IdentityDocumentAllOfSource', + 'ConvertFrom-V2024JsonToIdentityDocumentAllOfSource', + 'Initialize-V2024IdentityDtoLifecycleState', + 'ConvertFrom-V2024JsonToIdentityDtoLifecycleState', + 'Initialize-V2024IdentityDtoManagerRef', + 'ConvertFrom-V2024JsonToIdentityDtoManagerRef', + 'Initialize-V2024IdentityEntities', + 'ConvertFrom-V2024JsonToIdentityEntities', + 'Initialize-V2024IdentityEntitiesIdentityEntity', + 'ConvertFrom-V2024JsonToIdentityEntitiesIdentityEntity', + 'Initialize-V2024IdentityExceptionReportReference', + 'ConvertFrom-V2024JsonToIdentityExceptionReportReference', + 'Initialize-V2024IdentityHistoryResponse', + 'ConvertFrom-V2024JsonToIdentityHistoryResponse', + 'Initialize-V2024IdentityListItem', + 'ConvertFrom-V2024JsonToIdentityListItem', + 'Initialize-V2024IdentityOwnershipAssociationDetails', + 'ConvertFrom-V2024JsonToIdentityOwnershipAssociationDetails', + 'Initialize-V2024IdentityOwnershipAssociationDetailsAssociationDetailsInner', + 'ConvertFrom-V2024JsonToIdentityOwnershipAssociationDetailsAssociationDetailsInner', + 'Initialize-V2024IdentityPreviewRequest', + 'ConvertFrom-V2024JsonToIdentityPreviewRequest', + 'Initialize-V2024IdentityPreviewResponse', + 'ConvertFrom-V2024JsonToIdentityPreviewResponse', + 'Initialize-V2024IdentityPreviewResponseIdentity', + 'ConvertFrom-V2024JsonToIdentityPreviewResponseIdentity', + 'Initialize-V2024IdentityProfile', + 'ConvertFrom-V2024JsonToIdentityProfile', + 'Initialize-V2024IdentityProfileAllOfAuthoritativeSource', + 'ConvertFrom-V2024JsonToIdentityProfileAllOfAuthoritativeSource', + 'Initialize-V2024IdentityProfileAllOfOwner', + 'ConvertFrom-V2024JsonToIdentityProfileAllOfOwner', + 'Initialize-V2024IdentityProfileExportedObject', + 'ConvertFrom-V2024JsonToIdentityProfileExportedObject', + 'Initialize-V2024IdentityProfileExportedObjectSelf', + 'ConvertFrom-V2024JsonToIdentityProfileExportedObjectSelf', + 'Initialize-V2024IdentityProfileIdentityErrorReportArguments', + 'ConvertFrom-V2024JsonToIdentityProfileIdentityErrorReportArguments', + 'Initialize-V2024IdentityReference', + 'ConvertFrom-V2024JsonToIdentityReference', + 'Initialize-V2024IdentityReferenceWithNameAndEmail', + 'ConvertFrom-V2024JsonToIdentityReferenceWithNameAndEmail', + 'Initialize-V2024IdentitySnapshotSummaryResponse', + 'ConvertFrom-V2024JsonToIdentitySnapshotSummaryResponse', + 'Initialize-V2024IdentitySummary', + 'ConvertFrom-V2024JsonToIdentitySummary', + 'Initialize-V2024IdentitySyncJob', + 'ConvertFrom-V2024JsonToIdentitySyncJob', + 'Initialize-V2024IdentitySyncPayload', + 'ConvertFrom-V2024JsonToIdentitySyncPayload', + 'Initialize-V2024IdentityWithNewAccess', + 'ConvertFrom-V2024JsonToIdentityWithNewAccess', + 'Initialize-V2024IdentityWithNewAccess1', + 'ConvertFrom-V2024JsonToIdentityWithNewAccess1', + 'Initialize-V2024IdentityWithNewAccessAccessRefsInner', + 'ConvertFrom-V2024JsonToIdentityWithNewAccessAccessRefsInner', + 'Initialize-V2024ImportAccountsRequest', + 'ConvertFrom-V2024JsonToImportAccountsRequest', + 'Initialize-V2024ImportEntitlementsBySourceRequest', + 'ConvertFrom-V2024JsonToImportEntitlementsBySourceRequest', + 'Initialize-V2024ImportFormDefinitions202Response', + 'ConvertFrom-V2024JsonToImportFormDefinitions202Response', + 'Initialize-V2024ImportFormDefinitions202ResponseErrorsInner', + 'ConvertFrom-V2024JsonToImportFormDefinitions202ResponseErrorsInner', + 'Initialize-V2024ImportNonEmployeeRecordsInBulkRequest', + 'ConvertFrom-V2024JsonToImportNonEmployeeRecordsInBulkRequest', + 'Initialize-V2024ImportObject', + 'ConvertFrom-V2024JsonToImportObject', + 'Initialize-V2024ImportOptions', + 'ConvertFrom-V2024JsonToImportOptions', + 'Initialize-V2024ImportSpConfigRequest', + 'ConvertFrom-V2024JsonToImportSpConfigRequest', + 'Initialize-V2024ImportUploadedBackupRequest', + 'ConvertFrom-V2024JsonToImportUploadedBackupRequest', + 'Initialize-V2024IndexOf', 'ConvertFrom-V2024JsonToIndexOf', + 'Initialize-V2024InnerHit', 'ConvertFrom-V2024JsonToInnerHit', + 'Initialize-V2024Invocation', 'ConvertFrom-V2024JsonToInvocation', + 'Initialize-V2024InvocationStatus', + 'ConvertFrom-V2024JsonToInvocationStatus', + 'Initialize-V2024ISO3166', 'ConvertFrom-V2024JsonToISO3166', + 'Initialize-V2024JsonPatch', 'ConvertFrom-V2024JsonToJsonPatch', + 'Initialize-V2024JsonPatchOperation', + 'ConvertFrom-V2024JsonToJsonPatchOperation', + 'ConvertFrom-V2024JsonToJsonPatchOperationValue', + 'Initialize-V2024KbaAnswerRequestItem', + 'ConvertFrom-V2024JsonToKbaAnswerRequestItem', + 'Initialize-V2024KbaAnswerResponseItem', + 'ConvertFrom-V2024JsonToKbaAnswerResponseItem', + 'Initialize-V2024KbaQuestion', 'ConvertFrom-V2024JsonToKbaQuestion', + 'Initialize-V2024LatestOutlierSummary', + 'ConvertFrom-V2024JsonToLatestOutlierSummary', + 'Initialize-V2024LeftPad', 'ConvertFrom-V2024JsonToLeftPad', + 'Initialize-V2024License', 'ConvertFrom-V2024JsonToLicense', + 'Initialize-V2024LifecycleState', + 'ConvertFrom-V2024JsonToLifecycleState', + 'Initialize-V2024LifecyclestateDeleted', + 'ConvertFrom-V2024JsonToLifecyclestateDeleted', + 'Initialize-V2024LifecycleStateDto', + 'ConvertFrom-V2024JsonToLifecycleStateDto', + 'Initialize-V2024ListAccessProfiles401Response', + 'ConvertFrom-V2024JsonToListAccessProfiles401Response', + 'Initialize-V2024ListAccessProfiles429Response', + 'ConvertFrom-V2024JsonToListAccessProfiles429Response', + 'Initialize-V2024ListCampaignFilters200Response', + 'ConvertFrom-V2024JsonToListCampaignFilters200Response', + 'ConvertFrom-V2024JsonToListCompleteWorkflowLibrary200ResponseInner', + 'Initialize-V2024ListFormDefinitionsByTenantResponse', + 'ConvertFrom-V2024JsonToListFormDefinitionsByTenantResponse', + 'Initialize-V2024ListFormElementDataByElementIDResponse', + 'ConvertFrom-V2024JsonToListFormElementDataByElementIDResponse', + 'Initialize-V2024ListFormInstancesByTenantResponse', + 'ConvertFrom-V2024JsonToListFormInstancesByTenantResponse', + 'ConvertFrom-V2024JsonToListIdentityAccessItems200ResponseInner', + 'Initialize-V2024ListPredefinedSelectOptionsResponse', + 'ConvertFrom-V2024JsonToListPredefinedSelectOptionsResponse', + 'Initialize-V2024ListWorkgroupMembers200ResponseInner', + 'ConvertFrom-V2024JsonToListWorkgroupMembers200ResponseInner', + 'Initialize-V2024LoadAccountsTask', + 'ConvertFrom-V2024JsonToLoadAccountsTask', + 'Initialize-V2024LoadAccountsTaskTask', + 'ConvertFrom-V2024JsonToLoadAccountsTaskTask', + 'Initialize-V2024LoadAccountsTaskTaskAttributes', + 'ConvertFrom-V2024JsonToLoadAccountsTaskTaskAttributes', + 'Initialize-V2024LoadAccountsTaskTaskMessagesInner', + 'ConvertFrom-V2024JsonToLoadAccountsTaskTaskMessagesInner', + 'Initialize-V2024LoadAccountsTaskTaskReturnsInner', + 'ConvertFrom-V2024JsonToLoadAccountsTaskTaskReturnsInner', + 'Initialize-V2024LoadEntitlementTask', + 'ConvertFrom-V2024JsonToLoadEntitlementTask', + 'Initialize-V2024LoadEntitlementTaskReturnsInner', + 'ConvertFrom-V2024JsonToLoadEntitlementTaskReturnsInner', + 'Initialize-V2024LoadUncorrelatedAccountsTask', + 'ConvertFrom-V2024JsonToLoadUncorrelatedAccountsTask', + 'Initialize-V2024LoadUncorrelatedAccountsTaskTask', + 'ConvertFrom-V2024JsonToLoadUncorrelatedAccountsTaskTask', + 'Initialize-V2024LoadUncorrelatedAccountsTaskTaskAttributes', + 'ConvertFrom-V2024JsonToLoadUncorrelatedAccountsTaskTaskAttributes', + 'Initialize-V2024LoadUncorrelatedAccountsTaskTaskMessagesInner', + 'ConvertFrom-V2024JsonToLoadUncorrelatedAccountsTaskTaskMessagesInner', + 'Initialize-V2024LocalizedMessage', + 'ConvertFrom-V2024JsonToLocalizedMessage', 'Initialize-V2024Lookup', + 'ConvertFrom-V2024JsonToLookup', 'Initialize-V2024LookupStep', + 'ConvertFrom-V2024JsonToLookupStep', 'Initialize-V2024Lower', + 'ConvertFrom-V2024JsonToLower', + 'Initialize-V2024MailFromAttributes', + 'ConvertFrom-V2024JsonToMailFromAttributes', + 'Initialize-V2024MailFromAttributesDto', + 'ConvertFrom-V2024JsonToMailFromAttributesDto', + 'Initialize-V2024ManagedClient', + 'ConvertFrom-V2024JsonToManagedClient', + 'Initialize-V2024ManagedClientRequest', + 'ConvertFrom-V2024JsonToManagedClientRequest', + 'Initialize-V2024ManagedClientStatus', + 'ConvertFrom-V2024JsonToManagedClientStatus', + 'Initialize-V2024ManagedCluster', + 'ConvertFrom-V2024JsonToManagedCluster', + 'Initialize-V2024ManagedClusterAttributes', + 'ConvertFrom-V2024JsonToManagedClusterAttributes', + 'Initialize-V2024ManagedClusterKeyPair', + 'ConvertFrom-V2024JsonToManagedClusterKeyPair', + 'Initialize-V2024ManagedClusterQueue', + 'ConvertFrom-V2024JsonToManagedClusterQueue', + 'Initialize-V2024ManagedClusterRedis', + 'ConvertFrom-V2024JsonToManagedClusterRedis', + 'Initialize-V2024ManagedClusterRequest', + 'ConvertFrom-V2024JsonToManagedClusterRequest', + 'Initialize-V2024ManagerCorrelationMapping', + 'ConvertFrom-V2024JsonToManagerCorrelationMapping', + 'Initialize-V2024ManualDiscoverApplications', + 'ConvertFrom-V2024JsonToManualDiscoverApplications', + 'Initialize-V2024ManualDiscoverApplicationsTemplate', + 'ConvertFrom-V2024JsonToManualDiscoverApplicationsTemplate', + 'Initialize-V2024ManuallyUpdatedFieldsDTO', + 'ConvertFrom-V2024JsonToManuallyUpdatedFieldsDTO', + 'Initialize-V2024ManualWorkItemDetails', + 'ConvertFrom-V2024JsonToManualWorkItemDetails', + 'Initialize-V2024ManualWorkItemDetailsCurrentOwner', + 'ConvertFrom-V2024JsonToManualWorkItemDetailsCurrentOwner', + 'Initialize-V2024ManualWorkItemDetailsOriginalOwner', + 'ConvertFrom-V2024JsonToManualWorkItemDetailsOriginalOwner', + 'Initialize-V2024MetricAggregation', + 'ConvertFrom-V2024JsonToMetricAggregation', + 'Initialize-V2024MetricResponse', + 'ConvertFrom-V2024JsonToMetricResponse', + 'Initialize-V2024MfaConfigTestResponse', + 'ConvertFrom-V2024JsonToMfaConfigTestResponse', + 'Initialize-V2024MfaDuoConfig', + 'ConvertFrom-V2024JsonToMfaDuoConfig', + 'Initialize-V2024MfaOktaConfig', + 'ConvertFrom-V2024JsonToMfaOktaConfig', + 'Initialize-V2024ModelError', 'ConvertFrom-V2024JsonToModelError', + 'Initialize-V2024ModelEvent', 'ConvertFrom-V2024JsonToModelEvent', + 'Initialize-V2024ModelFilter', 'ConvertFrom-V2024JsonToModelFilter', + 'Initialize-V2024MultiPolicyRequest', + 'ConvertFrom-V2024JsonToMultiPolicyRequest', + 'Initialize-V2024NameNormalizer', + 'ConvertFrom-V2024JsonToNameNormalizer', + 'Initialize-V2024NativeChangeDetectionConfig', + 'ConvertFrom-V2024JsonToNativeChangeDetectionConfig', + 'Initialize-V2024NestedAggregation', + 'ConvertFrom-V2024JsonToNestedAggregation', + 'Initialize-V2024NetworkConfiguration', + 'ConvertFrom-V2024JsonToNetworkConfiguration', + 'Initialize-V2024NonEmployeeApprovalDecision', + 'ConvertFrom-V2024JsonToNonEmployeeApprovalDecision', + 'Initialize-V2024NonEmployeeApprovalItem', + 'ConvertFrom-V2024JsonToNonEmployeeApprovalItem', + 'Initialize-V2024NonEmployeeApprovalItemBase', + 'ConvertFrom-V2024JsonToNonEmployeeApprovalItemBase', + 'Initialize-V2024NonEmployeeApprovalItemDetail', + 'ConvertFrom-V2024JsonToNonEmployeeApprovalItemDetail', + 'Initialize-V2024NonEmployeeApprovalSummary', + 'ConvertFrom-V2024JsonToNonEmployeeApprovalSummary', + 'Initialize-V2024NonEmployeeBulkUploadJob', + 'ConvertFrom-V2024JsonToNonEmployeeBulkUploadJob', + 'Initialize-V2024NonEmployeeBulkUploadStatus', + 'ConvertFrom-V2024JsonToNonEmployeeBulkUploadStatus', + 'Initialize-V2024NonEmployeeIdentityReferenceWithId', + 'ConvertFrom-V2024JsonToNonEmployeeIdentityReferenceWithId', + 'Initialize-V2024NonEmployeeIdnUserRequest', + 'ConvertFrom-V2024JsonToNonEmployeeIdnUserRequest', + 'Initialize-V2024NonEmployeeRecord', + 'ConvertFrom-V2024JsonToNonEmployeeRecord', + 'Initialize-V2024NonEmployeeRejectApprovalDecision', + 'ConvertFrom-V2024JsonToNonEmployeeRejectApprovalDecision', + 'Initialize-V2024NonEmployeeRequest', + 'ConvertFrom-V2024JsonToNonEmployeeRequest', + 'Initialize-V2024NonEmployeeRequestBody', + 'ConvertFrom-V2024JsonToNonEmployeeRequestBody', + 'Initialize-V2024NonEmployeeRequestLite', + 'ConvertFrom-V2024JsonToNonEmployeeRequestLite', + 'Initialize-V2024NonEmployeeRequestSummary', + 'ConvertFrom-V2024JsonToNonEmployeeRequestSummary', + 'Initialize-V2024NonEmployeeRequestWithoutApprovalItem', + 'ConvertFrom-V2024JsonToNonEmployeeRequestWithoutApprovalItem', + 'Initialize-V2024NonEmployeeSchemaAttribute', + 'ConvertFrom-V2024JsonToNonEmployeeSchemaAttribute', + 'Initialize-V2024NonEmployeeSchemaAttributeBody', + 'ConvertFrom-V2024JsonToNonEmployeeSchemaAttributeBody', + 'Initialize-V2024NonEmployeeSource', + 'ConvertFrom-V2024JsonToNonEmployeeSource', + 'Initialize-V2024NonEmployeeSourceLite', + 'ConvertFrom-V2024JsonToNonEmployeeSourceLite', + 'Initialize-V2024NonEmployeeSourceLiteWithSchemaAttributes', + 'ConvertFrom-V2024JsonToNonEmployeeSourceLiteWithSchemaAttributes', + 'Initialize-V2024NonEmployeeSourceRequestBody', + 'ConvertFrom-V2024JsonToNonEmployeeSourceRequestBody', + 'Initialize-V2024NonEmployeeSourceWithCloudExternalId', + 'ConvertFrom-V2024JsonToNonEmployeeSourceWithCloudExternalId', + 'Initialize-V2024NonEmployeeSourceWithNECount', + 'ConvertFrom-V2024JsonToNonEmployeeSourceWithNECount', + 'Initialize-V2024NotificationTemplateContext', + 'ConvertFrom-V2024JsonToNotificationTemplateContext', + 'Initialize-V2024ObjectExportImportOptions', + 'ConvertFrom-V2024JsonToObjectExportImportOptions', + 'Initialize-V2024ObjectImportResult', + 'ConvertFrom-V2024JsonToObjectImportResult', + 'Initialize-V2024ObjectImportResult1', + 'ConvertFrom-V2024JsonToObjectImportResult1', + 'Initialize-V2024ObjectMappingBulkCreateRequest', + 'ConvertFrom-V2024JsonToObjectMappingBulkCreateRequest', + 'Initialize-V2024ObjectMappingBulkCreateResponse', + 'ConvertFrom-V2024JsonToObjectMappingBulkCreateResponse', + 'Initialize-V2024ObjectMappingBulkPatchRequest', + 'ConvertFrom-V2024JsonToObjectMappingBulkPatchRequest', + 'Initialize-V2024ObjectMappingBulkPatchResponse', + 'ConvertFrom-V2024JsonToObjectMappingBulkPatchResponse', + 'Initialize-V2024ObjectMappingRequest', + 'ConvertFrom-V2024JsonToObjectMappingRequest', + 'Initialize-V2024ObjectMappingResponse', + 'ConvertFrom-V2024JsonToObjectMappingResponse', + 'Initialize-V2024OrgConfig', 'ConvertFrom-V2024JsonToOrgConfig', + 'Initialize-V2024OriginalRequest', + 'ConvertFrom-V2024JsonToOriginalRequest', + 'Initialize-V2024OrphanUncorrelatedReportArguments', + 'ConvertFrom-V2024JsonToOrphanUncorrelatedReportArguments', + 'Initialize-V2024Outlier', 'ConvertFrom-V2024JsonToOutlier', + 'Initialize-V2024OutlierContributingFeature', + 'ConvertFrom-V2024JsonToOutlierContributingFeature', + 'ConvertFrom-V2024JsonToOutlierContributingFeatureValue', + 'Initialize-V2024OutlierFeatureSummary', + 'ConvertFrom-V2024JsonToOutlierFeatureSummary', + 'Initialize-V2024OutlierFeatureSummaryOutlierFeatureDisplayValuesInner', + 'ConvertFrom-V2024JsonToOutlierFeatureSummaryOutlierFeatureDisplayValuesInner', + 'Initialize-V2024OutlierFeatureTranslation', + 'ConvertFrom-V2024JsonToOutlierFeatureTranslation', + 'Initialize-V2024OutliersContributingFeatureAccessItems', + 'ConvertFrom-V2024JsonToOutliersContributingFeatureAccessItems', + 'Initialize-V2024OutlierSummary', + 'ConvertFrom-V2024JsonToOutlierSummary', 'Initialize-V2024OwnerDto', + 'ConvertFrom-V2024JsonToOwnerDto', 'Initialize-V2024OwnerReference', + 'ConvertFrom-V2024JsonToOwnerReference', + 'Initialize-V2024OwnerReferenceDto', + 'ConvertFrom-V2024JsonToOwnerReferenceDto', + 'Initialize-V2024OwnerReferenceSegments', + 'ConvertFrom-V2024JsonToOwnerReferenceSegments', + 'Initialize-V2024Owns', 'ConvertFrom-V2024JsonToOwns', + 'Initialize-V2024PasswordChangeRequest', + 'ConvertFrom-V2024JsonToPasswordChangeRequest', + 'Initialize-V2024PasswordChangeResponse', + 'ConvertFrom-V2024JsonToPasswordChangeResponse', + 'Initialize-V2024PasswordDigitToken', + 'ConvertFrom-V2024JsonToPasswordDigitToken', + 'Initialize-V2024PasswordDigitTokenReset', + 'ConvertFrom-V2024JsonToPasswordDigitTokenReset', + 'Initialize-V2024PasswordInfo', + 'ConvertFrom-V2024JsonToPasswordInfo', + 'Initialize-V2024PasswordInfoAccount', + 'ConvertFrom-V2024JsonToPasswordInfoAccount', + 'Initialize-V2024PasswordInfoQueryDTO', + 'ConvertFrom-V2024JsonToPasswordInfoQueryDTO', + 'Initialize-V2024PasswordOrgConfig', + 'ConvertFrom-V2024JsonToPasswordOrgConfig', + 'Initialize-V2024PasswordPolicyV3Dto', + 'ConvertFrom-V2024JsonToPasswordPolicyV3Dto', + 'Initialize-V2024PasswordStatus', + 'ConvertFrom-V2024JsonToPasswordStatus', + 'Initialize-V2024PasswordSyncGroup', + 'ConvertFrom-V2024JsonToPasswordSyncGroup', + 'Initialize-V2024PatchPotentialRoleRequestInner', + 'ConvertFrom-V2024JsonToPatchPotentialRoleRequestInner', + 'Initialize-V2024PatchServiceDeskIntegrationRequest', + 'ConvertFrom-V2024JsonToPatchServiceDeskIntegrationRequest', + 'Initialize-V2024PatOwner', 'ConvertFrom-V2024JsonToPatOwner', + 'Initialize-V2024PeerGroupMember', + 'ConvertFrom-V2024JsonToPeerGroupMember', + 'Initialize-V2024PendingApproval', + 'ConvertFrom-V2024JsonToPendingApproval', + 'Initialize-V2024PendingApprovalOwner', + 'ConvertFrom-V2024JsonToPendingApprovalOwner', + 'Initialize-V2024PermissionDto', + 'ConvertFrom-V2024JsonToPermissionDto', + 'Initialize-V2024PreApprovalTriggerDetails', + 'ConvertFrom-V2024JsonToPreApprovalTriggerDetails', + 'Initialize-V2024PreferencesDto', + 'ConvertFrom-V2024JsonToPreferencesDto', + 'Initialize-V2024PreviewDataSourceResponse', + 'ConvertFrom-V2024JsonToPreviewDataSourceResponse', + 'Initialize-V2024ProcessIdentitiesRequest', + 'ConvertFrom-V2024JsonToProcessIdentitiesRequest', + 'Initialize-V2024ProcessingDetails', + 'ConvertFrom-V2024JsonToProcessingDetails', + 'Initialize-V2024Product', 'ConvertFrom-V2024JsonToProduct', + 'Initialize-V2024ProvisioningCompleted', + 'ConvertFrom-V2024JsonToProvisioningCompleted', + 'Initialize-V2024ProvisioningCompletedAccountRequestsInner', + 'ConvertFrom-V2024JsonToProvisioningCompletedAccountRequestsInner', + 'Initialize-V2024ProvisioningCompletedAccountRequestsInnerAttributeRequestsInner', + 'ConvertFrom-V2024JsonToProvisioningCompletedAccountRequestsInnerAttributeRequestsInner', + 'Initialize-V2024ProvisioningCompletedAccountRequestsInnerSource', + 'ConvertFrom-V2024JsonToProvisioningCompletedAccountRequestsInnerSource', + 'Initialize-V2024ProvisioningCompletedRecipient', + 'ConvertFrom-V2024JsonToProvisioningCompletedRecipient', + 'Initialize-V2024ProvisioningCompletedRequester', + 'ConvertFrom-V2024JsonToProvisioningCompletedRequester', + 'Initialize-V2024ProvisioningConfig', + 'ConvertFrom-V2024JsonToProvisioningConfig', + 'Initialize-V2024ProvisioningConfig1', + 'ConvertFrom-V2024JsonToProvisioningConfig1', + 'Initialize-V2024ProvisioningConfig1ManagedResourceRefsInner', + 'ConvertFrom-V2024JsonToProvisioningConfig1ManagedResourceRefsInner', + 'Initialize-V2024ProvisioningConfig1PlanInitializerScript', + 'ConvertFrom-V2024JsonToProvisioningConfig1PlanInitializerScript', + 'Initialize-V2024ProvisioningConfigPlanInitializerScript', + 'ConvertFrom-V2024JsonToProvisioningConfigPlanInitializerScript', + 'Initialize-V2024ProvisioningCriteriaLevel1', + 'ConvertFrom-V2024JsonToProvisioningCriteriaLevel1', + 'Initialize-V2024ProvisioningCriteriaLevel2', + 'ConvertFrom-V2024JsonToProvisioningCriteriaLevel2', + 'Initialize-V2024ProvisioningCriteriaLevel3', + 'ConvertFrom-V2024JsonToProvisioningCriteriaLevel3', + 'Initialize-V2024ProvisioningDetails', + 'ConvertFrom-V2024JsonToProvisioningDetails', + 'Initialize-V2024ProvisioningPolicy', + 'ConvertFrom-V2024JsonToProvisioningPolicy', + 'Initialize-V2024ProvisioningPolicyDto', + 'ConvertFrom-V2024JsonToProvisioningPolicyDto', + 'Initialize-V2024PublicIdentity', + 'ConvertFrom-V2024JsonToPublicIdentity', + 'Initialize-V2024PublicIdentityAttributeConfig', + 'ConvertFrom-V2024JsonToPublicIdentityAttributeConfig', + 'Initialize-V2024PublicIdentityConfig', + 'ConvertFrom-V2024JsonToPublicIdentityConfig', + 'Initialize-V2024PutCorrelationConfigRequest', + 'ConvertFrom-V2024JsonToPutCorrelationConfigRequest', + 'Initialize-V2024PutPasswordDictionaryRequest', + 'ConvertFrom-V2024JsonToPutPasswordDictionaryRequest', + 'Initialize-V2024PutSourceConfigRequest', + 'ConvertFrom-V2024JsonToPutSourceConfigRequest', + 'Initialize-V2024PutSourceTemplateRequest', + 'ConvertFrom-V2024JsonToPutSourceTemplateRequest', + 'Initialize-V2024Query', 'ConvertFrom-V2024JsonToQuery', + 'Initialize-V2024QueryResultFilter', + 'ConvertFrom-V2024JsonToQueryResultFilter', + 'Initialize-V2024QueuedCheckConfigDetails', + 'ConvertFrom-V2024JsonToQueuedCheckConfigDetails', + 'Initialize-V2024RandomAlphaNumeric', + 'ConvertFrom-V2024JsonToRandomAlphaNumeric', + 'Initialize-V2024RandomNumeric', + 'ConvertFrom-V2024JsonToRandomNumeric', 'Initialize-V2024Range', + 'ConvertFrom-V2024JsonToRange', 'Initialize-V2024Reassignment', + 'ConvertFrom-V2024JsonToReassignment', + 'Initialize-V2024Reassignment1', + 'ConvertFrom-V2024JsonToReassignment1', + 'Initialize-V2024ReassignmentReference', + 'ConvertFrom-V2024JsonToReassignmentReference', + 'Initialize-V2024ReassignmentTrailDTO', + 'ConvertFrom-V2024JsonToReassignmentTrailDTO', + 'Initialize-V2024ReassignReference', + 'ConvertFrom-V2024JsonToReassignReference', + 'Initialize-V2024RecommendationConfigDto', + 'ConvertFrom-V2024JsonToRecommendationConfigDto', + 'Initialize-V2024RecommendationRequest', + 'ConvertFrom-V2024JsonToRecommendationRequest', + 'Initialize-V2024RecommendationRequestDto', + 'ConvertFrom-V2024JsonToRecommendationRequestDto', + 'Initialize-V2024RecommendationResponse', + 'ConvertFrom-V2024JsonToRecommendationResponse', + 'Initialize-V2024RecommendationResponseDto', + 'ConvertFrom-V2024JsonToRecommendationResponseDto', + 'Initialize-V2024RecommenderCalculations', + 'ConvertFrom-V2024JsonToRecommenderCalculations', + 'Initialize-V2024RecommenderCalculationsIdentityAttributesValue', + 'ConvertFrom-V2024JsonToRecommenderCalculationsIdentityAttributesValue', + 'Initialize-V2024Reference', 'ConvertFrom-V2024JsonToReference', + 'Initialize-V2024Reference1', 'ConvertFrom-V2024JsonToReference1', + 'Initialize-V2024RemediationItemDetails', + 'ConvertFrom-V2024JsonToRemediationItemDetails', + 'Initialize-V2024RemediationItems', + 'ConvertFrom-V2024JsonToRemediationItems', + 'Initialize-V2024Replace', 'ConvertFrom-V2024JsonToReplace', + 'Initialize-V2024ReplaceAll', 'ConvertFrom-V2024JsonToReplaceAll', + 'Initialize-V2024ReportConfigDTO', + 'ConvertFrom-V2024JsonToReportConfigDTO', + 'Initialize-V2024ReportDetails', + 'ConvertFrom-V2024JsonToReportDetails', + 'ConvertFrom-V2024JsonToReportDetailsArguments', + 'Initialize-V2024ReportResultReference', + 'ConvertFrom-V2024JsonToReportResultReference', + 'Initialize-V2024ReportResults', + 'ConvertFrom-V2024JsonToReportResults', + 'Initialize-V2024Requestability', + 'ConvertFrom-V2024JsonToRequestability', + 'Initialize-V2024RequestabilityForRole', + 'ConvertFrom-V2024JsonToRequestabilityForRole', + 'Initialize-V2024RequestableObject', + 'ConvertFrom-V2024JsonToRequestableObject', + 'Initialize-V2024RequestableObjectReference', + 'ConvertFrom-V2024JsonToRequestableObjectReference', + 'Initialize-V2024RequestedItemStatus', + 'ConvertFrom-V2024JsonToRequestedItemStatus', + 'Initialize-V2024RequestedItemStatusCancelledRequestDetails', + 'ConvertFrom-V2024JsonToRequestedItemStatusCancelledRequestDetails', + 'Initialize-V2024RequestedItemStatusPreApprovalTriggerDetails', + 'ConvertFrom-V2024JsonToRequestedItemStatusPreApprovalTriggerDetails', + 'Initialize-V2024RequestedItemStatusProvisioningDetails', + 'ConvertFrom-V2024JsonToRequestedItemStatusProvisioningDetails', + 'Initialize-V2024RequestedItemStatusRequestedFor', + 'ConvertFrom-V2024JsonToRequestedItemStatusRequestedFor', + 'Initialize-V2024RequestedItemStatusRequesterComment', + 'ConvertFrom-V2024JsonToRequestedItemStatusRequesterComment', + 'Initialize-V2024RequestedItemStatusSodViolationContext', + 'ConvertFrom-V2024JsonToRequestedItemStatusSodViolationContext', + 'Initialize-V2024RequestOnBehalfOfConfig', + 'ConvertFrom-V2024JsonToRequestOnBehalfOfConfig', + 'Initialize-V2024ResourceObject', + 'ConvertFrom-V2024JsonToResourceObject', + 'Initialize-V2024ResourceObjectsRequest', + 'ConvertFrom-V2024JsonToResourceObjectsRequest', + 'Initialize-V2024ResourceObjectsResponse', + 'ConvertFrom-V2024JsonToResourceObjectsResponse', + 'Initialize-V2024ReviewableAccessProfile', + 'ConvertFrom-V2024JsonToReviewableAccessProfile', + 'Initialize-V2024ReviewableEntitlement', + 'ConvertFrom-V2024JsonToReviewableEntitlement', + 'Initialize-V2024ReviewableEntitlementAccount', + 'ConvertFrom-V2024JsonToReviewableEntitlementAccount', + 'Initialize-V2024ReviewableRole', + 'ConvertFrom-V2024JsonToReviewableRole', + 'Initialize-V2024ReviewDecision', + 'ConvertFrom-V2024JsonToReviewDecision', 'Initialize-V2024Reviewer', + 'ConvertFrom-V2024JsonToReviewer', 'Initialize-V2024Reviewer1', + 'ConvertFrom-V2024JsonToReviewer1', + 'Initialize-V2024ReviewReassign', + 'ConvertFrom-V2024JsonToReviewReassign', + 'Initialize-V2024ReviewRecommendation', + 'ConvertFrom-V2024JsonToReviewRecommendation', + 'Initialize-V2024Revocability', + 'ConvertFrom-V2024JsonToRevocability', + 'Initialize-V2024RevocabilityForRole', + 'ConvertFrom-V2024JsonToRevocabilityForRole', + 'Initialize-V2024RightPad', 'ConvertFrom-V2024JsonToRightPad', + 'Initialize-V2024Role', 'ConvertFrom-V2024JsonToRole', + 'Initialize-V2024RoleAssignmentDto', + 'ConvertFrom-V2024JsonToRoleAssignmentDto', + 'Initialize-V2024RoleAssignmentRef', + 'ConvertFrom-V2024JsonToRoleAssignmentRef', + 'Initialize-V2024RoleBulkDeleteRequest', + 'ConvertFrom-V2024JsonToRoleBulkDeleteRequest', + 'Initialize-V2024RoleCriteriaKey', + 'ConvertFrom-V2024JsonToRoleCriteriaKey', + 'Initialize-V2024RoleCriteriaLevel1', + 'ConvertFrom-V2024JsonToRoleCriteriaLevel1', + 'Initialize-V2024RoleCriteriaLevel2', + 'ConvertFrom-V2024JsonToRoleCriteriaLevel2', + 'Initialize-V2024RoleCriteriaLevel3', + 'ConvertFrom-V2024JsonToRoleCriteriaLevel3', + 'Initialize-V2024RoleDocument', + 'ConvertFrom-V2024JsonToRoleDocument', + 'Initialize-V2024RoleIdentity', + 'ConvertFrom-V2024JsonToRoleIdentity', + 'Initialize-V2024RoleInsight', 'ConvertFrom-V2024JsonToRoleInsight', + 'Initialize-V2024RoleInsightsEntitlement', + 'ConvertFrom-V2024JsonToRoleInsightsEntitlement', + 'Initialize-V2024RoleInsightsEntitlementChanges', + 'ConvertFrom-V2024JsonToRoleInsightsEntitlementChanges', + 'Initialize-V2024RoleInsightsIdentities', + 'ConvertFrom-V2024JsonToRoleInsightsIdentities', + 'Initialize-V2024RoleInsightsInsight', + 'ConvertFrom-V2024JsonToRoleInsightsInsight', + 'Initialize-V2024RoleInsightsResponse', + 'ConvertFrom-V2024JsonToRoleInsightsResponse', + 'Initialize-V2024RoleInsightsRole', + 'ConvertFrom-V2024JsonToRoleInsightsRole', + 'Initialize-V2024RoleInsightsSummary', + 'ConvertFrom-V2024JsonToRoleInsightsSummary', + 'Initialize-V2024RoleMatchDto', + 'ConvertFrom-V2024JsonToRoleMatchDto', + 'Initialize-V2024RoleMembershipIdentity', + 'ConvertFrom-V2024JsonToRoleMembershipIdentity', + 'Initialize-V2024RoleMembershipSelector', + 'ConvertFrom-V2024JsonToRoleMembershipSelector', + 'Initialize-V2024RoleMiningEntitlement', + 'ConvertFrom-V2024JsonToRoleMiningEntitlement', + 'Initialize-V2024RoleMiningEntitlementRef', + 'ConvertFrom-V2024JsonToRoleMiningEntitlementRef', + 'Initialize-V2024RoleMiningIdentity', + 'ConvertFrom-V2024JsonToRoleMiningIdentity', + 'Initialize-V2024RoleMiningIdentityDistribution', + 'ConvertFrom-V2024JsonToRoleMiningIdentityDistribution', + 'Initialize-V2024RoleMiningPotentialRole', + 'ConvertFrom-V2024JsonToRoleMiningPotentialRole', + 'Initialize-V2024RoleMiningPotentialRoleApplication', + 'ConvertFrom-V2024JsonToRoleMiningPotentialRoleApplication', + 'Initialize-V2024RoleMiningPotentialRoleEditEntitlements', + 'ConvertFrom-V2024JsonToRoleMiningPotentialRoleEditEntitlements', + 'Initialize-V2024RoleMiningPotentialRoleExportRequest', + 'ConvertFrom-V2024JsonToRoleMiningPotentialRoleExportRequest', + 'Initialize-V2024RoleMiningPotentialRoleExportResponse', + 'ConvertFrom-V2024JsonToRoleMiningPotentialRoleExportResponse', + 'Initialize-V2024RoleMiningPotentialRoleProvisionRequest', + 'ConvertFrom-V2024JsonToRoleMiningPotentialRoleProvisionRequest', + 'Initialize-V2024RoleMiningPotentialRoleRef', + 'ConvertFrom-V2024JsonToRoleMiningPotentialRoleRef', + 'Initialize-V2024RoleMiningPotentialRoleSourceUsage', + 'ConvertFrom-V2024JsonToRoleMiningPotentialRoleSourceUsage', + 'Initialize-V2024RoleMiningPotentialRoleSummary', + 'ConvertFrom-V2024JsonToRoleMiningPotentialRoleSummary', + 'ConvertFrom-V2024JsonToRoleMiningPotentialRoleSummaryCreatedBy', + 'Initialize-V2024RoleMiningSessionDraftRoleDto', + 'ConvertFrom-V2024JsonToRoleMiningSessionDraftRoleDto', + 'Initialize-V2024RoleMiningSessionDto', + 'ConvertFrom-V2024JsonToRoleMiningSessionDto', + 'Initialize-V2024RoleMiningSessionParametersDto', + 'ConvertFrom-V2024JsonToRoleMiningSessionParametersDto', + 'Initialize-V2024RoleMiningSessionResponse', + 'ConvertFrom-V2024JsonToRoleMiningSessionResponse', + 'ConvertFrom-V2024JsonToRoleMiningSessionResponseCreatedBy', + 'Initialize-V2024RoleMiningSessionScope', + 'ConvertFrom-V2024JsonToRoleMiningSessionScope', + 'Initialize-V2024RoleMiningSessionStatus', + 'ConvertFrom-V2024JsonToRoleMiningSessionStatus', + 'Initialize-V2024RoleSummary', 'ConvertFrom-V2024JsonToRoleSummary', + 'Initialize-V2024RoleTargetDto', + 'ConvertFrom-V2024JsonToRoleTargetDto', + 'ConvertFrom-V2024JsonToRule', 'Initialize-V2024SavedSearch', + 'ConvertFrom-V2024JsonToSavedSearch', + 'Initialize-V2024SavedSearchComplete', + 'ConvertFrom-V2024JsonToSavedSearchComplete', + 'Initialize-V2024SavedSearchCompleteSearchResults', + 'ConvertFrom-V2024JsonToSavedSearchCompleteSearchResults', + 'Initialize-V2024SavedSearchCompleteSearchResultsAccount', + 'ConvertFrom-V2024JsonToSavedSearchCompleteSearchResultsAccount', + 'Initialize-V2024SavedSearchCompleteSearchResultsEntitlement', + 'ConvertFrom-V2024JsonToSavedSearchCompleteSearchResultsEntitlement', + 'Initialize-V2024SavedSearchCompleteSearchResultsIdentity', + 'ConvertFrom-V2024JsonToSavedSearchCompleteSearchResultsIdentity', + 'Initialize-V2024SavedSearchDetail', + 'ConvertFrom-V2024JsonToSavedSearchDetail', + 'Initialize-V2024SavedSearchDetailFilters', + 'ConvertFrom-V2024JsonToSavedSearchDetailFilters', + 'Initialize-V2024SavedSearchName', + 'ConvertFrom-V2024JsonToSavedSearchName', + 'Initialize-V2024Schedule', 'ConvertFrom-V2024JsonToSchedule', + 'Initialize-V2024Schedule1', 'ConvertFrom-V2024JsonToSchedule1', + 'Initialize-V2024Schedule1Days', + 'ConvertFrom-V2024JsonToSchedule1Days', + 'Initialize-V2024Schedule1Hours', + 'ConvertFrom-V2024JsonToSchedule1Hours', + 'Initialize-V2024Schedule1Months', + 'ConvertFrom-V2024JsonToSchedule1Months', + 'Initialize-V2024ScheduledAttributes', + 'ConvertFrom-V2024JsonToScheduledAttributes', + 'Initialize-V2024ScheduleDays', + 'ConvertFrom-V2024JsonToScheduleDays', + 'Initialize-V2024ScheduledSearch', + 'ConvertFrom-V2024JsonToScheduledSearch', + 'Initialize-V2024ScheduledSearchAllOfOwner', + 'ConvertFrom-V2024JsonToScheduledSearchAllOfOwner', + 'Initialize-V2024ScheduledSearchName', + 'ConvertFrom-V2024JsonToScheduledSearchName', + 'Initialize-V2024ScheduleHours', + 'ConvertFrom-V2024JsonToScheduleHours', + 'Initialize-V2024ScheduleMonths', + 'ConvertFrom-V2024JsonToScheduleMonths', 'Initialize-V2024Schema', + 'ConvertFrom-V2024JsonToSchema', 'Initialize-V2024Search', + 'ConvertFrom-V2024JsonToSearch', + 'Initialize-V2024SearchAggregationSpecification', + 'ConvertFrom-V2024JsonToSearchAggregationSpecification', + 'Initialize-V2024SearchArguments', + 'ConvertFrom-V2024JsonToSearchArguments', + 'Initialize-V2024SearchAttributeConfig', + 'ConvertFrom-V2024JsonToSearchAttributeConfig', + 'Initialize-V2024SearchExportReportArguments', + 'ConvertFrom-V2024JsonToSearchExportReportArguments', + 'Initialize-V2024SearchFormDefinitionsByTenant400Response', + 'ConvertFrom-V2024JsonToSearchFormDefinitionsByTenant400Response', + 'Initialize-V2024SearchSchedule', + 'ConvertFrom-V2024JsonToSearchSchedule', + 'Initialize-V2024SearchScheduleRecipientsInner', + 'ConvertFrom-V2024JsonToSearchScheduleRecipientsInner', + 'Initialize-V2024SectionDetails', + 'ConvertFrom-V2024JsonToSectionDetails', 'Initialize-V2024Sed', + 'ConvertFrom-V2024JsonToSed', 'Initialize-V2024SedApproval', + 'ConvertFrom-V2024JsonToSedApproval', + 'Initialize-V2024SedApprovalStatus', + 'ConvertFrom-V2024JsonToSedApprovalStatus', + 'Initialize-V2024SedAssignee', 'ConvertFrom-V2024JsonToSedAssignee', + 'Initialize-V2024SedAssignment', + 'ConvertFrom-V2024JsonToSedAssignment', + 'Initialize-V2024SedAssignmentResponse', + 'ConvertFrom-V2024JsonToSedAssignmentResponse', + 'Initialize-V2024SedBatchRequest', + 'ConvertFrom-V2024JsonToSedBatchRequest', + 'Initialize-V2024SedBatchResponse', + 'ConvertFrom-V2024JsonToSedBatchResponse', + 'Initialize-V2024SedBatchStats', + 'ConvertFrom-V2024JsonToSedBatchStats', + 'Initialize-V2024SedBatchStatus', + 'ConvertFrom-V2024JsonToSedBatchStatus', 'Initialize-V2024SedPatch', + 'ConvertFrom-V2024JsonToSedPatch', 'Initialize-V2024Segment', + 'ConvertFrom-V2024JsonToSegment', + 'Initialize-V2024SegmentVisibilityCriteria', + 'ConvertFrom-V2024JsonToSegmentVisibilityCriteria', + 'Initialize-V2024Selector', 'ConvertFrom-V2024JsonToSelector', + 'Initialize-V2024SelfImportExportDto', + 'ConvertFrom-V2024JsonToSelfImportExportDto', + 'Initialize-V2024SendTestNotificationRequestDto', + 'ConvertFrom-V2024JsonToSendTestNotificationRequestDto', + 'Initialize-V2024ServiceDeskIntegrationDto', + 'ConvertFrom-V2024JsonToServiceDeskIntegrationDto', + 'Initialize-V2024ServiceDeskIntegrationDto1', + 'ConvertFrom-V2024JsonToServiceDeskIntegrationDto1', + 'Initialize-V2024ServiceDeskIntegrationTemplateDto', + 'ConvertFrom-V2024JsonToServiceDeskIntegrationTemplateDto', + 'Initialize-V2024ServiceDeskIntegrationTemplateType', + 'ConvertFrom-V2024JsonToServiceDeskIntegrationTemplateType', + 'Initialize-V2024ServiceDeskSource', + 'ConvertFrom-V2024JsonToServiceDeskSource', + 'Initialize-V2024SetIcon200Response', + 'ConvertFrom-V2024JsonToSetIcon200Response', + 'Initialize-V2024SetIconRequest', + 'ConvertFrom-V2024JsonToSetIconRequest', + 'Initialize-V2024SetLifecycleState200Response', + 'ConvertFrom-V2024JsonToSetLifecycleState200Response', + 'Initialize-V2024SetLifecycleStateRequest', + 'ConvertFrom-V2024JsonToSetLifecycleStateRequest', + 'Initialize-V2024SimIntegrationDetails', + 'ConvertFrom-V2024JsonToSimIntegrationDetails', + 'Initialize-V2024SimIntegrationDetailsAllOfBeforeProvisioningRule', + 'ConvertFrom-V2024JsonToSimIntegrationDetailsAllOfBeforeProvisioningRule', + 'Initialize-V2024SlimCampaign', + 'ConvertFrom-V2024JsonToSlimCampaign', + 'Initialize-V2024SodExemptCriteria', + 'ConvertFrom-V2024JsonToSodExemptCriteria', + 'Initialize-V2024SodPolicy', 'ConvertFrom-V2024JsonToSodPolicy', + 'Initialize-V2024SodPolicyConflictingAccessCriteria', + 'ConvertFrom-V2024JsonToSodPolicyConflictingAccessCriteria', + 'Initialize-V2024SodPolicyDto', + 'ConvertFrom-V2024JsonToSodPolicyDto', + 'Initialize-V2024SodPolicyOwnerRef', + 'ConvertFrom-V2024JsonToSodPolicyOwnerRef', + 'Initialize-V2024SodPolicySchedule', + 'ConvertFrom-V2024JsonToSodPolicySchedule', + 'Initialize-V2024SodRecipient', + 'ConvertFrom-V2024JsonToSodRecipient', + 'Initialize-V2024SodReportResultDto', + 'ConvertFrom-V2024JsonToSodReportResultDto', + 'Initialize-V2024SodViolationCheck', + 'ConvertFrom-V2024JsonToSodViolationCheck', + 'Initialize-V2024SodViolationCheckResult', + 'ConvertFrom-V2024JsonToSodViolationCheckResult', + 'Initialize-V2024SodViolationContext', + 'ConvertFrom-V2024JsonToSodViolationContext', + 'Initialize-V2024SodViolationContextCheckCompleted', + 'ConvertFrom-V2024JsonToSodViolationContextCheckCompleted', + 'Initialize-V2024SodViolationContextConflictingAccessCriteria', + 'ConvertFrom-V2024JsonToSodViolationContextConflictingAccessCriteria', + 'Initialize-V2024SodViolationContextConflictingAccessCriteriaLeftCriteria', + 'ConvertFrom-V2024JsonToSodViolationContextConflictingAccessCriteriaLeftCriteria', + 'Initialize-V2024Source', 'ConvertFrom-V2024JsonToSource', + 'Initialize-V2024Source1', 'ConvertFrom-V2024JsonToSource1', + 'Initialize-V2024SourceAccountCorrelationConfig', + 'ConvertFrom-V2024JsonToSourceAccountCorrelationConfig', + 'Initialize-V2024SourceAccountCorrelationRule', + 'ConvertFrom-V2024JsonToSourceAccountCorrelationRule', + 'Initialize-V2024SourceAccountCreated', + 'ConvertFrom-V2024JsonToSourceAccountCreated', + 'Initialize-V2024SourceAccountDeleted', + 'ConvertFrom-V2024JsonToSourceAccountDeleted', + 'Initialize-V2024SourceAccountUpdated', + 'ConvertFrom-V2024JsonToSourceAccountUpdated', + 'Initialize-V2024SourceBeforeProvisioningRule', + 'ConvertFrom-V2024JsonToSourceBeforeProvisioningRule', + 'Initialize-V2024SourceCluster', + 'ConvertFrom-V2024JsonToSourceCluster', + 'Initialize-V2024SourceClusterDto', + 'ConvertFrom-V2024JsonToSourceClusterDto', + 'Initialize-V2024SourceCode', 'ConvertFrom-V2024JsonToSourceCode', + 'Initialize-V2024SourceCreated', + 'ConvertFrom-V2024JsonToSourceCreated', + 'Initialize-V2024SourceCreatedActor', + 'ConvertFrom-V2024JsonToSourceCreatedActor', + 'Initialize-V2024SourceDeleted', + 'ConvertFrom-V2024JsonToSourceDeleted', + 'Initialize-V2024SourceDeletedActor', + 'ConvertFrom-V2024JsonToSourceDeletedActor', + 'Initialize-V2024SourceEntitlementRequestConfig', + 'ConvertFrom-V2024JsonToSourceEntitlementRequestConfig', + 'Initialize-V2024SourceHealthDto', + 'ConvertFrom-V2024JsonToSourceHealthDto', + 'Initialize-V2024SourceManagementWorkgroup', + 'ConvertFrom-V2024JsonToSourceManagementWorkgroup', + 'Initialize-V2024SourceManagerCorrelationMapping', + 'ConvertFrom-V2024JsonToSourceManagerCorrelationMapping', + 'Initialize-V2024SourceManagerCorrelationRule', + 'ConvertFrom-V2024JsonToSourceManagerCorrelationRule', + 'Initialize-V2024SourceOwner', 'ConvertFrom-V2024JsonToSourceOwner', + 'Initialize-V2024SourcePasswordPoliciesInner', + 'ConvertFrom-V2024JsonToSourcePasswordPoliciesInner', + 'Initialize-V2024SourceSchemasInner', + 'ConvertFrom-V2024JsonToSourceSchemasInner', + 'Initialize-V2024SourceSyncJob', + 'ConvertFrom-V2024JsonToSourceSyncJob', + 'Initialize-V2024SourceSyncPayload', + 'ConvertFrom-V2024JsonToSourceSyncPayload', + 'Initialize-V2024SourceUpdated', + 'ConvertFrom-V2024JsonToSourceUpdated', + 'Initialize-V2024SourceUpdatedActor', + 'ConvertFrom-V2024JsonToSourceUpdatedActor', + 'Initialize-V2024SourceUsage', 'ConvertFrom-V2024JsonToSourceUsage', + 'Initialize-V2024SourceUsageStatus', + 'ConvertFrom-V2024JsonToSourceUsageStatus', + 'Initialize-V2024SpConfigExportJob', + 'ConvertFrom-V2024JsonToSpConfigExportJob', + 'Initialize-V2024SpConfigExportJobStatus', + 'ConvertFrom-V2024JsonToSpConfigExportJobStatus', + 'Initialize-V2024SpConfigExportResults', + 'ConvertFrom-V2024JsonToSpConfigExportResults', + 'Initialize-V2024SpConfigImportJobStatus', + 'ConvertFrom-V2024JsonToSpConfigImportJobStatus', + 'Initialize-V2024SpConfigImportResults', + 'ConvertFrom-V2024JsonToSpConfigImportResults', + 'Initialize-V2024SpConfigJob', 'ConvertFrom-V2024JsonToSpConfigJob', + 'Initialize-V2024SpConfigMessage', + 'ConvertFrom-V2024JsonToSpConfigMessage', + 'Initialize-V2024SpConfigMessage1', + 'ConvertFrom-V2024JsonToSpConfigMessage1', + 'Initialize-V2024SpConfigObject', + 'ConvertFrom-V2024JsonToSpConfigObject', + 'Initialize-V2024SpConfigUrl', 'ConvertFrom-V2024JsonToSpConfigUrl', + 'Initialize-V2024Split', 'ConvertFrom-V2024JsonToSplit', + 'Initialize-V2024StartInvocationInput', + 'ConvertFrom-V2024JsonToStartInvocationInput', + 'Initialize-V2024Static', 'ConvertFrom-V2024JsonToStatic', + 'Initialize-V2024StatusResponse', + 'ConvertFrom-V2024JsonToStatusResponse', + 'Initialize-V2024Subscription', + 'ConvertFrom-V2024JsonToSubscription', + 'Initialize-V2024SubscriptionPatchRequestInner', + 'ConvertFrom-V2024JsonToSubscriptionPatchRequestInner', + 'ConvertFrom-V2024JsonToSubscriptionPatchRequestInnerValue', + 'ConvertFrom-V2024JsonToSubscriptionPatchRequestInnerValueAnyOfInner', + 'Initialize-V2024SubscriptionPostRequest', + 'ConvertFrom-V2024JsonToSubscriptionPostRequest', + 'Initialize-V2024SubscriptionPutRequest', + 'ConvertFrom-V2024JsonToSubscriptionPutRequest', + 'Initialize-V2024SubSearchAggregationSpecification', + 'ConvertFrom-V2024JsonToSubSearchAggregationSpecification', + 'Initialize-V2024Substring', 'ConvertFrom-V2024JsonToSubstring', + 'Initialize-V2024TaggedObject', + 'ConvertFrom-V2024JsonToTaggedObject', + 'Initialize-V2024TaggedObjectDto', + 'ConvertFrom-V2024JsonToTaggedObjectDto', 'Initialize-V2024Target', + 'ConvertFrom-V2024JsonToTarget', + 'Initialize-V2024TaskDefinitionSummary', + 'ConvertFrom-V2024JsonToTaskDefinitionSummary', + 'Initialize-V2024TaskResultDetails', + 'ConvertFrom-V2024JsonToTaskResultDetails', + 'Initialize-V2024TaskResultDetailsMessagesInner', + 'ConvertFrom-V2024JsonToTaskResultDetailsMessagesInner', + 'Initialize-V2024TaskResultDetailsReturnsInner', + 'ConvertFrom-V2024JsonToTaskResultDetailsReturnsInner', + 'Initialize-V2024TaskResultDto', + 'ConvertFrom-V2024JsonToTaskResultDto', + 'Initialize-V2024TaskResultResponse', + 'ConvertFrom-V2024JsonToTaskResultResponse', + 'Initialize-V2024TaskResultSimplified', + 'ConvertFrom-V2024JsonToTaskResultSimplified', + 'Initialize-V2024TaskReturnDetails', + 'ConvertFrom-V2024JsonToTaskReturnDetails', + 'Initialize-V2024TaskStatus', 'ConvertFrom-V2024JsonToTaskStatus', + 'Initialize-V2024TaskStatusMessage', + 'ConvertFrom-V2024JsonToTaskStatusMessage', + 'Initialize-V2024TemplateBulkDeleteDto', + 'ConvertFrom-V2024JsonToTemplateBulkDeleteDto', + 'Initialize-V2024TemplateDto', 'ConvertFrom-V2024JsonToTemplateDto', + 'Initialize-V2024TemplateDtoDefault', + 'ConvertFrom-V2024JsonToTemplateDtoDefault', + 'Initialize-V2024TemplateSlack', + 'ConvertFrom-V2024JsonToTemplateSlack', + 'Initialize-V2024TemplateSlackAutoApprovalData', + 'ConvertFrom-V2024JsonToTemplateSlackAutoApprovalData', + 'Initialize-V2024TemplateSlackCustomFields', + 'ConvertFrom-V2024JsonToTemplateSlackCustomFields', + 'Initialize-V2024TemplateTeams', + 'ConvertFrom-V2024JsonToTemplateTeams', 'Initialize-V2024Tenant', + 'ConvertFrom-V2024JsonToTenant', + 'Initialize-V2024TenantConfigurationDetails', + 'ConvertFrom-V2024JsonToTenantConfigurationDetails', + 'Initialize-V2024TenantConfigurationRequest', + 'ConvertFrom-V2024JsonToTenantConfigurationRequest', + 'Initialize-V2024TenantConfigurationResponse', + 'ConvertFrom-V2024JsonToTenantConfigurationResponse', + 'Initialize-V2024TenantUiMetadataItemResponse', + 'ConvertFrom-V2024JsonToTenantUiMetadataItemResponse', + 'Initialize-V2024TenantUiMetadataItemUpdateRequest', + 'ConvertFrom-V2024JsonToTenantUiMetadataItemUpdateRequest', + 'Initialize-V2024TestExternalExecuteWorkflow200Response', + 'ConvertFrom-V2024JsonToTestExternalExecuteWorkflow200Response', + 'Initialize-V2024TestExternalExecuteWorkflowRequest', + 'ConvertFrom-V2024JsonToTestExternalExecuteWorkflowRequest', + 'Initialize-V2024TestInvocation', + 'ConvertFrom-V2024JsonToTestInvocation', + 'Initialize-V2024TestWorkflow200Response', + 'ConvertFrom-V2024JsonToTestWorkflow200Response', + 'Initialize-V2024TestWorkflowRequest', + 'ConvertFrom-V2024JsonToTestWorkflowRequest', + 'Initialize-V2024TextQuery', 'ConvertFrom-V2024JsonToTextQuery', + 'Initialize-V2024Transform', 'ConvertFrom-V2024JsonToTransform', + 'ConvertFrom-V2024JsonToTransformAttributes', + 'Initialize-V2024TransformDefinition', + 'ConvertFrom-V2024JsonToTransformDefinition', + 'ConvertFrom-V2024JsonToTransformDefinitionAttributesValue', + 'Initialize-V2024TransformRead', + 'ConvertFrom-V2024JsonToTransformRead', + 'Initialize-V2024TransformRule', + 'ConvertFrom-V2024JsonToTransformRule', + 'Initialize-V2024TranslationMessage', + 'ConvertFrom-V2024JsonToTranslationMessage', + 'Initialize-V2024Trigger', 'ConvertFrom-V2024JsonToTrigger', + 'ConvertFrom-V2024JsonToTriggerExampleInput', + 'ConvertFrom-V2024JsonToTriggerExampleOutput', + 'Initialize-V2024Trim', 'ConvertFrom-V2024JsonToTrim', + 'Initialize-V2024TypeAheadQuery', + 'ConvertFrom-V2024JsonToTypeAheadQuery', + 'Initialize-V2024TypedReference', + 'ConvertFrom-V2024JsonToTypedReference', + 'Initialize-V2024UpdateAccessProfilesInBulk412Response', + 'ConvertFrom-V2024JsonToUpdateAccessProfilesInBulk412Response', + 'Initialize-V2024UpdateDetail', + 'ConvertFrom-V2024JsonToUpdateDetail', + 'Initialize-V2024UploadsRequest', + 'ConvertFrom-V2024JsonToUploadsRequest', + 'Initialize-V2024UploadsResponse', + 'ConvertFrom-V2024JsonToUploadsResponse', 'Initialize-V2024Upper', + 'ConvertFrom-V2024JsonToUpper', 'Initialize-V2024UUIDGenerator', + 'ConvertFrom-V2024JsonToUUIDGenerator', + 'Initialize-V2024V3ConnectorDto', + 'ConvertFrom-V2024JsonToV3ConnectorDto', + 'Initialize-V2024V3CreateConnectorDto', + 'ConvertFrom-V2024JsonToV3CreateConnectorDto', + 'Initialize-V2024VAClusterStatusChangeEvent', + 'ConvertFrom-V2024JsonToVAClusterStatusChangeEvent', + 'Initialize-V2024VAClusterStatusChangeEventApplication', + 'ConvertFrom-V2024JsonToVAClusterStatusChangeEventApplication', + 'Initialize-V2024VAClusterStatusChangeEventHealthCheckResult', + 'ConvertFrom-V2024JsonToVAClusterStatusChangeEventHealthCheckResult', + 'Initialize-V2024VAClusterStatusChangeEventPreviousHealthCheckResult', + 'ConvertFrom-V2024JsonToVAClusterStatusChangeEventPreviousHealthCheckResult', + 'Initialize-V2024ValidateFilterInputDto', + 'ConvertFrom-V2024JsonToValidateFilterInputDto', + 'Initialize-V2024ValidateFilterOutputDto', + 'ConvertFrom-V2024JsonToValidateFilterOutputDto', + 'Initialize-V2024Value', 'ConvertFrom-V2024JsonToValue', + 'Initialize-V2024VendorConnectorMapping', + 'ConvertFrom-V2024JsonToVendorConnectorMapping', + 'Initialize-V2024VendorConnectorMappingDeletedAt', + 'ConvertFrom-V2024JsonToVendorConnectorMappingDeletedAt', + 'Initialize-V2024VendorConnectorMappingDeletedBy', + 'ConvertFrom-V2024JsonToVendorConnectorMappingDeletedBy', + 'Initialize-V2024VendorConnectorMappingUpdatedAt', + 'ConvertFrom-V2024JsonToVendorConnectorMappingUpdatedAt', + 'Initialize-V2024VendorConnectorMappingUpdatedBy', + 'ConvertFrom-V2024JsonToVendorConnectorMappingUpdatedBy', + 'Initialize-V2024ViolationContext', + 'ConvertFrom-V2024JsonToViolationContext', + 'Initialize-V2024ViolationContextPolicy', + 'ConvertFrom-V2024JsonToViolationContextPolicy', + 'Initialize-V2024ViolationOwnerAssignmentConfig', + 'ConvertFrom-V2024JsonToViolationOwnerAssignmentConfig', + 'Initialize-V2024ViolationOwnerAssignmentConfigOwnerRef', + 'ConvertFrom-V2024JsonToViolationOwnerAssignmentConfigOwnerRef', + 'Initialize-V2024ViolationPrediction', + 'ConvertFrom-V2024JsonToViolationPrediction', + 'Initialize-V2024VisibilityCriteria', + 'ConvertFrom-V2024JsonToVisibilityCriteria', + 'Initialize-V2024Workflow', 'ConvertFrom-V2024JsonToWorkflow', + 'Initialize-V2024WorkflowAllOfCreator', + 'ConvertFrom-V2024JsonToWorkflowAllOfCreator', + 'Initialize-V2024WorkflowBody', + 'ConvertFrom-V2024JsonToWorkflowBody', + 'Initialize-V2024WorkflowBodyOwner', + 'ConvertFrom-V2024JsonToWorkflowBodyOwner', + 'Initialize-V2024WorkflowDefinition', + 'ConvertFrom-V2024JsonToWorkflowDefinition', + 'Initialize-V2024WorkflowExecution', + 'ConvertFrom-V2024JsonToWorkflowExecution', + 'Initialize-V2024WorkflowExecutionEvent', + 'ConvertFrom-V2024JsonToWorkflowExecutionEvent', + 'Initialize-V2024WorkflowLibraryAction', + 'ConvertFrom-V2024JsonToWorkflowLibraryAction', + 'ConvertFrom-V2024JsonToWorkflowLibraryActionExampleOutput', + 'Initialize-V2024WorkflowLibraryFormFields', + 'ConvertFrom-V2024JsonToWorkflowLibraryFormFields', + 'Initialize-V2024WorkflowLibraryOperator', + 'ConvertFrom-V2024JsonToWorkflowLibraryOperator', + 'Initialize-V2024WorkflowLibraryTrigger', + 'ConvertFrom-V2024JsonToWorkflowLibraryTrigger', + 'Initialize-V2024WorkflowModifiedBy', + 'ConvertFrom-V2024JsonToWorkflowModifiedBy', + 'Initialize-V2024WorkflowOAuthClient', + 'ConvertFrom-V2024JsonToWorkflowOAuthClient', + 'Initialize-V2024WorkflowTrigger', + 'ConvertFrom-V2024JsonToWorkflowTrigger', + 'ConvertFrom-V2024JsonToWorkflowTriggerAttributes', + 'Initialize-V2024WorkgroupBulkDeleteRequest', + 'ConvertFrom-V2024JsonToWorkgroupBulkDeleteRequest', + 'Initialize-V2024WorkgroupConnectionDto', + 'ConvertFrom-V2024JsonToWorkgroupConnectionDto', + 'Initialize-V2024WorkgroupDeleteItem', + 'ConvertFrom-V2024JsonToWorkgroupDeleteItem', + 'Initialize-V2024WorkgroupDto', + 'ConvertFrom-V2024JsonToWorkgroupDto', + 'Initialize-V2024WorkgroupDtoOwner', + 'ConvertFrom-V2024JsonToWorkgroupDtoOwner', + 'Initialize-V2024WorkgroupMemberAddItem', + 'ConvertFrom-V2024JsonToWorkgroupMemberAddItem', + 'Initialize-V2024WorkgroupMemberDeleteItem', + 'ConvertFrom-V2024JsonToWorkgroupMemberDeleteItem', + 'Initialize-V2024WorkItemForward', + 'ConvertFrom-V2024JsonToWorkItemForward', + 'Initialize-V2024WorkItems', 'ConvertFrom-V2024JsonToWorkItems', + 'Initialize-V2024WorkItemsCount', + 'ConvertFrom-V2024JsonToWorkItemsCount', + 'Initialize-V2024WorkItemsForm', + 'ConvertFrom-V2024JsonToWorkItemsForm', + 'Initialize-V2024WorkItemsSummary', + 'ConvertFrom-V2024JsonToWorkItemsSummary', 'Get-V2024Configuration', + 'Set-V2024Configuration', 'Set-V2024ConfigurationApiKey', + 'Set-V2024ConfigurationApiKeyPrefix', + 'Set-V2024ConfigurationDefaultHeader', 'Get-V2024HostSetting', + 'Get-V2024UrlFromHostSetting', 'Set-V2024ConfigurationHttpSigning', + 'Get-V2024ConfigurationHttpSigning', 'Get-FunctionsToExport', 'Get-DefaultConfiguration', 'Set-DefaultConfiguration', 'Get-IDNAccessToken', 'Get-EnvConfig', 'Get-LocalConfig', 'Get-Config', 'Invoke-Paginate', 'Invoke-PaginateSearch' diff --git a/PSSailpoint/PSSailpoint.psm1 b/PSSailpoint/PSSailpoint.psm1 index 7f6cddab2..3daffd525 100644 --- a/PSSailpoint/PSSailpoint.psm1 +++ b/PSSailpoint/PSSailpoint.psm1 @@ -35,7 +35,12 @@ $BetaClient = @( Get-ChildItem -Path "$PSScriptRoot\beta\src\PSSailpointBeta\Cli $BetaModel = @( Get-ChildItem -Path "$PSScriptRoot\beta\src\PSSailpointBeta\Model\*.ps1" ) $BetaPrivate = @( Get-ChildItem -Path "$PSScriptRoot\beta\src\PSSailpointBeta\Private\*.ps1" ) -Foreach ($import in @($V3API + $V3Client + $V3Model + $V3Private + $BetaAPI + $BetaClient + $BetaModel + $BetaPrivate)) { +$V2024API = @( Get-ChildItem -Path "$PSScriptRoot\v2024\src\PSSailpointV2024\Api\*.ps1") +$V2024Client = @( Get-ChildItem -Path "$PSScriptRoot\v2024\src\PSSailpointV2024\Client\*.ps1" ) +$V2024Model = @( Get-ChildItem -Path "$PSScriptRoot\v2024\src\PSSailpointV2024\Model\*.ps1" ) +$V2024Private = @( Get-ChildItem -Path "$PSScriptRoot\v2024\src\PSSailpointV2024\Private\*.ps1" ) + +Foreach ($import in @($V3API + $V3Client + $V3Model + $V3Private + $BetaAPI + $BetaClient + $BetaModel + $BetaPrivate + $V2024API + $V2024Client + $V2024Model + $V2024Private)) { Try { . $import.fullname } diff --git a/PSSailpoint/beta/docs/AccountUsage.md b/PSSailpoint/beta/docs/AccountUsage.md index 415f1b982..4ce327561 100644 --- a/PSSailpoint/beta/docs/AccountUsage.md +++ b/PSSailpoint/beta/docs/AccountUsage.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes - Prepare the resource ```powershell -$AccountUsage = Initialize-PSSailpointBetaAccountUsage -Date Fri Apr 21 00:00:00 UTC 2023 ` +$AccountUsage = Initialize-PSSailpointBetaAccountUsage -Date Thu Apr 20 20:00:00 EDT 2023 ` -Count 10 ``` diff --git a/PSSailpoint/beta/docs/NonEmployeeRequestWithoutApprovalItem.md b/PSSailpoint/beta/docs/NonEmployeeRequestWithoutApprovalItem.md index 8e9317990..15d94c3cd 100644 --- a/PSSailpoint/beta/docs/NonEmployeeRequestWithoutApprovalItem.md +++ b/PSSailpoint/beta/docs/NonEmployeeRequestWithoutApprovalItem.md @@ -38,8 +38,8 @@ $NonEmployeeRequestWithoutApprovalItem = Initialize-PSSailpointBetaNonEmployeeRe -ApprovalStatus null ` -Comment null ` -CompletionDate 2020-03-24T11:11:41.139-05:00 ` - -StartDate Tue Mar 24 00:00:00 UTC 2020 ` - -EndDate Thu Mar 25 00:00:00 UTC 2021 ` + -StartDate Mon Mar 23 20:00:00 EDT 2020 ` + -EndDate Wed Mar 24 20:00:00 EDT 2021 ` -Modified 2020-03-24T11:11:41.139-05:00 ` -Created 2020-03-24T11:11:41.139-05:00 ``` diff --git a/PSSailpoint/beta/docs/SourceUsage.md b/PSSailpoint/beta/docs/SourceUsage.md index f6fa4eea3..a342dc212 100644 --- a/PSSailpoint/beta/docs/SourceUsage.md +++ b/PSSailpoint/beta/docs/SourceUsage.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes - Prepare the resource ```powershell -$SourceUsage = Initialize-PSSailpointBetaSourceUsage -Date Fri Apr 21 00:00:00 UTC 2023 ` +$SourceUsage = Initialize-PSSailpointBetaSourceUsage -Date Thu Apr 20 20:00:00 EDT 2023 ` -Count 10.45 ``` diff --git a/PSSailpoint/tests/Validation.Tests.ps1 b/PSSailpoint/tests/Validation.Tests.ps1 index 0690f1105..e23a5363c 100644 --- a/PSSailpoint/tests/Validation.Tests.ps1 +++ b/PSSailpoint/tests/Validation.Tests.ps1 @@ -93,3 +93,16 @@ Describe 'Beta' { } +Set-DefaultConfiguration -Experimental $True + +Describe 'V2024' { + It 'Returns results for Get-V2024Identities' { + $Response = Get-V2024Identities -WithHttpInfo + + $Response.Response | Should -Not -BeNullOrEmpty + $Response.StatusCode | Should -Be 200 + + } + +} + diff --git a/PSSailpoint/v2024/.openapi-generator-ignore b/PSSailpoint/v2024/.openapi-generator-ignore new file mode 100644 index 000000000..7484ee590 --- /dev/null +++ b/PSSailpoint/v2024/.openapi-generator-ignore @@ -0,0 +1,23 @@ +# OpenAPI Generator Ignore +# Generated by openapi-generator https://github.com/openapitools/openapi-generator + +# Use this file to prevent files from being overwritten by the generator. +# The patterns follow closely to .gitignore or .dockerignore. + +# As an example, the C# client generator defines ApiClient.cs. +# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line: +#ApiClient.cs + +# You can match any string of characters against a directory, file or extension with a single asterisk (*): +#foo/*/qux +# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux + +# You can recursively match patterns against a directory, file or extension with a double asterisk (**): +#foo/**/qux +# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux + +# You can also negate patterns with an exclamation (!). +# For example, you can ignore all files in a docs folder with the file extension .md: +#docs/*.md +# Then explicitly reverse the ignore rule for a single file: +#!docs/README.md diff --git a/PSSailpoint/v2024/.openapi-generator/FILES b/PSSailpoint/v2024/.openapi-generator/FILES new file mode 100644 index 000000000..d3e6c65c7 --- /dev/null +++ b/PSSailpoint/v2024/.openapi-generator/FILES @@ -0,0 +1,3261 @@ +.openapi-generator-ignore +Build.ps1 +README.md +appveyor.yml +docs/Access.md +docs/AccessConstraint.md +docs/AccessCriteria.md +docs/AccessCriteriaCriteriaListInner.md +docs/AccessItemAccessProfileResponse.md +docs/AccessItemAccountResponse.md +docs/AccessItemAppResponse.md +docs/AccessItemApproverDto.md +docs/AccessItemAssociated.md +docs/AccessItemAssociatedAccessItem.md +docs/AccessItemDiff.md +docs/AccessItemEntitlementResponse.md +docs/AccessItemRef.md +docs/AccessItemRemoved.md +docs/AccessItemRequestedFor.md +docs/AccessItemRequestedForDto.md +docs/AccessItemRequester.md +docs/AccessItemRequesterDto.md +docs/AccessItemReviewedBy.md +docs/AccessItemRoleResponse.md +docs/AccessProfile.md +docs/AccessProfileApprovalScheme.md +docs/AccessProfileBulkDeleteRequest.md +docs/AccessProfileBulkDeleteResponse.md +docs/AccessProfileBulkUpdateRequestInner.md +docs/AccessProfileDocument.md +docs/AccessProfileDocumentAllOfSource.md +docs/AccessProfileEntitlement.md +docs/AccessProfileRef.md +docs/AccessProfileRole.md +docs/AccessProfileSourceRef.md +docs/AccessProfileSummary.md +docs/AccessProfileUpdateItem.md +docs/AccessProfileUsage.md +docs/AccessProfileUsageUsedByInner.md +docs/AccessRecommendationMessage.md +docs/AccessRequest.md +docs/AccessRequestConfig.md +docs/AccessRequestContext.md +docs/AccessRequestDynamicApprover.md +docs/AccessRequestDynamicApprover1.md +docs/AccessRequestDynamicApproverRequestedItemsInner.md +docs/AccessRequestItem.md +docs/AccessRequestItemResponse.md +docs/AccessRequestPhases.md +docs/AccessRequestPostApproval.md +docs/AccessRequestPostApprovalRequestedItemsStatusInner.md +docs/AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInner.md +docs/AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInnerApprover.md +docs/AccessRequestPreApproval.md +docs/AccessRequestPreApproval1.md +docs/AccessRequestPreApprovalRequestedItemsInner.md +docs/AccessRequestRecommendationActionItemDto.md +docs/AccessRequestRecommendationActionItemResponseDto.md +docs/AccessRequestRecommendationItem.md +docs/AccessRequestRecommendationItemDetail.md +docs/AccessRequestRecommendationItemDetailAccess.md +docs/AccessRequestRecommendationItemType.md +docs/AccessRequestResponse.md +docs/AccessRequestType.md +docs/AccessRequested.md +docs/AccessReviewItem.md +docs/AccessReviewReassignment.md +docs/AccessSummary.md +docs/AccessSummaryAccess.md +docs/AccessType.md +docs/Account.md +docs/AccountAction.md +docs/AccountActivity.md +docs/AccountActivityApprovalStatus.md +docs/AccountActivityDocument.md +docs/AccountActivityItem.md +docs/AccountActivityItemOperation.md +docs/AccountActivitySearchedItem.md +docs/AccountAggregationCompleted.md +docs/AccountAggregationCompletedSource.md +docs/AccountAggregationCompletedStats.md +docs/AccountAggregationStatus.md +docs/AccountAllOfOwnerGroup.md +docs/AccountAllOfOwnerIdentity.md +docs/AccountAllOfSourceOwner.md +docs/AccountAttribute.md +docs/AccountAttributes.md +docs/AccountAttributesChanged.md +docs/AccountAttributesChangedAccount.md +docs/AccountAttributesChangedChangesInner.md +docs/AccountAttributesChangedChangesInnerNewValue.md +docs/AccountAttributesChangedChangesInnerOldValue.md +docs/AccountAttributesChangedIdentity.md +docs/AccountAttributesChangedSource.md +docs/AccountAttributesCreate.md +docs/AccountAttributesCreateAttributes.md +docs/AccountCorrelated.md +docs/AccountCorrelatedAccount.md +docs/AccountCorrelatedIdentity.md +docs/AccountCorrelatedSource.md +docs/AccountInfoDto.md +docs/AccountRequest.md +docs/AccountRequestInfo.md +docs/AccountRequestResult.md +docs/AccountSource.md +docs/AccountStatusChanged.md +docs/AccountStatusChangedAccount.md +docs/AccountStatusChangedStatusChange.md +docs/AccountToggleRequest.md +docs/AccountUncorrelated.md +docs/AccountUncorrelatedAccount.md +docs/AccountUncorrelatedIdentity.md +docs/AccountUncorrelatedSource.md +docs/AccountUnlockRequest.md +docs/AccountUsage.md +docs/AccountsAsyncResult.md +docs/AccountsCollectedForAggregation.md +docs/AccountsCollectedForAggregationSource.md +docs/AccountsCollectedForAggregationStats.md +docs/AccountsExportReportArguments.md +docs/ActivateCampaignOptions.md +docs/ActivityInsights.md +docs/AdminReviewReassign.md +docs/AdminReviewReassignReassignTo.md +docs/AggregationResult.md +docs/AggregationType.md +docs/Aggregations.md +docs/App.md +docs/AppAllOfAccount.md +docs/Approval.md +docs/Approval1.md +docs/ApprovalBatch.md +docs/ApprovalComment.md +docs/ApprovalComment1.md +docs/ApprovalDescription.md +docs/ApprovalDto.md +docs/ApprovalForwardHistory.md +docs/ApprovalIdentity.md +docs/ApprovalInfoResponse.md +docs/ApprovalItemDetails.md +docs/ApprovalItems.md +docs/ApprovalName.md +docs/ApprovalReference.md +docs/ApprovalReminderAndEscalationConfig.md +docs/ApprovalScheme.md +docs/ApprovalSchemeForRole.md +docs/ApprovalStatus.md +docs/ApprovalStatusDto.md +docs/ApprovalStatusDtoCurrentOwner.md +docs/ApprovalStatusDtoOriginalOwner.md +docs/ApprovalSummary.md +docs/Argument.md +docs/ArrayInner.md +docs/AssignmentContextDto.md +docs/AttrSyncSource.md +docs/AttrSyncSourceAttributeConfig.md +docs/AttrSyncSourceConfig.md +docs/AttributeChange.md +docs/AttributeDTO.md +docs/AttributeDTOList.md +docs/AttributeDefinition.md +docs/AttributeDefinitionSchema.md +docs/AttributeDefinitionType.md +docs/AttributeRequest.md +docs/AttributeValueDTO.md +docs/AttributesChanged.md +docs/AuditDetails.md +docs/AuthProfile.md +docs/AuthProfileSummary.md +docs/AuthUser.md +docs/Base64Decode.md +docs/Base64Encode.md +docs/BaseAccess.md +docs/BaseAccessAllOfOwner.md +docs/BaseAccessProfile.md +docs/BaseAccount.md +docs/BaseCommonDto.md +docs/BaseCommonDto1.md +docs/BaseDocument.md +docs/BaseEntitlement.md +docs/BaseReferenceDto.md +docs/BaseReferenceDto1.md +docs/BaseSegment.md +docs/BasicAuthConfig.md +docs/BearerTokenAuthConfig.md +docs/BeforeProvisioningRuleDto.md +docs/Bound.md +docs/BrandingItem.md +docs/BrandingItemCreate.md +docs/BucketAggregation.md +docs/BucketType.md +docs/BulkAddTaggedObject.md +docs/BulkIdentitiesAccountsResponse.md +docs/BulkRemoveTaggedObject.md +docs/BulkTaggedObjectResponse.md +docs/Campaign.md +docs/CampaignActivated.md +docs/CampaignActivatedCampaign.md +docs/CampaignActivatedCampaignCampaignOwner.md +docs/CampaignAlert.md +docs/CampaignAllOfFilter.md +docs/CampaignAllOfRoleCompositionCampaignInfo.md +docs/CampaignAllOfRoleCompositionCampaignInfoRemediatorRef.md +docs/CampaignAllOfSearchCampaignInfo.md +docs/CampaignAllOfSearchCampaignInfoReviewer.md +docs/CampaignAllOfSourceOwnerCampaignInfo.md +docs/CampaignAllOfSourcesWithOrphanEntitlements.md +docs/CampaignCompleteOptions.md +docs/CampaignEnded.md +docs/CampaignEndedCampaign.md +docs/CampaignFilterDetails.md +docs/CampaignFilterDetailsCriteriaListInner.md +docs/CampaignGenerated.md +docs/CampaignGeneratedCampaign.md +docs/CampaignGeneratedCampaignCampaignOwner.md +docs/CampaignReference.md +docs/CampaignReport.md +docs/CampaignReportsConfig.md +docs/CampaignTemplate.md +docs/CampaignTemplateOwnerRef.md +docs/CampaignsDeleteRequest.md +docs/CancelAccessRequest.md +docs/CancelledRequestDetails.md +docs/Certification.md +docs/CertificationDecision.md +docs/CertificationDto.md +docs/CertificationIdentitySummary.md +docs/CertificationPhase.md +docs/CertificationReference.md +docs/CertificationReference1.md +docs/CertificationReferenceDto.md +docs/CertificationSignedOff.md +docs/CertificationSignedOffCertification.md +docs/CertificationTask.md +docs/CertifierResponse.md +docs/ClientLogConfiguration.md +docs/ClientType.md +docs/CloseAccessRequest.md +docs/Column.md +docs/Comment.md +docs/CommentDto.md +docs/CommentDtoAuthor.md +docs/CommonAccessIDStatus.md +docs/CommonAccessItemAccess.md +docs/CommonAccessItemRequest.md +docs/CommonAccessItemResponse.md +docs/CommonAccessItemState.md +docs/CommonAccessResponse.md +docs/CommonAccessType.md +docs/CompleteInvocation.md +docs/CompleteInvocationInput.md +docs/CompletedApproval.md +docs/CompletedApprovalPreApprovalTriggerResult.md +docs/CompletedApprovalRequesterComment.md +docs/CompletedApprovalReviewerComment.md +docs/CompletedApprovalState.md +docs/CompletionStatus.md +docs/Concatenation.md +docs/ConditionEffect.md +docs/ConditionEffectConfig.md +docs/ConditionRule.md +docs/Conditional.md +docs/ConfigObject.md +docs/ConfigType.md +docs/ConfigTypeEnum.md +docs/ConfigTypeEnumCamel.md +docs/ConfigurationDetailsResponse.md +docs/ConfigurationItemRequest.md +docs/ConfigurationItemResponse.md +docs/ConfigurationResponse.md +docs/ConflictingAccessCriteria.md +docs/ConnectedObject.md +docs/ConnectedObjectType.md +docs/ConnectorDetail.md +docs/ConnectorDetail1.md +docs/ConnectorRuleCreateRequest.md +docs/ConnectorRuleCreateRequestSignature.md +docs/ConnectorRuleResponse.md +docs/ConnectorRuleUpdateRequest.md +docs/ConnectorRuleValidationResponse.md +docs/ConnectorRuleValidationResponseDetailsInner.md +docs/ContextAttributeDto.md +docs/ContextAttributeDtoValue.md +docs/CorrelatedGovernanceEvent.md +docs/CreateDomainDkim405Response.md +docs/CreateExternalExecuteWorkflow200Response.md +docs/CreateExternalExecuteWorkflowRequest.md +docs/CreateFormDefinitionFileRequestRequest.md +docs/CreateFormDefinitionRequest.md +docs/CreateFormInstanceRequest.md +docs/CreateOAuthClientRequest.md +docs/CreateOAuthClientResponse.md +docs/CreatePersonalAccessTokenRequest.md +docs/CreatePersonalAccessTokenResponse.md +docs/CreateSavedSearchRequest.md +docs/CreateScheduledSearchRequest.md +docs/CreateWorkflowRequest.md +docs/CriteriaType.md +docs/CustomPasswordInstruction.md +docs/DataAccess.md +docs/DataAccessCategoriesInner.md +docs/DataAccessImpactScore.md +docs/DataAccessPoliciesInner.md +docs/DateCompare.md +docs/DateCompareFirstDate.md +docs/DateCompareSecondDate.md +docs/DateFormat.md +docs/DateFormatInputFormat.md +docs/DateFormatOutputFormat.md +docs/DateMath.md +docs/DecomposeDiacriticalMarks.md +docs/DeleteNonEmployeeRecordsInBulkRequest.md +docs/DeleteSource202Response.md +docs/DeleteVendorConnectorMapping200Response.md +docs/DiscoveredApplicationsInner.md +docs/DisplayReference.md +docs/DkimAttributes.md +docs/DocumentType.md +docs/DomainAddress.md +docs/DomainStatusDto.md +docs/DtoType.md +docs/E164phone.md +docs/EmailNotificationOption.md +docs/EmailStatusDto.md +docs/Entitlement.md +docs/Entitlement1.md +docs/Entitlement1AccessModelMetadata.md +docs/Entitlement1ManuallyUpdatedFields.md +docs/Entitlement1Owner.md +docs/Entitlement1Source.md +docs/EntitlementAccessRequestConfig.md +docs/EntitlementApprovalScheme.md +docs/EntitlementBulkUpdateRequest.md +docs/EntitlementDocument.md +docs/EntitlementDocumentAllOfSource.md +docs/EntitlementDto.md +docs/EntitlementRef.md +docs/EntitlementRef1.md +docs/EntitlementRequestConfig.md +docs/EntitlementRequestConfig1.md +docs/EntitlementSource.md +docs/EntitlementSourceResetBaseReferenceDto.md +docs/EntitlementSummary.md +docs/EntityCreatedByDTO.md +docs/Error.md +docs/ErrorMessage.md +docs/ErrorMessageDto.md +docs/ErrorResponseDto.md +docs/EvaluateResponse.md +docs/Event.md +docs/EventAttributes.md +docs/EventBridgeConfig.md +docs/EventDocument.md +docs/ExceptionAccessCriteria.md +docs/ExceptionCriteria.md +docs/ExceptionCriteriaAccess.md +docs/ExceptionCriteriaCriteriaListInner.md +docs/ExecutionStatus.md +docs/ExpansionItem.md +docs/ExportFormDefinitionsByTenant200ResponseInner.md +docs/ExportOptions.md +docs/ExportPayload.md +docs/Expression.md +docs/ExpressionChildrenInner.md +docs/ExternalAttributes.md +docs/FeatureValueDto.md +docs/FieldDetailsDto.md +docs/Filter.md +docs/FilterAggregation.md +docs/FilterType.md +docs/FirstValid.md +docs/FormCondition.md +docs/FormDefinitionDynamicSchemaRequest.md +docs/FormDefinitionDynamicSchemaRequestAttributes.md +docs/FormDefinitionDynamicSchemaResponse.md +docs/FormDefinitionFileUploadResponse.md +docs/FormDefinitionInput.md +docs/FormDefinitionResponse.md +docs/FormDetails.md +docs/FormElement.md +docs/FormElementDataSourceConfigOptions.md +docs/FormElementDynamicDataSource.md +docs/FormElementDynamicDataSourceConfig.md +docs/FormElementPreviewRequest.md +docs/FormElementValidationsSet.md +docs/FormError.md +docs/FormInstanceCreatedBy.md +docs/FormInstanceRecipient.md +docs/FormInstanceResponse.md +docs/FormItemDetails.md +docs/FormOwner.md +docs/FormUsedBy.md +docs/ForwardApprovalDto.md +docs/GenerateRandomString.md +docs/GetActiveCampaigns200ResponseInner.md +docs/GetHistoricalIdentityEvents200ResponseInner.md +docs/GetOAuthClientResponse.md +docs/GetPersonalAccessTokenResponse.md +docs/GetReferenceIdentityAttribute.md +docs/GetRoleAssignments200ResponseInner.md +docs/GrantType.md +docs/HttpAuthenticationType.md +docs/HttpConfig.md +docs/HttpDispatchMode.md +docs/ISO3166.md +docs/IdentitiesAccountsBulkRequest.md +docs/IdentitiesDetailsReportArguments.md +docs/IdentitiesReportArguments.md +docs/Identity.md +docs/Identity1.md +docs/IdentityAccess.md +docs/IdentityAssociationDetails.md +docs/IdentityAssociationDetailsAssociationDetailsInner.md +docs/IdentityAttribute.md +docs/IdentityAttribute1.md +docs/IdentityAttribute2.md +docs/IdentityAttributeConfig.md +docs/IdentityAttributeNames.md +docs/IdentityAttributePreview.md +docs/IdentityAttributeTransform.md +docs/IdentityAttributesChanged.md +docs/IdentityAttributesChangedChangesInner.md +docs/IdentityAttributesChangedChangesInnerNewValue.md +docs/IdentityAttributesChangedChangesInnerOldValue.md +docs/IdentityAttributesChangedChangesInnerOldValueOneOfValue.md +docs/IdentityAttributesChangedIdentity.md +docs/IdentityCertDecisionSummary.md +docs/IdentityCertificationDto.md +docs/IdentityCertified.md +docs/IdentityCompareResponse.md +docs/IdentityCreated.md +docs/IdentityCreatedIdentity.md +docs/IdentityDeleted.md +docs/IdentityDeletedIdentity.md +docs/IdentityDocument.md +docs/IdentityDocumentAllOfIdentityProfile.md +docs/IdentityDocumentAllOfManager.md +docs/IdentityDocumentAllOfSource.md +docs/IdentityDtoLifecycleState.md +docs/IdentityDtoManagerRef.md +docs/IdentityEntities.md +docs/IdentityEntitiesIdentityEntity.md +docs/IdentityExceptionReportReference.md +docs/IdentityHistoryResponse.md +docs/IdentityListItem.md +docs/IdentityOwnershipAssociationDetails.md +docs/IdentityOwnershipAssociationDetailsAssociationDetailsInner.md +docs/IdentityPreviewRequest.md +docs/IdentityPreviewResponse.md +docs/IdentityPreviewResponseIdentity.md +docs/IdentityProfile.md +docs/IdentityProfileAllOfAuthoritativeSource.md +docs/IdentityProfileAllOfOwner.md +docs/IdentityProfileExportedObject.md +docs/IdentityProfileExportedObjectSelf.md +docs/IdentityProfileIdentityErrorReportArguments.md +docs/IdentityReference.md +docs/IdentityReferenceWithNameAndEmail.md +docs/IdentitySnapshotSummaryResponse.md +docs/IdentitySummary.md +docs/IdentitySyncJob.md +docs/IdentitySyncPayload.md +docs/IdentityWithNewAccess.md +docs/IdentityWithNewAccess1.md +docs/IdentityWithNewAccessAccessRefsInner.md +docs/ImportAccountsRequest.md +docs/ImportEntitlementsBySourceRequest.md +docs/ImportFormDefinitions202Response.md +docs/ImportFormDefinitions202ResponseErrorsInner.md +docs/ImportNonEmployeeRecordsInBulkRequest.md +docs/ImportObject.md +docs/ImportOptions.md +docs/ImportSpConfigRequest.md +docs/ImportUploadedBackupRequest.md +docs/Index.md +docs/IndexOf.md +docs/InnerHit.md +docs/Invocation.md +docs/InvocationStatus.md +docs/InvocationStatusType.md +docs/JsonPatch.md +docs/JsonPatchOperation.md +docs/JsonPatchOperationValue.md +docs/KbaAnswerRequestItem.md +docs/KbaAnswerResponseItem.md +docs/KbaQuestion.md +docs/LatestOutlierSummary.md +docs/LeftPad.md +docs/License.md +docs/LifecycleState.md +docs/LifecycleStateDto.md +docs/LifecyclestateDeleted.md +docs/ListAccessProfiles401Response.md +docs/ListAccessProfiles429Response.md +docs/ListCampaignFilters200Response.md +docs/ListCompleteWorkflowLibrary200ResponseInner.md +docs/ListFormDefinitionsByTenantResponse.md +docs/ListFormElementDataByElementIDResponse.md +docs/ListFormInstancesByTenantResponse.md +docs/ListIdentityAccessItems200ResponseInner.md +docs/ListPredefinedSelectOptionsResponse.md +docs/ListWorkgroupMembers200ResponseInner.md +docs/LoadAccountsTask.md +docs/LoadAccountsTaskTask.md +docs/LoadAccountsTaskTaskAttributes.md +docs/LoadAccountsTaskTaskMessagesInner.md +docs/LoadAccountsTaskTaskReturnsInner.md +docs/LoadEntitlementTask.md +docs/LoadEntitlementTaskReturnsInner.md +docs/LoadUncorrelatedAccountsTask.md +docs/LoadUncorrelatedAccountsTaskTask.md +docs/LoadUncorrelatedAccountsTaskTaskAttributes.md +docs/LoadUncorrelatedAccountsTaskTaskMessagesInner.md +docs/LocaleOrigin.md +docs/LocalizedMessage.md +docs/Lookup.md +docs/LookupStep.md +docs/Lower.md +docs/MailFromAttributes.md +docs/MailFromAttributesDto.md +docs/ManagedClient.md +docs/ManagedClientRequest.md +docs/ManagedClientStatus.md +docs/ManagedClientStatusCode.md +docs/ManagedClientType.md +docs/ManagedCluster.md +docs/ManagedClusterAttributes.md +docs/ManagedClusterKeyPair.md +docs/ManagedClusterQueue.md +docs/ManagedClusterRedis.md +docs/ManagedClusterRequest.md +docs/ManagedClusterTypes.md +docs/ManagerCorrelationMapping.md +docs/ManualDiscoverApplications.md +docs/ManualDiscoverApplicationsTemplate.md +docs/ManualWorkItemDetails.md +docs/ManualWorkItemDetailsCurrentOwner.md +docs/ManualWorkItemDetailsOriginalOwner.md +docs/ManualWorkItemState.md +docs/ManuallyUpdatedFieldsDTO.md +docs/Medium.md +docs/MetricAggregation.md +docs/MetricResponse.md +docs/MetricType.md +docs/MfaConfigTestResponse.md +docs/MfaDuoConfig.md +docs/MfaOktaConfig.md +docs/MultiPolicyRequest.md +docs/NameNormalizer.md +docs/NamedConstructs.md +docs/NativeChangeDetectionConfig.md +docs/NestedAggregation.md +docs/NetworkConfiguration.md +docs/NonEmployeeApprovalDecision.md +docs/NonEmployeeApprovalItem.md +docs/NonEmployeeApprovalItemBase.md +docs/NonEmployeeApprovalItemDetail.md +docs/NonEmployeeApprovalSummary.md +docs/NonEmployeeBulkUploadJob.md +docs/NonEmployeeBulkUploadStatus.md +docs/NonEmployeeIdentityDtoType.md +docs/NonEmployeeIdentityReferenceWithId.md +docs/NonEmployeeIdnUserRequest.md +docs/NonEmployeeRecord.md +docs/NonEmployeeRejectApprovalDecision.md +docs/NonEmployeeRequest.md +docs/NonEmployeeRequestBody.md +docs/NonEmployeeRequestLite.md +docs/NonEmployeeRequestSummary.md +docs/NonEmployeeRequestWithoutApprovalItem.md +docs/NonEmployeeSchemaAttribute.md +docs/NonEmployeeSchemaAttributeBody.md +docs/NonEmployeeSchemaAttributeType.md +docs/NonEmployeeSource.md +docs/NonEmployeeSourceLite.md +docs/NonEmployeeSourceLiteWithSchemaAttributes.md +docs/NonEmployeeSourceRequestBody.md +docs/NonEmployeeSourceWithCloudExternalId.md +docs/NonEmployeeSourceWithNECount.md +docs/NotificationTemplateContext.md +docs/ObjectExportImportOptions.md +docs/ObjectImportResult.md +docs/ObjectImportResult1.md +docs/ObjectMappingBulkCreateRequest.md +docs/ObjectMappingBulkCreateResponse.md +docs/ObjectMappingBulkPatchRequest.md +docs/ObjectMappingBulkPatchResponse.md +docs/ObjectMappingRequest.md +docs/ObjectMappingResponse.md +docs/Operation.md +docs/OrgConfig.md +docs/OriginalRequest.md +docs/OrphanUncorrelatedReportArguments.md +docs/Outlier.md +docs/OutlierContributingFeature.md +docs/OutlierContributingFeatureValue.md +docs/OutlierFeatureSummary.md +docs/OutlierFeatureSummaryOutlierFeatureDisplayValuesInner.md +docs/OutlierFeatureTranslation.md +docs/OutlierSummary.md +docs/OutliersContributingFeatureAccessItems.md +docs/OwnerDto.md +docs/OwnerReference.md +docs/OwnerReferenceDto.md +docs/OwnerReferenceSegments.md +docs/Owns.md +docs/PasswordChangeRequest.md +docs/PasswordChangeResponse.md +docs/PasswordDigitToken.md +docs/PasswordDigitTokenReset.md +docs/PasswordInfo.md +docs/PasswordInfoAccount.md +docs/PasswordInfoQueryDTO.md +docs/PasswordOrgConfig.md +docs/PasswordPolicyV3Dto.md +docs/PasswordStatus.md +docs/PasswordSyncGroup.md +docs/PatOwner.md +docs/PatchPotentialRoleRequestInner.md +docs/PatchServiceDeskIntegrationRequest.md +docs/PeerGroupMember.md +docs/PendingApproval.md +docs/PendingApprovalAction.md +docs/PendingApprovalOwner.md +docs/PermissionDto.md +docs/PreApprovalTriggerDetails.md +docs/PreferencesDto.md +docs/PreviewDataSourceResponse.md +docs/ProcessIdentitiesRequest.md +docs/ProcessingDetails.md +docs/Product.md +docs/ProvisioningCompleted.md +docs/ProvisioningCompletedAccountRequestsInner.md +docs/ProvisioningCompletedAccountRequestsInnerAttributeRequestsInner.md +docs/ProvisioningCompletedAccountRequestsInnerSource.md +docs/ProvisioningCompletedRecipient.md +docs/ProvisioningCompletedRequester.md +docs/ProvisioningConfig.md +docs/ProvisioningConfig1.md +docs/ProvisioningConfig1ManagedResourceRefsInner.md +docs/ProvisioningConfig1PlanInitializerScript.md +docs/ProvisioningConfigPlanInitializerScript.md +docs/ProvisioningCriteriaLevel1.md +docs/ProvisioningCriteriaLevel2.md +docs/ProvisioningCriteriaLevel3.md +docs/ProvisioningCriteriaOperation.md +docs/ProvisioningDetails.md +docs/ProvisioningPolicy.md +docs/ProvisioningPolicyDto.md +docs/ProvisioningState.md +docs/PublicIdentity.md +docs/PublicIdentityAttributeConfig.md +docs/PublicIdentityConfig.md +docs/PutCorrelationConfigRequest.md +docs/PutPasswordDictionaryRequest.md +docs/PutSourceConfigRequest.md +docs/PutSourceTemplateRequest.md +docs/Query.md +docs/QueryResultFilter.md +docs/QueryType.md +docs/QueuedCheckConfigDetails.md +docs/RandomAlphaNumeric.md +docs/RandomNumeric.md +docs/Range.md +docs/ReassignReference.md +docs/Reassignment.md +docs/Reassignment1.md +docs/ReassignmentReference.md +docs/ReassignmentTrailDTO.md +docs/ReassignmentType.md +docs/ReassignmentTypeEnum.md +docs/RecommendationConfigDto.md +docs/RecommendationRequest.md +docs/RecommendationRequestDto.md +docs/RecommendationResponse.md +docs/RecommendationResponseDto.md +docs/RecommenderCalculations.md +docs/RecommenderCalculationsIdentityAttributesValue.md +docs/Reference.md +docs/Reference1.md +docs/RemediationItemDetails.md +docs/RemediationItems.md +docs/Replace.md +docs/ReplaceAll.md +docs/ReportConfigDTO.md +docs/ReportDetails.md +docs/ReportDetailsArguments.md +docs/ReportResultReference.md +docs/ReportResults.md +docs/ReportType.md +docs/RequestOnBehalfOfConfig.md +docs/Requestability.md +docs/RequestabilityForRole.md +docs/RequestableObject.md +docs/RequestableObjectReference.md +docs/RequestableObjectRequestStatus.md +docs/RequestableObjectType.md +docs/RequestedItemStatus.md +docs/RequestedItemStatusCancelledRequestDetails.md +docs/RequestedItemStatusPreApprovalTriggerDetails.md +docs/RequestedItemStatusProvisioningDetails.md +docs/RequestedItemStatusRequestState.md +docs/RequestedItemStatusRequestedFor.md +docs/RequestedItemStatusRequesterComment.md +docs/RequestedItemStatusSodViolationContext.md +docs/ResourceObject.md +docs/ResourceObjectsRequest.md +docs/ResourceObjectsResponse.md +docs/ReviewDecision.md +docs/ReviewReassign.md +docs/ReviewRecommendation.md +docs/ReviewableAccessProfile.md +docs/ReviewableEntitlement.md +docs/ReviewableEntitlementAccount.md +docs/ReviewableRole.md +docs/Reviewer.md +docs/Reviewer1.md +docs/Revocability.md +docs/RevocabilityForRole.md +docs/RightPad.md +docs/Role.md +docs/RoleAssignmentDto.md +docs/RoleAssignmentRef.md +docs/RoleAssignmentSourceType.md +docs/RoleBulkDeleteRequest.md +docs/RoleCriteriaKey.md +docs/RoleCriteriaKeyType.md +docs/RoleCriteriaLevel1.md +docs/RoleCriteriaLevel2.md +docs/RoleCriteriaLevel3.md +docs/RoleCriteriaOperation.md +docs/RoleDocument.md +docs/RoleIdentity.md +docs/RoleInsight.md +docs/RoleInsightsEntitlement.md +docs/RoleInsightsEntitlementChanges.md +docs/RoleInsightsIdentities.md +docs/RoleInsightsInsight.md +docs/RoleInsightsResponse.md +docs/RoleInsightsRole.md +docs/RoleInsightsSummary.md +docs/RoleMatchDto.md +docs/RoleMembershipIdentity.md +docs/RoleMembershipSelector.md +docs/RoleMembershipSelectorType.md +docs/RoleMiningEntitlement.md +docs/RoleMiningEntitlementRef.md +docs/RoleMiningIdentity.md +docs/RoleMiningIdentityDistribution.md +docs/RoleMiningPotentialRole.md +docs/RoleMiningPotentialRoleApplication.md +docs/RoleMiningPotentialRoleEditEntitlements.md +docs/RoleMiningPotentialRoleExportRequest.md +docs/RoleMiningPotentialRoleExportResponse.md +docs/RoleMiningPotentialRoleExportState.md +docs/RoleMiningPotentialRoleProvisionRequest.md +docs/RoleMiningPotentialRoleProvisionState.md +docs/RoleMiningPotentialRoleRef.md +docs/RoleMiningPotentialRoleSourceUsage.md +docs/RoleMiningPotentialRoleSummary.md +docs/RoleMiningPotentialRoleSummaryCreatedBy.md +docs/RoleMiningRoleType.md +docs/RoleMiningSessionDraftRoleDto.md +docs/RoleMiningSessionDto.md +docs/RoleMiningSessionParametersDto.md +docs/RoleMiningSessionResponse.md +docs/RoleMiningSessionResponseCreatedBy.md +docs/RoleMiningSessionScope.md +docs/RoleMiningSessionScopingMethod.md +docs/RoleMiningSessionState.md +docs/RoleMiningSessionStatus.md +docs/RoleSummary.md +docs/RoleTargetDto.md +docs/Rule.md +docs/SavedSearch.md +docs/SavedSearchComplete.md +docs/SavedSearchCompleteSearchResults.md +docs/SavedSearchCompleteSearchResultsAccount.md +docs/SavedSearchCompleteSearchResultsEntitlement.md +docs/SavedSearchCompleteSearchResultsIdentity.md +docs/SavedSearchDetail.md +docs/SavedSearchDetailFilters.md +docs/SavedSearchName.md +docs/Schedule.md +docs/Schedule1.md +docs/Schedule1Days.md +docs/Schedule1Hours.md +docs/Schedule1Months.md +docs/ScheduleDays.md +docs/ScheduleHours.md +docs/ScheduleMonths.md +docs/ScheduleType.md +docs/ScheduledAttributes.md +docs/ScheduledSearch.md +docs/ScheduledSearchAllOfOwner.md +docs/ScheduledSearchName.md +docs/Schema.md +docs/Search.md +docs/SearchAggregationSpecification.md +docs/SearchArguments.md +docs/SearchAttributeConfig.md +docs/SearchExportReportArguments.md +docs/SearchFilterType.md +docs/SearchFormDefinitionsByTenant400Response.md +docs/SearchSchedule.md +docs/SearchScheduleRecipientsInner.md +docs/SectionDetails.md +docs/Sed.md +docs/SedApproval.md +docs/SedApprovalStatus.md +docs/SedAssignee.md +docs/SedAssignment.md +docs/SedAssignmentResponse.md +docs/SedBatchRequest.md +docs/SedBatchResponse.md +docs/SedBatchStats.md +docs/SedBatchStatus.md +docs/SedPatch.md +docs/Segment.md +docs/SegmentVisibilityCriteria.md +docs/Selector.md +docs/SelectorType.md +docs/SelfImportExportDto.md +docs/SendTestNotificationRequestDto.md +docs/ServiceDeskIntegrationDto.md +docs/ServiceDeskIntegrationDto1.md +docs/ServiceDeskIntegrationTemplateDto.md +docs/ServiceDeskIntegrationTemplateType.md +docs/ServiceDeskSource.md +docs/SetIcon200Response.md +docs/SetIconRequest.md +docs/SetLifecycleState200Response.md +docs/SetLifecycleStateRequest.md +docs/SimIntegrationDetails.md +docs/SimIntegrationDetailsAllOfBeforeProvisioningRule.md +docs/SlimCampaign.md +docs/SodExemptCriteria.md +docs/SodPolicy.md +docs/SodPolicyConflictingAccessCriteria.md +docs/SodPolicyDto.md +docs/SodPolicyOwnerRef.md +docs/SodPolicySchedule.md +docs/SodRecipient.md +docs/SodReportResultDto.md +docs/SodViolationCheck.md +docs/SodViolationCheckResult.md +docs/SodViolationContext.md +docs/SodViolationContextCheckCompleted.md +docs/SodViolationContextConflictingAccessCriteria.md +docs/SodViolationContextConflictingAccessCriteriaLeftCriteria.md +docs/Source.md +docs/Source1.md +docs/SourceAccountCorrelationConfig.md +docs/SourceAccountCorrelationRule.md +docs/SourceAccountCreated.md +docs/SourceAccountDeleted.md +docs/SourceAccountUpdated.md +docs/SourceBeforeProvisioningRule.md +docs/SourceCluster.md +docs/SourceClusterDto.md +docs/SourceCode.md +docs/SourceCreated.md +docs/SourceCreatedActor.md +docs/SourceDeleted.md +docs/SourceDeletedActor.md +docs/SourceEntitlementRequestConfig.md +docs/SourceHealthDto.md +docs/SourceManagementWorkgroup.md +docs/SourceManagerCorrelationMapping.md +docs/SourceManagerCorrelationRule.md +docs/SourceOwner.md +docs/SourcePasswordPoliciesInner.md +docs/SourceSchemasInner.md +docs/SourceSyncJob.md +docs/SourceSyncPayload.md +docs/SourceUpdated.md +docs/SourceUpdatedActor.md +docs/SourceUsage.md +docs/SourceUsageStatus.md +docs/SpConfigExportJob.md +docs/SpConfigExportJobStatus.md +docs/SpConfigExportResults.md +docs/SpConfigImportJobStatus.md +docs/SpConfigImportResults.md +docs/SpConfigJob.md +docs/SpConfigMessage.md +docs/SpConfigMessage1.md +docs/SpConfigObject.md +docs/SpConfigUrl.md +docs/Split.md +docs/StandardLevel.md +docs/StartInvocationInput.md +docs/Static.md +docs/StatusResponse.md +docs/SubSearchAggregationSpecification.md +docs/Subscription.md +docs/SubscriptionPatchRequestInner.md +docs/SubscriptionPatchRequestInnerValue.md +docs/SubscriptionPatchRequestInnerValueAnyOfInner.md +docs/SubscriptionPostRequest.md +docs/SubscriptionPutRequest.md +docs/SubscriptionType.md +docs/Substring.md +docs/TaggedObject.md +docs/TaggedObjectDto.md +docs/Target.md +docs/TaskDefinitionSummary.md +docs/TaskResultDetails.md +docs/TaskResultDetailsMessagesInner.md +docs/TaskResultDetailsReturnsInner.md +docs/TaskResultDto.md +docs/TaskResultResponse.md +docs/TaskResultSimplified.md +docs/TaskReturnDetails.md +docs/TaskStatus.md +docs/TaskStatusMessage.md +docs/TemplateBulkDeleteDto.md +docs/TemplateDto.md +docs/TemplateDtoDefault.md +docs/TemplateSlack.md +docs/TemplateSlackAutoApprovalData.md +docs/TemplateSlackCustomFields.md +docs/TemplateTeams.md +docs/Tenant.md +docs/TenantConfigurationDetails.md +docs/TenantConfigurationRequest.md +docs/TenantConfigurationResponse.md +docs/TenantUiMetadataItemResponse.md +docs/TenantUiMetadataItemUpdateRequest.md +docs/TestExternalExecuteWorkflow200Response.md +docs/TestExternalExecuteWorkflowRequest.md +docs/TestInvocation.md +docs/TestWorkflow200Response.md +docs/TestWorkflowRequest.md +docs/TextQuery.md +docs/Transform.md +docs/TransformAttributes.md +docs/TransformDefinition.md +docs/TransformDefinitionAttributesValue.md +docs/TransformRead.md +docs/TransformRule.md +docs/TranslationMessage.md +docs/Trigger.md +docs/TriggerExampleInput.md +docs/TriggerExampleOutput.md +docs/TriggerType.md +docs/Trim.md +docs/TypeAheadQuery.md +docs/TypedReference.md +docs/UUIDGenerator.md +docs/UpdateAccessProfilesInBulk412Response.md +docs/UpdateDetail.md +docs/UploadsRequest.md +docs/UploadsResponse.md +docs/Upper.md +docs/UsageType.md +docs/V2024AccessModelMetadataApi.md +docs/V2024AccessProfilesApi.md +docs/V2024AccessRequestApprovalsApi.md +docs/V2024AccessRequestIdentityMetricsApi.md +docs/V2024AccessRequestsApi.md +docs/V2024AccountActivitiesApi.md +docs/V2024AccountAggregationsApi.md +docs/V2024AccountUsagesApi.md +docs/V2024AccountsApi.md +docs/V2024ApplicationDiscoveryApi.md +docs/V2024ApprovalsApi.md +docs/V2024AuthProfileApi.md +docs/V2024AuthUsersApi.md +docs/V2024BrandingApi.md +docs/V2024CertificationCampaignFiltersApi.md +docs/V2024CertificationCampaignsApi.md +docs/V2024CertificationSummariesApi.md +docs/V2024CertificationsApi.md +docs/V2024ConfigurationHubApi.md +docs/V2024ConnectorRuleManagementApi.md +docs/V2024ConnectorsApi.md +docs/V2024CustomFormsApi.md +docs/V2024CustomPasswordInstructionsApi.md +docs/V2024EntitlementsApi.md +docs/V2024GlobalTenantSecuritySettingsApi.md +docs/V2024GovernanceGroupsApi.md +docs/V2024IAIAccessRequestRecommendationsApi.md +docs/V2024IAICommonAccessApi.md +docs/V2024IAIOutliersApi.md +docs/V2024IAIPeerGroupStrategiesApi.md +docs/V2024IAIRecommendationsApi.md +docs/V2024IAIRoleMiningApi.md +docs/V2024IconsApi.md +docs/V2024IdentitiesApi.md +docs/V2024IdentityAttributesApi.md +docs/V2024IdentityHistoryApi.md +docs/V2024IdentityProfilesApi.md +docs/V2024LifecycleStatesApi.md +docs/V2024MFAConfigurationApi.md +docs/V2024ManagedClientsApi.md +docs/V2024ManagedClustersApi.md +docs/V2024NonEmployeeLifecycleManagementApi.md +docs/V2024NotificationsApi.md +docs/V2024OAuthClientsApi.md +docs/V2024OrgConfigApi.md +docs/V2024PasswordConfigurationApi.md +docs/V2024PasswordDictionaryApi.md +docs/V2024PasswordManagementApi.md +docs/V2024PasswordPoliciesApi.md +docs/V2024PasswordSyncGroupsApi.md +docs/V2024PersonalAccessTokensApi.md +docs/V2024PublicIdentitiesApi.md +docs/V2024PublicIdentitiesConfigApi.md +docs/V2024ReportsDataExtractionApi.md +docs/V2024RequestableObjectsApi.md +docs/V2024RoleInsightsApi.md +docs/V2024RolesApi.md +docs/V2024SIMIntegrationsApi.md +docs/V2024SODPoliciesApi.md +docs/V2024SODViolationsApi.md +docs/V2024SPConfigApi.md +docs/V2024SavedSearchApi.md +docs/V2024ScheduledSearchApi.md +docs/V2024SearchApi.md +docs/V2024SearchAttributeConfigurationApi.md +docs/V2024SegmentsApi.md +docs/V2024ServiceDeskIntegrationApi.md +docs/V2024SourceUsagesApi.md +docs/V2024SourcesApi.md +docs/V2024SuggestedEntitlementDescriptionApi.md +docs/V2024TaggedObjectsApi.md +docs/V2024TaskManagementApi.md +docs/V2024TenantApi.md +docs/V2024TransformsApi.md +docs/V2024TriggersApi.md +docs/V2024UIMetadataApi.md +docs/V2024VendorConnectorMappingsApi.md +docs/V2024WorkItemsApi.md +docs/V2024WorkReassignmentApi.md +docs/V2024WorkflowsApi.md +docs/V3ConnectorDto.md +docs/V3CreateConnectorDto.md +docs/VAClusterStatusChangeEvent.md +docs/VAClusterStatusChangeEventApplication.md +docs/VAClusterStatusChangeEventHealthCheckResult.md +docs/VAClusterStatusChangeEventPreviousHealthCheckResult.md +docs/ValidateFilterInputDto.md +docs/ValidateFilterOutputDto.md +docs/Value.md +docs/VendorConnectorMapping.md +docs/VendorConnectorMappingDeletedAt.md +docs/VendorConnectorMappingDeletedBy.md +docs/VendorConnectorMappingUpdatedAt.md +docs/VendorConnectorMappingUpdatedBy.md +docs/ViolationContext.md +docs/ViolationContextPolicy.md +docs/ViolationOwnerAssignmentConfig.md +docs/ViolationOwnerAssignmentConfigOwnerRef.md +docs/ViolationPrediction.md +docs/VisibilityCriteria.md +docs/WorkItemForward.md +docs/WorkItemState.md +docs/WorkItemStateManualWorkItems.md +docs/WorkItemTypeManualWorkItems.md +docs/WorkItems.md +docs/WorkItemsCount.md +docs/WorkItemsForm.md +docs/WorkItemsSummary.md +docs/Workflow.md +docs/WorkflowAllOfCreator.md +docs/WorkflowBody.md +docs/WorkflowBodyOwner.md +docs/WorkflowDefinition.md +docs/WorkflowExecution.md +docs/WorkflowExecutionEvent.md +docs/WorkflowLibraryAction.md +docs/WorkflowLibraryActionExampleOutput.md +docs/WorkflowLibraryFormFields.md +docs/WorkflowLibraryOperator.md +docs/WorkflowLibraryTrigger.md +docs/WorkflowModifiedBy.md +docs/WorkflowOAuthClient.md +docs/WorkflowTrigger.md +docs/WorkflowTriggerAttributes.md +docs/WorkgroupBulkDeleteRequest.md +docs/WorkgroupConnectionDto.md +docs/WorkgroupDeleteItem.md +docs/WorkgroupDto.md +docs/WorkgroupDtoOwner.md +docs/WorkgroupMemberAddItem.md +docs/WorkgroupMemberDeleteItem.md +src/PSSailpointV2024/Api/V2024AccessModelMetadataApi.ps1 +src/PSSailpointV2024/Api/V2024AccessProfilesApi.ps1 +src/PSSailpointV2024/Api/V2024AccessRequestApprovalsApi.ps1 +src/PSSailpointV2024/Api/V2024AccessRequestIdentityMetricsApi.ps1 +src/PSSailpointV2024/Api/V2024AccessRequestsApi.ps1 +src/PSSailpointV2024/Api/V2024AccountActivitiesApi.ps1 +src/PSSailpointV2024/Api/V2024AccountAggregationsApi.ps1 +src/PSSailpointV2024/Api/V2024AccountUsagesApi.ps1 +src/PSSailpointV2024/Api/V2024AccountsApi.ps1 +src/PSSailpointV2024/Api/V2024ApplicationDiscoveryApi.ps1 +src/PSSailpointV2024/Api/V2024ApprovalsApi.ps1 +src/PSSailpointV2024/Api/V2024AuthProfileApi.ps1 +src/PSSailpointV2024/Api/V2024AuthUsersApi.ps1 +src/PSSailpointV2024/Api/V2024BrandingApi.ps1 +src/PSSailpointV2024/Api/V2024CertificationCampaignFiltersApi.ps1 +src/PSSailpointV2024/Api/V2024CertificationCampaignsApi.ps1 +src/PSSailpointV2024/Api/V2024CertificationSummariesApi.ps1 +src/PSSailpointV2024/Api/V2024CertificationsApi.ps1 +src/PSSailpointV2024/Api/V2024ConfigurationHubApi.ps1 +src/PSSailpointV2024/Api/V2024ConnectorRuleManagementApi.ps1 +src/PSSailpointV2024/Api/V2024ConnectorsApi.ps1 +src/PSSailpointV2024/Api/V2024CustomFormsApi.ps1 +src/PSSailpointV2024/Api/V2024CustomPasswordInstructionsApi.ps1 +src/PSSailpointV2024/Api/V2024EntitlementsApi.ps1 +src/PSSailpointV2024/Api/V2024GlobalTenantSecuritySettingsApi.ps1 +src/PSSailpointV2024/Api/V2024GovernanceGroupsApi.ps1 +src/PSSailpointV2024/Api/V2024IAIAccessRequestRecommendationsApi.ps1 +src/PSSailpointV2024/Api/V2024IAICommonAccessApi.ps1 +src/PSSailpointV2024/Api/V2024IAIOutliersApi.ps1 +src/PSSailpointV2024/Api/V2024IAIPeerGroupStrategiesApi.ps1 +src/PSSailpointV2024/Api/V2024IAIRecommendationsApi.ps1 +src/PSSailpointV2024/Api/V2024IAIRoleMiningApi.ps1 +src/PSSailpointV2024/Api/V2024IconsApi.ps1 +src/PSSailpointV2024/Api/V2024IdentitiesApi.ps1 +src/PSSailpointV2024/Api/V2024IdentityAttributesApi.ps1 +src/PSSailpointV2024/Api/V2024IdentityHistoryApi.ps1 +src/PSSailpointV2024/Api/V2024IdentityProfilesApi.ps1 +src/PSSailpointV2024/Api/V2024LifecycleStatesApi.ps1 +src/PSSailpointV2024/Api/V2024MFAConfigurationApi.ps1 +src/PSSailpointV2024/Api/V2024ManagedClientsApi.ps1 +src/PSSailpointV2024/Api/V2024ManagedClustersApi.ps1 +src/PSSailpointV2024/Api/V2024NonEmployeeLifecycleManagementApi.ps1 +src/PSSailpointV2024/Api/V2024NotificationsApi.ps1 +src/PSSailpointV2024/Api/V2024OAuthClientsApi.ps1 +src/PSSailpointV2024/Api/V2024OrgConfigApi.ps1 +src/PSSailpointV2024/Api/V2024PasswordConfigurationApi.ps1 +src/PSSailpointV2024/Api/V2024PasswordDictionaryApi.ps1 +src/PSSailpointV2024/Api/V2024PasswordManagementApi.ps1 +src/PSSailpointV2024/Api/V2024PasswordPoliciesApi.ps1 +src/PSSailpointV2024/Api/V2024PasswordSyncGroupsApi.ps1 +src/PSSailpointV2024/Api/V2024PersonalAccessTokensApi.ps1 +src/PSSailpointV2024/Api/V2024PublicIdentitiesApi.ps1 +src/PSSailpointV2024/Api/V2024PublicIdentitiesConfigApi.ps1 +src/PSSailpointV2024/Api/V2024ReportsDataExtractionApi.ps1 +src/PSSailpointV2024/Api/V2024RequestableObjectsApi.ps1 +src/PSSailpointV2024/Api/V2024RoleInsightsApi.ps1 +src/PSSailpointV2024/Api/V2024RolesApi.ps1 +src/PSSailpointV2024/Api/V2024SIMIntegrationsApi.ps1 +src/PSSailpointV2024/Api/V2024SODPoliciesApi.ps1 +src/PSSailpointV2024/Api/V2024SODViolationsApi.ps1 +src/PSSailpointV2024/Api/V2024SPConfigApi.ps1 +src/PSSailpointV2024/Api/V2024SavedSearchApi.ps1 +src/PSSailpointV2024/Api/V2024ScheduledSearchApi.ps1 +src/PSSailpointV2024/Api/V2024SearchApi.ps1 +src/PSSailpointV2024/Api/V2024SearchAttributeConfigurationApi.ps1 +src/PSSailpointV2024/Api/V2024SegmentsApi.ps1 +src/PSSailpointV2024/Api/V2024ServiceDeskIntegrationApi.ps1 +src/PSSailpointV2024/Api/V2024SourceUsagesApi.ps1 +src/PSSailpointV2024/Api/V2024SourcesApi.ps1 +src/PSSailpointV2024/Api/V2024SuggestedEntitlementDescriptionApi.ps1 +src/PSSailpointV2024/Api/V2024TaggedObjectsApi.ps1 +src/PSSailpointV2024/Api/V2024TaskManagementApi.ps1 +src/PSSailpointV2024/Api/V2024TenantApi.ps1 +src/PSSailpointV2024/Api/V2024TransformsApi.ps1 +src/PSSailpointV2024/Api/V2024TriggersApi.ps1 +src/PSSailpointV2024/Api/V2024UIMetadataApi.ps1 +src/PSSailpointV2024/Api/V2024VendorConnectorMappingsApi.ps1 +src/PSSailpointV2024/Api/V2024WorkItemsApi.ps1 +src/PSSailpointV2024/Api/V2024WorkReassignmentApi.ps1 +src/PSSailpointV2024/Api/V2024WorkflowsApi.ps1 +src/PSSailpointV2024/Client/V2024Configuration.ps1 +src/PSSailpointV2024/Model/Access.ps1 +src/PSSailpointV2024/Model/AccessConstraint.ps1 +src/PSSailpointV2024/Model/AccessCriteria.ps1 +src/PSSailpointV2024/Model/AccessCriteriaCriteriaListInner.ps1 +src/PSSailpointV2024/Model/AccessItemAccessProfileResponse.ps1 +src/PSSailpointV2024/Model/AccessItemAccountResponse.ps1 +src/PSSailpointV2024/Model/AccessItemAppResponse.ps1 +src/PSSailpointV2024/Model/AccessItemApproverDto.ps1 +src/PSSailpointV2024/Model/AccessItemAssociated.ps1 +src/PSSailpointV2024/Model/AccessItemAssociatedAccessItem.ps1 +src/PSSailpointV2024/Model/AccessItemDiff.ps1 +src/PSSailpointV2024/Model/AccessItemEntitlementResponse.ps1 +src/PSSailpointV2024/Model/AccessItemRef.ps1 +src/PSSailpointV2024/Model/AccessItemRemoved.ps1 +src/PSSailpointV2024/Model/AccessItemRequestedFor.ps1 +src/PSSailpointV2024/Model/AccessItemRequestedForDto.ps1 +src/PSSailpointV2024/Model/AccessItemRequester.ps1 +src/PSSailpointV2024/Model/AccessItemRequesterDto.ps1 +src/PSSailpointV2024/Model/AccessItemReviewedBy.ps1 +src/PSSailpointV2024/Model/AccessItemRoleResponse.ps1 +src/PSSailpointV2024/Model/AccessProfile.ps1 +src/PSSailpointV2024/Model/AccessProfileApprovalScheme.ps1 +src/PSSailpointV2024/Model/AccessProfileBulkDeleteRequest.ps1 +src/PSSailpointV2024/Model/AccessProfileBulkDeleteResponse.ps1 +src/PSSailpointV2024/Model/AccessProfileBulkUpdateRequestInner.ps1 +src/PSSailpointV2024/Model/AccessProfileDocument.ps1 +src/PSSailpointV2024/Model/AccessProfileDocumentAllOfSource.ps1 +src/PSSailpointV2024/Model/AccessProfileEntitlement.ps1 +src/PSSailpointV2024/Model/AccessProfileRef.ps1 +src/PSSailpointV2024/Model/AccessProfileRole.ps1 +src/PSSailpointV2024/Model/AccessProfileSourceRef.ps1 +src/PSSailpointV2024/Model/AccessProfileSummary.ps1 +src/PSSailpointV2024/Model/AccessProfileUpdateItem.ps1 +src/PSSailpointV2024/Model/AccessProfileUsage.ps1 +src/PSSailpointV2024/Model/AccessProfileUsageUsedByInner.ps1 +src/PSSailpointV2024/Model/AccessRecommendationMessage.ps1 +src/PSSailpointV2024/Model/AccessRequest.ps1 +src/PSSailpointV2024/Model/AccessRequestConfig.ps1 +src/PSSailpointV2024/Model/AccessRequestContext.ps1 +src/PSSailpointV2024/Model/AccessRequestDynamicApprover.ps1 +src/PSSailpointV2024/Model/AccessRequestDynamicApprover1.ps1 +src/PSSailpointV2024/Model/AccessRequestDynamicApproverRequestedItemsInner.ps1 +src/PSSailpointV2024/Model/AccessRequestItem.ps1 +src/PSSailpointV2024/Model/AccessRequestItemResponse.ps1 +src/PSSailpointV2024/Model/AccessRequestPhases.ps1 +src/PSSailpointV2024/Model/AccessRequestPostApproval.ps1 +src/PSSailpointV2024/Model/AccessRequestPostApprovalRequestedItemsStatusInner.ps1 +src/PSSailpointV2024/Model/AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInner.ps1 +src/PSSailpointV2024/Model/AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInnerApprover.ps1 +src/PSSailpointV2024/Model/AccessRequestPreApproval.ps1 +src/PSSailpointV2024/Model/AccessRequestPreApproval1.ps1 +src/PSSailpointV2024/Model/AccessRequestPreApprovalRequestedItemsInner.ps1 +src/PSSailpointV2024/Model/AccessRequestRecommendationActionItemDto.ps1 +src/PSSailpointV2024/Model/AccessRequestRecommendationActionItemResponseDto.ps1 +src/PSSailpointV2024/Model/AccessRequestRecommendationItem.ps1 +src/PSSailpointV2024/Model/AccessRequestRecommendationItemDetail.ps1 +src/PSSailpointV2024/Model/AccessRequestRecommendationItemDetailAccess.ps1 +src/PSSailpointV2024/Model/AccessRequestRecommendationItemType.ps1 +src/PSSailpointV2024/Model/AccessRequestResponse.ps1 +src/PSSailpointV2024/Model/AccessRequestType.ps1 +src/PSSailpointV2024/Model/AccessRequested.ps1 +src/PSSailpointV2024/Model/AccessReviewItem.ps1 +src/PSSailpointV2024/Model/AccessReviewReassignment.ps1 +src/PSSailpointV2024/Model/AccessSummary.ps1 +src/PSSailpointV2024/Model/AccessSummaryAccess.ps1 +src/PSSailpointV2024/Model/AccessType.ps1 +src/PSSailpointV2024/Model/Account.ps1 +src/PSSailpointV2024/Model/AccountAction.ps1 +src/PSSailpointV2024/Model/AccountActivity.ps1 +src/PSSailpointV2024/Model/AccountActivityApprovalStatus.ps1 +src/PSSailpointV2024/Model/AccountActivityDocument.ps1 +src/PSSailpointV2024/Model/AccountActivityItem.ps1 +src/PSSailpointV2024/Model/AccountActivityItemOperation.ps1 +src/PSSailpointV2024/Model/AccountActivitySearchedItem.ps1 +src/PSSailpointV2024/Model/AccountAggregationCompleted.ps1 +src/PSSailpointV2024/Model/AccountAggregationCompletedSource.ps1 +src/PSSailpointV2024/Model/AccountAggregationCompletedStats.ps1 +src/PSSailpointV2024/Model/AccountAggregationStatus.ps1 +src/PSSailpointV2024/Model/AccountAllOfOwnerGroup.ps1 +src/PSSailpointV2024/Model/AccountAllOfOwnerIdentity.ps1 +src/PSSailpointV2024/Model/AccountAllOfSourceOwner.ps1 +src/PSSailpointV2024/Model/AccountAttribute.ps1 +src/PSSailpointV2024/Model/AccountAttributes.ps1 +src/PSSailpointV2024/Model/AccountAttributesChanged.ps1 +src/PSSailpointV2024/Model/AccountAttributesChangedAccount.ps1 +src/PSSailpointV2024/Model/AccountAttributesChangedChangesInner.ps1 +src/PSSailpointV2024/Model/AccountAttributesChangedChangesInnerNewValue.ps1 +src/PSSailpointV2024/Model/AccountAttributesChangedChangesInnerOldValue.ps1 +src/PSSailpointV2024/Model/AccountAttributesChangedIdentity.ps1 +src/PSSailpointV2024/Model/AccountAttributesChangedSource.ps1 +src/PSSailpointV2024/Model/AccountAttributesCreate.ps1 +src/PSSailpointV2024/Model/AccountAttributesCreateAttributes.ps1 +src/PSSailpointV2024/Model/AccountCorrelated.ps1 +src/PSSailpointV2024/Model/AccountCorrelatedAccount.ps1 +src/PSSailpointV2024/Model/AccountCorrelatedIdentity.ps1 +src/PSSailpointV2024/Model/AccountCorrelatedSource.ps1 +src/PSSailpointV2024/Model/AccountInfoDto.ps1 +src/PSSailpointV2024/Model/AccountRequest.ps1 +src/PSSailpointV2024/Model/AccountRequestInfo.ps1 +src/PSSailpointV2024/Model/AccountRequestResult.ps1 +src/PSSailpointV2024/Model/AccountSource.ps1 +src/PSSailpointV2024/Model/AccountStatusChanged.ps1 +src/PSSailpointV2024/Model/AccountStatusChangedAccount.ps1 +src/PSSailpointV2024/Model/AccountStatusChangedStatusChange.ps1 +src/PSSailpointV2024/Model/AccountToggleRequest.ps1 +src/PSSailpointV2024/Model/AccountUncorrelated.ps1 +src/PSSailpointV2024/Model/AccountUncorrelatedAccount.ps1 +src/PSSailpointV2024/Model/AccountUncorrelatedIdentity.ps1 +src/PSSailpointV2024/Model/AccountUncorrelatedSource.ps1 +src/PSSailpointV2024/Model/AccountUnlockRequest.ps1 +src/PSSailpointV2024/Model/AccountUsage.ps1 +src/PSSailpointV2024/Model/AccountsAsyncResult.ps1 +src/PSSailpointV2024/Model/AccountsCollectedForAggregation.ps1 +src/PSSailpointV2024/Model/AccountsCollectedForAggregationSource.ps1 +src/PSSailpointV2024/Model/AccountsCollectedForAggregationStats.ps1 +src/PSSailpointV2024/Model/AccountsExportReportArguments.ps1 +src/PSSailpointV2024/Model/ActivateCampaignOptions.ps1 +src/PSSailpointV2024/Model/ActivityInsights.ps1 +src/PSSailpointV2024/Model/AdminReviewReassign.ps1 +src/PSSailpointV2024/Model/AdminReviewReassignReassignTo.ps1 +src/PSSailpointV2024/Model/AggregationResult.ps1 +src/PSSailpointV2024/Model/AggregationType.ps1 +src/PSSailpointV2024/Model/Aggregations.ps1 +src/PSSailpointV2024/Model/App.ps1 +src/PSSailpointV2024/Model/AppAllOfAccount.ps1 +src/PSSailpointV2024/Model/Approval.ps1 +src/PSSailpointV2024/Model/Approval1.ps1 +src/PSSailpointV2024/Model/ApprovalBatch.ps1 +src/PSSailpointV2024/Model/ApprovalComment.ps1 +src/PSSailpointV2024/Model/ApprovalComment1.ps1 +src/PSSailpointV2024/Model/ApprovalDescription.ps1 +src/PSSailpointV2024/Model/ApprovalDto.ps1 +src/PSSailpointV2024/Model/ApprovalForwardHistory.ps1 +src/PSSailpointV2024/Model/ApprovalIdentity.ps1 +src/PSSailpointV2024/Model/ApprovalInfoResponse.ps1 +src/PSSailpointV2024/Model/ApprovalItemDetails.ps1 +src/PSSailpointV2024/Model/ApprovalItems.ps1 +src/PSSailpointV2024/Model/ApprovalName.ps1 +src/PSSailpointV2024/Model/ApprovalReference.ps1 +src/PSSailpointV2024/Model/ApprovalReminderAndEscalationConfig.ps1 +src/PSSailpointV2024/Model/ApprovalScheme.ps1 +src/PSSailpointV2024/Model/ApprovalSchemeForRole.ps1 +src/PSSailpointV2024/Model/ApprovalStatus.ps1 +src/PSSailpointV2024/Model/ApprovalStatusDto.ps1 +src/PSSailpointV2024/Model/ApprovalStatusDtoCurrentOwner.ps1 +src/PSSailpointV2024/Model/ApprovalStatusDtoOriginalOwner.ps1 +src/PSSailpointV2024/Model/ApprovalSummary.ps1 +src/PSSailpointV2024/Model/Argument.ps1 +src/PSSailpointV2024/Model/ArrayInner.ps1 +src/PSSailpointV2024/Model/AssignmentContextDto.ps1 +src/PSSailpointV2024/Model/AttrSyncSource.ps1 +src/PSSailpointV2024/Model/AttrSyncSourceAttributeConfig.ps1 +src/PSSailpointV2024/Model/AttrSyncSourceConfig.ps1 +src/PSSailpointV2024/Model/AttributeChange.ps1 +src/PSSailpointV2024/Model/AttributeDTO.ps1 +src/PSSailpointV2024/Model/AttributeDTOList.ps1 +src/PSSailpointV2024/Model/AttributeDefinition.ps1 +src/PSSailpointV2024/Model/AttributeDefinitionSchema.ps1 +src/PSSailpointV2024/Model/AttributeDefinitionType.ps1 +src/PSSailpointV2024/Model/AttributeRequest.ps1 +src/PSSailpointV2024/Model/AttributeValueDTO.ps1 +src/PSSailpointV2024/Model/AttributesChanged.ps1 +src/PSSailpointV2024/Model/AuditDetails.ps1 +src/PSSailpointV2024/Model/AuthProfile.ps1 +src/PSSailpointV2024/Model/AuthProfileSummary.ps1 +src/PSSailpointV2024/Model/AuthUser.ps1 +src/PSSailpointV2024/Model/Base64Decode.ps1 +src/PSSailpointV2024/Model/Base64Encode.ps1 +src/PSSailpointV2024/Model/BaseAccess.ps1 +src/PSSailpointV2024/Model/BaseAccessAllOfOwner.ps1 +src/PSSailpointV2024/Model/BaseAccessProfile.ps1 +src/PSSailpointV2024/Model/BaseAccount.ps1 +src/PSSailpointV2024/Model/BaseCommonDto.ps1 +src/PSSailpointV2024/Model/BaseCommonDto1.ps1 +src/PSSailpointV2024/Model/BaseDocument.ps1 +src/PSSailpointV2024/Model/BaseEntitlement.ps1 +src/PSSailpointV2024/Model/BaseReferenceDto.ps1 +src/PSSailpointV2024/Model/BaseReferenceDto1.ps1 +src/PSSailpointV2024/Model/BaseSegment.ps1 +src/PSSailpointV2024/Model/BasicAuthConfig.ps1 +src/PSSailpointV2024/Model/BearerTokenAuthConfig.ps1 +src/PSSailpointV2024/Model/BeforeProvisioningRuleDto.ps1 +src/PSSailpointV2024/Model/Bound.ps1 +src/PSSailpointV2024/Model/BrandingItem.ps1 +src/PSSailpointV2024/Model/BrandingItemCreate.ps1 +src/PSSailpointV2024/Model/BucketAggregation.ps1 +src/PSSailpointV2024/Model/BucketType.ps1 +src/PSSailpointV2024/Model/BulkAddTaggedObject.ps1 +src/PSSailpointV2024/Model/BulkIdentitiesAccountsResponse.ps1 +src/PSSailpointV2024/Model/BulkRemoveTaggedObject.ps1 +src/PSSailpointV2024/Model/BulkTaggedObjectResponse.ps1 +src/PSSailpointV2024/Model/Campaign.ps1 +src/PSSailpointV2024/Model/CampaignActivated.ps1 +src/PSSailpointV2024/Model/CampaignActivatedCampaign.ps1 +src/PSSailpointV2024/Model/CampaignActivatedCampaignCampaignOwner.ps1 +src/PSSailpointV2024/Model/CampaignAlert.ps1 +src/PSSailpointV2024/Model/CampaignAllOfFilter.ps1 +src/PSSailpointV2024/Model/CampaignAllOfRoleCompositionCampaignInfo.ps1 +src/PSSailpointV2024/Model/CampaignAllOfRoleCompositionCampaignInfoRemediatorRef.ps1 +src/PSSailpointV2024/Model/CampaignAllOfSearchCampaignInfo.ps1 +src/PSSailpointV2024/Model/CampaignAllOfSearchCampaignInfoReviewer.ps1 +src/PSSailpointV2024/Model/CampaignAllOfSourceOwnerCampaignInfo.ps1 +src/PSSailpointV2024/Model/CampaignAllOfSourcesWithOrphanEntitlements.ps1 +src/PSSailpointV2024/Model/CampaignCompleteOptions.ps1 +src/PSSailpointV2024/Model/CampaignEnded.ps1 +src/PSSailpointV2024/Model/CampaignEndedCampaign.ps1 +src/PSSailpointV2024/Model/CampaignFilterDetails.ps1 +src/PSSailpointV2024/Model/CampaignFilterDetailsCriteriaListInner.ps1 +src/PSSailpointV2024/Model/CampaignGenerated.ps1 +src/PSSailpointV2024/Model/CampaignGeneratedCampaign.ps1 +src/PSSailpointV2024/Model/CampaignGeneratedCampaignCampaignOwner.ps1 +src/PSSailpointV2024/Model/CampaignReference.ps1 +src/PSSailpointV2024/Model/CampaignReport.ps1 +src/PSSailpointV2024/Model/CampaignReportsConfig.ps1 +src/PSSailpointV2024/Model/CampaignTemplate.ps1 +src/PSSailpointV2024/Model/CampaignTemplateOwnerRef.ps1 +src/PSSailpointV2024/Model/CampaignsDeleteRequest.ps1 +src/PSSailpointV2024/Model/CancelAccessRequest.ps1 +src/PSSailpointV2024/Model/CancelledRequestDetails.ps1 +src/PSSailpointV2024/Model/Certification.ps1 +src/PSSailpointV2024/Model/CertificationDecision.ps1 +src/PSSailpointV2024/Model/CertificationDto.ps1 +src/PSSailpointV2024/Model/CertificationIdentitySummary.ps1 +src/PSSailpointV2024/Model/CertificationPhase.ps1 +src/PSSailpointV2024/Model/CertificationReference.ps1 +src/PSSailpointV2024/Model/CertificationReference1.ps1 +src/PSSailpointV2024/Model/CertificationReferenceDto.ps1 +src/PSSailpointV2024/Model/CertificationSignedOff.ps1 +src/PSSailpointV2024/Model/CertificationSignedOffCertification.ps1 +src/PSSailpointV2024/Model/CertificationTask.ps1 +src/PSSailpointV2024/Model/CertifierResponse.ps1 +src/PSSailpointV2024/Model/ClientLogConfiguration.ps1 +src/PSSailpointV2024/Model/ClientType.ps1 +src/PSSailpointV2024/Model/CloseAccessRequest.ps1 +src/PSSailpointV2024/Model/Column.ps1 +src/PSSailpointV2024/Model/Comment.ps1 +src/PSSailpointV2024/Model/CommentDto.ps1 +src/PSSailpointV2024/Model/CommentDtoAuthor.ps1 +src/PSSailpointV2024/Model/CommonAccessIDStatus.ps1 +src/PSSailpointV2024/Model/CommonAccessItemAccess.ps1 +src/PSSailpointV2024/Model/CommonAccessItemRequest.ps1 +src/PSSailpointV2024/Model/CommonAccessItemResponse.ps1 +src/PSSailpointV2024/Model/CommonAccessItemState.ps1 +src/PSSailpointV2024/Model/CommonAccessResponse.ps1 +src/PSSailpointV2024/Model/CommonAccessType.ps1 +src/PSSailpointV2024/Model/CompleteInvocation.ps1 +src/PSSailpointV2024/Model/CompleteInvocationInput.ps1 +src/PSSailpointV2024/Model/CompletedApproval.ps1 +src/PSSailpointV2024/Model/CompletedApprovalPreApprovalTriggerResult.ps1 +src/PSSailpointV2024/Model/CompletedApprovalRequesterComment.ps1 +src/PSSailpointV2024/Model/CompletedApprovalReviewerComment.ps1 +src/PSSailpointV2024/Model/CompletedApprovalState.ps1 +src/PSSailpointV2024/Model/CompletionStatus.ps1 +src/PSSailpointV2024/Model/Concatenation.ps1 +src/PSSailpointV2024/Model/ConditionEffect.ps1 +src/PSSailpointV2024/Model/ConditionEffectConfig.ps1 +src/PSSailpointV2024/Model/ConditionRule.ps1 +src/PSSailpointV2024/Model/Conditional.ps1 +src/PSSailpointV2024/Model/ConfigObject.ps1 +src/PSSailpointV2024/Model/ConfigType.ps1 +src/PSSailpointV2024/Model/ConfigTypeEnum.ps1 +src/PSSailpointV2024/Model/ConfigTypeEnumCamel.ps1 +src/PSSailpointV2024/Model/ConfigurationDetailsResponse.ps1 +src/PSSailpointV2024/Model/ConfigurationItemRequest.ps1 +src/PSSailpointV2024/Model/ConfigurationItemResponse.ps1 +src/PSSailpointV2024/Model/ConfigurationResponse.ps1 +src/PSSailpointV2024/Model/ConflictingAccessCriteria.ps1 +src/PSSailpointV2024/Model/ConnectedObject.ps1 +src/PSSailpointV2024/Model/ConnectedObjectType.ps1 +src/PSSailpointV2024/Model/ConnectorDetail.ps1 +src/PSSailpointV2024/Model/ConnectorDetail1.ps1 +src/PSSailpointV2024/Model/ConnectorRuleCreateRequest.ps1 +src/PSSailpointV2024/Model/ConnectorRuleCreateRequestSignature.ps1 +src/PSSailpointV2024/Model/ConnectorRuleResponse.ps1 +src/PSSailpointV2024/Model/ConnectorRuleUpdateRequest.ps1 +src/PSSailpointV2024/Model/ConnectorRuleValidationResponse.ps1 +src/PSSailpointV2024/Model/ConnectorRuleValidationResponseDetailsInner.ps1 +src/PSSailpointV2024/Model/ContextAttributeDto.ps1 +src/PSSailpointV2024/Model/ContextAttributeDtoValue.ps1 +src/PSSailpointV2024/Model/CorrelatedGovernanceEvent.ps1 +src/PSSailpointV2024/Model/CreateDomainDkim405Response.ps1 +src/PSSailpointV2024/Model/CreateExternalExecuteWorkflow200Response.ps1 +src/PSSailpointV2024/Model/CreateExternalExecuteWorkflowRequest.ps1 +src/PSSailpointV2024/Model/CreateFormDefinitionFileRequestRequest.ps1 +src/PSSailpointV2024/Model/CreateFormDefinitionRequest.ps1 +src/PSSailpointV2024/Model/CreateFormInstanceRequest.ps1 +src/PSSailpointV2024/Model/CreateOAuthClientRequest.ps1 +src/PSSailpointV2024/Model/CreateOAuthClientResponse.ps1 +src/PSSailpointV2024/Model/CreatePersonalAccessTokenRequest.ps1 +src/PSSailpointV2024/Model/CreatePersonalAccessTokenResponse.ps1 +src/PSSailpointV2024/Model/CreateSavedSearchRequest.ps1 +src/PSSailpointV2024/Model/CreateScheduledSearchRequest.ps1 +src/PSSailpointV2024/Model/CreateWorkflowRequest.ps1 +src/PSSailpointV2024/Model/CriteriaType.ps1 +src/PSSailpointV2024/Model/CustomPasswordInstruction.ps1 +src/PSSailpointV2024/Model/DataAccess.ps1 +src/PSSailpointV2024/Model/DataAccessCategoriesInner.ps1 +src/PSSailpointV2024/Model/DataAccessImpactScore.ps1 +src/PSSailpointV2024/Model/DataAccessPoliciesInner.ps1 +src/PSSailpointV2024/Model/DateCompare.ps1 +src/PSSailpointV2024/Model/DateCompareFirstDate.ps1 +src/PSSailpointV2024/Model/DateCompareSecondDate.ps1 +src/PSSailpointV2024/Model/DateFormat.ps1 +src/PSSailpointV2024/Model/DateFormatInputFormat.ps1 +src/PSSailpointV2024/Model/DateFormatOutputFormat.ps1 +src/PSSailpointV2024/Model/DateMath.ps1 +src/PSSailpointV2024/Model/DecomposeDiacriticalMarks.ps1 +src/PSSailpointV2024/Model/DeleteNonEmployeeRecordsInBulkRequest.ps1 +src/PSSailpointV2024/Model/DeleteSource202Response.ps1 +src/PSSailpointV2024/Model/DeleteVendorConnectorMapping200Response.ps1 +src/PSSailpointV2024/Model/DiscoveredApplicationsInner.ps1 +src/PSSailpointV2024/Model/DisplayReference.ps1 +src/PSSailpointV2024/Model/DkimAttributes.ps1 +src/PSSailpointV2024/Model/DocumentType.ps1 +src/PSSailpointV2024/Model/DomainAddress.ps1 +src/PSSailpointV2024/Model/DomainStatusDto.ps1 +src/PSSailpointV2024/Model/DtoType.ps1 +src/PSSailpointV2024/Model/E164phone.ps1 +src/PSSailpointV2024/Model/EmailNotificationOption.ps1 +src/PSSailpointV2024/Model/EmailStatusDto.ps1 +src/PSSailpointV2024/Model/Entitlement.ps1 +src/PSSailpointV2024/Model/Entitlement1.ps1 +src/PSSailpointV2024/Model/Entitlement1AccessModelMetadata.ps1 +src/PSSailpointV2024/Model/Entitlement1ManuallyUpdatedFields.ps1 +src/PSSailpointV2024/Model/Entitlement1Owner.ps1 +src/PSSailpointV2024/Model/Entitlement1Source.ps1 +src/PSSailpointV2024/Model/EntitlementAccessRequestConfig.ps1 +src/PSSailpointV2024/Model/EntitlementApprovalScheme.ps1 +src/PSSailpointV2024/Model/EntitlementBulkUpdateRequest.ps1 +src/PSSailpointV2024/Model/EntitlementDocument.ps1 +src/PSSailpointV2024/Model/EntitlementDocumentAllOfSource.ps1 +src/PSSailpointV2024/Model/EntitlementDto.ps1 +src/PSSailpointV2024/Model/EntitlementRef.ps1 +src/PSSailpointV2024/Model/EntitlementRef1.ps1 +src/PSSailpointV2024/Model/EntitlementRequestConfig.ps1 +src/PSSailpointV2024/Model/EntitlementRequestConfig1.ps1 +src/PSSailpointV2024/Model/EntitlementSource.ps1 +src/PSSailpointV2024/Model/EntitlementSourceResetBaseReferenceDto.ps1 +src/PSSailpointV2024/Model/EntitlementSummary.ps1 +src/PSSailpointV2024/Model/EntityCreatedByDTO.ps1 +src/PSSailpointV2024/Model/ErrorMessage.ps1 +src/PSSailpointV2024/Model/ErrorMessageDto.ps1 +src/PSSailpointV2024/Model/ErrorResponseDto.ps1 +src/PSSailpointV2024/Model/EvaluateResponse.ps1 +src/PSSailpointV2024/Model/EventAttributes.ps1 +src/PSSailpointV2024/Model/EventBridgeConfig.ps1 +src/PSSailpointV2024/Model/EventDocument.ps1 +src/PSSailpointV2024/Model/ExceptionAccessCriteria.ps1 +src/PSSailpointV2024/Model/ExceptionCriteria.ps1 +src/PSSailpointV2024/Model/ExceptionCriteriaAccess.ps1 +src/PSSailpointV2024/Model/ExceptionCriteriaCriteriaListInner.ps1 +src/PSSailpointV2024/Model/ExecutionStatus.ps1 +src/PSSailpointV2024/Model/ExpansionItem.ps1 +src/PSSailpointV2024/Model/ExportFormDefinitionsByTenant200ResponseInner.ps1 +src/PSSailpointV2024/Model/ExportOptions.ps1 +src/PSSailpointV2024/Model/ExportPayload.ps1 +src/PSSailpointV2024/Model/Expression.ps1 +src/PSSailpointV2024/Model/ExpressionChildrenInner.ps1 +src/PSSailpointV2024/Model/ExternalAttributes.ps1 +src/PSSailpointV2024/Model/FeatureValueDto.ps1 +src/PSSailpointV2024/Model/FieldDetailsDto.ps1 +src/PSSailpointV2024/Model/FilterAggregation.ps1 +src/PSSailpointV2024/Model/FilterType.ps1 +src/PSSailpointV2024/Model/FirstValid.ps1 +src/PSSailpointV2024/Model/FormCondition.ps1 +src/PSSailpointV2024/Model/FormDefinitionDynamicSchemaRequest.ps1 +src/PSSailpointV2024/Model/FormDefinitionDynamicSchemaRequestAttributes.ps1 +src/PSSailpointV2024/Model/FormDefinitionDynamicSchemaResponse.ps1 +src/PSSailpointV2024/Model/FormDefinitionFileUploadResponse.ps1 +src/PSSailpointV2024/Model/FormDefinitionInput.ps1 +src/PSSailpointV2024/Model/FormDefinitionResponse.ps1 +src/PSSailpointV2024/Model/FormDetails.ps1 +src/PSSailpointV2024/Model/FormElement.ps1 +src/PSSailpointV2024/Model/FormElementDataSourceConfigOptions.ps1 +src/PSSailpointV2024/Model/FormElementDynamicDataSource.ps1 +src/PSSailpointV2024/Model/FormElementDynamicDataSourceConfig.ps1 +src/PSSailpointV2024/Model/FormElementPreviewRequest.ps1 +src/PSSailpointV2024/Model/FormElementValidationsSet.ps1 +src/PSSailpointV2024/Model/FormError.ps1 +src/PSSailpointV2024/Model/FormInstanceCreatedBy.ps1 +src/PSSailpointV2024/Model/FormInstanceRecipient.ps1 +src/PSSailpointV2024/Model/FormInstanceResponse.ps1 +src/PSSailpointV2024/Model/FormItemDetails.ps1 +src/PSSailpointV2024/Model/FormOwner.ps1 +src/PSSailpointV2024/Model/FormUsedBy.ps1 +src/PSSailpointV2024/Model/ForwardApprovalDto.ps1 +src/PSSailpointV2024/Model/GenerateRandomString.ps1 +src/PSSailpointV2024/Model/GetActiveCampaigns200ResponseInner.ps1 +src/PSSailpointV2024/Model/GetHistoricalIdentityEvents200ResponseInner.ps1 +src/PSSailpointV2024/Model/GetOAuthClientResponse.ps1 +src/PSSailpointV2024/Model/GetPersonalAccessTokenResponse.ps1 +src/PSSailpointV2024/Model/GetReferenceIdentityAttribute.ps1 +src/PSSailpointV2024/Model/GetRoleAssignments200ResponseInner.ps1 +src/PSSailpointV2024/Model/GrantType.ps1 +src/PSSailpointV2024/Model/HttpAuthenticationType.ps1 +src/PSSailpointV2024/Model/HttpConfig.ps1 +src/PSSailpointV2024/Model/HttpDispatchMode.ps1 +src/PSSailpointV2024/Model/ISO3166.ps1 +src/PSSailpointV2024/Model/IdentitiesAccountsBulkRequest.ps1 +src/PSSailpointV2024/Model/IdentitiesDetailsReportArguments.ps1 +src/PSSailpointV2024/Model/IdentitiesReportArguments.ps1 +src/PSSailpointV2024/Model/Identity.ps1 +src/PSSailpointV2024/Model/Identity1.ps1 +src/PSSailpointV2024/Model/IdentityAccess.ps1 +src/PSSailpointV2024/Model/IdentityAssociationDetails.ps1 +src/PSSailpointV2024/Model/IdentityAssociationDetailsAssociationDetailsInner.ps1 +src/PSSailpointV2024/Model/IdentityAttribute.ps1 +src/PSSailpointV2024/Model/IdentityAttribute1.ps1 +src/PSSailpointV2024/Model/IdentityAttribute2.ps1 +src/PSSailpointV2024/Model/IdentityAttributeConfig.ps1 +src/PSSailpointV2024/Model/IdentityAttributeNames.ps1 +src/PSSailpointV2024/Model/IdentityAttributePreview.ps1 +src/PSSailpointV2024/Model/IdentityAttributeTransform.ps1 +src/PSSailpointV2024/Model/IdentityAttributesChanged.ps1 +src/PSSailpointV2024/Model/IdentityAttributesChangedChangesInner.ps1 +src/PSSailpointV2024/Model/IdentityAttributesChangedChangesInnerNewValue.ps1 +src/PSSailpointV2024/Model/IdentityAttributesChangedChangesInnerOldValue.ps1 +src/PSSailpointV2024/Model/IdentityAttributesChangedChangesInnerOldValueOneOfValue.ps1 +src/PSSailpointV2024/Model/IdentityAttributesChangedIdentity.ps1 +src/PSSailpointV2024/Model/IdentityCertDecisionSummary.ps1 +src/PSSailpointV2024/Model/IdentityCertificationDto.ps1 +src/PSSailpointV2024/Model/IdentityCertified.ps1 +src/PSSailpointV2024/Model/IdentityCompareResponse.ps1 +src/PSSailpointV2024/Model/IdentityCreated.ps1 +src/PSSailpointV2024/Model/IdentityCreatedIdentity.ps1 +src/PSSailpointV2024/Model/IdentityDeleted.ps1 +src/PSSailpointV2024/Model/IdentityDeletedIdentity.ps1 +src/PSSailpointV2024/Model/IdentityDocument.ps1 +src/PSSailpointV2024/Model/IdentityDocumentAllOfIdentityProfile.ps1 +src/PSSailpointV2024/Model/IdentityDocumentAllOfManager.ps1 +src/PSSailpointV2024/Model/IdentityDocumentAllOfSource.ps1 +src/PSSailpointV2024/Model/IdentityDtoLifecycleState.ps1 +src/PSSailpointV2024/Model/IdentityDtoManagerRef.ps1 +src/PSSailpointV2024/Model/IdentityEntities.ps1 +src/PSSailpointV2024/Model/IdentityEntitiesIdentityEntity.ps1 +src/PSSailpointV2024/Model/IdentityExceptionReportReference.ps1 +src/PSSailpointV2024/Model/IdentityHistoryResponse.ps1 +src/PSSailpointV2024/Model/IdentityListItem.ps1 +src/PSSailpointV2024/Model/IdentityOwnershipAssociationDetails.ps1 +src/PSSailpointV2024/Model/IdentityOwnershipAssociationDetailsAssociationDetailsInner.ps1 +src/PSSailpointV2024/Model/IdentityPreviewRequest.ps1 +src/PSSailpointV2024/Model/IdentityPreviewResponse.ps1 +src/PSSailpointV2024/Model/IdentityPreviewResponseIdentity.ps1 +src/PSSailpointV2024/Model/IdentityProfile.ps1 +src/PSSailpointV2024/Model/IdentityProfileAllOfAuthoritativeSource.ps1 +src/PSSailpointV2024/Model/IdentityProfileAllOfOwner.ps1 +src/PSSailpointV2024/Model/IdentityProfileExportedObject.ps1 +src/PSSailpointV2024/Model/IdentityProfileExportedObjectSelf.ps1 +src/PSSailpointV2024/Model/IdentityProfileIdentityErrorReportArguments.ps1 +src/PSSailpointV2024/Model/IdentityReference.ps1 +src/PSSailpointV2024/Model/IdentityReferenceWithNameAndEmail.ps1 +src/PSSailpointV2024/Model/IdentitySnapshotSummaryResponse.ps1 +src/PSSailpointV2024/Model/IdentitySummary.ps1 +src/PSSailpointV2024/Model/IdentitySyncJob.ps1 +src/PSSailpointV2024/Model/IdentitySyncPayload.ps1 +src/PSSailpointV2024/Model/IdentityWithNewAccess.ps1 +src/PSSailpointV2024/Model/IdentityWithNewAccess1.ps1 +src/PSSailpointV2024/Model/IdentityWithNewAccessAccessRefsInner.ps1 +src/PSSailpointV2024/Model/ImportAccountsRequest.ps1 +src/PSSailpointV2024/Model/ImportEntitlementsBySourceRequest.ps1 +src/PSSailpointV2024/Model/ImportFormDefinitions202Response.ps1 +src/PSSailpointV2024/Model/ImportFormDefinitions202ResponseErrorsInner.ps1 +src/PSSailpointV2024/Model/ImportNonEmployeeRecordsInBulkRequest.ps1 +src/PSSailpointV2024/Model/ImportObject.ps1 +src/PSSailpointV2024/Model/ImportOptions.ps1 +src/PSSailpointV2024/Model/ImportSpConfigRequest.ps1 +src/PSSailpointV2024/Model/ImportUploadedBackupRequest.ps1 +src/PSSailpointV2024/Model/Index.ps1 +src/PSSailpointV2024/Model/IndexOf.ps1 +src/PSSailpointV2024/Model/InnerHit.ps1 +src/PSSailpointV2024/Model/Invocation.ps1 +src/PSSailpointV2024/Model/InvocationStatus.ps1 +src/PSSailpointV2024/Model/InvocationStatusType.ps1 +src/PSSailpointV2024/Model/JsonPatch.ps1 +src/PSSailpointV2024/Model/JsonPatchOperation.ps1 +src/PSSailpointV2024/Model/JsonPatchOperationValue.ps1 +src/PSSailpointV2024/Model/KbaAnswerRequestItem.ps1 +src/PSSailpointV2024/Model/KbaAnswerResponseItem.ps1 +src/PSSailpointV2024/Model/KbaQuestion.ps1 +src/PSSailpointV2024/Model/LatestOutlierSummary.ps1 +src/PSSailpointV2024/Model/LeftPad.ps1 +src/PSSailpointV2024/Model/License.ps1 +src/PSSailpointV2024/Model/LifecycleState.ps1 +src/PSSailpointV2024/Model/LifecycleStateDto.ps1 +src/PSSailpointV2024/Model/LifecyclestateDeleted.ps1 +src/PSSailpointV2024/Model/ListAccessProfiles401Response.ps1 +src/PSSailpointV2024/Model/ListAccessProfiles429Response.ps1 +src/PSSailpointV2024/Model/ListCampaignFilters200Response.ps1 +src/PSSailpointV2024/Model/ListCompleteWorkflowLibrary200ResponseInner.ps1 +src/PSSailpointV2024/Model/ListFormDefinitionsByTenantResponse.ps1 +src/PSSailpointV2024/Model/ListFormElementDataByElementIDResponse.ps1 +src/PSSailpointV2024/Model/ListFormInstancesByTenantResponse.ps1 +src/PSSailpointV2024/Model/ListIdentityAccessItems200ResponseInner.ps1 +src/PSSailpointV2024/Model/ListPredefinedSelectOptionsResponse.ps1 +src/PSSailpointV2024/Model/ListWorkgroupMembers200ResponseInner.ps1 +src/PSSailpointV2024/Model/LoadAccountsTask.ps1 +src/PSSailpointV2024/Model/LoadAccountsTaskTask.ps1 +src/PSSailpointV2024/Model/LoadAccountsTaskTaskAttributes.ps1 +src/PSSailpointV2024/Model/LoadAccountsTaskTaskMessagesInner.ps1 +src/PSSailpointV2024/Model/LoadAccountsTaskTaskReturnsInner.ps1 +src/PSSailpointV2024/Model/LoadEntitlementTask.ps1 +src/PSSailpointV2024/Model/LoadEntitlementTaskReturnsInner.ps1 +src/PSSailpointV2024/Model/LoadUncorrelatedAccountsTask.ps1 +src/PSSailpointV2024/Model/LoadUncorrelatedAccountsTaskTask.ps1 +src/PSSailpointV2024/Model/LoadUncorrelatedAccountsTaskTaskAttributes.ps1 +src/PSSailpointV2024/Model/LoadUncorrelatedAccountsTaskTaskMessagesInner.ps1 +src/PSSailpointV2024/Model/LocaleOrigin.ps1 +src/PSSailpointV2024/Model/LocalizedMessage.ps1 +src/PSSailpointV2024/Model/Lookup.ps1 +src/PSSailpointV2024/Model/LookupStep.ps1 +src/PSSailpointV2024/Model/Lower.ps1 +src/PSSailpointV2024/Model/MailFromAttributes.ps1 +src/PSSailpointV2024/Model/MailFromAttributesDto.ps1 +src/PSSailpointV2024/Model/ManagedClient.ps1 +src/PSSailpointV2024/Model/ManagedClientRequest.ps1 +src/PSSailpointV2024/Model/ManagedClientStatus.ps1 +src/PSSailpointV2024/Model/ManagedClientStatusCode.ps1 +src/PSSailpointV2024/Model/ManagedClientType.ps1 +src/PSSailpointV2024/Model/ManagedCluster.ps1 +src/PSSailpointV2024/Model/ManagedClusterAttributes.ps1 +src/PSSailpointV2024/Model/ManagedClusterKeyPair.ps1 +src/PSSailpointV2024/Model/ManagedClusterQueue.ps1 +src/PSSailpointV2024/Model/ManagedClusterRedis.ps1 +src/PSSailpointV2024/Model/ManagedClusterRequest.ps1 +src/PSSailpointV2024/Model/ManagedClusterTypes.ps1 +src/PSSailpointV2024/Model/ManagerCorrelationMapping.ps1 +src/PSSailpointV2024/Model/ManualDiscoverApplications.ps1 +src/PSSailpointV2024/Model/ManualDiscoverApplicationsTemplate.ps1 +src/PSSailpointV2024/Model/ManualWorkItemDetails.ps1 +src/PSSailpointV2024/Model/ManualWorkItemDetailsCurrentOwner.ps1 +src/PSSailpointV2024/Model/ManualWorkItemDetailsOriginalOwner.ps1 +src/PSSailpointV2024/Model/ManualWorkItemState.ps1 +src/PSSailpointV2024/Model/ManuallyUpdatedFieldsDTO.ps1 +src/PSSailpointV2024/Model/Medium.ps1 +src/PSSailpointV2024/Model/MetricAggregation.ps1 +src/PSSailpointV2024/Model/MetricResponse.ps1 +src/PSSailpointV2024/Model/MetricType.ps1 +src/PSSailpointV2024/Model/MfaConfigTestResponse.ps1 +src/PSSailpointV2024/Model/MfaDuoConfig.ps1 +src/PSSailpointV2024/Model/MfaOktaConfig.ps1 +src/PSSailpointV2024/Model/ModelError.ps1 +src/PSSailpointV2024/Model/ModelEvent.ps1 +src/PSSailpointV2024/Model/ModelFilter.ps1 +src/PSSailpointV2024/Model/MultiPolicyRequest.ps1 +src/PSSailpointV2024/Model/NameNormalizer.ps1 +src/PSSailpointV2024/Model/NamedConstructs.ps1 +src/PSSailpointV2024/Model/NativeChangeDetectionConfig.ps1 +src/PSSailpointV2024/Model/NestedAggregation.ps1 +src/PSSailpointV2024/Model/NetworkConfiguration.ps1 +src/PSSailpointV2024/Model/NonEmployeeApprovalDecision.ps1 +src/PSSailpointV2024/Model/NonEmployeeApprovalItem.ps1 +src/PSSailpointV2024/Model/NonEmployeeApprovalItemBase.ps1 +src/PSSailpointV2024/Model/NonEmployeeApprovalItemDetail.ps1 +src/PSSailpointV2024/Model/NonEmployeeApprovalSummary.ps1 +src/PSSailpointV2024/Model/NonEmployeeBulkUploadJob.ps1 +src/PSSailpointV2024/Model/NonEmployeeBulkUploadStatus.ps1 +src/PSSailpointV2024/Model/NonEmployeeIdentityDtoType.ps1 +src/PSSailpointV2024/Model/NonEmployeeIdentityReferenceWithId.ps1 +src/PSSailpointV2024/Model/NonEmployeeIdnUserRequest.ps1 +src/PSSailpointV2024/Model/NonEmployeeRecord.ps1 +src/PSSailpointV2024/Model/NonEmployeeRejectApprovalDecision.ps1 +src/PSSailpointV2024/Model/NonEmployeeRequest.ps1 +src/PSSailpointV2024/Model/NonEmployeeRequestBody.ps1 +src/PSSailpointV2024/Model/NonEmployeeRequestLite.ps1 +src/PSSailpointV2024/Model/NonEmployeeRequestSummary.ps1 +src/PSSailpointV2024/Model/NonEmployeeRequestWithoutApprovalItem.ps1 +src/PSSailpointV2024/Model/NonEmployeeSchemaAttribute.ps1 +src/PSSailpointV2024/Model/NonEmployeeSchemaAttributeBody.ps1 +src/PSSailpointV2024/Model/NonEmployeeSchemaAttributeType.ps1 +src/PSSailpointV2024/Model/NonEmployeeSource.ps1 +src/PSSailpointV2024/Model/NonEmployeeSourceLite.ps1 +src/PSSailpointV2024/Model/NonEmployeeSourceLiteWithSchemaAttributes.ps1 +src/PSSailpointV2024/Model/NonEmployeeSourceRequestBody.ps1 +src/PSSailpointV2024/Model/NonEmployeeSourceWithCloudExternalId.ps1 +src/PSSailpointV2024/Model/NonEmployeeSourceWithNECount.ps1 +src/PSSailpointV2024/Model/NotificationTemplateContext.ps1 +src/PSSailpointV2024/Model/ObjectExportImportOptions.ps1 +src/PSSailpointV2024/Model/ObjectImportResult.ps1 +src/PSSailpointV2024/Model/ObjectImportResult1.ps1 +src/PSSailpointV2024/Model/ObjectMappingBulkCreateRequest.ps1 +src/PSSailpointV2024/Model/ObjectMappingBulkCreateResponse.ps1 +src/PSSailpointV2024/Model/ObjectMappingBulkPatchRequest.ps1 +src/PSSailpointV2024/Model/ObjectMappingBulkPatchResponse.ps1 +src/PSSailpointV2024/Model/ObjectMappingRequest.ps1 +src/PSSailpointV2024/Model/ObjectMappingResponse.ps1 +src/PSSailpointV2024/Model/Operation.ps1 +src/PSSailpointV2024/Model/OrgConfig.ps1 +src/PSSailpointV2024/Model/OriginalRequest.ps1 +src/PSSailpointV2024/Model/OrphanUncorrelatedReportArguments.ps1 +src/PSSailpointV2024/Model/Outlier.ps1 +src/PSSailpointV2024/Model/OutlierContributingFeature.ps1 +src/PSSailpointV2024/Model/OutlierContributingFeatureValue.ps1 +src/PSSailpointV2024/Model/OutlierFeatureSummary.ps1 +src/PSSailpointV2024/Model/OutlierFeatureSummaryOutlierFeatureDisplayValuesInner.ps1 +src/PSSailpointV2024/Model/OutlierFeatureTranslation.ps1 +src/PSSailpointV2024/Model/OutlierSummary.ps1 +src/PSSailpointV2024/Model/OutliersContributingFeatureAccessItems.ps1 +src/PSSailpointV2024/Model/OwnerDto.ps1 +src/PSSailpointV2024/Model/OwnerReference.ps1 +src/PSSailpointV2024/Model/OwnerReferenceDto.ps1 +src/PSSailpointV2024/Model/OwnerReferenceSegments.ps1 +src/PSSailpointV2024/Model/Owns.ps1 +src/PSSailpointV2024/Model/PasswordChangeRequest.ps1 +src/PSSailpointV2024/Model/PasswordChangeResponse.ps1 +src/PSSailpointV2024/Model/PasswordDigitToken.ps1 +src/PSSailpointV2024/Model/PasswordDigitTokenReset.ps1 +src/PSSailpointV2024/Model/PasswordInfo.ps1 +src/PSSailpointV2024/Model/PasswordInfoAccount.ps1 +src/PSSailpointV2024/Model/PasswordInfoQueryDTO.ps1 +src/PSSailpointV2024/Model/PasswordOrgConfig.ps1 +src/PSSailpointV2024/Model/PasswordPolicyV3Dto.ps1 +src/PSSailpointV2024/Model/PasswordStatus.ps1 +src/PSSailpointV2024/Model/PasswordSyncGroup.ps1 +src/PSSailpointV2024/Model/PatOwner.ps1 +src/PSSailpointV2024/Model/PatchPotentialRoleRequestInner.ps1 +src/PSSailpointV2024/Model/PatchServiceDeskIntegrationRequest.ps1 +src/PSSailpointV2024/Model/PeerGroupMember.ps1 +src/PSSailpointV2024/Model/PendingApproval.ps1 +src/PSSailpointV2024/Model/PendingApprovalAction.ps1 +src/PSSailpointV2024/Model/PendingApprovalOwner.ps1 +src/PSSailpointV2024/Model/PermissionDto.ps1 +src/PSSailpointV2024/Model/PreApprovalTriggerDetails.ps1 +src/PSSailpointV2024/Model/PreferencesDto.ps1 +src/PSSailpointV2024/Model/PreviewDataSourceResponse.ps1 +src/PSSailpointV2024/Model/ProcessIdentitiesRequest.ps1 +src/PSSailpointV2024/Model/ProcessingDetails.ps1 +src/PSSailpointV2024/Model/Product.ps1 +src/PSSailpointV2024/Model/ProvisioningCompleted.ps1 +src/PSSailpointV2024/Model/ProvisioningCompletedAccountRequestsInner.ps1 +src/PSSailpointV2024/Model/ProvisioningCompletedAccountRequestsInnerAttributeRequestsInner.ps1 +src/PSSailpointV2024/Model/ProvisioningCompletedAccountRequestsInnerSource.ps1 +src/PSSailpointV2024/Model/ProvisioningCompletedRecipient.ps1 +src/PSSailpointV2024/Model/ProvisioningCompletedRequester.ps1 +src/PSSailpointV2024/Model/ProvisioningConfig.ps1 +src/PSSailpointV2024/Model/ProvisioningConfig1.ps1 +src/PSSailpointV2024/Model/ProvisioningConfig1ManagedResourceRefsInner.ps1 +src/PSSailpointV2024/Model/ProvisioningConfig1PlanInitializerScript.ps1 +src/PSSailpointV2024/Model/ProvisioningConfigPlanInitializerScript.ps1 +src/PSSailpointV2024/Model/ProvisioningCriteriaLevel1.ps1 +src/PSSailpointV2024/Model/ProvisioningCriteriaLevel2.ps1 +src/PSSailpointV2024/Model/ProvisioningCriteriaLevel3.ps1 +src/PSSailpointV2024/Model/ProvisioningCriteriaOperation.ps1 +src/PSSailpointV2024/Model/ProvisioningDetails.ps1 +src/PSSailpointV2024/Model/ProvisioningPolicy.ps1 +src/PSSailpointV2024/Model/ProvisioningPolicyDto.ps1 +src/PSSailpointV2024/Model/ProvisioningState.ps1 +src/PSSailpointV2024/Model/PublicIdentity.ps1 +src/PSSailpointV2024/Model/PublicIdentityAttributeConfig.ps1 +src/PSSailpointV2024/Model/PublicIdentityConfig.ps1 +src/PSSailpointV2024/Model/PutCorrelationConfigRequest.ps1 +src/PSSailpointV2024/Model/PutPasswordDictionaryRequest.ps1 +src/PSSailpointV2024/Model/PutSourceConfigRequest.ps1 +src/PSSailpointV2024/Model/PutSourceTemplateRequest.ps1 +src/PSSailpointV2024/Model/Query.ps1 +src/PSSailpointV2024/Model/QueryResultFilter.ps1 +src/PSSailpointV2024/Model/QueryType.ps1 +src/PSSailpointV2024/Model/QueuedCheckConfigDetails.ps1 +src/PSSailpointV2024/Model/RandomAlphaNumeric.ps1 +src/PSSailpointV2024/Model/RandomNumeric.ps1 +src/PSSailpointV2024/Model/Range.ps1 +src/PSSailpointV2024/Model/ReassignReference.ps1 +src/PSSailpointV2024/Model/Reassignment.ps1 +src/PSSailpointV2024/Model/Reassignment1.ps1 +src/PSSailpointV2024/Model/ReassignmentReference.ps1 +src/PSSailpointV2024/Model/ReassignmentTrailDTO.ps1 +src/PSSailpointV2024/Model/ReassignmentType.ps1 +src/PSSailpointV2024/Model/ReassignmentTypeEnum.ps1 +src/PSSailpointV2024/Model/RecommendationConfigDto.ps1 +src/PSSailpointV2024/Model/RecommendationRequest.ps1 +src/PSSailpointV2024/Model/RecommendationRequestDto.ps1 +src/PSSailpointV2024/Model/RecommendationResponse.ps1 +src/PSSailpointV2024/Model/RecommendationResponseDto.ps1 +src/PSSailpointV2024/Model/RecommenderCalculations.ps1 +src/PSSailpointV2024/Model/RecommenderCalculationsIdentityAttributesValue.ps1 +src/PSSailpointV2024/Model/Reference.ps1 +src/PSSailpointV2024/Model/Reference1.ps1 +src/PSSailpointV2024/Model/RemediationItemDetails.ps1 +src/PSSailpointV2024/Model/RemediationItems.ps1 +src/PSSailpointV2024/Model/Replace.ps1 +src/PSSailpointV2024/Model/ReplaceAll.ps1 +src/PSSailpointV2024/Model/ReportConfigDTO.ps1 +src/PSSailpointV2024/Model/ReportDetails.ps1 +src/PSSailpointV2024/Model/ReportDetailsArguments.ps1 +src/PSSailpointV2024/Model/ReportResultReference.ps1 +src/PSSailpointV2024/Model/ReportResults.ps1 +src/PSSailpointV2024/Model/ReportType.ps1 +src/PSSailpointV2024/Model/RequestOnBehalfOfConfig.ps1 +src/PSSailpointV2024/Model/Requestability.ps1 +src/PSSailpointV2024/Model/RequestabilityForRole.ps1 +src/PSSailpointV2024/Model/RequestableObject.ps1 +src/PSSailpointV2024/Model/RequestableObjectReference.ps1 +src/PSSailpointV2024/Model/RequestableObjectRequestStatus.ps1 +src/PSSailpointV2024/Model/RequestableObjectType.ps1 +src/PSSailpointV2024/Model/RequestedItemStatus.ps1 +src/PSSailpointV2024/Model/RequestedItemStatusCancelledRequestDetails.ps1 +src/PSSailpointV2024/Model/RequestedItemStatusPreApprovalTriggerDetails.ps1 +src/PSSailpointV2024/Model/RequestedItemStatusProvisioningDetails.ps1 +src/PSSailpointV2024/Model/RequestedItemStatusRequestState.ps1 +src/PSSailpointV2024/Model/RequestedItemStatusRequestedFor.ps1 +src/PSSailpointV2024/Model/RequestedItemStatusRequesterComment.ps1 +src/PSSailpointV2024/Model/RequestedItemStatusSodViolationContext.ps1 +src/PSSailpointV2024/Model/ResourceObject.ps1 +src/PSSailpointV2024/Model/ResourceObjectsRequest.ps1 +src/PSSailpointV2024/Model/ResourceObjectsResponse.ps1 +src/PSSailpointV2024/Model/ReviewDecision.ps1 +src/PSSailpointV2024/Model/ReviewReassign.ps1 +src/PSSailpointV2024/Model/ReviewRecommendation.ps1 +src/PSSailpointV2024/Model/ReviewableAccessProfile.ps1 +src/PSSailpointV2024/Model/ReviewableEntitlement.ps1 +src/PSSailpointV2024/Model/ReviewableEntitlementAccount.ps1 +src/PSSailpointV2024/Model/ReviewableRole.ps1 +src/PSSailpointV2024/Model/Reviewer.ps1 +src/PSSailpointV2024/Model/Reviewer1.ps1 +src/PSSailpointV2024/Model/Revocability.ps1 +src/PSSailpointV2024/Model/RevocabilityForRole.ps1 +src/PSSailpointV2024/Model/RightPad.ps1 +src/PSSailpointV2024/Model/Role.ps1 +src/PSSailpointV2024/Model/RoleAssignmentDto.ps1 +src/PSSailpointV2024/Model/RoleAssignmentRef.ps1 +src/PSSailpointV2024/Model/RoleAssignmentSourceType.ps1 +src/PSSailpointV2024/Model/RoleBulkDeleteRequest.ps1 +src/PSSailpointV2024/Model/RoleCriteriaKey.ps1 +src/PSSailpointV2024/Model/RoleCriteriaKeyType.ps1 +src/PSSailpointV2024/Model/RoleCriteriaLevel1.ps1 +src/PSSailpointV2024/Model/RoleCriteriaLevel2.ps1 +src/PSSailpointV2024/Model/RoleCriteriaLevel3.ps1 +src/PSSailpointV2024/Model/RoleCriteriaOperation.ps1 +src/PSSailpointV2024/Model/RoleDocument.ps1 +src/PSSailpointV2024/Model/RoleIdentity.ps1 +src/PSSailpointV2024/Model/RoleInsight.ps1 +src/PSSailpointV2024/Model/RoleInsightsEntitlement.ps1 +src/PSSailpointV2024/Model/RoleInsightsEntitlementChanges.ps1 +src/PSSailpointV2024/Model/RoleInsightsIdentities.ps1 +src/PSSailpointV2024/Model/RoleInsightsInsight.ps1 +src/PSSailpointV2024/Model/RoleInsightsResponse.ps1 +src/PSSailpointV2024/Model/RoleInsightsRole.ps1 +src/PSSailpointV2024/Model/RoleInsightsSummary.ps1 +src/PSSailpointV2024/Model/RoleMatchDto.ps1 +src/PSSailpointV2024/Model/RoleMembershipIdentity.ps1 +src/PSSailpointV2024/Model/RoleMembershipSelector.ps1 +src/PSSailpointV2024/Model/RoleMembershipSelectorType.ps1 +src/PSSailpointV2024/Model/RoleMiningEntitlement.ps1 +src/PSSailpointV2024/Model/RoleMiningEntitlementRef.ps1 +src/PSSailpointV2024/Model/RoleMiningIdentity.ps1 +src/PSSailpointV2024/Model/RoleMiningIdentityDistribution.ps1 +src/PSSailpointV2024/Model/RoleMiningPotentialRole.ps1 +src/PSSailpointV2024/Model/RoleMiningPotentialRoleApplication.ps1 +src/PSSailpointV2024/Model/RoleMiningPotentialRoleEditEntitlements.ps1 +src/PSSailpointV2024/Model/RoleMiningPotentialRoleExportRequest.ps1 +src/PSSailpointV2024/Model/RoleMiningPotentialRoleExportResponse.ps1 +src/PSSailpointV2024/Model/RoleMiningPotentialRoleExportState.ps1 +src/PSSailpointV2024/Model/RoleMiningPotentialRoleProvisionRequest.ps1 +src/PSSailpointV2024/Model/RoleMiningPotentialRoleProvisionState.ps1 +src/PSSailpointV2024/Model/RoleMiningPotentialRoleRef.ps1 +src/PSSailpointV2024/Model/RoleMiningPotentialRoleSourceUsage.ps1 +src/PSSailpointV2024/Model/RoleMiningPotentialRoleSummary.ps1 +src/PSSailpointV2024/Model/RoleMiningPotentialRoleSummaryCreatedBy.ps1 +src/PSSailpointV2024/Model/RoleMiningRoleType.ps1 +src/PSSailpointV2024/Model/RoleMiningSessionDraftRoleDto.ps1 +src/PSSailpointV2024/Model/RoleMiningSessionDto.ps1 +src/PSSailpointV2024/Model/RoleMiningSessionParametersDto.ps1 +src/PSSailpointV2024/Model/RoleMiningSessionResponse.ps1 +src/PSSailpointV2024/Model/RoleMiningSessionResponseCreatedBy.ps1 +src/PSSailpointV2024/Model/RoleMiningSessionScope.ps1 +src/PSSailpointV2024/Model/RoleMiningSessionScopingMethod.ps1 +src/PSSailpointV2024/Model/RoleMiningSessionState.ps1 +src/PSSailpointV2024/Model/RoleMiningSessionStatus.ps1 +src/PSSailpointV2024/Model/RoleSummary.ps1 +src/PSSailpointV2024/Model/RoleTargetDto.ps1 +src/PSSailpointV2024/Model/Rule.ps1 +src/PSSailpointV2024/Model/SavedSearch.ps1 +src/PSSailpointV2024/Model/SavedSearchComplete.ps1 +src/PSSailpointV2024/Model/SavedSearchCompleteSearchResults.ps1 +src/PSSailpointV2024/Model/SavedSearchCompleteSearchResultsAccount.ps1 +src/PSSailpointV2024/Model/SavedSearchCompleteSearchResultsEntitlement.ps1 +src/PSSailpointV2024/Model/SavedSearchCompleteSearchResultsIdentity.ps1 +src/PSSailpointV2024/Model/SavedSearchDetail.ps1 +src/PSSailpointV2024/Model/SavedSearchDetailFilters.ps1 +src/PSSailpointV2024/Model/SavedSearchName.ps1 +src/PSSailpointV2024/Model/Schedule.ps1 +src/PSSailpointV2024/Model/Schedule1.ps1 +src/PSSailpointV2024/Model/Schedule1Days.ps1 +src/PSSailpointV2024/Model/Schedule1Hours.ps1 +src/PSSailpointV2024/Model/Schedule1Months.ps1 +src/PSSailpointV2024/Model/ScheduleDays.ps1 +src/PSSailpointV2024/Model/ScheduleHours.ps1 +src/PSSailpointV2024/Model/ScheduleMonths.ps1 +src/PSSailpointV2024/Model/ScheduleType.ps1 +src/PSSailpointV2024/Model/ScheduledAttributes.ps1 +src/PSSailpointV2024/Model/ScheduledSearch.ps1 +src/PSSailpointV2024/Model/ScheduledSearchAllOfOwner.ps1 +src/PSSailpointV2024/Model/ScheduledSearchName.ps1 +src/PSSailpointV2024/Model/Schema.ps1 +src/PSSailpointV2024/Model/Search.ps1 +src/PSSailpointV2024/Model/SearchAggregationSpecification.ps1 +src/PSSailpointV2024/Model/SearchArguments.ps1 +src/PSSailpointV2024/Model/SearchAttributeConfig.ps1 +src/PSSailpointV2024/Model/SearchExportReportArguments.ps1 +src/PSSailpointV2024/Model/SearchFilterType.ps1 +src/PSSailpointV2024/Model/SearchFormDefinitionsByTenant400Response.ps1 +src/PSSailpointV2024/Model/SearchSchedule.ps1 +src/PSSailpointV2024/Model/SearchScheduleRecipientsInner.ps1 +src/PSSailpointV2024/Model/SectionDetails.ps1 +src/PSSailpointV2024/Model/Sed.ps1 +src/PSSailpointV2024/Model/SedApproval.ps1 +src/PSSailpointV2024/Model/SedApprovalStatus.ps1 +src/PSSailpointV2024/Model/SedAssignee.ps1 +src/PSSailpointV2024/Model/SedAssignment.ps1 +src/PSSailpointV2024/Model/SedAssignmentResponse.ps1 +src/PSSailpointV2024/Model/SedBatchRequest.ps1 +src/PSSailpointV2024/Model/SedBatchResponse.ps1 +src/PSSailpointV2024/Model/SedBatchStats.ps1 +src/PSSailpointV2024/Model/SedBatchStatus.ps1 +src/PSSailpointV2024/Model/SedPatch.ps1 +src/PSSailpointV2024/Model/Segment.ps1 +src/PSSailpointV2024/Model/SegmentVisibilityCriteria.ps1 +src/PSSailpointV2024/Model/Selector.ps1 +src/PSSailpointV2024/Model/SelectorType.ps1 +src/PSSailpointV2024/Model/SelfImportExportDto.ps1 +src/PSSailpointV2024/Model/SendTestNotificationRequestDto.ps1 +src/PSSailpointV2024/Model/ServiceDeskIntegrationDto.ps1 +src/PSSailpointV2024/Model/ServiceDeskIntegrationDto1.ps1 +src/PSSailpointV2024/Model/ServiceDeskIntegrationTemplateDto.ps1 +src/PSSailpointV2024/Model/ServiceDeskIntegrationTemplateType.ps1 +src/PSSailpointV2024/Model/ServiceDeskSource.ps1 +src/PSSailpointV2024/Model/SetIcon200Response.ps1 +src/PSSailpointV2024/Model/SetIconRequest.ps1 +src/PSSailpointV2024/Model/SetLifecycleState200Response.ps1 +src/PSSailpointV2024/Model/SetLifecycleStateRequest.ps1 +src/PSSailpointV2024/Model/SimIntegrationDetails.ps1 +src/PSSailpointV2024/Model/SimIntegrationDetailsAllOfBeforeProvisioningRule.ps1 +src/PSSailpointV2024/Model/SlimCampaign.ps1 +src/PSSailpointV2024/Model/SodExemptCriteria.ps1 +src/PSSailpointV2024/Model/SodPolicy.ps1 +src/PSSailpointV2024/Model/SodPolicyConflictingAccessCriteria.ps1 +src/PSSailpointV2024/Model/SodPolicyDto.ps1 +src/PSSailpointV2024/Model/SodPolicyOwnerRef.ps1 +src/PSSailpointV2024/Model/SodPolicySchedule.ps1 +src/PSSailpointV2024/Model/SodRecipient.ps1 +src/PSSailpointV2024/Model/SodReportResultDto.ps1 +src/PSSailpointV2024/Model/SodViolationCheck.ps1 +src/PSSailpointV2024/Model/SodViolationCheckResult.ps1 +src/PSSailpointV2024/Model/SodViolationContext.ps1 +src/PSSailpointV2024/Model/SodViolationContextCheckCompleted.ps1 +src/PSSailpointV2024/Model/SodViolationContextConflictingAccessCriteria.ps1 +src/PSSailpointV2024/Model/SodViolationContextConflictingAccessCriteriaLeftCriteria.ps1 +src/PSSailpointV2024/Model/Source.ps1 +src/PSSailpointV2024/Model/Source1.ps1 +src/PSSailpointV2024/Model/SourceAccountCorrelationConfig.ps1 +src/PSSailpointV2024/Model/SourceAccountCorrelationRule.ps1 +src/PSSailpointV2024/Model/SourceAccountCreated.ps1 +src/PSSailpointV2024/Model/SourceAccountDeleted.ps1 +src/PSSailpointV2024/Model/SourceAccountUpdated.ps1 +src/PSSailpointV2024/Model/SourceBeforeProvisioningRule.ps1 +src/PSSailpointV2024/Model/SourceCluster.ps1 +src/PSSailpointV2024/Model/SourceClusterDto.ps1 +src/PSSailpointV2024/Model/SourceCode.ps1 +src/PSSailpointV2024/Model/SourceCreated.ps1 +src/PSSailpointV2024/Model/SourceCreatedActor.ps1 +src/PSSailpointV2024/Model/SourceDeleted.ps1 +src/PSSailpointV2024/Model/SourceDeletedActor.ps1 +src/PSSailpointV2024/Model/SourceEntitlementRequestConfig.ps1 +src/PSSailpointV2024/Model/SourceHealthDto.ps1 +src/PSSailpointV2024/Model/SourceManagementWorkgroup.ps1 +src/PSSailpointV2024/Model/SourceManagerCorrelationMapping.ps1 +src/PSSailpointV2024/Model/SourceManagerCorrelationRule.ps1 +src/PSSailpointV2024/Model/SourceOwner.ps1 +src/PSSailpointV2024/Model/SourcePasswordPoliciesInner.ps1 +src/PSSailpointV2024/Model/SourceSchemasInner.ps1 +src/PSSailpointV2024/Model/SourceSyncJob.ps1 +src/PSSailpointV2024/Model/SourceSyncPayload.ps1 +src/PSSailpointV2024/Model/SourceUpdated.ps1 +src/PSSailpointV2024/Model/SourceUpdatedActor.ps1 +src/PSSailpointV2024/Model/SourceUsage.ps1 +src/PSSailpointV2024/Model/SourceUsageStatus.ps1 +src/PSSailpointV2024/Model/SpConfigExportJob.ps1 +src/PSSailpointV2024/Model/SpConfigExportJobStatus.ps1 +src/PSSailpointV2024/Model/SpConfigExportResults.ps1 +src/PSSailpointV2024/Model/SpConfigImportJobStatus.ps1 +src/PSSailpointV2024/Model/SpConfigImportResults.ps1 +src/PSSailpointV2024/Model/SpConfigJob.ps1 +src/PSSailpointV2024/Model/SpConfigMessage.ps1 +src/PSSailpointV2024/Model/SpConfigMessage1.ps1 +src/PSSailpointV2024/Model/SpConfigObject.ps1 +src/PSSailpointV2024/Model/SpConfigUrl.ps1 +src/PSSailpointV2024/Model/Split.ps1 +src/PSSailpointV2024/Model/StandardLevel.ps1 +src/PSSailpointV2024/Model/StartInvocationInput.ps1 +src/PSSailpointV2024/Model/Static.ps1 +src/PSSailpointV2024/Model/StatusResponse.ps1 +src/PSSailpointV2024/Model/SubSearchAggregationSpecification.ps1 +src/PSSailpointV2024/Model/Subscription.ps1 +src/PSSailpointV2024/Model/SubscriptionPatchRequestInner.ps1 +src/PSSailpointV2024/Model/SubscriptionPatchRequestInnerValue.ps1 +src/PSSailpointV2024/Model/SubscriptionPatchRequestInnerValueAnyOfInner.ps1 +src/PSSailpointV2024/Model/SubscriptionPostRequest.ps1 +src/PSSailpointV2024/Model/SubscriptionPutRequest.ps1 +src/PSSailpointV2024/Model/SubscriptionType.ps1 +src/PSSailpointV2024/Model/Substring.ps1 +src/PSSailpointV2024/Model/TaggedObject.ps1 +src/PSSailpointV2024/Model/TaggedObjectDto.ps1 +src/PSSailpointV2024/Model/Target.ps1 +src/PSSailpointV2024/Model/TaskDefinitionSummary.ps1 +src/PSSailpointV2024/Model/TaskResultDetails.ps1 +src/PSSailpointV2024/Model/TaskResultDetailsMessagesInner.ps1 +src/PSSailpointV2024/Model/TaskResultDetailsReturnsInner.ps1 +src/PSSailpointV2024/Model/TaskResultDto.ps1 +src/PSSailpointV2024/Model/TaskResultResponse.ps1 +src/PSSailpointV2024/Model/TaskResultSimplified.ps1 +src/PSSailpointV2024/Model/TaskReturnDetails.ps1 +src/PSSailpointV2024/Model/TaskStatus.ps1 +src/PSSailpointV2024/Model/TaskStatusMessage.ps1 +src/PSSailpointV2024/Model/TemplateBulkDeleteDto.ps1 +src/PSSailpointV2024/Model/TemplateDto.ps1 +src/PSSailpointV2024/Model/TemplateDtoDefault.ps1 +src/PSSailpointV2024/Model/TemplateSlack.ps1 +src/PSSailpointV2024/Model/TemplateSlackAutoApprovalData.ps1 +src/PSSailpointV2024/Model/TemplateSlackCustomFields.ps1 +src/PSSailpointV2024/Model/TemplateTeams.ps1 +src/PSSailpointV2024/Model/Tenant.ps1 +src/PSSailpointV2024/Model/TenantConfigurationDetails.ps1 +src/PSSailpointV2024/Model/TenantConfigurationRequest.ps1 +src/PSSailpointV2024/Model/TenantConfigurationResponse.ps1 +src/PSSailpointV2024/Model/TenantUiMetadataItemResponse.ps1 +src/PSSailpointV2024/Model/TenantUiMetadataItemUpdateRequest.ps1 +src/PSSailpointV2024/Model/TestExternalExecuteWorkflow200Response.ps1 +src/PSSailpointV2024/Model/TestExternalExecuteWorkflowRequest.ps1 +src/PSSailpointV2024/Model/TestInvocation.ps1 +src/PSSailpointV2024/Model/TestWorkflow200Response.ps1 +src/PSSailpointV2024/Model/TestWorkflowRequest.ps1 +src/PSSailpointV2024/Model/TextQuery.ps1 +src/PSSailpointV2024/Model/Transform.ps1 +src/PSSailpointV2024/Model/TransformAttributes.ps1 +src/PSSailpointV2024/Model/TransformDefinition.ps1 +src/PSSailpointV2024/Model/TransformDefinitionAttributesValue.ps1 +src/PSSailpointV2024/Model/TransformRead.ps1 +src/PSSailpointV2024/Model/TransformRule.ps1 +src/PSSailpointV2024/Model/TranslationMessage.ps1 +src/PSSailpointV2024/Model/Trigger.ps1 +src/PSSailpointV2024/Model/TriggerExampleInput.ps1 +src/PSSailpointV2024/Model/TriggerExampleOutput.ps1 +src/PSSailpointV2024/Model/TriggerType.ps1 +src/PSSailpointV2024/Model/Trim.ps1 +src/PSSailpointV2024/Model/TypeAheadQuery.ps1 +src/PSSailpointV2024/Model/TypedReference.ps1 +src/PSSailpointV2024/Model/UUIDGenerator.ps1 +src/PSSailpointV2024/Model/UpdateAccessProfilesInBulk412Response.ps1 +src/PSSailpointV2024/Model/UpdateDetail.ps1 +src/PSSailpointV2024/Model/UploadsRequest.ps1 +src/PSSailpointV2024/Model/UploadsResponse.ps1 +src/PSSailpointV2024/Model/Upper.ps1 +src/PSSailpointV2024/Model/UsageType.ps1 +src/PSSailpointV2024/Model/V3ConnectorDto.ps1 +src/PSSailpointV2024/Model/V3CreateConnectorDto.ps1 +src/PSSailpointV2024/Model/VAClusterStatusChangeEvent.ps1 +src/PSSailpointV2024/Model/VAClusterStatusChangeEventApplication.ps1 +src/PSSailpointV2024/Model/VAClusterStatusChangeEventHealthCheckResult.ps1 +src/PSSailpointV2024/Model/VAClusterStatusChangeEventPreviousHealthCheckResult.ps1 +src/PSSailpointV2024/Model/ValidateFilterInputDto.ps1 +src/PSSailpointV2024/Model/ValidateFilterOutputDto.ps1 +src/PSSailpointV2024/Model/Value.ps1 +src/PSSailpointV2024/Model/VendorConnectorMapping.ps1 +src/PSSailpointV2024/Model/VendorConnectorMappingDeletedAt.ps1 +src/PSSailpointV2024/Model/VendorConnectorMappingDeletedBy.ps1 +src/PSSailpointV2024/Model/VendorConnectorMappingUpdatedAt.ps1 +src/PSSailpointV2024/Model/VendorConnectorMappingUpdatedBy.ps1 +src/PSSailpointV2024/Model/ViolationContext.ps1 +src/PSSailpointV2024/Model/ViolationContextPolicy.ps1 +src/PSSailpointV2024/Model/ViolationOwnerAssignmentConfig.ps1 +src/PSSailpointV2024/Model/ViolationOwnerAssignmentConfigOwnerRef.ps1 +src/PSSailpointV2024/Model/ViolationPrediction.ps1 +src/PSSailpointV2024/Model/VisibilityCriteria.ps1 +src/PSSailpointV2024/Model/WorkItemForward.ps1 +src/PSSailpointV2024/Model/WorkItemState.ps1 +src/PSSailpointV2024/Model/WorkItemStateManualWorkItems.ps1 +src/PSSailpointV2024/Model/WorkItemTypeManualWorkItems.ps1 +src/PSSailpointV2024/Model/WorkItems.ps1 +src/PSSailpointV2024/Model/WorkItemsCount.ps1 +src/PSSailpointV2024/Model/WorkItemsForm.ps1 +src/PSSailpointV2024/Model/WorkItemsSummary.ps1 +src/PSSailpointV2024/Model/Workflow.ps1 +src/PSSailpointV2024/Model/WorkflowAllOfCreator.ps1 +src/PSSailpointV2024/Model/WorkflowBody.ps1 +src/PSSailpointV2024/Model/WorkflowBodyOwner.ps1 +src/PSSailpointV2024/Model/WorkflowDefinition.ps1 +src/PSSailpointV2024/Model/WorkflowExecution.ps1 +src/PSSailpointV2024/Model/WorkflowExecutionEvent.ps1 +src/PSSailpointV2024/Model/WorkflowLibraryAction.ps1 +src/PSSailpointV2024/Model/WorkflowLibraryActionExampleOutput.ps1 +src/PSSailpointV2024/Model/WorkflowLibraryFormFields.ps1 +src/PSSailpointV2024/Model/WorkflowLibraryOperator.ps1 +src/PSSailpointV2024/Model/WorkflowLibraryTrigger.ps1 +src/PSSailpointV2024/Model/WorkflowModifiedBy.ps1 +src/PSSailpointV2024/Model/WorkflowOAuthClient.ps1 +src/PSSailpointV2024/Model/WorkflowTrigger.ps1 +src/PSSailpointV2024/Model/WorkflowTriggerAttributes.ps1 +src/PSSailpointV2024/Model/WorkgroupBulkDeleteRequest.ps1 +src/PSSailpointV2024/Model/WorkgroupConnectionDto.ps1 +src/PSSailpointV2024/Model/WorkgroupDeleteItem.ps1 +src/PSSailpointV2024/Model/WorkgroupDto.ps1 +src/PSSailpointV2024/Model/WorkgroupDtoOwner.ps1 +src/PSSailpointV2024/Model/WorkgroupMemberAddItem.ps1 +src/PSSailpointV2024/Model/WorkgroupMemberDeleteItem.ps1 +src/PSSailpointV2024/PSSailpointV2024.psm1 +src/PSSailpointV2024/Private/Get-CommonParameters.ps1 +src/PSSailpointV2024/Private/Out-DebugParameter.ps1 +src/PSSailpointV2024/Private/V2024ApiClient.ps1 +src/PSSailpointV2024/Private/V2024HttpSignatureAuth.ps1 +src/PSSailpointV2024/Private/V2024RSAEncryptionProvider.cs +src/PSSailpointV2024/en-US/about_PSSailpointV2024.help.txt +tests/Api/V2024AccessModelMetadataApi.Tests.ps1 +tests/Api/V2024AccessProfilesApi.Tests.ps1 +tests/Api/V2024AccessRequestApprovalsApi.Tests.ps1 +tests/Api/V2024AccessRequestIdentityMetricsApi.Tests.ps1 +tests/Api/V2024AccessRequestsApi.Tests.ps1 +tests/Api/V2024AccountActivitiesApi.Tests.ps1 +tests/Api/V2024AccountAggregationsApi.Tests.ps1 +tests/Api/V2024AccountUsagesApi.Tests.ps1 +tests/Api/V2024AccountsApi.Tests.ps1 +tests/Api/V2024ApplicationDiscoveryApi.Tests.ps1 +tests/Api/V2024ApprovalsApi.Tests.ps1 +tests/Api/V2024AuthProfileApi.Tests.ps1 +tests/Api/V2024AuthUsersApi.Tests.ps1 +tests/Api/V2024BrandingApi.Tests.ps1 +tests/Api/V2024CertificationCampaignFiltersApi.Tests.ps1 +tests/Api/V2024CertificationCampaignsApi.Tests.ps1 +tests/Api/V2024CertificationSummariesApi.Tests.ps1 +tests/Api/V2024CertificationsApi.Tests.ps1 +tests/Api/V2024ConfigurationHubApi.Tests.ps1 +tests/Api/V2024ConnectorRuleManagementApi.Tests.ps1 +tests/Api/V2024ConnectorsApi.Tests.ps1 +tests/Api/V2024CustomFormsApi.Tests.ps1 +tests/Api/V2024CustomPasswordInstructionsApi.Tests.ps1 +tests/Api/V2024EntitlementsApi.Tests.ps1 +tests/Api/V2024GlobalTenantSecuritySettingsApi.Tests.ps1 +tests/Api/V2024GovernanceGroupsApi.Tests.ps1 +tests/Api/V2024IAIAccessRequestRecommendationsApi.Tests.ps1 +tests/Api/V2024IAICommonAccessApi.Tests.ps1 +tests/Api/V2024IAIOutliersApi.Tests.ps1 +tests/Api/V2024IAIPeerGroupStrategiesApi.Tests.ps1 +tests/Api/V2024IAIRecommendationsApi.Tests.ps1 +tests/Api/V2024IAIRoleMiningApi.Tests.ps1 +tests/Api/V2024IconsApi.Tests.ps1 +tests/Api/V2024IdentitiesApi.Tests.ps1 +tests/Api/V2024IdentityAttributesApi.Tests.ps1 +tests/Api/V2024IdentityHistoryApi.Tests.ps1 +tests/Api/V2024IdentityProfilesApi.Tests.ps1 +tests/Api/V2024LifecycleStatesApi.Tests.ps1 +tests/Api/V2024MFAConfigurationApi.Tests.ps1 +tests/Api/V2024ManagedClientsApi.Tests.ps1 +tests/Api/V2024ManagedClustersApi.Tests.ps1 +tests/Api/V2024NonEmployeeLifecycleManagementApi.Tests.ps1 +tests/Api/V2024NotificationsApi.Tests.ps1 +tests/Api/V2024OAuthClientsApi.Tests.ps1 +tests/Api/V2024OrgConfigApi.Tests.ps1 +tests/Api/V2024PasswordConfigurationApi.Tests.ps1 +tests/Api/V2024PasswordDictionaryApi.Tests.ps1 +tests/Api/V2024PasswordManagementApi.Tests.ps1 +tests/Api/V2024PasswordPoliciesApi.Tests.ps1 +tests/Api/V2024PasswordSyncGroupsApi.Tests.ps1 +tests/Api/V2024PersonalAccessTokensApi.Tests.ps1 +tests/Api/V2024PublicIdentitiesApi.Tests.ps1 +tests/Api/V2024PublicIdentitiesConfigApi.Tests.ps1 +tests/Api/V2024ReportsDataExtractionApi.Tests.ps1 +tests/Api/V2024RequestableObjectsApi.Tests.ps1 +tests/Api/V2024RoleInsightsApi.Tests.ps1 +tests/Api/V2024RolesApi.Tests.ps1 +tests/Api/V2024SIMIntegrationsApi.Tests.ps1 +tests/Api/V2024SODPoliciesApi.Tests.ps1 +tests/Api/V2024SODViolationsApi.Tests.ps1 +tests/Api/V2024SPConfigApi.Tests.ps1 +tests/Api/V2024SavedSearchApi.Tests.ps1 +tests/Api/V2024ScheduledSearchApi.Tests.ps1 +tests/Api/V2024SearchApi.Tests.ps1 +tests/Api/V2024SearchAttributeConfigurationApi.Tests.ps1 +tests/Api/V2024SegmentsApi.Tests.ps1 +tests/Api/V2024ServiceDeskIntegrationApi.Tests.ps1 +tests/Api/V2024SourceUsagesApi.Tests.ps1 +tests/Api/V2024SourcesApi.Tests.ps1 +tests/Api/V2024SuggestedEntitlementDescriptionApi.Tests.ps1 +tests/Api/V2024TaggedObjectsApi.Tests.ps1 +tests/Api/V2024TaskManagementApi.Tests.ps1 +tests/Api/V2024TenantApi.Tests.ps1 +tests/Api/V2024TransformsApi.Tests.ps1 +tests/Api/V2024TriggersApi.Tests.ps1 +tests/Api/V2024UIMetadataApi.Tests.ps1 +tests/Api/V2024VendorConnectorMappingsApi.Tests.ps1 +tests/Api/V2024WorkItemsApi.Tests.ps1 +tests/Api/V2024WorkReassignmentApi.Tests.ps1 +tests/Api/V2024WorkflowsApi.Tests.ps1 +tests/Model/Access.Tests.ps1 +tests/Model/AccessConstraint.Tests.ps1 +tests/Model/AccessCriteria.Tests.ps1 +tests/Model/AccessCriteriaCriteriaListInner.Tests.ps1 +tests/Model/AccessItemAccessProfileResponse.Tests.ps1 +tests/Model/AccessItemAccountResponse.Tests.ps1 +tests/Model/AccessItemAppResponse.Tests.ps1 +tests/Model/AccessItemApproverDto.Tests.ps1 +tests/Model/AccessItemAssociated.Tests.ps1 +tests/Model/AccessItemAssociatedAccessItem.Tests.ps1 +tests/Model/AccessItemDiff.Tests.ps1 +tests/Model/AccessItemEntitlementResponse.Tests.ps1 +tests/Model/AccessItemRef.Tests.ps1 +tests/Model/AccessItemRemoved.Tests.ps1 +tests/Model/AccessItemRequestedFor.Tests.ps1 +tests/Model/AccessItemRequestedForDto.Tests.ps1 +tests/Model/AccessItemRequester.Tests.ps1 +tests/Model/AccessItemRequesterDto.Tests.ps1 +tests/Model/AccessItemReviewedBy.Tests.ps1 +tests/Model/AccessItemRoleResponse.Tests.ps1 +tests/Model/AccessProfile.Tests.ps1 +tests/Model/AccessProfileApprovalScheme.Tests.ps1 +tests/Model/AccessProfileBulkDeleteRequest.Tests.ps1 +tests/Model/AccessProfileBulkDeleteResponse.Tests.ps1 +tests/Model/AccessProfileBulkUpdateRequestInner.Tests.ps1 +tests/Model/AccessProfileDocument.Tests.ps1 +tests/Model/AccessProfileDocumentAllOfSource.Tests.ps1 +tests/Model/AccessProfileEntitlement.Tests.ps1 +tests/Model/AccessProfileRef.Tests.ps1 +tests/Model/AccessProfileRole.Tests.ps1 +tests/Model/AccessProfileSourceRef.Tests.ps1 +tests/Model/AccessProfileSummary.Tests.ps1 +tests/Model/AccessProfileUpdateItem.Tests.ps1 +tests/Model/AccessProfileUsage.Tests.ps1 +tests/Model/AccessProfileUsageUsedByInner.Tests.ps1 +tests/Model/AccessRecommendationMessage.Tests.ps1 +tests/Model/AccessRequest.Tests.ps1 +tests/Model/AccessRequestConfig.Tests.ps1 +tests/Model/AccessRequestContext.Tests.ps1 +tests/Model/AccessRequestDynamicApprover.Tests.ps1 +tests/Model/AccessRequestDynamicApprover1.Tests.ps1 +tests/Model/AccessRequestDynamicApproverRequestedItemsInner.Tests.ps1 +tests/Model/AccessRequestItem.Tests.ps1 +tests/Model/AccessRequestItemResponse.Tests.ps1 +tests/Model/AccessRequestPhases.Tests.ps1 +tests/Model/AccessRequestPostApproval.Tests.ps1 +tests/Model/AccessRequestPostApprovalRequestedItemsStatusInner.Tests.ps1 +tests/Model/AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInner.Tests.ps1 +tests/Model/AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInnerApprover.Tests.ps1 +tests/Model/AccessRequestPreApproval.Tests.ps1 +tests/Model/AccessRequestPreApproval1.Tests.ps1 +tests/Model/AccessRequestPreApprovalRequestedItemsInner.Tests.ps1 +tests/Model/AccessRequestRecommendationActionItemDto.Tests.ps1 +tests/Model/AccessRequestRecommendationActionItemResponseDto.Tests.ps1 +tests/Model/AccessRequestRecommendationItem.Tests.ps1 +tests/Model/AccessRequestRecommendationItemDetail.Tests.ps1 +tests/Model/AccessRequestRecommendationItemDetailAccess.Tests.ps1 +tests/Model/AccessRequestRecommendationItemType.Tests.ps1 +tests/Model/AccessRequestResponse.Tests.ps1 +tests/Model/AccessRequestType.Tests.ps1 +tests/Model/AccessRequested.Tests.ps1 +tests/Model/AccessReviewItem.Tests.ps1 +tests/Model/AccessReviewReassignment.Tests.ps1 +tests/Model/AccessSummary.Tests.ps1 +tests/Model/AccessSummaryAccess.Tests.ps1 +tests/Model/AccessType.Tests.ps1 +tests/Model/Account.Tests.ps1 +tests/Model/AccountAction.Tests.ps1 +tests/Model/AccountActivity.Tests.ps1 +tests/Model/AccountActivityApprovalStatus.Tests.ps1 +tests/Model/AccountActivityDocument.Tests.ps1 +tests/Model/AccountActivityItem.Tests.ps1 +tests/Model/AccountActivityItemOperation.Tests.ps1 +tests/Model/AccountActivitySearchedItem.Tests.ps1 +tests/Model/AccountAggregationCompleted.Tests.ps1 +tests/Model/AccountAggregationCompletedSource.Tests.ps1 +tests/Model/AccountAggregationCompletedStats.Tests.ps1 +tests/Model/AccountAggregationStatus.Tests.ps1 +tests/Model/AccountAllOfOwnerGroup.Tests.ps1 +tests/Model/AccountAllOfOwnerIdentity.Tests.ps1 +tests/Model/AccountAllOfSourceOwner.Tests.ps1 +tests/Model/AccountAttribute.Tests.ps1 +tests/Model/AccountAttributes.Tests.ps1 +tests/Model/AccountAttributesChanged.Tests.ps1 +tests/Model/AccountAttributesChangedAccount.Tests.ps1 +tests/Model/AccountAttributesChangedChangesInner.Tests.ps1 +tests/Model/AccountAttributesChangedChangesInnerNewValue.Tests.ps1 +tests/Model/AccountAttributesChangedChangesInnerOldValue.Tests.ps1 +tests/Model/AccountAttributesChangedIdentity.Tests.ps1 +tests/Model/AccountAttributesChangedSource.Tests.ps1 +tests/Model/AccountAttributesCreate.Tests.ps1 +tests/Model/AccountAttributesCreateAttributes.Tests.ps1 +tests/Model/AccountCorrelated.Tests.ps1 +tests/Model/AccountCorrelatedAccount.Tests.ps1 +tests/Model/AccountCorrelatedIdentity.Tests.ps1 +tests/Model/AccountCorrelatedSource.Tests.ps1 +tests/Model/AccountInfoDto.Tests.ps1 +tests/Model/AccountRequest.Tests.ps1 +tests/Model/AccountRequestInfo.Tests.ps1 +tests/Model/AccountRequestResult.Tests.ps1 +tests/Model/AccountSource.Tests.ps1 +tests/Model/AccountStatusChanged.Tests.ps1 +tests/Model/AccountStatusChangedAccount.Tests.ps1 +tests/Model/AccountStatusChangedStatusChange.Tests.ps1 +tests/Model/AccountToggleRequest.Tests.ps1 +tests/Model/AccountUncorrelated.Tests.ps1 +tests/Model/AccountUncorrelatedAccount.Tests.ps1 +tests/Model/AccountUncorrelatedIdentity.Tests.ps1 +tests/Model/AccountUncorrelatedSource.Tests.ps1 +tests/Model/AccountUnlockRequest.Tests.ps1 +tests/Model/AccountUsage.Tests.ps1 +tests/Model/AccountsAsyncResult.Tests.ps1 +tests/Model/AccountsCollectedForAggregation.Tests.ps1 +tests/Model/AccountsCollectedForAggregationSource.Tests.ps1 +tests/Model/AccountsCollectedForAggregationStats.Tests.ps1 +tests/Model/AccountsExportReportArguments.Tests.ps1 +tests/Model/ActivateCampaignOptions.Tests.ps1 +tests/Model/ActivityInsights.Tests.ps1 +tests/Model/AdminReviewReassign.Tests.ps1 +tests/Model/AdminReviewReassignReassignTo.Tests.ps1 +tests/Model/AggregationResult.Tests.ps1 +tests/Model/AggregationType.Tests.ps1 +tests/Model/Aggregations.Tests.ps1 +tests/Model/App.Tests.ps1 +tests/Model/AppAllOfAccount.Tests.ps1 +tests/Model/Approval.Tests.ps1 +tests/Model/Approval1.Tests.ps1 +tests/Model/ApprovalBatch.Tests.ps1 +tests/Model/ApprovalComment.Tests.ps1 +tests/Model/ApprovalComment1.Tests.ps1 +tests/Model/ApprovalDescription.Tests.ps1 +tests/Model/ApprovalDto.Tests.ps1 +tests/Model/ApprovalForwardHistory.Tests.ps1 +tests/Model/ApprovalIdentity.Tests.ps1 +tests/Model/ApprovalInfoResponse.Tests.ps1 +tests/Model/ApprovalItemDetails.Tests.ps1 +tests/Model/ApprovalItems.Tests.ps1 +tests/Model/ApprovalName.Tests.ps1 +tests/Model/ApprovalReference.Tests.ps1 +tests/Model/ApprovalReminderAndEscalationConfig.Tests.ps1 +tests/Model/ApprovalScheme.Tests.ps1 +tests/Model/ApprovalSchemeForRole.Tests.ps1 +tests/Model/ApprovalStatus.Tests.ps1 +tests/Model/ApprovalStatusDto.Tests.ps1 +tests/Model/ApprovalStatusDtoCurrentOwner.Tests.ps1 +tests/Model/ApprovalStatusDtoOriginalOwner.Tests.ps1 +tests/Model/ApprovalSummary.Tests.ps1 +tests/Model/Argument.Tests.ps1 +tests/Model/ArrayInner.Tests.ps1 +tests/Model/AssignmentContextDto.Tests.ps1 +tests/Model/AttrSyncSource.Tests.ps1 +tests/Model/AttrSyncSourceAttributeConfig.Tests.ps1 +tests/Model/AttrSyncSourceConfig.Tests.ps1 +tests/Model/AttributeChange.Tests.ps1 +tests/Model/AttributeDTO.Tests.ps1 +tests/Model/AttributeDTOList.Tests.ps1 +tests/Model/AttributeDefinition.Tests.ps1 +tests/Model/AttributeDefinitionSchema.Tests.ps1 +tests/Model/AttributeDefinitionType.Tests.ps1 +tests/Model/AttributeRequest.Tests.ps1 +tests/Model/AttributeValueDTO.Tests.ps1 +tests/Model/AttributesChanged.Tests.ps1 +tests/Model/AuditDetails.Tests.ps1 +tests/Model/AuthProfile.Tests.ps1 +tests/Model/AuthProfileSummary.Tests.ps1 +tests/Model/AuthUser.Tests.ps1 +tests/Model/Base64Decode.Tests.ps1 +tests/Model/Base64Encode.Tests.ps1 +tests/Model/BaseAccess.Tests.ps1 +tests/Model/BaseAccessAllOfOwner.Tests.ps1 +tests/Model/BaseAccessProfile.Tests.ps1 +tests/Model/BaseAccount.Tests.ps1 +tests/Model/BaseCommonDto.Tests.ps1 +tests/Model/BaseCommonDto1.Tests.ps1 +tests/Model/BaseDocument.Tests.ps1 +tests/Model/BaseEntitlement.Tests.ps1 +tests/Model/BaseReferenceDto.Tests.ps1 +tests/Model/BaseReferenceDto1.Tests.ps1 +tests/Model/BaseSegment.Tests.ps1 +tests/Model/BasicAuthConfig.Tests.ps1 +tests/Model/BearerTokenAuthConfig.Tests.ps1 +tests/Model/BeforeProvisioningRuleDto.Tests.ps1 +tests/Model/Bound.Tests.ps1 +tests/Model/BrandingItem.Tests.ps1 +tests/Model/BrandingItemCreate.Tests.ps1 +tests/Model/BucketAggregation.Tests.ps1 +tests/Model/BucketType.Tests.ps1 +tests/Model/BulkAddTaggedObject.Tests.ps1 +tests/Model/BulkIdentitiesAccountsResponse.Tests.ps1 +tests/Model/BulkRemoveTaggedObject.Tests.ps1 +tests/Model/BulkTaggedObjectResponse.Tests.ps1 +tests/Model/Campaign.Tests.ps1 +tests/Model/CampaignActivated.Tests.ps1 +tests/Model/CampaignActivatedCampaign.Tests.ps1 +tests/Model/CampaignActivatedCampaignCampaignOwner.Tests.ps1 +tests/Model/CampaignAlert.Tests.ps1 +tests/Model/CampaignAllOfFilter.Tests.ps1 +tests/Model/CampaignAllOfRoleCompositionCampaignInfo.Tests.ps1 +tests/Model/CampaignAllOfRoleCompositionCampaignInfoRemediatorRef.Tests.ps1 +tests/Model/CampaignAllOfSearchCampaignInfo.Tests.ps1 +tests/Model/CampaignAllOfSearchCampaignInfoReviewer.Tests.ps1 +tests/Model/CampaignAllOfSourceOwnerCampaignInfo.Tests.ps1 +tests/Model/CampaignAllOfSourcesWithOrphanEntitlements.Tests.ps1 +tests/Model/CampaignCompleteOptions.Tests.ps1 +tests/Model/CampaignEnded.Tests.ps1 +tests/Model/CampaignEndedCampaign.Tests.ps1 +tests/Model/CampaignFilterDetails.Tests.ps1 +tests/Model/CampaignFilterDetailsCriteriaListInner.Tests.ps1 +tests/Model/CampaignGenerated.Tests.ps1 +tests/Model/CampaignGeneratedCampaign.Tests.ps1 +tests/Model/CampaignGeneratedCampaignCampaignOwner.Tests.ps1 +tests/Model/CampaignReference.Tests.ps1 +tests/Model/CampaignReport.Tests.ps1 +tests/Model/CampaignReportsConfig.Tests.ps1 +tests/Model/CampaignTemplate.Tests.ps1 +tests/Model/CampaignTemplateOwnerRef.Tests.ps1 +tests/Model/CampaignsDeleteRequest.Tests.ps1 +tests/Model/CancelAccessRequest.Tests.ps1 +tests/Model/CancelledRequestDetails.Tests.ps1 +tests/Model/Certification.Tests.ps1 +tests/Model/CertificationDecision.Tests.ps1 +tests/Model/CertificationDto.Tests.ps1 +tests/Model/CertificationIdentitySummary.Tests.ps1 +tests/Model/CertificationPhase.Tests.ps1 +tests/Model/CertificationReference.Tests.ps1 +tests/Model/CertificationReference1.Tests.ps1 +tests/Model/CertificationReferenceDto.Tests.ps1 +tests/Model/CertificationSignedOff.Tests.ps1 +tests/Model/CertificationSignedOffCertification.Tests.ps1 +tests/Model/CertificationTask.Tests.ps1 +tests/Model/CertifierResponse.Tests.ps1 +tests/Model/ClientLogConfiguration.Tests.ps1 +tests/Model/ClientType.Tests.ps1 +tests/Model/CloseAccessRequest.Tests.ps1 +tests/Model/Column.Tests.ps1 +tests/Model/Comment.Tests.ps1 +tests/Model/CommentDto.Tests.ps1 +tests/Model/CommentDtoAuthor.Tests.ps1 +tests/Model/CommonAccessIDStatus.Tests.ps1 +tests/Model/CommonAccessItemAccess.Tests.ps1 +tests/Model/CommonAccessItemRequest.Tests.ps1 +tests/Model/CommonAccessItemResponse.Tests.ps1 +tests/Model/CommonAccessItemState.Tests.ps1 +tests/Model/CommonAccessResponse.Tests.ps1 +tests/Model/CommonAccessType.Tests.ps1 +tests/Model/CompleteInvocation.Tests.ps1 +tests/Model/CompleteInvocationInput.Tests.ps1 +tests/Model/CompletedApproval.Tests.ps1 +tests/Model/CompletedApprovalPreApprovalTriggerResult.Tests.ps1 +tests/Model/CompletedApprovalRequesterComment.Tests.ps1 +tests/Model/CompletedApprovalReviewerComment.Tests.ps1 +tests/Model/CompletedApprovalState.Tests.ps1 +tests/Model/CompletionStatus.Tests.ps1 +tests/Model/Concatenation.Tests.ps1 +tests/Model/ConditionEffect.Tests.ps1 +tests/Model/ConditionEffectConfig.Tests.ps1 +tests/Model/ConditionRule.Tests.ps1 +tests/Model/Conditional.Tests.ps1 +tests/Model/ConfigObject.Tests.ps1 +tests/Model/ConfigType.Tests.ps1 +tests/Model/ConfigTypeEnum.Tests.ps1 +tests/Model/ConfigTypeEnumCamel.Tests.ps1 +tests/Model/ConfigurationDetailsResponse.Tests.ps1 +tests/Model/ConfigurationItemRequest.Tests.ps1 +tests/Model/ConfigurationItemResponse.Tests.ps1 +tests/Model/ConfigurationResponse.Tests.ps1 +tests/Model/ConflictingAccessCriteria.Tests.ps1 +tests/Model/ConnectedObject.Tests.ps1 +tests/Model/ConnectedObjectType.Tests.ps1 +tests/Model/ConnectorDetail.Tests.ps1 +tests/Model/ConnectorDetail1.Tests.ps1 +tests/Model/ConnectorRuleCreateRequest.Tests.ps1 +tests/Model/ConnectorRuleCreateRequestSignature.Tests.ps1 +tests/Model/ConnectorRuleResponse.Tests.ps1 +tests/Model/ConnectorRuleUpdateRequest.Tests.ps1 +tests/Model/ConnectorRuleValidationResponse.Tests.ps1 +tests/Model/ConnectorRuleValidationResponseDetailsInner.Tests.ps1 +tests/Model/ContextAttributeDto.Tests.ps1 +tests/Model/ContextAttributeDtoValue.Tests.ps1 +tests/Model/CorrelatedGovernanceEvent.Tests.ps1 +tests/Model/CreateDomainDkim405Response.Tests.ps1 +tests/Model/CreateExternalExecuteWorkflow200Response.Tests.ps1 +tests/Model/CreateExternalExecuteWorkflowRequest.Tests.ps1 +tests/Model/CreateFormDefinitionFileRequestRequest.Tests.ps1 +tests/Model/CreateFormDefinitionRequest.Tests.ps1 +tests/Model/CreateFormInstanceRequest.Tests.ps1 +tests/Model/CreateOAuthClientRequest.Tests.ps1 +tests/Model/CreateOAuthClientResponse.Tests.ps1 +tests/Model/CreatePersonalAccessTokenRequest.Tests.ps1 +tests/Model/CreatePersonalAccessTokenResponse.Tests.ps1 +tests/Model/CreateSavedSearchRequest.Tests.ps1 +tests/Model/CreateScheduledSearchRequest.Tests.ps1 +tests/Model/CreateWorkflowRequest.Tests.ps1 +tests/Model/CriteriaType.Tests.ps1 +tests/Model/CustomPasswordInstruction.Tests.ps1 +tests/Model/DataAccess.Tests.ps1 +tests/Model/DataAccessCategoriesInner.Tests.ps1 +tests/Model/DataAccessImpactScore.Tests.ps1 +tests/Model/DataAccessPoliciesInner.Tests.ps1 +tests/Model/DateCompare.Tests.ps1 +tests/Model/DateCompareFirstDate.Tests.ps1 +tests/Model/DateCompareSecondDate.Tests.ps1 +tests/Model/DateFormat.Tests.ps1 +tests/Model/DateFormatInputFormat.Tests.ps1 +tests/Model/DateFormatOutputFormat.Tests.ps1 +tests/Model/DateMath.Tests.ps1 +tests/Model/DecomposeDiacriticalMarks.Tests.ps1 +tests/Model/DeleteNonEmployeeRecordsInBulkRequest.Tests.ps1 +tests/Model/DeleteSource202Response.Tests.ps1 +tests/Model/DeleteVendorConnectorMapping200Response.Tests.ps1 +tests/Model/DiscoveredApplicationsInner.Tests.ps1 +tests/Model/DisplayReference.Tests.ps1 +tests/Model/DkimAttributes.Tests.ps1 +tests/Model/DocumentType.Tests.ps1 +tests/Model/DomainAddress.Tests.ps1 +tests/Model/DomainStatusDto.Tests.ps1 +tests/Model/DtoType.Tests.ps1 +tests/Model/E164phone.Tests.ps1 +tests/Model/EmailNotificationOption.Tests.ps1 +tests/Model/EmailStatusDto.Tests.ps1 +tests/Model/Entitlement.Tests.ps1 +tests/Model/Entitlement1.Tests.ps1 +tests/Model/Entitlement1AccessModelMetadata.Tests.ps1 +tests/Model/Entitlement1ManuallyUpdatedFields.Tests.ps1 +tests/Model/Entitlement1Owner.Tests.ps1 +tests/Model/Entitlement1Source.Tests.ps1 +tests/Model/EntitlementAccessRequestConfig.Tests.ps1 +tests/Model/EntitlementApprovalScheme.Tests.ps1 +tests/Model/EntitlementBulkUpdateRequest.Tests.ps1 +tests/Model/EntitlementDocument.Tests.ps1 +tests/Model/EntitlementDocumentAllOfSource.Tests.ps1 +tests/Model/EntitlementDto.Tests.ps1 +tests/Model/EntitlementRef.Tests.ps1 +tests/Model/EntitlementRef1.Tests.ps1 +tests/Model/EntitlementRequestConfig.Tests.ps1 +tests/Model/EntitlementRequestConfig1.Tests.ps1 +tests/Model/EntitlementSource.Tests.ps1 +tests/Model/EntitlementSourceResetBaseReferenceDto.Tests.ps1 +tests/Model/EntitlementSummary.Tests.ps1 +tests/Model/EntityCreatedByDTO.Tests.ps1 +tests/Model/ErrorMessage.Tests.ps1 +tests/Model/ErrorMessageDto.Tests.ps1 +tests/Model/ErrorResponseDto.Tests.ps1 +tests/Model/EvaluateResponse.Tests.ps1 +tests/Model/EventAttributes.Tests.ps1 +tests/Model/EventBridgeConfig.Tests.ps1 +tests/Model/EventDocument.Tests.ps1 +tests/Model/ExceptionAccessCriteria.Tests.ps1 +tests/Model/ExceptionCriteria.Tests.ps1 +tests/Model/ExceptionCriteriaAccess.Tests.ps1 +tests/Model/ExceptionCriteriaCriteriaListInner.Tests.ps1 +tests/Model/ExecutionStatus.Tests.ps1 +tests/Model/ExpansionItem.Tests.ps1 +tests/Model/ExportFormDefinitionsByTenant200ResponseInner.Tests.ps1 +tests/Model/ExportOptions.Tests.ps1 +tests/Model/ExportPayload.Tests.ps1 +tests/Model/Expression.Tests.ps1 +tests/Model/ExpressionChildrenInner.Tests.ps1 +tests/Model/ExternalAttributes.Tests.ps1 +tests/Model/FeatureValueDto.Tests.ps1 +tests/Model/FieldDetailsDto.Tests.ps1 +tests/Model/FilterAggregation.Tests.ps1 +tests/Model/FilterType.Tests.ps1 +tests/Model/FirstValid.Tests.ps1 +tests/Model/FormCondition.Tests.ps1 +tests/Model/FormDefinitionDynamicSchemaRequest.Tests.ps1 +tests/Model/FormDefinitionDynamicSchemaRequestAttributes.Tests.ps1 +tests/Model/FormDefinitionDynamicSchemaResponse.Tests.ps1 +tests/Model/FormDefinitionFileUploadResponse.Tests.ps1 +tests/Model/FormDefinitionInput.Tests.ps1 +tests/Model/FormDefinitionResponse.Tests.ps1 +tests/Model/FormDetails.Tests.ps1 +tests/Model/FormElement.Tests.ps1 +tests/Model/FormElementDataSourceConfigOptions.Tests.ps1 +tests/Model/FormElementDynamicDataSource.Tests.ps1 +tests/Model/FormElementDynamicDataSourceConfig.Tests.ps1 +tests/Model/FormElementPreviewRequest.Tests.ps1 +tests/Model/FormElementValidationsSet.Tests.ps1 +tests/Model/FormError.Tests.ps1 +tests/Model/FormInstanceCreatedBy.Tests.ps1 +tests/Model/FormInstanceRecipient.Tests.ps1 +tests/Model/FormInstanceResponse.Tests.ps1 +tests/Model/FormItemDetails.Tests.ps1 +tests/Model/FormOwner.Tests.ps1 +tests/Model/FormUsedBy.Tests.ps1 +tests/Model/ForwardApprovalDto.Tests.ps1 +tests/Model/GenerateRandomString.Tests.ps1 +tests/Model/GetActiveCampaigns200ResponseInner.Tests.ps1 +tests/Model/GetHistoricalIdentityEvents200ResponseInner.Tests.ps1 +tests/Model/GetOAuthClientResponse.Tests.ps1 +tests/Model/GetPersonalAccessTokenResponse.Tests.ps1 +tests/Model/GetReferenceIdentityAttribute.Tests.ps1 +tests/Model/GetRoleAssignments200ResponseInner.Tests.ps1 +tests/Model/GrantType.Tests.ps1 +tests/Model/HttpAuthenticationType.Tests.ps1 +tests/Model/HttpConfig.Tests.ps1 +tests/Model/HttpDispatchMode.Tests.ps1 +tests/Model/ISO3166.Tests.ps1 +tests/Model/IdentitiesAccountsBulkRequest.Tests.ps1 +tests/Model/IdentitiesDetailsReportArguments.Tests.ps1 +tests/Model/IdentitiesReportArguments.Tests.ps1 +tests/Model/Identity.Tests.ps1 +tests/Model/Identity1.Tests.ps1 +tests/Model/IdentityAccess.Tests.ps1 +tests/Model/IdentityAssociationDetails.Tests.ps1 +tests/Model/IdentityAssociationDetailsAssociationDetailsInner.Tests.ps1 +tests/Model/IdentityAttribute.Tests.ps1 +tests/Model/IdentityAttribute1.Tests.ps1 +tests/Model/IdentityAttribute2.Tests.ps1 +tests/Model/IdentityAttributeConfig.Tests.ps1 +tests/Model/IdentityAttributeNames.Tests.ps1 +tests/Model/IdentityAttributePreview.Tests.ps1 +tests/Model/IdentityAttributeTransform.Tests.ps1 +tests/Model/IdentityAttributesChanged.Tests.ps1 +tests/Model/IdentityAttributesChangedChangesInner.Tests.ps1 +tests/Model/IdentityAttributesChangedChangesInnerNewValue.Tests.ps1 +tests/Model/IdentityAttributesChangedChangesInnerOldValue.Tests.ps1 +tests/Model/IdentityAttributesChangedChangesInnerOldValueOneOfValue.Tests.ps1 +tests/Model/IdentityAttributesChangedIdentity.Tests.ps1 +tests/Model/IdentityCertDecisionSummary.Tests.ps1 +tests/Model/IdentityCertificationDto.Tests.ps1 +tests/Model/IdentityCertified.Tests.ps1 +tests/Model/IdentityCompareResponse.Tests.ps1 +tests/Model/IdentityCreated.Tests.ps1 +tests/Model/IdentityCreatedIdentity.Tests.ps1 +tests/Model/IdentityDeleted.Tests.ps1 +tests/Model/IdentityDeletedIdentity.Tests.ps1 +tests/Model/IdentityDocument.Tests.ps1 +tests/Model/IdentityDocumentAllOfIdentityProfile.Tests.ps1 +tests/Model/IdentityDocumentAllOfManager.Tests.ps1 +tests/Model/IdentityDocumentAllOfSource.Tests.ps1 +tests/Model/IdentityDtoLifecycleState.Tests.ps1 +tests/Model/IdentityDtoManagerRef.Tests.ps1 +tests/Model/IdentityEntities.Tests.ps1 +tests/Model/IdentityEntitiesIdentityEntity.Tests.ps1 +tests/Model/IdentityExceptionReportReference.Tests.ps1 +tests/Model/IdentityHistoryResponse.Tests.ps1 +tests/Model/IdentityListItem.Tests.ps1 +tests/Model/IdentityOwnershipAssociationDetails.Tests.ps1 +tests/Model/IdentityOwnershipAssociationDetailsAssociationDetailsInner.Tests.ps1 +tests/Model/IdentityPreviewRequest.Tests.ps1 +tests/Model/IdentityPreviewResponse.Tests.ps1 +tests/Model/IdentityPreviewResponseIdentity.Tests.ps1 +tests/Model/IdentityProfile.Tests.ps1 +tests/Model/IdentityProfileAllOfAuthoritativeSource.Tests.ps1 +tests/Model/IdentityProfileAllOfOwner.Tests.ps1 +tests/Model/IdentityProfileExportedObject.Tests.ps1 +tests/Model/IdentityProfileExportedObjectSelf.Tests.ps1 +tests/Model/IdentityProfileIdentityErrorReportArguments.Tests.ps1 +tests/Model/IdentityReference.Tests.ps1 +tests/Model/IdentityReferenceWithNameAndEmail.Tests.ps1 +tests/Model/IdentitySnapshotSummaryResponse.Tests.ps1 +tests/Model/IdentitySummary.Tests.ps1 +tests/Model/IdentitySyncJob.Tests.ps1 +tests/Model/IdentitySyncPayload.Tests.ps1 +tests/Model/IdentityWithNewAccess.Tests.ps1 +tests/Model/IdentityWithNewAccess1.Tests.ps1 +tests/Model/IdentityWithNewAccessAccessRefsInner.Tests.ps1 +tests/Model/ImportAccountsRequest.Tests.ps1 +tests/Model/ImportEntitlementsBySourceRequest.Tests.ps1 +tests/Model/ImportFormDefinitions202Response.Tests.ps1 +tests/Model/ImportFormDefinitions202ResponseErrorsInner.Tests.ps1 +tests/Model/ImportNonEmployeeRecordsInBulkRequest.Tests.ps1 +tests/Model/ImportObject.Tests.ps1 +tests/Model/ImportOptions.Tests.ps1 +tests/Model/ImportSpConfigRequest.Tests.ps1 +tests/Model/ImportUploadedBackupRequest.Tests.ps1 +tests/Model/Index.Tests.ps1 +tests/Model/IndexOf.Tests.ps1 +tests/Model/InnerHit.Tests.ps1 +tests/Model/Invocation.Tests.ps1 +tests/Model/InvocationStatus.Tests.ps1 +tests/Model/InvocationStatusType.Tests.ps1 +tests/Model/JsonPatch.Tests.ps1 +tests/Model/JsonPatchOperation.Tests.ps1 +tests/Model/JsonPatchOperationValue.Tests.ps1 +tests/Model/KbaAnswerRequestItem.Tests.ps1 +tests/Model/KbaAnswerResponseItem.Tests.ps1 +tests/Model/KbaQuestion.Tests.ps1 +tests/Model/LatestOutlierSummary.Tests.ps1 +tests/Model/LeftPad.Tests.ps1 +tests/Model/License.Tests.ps1 +tests/Model/LifecycleState.Tests.ps1 +tests/Model/LifecycleStateDto.Tests.ps1 +tests/Model/LifecyclestateDeleted.Tests.ps1 +tests/Model/ListAccessProfiles401Response.Tests.ps1 +tests/Model/ListAccessProfiles429Response.Tests.ps1 +tests/Model/ListCampaignFilters200Response.Tests.ps1 +tests/Model/ListCompleteWorkflowLibrary200ResponseInner.Tests.ps1 +tests/Model/ListFormDefinitionsByTenantResponse.Tests.ps1 +tests/Model/ListFormElementDataByElementIDResponse.Tests.ps1 +tests/Model/ListFormInstancesByTenantResponse.Tests.ps1 +tests/Model/ListIdentityAccessItems200ResponseInner.Tests.ps1 +tests/Model/ListPredefinedSelectOptionsResponse.Tests.ps1 +tests/Model/ListWorkgroupMembers200ResponseInner.Tests.ps1 +tests/Model/LoadAccountsTask.Tests.ps1 +tests/Model/LoadAccountsTaskTask.Tests.ps1 +tests/Model/LoadAccountsTaskTaskAttributes.Tests.ps1 +tests/Model/LoadAccountsTaskTaskMessagesInner.Tests.ps1 +tests/Model/LoadAccountsTaskTaskReturnsInner.Tests.ps1 +tests/Model/LoadEntitlementTask.Tests.ps1 +tests/Model/LoadEntitlementTaskReturnsInner.Tests.ps1 +tests/Model/LoadUncorrelatedAccountsTask.Tests.ps1 +tests/Model/LoadUncorrelatedAccountsTaskTask.Tests.ps1 +tests/Model/LoadUncorrelatedAccountsTaskTaskAttributes.Tests.ps1 +tests/Model/LoadUncorrelatedAccountsTaskTaskMessagesInner.Tests.ps1 +tests/Model/LocaleOrigin.Tests.ps1 +tests/Model/LocalizedMessage.Tests.ps1 +tests/Model/Lookup.Tests.ps1 +tests/Model/LookupStep.Tests.ps1 +tests/Model/Lower.Tests.ps1 +tests/Model/MailFromAttributes.Tests.ps1 +tests/Model/MailFromAttributesDto.Tests.ps1 +tests/Model/ManagedClient.Tests.ps1 +tests/Model/ManagedClientRequest.Tests.ps1 +tests/Model/ManagedClientStatus.Tests.ps1 +tests/Model/ManagedClientStatusCode.Tests.ps1 +tests/Model/ManagedClientType.Tests.ps1 +tests/Model/ManagedCluster.Tests.ps1 +tests/Model/ManagedClusterAttributes.Tests.ps1 +tests/Model/ManagedClusterKeyPair.Tests.ps1 +tests/Model/ManagedClusterQueue.Tests.ps1 +tests/Model/ManagedClusterRedis.Tests.ps1 +tests/Model/ManagedClusterRequest.Tests.ps1 +tests/Model/ManagedClusterTypes.Tests.ps1 +tests/Model/ManagerCorrelationMapping.Tests.ps1 +tests/Model/ManualDiscoverApplications.Tests.ps1 +tests/Model/ManualDiscoverApplicationsTemplate.Tests.ps1 +tests/Model/ManualWorkItemDetails.Tests.ps1 +tests/Model/ManualWorkItemDetailsCurrentOwner.Tests.ps1 +tests/Model/ManualWorkItemDetailsOriginalOwner.Tests.ps1 +tests/Model/ManualWorkItemState.Tests.ps1 +tests/Model/ManuallyUpdatedFieldsDTO.Tests.ps1 +tests/Model/Medium.Tests.ps1 +tests/Model/MetricAggregation.Tests.ps1 +tests/Model/MetricResponse.Tests.ps1 +tests/Model/MetricType.Tests.ps1 +tests/Model/MfaConfigTestResponse.Tests.ps1 +tests/Model/MfaDuoConfig.Tests.ps1 +tests/Model/MfaOktaConfig.Tests.ps1 +tests/Model/ModelError.Tests.ps1 +tests/Model/ModelEvent.Tests.ps1 +tests/Model/ModelFilter.Tests.ps1 +tests/Model/MultiPolicyRequest.Tests.ps1 +tests/Model/NameNormalizer.Tests.ps1 +tests/Model/NamedConstructs.Tests.ps1 +tests/Model/NativeChangeDetectionConfig.Tests.ps1 +tests/Model/NestedAggregation.Tests.ps1 +tests/Model/NetworkConfiguration.Tests.ps1 +tests/Model/NonEmployeeApprovalDecision.Tests.ps1 +tests/Model/NonEmployeeApprovalItem.Tests.ps1 +tests/Model/NonEmployeeApprovalItemBase.Tests.ps1 +tests/Model/NonEmployeeApprovalItemDetail.Tests.ps1 +tests/Model/NonEmployeeApprovalSummary.Tests.ps1 +tests/Model/NonEmployeeBulkUploadJob.Tests.ps1 +tests/Model/NonEmployeeBulkUploadStatus.Tests.ps1 +tests/Model/NonEmployeeIdentityDtoType.Tests.ps1 +tests/Model/NonEmployeeIdentityReferenceWithId.Tests.ps1 +tests/Model/NonEmployeeIdnUserRequest.Tests.ps1 +tests/Model/NonEmployeeRecord.Tests.ps1 +tests/Model/NonEmployeeRejectApprovalDecision.Tests.ps1 +tests/Model/NonEmployeeRequest.Tests.ps1 +tests/Model/NonEmployeeRequestBody.Tests.ps1 +tests/Model/NonEmployeeRequestLite.Tests.ps1 +tests/Model/NonEmployeeRequestSummary.Tests.ps1 +tests/Model/NonEmployeeRequestWithoutApprovalItem.Tests.ps1 +tests/Model/NonEmployeeSchemaAttribute.Tests.ps1 +tests/Model/NonEmployeeSchemaAttributeBody.Tests.ps1 +tests/Model/NonEmployeeSchemaAttributeType.Tests.ps1 +tests/Model/NonEmployeeSource.Tests.ps1 +tests/Model/NonEmployeeSourceLite.Tests.ps1 +tests/Model/NonEmployeeSourceLiteWithSchemaAttributes.Tests.ps1 +tests/Model/NonEmployeeSourceRequestBody.Tests.ps1 +tests/Model/NonEmployeeSourceWithCloudExternalId.Tests.ps1 +tests/Model/NonEmployeeSourceWithNECount.Tests.ps1 +tests/Model/NotificationTemplateContext.Tests.ps1 +tests/Model/ObjectExportImportOptions.Tests.ps1 +tests/Model/ObjectImportResult.Tests.ps1 +tests/Model/ObjectImportResult1.Tests.ps1 +tests/Model/ObjectMappingBulkCreateRequest.Tests.ps1 +tests/Model/ObjectMappingBulkCreateResponse.Tests.ps1 +tests/Model/ObjectMappingBulkPatchRequest.Tests.ps1 +tests/Model/ObjectMappingBulkPatchResponse.Tests.ps1 +tests/Model/ObjectMappingRequest.Tests.ps1 +tests/Model/ObjectMappingResponse.Tests.ps1 +tests/Model/Operation.Tests.ps1 +tests/Model/OrgConfig.Tests.ps1 +tests/Model/OriginalRequest.Tests.ps1 +tests/Model/OrphanUncorrelatedReportArguments.Tests.ps1 +tests/Model/Outlier.Tests.ps1 +tests/Model/OutlierContributingFeature.Tests.ps1 +tests/Model/OutlierContributingFeatureValue.Tests.ps1 +tests/Model/OutlierFeatureSummary.Tests.ps1 +tests/Model/OutlierFeatureSummaryOutlierFeatureDisplayValuesInner.Tests.ps1 +tests/Model/OutlierFeatureTranslation.Tests.ps1 +tests/Model/OutlierSummary.Tests.ps1 +tests/Model/OutliersContributingFeatureAccessItems.Tests.ps1 +tests/Model/OwnerDto.Tests.ps1 +tests/Model/OwnerReference.Tests.ps1 +tests/Model/OwnerReferenceDto.Tests.ps1 +tests/Model/OwnerReferenceSegments.Tests.ps1 +tests/Model/Owns.Tests.ps1 +tests/Model/PasswordChangeRequest.Tests.ps1 +tests/Model/PasswordChangeResponse.Tests.ps1 +tests/Model/PasswordDigitToken.Tests.ps1 +tests/Model/PasswordDigitTokenReset.Tests.ps1 +tests/Model/PasswordInfo.Tests.ps1 +tests/Model/PasswordInfoAccount.Tests.ps1 +tests/Model/PasswordInfoQueryDTO.Tests.ps1 +tests/Model/PasswordOrgConfig.Tests.ps1 +tests/Model/PasswordPolicyV3Dto.Tests.ps1 +tests/Model/PasswordStatus.Tests.ps1 +tests/Model/PasswordSyncGroup.Tests.ps1 +tests/Model/PatOwner.Tests.ps1 +tests/Model/PatchPotentialRoleRequestInner.Tests.ps1 +tests/Model/PatchServiceDeskIntegrationRequest.Tests.ps1 +tests/Model/PeerGroupMember.Tests.ps1 +tests/Model/PendingApproval.Tests.ps1 +tests/Model/PendingApprovalAction.Tests.ps1 +tests/Model/PendingApprovalOwner.Tests.ps1 +tests/Model/PermissionDto.Tests.ps1 +tests/Model/PreApprovalTriggerDetails.Tests.ps1 +tests/Model/PreferencesDto.Tests.ps1 +tests/Model/PreviewDataSourceResponse.Tests.ps1 +tests/Model/ProcessIdentitiesRequest.Tests.ps1 +tests/Model/ProcessingDetails.Tests.ps1 +tests/Model/Product.Tests.ps1 +tests/Model/ProvisioningCompleted.Tests.ps1 +tests/Model/ProvisioningCompletedAccountRequestsInner.Tests.ps1 +tests/Model/ProvisioningCompletedAccountRequestsInnerAttributeRequestsInner.Tests.ps1 +tests/Model/ProvisioningCompletedAccountRequestsInnerSource.Tests.ps1 +tests/Model/ProvisioningCompletedRecipient.Tests.ps1 +tests/Model/ProvisioningCompletedRequester.Tests.ps1 +tests/Model/ProvisioningConfig.Tests.ps1 +tests/Model/ProvisioningConfig1.Tests.ps1 +tests/Model/ProvisioningConfig1ManagedResourceRefsInner.Tests.ps1 +tests/Model/ProvisioningConfig1PlanInitializerScript.Tests.ps1 +tests/Model/ProvisioningConfigPlanInitializerScript.Tests.ps1 +tests/Model/ProvisioningCriteriaLevel1.Tests.ps1 +tests/Model/ProvisioningCriteriaLevel2.Tests.ps1 +tests/Model/ProvisioningCriteriaLevel3.Tests.ps1 +tests/Model/ProvisioningCriteriaOperation.Tests.ps1 +tests/Model/ProvisioningDetails.Tests.ps1 +tests/Model/ProvisioningPolicy.Tests.ps1 +tests/Model/ProvisioningPolicyDto.Tests.ps1 +tests/Model/ProvisioningState.Tests.ps1 +tests/Model/PublicIdentity.Tests.ps1 +tests/Model/PublicIdentityAttributeConfig.Tests.ps1 +tests/Model/PublicIdentityConfig.Tests.ps1 +tests/Model/PutCorrelationConfigRequest.Tests.ps1 +tests/Model/PutPasswordDictionaryRequest.Tests.ps1 +tests/Model/PutSourceConfigRequest.Tests.ps1 +tests/Model/PutSourceTemplateRequest.Tests.ps1 +tests/Model/Query.Tests.ps1 +tests/Model/QueryResultFilter.Tests.ps1 +tests/Model/QueryType.Tests.ps1 +tests/Model/QueuedCheckConfigDetails.Tests.ps1 +tests/Model/RandomAlphaNumeric.Tests.ps1 +tests/Model/RandomNumeric.Tests.ps1 +tests/Model/Range.Tests.ps1 +tests/Model/ReassignReference.Tests.ps1 +tests/Model/Reassignment.Tests.ps1 +tests/Model/Reassignment1.Tests.ps1 +tests/Model/ReassignmentReference.Tests.ps1 +tests/Model/ReassignmentTrailDTO.Tests.ps1 +tests/Model/ReassignmentType.Tests.ps1 +tests/Model/ReassignmentTypeEnum.Tests.ps1 +tests/Model/RecommendationConfigDto.Tests.ps1 +tests/Model/RecommendationRequest.Tests.ps1 +tests/Model/RecommendationRequestDto.Tests.ps1 +tests/Model/RecommendationResponse.Tests.ps1 +tests/Model/RecommendationResponseDto.Tests.ps1 +tests/Model/RecommenderCalculations.Tests.ps1 +tests/Model/RecommenderCalculationsIdentityAttributesValue.Tests.ps1 +tests/Model/Reference.Tests.ps1 +tests/Model/Reference1.Tests.ps1 +tests/Model/RemediationItemDetails.Tests.ps1 +tests/Model/RemediationItems.Tests.ps1 +tests/Model/Replace.Tests.ps1 +tests/Model/ReplaceAll.Tests.ps1 +tests/Model/ReportConfigDTO.Tests.ps1 +tests/Model/ReportDetails.Tests.ps1 +tests/Model/ReportDetailsArguments.Tests.ps1 +tests/Model/ReportResultReference.Tests.ps1 +tests/Model/ReportResults.Tests.ps1 +tests/Model/ReportType.Tests.ps1 +tests/Model/RequestOnBehalfOfConfig.Tests.ps1 +tests/Model/Requestability.Tests.ps1 +tests/Model/RequestabilityForRole.Tests.ps1 +tests/Model/RequestableObject.Tests.ps1 +tests/Model/RequestableObjectReference.Tests.ps1 +tests/Model/RequestableObjectRequestStatus.Tests.ps1 +tests/Model/RequestableObjectType.Tests.ps1 +tests/Model/RequestedItemStatus.Tests.ps1 +tests/Model/RequestedItemStatusCancelledRequestDetails.Tests.ps1 +tests/Model/RequestedItemStatusPreApprovalTriggerDetails.Tests.ps1 +tests/Model/RequestedItemStatusProvisioningDetails.Tests.ps1 +tests/Model/RequestedItemStatusRequestState.Tests.ps1 +tests/Model/RequestedItemStatusRequestedFor.Tests.ps1 +tests/Model/RequestedItemStatusRequesterComment.Tests.ps1 +tests/Model/RequestedItemStatusSodViolationContext.Tests.ps1 +tests/Model/ResourceObject.Tests.ps1 +tests/Model/ResourceObjectsRequest.Tests.ps1 +tests/Model/ResourceObjectsResponse.Tests.ps1 +tests/Model/ReviewDecision.Tests.ps1 +tests/Model/ReviewReassign.Tests.ps1 +tests/Model/ReviewRecommendation.Tests.ps1 +tests/Model/ReviewableAccessProfile.Tests.ps1 +tests/Model/ReviewableEntitlement.Tests.ps1 +tests/Model/ReviewableEntitlementAccount.Tests.ps1 +tests/Model/ReviewableRole.Tests.ps1 +tests/Model/Reviewer.Tests.ps1 +tests/Model/Reviewer1.Tests.ps1 +tests/Model/Revocability.Tests.ps1 +tests/Model/RevocabilityForRole.Tests.ps1 +tests/Model/RightPad.Tests.ps1 +tests/Model/Role.Tests.ps1 +tests/Model/RoleAssignmentDto.Tests.ps1 +tests/Model/RoleAssignmentRef.Tests.ps1 +tests/Model/RoleAssignmentSourceType.Tests.ps1 +tests/Model/RoleBulkDeleteRequest.Tests.ps1 +tests/Model/RoleCriteriaKey.Tests.ps1 +tests/Model/RoleCriteriaKeyType.Tests.ps1 +tests/Model/RoleCriteriaLevel1.Tests.ps1 +tests/Model/RoleCriteriaLevel2.Tests.ps1 +tests/Model/RoleCriteriaLevel3.Tests.ps1 +tests/Model/RoleCriteriaOperation.Tests.ps1 +tests/Model/RoleDocument.Tests.ps1 +tests/Model/RoleIdentity.Tests.ps1 +tests/Model/RoleInsight.Tests.ps1 +tests/Model/RoleInsightsEntitlement.Tests.ps1 +tests/Model/RoleInsightsEntitlementChanges.Tests.ps1 +tests/Model/RoleInsightsIdentities.Tests.ps1 +tests/Model/RoleInsightsInsight.Tests.ps1 +tests/Model/RoleInsightsResponse.Tests.ps1 +tests/Model/RoleInsightsRole.Tests.ps1 +tests/Model/RoleInsightsSummary.Tests.ps1 +tests/Model/RoleMatchDto.Tests.ps1 +tests/Model/RoleMembershipIdentity.Tests.ps1 +tests/Model/RoleMembershipSelector.Tests.ps1 +tests/Model/RoleMembershipSelectorType.Tests.ps1 +tests/Model/RoleMiningEntitlement.Tests.ps1 +tests/Model/RoleMiningEntitlementRef.Tests.ps1 +tests/Model/RoleMiningIdentity.Tests.ps1 +tests/Model/RoleMiningIdentityDistribution.Tests.ps1 +tests/Model/RoleMiningPotentialRole.Tests.ps1 +tests/Model/RoleMiningPotentialRoleApplication.Tests.ps1 +tests/Model/RoleMiningPotentialRoleEditEntitlements.Tests.ps1 +tests/Model/RoleMiningPotentialRoleExportRequest.Tests.ps1 +tests/Model/RoleMiningPotentialRoleExportResponse.Tests.ps1 +tests/Model/RoleMiningPotentialRoleExportState.Tests.ps1 +tests/Model/RoleMiningPotentialRoleProvisionRequest.Tests.ps1 +tests/Model/RoleMiningPotentialRoleProvisionState.Tests.ps1 +tests/Model/RoleMiningPotentialRoleRef.Tests.ps1 +tests/Model/RoleMiningPotentialRoleSourceUsage.Tests.ps1 +tests/Model/RoleMiningPotentialRoleSummary.Tests.ps1 +tests/Model/RoleMiningPotentialRoleSummaryCreatedBy.Tests.ps1 +tests/Model/RoleMiningRoleType.Tests.ps1 +tests/Model/RoleMiningSessionDraftRoleDto.Tests.ps1 +tests/Model/RoleMiningSessionDto.Tests.ps1 +tests/Model/RoleMiningSessionParametersDto.Tests.ps1 +tests/Model/RoleMiningSessionResponse.Tests.ps1 +tests/Model/RoleMiningSessionResponseCreatedBy.Tests.ps1 +tests/Model/RoleMiningSessionScope.Tests.ps1 +tests/Model/RoleMiningSessionScopingMethod.Tests.ps1 +tests/Model/RoleMiningSessionState.Tests.ps1 +tests/Model/RoleMiningSessionStatus.Tests.ps1 +tests/Model/RoleSummary.Tests.ps1 +tests/Model/RoleTargetDto.Tests.ps1 +tests/Model/Rule.Tests.ps1 +tests/Model/SavedSearch.Tests.ps1 +tests/Model/SavedSearchComplete.Tests.ps1 +tests/Model/SavedSearchCompleteSearchResults.Tests.ps1 +tests/Model/SavedSearchCompleteSearchResultsAccount.Tests.ps1 +tests/Model/SavedSearchCompleteSearchResultsEntitlement.Tests.ps1 +tests/Model/SavedSearchCompleteSearchResultsIdentity.Tests.ps1 +tests/Model/SavedSearchDetail.Tests.ps1 +tests/Model/SavedSearchDetailFilters.Tests.ps1 +tests/Model/SavedSearchName.Tests.ps1 +tests/Model/Schedule.Tests.ps1 +tests/Model/Schedule1.Tests.ps1 +tests/Model/Schedule1Days.Tests.ps1 +tests/Model/Schedule1Hours.Tests.ps1 +tests/Model/Schedule1Months.Tests.ps1 +tests/Model/ScheduleDays.Tests.ps1 +tests/Model/ScheduleHours.Tests.ps1 +tests/Model/ScheduleMonths.Tests.ps1 +tests/Model/ScheduleType.Tests.ps1 +tests/Model/ScheduledAttributes.Tests.ps1 +tests/Model/ScheduledSearch.Tests.ps1 +tests/Model/ScheduledSearchAllOfOwner.Tests.ps1 +tests/Model/ScheduledSearchName.Tests.ps1 +tests/Model/Schema.Tests.ps1 +tests/Model/Search.Tests.ps1 +tests/Model/SearchAggregationSpecification.Tests.ps1 +tests/Model/SearchArguments.Tests.ps1 +tests/Model/SearchAttributeConfig.Tests.ps1 +tests/Model/SearchExportReportArguments.Tests.ps1 +tests/Model/SearchFilterType.Tests.ps1 +tests/Model/SearchFormDefinitionsByTenant400Response.Tests.ps1 +tests/Model/SearchSchedule.Tests.ps1 +tests/Model/SearchScheduleRecipientsInner.Tests.ps1 +tests/Model/SectionDetails.Tests.ps1 +tests/Model/Sed.Tests.ps1 +tests/Model/SedApproval.Tests.ps1 +tests/Model/SedApprovalStatus.Tests.ps1 +tests/Model/SedAssignee.Tests.ps1 +tests/Model/SedAssignment.Tests.ps1 +tests/Model/SedAssignmentResponse.Tests.ps1 +tests/Model/SedBatchRequest.Tests.ps1 +tests/Model/SedBatchResponse.Tests.ps1 +tests/Model/SedBatchStats.Tests.ps1 +tests/Model/SedBatchStatus.Tests.ps1 +tests/Model/SedPatch.Tests.ps1 +tests/Model/Segment.Tests.ps1 +tests/Model/SegmentVisibilityCriteria.Tests.ps1 +tests/Model/Selector.Tests.ps1 +tests/Model/SelectorType.Tests.ps1 +tests/Model/SelfImportExportDto.Tests.ps1 +tests/Model/SendTestNotificationRequestDto.Tests.ps1 +tests/Model/ServiceDeskIntegrationDto.Tests.ps1 +tests/Model/ServiceDeskIntegrationDto1.Tests.ps1 +tests/Model/ServiceDeskIntegrationTemplateDto.Tests.ps1 +tests/Model/ServiceDeskIntegrationTemplateType.Tests.ps1 +tests/Model/ServiceDeskSource.Tests.ps1 +tests/Model/SetIcon200Response.Tests.ps1 +tests/Model/SetIconRequest.Tests.ps1 +tests/Model/SetLifecycleState200Response.Tests.ps1 +tests/Model/SetLifecycleStateRequest.Tests.ps1 +tests/Model/SimIntegrationDetails.Tests.ps1 +tests/Model/SimIntegrationDetailsAllOfBeforeProvisioningRule.Tests.ps1 +tests/Model/SlimCampaign.Tests.ps1 +tests/Model/SodExemptCriteria.Tests.ps1 +tests/Model/SodPolicy.Tests.ps1 +tests/Model/SodPolicyConflictingAccessCriteria.Tests.ps1 +tests/Model/SodPolicyDto.Tests.ps1 +tests/Model/SodPolicyOwnerRef.Tests.ps1 +tests/Model/SodPolicySchedule.Tests.ps1 +tests/Model/SodRecipient.Tests.ps1 +tests/Model/SodReportResultDto.Tests.ps1 +tests/Model/SodViolationCheck.Tests.ps1 +tests/Model/SodViolationCheckResult.Tests.ps1 +tests/Model/SodViolationContext.Tests.ps1 +tests/Model/SodViolationContextCheckCompleted.Tests.ps1 +tests/Model/SodViolationContextConflictingAccessCriteria.Tests.ps1 +tests/Model/SodViolationContextConflictingAccessCriteriaLeftCriteria.Tests.ps1 +tests/Model/Source.Tests.ps1 +tests/Model/Source1.Tests.ps1 +tests/Model/SourceAccountCorrelationConfig.Tests.ps1 +tests/Model/SourceAccountCorrelationRule.Tests.ps1 +tests/Model/SourceAccountCreated.Tests.ps1 +tests/Model/SourceAccountDeleted.Tests.ps1 +tests/Model/SourceAccountUpdated.Tests.ps1 +tests/Model/SourceBeforeProvisioningRule.Tests.ps1 +tests/Model/SourceCluster.Tests.ps1 +tests/Model/SourceClusterDto.Tests.ps1 +tests/Model/SourceCode.Tests.ps1 +tests/Model/SourceCreated.Tests.ps1 +tests/Model/SourceCreatedActor.Tests.ps1 +tests/Model/SourceDeleted.Tests.ps1 +tests/Model/SourceDeletedActor.Tests.ps1 +tests/Model/SourceEntitlementRequestConfig.Tests.ps1 +tests/Model/SourceHealthDto.Tests.ps1 +tests/Model/SourceManagementWorkgroup.Tests.ps1 +tests/Model/SourceManagerCorrelationMapping.Tests.ps1 +tests/Model/SourceManagerCorrelationRule.Tests.ps1 +tests/Model/SourceOwner.Tests.ps1 +tests/Model/SourcePasswordPoliciesInner.Tests.ps1 +tests/Model/SourceSchemasInner.Tests.ps1 +tests/Model/SourceSyncJob.Tests.ps1 +tests/Model/SourceSyncPayload.Tests.ps1 +tests/Model/SourceUpdated.Tests.ps1 +tests/Model/SourceUpdatedActor.Tests.ps1 +tests/Model/SourceUsage.Tests.ps1 +tests/Model/SourceUsageStatus.Tests.ps1 +tests/Model/SpConfigExportJob.Tests.ps1 +tests/Model/SpConfigExportJobStatus.Tests.ps1 +tests/Model/SpConfigExportResults.Tests.ps1 +tests/Model/SpConfigImportJobStatus.Tests.ps1 +tests/Model/SpConfigImportResults.Tests.ps1 +tests/Model/SpConfigJob.Tests.ps1 +tests/Model/SpConfigMessage.Tests.ps1 +tests/Model/SpConfigMessage1.Tests.ps1 +tests/Model/SpConfigObject.Tests.ps1 +tests/Model/SpConfigUrl.Tests.ps1 +tests/Model/Split.Tests.ps1 +tests/Model/StandardLevel.Tests.ps1 +tests/Model/StartInvocationInput.Tests.ps1 +tests/Model/Static.Tests.ps1 +tests/Model/StatusResponse.Tests.ps1 +tests/Model/SubSearchAggregationSpecification.Tests.ps1 +tests/Model/Subscription.Tests.ps1 +tests/Model/SubscriptionPatchRequestInner.Tests.ps1 +tests/Model/SubscriptionPatchRequestInnerValue.Tests.ps1 +tests/Model/SubscriptionPatchRequestInnerValueAnyOfInner.Tests.ps1 +tests/Model/SubscriptionPostRequest.Tests.ps1 +tests/Model/SubscriptionPutRequest.Tests.ps1 +tests/Model/SubscriptionType.Tests.ps1 +tests/Model/Substring.Tests.ps1 +tests/Model/TaggedObject.Tests.ps1 +tests/Model/TaggedObjectDto.Tests.ps1 +tests/Model/Target.Tests.ps1 +tests/Model/TaskDefinitionSummary.Tests.ps1 +tests/Model/TaskResultDetails.Tests.ps1 +tests/Model/TaskResultDetailsMessagesInner.Tests.ps1 +tests/Model/TaskResultDetailsReturnsInner.Tests.ps1 +tests/Model/TaskResultDto.Tests.ps1 +tests/Model/TaskResultResponse.Tests.ps1 +tests/Model/TaskResultSimplified.Tests.ps1 +tests/Model/TaskReturnDetails.Tests.ps1 +tests/Model/TaskStatus.Tests.ps1 +tests/Model/TaskStatusMessage.Tests.ps1 +tests/Model/TemplateBulkDeleteDto.Tests.ps1 +tests/Model/TemplateDto.Tests.ps1 +tests/Model/TemplateDtoDefault.Tests.ps1 +tests/Model/TemplateSlack.Tests.ps1 +tests/Model/TemplateSlackAutoApprovalData.Tests.ps1 +tests/Model/TemplateSlackCustomFields.Tests.ps1 +tests/Model/TemplateTeams.Tests.ps1 +tests/Model/Tenant.Tests.ps1 +tests/Model/TenantConfigurationDetails.Tests.ps1 +tests/Model/TenantConfigurationRequest.Tests.ps1 +tests/Model/TenantConfigurationResponse.Tests.ps1 +tests/Model/TenantUiMetadataItemResponse.Tests.ps1 +tests/Model/TenantUiMetadataItemUpdateRequest.Tests.ps1 +tests/Model/TestExternalExecuteWorkflow200Response.Tests.ps1 +tests/Model/TestExternalExecuteWorkflowRequest.Tests.ps1 +tests/Model/TestInvocation.Tests.ps1 +tests/Model/TestWorkflow200Response.Tests.ps1 +tests/Model/TestWorkflowRequest.Tests.ps1 +tests/Model/TextQuery.Tests.ps1 +tests/Model/Transform.Tests.ps1 +tests/Model/TransformAttributes.Tests.ps1 +tests/Model/TransformDefinition.Tests.ps1 +tests/Model/TransformDefinitionAttributesValue.Tests.ps1 +tests/Model/TransformRead.Tests.ps1 +tests/Model/TransformRule.Tests.ps1 +tests/Model/TranslationMessage.Tests.ps1 +tests/Model/Trigger.Tests.ps1 +tests/Model/TriggerExampleInput.Tests.ps1 +tests/Model/TriggerExampleOutput.Tests.ps1 +tests/Model/TriggerType.Tests.ps1 +tests/Model/Trim.Tests.ps1 +tests/Model/TypeAheadQuery.Tests.ps1 +tests/Model/TypedReference.Tests.ps1 +tests/Model/UUIDGenerator.Tests.ps1 +tests/Model/UpdateAccessProfilesInBulk412Response.Tests.ps1 +tests/Model/UpdateDetail.Tests.ps1 +tests/Model/UploadsRequest.Tests.ps1 +tests/Model/UploadsResponse.Tests.ps1 +tests/Model/Upper.Tests.ps1 +tests/Model/UsageType.Tests.ps1 +tests/Model/V3ConnectorDto.Tests.ps1 +tests/Model/V3CreateConnectorDto.Tests.ps1 +tests/Model/VAClusterStatusChangeEvent.Tests.ps1 +tests/Model/VAClusterStatusChangeEventApplication.Tests.ps1 +tests/Model/VAClusterStatusChangeEventHealthCheckResult.Tests.ps1 +tests/Model/VAClusterStatusChangeEventPreviousHealthCheckResult.Tests.ps1 +tests/Model/ValidateFilterInputDto.Tests.ps1 +tests/Model/ValidateFilterOutputDto.Tests.ps1 +tests/Model/Value.Tests.ps1 +tests/Model/VendorConnectorMapping.Tests.ps1 +tests/Model/VendorConnectorMappingDeletedAt.Tests.ps1 +tests/Model/VendorConnectorMappingDeletedBy.Tests.ps1 +tests/Model/VendorConnectorMappingUpdatedAt.Tests.ps1 +tests/Model/VendorConnectorMappingUpdatedBy.Tests.ps1 +tests/Model/ViolationContext.Tests.ps1 +tests/Model/ViolationContextPolicy.Tests.ps1 +tests/Model/ViolationOwnerAssignmentConfig.Tests.ps1 +tests/Model/ViolationOwnerAssignmentConfigOwnerRef.Tests.ps1 +tests/Model/ViolationPrediction.Tests.ps1 +tests/Model/VisibilityCriteria.Tests.ps1 +tests/Model/WorkItemForward.Tests.ps1 +tests/Model/WorkItemState.Tests.ps1 +tests/Model/WorkItemStateManualWorkItems.Tests.ps1 +tests/Model/WorkItemTypeManualWorkItems.Tests.ps1 +tests/Model/WorkItems.Tests.ps1 +tests/Model/WorkItemsCount.Tests.ps1 +tests/Model/WorkItemsForm.Tests.ps1 +tests/Model/WorkItemsSummary.Tests.ps1 +tests/Model/Workflow.Tests.ps1 +tests/Model/WorkflowAllOfCreator.Tests.ps1 +tests/Model/WorkflowBody.Tests.ps1 +tests/Model/WorkflowBodyOwner.Tests.ps1 +tests/Model/WorkflowDefinition.Tests.ps1 +tests/Model/WorkflowExecution.Tests.ps1 +tests/Model/WorkflowExecutionEvent.Tests.ps1 +tests/Model/WorkflowLibraryAction.Tests.ps1 +tests/Model/WorkflowLibraryActionExampleOutput.Tests.ps1 +tests/Model/WorkflowLibraryFormFields.Tests.ps1 +tests/Model/WorkflowLibraryOperator.Tests.ps1 +tests/Model/WorkflowLibraryTrigger.Tests.ps1 +tests/Model/WorkflowModifiedBy.Tests.ps1 +tests/Model/WorkflowOAuthClient.Tests.ps1 +tests/Model/WorkflowTrigger.Tests.ps1 +tests/Model/WorkflowTriggerAttributes.Tests.ps1 +tests/Model/WorkgroupBulkDeleteRequest.Tests.ps1 +tests/Model/WorkgroupConnectionDto.Tests.ps1 +tests/Model/WorkgroupDeleteItem.Tests.ps1 +tests/Model/WorkgroupDto.Tests.ps1 +tests/Model/WorkgroupDtoOwner.Tests.ps1 +tests/Model/WorkgroupMemberAddItem.Tests.ps1 +tests/Model/WorkgroupMemberDeleteItem.Tests.ps1 diff --git a/PSSailpoint/v2024/.openapi-generator/VERSION b/PSSailpoint/v2024/.openapi-generator/VERSION new file mode 100644 index 000000000..3769235d3 --- /dev/null +++ b/PSSailpoint/v2024/.openapi-generator/VERSION @@ -0,0 +1 @@ +7.1.0 \ No newline at end of file diff --git a/PSSailpoint/v2024/Build.ps1 b/PSSailpoint/v2024/Build.ps1 new file mode 100644 index 000000000..db91d93e3 --- /dev/null +++ b/PSSailpoint/v2024/Build.ps1 @@ -0,0 +1,72 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +function Get-FunctionsToExport { + [CmdletBinding()] + Param ( + [Parameter(Mandatory = $true, ValueFromPipelineByPropertyName = $true)] + [ValidateNotNullOrEmpty()] + [Alias('FullName')] + $Path + ) + + Process { + $Token = $null + $ParserErr = $null + + $Ast = [System.Management.Automation.Language.Parser]::ParseFile( + $Path, + [ref]$Token, + [ref]$ParserErr + ) + + if ($ParserErr) { + throw $ParserErr + } else { + foreach ($name in 'Begin', 'Process', 'End') { + foreach ($Statement in $Ast."${name}Block".Statements) { + if ( + [String]::IsNullOrWhiteSpace($Statement.Name) -or + $Statement.Extent.ToString() -notmatch + ('function\W+{0}' -f $Statement.Name) + ) { + continue + } + + $Statement.Name + } + } + } + } +} + +$ScriptDir = Split-Path $script:MyInvocation.MyCommand.Path +$FunctionPath = 'Api', 'Model', 'Client' | ForEach-Object {Join-Path "$ScriptDir\src\PSSailpointV2024\" $_} + +$Manifest = @{ + Path = "$ScriptDir\src\PSSailpointV2024\PSSailpointV2024.psd1" + + Author = 'OpenAPI Generator Team' + CompanyName = 'SailPoint Technologies' + Description = 'PSSailpointV2024 - the PowerShell module for Identity Security Cloud V2024 API' + + ModuleVersion = '1.3.1' + + RootModule = 'PSSailpointV2024.psm1' + Guid = '51EC9F24-1977-40CE-A990-D0186150E0A2' # Has to be static, otherwise each new build will be considered different module + + PowerShellVersion = '6.2' + + FunctionsToExport = $FunctionPath | Get-ChildItem -Filter *.ps1 | Get-FunctionsToExport + + VariablesToExport = @() + AliasesToExport = @() + CmdletsToExport = @() + +} + +New-ModuleManifest @Manifest diff --git a/PSSailpoint/v2024/README.md b/PSSailpoint/v2024/README.md new file mode 100644 index 000000000..339055189 --- /dev/null +++ b/PSSailpoint/v2024/README.md @@ -0,0 +1,1684 @@ +# PSSailpointV2024 - the PowerShell module for the Identity Security Cloud V2024 API + +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. + +This PowerShell module is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: + +- API version: v2024 +- SDK version: 1.3.1 +- Build package: org.openapitools.codegen.languages.PowerShellClientCodegen + For more information, please visit [https://developer.sailpoint.com/discuss/api-help](https://developer.sailpoint.com/discuss/api-help) + + +## Frameworks supported +- PowerShell 6.2 or later + + +## Dependencies + + +## Installation + + +To install from the source, run the following command to build and install the PowerShell module locally: +```powershell +Build.ps1 +Import-Module -Name '.\src\PSSailpointV2024' -Verbose +``` + +To avoid function name collision, one can use `-Prefix`, e.g. `Import-Module -Name '.\src\PSSailpointV2024' -Prefix prefix` + +To uninstall the module, simply run: +```powershell +Remove-Module -FullyQualifiedName @{ModuleName = "PSSailpointV2024"; ModuleVersion = "1.3.1"} +``` + + +## Tests + +To install and run `Pester`, please execute the following commands in the terminal: + +```powershell +Install-module -name Pester -force + +Invoke-Pester +``` + +For troubleshooting, please run `$DebugPreference = 'Continue'` to turn on debugging and disable it with `$DebugPreference = 'SilentlyContinue'` when done with the troubleshooting. + +## Documentation for API Endpoints + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Class | Method | HTTP request | Description +------------ | ------------- | ------------- | ------------- +*V2024AccessModelMetadataApi* | [**Get-V2024AccessModelMetadataAttribute**](docs/V2024AccessModelMetadataApi.md#Get-V2024AccessModelMetadataAttribute) | **GET** /access-model-metadata/attributes/{key} | Get Access Model Metadata Attribute +*V2024AccessModelMetadataApi* | [**Get-V2024AccessModelMetadataAttributeValue**](docs/V2024AccessModelMetadataApi.md#Get-V2024AccessModelMetadataAttributeValue) | **GET** /access-model-metadata/attributes/{key}/values/{value} | Get Access Model Metadata Value +*V2024AccessModelMetadataApi* | [**Get-V2024AccessModelMetadataAttribute**](docs/V2024AccessModelMetadataApi.md#Get-V2024AccessModelMetadataAttribute) | **GET** /access-model-metadata/attributes | List Access Model Metadata Attributes +*V2024AccessModelMetadataApi* | [**Get-V2024AccessModelMetadataAttributeValue**](docs/V2024AccessModelMetadataApi.md#Get-V2024AccessModelMetadataAttributeValue) | **GET** /access-model-metadata/attributes/{key}/values | List Access Model Metadata Values +*V2024AccessProfilesApi* | [**New-V2024AccessProfile**](docs/V2024AccessProfilesApi.md#New-V2024AccessProfile) | **POST** /access-profiles | Create Access Profile +*V2024AccessProfilesApi* | [**Remove-V2024AccessProfile**](docs/V2024AccessProfilesApi.md#Remove-V2024AccessProfile) | **DELETE** /access-profiles/{id} | Delete the specified Access Profile +*V2024AccessProfilesApi* | [**Remove-V2024AccessProfilesInBulk**](docs/V2024AccessProfilesApi.md#Remove-V2024AccessProfilesInBulk) | **POST** /access-profiles/bulk-delete | Delete Access Profile(s) +*V2024AccessProfilesApi* | [**Get-V2024AccessProfile**](docs/V2024AccessProfilesApi.md#Get-V2024AccessProfile) | **GET** /access-profiles/{id} | Get an Access Profile +*V2024AccessProfilesApi* | [**Get-V2024AccessProfileEntitlements**](docs/V2024AccessProfilesApi.md#Get-V2024AccessProfileEntitlements) | **GET** /access-profiles/{id}/entitlements | List Access Profile's Entitlements +*V2024AccessProfilesApi* | [**Get-V2024AccessProfiles**](docs/V2024AccessProfilesApi.md#Get-V2024AccessProfiles) | **GET** /access-profiles | List Access Profiles +*V2024AccessProfilesApi* | [**Update-V2024AccessProfile**](docs/V2024AccessProfilesApi.md#Update-V2024AccessProfile) | **PATCH** /access-profiles/{id} | Patch a specified Access Profile +*V2024AccessProfilesApi* | [**Update-V2024AccessProfilesInBulk**](docs/V2024AccessProfilesApi.md#Update-V2024AccessProfilesInBulk) | **POST** /access-profiles/bulk-update-requestable | Update Access Profile(s) requestable field. +*V2024AccessRequestApprovalsApi* | [**Approve-V2024AccessRequest**](docs/V2024AccessRequestApprovalsApi.md#Approve-V2024AccessRequest) | **POST** /access-request-approvals/{approvalId}/approve | Approve Access Request Approval +*V2024AccessRequestApprovalsApi* | [**Invoke-V2024ForwardAccessRequest**](docs/V2024AccessRequestApprovalsApi.md#Invoke-V2024ForwardAccessRequest) | **POST** /access-request-approvals/{approvalId}/forward | Forward Access Request Approval +*V2024AccessRequestApprovalsApi* | [**Get-V2024AccessRequestApprovalSummary**](docs/V2024AccessRequestApprovalsApi.md#Get-V2024AccessRequestApprovalSummary) | **GET** /access-request-approvals/approval-summary | Get Access Requests Approvals Number +*V2024AccessRequestApprovalsApi* | [**Get-V2024CompletedApprovals**](docs/V2024AccessRequestApprovalsApi.md#Get-V2024CompletedApprovals) | **GET** /access-request-approvals/completed | Completed Access Request Approvals List +*V2024AccessRequestApprovalsApi* | [**Get-V2024PendingApprovals**](docs/V2024AccessRequestApprovalsApi.md#Get-V2024PendingApprovals) | **GET** /access-request-approvals/pending | Pending Access Request Approvals List +*V2024AccessRequestApprovalsApi* | [**Deny-V2024AccessRequest**](docs/V2024AccessRequestApprovalsApi.md#Deny-V2024AccessRequest) | **POST** /access-request-approvals/{approvalId}/reject | Reject Access Request Approval +*V2024AccessRequestIdentityMetricsApi* | [**Get-V2024AccessRequestIdentityMetrics**](docs/V2024AccessRequestIdentityMetricsApi.md#Get-V2024AccessRequestIdentityMetrics) | **GET** /access-request-identity-metrics/{identityId}/requested-objects/{requestedObjectId}/type/{type} | Return access request identity metrics +*V2024AccessRequestsApi* | [**Suspend-V2024AccessRequest**](docs/V2024AccessRequestsApi.md#Suspend-V2024AccessRequest) | **POST** /access-requests/cancel | Cancel Access Request +*V2024AccessRequestsApi* | [**Close-V2024AccessRequest**](docs/V2024AccessRequestsApi.md#Close-V2024AccessRequest) | **POST** /access-requests/close | Close Access Request +*V2024AccessRequestsApi* | [**New-V2024AccessRequest**](docs/V2024AccessRequestsApi.md#New-V2024AccessRequest) | **POST** /access-requests | Submit Access Request +*V2024AccessRequestsApi* | [**Get-V2024AccessRequestConfig**](docs/V2024AccessRequestsApi.md#Get-V2024AccessRequestConfig) | **GET** /access-request-config | Get Access Request Configuration +*V2024AccessRequestsApi* | [**Get-V2024AccessRequestStatus**](docs/V2024AccessRequestsApi.md#Get-V2024AccessRequestStatus) | **GET** /access-request-status | Access Request Status +*V2024AccessRequestsApi* | [**Set-V2024AccessRequestConfig**](docs/V2024AccessRequestsApi.md#Set-V2024AccessRequestConfig) | **PUT** /access-request-config | Update Access Request Configuration +*V2024AccountActivitiesApi* | [**Get-V2024AccountActivity**](docs/V2024AccountActivitiesApi.md#Get-V2024AccountActivity) | **GET** /account-activities/{id} | Get an Account Activity +*V2024AccountActivitiesApi* | [**Get-V2024AccountActivities**](docs/V2024AccountActivitiesApi.md#Get-V2024AccountActivities) | **GET** /account-activities | List Account Activities +*V2024AccountAggregationsApi* | [**Get-V2024AccountAggregationStatus**](docs/V2024AccountAggregationsApi.md#Get-V2024AccountAggregationStatus) | **GET** /account-aggregations/{id}/status | In-progress Account Aggregation status +*V2024AccountUsagesApi* | [**Get-V2024UsagesByAccountId**](docs/V2024AccountUsagesApi.md#Get-V2024UsagesByAccountId) | **GET** /account-usages/{accountId}/summaries | Returns account usage insights +*V2024AccountsApi* | [**New-V2024Account**](docs/V2024AccountsApi.md#New-V2024Account) | **POST** /accounts | Create Account +*V2024AccountsApi* | [**Remove-V2024Account**](docs/V2024AccountsApi.md#Remove-V2024Account) | **DELETE** /accounts/{id} | Delete Account +*V2024AccountsApi* | [**Remove-V2024AccountAsync**](docs/V2024AccountsApi.md#Remove-V2024AccountAsync) | **POST** /accounts/{id}/remove | Remove Account +*V2024AccountsApi* | [**Disable-V2024Account**](docs/V2024AccountsApi.md#Disable-V2024Account) | **POST** /accounts/{id}/disable | Disable Account +*V2024AccountsApi* | [**Disable-V2024AccountForIdentity**](docs/V2024AccountsApi.md#Disable-V2024AccountForIdentity) | **POST** /identities-accounts/{id}/disable | Disable IDN Account for Identity +*V2024AccountsApi* | [**Disable-V2024AccountsForIdentities**](docs/V2024AccountsApi.md#Disable-V2024AccountsForIdentities) | **POST** /identities-accounts/disable | Disable IDN Accounts for Identities +*V2024AccountsApi* | [**Enable-V2024Account**](docs/V2024AccountsApi.md#Enable-V2024Account) | **POST** /accounts/{id}/enable | Enable Account +*V2024AccountsApi* | [**Enable-V2024AccountForIdentity**](docs/V2024AccountsApi.md#Enable-V2024AccountForIdentity) | **POST** /identities-accounts/{id}/enable | Enable IDN Account for Identity +*V2024AccountsApi* | [**Enable-V2024AccountsForIdentities**](docs/V2024AccountsApi.md#Enable-V2024AccountsForIdentities) | **POST** /identities-accounts/enable | Enable IDN Accounts for Identities +*V2024AccountsApi* | [**Get-V2024Account**](docs/V2024AccountsApi.md#Get-V2024Account) | **GET** /accounts/{id} | Account Details +*V2024AccountsApi* | [**Get-V2024AccountEntitlements**](docs/V2024AccountsApi.md#Get-V2024AccountEntitlements) | **GET** /accounts/{id}/entitlements | Account Entitlements +*V2024AccountsApi* | [**Get-V2024Accounts**](docs/V2024AccountsApi.md#Get-V2024Accounts) | **GET** /accounts | Accounts List +*V2024AccountsApi* | [**Send-V2024Account**](docs/V2024AccountsApi.md#Send-V2024Account) | **PUT** /accounts/{id} | Update Account +*V2024AccountsApi* | [**Submit-V2024ReloadAccount**](docs/V2024AccountsApi.md#Submit-V2024ReloadAccount) | **POST** /accounts/{id}/reload | Reload Account +*V2024AccountsApi* | [**Unlock-V2024Account**](docs/V2024AccountsApi.md#Unlock-V2024Account) | **POST** /accounts/{id}/unlock | Unlock Account +*V2024AccountsApi* | [**Update-V2024Account**](docs/V2024AccountsApi.md#Update-V2024Account) | **PATCH** /accounts/{id} | Update Account +*V2024ApplicationDiscoveryApi* | [**Get-V2024DiscoveredApplications**](docs/V2024ApplicationDiscoveryApi.md#Get-V2024DiscoveredApplications) | **GET** /discovered-applications | Retrieve discovered applications for tenant +*V2024ApplicationDiscoveryApi* | [**Get-V2024ManualDiscoverApplicationsCsvTemplate**](docs/V2024ApplicationDiscoveryApi.md#Get-V2024ManualDiscoverApplicationsCsvTemplate) | **GET** /manual-discover-applications-template | CSV template download for discovery +*V2024ApplicationDiscoveryApi* | [**Get-V2024VendorConnectorMappings**](docs/V2024ApplicationDiscoveryApi.md#Get-V2024VendorConnectorMappings) | **GET** /vendor-connector-mappings | List vendor connector mappings +*V2024ApplicationDiscoveryApi* | [**Send-V2024ManualDiscoverApplicationsCsvTemplate**](docs/V2024ApplicationDiscoveryApi.md#Send-V2024ManualDiscoverApplicationsCsvTemplate) | **POST** /manual-discover-applications | CSV Upload to discover applications +*V2024ApprovalsApi* | [**Get-V2024Approval**](docs/V2024ApprovalsApi.md#Get-V2024Approval) | **GET** /generic-approvals/{id} | Get an approval +*V2024ApprovalsApi* | [**Get-V2024Approvals**](docs/V2024ApprovalsApi.md#Get-V2024Approvals) | **GET** /generic-approvals | Get Approvals +*V2024ApprovalsApi* | [**Update-V2024Approval**](docs/V2024ApprovalsApi.md#Update-V2024Approval) | **PATCH** /generic-approvals/{id} | Change an approval +*V2024AuthProfileApi* | [**Get-V2024ProfileConfig**](docs/V2024AuthProfileApi.md#Get-V2024ProfileConfig) | **GET** /auth-profiles/{id} | Get Auth Profile. +*V2024AuthProfileApi* | [**Get-V2024ProfileConfigList**](docs/V2024AuthProfileApi.md#Get-V2024ProfileConfigList) | **GET** /auth-profiles | Get list of Auth Profiles. +*V2024AuthProfileApi* | [**Update-V2024ProfileConfig**](docs/V2024AuthProfileApi.md#Update-V2024ProfileConfig) | **PATCH** /auth-profiles/{id} | Patch a specified Auth Profile +*V2024AuthUsersApi* | [**Get-V2024AuthUser**](docs/V2024AuthUsersApi.md#Get-V2024AuthUser) | **GET** /auth-users/{id} | Auth User Details +*V2024AuthUsersApi* | [**Update-V2024AuthUser**](docs/V2024AuthUsersApi.md#Update-V2024AuthUser) | **PATCH** /auth-users/{id} | Auth User Update +*V2024BrandingApi* | [**New-V2024BrandingItem**](docs/V2024BrandingApi.md#New-V2024BrandingItem) | **POST** /brandings | Create a branding item +*V2024BrandingApi* | [**Remove-V2024Branding**](docs/V2024BrandingApi.md#Remove-V2024Branding) | **DELETE** /brandings/{name} | Delete a branding item +*V2024BrandingApi* | [**Get-V2024Branding**](docs/V2024BrandingApi.md#Get-V2024Branding) | **GET** /brandings/{name} | Get a branding item +*V2024BrandingApi* | [**Get-V2024BrandingList**](docs/V2024BrandingApi.md#Get-V2024BrandingList) | **GET** /brandings | List of branding items +*V2024BrandingApi* | [**Set-V2024BrandingItem**](docs/V2024BrandingApi.md#Set-V2024BrandingItem) | **PUT** /brandings/{name} | Update a branding item +*V2024CertificationCampaignFiltersApi* | [**New-V2024CampaignFilter**](docs/V2024CertificationCampaignFiltersApi.md#New-V2024CampaignFilter) | **POST** /campaign-filters | Create Campaign Filter +*V2024CertificationCampaignFiltersApi* | [**Remove-V2024CampaignFilters**](docs/V2024CertificationCampaignFiltersApi.md#Remove-V2024CampaignFilters) | **POST** /campaign-filters/delete | Deletes Campaign Filters +*V2024CertificationCampaignFiltersApi* | [**Get-V2024CampaignFilterById**](docs/V2024CertificationCampaignFiltersApi.md#Get-V2024CampaignFilterById) | **GET** /campaign-filters/{id} | Get Campaign Filter by ID +*V2024CertificationCampaignFiltersApi* | [**Get-V2024CampaignFilters**](docs/V2024CertificationCampaignFiltersApi.md#Get-V2024CampaignFilters) | **GET** /campaign-filters | List Campaign Filters +*V2024CertificationCampaignFiltersApi* | [**Update-V2024CampaignFilter**](docs/V2024CertificationCampaignFiltersApi.md#Update-V2024CampaignFilter) | **POST** /campaign-filters/{id} | Updates a Campaign Filter +*V2024CertificationCampaignsApi* | [**Complete-V2024Campaign**](docs/V2024CertificationCampaignsApi.md#Complete-V2024Campaign) | **POST** /campaigns/{id}/complete | Complete a Campaign +*V2024CertificationCampaignsApi* | [**New-V2024Campaign**](docs/V2024CertificationCampaignsApi.md#New-V2024Campaign) | **POST** /campaigns | Create a campaign +*V2024CertificationCampaignsApi* | [**New-V2024CampaignTemplate**](docs/V2024CertificationCampaignsApi.md#New-V2024CampaignTemplate) | **POST** /campaign-templates | Create a Campaign Template +*V2024CertificationCampaignsApi* | [**Remove-V2024CampaignTemplate**](docs/V2024CertificationCampaignsApi.md#Remove-V2024CampaignTemplate) | **DELETE** /campaign-templates/{id} | Delete a Campaign Template +*V2024CertificationCampaignsApi* | [**Remove-V2024CampaignTemplateSchedule**](docs/V2024CertificationCampaignsApi.md#Remove-V2024CampaignTemplateSchedule) | **DELETE** /campaign-templates/{id}/schedule | Delete Campaign Template Schedule +*V2024CertificationCampaignsApi* | [**Remove-V2024Campaigns**](docs/V2024CertificationCampaignsApi.md#Remove-V2024Campaigns) | **POST** /campaigns/delete | Delete Campaigns +*V2024CertificationCampaignsApi* | [**Get-V2024ActiveCampaigns**](docs/V2024CertificationCampaignsApi.md#Get-V2024ActiveCampaigns) | **GET** /campaigns | List Campaigns +*V2024CertificationCampaignsApi* | [**Get-V2024Campaign**](docs/V2024CertificationCampaignsApi.md#Get-V2024Campaign) | **GET** /campaigns/{id} | Get Campaign +*V2024CertificationCampaignsApi* | [**Get-V2024CampaignReports**](docs/V2024CertificationCampaignsApi.md#Get-V2024CampaignReports) | **GET** /campaigns/{id}/reports | Get Campaign Reports +*V2024CertificationCampaignsApi* | [**Get-V2024CampaignReportsConfig**](docs/V2024CertificationCampaignsApi.md#Get-V2024CampaignReportsConfig) | **GET** /campaigns/reports-configuration | Get Campaign Reports Configuration +*V2024CertificationCampaignsApi* | [**Get-V2024CampaignTemplate**](docs/V2024CertificationCampaignsApi.md#Get-V2024CampaignTemplate) | **GET** /campaign-templates/{id} | Get a Campaign Template +*V2024CertificationCampaignsApi* | [**Get-V2024CampaignTemplateSchedule**](docs/V2024CertificationCampaignsApi.md#Get-V2024CampaignTemplateSchedule) | **GET** /campaign-templates/{id}/schedule | Get Campaign Template Schedule +*V2024CertificationCampaignsApi* | [**Get-V2024CampaignTemplates**](docs/V2024CertificationCampaignsApi.md#Get-V2024CampaignTemplates) | **GET** /campaign-templates | List Campaign Templates +*V2024CertificationCampaignsApi* | [**Move-V2024**](docs/V2024CertificationCampaignsApi.md#Move-V2024) | **POST** /campaigns/{id}/reassign | Reassign Certifications +*V2024CertificationCampaignsApi* | [**Update-V2024CampaignTemplate**](docs/V2024CertificationCampaignsApi.md#Update-V2024CampaignTemplate) | **PATCH** /campaign-templates/{id} | Update a Campaign Template +*V2024CertificationCampaignsApi* | [**Set-V2024CampaignReportsConfig**](docs/V2024CertificationCampaignsApi.md#Set-V2024CampaignReportsConfig) | **PUT** /campaigns/reports-configuration | Set Campaign Reports Configuration +*V2024CertificationCampaignsApi* | [**Set-V2024CampaignTemplateSchedule**](docs/V2024CertificationCampaignsApi.md#Set-V2024CampaignTemplateSchedule) | **PUT** /campaign-templates/{id}/schedule | Set Campaign Template Schedule +*V2024CertificationCampaignsApi* | [**Start-V2024Campaign**](docs/V2024CertificationCampaignsApi.md#Start-V2024Campaign) | **POST** /campaigns/{id}/activate | Activate a Campaign +*V2024CertificationCampaignsApi* | [**Start-V2024CampaignRemediationScan**](docs/V2024CertificationCampaignsApi.md#Start-V2024CampaignRemediationScan) | **POST** /campaigns/{id}/run-remediation-scan | Run Campaign Remediation Scan +*V2024CertificationCampaignsApi* | [**Start-V2024CampaignReport**](docs/V2024CertificationCampaignsApi.md#Start-V2024CampaignReport) | **POST** /campaigns/{id}/run-report/{type} | Run Campaign Report +*V2024CertificationCampaignsApi* | [**Start-V2024GenerateCampaignTemplate**](docs/V2024CertificationCampaignsApi.md#Start-V2024GenerateCampaignTemplate) | **POST** /campaign-templates/{id}/generate | Generate a Campaign from Template +*V2024CertificationCampaignsApi* | [**Update-V2024Campaign**](docs/V2024CertificationCampaignsApi.md#Update-V2024Campaign) | **PATCH** /campaigns/{id} | Update a Campaign +*V2024CertificationSummariesApi* | [**Get-V2024IdentityAccessSummaries**](docs/V2024CertificationSummariesApi.md#Get-V2024IdentityAccessSummaries) | **GET** /certifications/{id}/access-summaries/{type} | Access Summaries +*V2024CertificationSummariesApi* | [**Get-V2024IdentityDecisionSummary**](docs/V2024CertificationSummariesApi.md#Get-V2024IdentityDecisionSummary) | **GET** /certifications/{id}/decision-summary | Summary of Certification Decisions +*V2024CertificationSummariesApi* | [**Get-V2024IdentitySummaries**](docs/V2024CertificationSummariesApi.md#Get-V2024IdentitySummaries) | **GET** /certifications/{id}/identity-summaries | Identity Summaries for Campaign Certification +*V2024CertificationSummariesApi* | [**Get-V2024IdentitySummary**](docs/V2024CertificationSummariesApi.md#Get-V2024IdentitySummary) | **GET** /certifications/{id}/identity-summaries/{identitySummaryId} | Summary for Identity +*V2024CertificationsApi* | [**Get-V2024CertificationTask**](docs/V2024CertificationsApi.md#Get-V2024CertificationTask) | **GET** /certification-tasks/{id} | Certification Task by ID +*V2024CertificationsApi* | [**Get-V2024IdentityCertification**](docs/V2024CertificationsApi.md#Get-V2024IdentityCertification) | **GET** /certifications/{id} | Identity Certification by ID +*V2024CertificationsApi* | [**Get-V2024IdentityCertificationItemPermissions**](docs/V2024CertificationsApi.md#Get-V2024IdentityCertificationItemPermissions) | **GET** /certifications/{certificationId}/access-review-items/{itemId}/permissions | Permissions for Entitlement Certification Item +*V2024CertificationsApi* | [**Get-V2024PendingCertificationTasks**](docs/V2024CertificationsApi.md#Get-V2024PendingCertificationTasks) | **GET** /certification-tasks | List of Pending Certification Tasks +*V2024CertificationsApi* | [**Get-V2024CertificationReviewers**](docs/V2024CertificationsApi.md#Get-V2024CertificationReviewers) | **GET** /certifications/{id}/reviewers | List of Reviewers for certification +*V2024CertificationsApi* | [**Get-V2024IdentityAccessReviewItems**](docs/V2024CertificationsApi.md#Get-V2024IdentityAccessReviewItems) | **GET** /certifications/{id}/access-review-items | List of Access Review Items +*V2024CertificationsApi* | [**Get-V2024IdentityCertifications**](docs/V2024CertificationsApi.md#Get-V2024IdentityCertifications) | **GET** /certifications | List Identity Campaign Certifications +*V2024CertificationsApi* | [**Select-V2024IdentityDecision**](docs/V2024CertificationsApi.md#Select-V2024IdentityDecision) | **POST** /certifications/{id}/decide | Decide on a Certification Item +*V2024CertificationsApi* | [**Invoke-V2024ReassignIdentityCertifications**](docs/V2024CertificationsApi.md#Invoke-V2024ReassignIdentityCertifications) | **POST** /certifications/{id}/reassign | Reassign Identities or Items +*V2024CertificationsApi* | [**Invoke-V2024SignOffIdentityCertification**](docs/V2024CertificationsApi.md#Invoke-V2024SignOffIdentityCertification) | **POST** /certifications/{id}/sign-off | Finalize Identity Certification Decisions +*V2024CertificationsApi* | [**Submit-V2024ReassignCertsAsync**](docs/V2024CertificationsApi.md#Submit-V2024ReassignCertsAsync) | **POST** /certifications/{id}/reassign-async | Reassign Certifications Asynchronously +*V2024ConfigurationHubApi* | [**New-V2024ObjectMapping**](docs/V2024ConfigurationHubApi.md#New-V2024ObjectMapping) | **POST** /configuration-hub/object-mappings/{sourceOrg} | Creates an object mapping +*V2024ConfigurationHubApi* | [**New-V2024ObjectMappings**](docs/V2024ConfigurationHubApi.md#New-V2024ObjectMappings) | **POST** /configuration-hub/object-mappings/{sourceOrg}/bulk-create | Bulk creates object mappings +*V2024ConfigurationHubApi* | [**Remove-V2024ObjectMapping**](docs/V2024ConfigurationHubApi.md#Remove-V2024ObjectMapping) | **DELETE** /configuration-hub/object-mappings/{sourceOrg}/{objectMappingId} | Deletes an object mapping +*V2024ConfigurationHubApi* | [**Remove-V2024UploadedBackup**](docs/V2024ConfigurationHubApi.md#Remove-V2024UploadedBackup) | **DELETE** /configuration-hub/backups/uploads/{id} | Deletes an uploaded backup file +*V2024ConfigurationHubApi* | [**Get-V2024ObjectMappings**](docs/V2024ConfigurationHubApi.md#Get-V2024ObjectMappings) | **GET** /configuration-hub/object-mappings/{sourceOrg} | Gets list of object mappings +*V2024ConfigurationHubApi* | [**Get-V2024UploadedBackup**](docs/V2024ConfigurationHubApi.md#Get-V2024UploadedBackup) | **GET** /configuration-hub/backups/uploads/{id} | Get an uploaded backup's information +*V2024ConfigurationHubApi* | [**Get-V2024UploadedBackups**](docs/V2024ConfigurationHubApi.md#Get-V2024UploadedBackups) | **GET** /configuration-hub/backups/uploads | Gets list of Uploaded backups +*V2024ConfigurationHubApi* | [**Import-V2024UploadedBackup**](docs/V2024ConfigurationHubApi.md#Import-V2024UploadedBackup) | **POST** /configuration-hub/backups/uploads | Uploads a backup file +*V2024ConfigurationHubApi* | [**Update-V2024ObjectMappings**](docs/V2024ConfigurationHubApi.md#Update-V2024ObjectMappings) | **POST** /configuration-hub/object-mappings/{sourceOrg}/bulk-patch | Bulk updates object mappings +*V2024ConnectorRuleManagementApi* | [**New-V2024ConnectorRule**](docs/V2024ConnectorRuleManagementApi.md#New-V2024ConnectorRule) | **POST** /connector-rules | Create Connector Rule +*V2024ConnectorRuleManagementApi* | [**Remove-V2024ConnectorRule**](docs/V2024ConnectorRuleManagementApi.md#Remove-V2024ConnectorRule) | **DELETE** /connector-rules/{id} | Delete a Connector-Rule +*V2024ConnectorRuleManagementApi* | [**Get-V2024ConnectorRule**](docs/V2024ConnectorRuleManagementApi.md#Get-V2024ConnectorRule) | **GET** /connector-rules/{id} | Connector-Rule by ID +*V2024ConnectorRuleManagementApi* | [**Get-V2024ConnectorRuleList**](docs/V2024ConnectorRuleManagementApi.md#Get-V2024ConnectorRuleList) | **GET** /connector-rules | List Connector Rules +*V2024ConnectorRuleManagementApi* | [**Update-V2024ConnectorRule**](docs/V2024ConnectorRuleManagementApi.md#Update-V2024ConnectorRule) | **PUT** /connector-rules/{id} | Update a Connector Rule +*V2024ConnectorRuleManagementApi* | [**Confirm-V2024ConnectorRule**](docs/V2024ConnectorRuleManagementApi.md#Confirm-V2024ConnectorRule) | **POST** /connector-rules/validate | Validate Connector Rule +*V2024ConnectorsApi* | [**New-V2024CustomConnector**](docs/V2024ConnectorsApi.md#New-V2024CustomConnector) | **POST** /connectors | Create custom connector +*V2024ConnectorsApi* | [**Remove-V2024CustomConnector**](docs/V2024ConnectorsApi.md#Remove-V2024CustomConnector) | **DELETE** /connectors/{scriptName} | Deletes connector by script name +*V2024ConnectorsApi* | [**Get-V2024Connector**](docs/V2024ConnectorsApi.md#Get-V2024Connector) | **GET** /connectors/{scriptName} | Gets connector by script name +*V2024ConnectorsApi* | [**Get-V2024ConnectorCorrelationConfig**](docs/V2024ConnectorsApi.md#Get-V2024ConnectorCorrelationConfig) | **GET** /connectors/{scriptName}/correlation-config | +*V2024ConnectorsApi* | [**Get-V2024ConnectorList**](docs/V2024ConnectorsApi.md#Get-V2024ConnectorList) | **GET** /connectors | Gets connector list +*V2024ConnectorsApi* | [**Get-V2024ConnectorSourceConfig**](docs/V2024ConnectorsApi.md#Get-V2024ConnectorSourceConfig) | **GET** /connectors/{scriptName}/source-config | +*V2024ConnectorsApi* | [**Get-V2024ConnectorSourceTemplate**](docs/V2024ConnectorsApi.md#Get-V2024ConnectorSourceTemplate) | **GET** /connectors/{scriptName}/source-template | +*V2024ConnectorsApi* | [**Get-V2024ConnectorTranslations**](docs/V2024ConnectorsApi.md#Get-V2024ConnectorTranslations) | **GET** /connectors/{scriptName}/translations/{locale} | +*V2024ConnectorsApi* | [**Send-V2024CorrelationConfig**](docs/V2024ConnectorsApi.md#Send-V2024CorrelationConfig) | **PUT** /connectors/{scriptName}/correlation-config | +*V2024ConnectorsApi* | [**Send-V2024SourceConfig**](docs/V2024ConnectorsApi.md#Send-V2024SourceConfig) | **PUT** /connectors/{scriptName}/source-config | +*V2024ConnectorsApi* | [**Send-V2024SourceTemplate**](docs/V2024ConnectorsApi.md#Send-V2024SourceTemplate) | **PUT** /connectors/{scriptName}/source-template | +*V2024ConnectorsApi* | [**Send-V2024Translations**](docs/V2024ConnectorsApi.md#Send-V2024Translations) | **PUT** /connectors/{scriptName}/translations/{locale} | +*V2024ConnectorsApi* | [**Update-V2024Connector**](docs/V2024ConnectorsApi.md#Update-V2024Connector) | **PATCH** /connectors/{scriptName} | Update connector by script name +*V2024CustomFormsApi* | [**New-V2024FormDefinition**](docs/V2024CustomFormsApi.md#New-V2024FormDefinition) | **POST** /form-definitions | Creates a form definition. +*V2024CustomFormsApi* | [**New-V2024FormDefinitionDynamicSchema**](docs/V2024CustomFormsApi.md#New-V2024FormDefinitionDynamicSchema) | **POST** /form-definitions/forms-action-dynamic-schema | Generate JSON Schema dynamically. +*V2024CustomFormsApi* | [**New-V2024FormDefinitionFileRequest**](docs/V2024CustomFormsApi.md#New-V2024FormDefinitionFileRequest) | **POST** /form-definitions/{formDefinitionID}/upload | Upload new form definition file. +*V2024CustomFormsApi* | [**New-V2024FormInstance**](docs/V2024CustomFormsApi.md#New-V2024FormInstance) | **POST** /form-instances | Creates a form instance. +*V2024CustomFormsApi* | [**Remove-V2024FormDefinition**](docs/V2024CustomFormsApi.md#Remove-V2024FormDefinition) | **DELETE** /form-definitions/{formDefinitionID} | Deletes a form definition. +*V2024CustomFormsApi* | [**Export-V2024FormDefinitionsByTenant**](docs/V2024CustomFormsApi.md#Export-V2024FormDefinitionsByTenant) | **GET** /form-definitions/export | List form definitions by tenant. +*V2024CustomFormsApi* | [**Get-V2024FileFromS3**](docs/V2024CustomFormsApi.md#Get-V2024FileFromS3) | **GET** /form-definitions/{formDefinitionID}/file/{fileID} | Download definition file by fileId. +*V2024CustomFormsApi* | [**Get-V2024FormDefinitionByKey**](docs/V2024CustomFormsApi.md#Get-V2024FormDefinitionByKey) | **GET** /form-definitions/{formDefinitionID} | Return a form definition. +*V2024CustomFormsApi* | [**Get-V2024FormInstanceByKey**](docs/V2024CustomFormsApi.md#Get-V2024FormInstanceByKey) | **GET** /form-instances/{formInstanceID} | Returns a form instance. +*V2024CustomFormsApi* | [**Get-V2024FormInstanceFile**](docs/V2024CustomFormsApi.md#Get-V2024FormInstanceFile) | **GET** /form-instances/{formInstanceID}/file/{fileID} | Download instance file by fileId. +*V2024CustomFormsApi* | [**Import-V2024FormDefinitions**](docs/V2024CustomFormsApi.md#Import-V2024FormDefinitions) | **POST** /form-definitions/import | Import form definitions from export. +*V2024CustomFormsApi* | [**Update-V2024FormDefinition**](docs/V2024CustomFormsApi.md#Update-V2024FormDefinition) | **PATCH** /form-definitions/{formDefinitionID} | Patch a form definition. +*V2024CustomFormsApi* | [**Update-V2024FormInstance**](docs/V2024CustomFormsApi.md#Update-V2024FormInstance) | **PATCH** /form-instances/{formInstanceID} | Patch a form instance. +*V2024CustomFormsApi* | [**Search-V2024FormDefinitionsByTenant**](docs/V2024CustomFormsApi.md#Search-V2024FormDefinitionsByTenant) | **GET** /form-definitions | Export form definitions by tenant. +*V2024CustomFormsApi* | [**Search-V2024FormElementDataByElementID**](docs/V2024CustomFormsApi.md#Search-V2024FormElementDataByElementID) | **GET** /form-instances/{formInstanceID}/data-source/{formElementID} | Retrieves dynamic data by element. +*V2024CustomFormsApi* | [**Search-V2024FormInstancesByTenant**](docs/V2024CustomFormsApi.md#Search-V2024FormInstancesByTenant) | **GET** /form-instances | List form instances by tenant. +*V2024CustomFormsApi* | [**Search-V2024PreDefinedSelectOptions**](docs/V2024CustomFormsApi.md#Search-V2024PreDefinedSelectOptions) | **GET** /form-definitions/predefined-select-options | List predefined select options. +*V2024CustomFormsApi* | [**Show-V2024PreviewDataSource**](docs/V2024CustomFormsApi.md#Show-V2024PreviewDataSource) | **POST** /form-definitions/{formDefinitionID}/data-source | Preview form definition data source. +*V2024CustomPasswordInstructionsApi* | [**New-V2024CustomPasswordInstructions**](docs/V2024CustomPasswordInstructionsApi.md#New-V2024CustomPasswordInstructions) | **POST** /custom-password-instructions | Create Custom Password Instructions +*V2024CustomPasswordInstructionsApi* | [**Remove-V2024CustomPasswordInstructions**](docs/V2024CustomPasswordInstructionsApi.md#Remove-V2024CustomPasswordInstructions) | **DELETE** /custom-password-instructions/{pageId} | Delete Custom Password Instructions by page ID +*V2024CustomPasswordInstructionsApi* | [**Get-V2024CustomPasswordInstructions**](docs/V2024CustomPasswordInstructionsApi.md#Get-V2024CustomPasswordInstructions) | **GET** /custom-password-instructions/{pageId} | Get Custom Password Instructions by Page ID +*V2024EntitlementsApi* | [**New-V2024AccessModelMetadataForEntitlement**](docs/V2024EntitlementsApi.md#New-V2024AccessModelMetadataForEntitlement) | **POST** /entitlements/{id}/access-model-metadata/{attributeKey}/values/{attributeValue} | Add metadata to an entitlement. +*V2024EntitlementsApi* | [**Remove-V2024AccessModelMetadataFromEntitlement**](docs/V2024EntitlementsApi.md#Remove-V2024AccessModelMetadataFromEntitlement) | **DELETE** /entitlements/{id}/access-model-metadata/{attributeKey}/values/{attributeValue} | Remove metadata from an entitlement. +*V2024EntitlementsApi* | [**Get-V2024Entitlement**](docs/V2024EntitlementsApi.md#Get-V2024Entitlement) | **GET** /entitlements/{id} | Get an entitlement +*V2024EntitlementsApi* | [**Get-V2024EntitlementRequestConfig**](docs/V2024EntitlementsApi.md#Get-V2024EntitlementRequestConfig) | **GET** /entitlements/{id}/entitlement-request-config | Get Entitlement Request Config +*V2024EntitlementsApi* | [**Import-V2024EntitlementsBySource**](docs/V2024EntitlementsApi.md#Import-V2024EntitlementsBySource) | **POST** /entitlements/aggregate/sources/{id} | Aggregate Entitlements +*V2024EntitlementsApi* | [**Get-V2024EntitlementChildren**](docs/V2024EntitlementsApi.md#Get-V2024EntitlementChildren) | **GET** /entitlements/{id}/children | List of entitlements children +*V2024EntitlementsApi* | [**Get-V2024EntitlementParents**](docs/V2024EntitlementsApi.md#Get-V2024EntitlementParents) | **GET** /entitlements/{id}/parents | List of entitlements parents +*V2024EntitlementsApi* | [**Get-V2024Entitlements**](docs/V2024EntitlementsApi.md#Get-V2024Entitlements) | **GET** /entitlements | Gets a list of entitlements. +*V2024EntitlementsApi* | [**Update-V2024Entitlement**](docs/V2024EntitlementsApi.md#Update-V2024Entitlement) | **PATCH** /entitlements/{id} | Patch an entitlement +*V2024EntitlementsApi* | [**Send-V2024EntitlementRequestConfig**](docs/V2024EntitlementsApi.md#Send-V2024EntitlementRequestConfig) | **PUT** /entitlements/{id}/entitlement-request-config | Replace Entitlement Request Config +*V2024EntitlementsApi* | [**Reset-V2024SourceEntitlements**](docs/V2024EntitlementsApi.md#Reset-V2024SourceEntitlements) | **POST** /entitlements/reset/sources/{id} | Reset Source Entitlements +*V2024EntitlementsApi* | [**Update-V2024EntitlementsInBulk**](docs/V2024EntitlementsApi.md#Update-V2024EntitlementsInBulk) | **POST** /entitlements/bulk-update | Bulk update an entitlement list +*V2024GlobalTenantSecuritySettingsApi* | [**New-V2024AuthOrgNetworkConfig**](docs/V2024GlobalTenantSecuritySettingsApi.md#New-V2024AuthOrgNetworkConfig) | **POST** /auth-org/network-config | Create security network configuration. +*V2024GlobalTenantSecuritySettingsApi* | [**Get-V2024AuthOrgNetworkConfig**](docs/V2024GlobalTenantSecuritySettingsApi.md#Get-V2024AuthOrgNetworkConfig) | **GET** /auth-org/network-config | Get security network configuration. +*V2024GlobalTenantSecuritySettingsApi* | [**Update-V2024AuthOrgNetworkConfig**](docs/V2024GlobalTenantSecuritySettingsApi.md#Update-V2024AuthOrgNetworkConfig) | **PATCH** /auth-org/network-config | Update security network configuration. +*V2024GovernanceGroupsApi* | [**New-V2024Workgroup**](docs/V2024GovernanceGroupsApi.md#New-V2024Workgroup) | **POST** /workgroups | Create a new Governance Group. +*V2024GovernanceGroupsApi* | [**Remove-V2024Workgroup**](docs/V2024GovernanceGroupsApi.md#Remove-V2024Workgroup) | **DELETE** /workgroups/{id} | Delete a Governance Group +*V2024GovernanceGroupsApi* | [**Remove-V2024WorkgroupMembers**](docs/V2024GovernanceGroupsApi.md#Remove-V2024WorkgroupMembers) | **POST** /workgroups/{workgroupId}/members/bulk-delete | Remove members from Governance Group +*V2024GovernanceGroupsApi* | [**Remove-V2024WorkgroupsInBulk**](docs/V2024GovernanceGroupsApi.md#Remove-V2024WorkgroupsInBulk) | **POST** /workgroups/bulk-delete | Delete Governance Group(s) +*V2024GovernanceGroupsApi* | [**Get-V2024Workgroup**](docs/V2024GovernanceGroupsApi.md#Get-V2024Workgroup) | **GET** /workgroups/{id} | Get Governance Group by Id +*V2024GovernanceGroupsApi* | [**Get-V2024Connections**](docs/V2024GovernanceGroupsApi.md#Get-V2024Connections) | **GET** /workgroups/{workgroupId}/connections | List connections for Governance Group +*V2024GovernanceGroupsApi* | [**Get-V2024WorkgroupMembers**](docs/V2024GovernanceGroupsApi.md#Get-V2024WorkgroupMembers) | **GET** /workgroups/{workgroupId}/members | List Governance Group Members +*V2024GovernanceGroupsApi* | [**Get-V2024Workgroups**](docs/V2024GovernanceGroupsApi.md#Get-V2024Workgroups) | **GET** /workgroups | List Governance Groups +*V2024GovernanceGroupsApi* | [**Update-V2024Workgroup**](docs/V2024GovernanceGroupsApi.md#Update-V2024Workgroup) | **PATCH** /workgroups/{id} | Patch a Governance Group +*V2024GovernanceGroupsApi* | [**Update-V2024WorkgroupMembers**](docs/V2024GovernanceGroupsApi.md#Update-V2024WorkgroupMembers) | **POST** /workgroups/{workgroupId}/members/bulk-add | Add members to Governance Group +*V2024IAIAccessRequestRecommendationsApi* | [**Add-V2024AccessRequestRecommendationsIgnoredItem**](docs/V2024IAIAccessRequestRecommendationsApi.md#Add-V2024AccessRequestRecommendationsIgnoredItem) | **POST** /ai-access-request-recommendations/ignored-items | Notification of Ignored Access Request Recommendations +*V2024IAIAccessRequestRecommendationsApi* | [**Add-V2024AccessRequestRecommendationsRequestedItem**](docs/V2024IAIAccessRequestRecommendationsApi.md#Add-V2024AccessRequestRecommendationsRequestedItem) | **POST** /ai-access-request-recommendations/requested-items | Notification of Requested Access Request Recommendations +*V2024IAIAccessRequestRecommendationsApi* | [**Add-V2024AccessRequestRecommendationsViewedItem**](docs/V2024IAIAccessRequestRecommendationsApi.md#Add-V2024AccessRequestRecommendationsViewedItem) | **POST** /ai-access-request-recommendations/viewed-items | Notification of Viewed Access Request Recommendations +*V2024IAIAccessRequestRecommendationsApi* | [**Add-V2024AccessRequestRecommendationsViewedItems**](docs/V2024IAIAccessRequestRecommendationsApi.md#Add-V2024AccessRequestRecommendationsViewedItems) | **POST** /ai-access-request-recommendations/viewed-items/bulk-create | Notification of Viewed Access Request Recommendations in Bulk +*V2024IAIAccessRequestRecommendationsApi* | [**Get-V2024AccessRequestRecommendations**](docs/V2024IAIAccessRequestRecommendationsApi.md#Get-V2024AccessRequestRecommendations) | **GET** /ai-access-request-recommendations | Identity Access Request Recommendations +*V2024IAIAccessRequestRecommendationsApi* | [**Get-V2024AccessRequestRecommendationsIgnoredItems**](docs/V2024IAIAccessRequestRecommendationsApi.md#Get-V2024AccessRequestRecommendationsIgnoredItems) | **GET** /ai-access-request-recommendations/ignored-items | List of Ignored Access Request Recommendations +*V2024IAIAccessRequestRecommendationsApi* | [**Get-V2024AccessRequestRecommendationsRequestedItems**](docs/V2024IAIAccessRequestRecommendationsApi.md#Get-V2024AccessRequestRecommendationsRequestedItems) | **GET** /ai-access-request-recommendations/requested-items | List of Requested Access Request Recommendations +*V2024IAIAccessRequestRecommendationsApi* | [**Get-V2024AccessRequestRecommendationsViewedItems**](docs/V2024IAIAccessRequestRecommendationsApi.md#Get-V2024AccessRequestRecommendationsViewedItems) | **GET** /ai-access-request-recommendations/viewed-items | List of Viewed Access Request Recommendations +*V2024IAICommonAccessApi* | [**New-V2024CommonAccess**](docs/V2024IAICommonAccessApi.md#New-V2024CommonAccess) | **POST** /common-access | Create common access items +*V2024IAICommonAccessApi* | [**Get-V2024CommonAccess**](docs/V2024IAICommonAccessApi.md#Get-V2024CommonAccess) | **GET** /common-access | Get a paginated list of common access +*V2024IAICommonAccessApi* | [**Update-V2024CommonAccessStatusInBulk**](docs/V2024IAICommonAccessApi.md#Update-V2024CommonAccessStatusInBulk) | **POST** /common-access/update-status | Bulk update common access status +*V2024IAIOutliersApi* | [**Export-V2024OutliersZip**](docs/V2024IAIOutliersApi.md#Export-V2024OutliersZip) | **GET** /outliers/export | IAI Identity Outliers Export +*V2024IAIOutliersApi* | [**Get-V2024IdentityOutlierSnapshots**](docs/V2024IAIOutliersApi.md#Get-V2024IdentityOutlierSnapshots) | **GET** /outlier-summaries | IAI Identity Outliers Summary +*V2024IAIOutliersApi* | [**Get-V2024IdentityOutliers**](docs/V2024IAIOutliersApi.md#Get-V2024IdentityOutliers) | **GET** /outliers | IAI Get Identity Outliers +*V2024IAIOutliersApi* | [**Get-V2024LatestIdentityOutlierSnapshots**](docs/V2024IAIOutliersApi.md#Get-V2024LatestIdentityOutlierSnapshots) | **GET** /outlier-summaries/latest | IAI Identity Outliers Latest Summary +*V2024IAIOutliersApi* | [**Get-V2024OutlierContributingFeatureSummary**](docs/V2024IAIOutliersApi.md#Get-V2024OutlierContributingFeatureSummary) | **GET** /outlier-feature-summaries/{outlierFeatureId} | Get identity outlier contibuting feature summary +*V2024IAIOutliersApi* | [**Get-V2024PeerGroupOutliersContributingFeatures**](docs/V2024IAIOutliersApi.md#Get-V2024PeerGroupOutliersContributingFeatures) | **GET** /outliers/{outlierId}/contributing-features | Get identity outlier's contibuting features +*V2024IAIOutliersApi* | [**Invoke-V2024IgnoreIdentityOutliers**](docs/V2024IAIOutliersApi.md#Invoke-V2024IgnoreIdentityOutliers) | **POST** /outliers/ignore | IAI Identity Outliers Ignore +*V2024IAIOutliersApi* | [**Get-V2024OutliersContributingFeatureAccessItems**](docs/V2024IAIOutliersApi.md#Get-V2024OutliersContributingFeatureAccessItems) | **GET** /outliers/{outlierId}/feature-details/{contributingFeatureName}/access-items | Gets a list of access items associated with each identity outlier contributing feature +*V2024IAIOutliersApi* | [**Invoke-V2024UnIgnoreIdentityOutliers**](docs/V2024IAIOutliersApi.md#Invoke-V2024UnIgnoreIdentityOutliers) | **POST** /outliers/unignore | IAI Identity Outliers Unignore +*V2024IAIPeerGroupStrategiesApi* | [**Get-V2024PeerGroupOutliers**](docs/V2024IAIPeerGroupStrategiesApi.md#Get-V2024PeerGroupOutliers) | **GET** /peer-group-strategies/{strategy}/identity-outliers | Identity Outliers List +*V2024IAIRecommendationsApi* | [**Get-V2024Recommendations**](docs/V2024IAIRecommendationsApi.md#Get-V2024Recommendations) | **POST** /recommendations/request | Returns a Recommendation Based on Object +*V2024IAIRecommendationsApi* | [**Get-V2024RecommendationsConfig**](docs/V2024IAIRecommendationsApi.md#Get-V2024RecommendationsConfig) | **GET** /recommendations/config | Get certification recommendation config values +*V2024IAIRecommendationsApi* | [**Update-V2024RecommendationsConfig**](docs/V2024IAIRecommendationsApi.md#Update-V2024RecommendationsConfig) | **PUT** /recommendations/config | Update certification recommendation config values +*V2024IAIRoleMiningApi* | [**New-V2024PotentialRoleProvisionRequest**](docs/V2024IAIRoleMiningApi.md#New-V2024PotentialRoleProvisionRequest) | **POST** /role-mining-sessions/{sessionId}/potential-roles/{potentialRoleId}/provision | Create request to provision a potential role into an actual role. +*V2024IAIRoleMiningApi* | [**New-V2024RoleMiningSessions**](docs/V2024IAIRoleMiningApi.md#New-V2024RoleMiningSessions) | **POST** /role-mining-sessions | Create a role mining session +*V2024IAIRoleMiningApi* | [**Invoke-V2024DownloadRoleMiningPotentialRoleZip**](docs/V2024IAIRoleMiningApi.md#Invoke-V2024DownloadRoleMiningPotentialRoleZip) | **GET** /role-mining-sessions/{sessionId}/potential-roles/{potentialRoleId}/export-async/{exportId}/download | Export (download) details for a potential role in a role mining session +*V2024IAIRoleMiningApi* | [**Export-V2024RoleMiningPotentialRole**](docs/V2024IAIRoleMiningApi.md#Export-V2024RoleMiningPotentialRole) | **GET** /role-mining-sessions/{sessionId}/potential-roles/{potentialRoleId}/export | Export (download) details for a potential role in a role mining session +*V2024IAIRoleMiningApi* | [**Export-V2024RoleMiningPotentialRoleAsync**](docs/V2024IAIRoleMiningApi.md#Export-V2024RoleMiningPotentialRoleAsync) | **POST** /role-mining-sessions/{sessionId}/potential-roles/{potentialRoleId}/export-async | Asynchronously export details for a potential role in a role mining session and upload to S3 +*V2024IAIRoleMiningApi* | [**Export-V2024RoleMiningPotentialRoleStatus**](docs/V2024IAIRoleMiningApi.md#Export-V2024RoleMiningPotentialRoleStatus) | **GET** /role-mining-sessions/{sessionId}/potential-roles/{potentialRoleId}/export-async/{exportId} | Retrieve status of a potential role export job +*V2024IAIRoleMiningApi* | [**Get-V2024AllPotentialRoleSummaries**](docs/V2024IAIRoleMiningApi.md#Get-V2024AllPotentialRoleSummaries) | **GET** /role-mining-potential-roles | Retrieves all potential role summaries +*V2024IAIRoleMiningApi* | [**Get-V2024EntitlementDistributionPotentialRole**](docs/V2024IAIRoleMiningApi.md#Get-V2024EntitlementDistributionPotentialRole) | **GET** /role-mining-sessions/{sessionId}/potential-roles/{potentialRoleId}/entitlement-popularity-distribution | Retrieves entitlement popularity distribution for a potential role in a role mining session +*V2024IAIRoleMiningApi* | [**Get-V2024EntitlementsPotentialRole**](docs/V2024IAIRoleMiningApi.md#Get-V2024EntitlementsPotentialRole) | **GET** /role-mining-sessions/{sessionId}/potential-roles/{potentialRoleId}/entitlement-popularities | Retrieves entitlements for a potential role in a role mining session +*V2024IAIRoleMiningApi* | [**Get-V2024ExcludedEntitlementsPotentialRole**](docs/V2024IAIRoleMiningApi.md#Get-V2024ExcludedEntitlementsPotentialRole) | **GET** /role-mining-sessions/{sessionId}/potential-roles/{potentialRoleId}/excluded-entitlements | Retrieves excluded entitlements for a potential role in a role mining session +*V2024IAIRoleMiningApi* | [**Get-V2024IdentitiesPotentialRole**](docs/V2024IAIRoleMiningApi.md#Get-V2024IdentitiesPotentialRole) | **GET** /role-mining-sessions/{sessionId}/potential-roles/{potentialRoleId}/identities | Retrieves identities for a potential role in a role mining session +*V2024IAIRoleMiningApi* | [**Get-V2024PotentialRole**](docs/V2024IAIRoleMiningApi.md#Get-V2024PotentialRole) | **GET** /role-mining-sessions/{sessionId}/potential-role-summaries/{potentialRoleId} | Retrieves a specific potential role +*V2024IAIRoleMiningApi* | [**Get-V2024PotentialRoleApplications**](docs/V2024IAIRoleMiningApi.md#Get-V2024PotentialRoleApplications) | **GET** /role-mining-sessions/{sessionId}/potential-role-summaries/{potentialRoleId}/applications | Retrieves the applications of a potential role for a role mining session +*V2024IAIRoleMiningApi* | [**Get-V2024PotentialRoleSourceIdentityUsage**](docs/V2024IAIRoleMiningApi.md#Get-V2024PotentialRoleSourceIdentityUsage) | **GET** /role-mining-potential-roles/{potentialRoleId}/sources/{sourceId}/identityUsage | Retrieves potential role source usage +*V2024IAIRoleMiningApi* | [**Get-V2024PotentialRoleSummaries**](docs/V2024IAIRoleMiningApi.md#Get-V2024PotentialRoleSummaries) | **GET** /role-mining-sessions/{sessionId}/potential-role-summaries | Retrieves all potential role summaries +*V2024IAIRoleMiningApi* | [**Get-V2024RoleMiningPotentialRole**](docs/V2024IAIRoleMiningApi.md#Get-V2024RoleMiningPotentialRole) | **GET** /role-mining-potential-roles/{potentialRoleId} | Retrieves a specific potential role +*V2024IAIRoleMiningApi* | [**Get-V2024RoleMiningSession**](docs/V2024IAIRoleMiningApi.md#Get-V2024RoleMiningSession) | **GET** /role-mining-sessions/{sessionId} | Get a role mining session +*V2024IAIRoleMiningApi* | [**Get-V2024RoleMiningSessionStatus**](docs/V2024IAIRoleMiningApi.md#Get-V2024RoleMiningSessionStatus) | **GET** /role-mining-sessions/{sessionId}/status | Get role mining session status state +*V2024IAIRoleMiningApi* | [**Get-V2024RoleMiningSessions**](docs/V2024IAIRoleMiningApi.md#Get-V2024RoleMiningSessions) | **GET** /role-mining-sessions | Retrieves all role mining sessions +*V2024IAIRoleMiningApi* | [**Get-V2024SavedPotentialRoles**](docs/V2024IAIRoleMiningApi.md#Get-V2024SavedPotentialRoles) | **GET** /role-mining-potential-roles/saved | Retrieves all saved potential roles +*V2024IAIRoleMiningApi* | [**Update-V2024PotentialRole**](docs/V2024IAIRoleMiningApi.md#Update-V2024PotentialRole) | **PATCH** /role-mining-sessions/{sessionId}/potential-role-summaries/{potentialRoleId} | Update a potential role +*V2024IAIRoleMiningApi* | [**Update-V2024PotentialRole0**](docs/V2024IAIRoleMiningApi.md#Update-V2024PotentialRole0) | **PATCH** /role-mining-potential-roles/{potentialRoleId} | Update a potential role +*V2024IAIRoleMiningApi* | [**Update-V2024RoleMiningSession**](docs/V2024IAIRoleMiningApi.md#Update-V2024RoleMiningSession) | **PATCH** /role-mining-sessions/{sessionId} | Patch a role mining session +*V2024IAIRoleMiningApi* | [**Update-V2024EntitlementsPotentialRole**](docs/V2024IAIRoleMiningApi.md#Update-V2024EntitlementsPotentialRole) | **POST** /role-mining-sessions/{sessionId}/potential-roles/{potentialRoleId}/edit-entitlements | Edit entitlements for a potential role to exclude some entitlements +*V2024IconsApi* | [**Remove-V2024Icon**](docs/V2024IconsApi.md#Remove-V2024Icon) | **DELETE** /icons/{objectType}/{objectId} | Delete an icon +*V2024IconsApi* | [**Set-V2024Icon**](docs/V2024IconsApi.md#Set-V2024Icon) | **PUT** /icons/{objectType}/{objectId} | Update an icon +*V2024IdentitiesApi* | [**Remove-V2024Identity**](docs/V2024IdentitiesApi.md#Remove-V2024Identity) | **DELETE** /identities/{id} | Delete identity +*V2024IdentitiesApi* | [**Get-V2024Identity**](docs/V2024IdentitiesApi.md#Get-V2024Identity) | **GET** /identities/{id} | Identity Details +*V2024IdentitiesApi* | [**Get-V2024IdentityOwnershipDetails**](docs/V2024IdentitiesApi.md#Get-V2024IdentityOwnershipDetails) | **GET** /identities/{identityId}/ownership | Get ownership details +*V2024IdentitiesApi* | [**Get-V2024RoleAssignment**](docs/V2024IdentitiesApi.md#Get-V2024RoleAssignment) | **GET** /identities/{identityId}/role-assignments/{assignmentId} | Role assignment details +*V2024IdentitiesApi* | [**Get-V2024RoleAssignments**](docs/V2024IdentitiesApi.md#Get-V2024RoleAssignments) | **GET** /identities/{identityId}/role-assignments | List role assignments +*V2024IdentitiesApi* | [**Get-V2024Identities**](docs/V2024IdentitiesApi.md#Get-V2024Identities) | **GET** /identities | List Identities +*V2024IdentitiesApi* | [**Reset-V2024Identity**](docs/V2024IdentitiesApi.md#Reset-V2024Identity) | **POST** /identities/{id}/reset | Reset an identity +*V2024IdentitiesApi* | [**Start-V2024IdentityProcessing**](docs/V2024IdentitiesApi.md#Start-V2024IdentityProcessing) | **POST** /identities/process | Process a list of identityIds +*V2024IdentitiesApi* | [**Sync-V2024hronizeAttributesForIdentity**](docs/V2024IdentitiesApi.md#Sync-V2024hronizeAttributesForIdentity) | **POST** /identities/{identityId}/synchronize-attributes | Attribute synchronization for single identity. +*V2024IdentityAttributesApi* | [**New-V2024IdentityAttribute**](docs/V2024IdentityAttributesApi.md#New-V2024IdentityAttribute) | **POST** /identity-attributes | Create Identity Attribute +*V2024IdentityAttributesApi* | [**Remove-V2024IdentityAttribute**](docs/V2024IdentityAttributesApi.md#Remove-V2024IdentityAttribute) | **DELETE** /identity-attributes/{name} | Delete Identity Attribute +*V2024IdentityAttributesApi* | [**Remove-V2024IdentityAttributesInBulk**](docs/V2024IdentityAttributesApi.md#Remove-V2024IdentityAttributesInBulk) | **DELETE** /identity-attributes/bulk-delete | Bulk delete Identity Attributes +*V2024IdentityAttributesApi* | [**Get-V2024IdentityAttribute**](docs/V2024IdentityAttributesApi.md#Get-V2024IdentityAttribute) | **GET** /identity-attributes/{name} | Get Identity Attribute +*V2024IdentityAttributesApi* | [**Get-V2024IdentityAttributes**](docs/V2024IdentityAttributesApi.md#Get-V2024IdentityAttributes) | **GET** /identity-attributes | List Identity Attributes +*V2024IdentityAttributesApi* | [**Send-V2024IdentityAttribute**](docs/V2024IdentityAttributesApi.md#Send-V2024IdentityAttribute) | **PUT** /identity-attributes/{name} | Update Identity Attribute +*V2024IdentityHistoryApi* | [**Compare-V2024IdentitySnapshots**](docs/V2024IdentityHistoryApi.md#Compare-V2024IdentitySnapshots) | **GET** /historical-identities/{id}/compare | Gets a difference of count for each access item types for the given identity between 2 snapshots +*V2024IdentityHistoryApi* | [**Compare-V2024IdentitySnapshotsAccessType**](docs/V2024IdentityHistoryApi.md#Compare-V2024IdentitySnapshotsAccessType) | **GET** /historical-identities/{id}/compare/{access-type} | Gets a list of differences of specific accessType for the given identity between 2 snapshots +*V2024IdentityHistoryApi* | [**Get-V2024HistoricalIdentity**](docs/V2024IdentityHistoryApi.md#Get-V2024HistoricalIdentity) | **GET** /historical-identities/{id} | Get latest snapshot of identity +*V2024IdentityHistoryApi* | [**Get-V2024HistoricalIdentityEvents**](docs/V2024IdentityHistoryApi.md#Get-V2024HistoricalIdentityEvents) | **GET** /historical-identities/{id}/events | Lists all events for the given identity +*V2024IdentityHistoryApi* | [**Get-V2024IdentitySnapshot**](docs/V2024IdentityHistoryApi.md#Get-V2024IdentitySnapshot) | **GET** /historical-identities/{id}/snapshots/{date} | Gets an identity snapshot at a given date +*V2024IdentityHistoryApi* | [**Get-V2024IdentitySnapshotSummary**](docs/V2024IdentityHistoryApi.md#Get-V2024IdentitySnapshotSummary) | **GET** /historical-identities/{id}/snapshot-summary | Gets the summary for the event count for a specific identity +*V2024IdentityHistoryApi* | [**Get-V2024IdentityStartDate**](docs/V2024IdentityHistoryApi.md#Get-V2024IdentityStartDate) | **GET** /historical-identities/{id}/start-date | Gets the start date of the identity +*V2024IdentityHistoryApi* | [**Get-V2024HistoricalIdentities**](docs/V2024IdentityHistoryApi.md#Get-V2024HistoricalIdentities) | **GET** /historical-identities | Lists all the identities +*V2024IdentityHistoryApi* | [**Get-V2024IdentityAccessItems**](docs/V2024IdentityHistoryApi.md#Get-V2024IdentityAccessItems) | **GET** /historical-identities/{id}/access-items | Gets a list of access items for the identity filtered by item type +*V2024IdentityHistoryApi* | [**Get-V2024IdentitySnapshotAccessItems**](docs/V2024IdentityHistoryApi.md#Get-V2024IdentitySnapshotAccessItems) | **GET** /historical-identities/{id}/snapshots/{date}/access-items | Gets the list of identity access items at a given date filterd by item type +*V2024IdentityHistoryApi* | [**Get-V2024IdentitySnapshots**](docs/V2024IdentityHistoryApi.md#Get-V2024IdentitySnapshots) | **GET** /historical-identities/{id}/snapshots | Lists all the snapshots for the identity +*V2024IdentityProfilesApi* | [**New-V2024IdentityProfile**](docs/V2024IdentityProfilesApi.md#New-V2024IdentityProfile) | **POST** /identity-profiles | Create an Identity Profile +*V2024IdentityProfilesApi* | [**Remove-V2024IdentityProfile**](docs/V2024IdentityProfilesApi.md#Remove-V2024IdentityProfile) | **DELETE** /identity-profiles/{identity-profile-id} | Delete an Identity Profile +*V2024IdentityProfilesApi* | [**Remove-V2024IdentityProfiles**](docs/V2024IdentityProfilesApi.md#Remove-V2024IdentityProfiles) | **POST** /identity-profiles/bulk-delete | Delete Identity Profiles +*V2024IdentityProfilesApi* | [**Export-V2024IdentityProfiles**](docs/V2024IdentityProfilesApi.md#Export-V2024IdentityProfiles) | **GET** /identity-profiles/export | Export Identity Profiles +*V2024IdentityProfilesApi* | [**Get-V2024DefaultIdentityAttributeConfig**](docs/V2024IdentityProfilesApi.md#Get-V2024DefaultIdentityAttributeConfig) | **GET** /identity-profiles/{identity-profile-id}/default-identity-attribute-config | Get default Identity Attribute Config +*V2024IdentityProfilesApi* | [**Get-V2024IdentityProfile**](docs/V2024IdentityProfilesApi.md#Get-V2024IdentityProfile) | **GET** /identity-profiles/{identity-profile-id} | Get single Identity Profile +*V2024IdentityProfilesApi* | [**Import-V2024IdentityProfiles**](docs/V2024IdentityProfilesApi.md#Import-V2024IdentityProfiles) | **POST** /identity-profiles/import | Import Identity Profiles +*V2024IdentityProfilesApi* | [**Get-V2024IdentityProfiles**](docs/V2024IdentityProfilesApi.md#Get-V2024IdentityProfiles) | **GET** /identity-profiles | Identity Profiles List +*V2024IdentityProfilesApi* | [**Show-V2024IdentityPreview**](docs/V2024IdentityProfilesApi.md#Show-V2024IdentityPreview) | **POST** /identity-profiles/identity-preview | Generate Identity Profile Preview +*V2024IdentityProfilesApi* | [**Sync-V2024IdentityProfile**](docs/V2024IdentityProfilesApi.md#Sync-V2024IdentityProfile) | **POST** /identity-profiles/{identity-profile-id}/process-identities | Process identities under profile +*V2024IdentityProfilesApi* | [**Update-V2024IdentityProfile**](docs/V2024IdentityProfilesApi.md#Update-V2024IdentityProfile) | **PATCH** /identity-profiles/{identity-profile-id} | Update the Identity Profile +*V2024LifecycleStatesApi* | [**New-V2024LifecycleState**](docs/V2024LifecycleStatesApi.md#New-V2024LifecycleState) | **POST** /identity-profiles/{identity-profile-id}/lifecycle-states | Create Lifecycle State +*V2024LifecycleStatesApi* | [**Remove-V2024LifecycleState**](docs/V2024LifecycleStatesApi.md#Remove-V2024LifecycleState) | **DELETE** /identity-profiles/{identity-profile-id}/lifecycle-states/{lifecycle-state-id} | Delete Lifecycle State +*V2024LifecycleStatesApi* | [**Get-V2024LifecycleState**](docs/V2024LifecycleStatesApi.md#Get-V2024LifecycleState) | **GET** /identity-profiles/{identity-profile-id}/lifecycle-states/{lifecycle-state-id} | Get Lifecycle State +*V2024LifecycleStatesApi* | [**Get-V2024LifecycleStates**](docs/V2024LifecycleStatesApi.md#Get-V2024LifecycleStates) | **GET** /identity-profiles/{identity-profile-id}/lifecycle-states | Lists LifecycleStates +*V2024LifecycleStatesApi* | [**Set-V2024LifecycleState**](docs/V2024LifecycleStatesApi.md#Set-V2024LifecycleState) | **POST** /identities/{identity-id}/set-lifecycle-state | Set Lifecycle State +*V2024LifecycleStatesApi* | [**Update-V2024LifecycleStates**](docs/V2024LifecycleStatesApi.md#Update-V2024LifecycleStates) | **PATCH** /identity-profiles/{identity-profile-id}/lifecycle-states/{lifecycle-state-id} | Update Lifecycle State +*V2024MFAConfigurationApi* | [**Get-V2024MFADuoConfig**](docs/V2024MFAConfigurationApi.md#Get-V2024MFADuoConfig) | **GET** /mfa/duo-web/config | Configuration of Duo MFA method +*V2024MFAConfigurationApi* | [**Get-V2024MFAKbaConfig**](docs/V2024MFAConfigurationApi.md#Get-V2024MFAKbaConfig) | **GET** /mfa/kba/config | Configuration of KBA MFA method +*V2024MFAConfigurationApi* | [**Get-V2024MFAOktaConfig**](docs/V2024MFAConfigurationApi.md#Get-V2024MFAOktaConfig) | **GET** /mfa/okta-verify/config | Configuration of Okta MFA method +*V2024MFAConfigurationApi* | [**Set-V2024MFADuoConfig**](docs/V2024MFAConfigurationApi.md#Set-V2024MFADuoConfig) | **PUT** /mfa/duo-web/config | Set Duo MFA configuration +*V2024MFAConfigurationApi* | [**Set-V2024MFAKBAConfig**](docs/V2024MFAConfigurationApi.md#Set-V2024MFAKBAConfig) | **POST** /mfa/kba/config/answers | Set MFA KBA configuration +*V2024MFAConfigurationApi* | [**Set-V2024MFAOktaConfig**](docs/V2024MFAConfigurationApi.md#Set-V2024MFAOktaConfig) | **PUT** /mfa/okta-verify/config | Set Okta MFA configuration +*V2024MFAConfigurationApi* | [**Test-V2024MFAConfig**](docs/V2024MFAConfigurationApi.md#Test-V2024MFAConfig) | **GET** /mfa/{method}/test | MFA method's test configuration +*V2024ManagedClientsApi* | [**New-V2024ManagedClient**](docs/V2024ManagedClientsApi.md#New-V2024ManagedClient) | **POST** /managed-clients | Create a new Managed Client +*V2024ManagedClientsApi* | [**Remove-V2024ManagedClient**](docs/V2024ManagedClientsApi.md#Remove-V2024ManagedClient) | **DELETE** /managed-clients/{id} | Delete a Managed Client +*V2024ManagedClientsApi* | [**Get-V2024ManagedClient**](docs/V2024ManagedClientsApi.md#Get-V2024ManagedClient) | **GET** /managed-clients/{id} | Get a Managed Client +*V2024ManagedClientsApi* | [**Get-V2024ManagedClientStatus**](docs/V2024ManagedClientsApi.md#Get-V2024ManagedClientStatus) | **GET** /managed-clients/{id}/status | Get Managed Client Status. +*V2024ManagedClientsApi* | [**Get-V2024ManagedClients**](docs/V2024ManagedClientsApi.md#Get-V2024ManagedClients) | **GET** /managed-clients | Get Managed Clients +*V2024ManagedClientsApi* | [**Update-V2024ManagedClient**](docs/V2024ManagedClientsApi.md#Update-V2024ManagedClient) | **PATCH** /managed-clients/{id} | Update a Managed Client +*V2024ManagedClustersApi* | [**New-V2024ManagedCluster**](docs/V2024ManagedClustersApi.md#New-V2024ManagedCluster) | **POST** /managed-clusters | Create a new Managed Cluster +*V2024ManagedClustersApi* | [**Remove-V2024ManagedCluster**](docs/V2024ManagedClustersApi.md#Remove-V2024ManagedCluster) | **DELETE** /managed-clusters/{id} | Delete a Managed Cluster +*V2024ManagedClustersApi* | [**Get-V2024ManagedCluster**](docs/V2024ManagedClustersApi.md#Get-V2024ManagedCluster) | **GET** /managed-clusters/{id} | Get a specified Managed Cluster. +*V2024ManagedClustersApi* | [**Get-V2024ManagedClusters**](docs/V2024ManagedClustersApi.md#Get-V2024ManagedClusters) | **GET** /managed-clusters | Retrieve all Managed Clusters. +*V2024ManagedClustersApi* | [**Update-V2024ManagedCluster**](docs/V2024ManagedClustersApi.md#Update-V2024ManagedCluster) | **PATCH** /managed-clusters/{id} | Update a Managed Cluster +*V2024NonEmployeeLifecycleManagementApi* | [**Approve-V2024NonEmployeeRequest**](docs/V2024NonEmployeeLifecycleManagementApi.md#Approve-V2024NonEmployeeRequest) | **POST** /non-employee-approvals/{id}/approve | Approve a Non-Employee Request +*V2024NonEmployeeLifecycleManagementApi* | [**New-V2024NonEmployeeRecord**](docs/V2024NonEmployeeLifecycleManagementApi.md#New-V2024NonEmployeeRecord) | **POST** /non-employee-records | Create Non-Employee Record +*V2024NonEmployeeLifecycleManagementApi* | [**New-V2024NonEmployeeRequest**](docs/V2024NonEmployeeLifecycleManagementApi.md#New-V2024NonEmployeeRequest) | **POST** /non-employee-requests | Create Non-Employee Request +*V2024NonEmployeeLifecycleManagementApi* | [**New-V2024NonEmployeeSource**](docs/V2024NonEmployeeLifecycleManagementApi.md#New-V2024NonEmployeeSource) | **POST** /non-employee-sources | Create Non-Employee Source +*V2024NonEmployeeLifecycleManagementApi* | [**New-V2024NonEmployeeSourceSchemaAttributes**](docs/V2024NonEmployeeLifecycleManagementApi.md#New-V2024NonEmployeeSourceSchemaAttributes) | **POST** /non-employee-sources/{sourceId}/schema-attributes | Create a new Schema Attribute for Non-Employee Source +*V2024NonEmployeeLifecycleManagementApi* | [**Remove-V2024NonEmployeeRecord**](docs/V2024NonEmployeeLifecycleManagementApi.md#Remove-V2024NonEmployeeRecord) | **DELETE** /non-employee-records/{id} | Delete Non-Employee Record +*V2024NonEmployeeLifecycleManagementApi* | [**Remove-V2024NonEmployeeRecordsInBulk**](docs/V2024NonEmployeeLifecycleManagementApi.md#Remove-V2024NonEmployeeRecordsInBulk) | **POST** /non-employee-records/bulk-delete | Delete Multiple Non-Employee Records +*V2024NonEmployeeLifecycleManagementApi* | [**Remove-V2024NonEmployeeRequest**](docs/V2024NonEmployeeLifecycleManagementApi.md#Remove-V2024NonEmployeeRequest) | **DELETE** /non-employee-requests/{id} | Delete Non-Employee Request +*V2024NonEmployeeLifecycleManagementApi* | [**Remove-V2024NonEmployeeSchemaAttribute**](docs/V2024NonEmployeeLifecycleManagementApi.md#Remove-V2024NonEmployeeSchemaAttribute) | **DELETE** /non-employee-sources/{sourceId}/schema-attributes/{attributeId} | Delete a Schema Attribute for Non-Employee Source +*V2024NonEmployeeLifecycleManagementApi* | [**Remove-V2024NonEmployeeSource**](docs/V2024NonEmployeeLifecycleManagementApi.md#Remove-V2024NonEmployeeSource) | **DELETE** /non-employee-sources/{sourceId} | Delete Non-Employee Source +*V2024NonEmployeeLifecycleManagementApi* | [**Remove-V2024NonEmployeeSourceSchemaAttributes**](docs/V2024NonEmployeeLifecycleManagementApi.md#Remove-V2024NonEmployeeSourceSchemaAttributes) | **DELETE** /non-employee-sources/{sourceId}/schema-attributes | Delete all custom schema attributes for Non-Employee Source +*V2024NonEmployeeLifecycleManagementApi* | [**Export-V2024NonEmployeeRecords**](docs/V2024NonEmployeeLifecycleManagementApi.md#Export-V2024NonEmployeeRecords) | **GET** /non-employee-sources/{id}/non-employees/download | Exports Non-Employee Records to CSV +*V2024NonEmployeeLifecycleManagementApi* | [**Export-V2024NonEmployeeSourceSchemaTemplate**](docs/V2024NonEmployeeLifecycleManagementApi.md#Export-V2024NonEmployeeSourceSchemaTemplate) | **GET** /non-employee-sources/{id}/schema-attributes-template/download | Exports Source Schema Template +*V2024NonEmployeeLifecycleManagementApi* | [**Get-V2024NonEmployeeApproval**](docs/V2024NonEmployeeLifecycleManagementApi.md#Get-V2024NonEmployeeApproval) | **GET** /non-employee-approvals/{id} | Get a non-employee approval item detail +*V2024NonEmployeeLifecycleManagementApi* | [**Get-V2024NonEmployeeApprovalSummary**](docs/V2024NonEmployeeLifecycleManagementApi.md#Get-V2024NonEmployeeApprovalSummary) | **GET** /non-employee-approvals/summary/{requested-for} | Get Summary of Non-Employee Approval Requests +*V2024NonEmployeeLifecycleManagementApi* | [**Get-V2024NonEmployeeBulkUploadStatus**](docs/V2024NonEmployeeLifecycleManagementApi.md#Get-V2024NonEmployeeBulkUploadStatus) | **GET** /non-employee-sources/{id}/non-employee-bulk-upload/status | Obtain the status of bulk upload on the source +*V2024NonEmployeeLifecycleManagementApi* | [**Get-V2024NonEmployeeRecord**](docs/V2024NonEmployeeLifecycleManagementApi.md#Get-V2024NonEmployeeRecord) | **GET** /non-employee-records/{id} | Get a Non-Employee Record +*V2024NonEmployeeLifecycleManagementApi* | [**Get-V2024NonEmployeeRequest**](docs/V2024NonEmployeeLifecycleManagementApi.md#Get-V2024NonEmployeeRequest) | **GET** /non-employee-requests/{id} | Get a Non-Employee Request +*V2024NonEmployeeLifecycleManagementApi* | [**Get-V2024NonEmployeeRequestSummary**](docs/V2024NonEmployeeLifecycleManagementApi.md#Get-V2024NonEmployeeRequestSummary) | **GET** /non-employee-requests/summary/{requested-for} | Get Summary of Non-Employee Requests +*V2024NonEmployeeLifecycleManagementApi* | [**Get-V2024NonEmployeeSchemaAttribute**](docs/V2024NonEmployeeLifecycleManagementApi.md#Get-V2024NonEmployeeSchemaAttribute) | **GET** /non-employee-sources/{sourceId}/schema-attributes/{attributeId} | Get Schema Attribute Non-Employee Source +*V2024NonEmployeeLifecycleManagementApi* | [**Get-V2024NonEmployeeSource**](docs/V2024NonEmployeeLifecycleManagementApi.md#Get-V2024NonEmployeeSource) | **GET** /non-employee-sources/{sourceId} | Get a Non-Employee Source +*V2024NonEmployeeLifecycleManagementApi* | [**Get-V2024NonEmployeeSourceSchemaAttributes**](docs/V2024NonEmployeeLifecycleManagementApi.md#Get-V2024NonEmployeeSourceSchemaAttributes) | **GET** /non-employee-sources/{sourceId}/schema-attributes | List Schema Attributes Non-Employee Source +*V2024NonEmployeeLifecycleManagementApi* | [**Import-V2024NonEmployeeRecordsInBulk**](docs/V2024NonEmployeeLifecycleManagementApi.md#Import-V2024NonEmployeeRecordsInBulk) | **POST** /non-employee-sources/{id}/non-employee-bulk-upload | Imports, or Updates, Non-Employee Records +*V2024NonEmployeeLifecycleManagementApi* | [**Get-V2024NonEmployeeApprovals**](docs/V2024NonEmployeeLifecycleManagementApi.md#Get-V2024NonEmployeeApprovals) | **GET** /non-employee-approvals | Get List of Non-Employee Approval Requests +*V2024NonEmployeeLifecycleManagementApi* | [**Get-V2024NonEmployeeRecords**](docs/V2024NonEmployeeLifecycleManagementApi.md#Get-V2024NonEmployeeRecords) | **GET** /non-employee-records | List Non-Employee Records +*V2024NonEmployeeLifecycleManagementApi* | [**Get-V2024NonEmployeeRequests**](docs/V2024NonEmployeeLifecycleManagementApi.md#Get-V2024NonEmployeeRequests) | **GET** /non-employee-requests | List Non-Employee Requests +*V2024NonEmployeeLifecycleManagementApi* | [**Get-V2024NonEmployeeSources**](docs/V2024NonEmployeeLifecycleManagementApi.md#Get-V2024NonEmployeeSources) | **GET** /non-employee-sources | List Non-Employee Sources +*V2024NonEmployeeLifecycleManagementApi* | [**Update-V2024NonEmployeeRecord**](docs/V2024NonEmployeeLifecycleManagementApi.md#Update-V2024NonEmployeeRecord) | **PATCH** /non-employee-records/{id} | Patch Non-Employee Record +*V2024NonEmployeeLifecycleManagementApi* | [**Update-V2024NonEmployeeSchemaAttribute**](docs/V2024NonEmployeeLifecycleManagementApi.md#Update-V2024NonEmployeeSchemaAttribute) | **PATCH** /non-employee-sources/{sourceId}/schema-attributes/{attributeId} | Patch a Schema Attribute for Non-Employee Source +*V2024NonEmployeeLifecycleManagementApi* | [**Update-V2024NonEmployeeSource**](docs/V2024NonEmployeeLifecycleManagementApi.md#Update-V2024NonEmployeeSource) | **PATCH** /non-employee-sources/{sourceId} | Patch a Non-Employee Source +*V2024NonEmployeeLifecycleManagementApi* | [**Deny-V2024NonEmployeeRequest**](docs/V2024NonEmployeeLifecycleManagementApi.md#Deny-V2024NonEmployeeRequest) | **POST** /non-employee-approvals/{id}/reject | Reject a Non-Employee Request +*V2024NonEmployeeLifecycleManagementApi* | [**Update-V2024NonEmployeeRecord**](docs/V2024NonEmployeeLifecycleManagementApi.md#Update-V2024NonEmployeeRecord) | **PUT** /non-employee-records/{id} | Update Non-Employee Record +*V2024NotificationsApi* | [**New-V2024DomainDkim**](docs/V2024NotificationsApi.md#New-V2024DomainDkim) | **POST** /verified-domains | Verify domain address via DKIM +*V2024NotificationsApi* | [**New-V2024NotificationTemplate**](docs/V2024NotificationsApi.md#New-V2024NotificationTemplate) | **POST** /notification-templates | Create Notification Template +*V2024NotificationsApi* | [**New-V2024VerifiedFromAddress**](docs/V2024NotificationsApi.md#New-V2024VerifiedFromAddress) | **POST** /verified-from-addresses | Create Verified From Address +*V2024NotificationsApi* | [**Remove-V2024NotificationTemplatesInBulk**](docs/V2024NotificationsApi.md#Remove-V2024NotificationTemplatesInBulk) | **POST** /notification-templates/bulk-delete | Bulk Delete Notification Templates +*V2024NotificationsApi* | [**Remove-V2024VerifiedFromAddress**](docs/V2024NotificationsApi.md#Remove-V2024VerifiedFromAddress) | **DELETE** /verified-from-addresses/{id} | Delete Verified From Address +*V2024NotificationsApi* | [**Get-V2024DkimAttributes**](docs/V2024NotificationsApi.md#Get-V2024DkimAttributes) | **GET** /verified-domains | Get DKIM Attributes +*V2024NotificationsApi* | [**Get-V2024MailFromAttributes**](docs/V2024NotificationsApi.md#Get-V2024MailFromAttributes) | **GET** /mail-from-attributes/{identity} | Get MAIL FROM Attributes +*V2024NotificationsApi* | [**Get-V2024NotificationTemplate**](docs/V2024NotificationsApi.md#Get-V2024NotificationTemplate) | **GET** /notification-templates/{id} | Get Notification Template By Id +*V2024NotificationsApi* | [**Get-V2024NotificationsTemplateContext**](docs/V2024NotificationsApi.md#Get-V2024NotificationsTemplateContext) | **GET** /notification-template-context | Get Notification Template Context +*V2024NotificationsApi* | [**Get-V2024FromAddresses**](docs/V2024NotificationsApi.md#Get-V2024FromAddresses) | **GET** /verified-from-addresses | List From Addresses +*V2024NotificationsApi* | [**Get-V2024NotificationPreferences**](docs/V2024NotificationsApi.md#Get-V2024NotificationPreferences) | **GET** /notification-preferences/{key} | List Notification Preferences for tenant. +*V2024NotificationsApi* | [**Get-V2024NotificationTemplateDefaults**](docs/V2024NotificationsApi.md#Get-V2024NotificationTemplateDefaults) | **GET** /notification-template-defaults | List Notification Template Defaults +*V2024NotificationsApi* | [**Get-V2024NotificationTemplates**](docs/V2024NotificationsApi.md#Get-V2024NotificationTemplates) | **GET** /notification-templates | List Notification Templates +*V2024NotificationsApi* | [**Send-V2024MailFromAttributes**](docs/V2024NotificationsApi.md#Send-V2024MailFromAttributes) | **PUT** /mail-from-attributes | Change MAIL FROM domain +*V2024NotificationsApi* | [**Send-V2024TestNotification**](docs/V2024NotificationsApi.md#Send-V2024TestNotification) | **POST** /send-test-notification | Send Test Notification +*V2024OAuthClientsApi* | [**New-V2024OauthClient**](docs/V2024OAuthClientsApi.md#New-V2024OauthClient) | **POST** /oauth-clients | Create OAuth Client +*V2024OAuthClientsApi* | [**Remove-V2024OauthClient**](docs/V2024OAuthClientsApi.md#Remove-V2024OauthClient) | **DELETE** /oauth-clients/{id} | Delete OAuth Client +*V2024OAuthClientsApi* | [**Get-V2024OauthClient**](docs/V2024OAuthClientsApi.md#Get-V2024OauthClient) | **GET** /oauth-clients/{id} | Get OAuth Client +*V2024OAuthClientsApi* | [**Get-V2024OauthClients**](docs/V2024OAuthClientsApi.md#Get-V2024OauthClients) | **GET** /oauth-clients | List OAuth Clients +*V2024OAuthClientsApi* | [**Update-V2024OauthClient**](docs/V2024OAuthClientsApi.md#Update-V2024OauthClient) | **PATCH** /oauth-clients/{id} | Patch OAuth Client +*V2024OrgConfigApi* | [**Get-V2024OrgConfig**](docs/V2024OrgConfigApi.md#Get-V2024OrgConfig) | **GET** /org-config | Get Org configuration settings +*V2024OrgConfigApi* | [**Get-V2024ValidTimeZones**](docs/V2024OrgConfigApi.md#Get-V2024ValidTimeZones) | **GET** /org-config/valid-time-zones | Get list of time zones +*V2024OrgConfigApi* | [**Update-V2024OrgConfig**](docs/V2024OrgConfigApi.md#Update-V2024OrgConfig) | **PATCH** /org-config | Patch an Org configuration property +*V2024PasswordConfigurationApi* | [**New-V2024PasswordOrgConfig**](docs/V2024PasswordConfigurationApi.md#New-V2024PasswordOrgConfig) | **POST** /password-org-config | Create Password Org Config +*V2024PasswordConfigurationApi* | [**Get-V2024PasswordOrgConfig**](docs/V2024PasswordConfigurationApi.md#Get-V2024PasswordOrgConfig) | **GET** /password-org-config | Get Password Org Config +*V2024PasswordConfigurationApi* | [**Send-V2024PasswordOrgConfig**](docs/V2024PasswordConfigurationApi.md#Send-V2024PasswordOrgConfig) | **PUT** /password-org-config | Update Password Org Config +*V2024PasswordDictionaryApi* | [**Get-V2024PasswordDictionary**](docs/V2024PasswordDictionaryApi.md#Get-V2024PasswordDictionary) | **GET** /password-dictionary | Get Password Dictionary +*V2024PasswordDictionaryApi* | [**Send-V2024PasswordDictionary**](docs/V2024PasswordDictionaryApi.md#Send-V2024PasswordDictionary) | **PUT** /password-dictionary | Update Password Dictionary +*V2024PasswordManagementApi* | [**New-V2024DigitToken**](docs/V2024PasswordManagementApi.md#New-V2024DigitToken) | **POST** /generate-password-reset-token/digit | Generate a digit token +*V2024PasswordManagementApi* | [**Get-V2024PasswordChangeStatus**](docs/V2024PasswordManagementApi.md#Get-V2024PasswordChangeStatus) | **GET** /password-change-status/{id} | Get Password Change Request Status +*V2024PasswordManagementApi* | [**Search-V2024PasswordInfo**](docs/V2024PasswordManagementApi.md#Search-V2024PasswordInfo) | **POST** /query-password-info | Query Password Info +*V2024PasswordManagementApi* | [**Set-V2024Password**](docs/V2024PasswordManagementApi.md#Set-V2024Password) | **POST** /set-password | Set Identity's Password +*V2024PasswordPoliciesApi* | [**New-V2024PasswordPolicy**](docs/V2024PasswordPoliciesApi.md#New-V2024PasswordPolicy) | **POST** /password-policies | Create Password Policy +*V2024PasswordPoliciesApi* | [**Remove-V2024PasswordPolicy**](docs/V2024PasswordPoliciesApi.md#Remove-V2024PasswordPolicy) | **DELETE** /password-policies/{id} | Delete Password Policy by ID +*V2024PasswordPoliciesApi* | [**Get-V2024PasswordPolicyById**](docs/V2024PasswordPoliciesApi.md#Get-V2024PasswordPolicyById) | **GET** /password-policies/{id} | Get Password Policy by ID +*V2024PasswordPoliciesApi* | [**Get-V2024PasswordPolicies**](docs/V2024PasswordPoliciesApi.md#Get-V2024PasswordPolicies) | **GET** /password-policies | List Password Policies +*V2024PasswordPoliciesApi* | [**Set-V2024PasswordPolicy**](docs/V2024PasswordPoliciesApi.md#Set-V2024PasswordPolicy) | **PUT** /password-policies/{id} | Update Password Policy by ID +*V2024PasswordSyncGroupsApi* | [**New-V2024PasswordSyncGroup**](docs/V2024PasswordSyncGroupsApi.md#New-V2024PasswordSyncGroup) | **POST** /password-sync-groups | Create Password Sync Group +*V2024PasswordSyncGroupsApi* | [**Remove-V2024PasswordSyncGroup**](docs/V2024PasswordSyncGroupsApi.md#Remove-V2024PasswordSyncGroup) | **DELETE** /password-sync-groups/{id} | Delete Password Sync Group by ID +*V2024PasswordSyncGroupsApi* | [**Get-V2024PasswordSyncGroup**](docs/V2024PasswordSyncGroupsApi.md#Get-V2024PasswordSyncGroup) | **GET** /password-sync-groups/{id} | Get Password Sync Group by ID +*V2024PasswordSyncGroupsApi* | [**Get-V2024PasswordSyncGroups**](docs/V2024PasswordSyncGroupsApi.md#Get-V2024PasswordSyncGroups) | **GET** /password-sync-groups | Get Password Sync Group List +*V2024PasswordSyncGroupsApi* | [**Update-V2024PasswordSyncGroup**](docs/V2024PasswordSyncGroupsApi.md#Update-V2024PasswordSyncGroup) | **PUT** /password-sync-groups/{id} | Update Password Sync Group by ID +*V2024PersonalAccessTokensApi* | [**New-V2024PersonalAccessToken**](docs/V2024PersonalAccessTokensApi.md#New-V2024PersonalAccessToken) | **POST** /personal-access-tokens | Create Personal Access Token +*V2024PersonalAccessTokensApi* | [**Remove-V2024PersonalAccessToken**](docs/V2024PersonalAccessTokensApi.md#Remove-V2024PersonalAccessToken) | **DELETE** /personal-access-tokens/{id} | Delete Personal Access Token +*V2024PersonalAccessTokensApi* | [**Get-V2024PersonalAccessTokens**](docs/V2024PersonalAccessTokensApi.md#Get-V2024PersonalAccessTokens) | **GET** /personal-access-tokens | List Personal Access Tokens +*V2024PersonalAccessTokensApi* | [**Update-V2024PersonalAccessToken**](docs/V2024PersonalAccessTokensApi.md#Update-V2024PersonalAccessToken) | **PATCH** /personal-access-tokens/{id} | Patch Personal Access Token +*V2024PublicIdentitiesApi* | [**Get-V2024PublicIdentities**](docs/V2024PublicIdentitiesApi.md#Get-V2024PublicIdentities) | **GET** /public-identities | Get a list of public identities +*V2024PublicIdentitiesConfigApi* | [**Get-V2024PublicIdentityConfig**](docs/V2024PublicIdentitiesConfigApi.md#Get-V2024PublicIdentityConfig) | **GET** /public-identities-config | Get the Public Identities Configuration +*V2024PublicIdentitiesConfigApi* | [**Update-V2024PublicIdentityConfig**](docs/V2024PublicIdentitiesConfigApi.md#Update-V2024PublicIdentityConfig) | **PUT** /public-identities-config | Update the Public Identities Configuration +*V2024ReportsDataExtractionApi* | [**Suspend-V2024Report**](docs/V2024ReportsDataExtractionApi.md#Suspend-V2024Report) | **POST** /reports/{id}/cancel | Cancel Report +*V2024ReportsDataExtractionApi* | [**Get-V2024Report**](docs/V2024ReportsDataExtractionApi.md#Get-V2024Report) | **GET** /reports/{taskResultId} | Get Report File +*V2024ReportsDataExtractionApi* | [**Get-V2024ReportResult**](docs/V2024ReportsDataExtractionApi.md#Get-V2024ReportResult) | **GET** /reports/{taskResultId}/result | Get Report Result +*V2024ReportsDataExtractionApi* | [**Start-V2024Report**](docs/V2024ReportsDataExtractionApi.md#Start-V2024Report) | **POST** /reports/run | Run Report +*V2024RequestableObjectsApi* | [**Get-V2024RequestableObjects**](docs/V2024RequestableObjectsApi.md#Get-V2024RequestableObjects) | **GET** /requestable-objects | Requestable Objects List +*V2024RoleInsightsApi* | [**New-V2024RoleInsightRequests**](docs/V2024RoleInsightsApi.md#New-V2024RoleInsightRequests) | **POST** /role-insights/requests | Generate insights for roles +*V2024RoleInsightsApi* | [**Invoke-V2024DownloadRoleInsightsEntitlementsChanges**](docs/V2024RoleInsightsApi.md#Invoke-V2024DownloadRoleInsightsEntitlementsChanges) | **GET** /role-insights/{insightId}/entitlement-changes/download | Download entitlement insights for a role +*V2024RoleInsightsApi* | [**Get-V2024EntitlementChangesIdentities**](docs/V2024RoleInsightsApi.md#Get-V2024EntitlementChangesIdentities) | **GET** /role-insights/{insightId}/entitlement-changes/{entitlementId}/identities | Get identities for a suggested entitlement (for a role) +*V2024RoleInsightsApi* | [**Get-V2024RoleInsight**](docs/V2024RoleInsightsApi.md#Get-V2024RoleInsight) | **GET** /role-insights/{insightId} | Get a single role insight +*V2024RoleInsightsApi* | [**Get-V2024RoleInsights**](docs/V2024RoleInsightsApi.md#Get-V2024RoleInsights) | **GET** /role-insights | Get role insights +*V2024RoleInsightsApi* | [**Get-V2024RoleInsightsCurrentEntitlements**](docs/V2024RoleInsightsApi.md#Get-V2024RoleInsightsCurrentEntitlements) | **GET** /role-insights/{insightId}/current-entitlements | Get current entitlement for a role +*V2024RoleInsightsApi* | [**Get-V2024RoleInsightsEntitlementsChanges**](docs/V2024RoleInsightsApi.md#Get-V2024RoleInsightsEntitlementsChanges) | **GET** /role-insights/{insightId}/entitlement-changes | Get entitlement insights for a role +*V2024RoleInsightsApi* | [**Get-V2024RoleInsightsRequests**](docs/V2024RoleInsightsApi.md#Get-V2024RoleInsightsRequests) | **GET** /role-insights/requests/{id} | Returns metadata from prior request. +*V2024RoleInsightsApi* | [**Get-V2024RoleInsightsSummary**](docs/V2024RoleInsightsApi.md#Get-V2024RoleInsightsSummary) | **GET** /role-insights/summary | Get role insights summary information +*V2024RolesApi* | [**New-V2024Role**](docs/V2024RolesApi.md#New-V2024Role) | **POST** /roles | Create a Role +*V2024RolesApi* | [**Remove-V2024BulkRoles**](docs/V2024RolesApi.md#Remove-V2024BulkRoles) | **POST** /roles/bulk-delete | Delete Role(s) +*V2024RolesApi* | [**Remove-V2024Role**](docs/V2024RolesApi.md#Remove-V2024Role) | **DELETE** /roles/{id} | Delete a Role +*V2024RolesApi* | [**Get-V2024Role**](docs/V2024RolesApi.md#Get-V2024Role) | **GET** /roles/{id} | Get a Role +*V2024RolesApi* | [**Get-V2024RoleAssignedIdentities**](docs/V2024RolesApi.md#Get-V2024RoleAssignedIdentities) | **GET** /roles/{id}/assigned-identities | List Identities assigned a Role +*V2024RolesApi* | [**Get-V2024RoleEntitlements**](docs/V2024RolesApi.md#Get-V2024RoleEntitlements) | **GET** /roles/{id}/entitlements | List role's Entitlements +*V2024RolesApi* | [**Get-V2024Roles**](docs/V2024RolesApi.md#Get-V2024Roles) | **GET** /roles | List Roles +*V2024RolesApi* | [**Update-V2024Role**](docs/V2024RolesApi.md#Update-V2024Role) | **PATCH** /roles/{id} | Patch a specified Role +*V2024SIMIntegrationsApi* | [**New-V2024SIMIntegration**](docs/V2024SIMIntegrationsApi.md#New-V2024SIMIntegration) | **POST** /sim-integrations | Create new SIM integration +*V2024SIMIntegrationsApi* | [**Remove-V2024SIMIntegration**](docs/V2024SIMIntegrationsApi.md#Remove-V2024SIMIntegration) | **DELETE** /sim-integrations/{id} | Delete a SIM integration +*V2024SIMIntegrationsApi* | [**Get-V2024SIMIntegration**](docs/V2024SIMIntegrationsApi.md#Get-V2024SIMIntegration) | **GET** /sim-integrations/{id} | Get a SIM integration details. +*V2024SIMIntegrationsApi* | [**Get-V2024SIMIntegrations**](docs/V2024SIMIntegrationsApi.md#Get-V2024SIMIntegrations) | **GET** /sim-integrations | List the existing SIM integrations. +*V2024SIMIntegrationsApi* | [**Update-V2024BeforeProvisioningRule**](docs/V2024SIMIntegrationsApi.md#Update-V2024BeforeProvisioningRule) | **PATCH** /sim-integrations/{id}/beforeProvisioningRule | Patch a SIM beforeProvisioningRule attribute. +*V2024SIMIntegrationsApi* | [**Update-V2024SIMAttributes**](docs/V2024SIMIntegrationsApi.md#Update-V2024SIMAttributes) | **PATCH** /sim-integrations/{id} | Patch a SIM attribute. +*V2024SIMIntegrationsApi* | [**Send-V2024SIMIntegration**](docs/V2024SIMIntegrationsApi.md#Send-V2024SIMIntegration) | **PUT** /sim-integrations/{id} | Update an existing SIM integration +*V2024SODPoliciesApi* | [**New-V2024SodPolicy**](docs/V2024SODPoliciesApi.md#New-V2024SodPolicy) | **POST** /sod-policies | Create SOD policy +*V2024SODPoliciesApi* | [**Remove-V2024SodPolicy**](docs/V2024SODPoliciesApi.md#Remove-V2024SodPolicy) | **DELETE** /sod-policies/{id} | Delete SOD policy by ID +*V2024SODPoliciesApi* | [**Remove-V2024SodPolicySchedule**](docs/V2024SODPoliciesApi.md#Remove-V2024SodPolicySchedule) | **DELETE** /sod-policies/{id}/schedule | Delete SOD policy schedule +*V2024SODPoliciesApi* | [**Get-V2024CustomViolationReport**](docs/V2024SODPoliciesApi.md#Get-V2024CustomViolationReport) | **GET** /sod-violation-report/{reportResultId}/download/{fileName} | Download custom violation report +*V2024SODPoliciesApi* | [**Get-V2024DefaultViolationReport**](docs/V2024SODPoliciesApi.md#Get-V2024DefaultViolationReport) | **GET** /sod-violation-report/{reportResultId}/download | Download violation report +*V2024SODPoliciesApi* | [**Get-V2024SodAllReportRunStatus**](docs/V2024SODPoliciesApi.md#Get-V2024SodAllReportRunStatus) | **GET** /sod-violation-report | Get multi-report run task status +*V2024SODPoliciesApi* | [**Get-V2024SodPolicy**](docs/V2024SODPoliciesApi.md#Get-V2024SodPolicy) | **GET** /sod-policies/{id} | Get SOD policy by ID +*V2024SODPoliciesApi* | [**Get-V2024SodPolicySchedule**](docs/V2024SODPoliciesApi.md#Get-V2024SodPolicySchedule) | **GET** /sod-policies/{id}/schedule | Get SOD policy schedule +*V2024SODPoliciesApi* | [**Get-V2024SodViolationReportRunStatus**](docs/V2024SODPoliciesApi.md#Get-V2024SodViolationReportRunStatus) | **GET** /sod-policies/sod-violation-report-status/{reportResultId} | Get violation report run status +*V2024SODPoliciesApi* | [**Get-V2024SodViolationReportStatus**](docs/V2024SODPoliciesApi.md#Get-V2024SodViolationReportStatus) | **GET** /sod-policies/{id}/violation-report | Get SOD violation report status +*V2024SODPoliciesApi* | [**Get-V2024SodPolicies**](docs/V2024SODPoliciesApi.md#Get-V2024SodPolicies) | **GET** /sod-policies | List SOD policies +*V2024SODPoliciesApi* | [**Update-V2024SodPolicy**](docs/V2024SODPoliciesApi.md#Update-V2024SodPolicy) | **PATCH** /sod-policies/{id} | Patch SOD policy by ID +*V2024SODPoliciesApi* | [**Send-V2024PolicySchedule**](docs/V2024SODPoliciesApi.md#Send-V2024PolicySchedule) | **PUT** /sod-policies/{id}/schedule | Update SOD Policy schedule +*V2024SODPoliciesApi* | [**Send-V2024SodPolicy**](docs/V2024SODPoliciesApi.md#Send-V2024SodPolicy) | **PUT** /sod-policies/{id} | Update SOD policy by ID +*V2024SODPoliciesApi* | [**Start-V2024EvaluateSodPolicy**](docs/V2024SODPoliciesApi.md#Start-V2024EvaluateSodPolicy) | **POST** /sod-policies/{id}/evaluate | Evaluate one policy by ID +*V2024SODPoliciesApi* | [**Start-V2024SodAllPoliciesForOrg**](docs/V2024SODPoliciesApi.md#Start-V2024SodAllPoliciesForOrg) | **POST** /sod-violation-report/run | Runs all policies for org +*V2024SODPoliciesApi* | [**Start-V2024SodPolicy**](docs/V2024SODPoliciesApi.md#Start-V2024SodPolicy) | **POST** /sod-policies/{id}/violation-report/run | Runs SOD policy violation report +*V2024SODViolationsApi* | [**Start-V2024PredictSodViolations**](docs/V2024SODViolationsApi.md#Start-V2024PredictSodViolations) | **POST** /sod-violations/predict | Predict SOD violations for identity. +*V2024SODViolationsApi* | [**Start-V2024ViolationCheck**](docs/V2024SODViolationsApi.md#Start-V2024ViolationCheck) | **POST** /sod-violations/check | Check SOD violations +*V2024SPConfigApi* | [**Export-V2024SpConfig**](docs/V2024SPConfigApi.md#Export-V2024SpConfig) | **POST** /sp-config/export | Initiates configuration objects export job +*V2024SPConfigApi* | [**Get-V2024SpConfigExport**](docs/V2024SPConfigApi.md#Get-V2024SpConfigExport) | **GET** /sp-config/export/{id}/download | Download export job result. +*V2024SPConfigApi* | [**Get-V2024SpConfigExportStatus**](docs/V2024SPConfigApi.md#Get-V2024SpConfigExportStatus) | **GET** /sp-config/export/{id} | Get export job status +*V2024SPConfigApi* | [**Get-V2024SpConfigImport**](docs/V2024SPConfigApi.md#Get-V2024SpConfigImport) | **GET** /sp-config/import/{id}/download | Download import job result +*V2024SPConfigApi* | [**Get-V2024SpConfigImportStatus**](docs/V2024SPConfigApi.md#Get-V2024SpConfigImportStatus) | **GET** /sp-config/import/{id} | Get import job status +*V2024SPConfigApi* | [**Import-V2024SpConfig**](docs/V2024SPConfigApi.md#Import-V2024SpConfig) | **POST** /sp-config/import | Initiates configuration objects import job +*V2024SPConfigApi* | [**Get-V2024SpConfigObjects**](docs/V2024SPConfigApi.md#Get-V2024SpConfigObjects) | **GET** /sp-config/config-objects | Get config object details +*V2024SavedSearchApi* | [**New-V2024SavedSearch**](docs/V2024SavedSearchApi.md#New-V2024SavedSearch) | **POST** /saved-searches | Create a saved search +*V2024SavedSearchApi* | [**Remove-V2024SavedSearch**](docs/V2024SavedSearchApi.md#Remove-V2024SavedSearch) | **DELETE** /saved-searches/{id} | Delete document by ID +*V2024SavedSearchApi* | [**Invoke-V2024ExecuteSavedSearch**](docs/V2024SavedSearchApi.md#Invoke-V2024ExecuteSavedSearch) | **POST** /saved-searches/{id}/execute | Execute a saved search by ID +*V2024SavedSearchApi* | [**Get-V2024SavedSearch**](docs/V2024SavedSearchApi.md#Get-V2024SavedSearch) | **GET** /saved-searches/{id} | Return saved search by ID +*V2024SavedSearchApi* | [**Get-V2024SavedSearches**](docs/V2024SavedSearchApi.md#Get-V2024SavedSearches) | **GET** /saved-searches | A list of Saved Searches +*V2024SavedSearchApi* | [**Send-V2024SavedSearch**](docs/V2024SavedSearchApi.md#Send-V2024SavedSearch) | **PUT** /saved-searches/{id} | Updates an existing saved search +*V2024ScheduledSearchApi* | [**New-V2024ScheduledSearch**](docs/V2024ScheduledSearchApi.md#New-V2024ScheduledSearch) | **POST** /scheduled-searches | Create a new scheduled search +*V2024ScheduledSearchApi* | [**Remove-V2024ScheduledSearch**](docs/V2024ScheduledSearchApi.md#Remove-V2024ScheduledSearch) | **DELETE** /scheduled-searches/{id} | Delete a Scheduled Search +*V2024ScheduledSearchApi* | [**Get-V2024ScheduledSearch**](docs/V2024ScheduledSearchApi.md#Get-V2024ScheduledSearch) | **GET** /scheduled-searches/{id} | Get a Scheduled Search +*V2024ScheduledSearchApi* | [**Get-V2024ScheduledSearch**](docs/V2024ScheduledSearchApi.md#Get-V2024ScheduledSearch) | **GET** /scheduled-searches | List scheduled searches +*V2024ScheduledSearchApi* | [**Invoke-V2024UnsubscribeScheduledSearch**](docs/V2024ScheduledSearchApi.md#Invoke-V2024UnsubscribeScheduledSearch) | **POST** /scheduled-searches/{id}/unsubscribe | Unsubscribe a recipient from Scheduled Search +*V2024ScheduledSearchApi* | [**Update-V2024ScheduledSearch**](docs/V2024ScheduledSearchApi.md#Update-V2024ScheduledSearch) | **PUT** /scheduled-searches/{id} | Update an existing Scheduled Search +*V2024SearchApi* | [**Search-V2024Aggregate**](docs/V2024SearchApi.md#Search-V2024Aggregate) | **POST** /search/aggregate | Perform a Search Query Aggregation +*V2024SearchApi* | [**Search-V2024Count**](docs/V2024SearchApi.md#Search-V2024Count) | **POST** /search/count | Count Documents Satisfying a Query +*V2024SearchApi* | [**Search-V2024Get**](docs/V2024SearchApi.md#Search-V2024Get) | **GET** /search/{index}/{id} | Get a Document by ID +*V2024SearchApi* | [**Search-V2024Post**](docs/V2024SearchApi.md#Search-V2024Post) | **POST** /search | Perform Search +*V2024SearchAttributeConfigurationApi* | [**New-V2024SearchAttributeConfig**](docs/V2024SearchAttributeConfigurationApi.md#New-V2024SearchAttributeConfig) | **POST** /accounts/search-attribute-config | Configure/create search attributes in IdentityNow. +*V2024SearchAttributeConfigurationApi* | [**Remove-V2024SearchAttributeConfig**](docs/V2024SearchAttributeConfigurationApi.md#Remove-V2024SearchAttributeConfig) | **DELETE** /accounts/search-attribute-config/{name} | Delete search attribute in IdentityNow. +*V2024SearchAttributeConfigurationApi* | [**Get-V2024SearchAttributeConfig**](docs/V2024SearchAttributeConfigurationApi.md#Get-V2024SearchAttributeConfig) | **GET** /accounts/search-attribute-config | Retrieve attribute list in IdentityNow. +*V2024SearchAttributeConfigurationApi* | [**Get-V2024SingleSearchAttributeConfig**](docs/V2024SearchAttributeConfigurationApi.md#Get-V2024SingleSearchAttributeConfig) | **GET** /accounts/search-attribute-config/{name} | Get specific attribute in IdentityNow. +*V2024SearchAttributeConfigurationApi* | [**Update-V2024SearchAttributeConfig**](docs/V2024SearchAttributeConfigurationApi.md#Update-V2024SearchAttributeConfig) | **PATCH** /accounts/search-attribute-config/{name} | Update search attribute in IdentityNow. +*V2024SegmentsApi* | [**New-V2024Segment**](docs/V2024SegmentsApi.md#New-V2024Segment) | **POST** /segments | Create Segment +*V2024SegmentsApi* | [**Remove-V2024Segment**](docs/V2024SegmentsApi.md#Remove-V2024Segment) | **DELETE** /segments/{id} | Delete Segment by ID +*V2024SegmentsApi* | [**Get-V2024Segment**](docs/V2024SegmentsApi.md#Get-V2024Segment) | **GET** /segments/{id} | Get Segment by ID +*V2024SegmentsApi* | [**Get-V2024Segments**](docs/V2024SegmentsApi.md#Get-V2024Segments) | **GET** /segments | List Segments +*V2024SegmentsApi* | [**Update-V2024Segment**](docs/V2024SegmentsApi.md#Update-V2024Segment) | **PATCH** /segments/{id} | Update Segment +*V2024ServiceDeskIntegrationApi* | [**New-V2024ServiceDeskIntegration**](docs/V2024ServiceDeskIntegrationApi.md#New-V2024ServiceDeskIntegration) | **POST** /service-desk-integrations | Create new Service Desk integration +*V2024ServiceDeskIntegrationApi* | [**Remove-V2024ServiceDeskIntegration**](docs/V2024ServiceDeskIntegrationApi.md#Remove-V2024ServiceDeskIntegration) | **DELETE** /service-desk-integrations/{id} | Delete a Service Desk integration +*V2024ServiceDeskIntegrationApi* | [**Get-V2024ServiceDeskIntegration**](docs/V2024ServiceDeskIntegrationApi.md#Get-V2024ServiceDeskIntegration) | **GET** /service-desk-integrations/{id} | Get a Service Desk integration +*V2024ServiceDeskIntegrationApi* | [**Get-V2024ServiceDeskIntegrationTemplate**](docs/V2024ServiceDeskIntegrationApi.md#Get-V2024ServiceDeskIntegrationTemplate) | **GET** /service-desk-integrations/templates/{scriptName} | Service Desk integration template by scriptName. +*V2024ServiceDeskIntegrationApi* | [**Get-V2024ServiceDeskIntegrationTypes**](docs/V2024ServiceDeskIntegrationApi.md#Get-V2024ServiceDeskIntegrationTypes) | **GET** /service-desk-integrations/types | Service Desk Integration Types List. +*V2024ServiceDeskIntegrationApi* | [**Get-V2024ServiceDeskIntegrations**](docs/V2024ServiceDeskIntegrationApi.md#Get-V2024ServiceDeskIntegrations) | **GET** /service-desk-integrations | List existing Service Desk Integrations +*V2024ServiceDeskIntegrationApi* | [**Get-V2024StatusCheckDetails**](docs/V2024ServiceDeskIntegrationApi.md#Get-V2024StatusCheckDetails) | **GET** /service-desk-integrations/status-check-configuration | Get the time check configuration +*V2024ServiceDeskIntegrationApi* | [**Update-V2024ServiceDeskIntegration**](docs/V2024ServiceDeskIntegrationApi.md#Update-V2024ServiceDeskIntegration) | **PATCH** /service-desk-integrations/{id} | Service Desk Integration Update PATCH +*V2024ServiceDeskIntegrationApi* | [**Send-V2024ServiceDeskIntegration**](docs/V2024ServiceDeskIntegrationApi.md#Send-V2024ServiceDeskIntegration) | **PUT** /service-desk-integrations/{id} | Update a Service Desk integration +*V2024ServiceDeskIntegrationApi* | [**Update-V2024StatusCheckDetails**](docs/V2024ServiceDeskIntegrationApi.md#Update-V2024StatusCheckDetails) | **PUT** /service-desk-integrations/status-check-configuration | Update the time check configuration +*V2024SourceUsagesApi* | [**Get-V2024StatusBySourceId**](docs/V2024SourceUsagesApi.md#Get-V2024StatusBySourceId) | **GET** /source-usages/{sourceId}/status | Finds status of source usage +*V2024SourceUsagesApi* | [**Get-V2024UsagesBySourceId**](docs/V2024SourceUsagesApi.md#Get-V2024UsagesBySourceId) | **GET** /source-usages/{sourceId}/summaries | Returns source usage insights +*V2024SourcesApi* | [**New-V2024ProvisioningPolicy**](docs/V2024SourcesApi.md#New-V2024ProvisioningPolicy) | **POST** /sources/{sourceId}/provisioning-policies | Create Provisioning Policy +*V2024SourcesApi* | [**New-V2024Source**](docs/V2024SourcesApi.md#New-V2024Source) | **POST** /sources | Creates a source in IdentityNow. +*V2024SourcesApi* | [**New-V2024SourceSchema**](docs/V2024SourcesApi.md#New-V2024SourceSchema) | **POST** /sources/{sourceId}/schemas | Create Schema on Source +*V2024SourcesApi* | [**Remove-V2024AccountsAsync**](docs/V2024SourcesApi.md#Remove-V2024AccountsAsync) | **POST** /sources/{id}/remove-accounts | Remove All Accounts in a Source +*V2024SourcesApi* | [**Remove-V2024NativeChangeDetectionConfig**](docs/V2024SourcesApi.md#Remove-V2024NativeChangeDetectionConfig) | **DELETE** /sources/{sourceId}/native-change-detection-config | Delete Native Change Detection Configuration +*V2024SourcesApi* | [**Remove-V2024ProvisioningPolicy**](docs/V2024SourcesApi.md#Remove-V2024ProvisioningPolicy) | **DELETE** /sources/{sourceId}/provisioning-policies/{usageType} | Delete Provisioning Policy by UsageType +*V2024SourcesApi* | [**Remove-V2024Source**](docs/V2024SourcesApi.md#Remove-V2024Source) | **DELETE** /sources/{id} | Delete Source by ID +*V2024SourcesApi* | [**Remove-V2024SourceSchema**](docs/V2024SourcesApi.md#Remove-V2024SourceSchema) | **DELETE** /sources/{sourceId}/schemas/{schemaId} | Delete Source Schema by ID +*V2024SourcesApi* | [**Get-V2024AccountsSchema**](docs/V2024SourcesApi.md#Get-V2024AccountsSchema) | **GET** /sources/{id}/schemas/accounts | Downloads source accounts schema template +*V2024SourcesApi* | [**Get-V2024EntitlementsSchema**](docs/V2024SourcesApi.md#Get-V2024EntitlementsSchema) | **GET** /sources/{id}/schemas/entitlements | Downloads source entitlements schema template +*V2024SourcesApi* | [**Get-V2024NativeChangeDetectionConfig**](docs/V2024SourcesApi.md#Get-V2024NativeChangeDetectionConfig) | **GET** /sources/{sourceId}/native-change-detection-config | Native Change Detection Configuration +*V2024SourcesApi* | [**Get-V2024ProvisioningPolicy**](docs/V2024SourcesApi.md#Get-V2024ProvisioningPolicy) | **GET** /sources/{sourceId}/provisioning-policies/{usageType} | Get Provisioning Policy by UsageType +*V2024SourcesApi* | [**Get-V2024Source**](docs/V2024SourcesApi.md#Get-V2024Source) | **GET** /sources/{id} | Get Source by ID +*V2024SourcesApi* | [**Get-V2024SourceAttrSyncConfig**](docs/V2024SourcesApi.md#Get-V2024SourceAttrSyncConfig) | **GET** /sources/{id}/attribute-sync-config | Attribute Sync Config +*V2024SourcesApi* | [**Get-V2024SourceConfig**](docs/V2024SourcesApi.md#Get-V2024SourceConfig) | **GET** /sources/{id}/connectors/source-config | Gets source config with language translations +*V2024SourcesApi* | [**Get-V2024SourceEntitlementRequestConfig**](docs/V2024SourcesApi.md#Get-V2024SourceEntitlementRequestConfig) | **GET** /sources/{id}/entitlement-request-config | Get Source Entitlement Request Configuration +*V2024SourcesApi* | [**Get-V2024SourceHealth**](docs/V2024SourcesApi.md#Get-V2024SourceHealth) | **GET** /sources/{sourceId}/source-health | Fetches source health by id +*V2024SourcesApi* | [**Get-V2024SourceSchema**](docs/V2024SourcesApi.md#Get-V2024SourceSchema) | **GET** /sources/{sourceId}/schemas/{schemaId} | Get Source Schema by ID +*V2024SourcesApi* | [**Get-V2024SourceSchemas**](docs/V2024SourcesApi.md#Get-V2024SourceSchemas) | **GET** /sources/{sourceId}/schemas | List Schemas on Source +*V2024SourcesApi* | [**Import-V2024Accounts**](docs/V2024SourcesApi.md#Import-V2024Accounts) | **POST** /sources/{id}/load-accounts | Account Aggregation +*V2024SourcesApi* | [**Import-V2024AccountsSchema**](docs/V2024SourcesApi.md#Import-V2024AccountsSchema) | **POST** /sources/{id}/schemas/accounts | Uploads source accounts schema template +*V2024SourcesApi* | [**Import-V2024ConnectorFile**](docs/V2024SourcesApi.md#Import-V2024ConnectorFile) | **POST** /sources/{sourceId}/upload-connector-file | Upload connector file to source +*V2024SourcesApi* | [**Import-V2024EntitlementsSchema**](docs/V2024SourcesApi.md#Import-V2024EntitlementsSchema) | **POST** /sources/{id}/schemas/entitlements | Uploads source entitlements schema template +*V2024SourcesApi* | [**Import-V2024UncorrelatedAccounts**](docs/V2024SourcesApi.md#Import-V2024UncorrelatedAccounts) | **POST** /sources/{id}/load-uncorrelated-accounts | Process Uncorrelated Accounts +*V2024SourcesApi* | [**Get-V2024ProvisioningPolicies**](docs/V2024SourcesApi.md#Get-V2024ProvisioningPolicies) | **GET** /sources/{sourceId}/provisioning-policies | Lists ProvisioningPolicies +*V2024SourcesApi* | [**Get-V2024Sources**](docs/V2024SourcesApi.md#Get-V2024Sources) | **GET** /sources | Lists all sources in IdentityNow. +*V2024SourcesApi* | [**Receive-V2024ResourceObjects**](docs/V2024SourcesApi.md#Receive-V2024ResourceObjects) | **POST** /sources/{sourceId}/connector/peek-resource-objects | Peek source connector's resource objects +*V2024SourcesApi* | [**Ping-V2024Cluster**](docs/V2024SourcesApi.md#Ping-V2024Cluster) | **POST** /sources/{sourceId}/connector/ping-cluster | Ping cluster for source connector +*V2024SourcesApi* | [**Send-V2024NativeChangeDetectionConfig**](docs/V2024SourcesApi.md#Send-V2024NativeChangeDetectionConfig) | **PUT** /sources/{sourceId}/native-change-detection-config | Update Native Change Detection Configuration +*V2024SourcesApi* | [**Send-V2024ProvisioningPolicy**](docs/V2024SourcesApi.md#Send-V2024ProvisioningPolicy) | **PUT** /sources/{sourceId}/provisioning-policies/{usageType} | Update Provisioning Policy by UsageType +*V2024SourcesApi* | [**Send-V2024Source**](docs/V2024SourcesApi.md#Send-V2024Source) | **PUT** /sources/{id} | Update Source (Full) +*V2024SourcesApi* | [**Send-V2024SourceAttrSyncConfig**](docs/V2024SourcesApi.md#Send-V2024SourceAttrSyncConfig) | **PUT** /sources/{id}/attribute-sync-config | Update Attribute Sync Config +*V2024SourcesApi* | [**Send-V2024SourceSchema**](docs/V2024SourcesApi.md#Send-V2024SourceSchema) | **PUT** /sources/{sourceId}/schemas/{schemaId} | Update Source Schema (Full) +*V2024SourcesApi* | [**Sync-V2024AttributesForSource**](docs/V2024SourcesApi.md#Sync-V2024AttributesForSource) | **POST** /sources/{id}/synchronize-attributes | Synchronize single source attributes. +*V2024SourcesApi* | [**Test-V2024SourceConfiguration**](docs/V2024SourcesApi.md#Test-V2024SourceConfiguration) | **POST** /sources/{sourceId}/connector/test-configuration | Test configuration for source connector +*V2024SourcesApi* | [**Test-V2024SourceConnection**](docs/V2024SourcesApi.md#Test-V2024SourceConnection) | **POST** /sources/{sourceId}/connector/check-connection | Check connection for source connector. +*V2024SourcesApi* | [**Update-V2024ProvisioningPoliciesInBulk**](docs/V2024SourcesApi.md#Update-V2024ProvisioningPoliciesInBulk) | **POST** /sources/{sourceId}/provisioning-policies/bulk-update | Bulk Update Provisioning Policies +*V2024SourcesApi* | [**Update-V2024ProvisioningPolicy**](docs/V2024SourcesApi.md#Update-V2024ProvisioningPolicy) | **PATCH** /sources/{sourceId}/provisioning-policies/{usageType} | Partial update of Provisioning Policy +*V2024SourcesApi* | [**Update-V2024Source**](docs/V2024SourcesApi.md#Update-V2024Source) | **PATCH** /sources/{id} | Update Source (Partial) +*V2024SourcesApi* | [**Update-V2024SourceEntitlementRequestConfig**](docs/V2024SourcesApi.md#Update-V2024SourceEntitlementRequestConfig) | **PUT** /sources/{id}/entitlement-request-config | Update Source Entitlement Request Configuration +*V2024SourcesApi* | [**Update-V2024SourceSchema**](docs/V2024SourcesApi.md#Update-V2024SourceSchema) | **PATCH** /sources/{sourceId}/schemas/{schemaId} | Update Source Schema (Partial) +*V2024SuggestedEntitlementDescriptionApi* | [**Get-V2024SedBatchStats**](docs/V2024SuggestedEntitlementDescriptionApi.md#Get-V2024SedBatchStats) | **GET** /suggested-entitlement-description-batches/{batchId}/stats | Submit Sed Batch Stats Request +*V2024SuggestedEntitlementDescriptionApi* | [**Get-V2024SedBatches**](docs/V2024SuggestedEntitlementDescriptionApi.md#Get-V2024SedBatches) | **GET** /suggested-entitlement-description-batches | List Sed Batch Request +*V2024SuggestedEntitlementDescriptionApi* | [**Get-V2024Seds**](docs/V2024SuggestedEntitlementDescriptionApi.md#Get-V2024Seds) | **GET** /suggested-entitlement-descriptions | List Suggested Entitlement Description +*V2024SuggestedEntitlementDescriptionApi* | [**Update-V2024Sed**](docs/V2024SuggestedEntitlementDescriptionApi.md#Update-V2024Sed) | **PATCH** /suggested-entitlement-descriptions | Patch Suggested Entitlement Description +*V2024SuggestedEntitlementDescriptionApi* | [**Submit-V2024SedApproval**](docs/V2024SuggestedEntitlementDescriptionApi.md#Submit-V2024SedApproval) | **POST** /suggested-entitlement-description-approvals | Submit Bulk Approval Request +*V2024SuggestedEntitlementDescriptionApi* | [**Submit-V2024SedAssignment**](docs/V2024SuggestedEntitlementDescriptionApi.md#Submit-V2024SedAssignment) | **POST** /suggested-entitlement-description-assignments | Submit Sed Assignment Request +*V2024SuggestedEntitlementDescriptionApi* | [**Submit-V2024SedBatchRequest**](docs/V2024SuggestedEntitlementDescriptionApi.md#Submit-V2024SedBatchRequest) | **POST** /suggested-entitlement-description-batches | Submit Sed Batch Request +*V2024TaggedObjectsApi* | [**Remove-V2024TaggedObject**](docs/V2024TaggedObjectsApi.md#Remove-V2024TaggedObject) | **DELETE** /tagged-objects/{type}/{id} | Delete Tagged Object +*V2024TaggedObjectsApi* | [**Remove-V2024TagsToManyObject**](docs/V2024TaggedObjectsApi.md#Remove-V2024TagsToManyObject) | **POST** /tagged-objects/bulk-remove | Remove Tags from Multiple Objects +*V2024TaggedObjectsApi* | [**Get-V2024TaggedObject**](docs/V2024TaggedObjectsApi.md#Get-V2024TaggedObject) | **GET** /tagged-objects/{type}/{id} | Get Tagged Object +*V2024TaggedObjectsApi* | [**Get-V2024TaggedObjects**](docs/V2024TaggedObjectsApi.md#Get-V2024TaggedObjects) | **GET** /tagged-objects | List Tagged Objects +*V2024TaggedObjectsApi* | [**Get-V2024TaggedObjectsByType**](docs/V2024TaggedObjectsApi.md#Get-V2024TaggedObjectsByType) | **GET** /tagged-objects/{type} | List Tagged Objects by Type +*V2024TaggedObjectsApi* | [**Send-V2024TaggedObject**](docs/V2024TaggedObjectsApi.md#Send-V2024TaggedObject) | **PUT** /tagged-objects/{type}/{id} | Update Tagged Object +*V2024TaggedObjectsApi* | [**Set-V2024TagToObject**](docs/V2024TaggedObjectsApi.md#Set-V2024TagToObject) | **POST** /tagged-objects | Add Tag to Object +*V2024TaggedObjectsApi* | [**Set-V2024TagsToManyObjects**](docs/V2024TaggedObjectsApi.md#Set-V2024TagsToManyObjects) | **POST** /tagged-objects/bulk-add | Tag Multiple Objects +*V2024TaskManagementApi* | [**Get-V2024PendingTaskHeaders**](docs/V2024TaskManagementApi.md#Get-V2024PendingTaskHeaders) | **HEAD** /task-status/pending-tasks | Retrieve headers only for pending task list. +*V2024TaskManagementApi* | [**Get-V2024PendingTasks**](docs/V2024TaskManagementApi.md#Get-V2024PendingTasks) | **GET** /task-status/pending-tasks | Retrieve a pending task list. +*V2024TaskManagementApi* | [**Get-V2024TaskStatus**](docs/V2024TaskManagementApi.md#Get-V2024TaskStatus) | **GET** /task-status/{id} | Get task status by ID. +*V2024TaskManagementApi* | [**Get-V2024TaskStatusList**](docs/V2024TaskManagementApi.md#Get-V2024TaskStatusList) | **GET** /task-status | Retrieve a task status list. +*V2024TaskManagementApi* | [**Update-V2024TaskStatus**](docs/V2024TaskManagementApi.md#Update-V2024TaskStatus) | **PATCH** /task-status/{id} | Update task status by ID +*V2024TenantApi* | [**Get-V2024Tenant**](docs/V2024TenantApi.md#Get-V2024Tenant) | **GET** /tenant | Get Tenant Information. +*V2024TransformsApi* | [**New-V2024Transform**](docs/V2024TransformsApi.md#New-V2024Transform) | **POST** /transforms | Create transform +*V2024TransformsApi* | [**Remove-V2024Transform**](docs/V2024TransformsApi.md#Remove-V2024Transform) | **DELETE** /transforms/{id} | Delete a transform +*V2024TransformsApi* | [**Get-V2024Transform**](docs/V2024TransformsApi.md#Get-V2024Transform) | **GET** /transforms/{id} | Transform by ID +*V2024TransformsApi* | [**Get-V2024Transforms**](docs/V2024TransformsApi.md#Get-V2024Transforms) | **GET** /transforms | List transforms +*V2024TransformsApi* | [**Update-V2024Transform**](docs/V2024TransformsApi.md#Update-V2024Transform) | **PUT** /transforms/{id} | Update a transform +*V2024TriggersApi* | [**Complete-V2024TriggerInvocation**](docs/V2024TriggersApi.md#Complete-V2024TriggerInvocation) | **POST** /trigger-invocations/{id}/complete | Complete Trigger Invocation +*V2024TriggersApi* | [**New-V2024Subscription**](docs/V2024TriggersApi.md#New-V2024Subscription) | **POST** /trigger-subscriptions | Create a Subscription +*V2024TriggersApi* | [**Remove-V2024Subscription**](docs/V2024TriggersApi.md#Remove-V2024Subscription) | **DELETE** /trigger-subscriptions/{id} | Delete a Subscription +*V2024TriggersApi* | [**Get-V2024Subscriptions**](docs/V2024TriggersApi.md#Get-V2024Subscriptions) | **GET** /trigger-subscriptions | List Subscriptions +*V2024TriggersApi* | [**Get-V2024TriggerInvocationStatus**](docs/V2024TriggersApi.md#Get-V2024TriggerInvocationStatus) | **GET** /trigger-invocations/status | List Latest Invocation Statuses +*V2024TriggersApi* | [**Get-V2024Triggers**](docs/V2024TriggersApi.md#Get-V2024Triggers) | **GET** /triggers | List Triggers +*V2024TriggersApi* | [**Update-V2024Subscription**](docs/V2024TriggersApi.md#Update-V2024Subscription) | **PATCH** /trigger-subscriptions/{id} | Patch a Subscription +*V2024TriggersApi* | [**Start-V2024TestTriggerInvocation**](docs/V2024TriggersApi.md#Start-V2024TestTriggerInvocation) | **POST** /trigger-invocations/test | Start a Test Invocation +*V2024TriggersApi* | [**Test-V2024SubscriptionFilter**](docs/V2024TriggersApi.md#Test-V2024SubscriptionFilter) | **POST** /trigger-subscriptions/validate-filter | Validate a Subscription Filter +*V2024TriggersApi* | [**Update-V2024Subscription**](docs/V2024TriggersApi.md#Update-V2024Subscription) | **PUT** /trigger-subscriptions/{id} | Update a Subscription +*V2024UIMetadataApi* | [**Get-V2024TenantUiMetadata**](docs/V2024UIMetadataApi.md#Get-V2024TenantUiMetadata) | **GET** /ui-metadata/tenant | Get a tenant UI metadata +*V2024UIMetadataApi* | [**Set-V2024TenantUiMetadata**](docs/V2024UIMetadataApi.md#Set-V2024TenantUiMetadata) | **PUT** /ui-metadata/tenant | Update tenant UI metadata +*V2024VendorConnectorMappingsApi* | [**New-V2024VendorConnectorMapping**](docs/V2024VendorConnectorMappingsApi.md#New-V2024VendorConnectorMapping) | **POST** /vendor-connector-mappings | Create a vendor connector mapping +*V2024VendorConnectorMappingsApi* | [**Remove-V2024VendorConnectorMapping**](docs/V2024VendorConnectorMappingsApi.md#Remove-V2024VendorConnectorMapping) | **DELETE** /vendor-connector-mappings | Delete a vendor connector mapping +*V2024WorkItemsApi* | [**Approve-V2024ApprovalItem**](docs/V2024WorkItemsApi.md#Approve-V2024ApprovalItem) | **POST** /work-items/{id}/approve/{approvalItemId} | Approve an Approval Item +*V2024WorkItemsApi* | [**Approve-V2024ApprovalItemsInBulk**](docs/V2024WorkItemsApi.md#Approve-V2024ApprovalItemsInBulk) | **POST** /work-items/bulk-approve/{id} | Bulk approve Approval Items +*V2024WorkItemsApi* | [**Complete-V2024WorkItem**](docs/V2024WorkItemsApi.md#Complete-V2024WorkItem) | **POST** /work-items/{id} | Complete a Work Item +*V2024WorkItemsApi* | [**Get-V2024CompletedWorkItems**](docs/V2024WorkItemsApi.md#Get-V2024CompletedWorkItems) | **GET** /work-items/completed | Completed Work Items +*V2024WorkItemsApi* | [**Get-V2024CountCompletedWorkItems**](docs/V2024WorkItemsApi.md#Get-V2024CountCompletedWorkItems) | **GET** /work-items/completed/count | Count Completed Work Items +*V2024WorkItemsApi* | [**Get-V2024CountWorkItems**](docs/V2024WorkItemsApi.md#Get-V2024CountWorkItems) | **GET** /work-items/count | Count Work Items +*V2024WorkItemsApi* | [**Get-V2024WorkItem**](docs/V2024WorkItemsApi.md#Get-V2024WorkItem) | **GET** /work-items/{id} | Get a Work Item +*V2024WorkItemsApi* | [**Get-V2024WorkItemsSummary**](docs/V2024WorkItemsApi.md#Get-V2024WorkItemsSummary) | **GET** /work-items/summary | Work Items Summary +*V2024WorkItemsApi* | [**Get-V2024WorkItems**](docs/V2024WorkItemsApi.md#Get-V2024WorkItems) | **GET** /work-items | List Work Items +*V2024WorkItemsApi* | [**Deny-V2024ApprovalItem**](docs/V2024WorkItemsApi.md#Deny-V2024ApprovalItem) | **POST** /work-items/{id}/reject/{approvalItemId} | Reject an Approval Item +*V2024WorkItemsApi* | [**Deny-V2024ApprovalItemsInBulk**](docs/V2024WorkItemsApi.md#Deny-V2024ApprovalItemsInBulk) | **POST** /work-items/bulk-reject/{id} | Bulk reject Approval Items +*V2024WorkItemsApi* | [**Send-V2024WorkItemForward**](docs/V2024WorkItemsApi.md#Send-V2024WorkItemForward) | **POST** /work-items/{id}/forward | Forward a Work Item +*V2024WorkItemsApi* | [**Submit-V2024AccountSelection**](docs/V2024WorkItemsApi.md#Submit-V2024AccountSelection) | **POST** /work-items/{id}/submit-account-selection | Submit Account Selections +*V2024WorkReassignmentApi* | [**New-V2024ReassignmentConfiguration**](docs/V2024WorkReassignmentApi.md#New-V2024ReassignmentConfiguration) | **POST** /reassignment-configurations | Create a Reassignment Configuration +*V2024WorkReassignmentApi* | [**Remove-V2024ReassignmentConfiguration**](docs/V2024WorkReassignmentApi.md#Remove-V2024ReassignmentConfiguration) | **DELETE** /reassignment-configurations/{identityId} | Delete Reassignment Configuration +*V2024WorkReassignmentApi* | [**Get-V2024EvaluateReassignmentConfiguration**](docs/V2024WorkReassignmentApi.md#Get-V2024EvaluateReassignmentConfiguration) | **GET** /reassignment-configurations/{identityId}/evaluate/{configType} | Evaluate Reassignment Configuration +*V2024WorkReassignmentApi* | [**Get-V2024ReassignmentConfigTypes**](docs/V2024WorkReassignmentApi.md#Get-V2024ReassignmentConfigTypes) | **GET** /reassignment-configurations/types | List Reassignment Config Types +*V2024WorkReassignmentApi* | [**Get-V2024ReassignmentConfiguration**](docs/V2024WorkReassignmentApi.md#Get-V2024ReassignmentConfiguration) | **GET** /reassignment-configurations/{identityId} | Get Reassignment Configuration +*V2024WorkReassignmentApi* | [**Get-V2024TenantConfigConfiguration**](docs/V2024WorkReassignmentApi.md#Get-V2024TenantConfigConfiguration) | **GET** /reassignment-configurations/tenant-config | Get Tenant-wide Reassignment Configuration settings +*V2024WorkReassignmentApi* | [**Get-V2024ReassignmentConfigurations**](docs/V2024WorkReassignmentApi.md#Get-V2024ReassignmentConfigurations) | **GET** /reassignment-configurations | List Reassignment Configurations +*V2024WorkReassignmentApi* | [**Send-V2024ReassignmentConfig**](docs/V2024WorkReassignmentApi.md#Send-V2024ReassignmentConfig) | **PUT** /reassignment-configurations/{identityId} | Update Reassignment Configuration +*V2024WorkReassignmentApi* | [**Send-V2024TenantConfiguration**](docs/V2024WorkReassignmentApi.md#Send-V2024TenantConfiguration) | **PUT** /reassignment-configurations/tenant-config | Update Tenant-wide Reassignment Configuration settings +*V2024WorkflowsApi* | [**Suspend-V2024WorkflowExecution**](docs/V2024WorkflowsApi.md#Suspend-V2024WorkflowExecution) | **POST** /workflow-executions/{id}/cancel | Cancel Workflow Execution by ID +*V2024WorkflowsApi* | [**New-V2024ExternalExecuteWorkflow**](docs/V2024WorkflowsApi.md#New-V2024ExternalExecuteWorkflow) | **POST** /workflows/execute/external/{id} | Execute Workflow via External Trigger +*V2024WorkflowsApi* | [**New-V2024Workflow**](docs/V2024WorkflowsApi.md#New-V2024Workflow) | **POST** /workflows/{id} | Create Workflow +*V2024WorkflowsApi* | [**New-V2024WorkflowExternalTrigger**](docs/V2024WorkflowsApi.md#New-V2024WorkflowExternalTrigger) | **POST** /workflows/{id}/external/oauth-clients | Generate External Trigger OAuth Client +*V2024WorkflowsApi* | [**Remove-V2024Workflow**](docs/V2024WorkflowsApi.md#Remove-V2024Workflow) | **DELETE** /workflows/{id} | Delete Workflow By Id +*V2024WorkflowsApi* | [**Get-V2024Workflow**](docs/V2024WorkflowsApi.md#Get-V2024Workflow) | **GET** /workflows/{id} | Get Workflow By Id +*V2024WorkflowsApi* | [**Get-V2024WorkflowExecution**](docs/V2024WorkflowsApi.md#Get-V2024WorkflowExecution) | **GET** /workflow-executions/{id} | Get Workflow Execution +*V2024WorkflowsApi* | [**Get-V2024WorkflowExecutionHistory**](docs/V2024WorkflowsApi.md#Get-V2024WorkflowExecutionHistory) | **GET** /workflow-executions/{id}/history | Get Workflow Execution History +*V2024WorkflowsApi* | [**Get-V2024WorkflowExecutions**](docs/V2024WorkflowsApi.md#Get-V2024WorkflowExecutions) | **GET** /workflows/{id}/executions | List Workflow Executions +*V2024WorkflowsApi* | [**Get-V2024CompleteWorkflowLibrary**](docs/V2024WorkflowsApi.md#Get-V2024CompleteWorkflowLibrary) | **GET** /workflow-library | List Complete Workflow Library +*V2024WorkflowsApi* | [**Get-V2024WorkflowLibraryActions**](docs/V2024WorkflowsApi.md#Get-V2024WorkflowLibraryActions) | **GET** /workflow-library/actions | List Workflow Library Actions +*V2024WorkflowsApi* | [**Get-V2024WorkflowLibraryOperators**](docs/V2024WorkflowsApi.md#Get-V2024WorkflowLibraryOperators) | **GET** /workflow-library/operators | List Workflow Library Operators +*V2024WorkflowsApi* | [**Get-V2024WorkflowLibraryTriggers**](docs/V2024WorkflowsApi.md#Get-V2024WorkflowLibraryTriggers) | **GET** /workflow-library/triggers | List Workflow Library Triggers +*V2024WorkflowsApi* | [**Get-V2024Workflows**](docs/V2024WorkflowsApi.md#Get-V2024Workflows) | **GET** /workflows | List Workflows +*V2024WorkflowsApi* | [**Update-V2024Workflow**](docs/V2024WorkflowsApi.md#Update-V2024Workflow) | **PATCH** /workflows/{id} | Patch Workflow +*V2024WorkflowsApi* | [**Send-V2024Workflow**](docs/V2024WorkflowsApi.md#Send-V2024Workflow) | **PUT** /workflows/{id} | Update Workflow +*V2024WorkflowsApi* | [**Test-V2024ExternalExecuteWorkflow**](docs/V2024WorkflowsApi.md#Test-V2024ExternalExecuteWorkflow) | **POST** /workflows/execute/external/{id}/test | Test Workflow via External Trigger +*V2024WorkflowsApi* | [**Test-V2024Workflow**](docs/V2024WorkflowsApi.md#Test-V2024Workflow) | **POST** /workflows/{id}/test | Test Workflow By Id + + +## Documentation for Models + + - [PSSailpointV2024\Model.Access](docs/Access.md) + - [PSSailpointV2024\Model.AccessConstraint](docs/AccessConstraint.md) + - [PSSailpointV2024\Model.AccessCriteria](docs/AccessCriteria.md) + - [PSSailpointV2024\Model.AccessCriteriaCriteriaListInner](docs/AccessCriteriaCriteriaListInner.md) + - [PSSailpointV2024\Model.AccessItemAccessProfileResponse](docs/AccessItemAccessProfileResponse.md) + - [PSSailpointV2024\Model.AccessItemAccountResponse](docs/AccessItemAccountResponse.md) + - [PSSailpointV2024\Model.AccessItemAppResponse](docs/AccessItemAppResponse.md) + - [PSSailpointV2024\Model.AccessItemApproverDto](docs/AccessItemApproverDto.md) + - [PSSailpointV2024\Model.AccessItemAssociated](docs/AccessItemAssociated.md) + - [PSSailpointV2024\Model.AccessItemAssociatedAccessItem](docs/AccessItemAssociatedAccessItem.md) + - [PSSailpointV2024\Model.AccessItemDiff](docs/AccessItemDiff.md) + - [PSSailpointV2024\Model.AccessItemEntitlementResponse](docs/AccessItemEntitlementResponse.md) + - [PSSailpointV2024\Model.AccessItemRef](docs/AccessItemRef.md) + - [PSSailpointV2024\Model.AccessItemRemoved](docs/AccessItemRemoved.md) + - [PSSailpointV2024\Model.AccessItemRequestedFor](docs/AccessItemRequestedFor.md) + - [PSSailpointV2024\Model.AccessItemRequestedForDto](docs/AccessItemRequestedForDto.md) + - [PSSailpointV2024\Model.AccessItemRequester](docs/AccessItemRequester.md) + - [PSSailpointV2024\Model.AccessItemRequesterDto](docs/AccessItemRequesterDto.md) + - [PSSailpointV2024\Model.AccessItemReviewedBy](docs/AccessItemReviewedBy.md) + - [PSSailpointV2024\Model.AccessItemRoleResponse](docs/AccessItemRoleResponse.md) + - [PSSailpointV2024\Model.AccessProfile](docs/AccessProfile.md) + - [PSSailpointV2024\Model.AccessProfileApprovalScheme](docs/AccessProfileApprovalScheme.md) + - [PSSailpointV2024\Model.AccessProfileBulkDeleteRequest](docs/AccessProfileBulkDeleteRequest.md) + - [PSSailpointV2024\Model.AccessProfileBulkDeleteResponse](docs/AccessProfileBulkDeleteResponse.md) + - [PSSailpointV2024\Model.AccessProfileBulkUpdateRequestInner](docs/AccessProfileBulkUpdateRequestInner.md) + - [PSSailpointV2024\Model.AccessProfileDocument](docs/AccessProfileDocument.md) + - [PSSailpointV2024\Model.AccessProfileDocumentAllOfSource](docs/AccessProfileDocumentAllOfSource.md) + - [PSSailpointV2024\Model.AccessProfileEntitlement](docs/AccessProfileEntitlement.md) + - [PSSailpointV2024\Model.AccessProfileRef](docs/AccessProfileRef.md) + - [PSSailpointV2024\Model.AccessProfileRole](docs/AccessProfileRole.md) + - [PSSailpointV2024\Model.AccessProfileSourceRef](docs/AccessProfileSourceRef.md) + - [PSSailpointV2024\Model.AccessProfileSummary](docs/AccessProfileSummary.md) + - [PSSailpointV2024\Model.AccessProfileUpdateItem](docs/AccessProfileUpdateItem.md) + - [PSSailpointV2024\Model.AccessProfileUsage](docs/AccessProfileUsage.md) + - [PSSailpointV2024\Model.AccessProfileUsageUsedByInner](docs/AccessProfileUsageUsedByInner.md) + - [PSSailpointV2024\Model.AccessRecommendationMessage](docs/AccessRecommendationMessage.md) + - [PSSailpointV2024\Model.AccessRequest](docs/AccessRequest.md) + - [PSSailpointV2024\Model.AccessRequestConfig](docs/AccessRequestConfig.md) + - [PSSailpointV2024\Model.AccessRequestContext](docs/AccessRequestContext.md) + - [PSSailpointV2024\Model.AccessRequestDynamicApprover](docs/AccessRequestDynamicApprover.md) + - [PSSailpointV2024\Model.AccessRequestDynamicApprover1](docs/AccessRequestDynamicApprover1.md) + - [PSSailpointV2024\Model.AccessRequestDynamicApproverRequestedItemsInner](docs/AccessRequestDynamicApproverRequestedItemsInner.md) + - [PSSailpointV2024\Model.AccessRequestItem](docs/AccessRequestItem.md) + - [PSSailpointV2024\Model.AccessRequestItemResponse](docs/AccessRequestItemResponse.md) + - [PSSailpointV2024\Model.AccessRequestPhases](docs/AccessRequestPhases.md) + - [PSSailpointV2024\Model.AccessRequestPostApproval](docs/AccessRequestPostApproval.md) + - [PSSailpointV2024\Model.AccessRequestPostApprovalRequestedItemsStatusInner](docs/AccessRequestPostApprovalRequestedItemsStatusInner.md) + - [PSSailpointV2024\Model.AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInner](docs/AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInner.md) + - [PSSailpointV2024\Model.AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInnerApprover](docs/AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInnerApprover.md) + - [PSSailpointV2024\Model.AccessRequestPreApproval](docs/AccessRequestPreApproval.md) + - [PSSailpointV2024\Model.AccessRequestPreApproval1](docs/AccessRequestPreApproval1.md) + - [PSSailpointV2024\Model.AccessRequestPreApprovalRequestedItemsInner](docs/AccessRequestPreApprovalRequestedItemsInner.md) + - [PSSailpointV2024\Model.AccessRequestRecommendationActionItemDto](docs/AccessRequestRecommendationActionItemDto.md) + - [PSSailpointV2024\Model.AccessRequestRecommendationActionItemResponseDto](docs/AccessRequestRecommendationActionItemResponseDto.md) + - [PSSailpointV2024\Model.AccessRequestRecommendationItem](docs/AccessRequestRecommendationItem.md) + - [PSSailpointV2024\Model.AccessRequestRecommendationItemDetail](docs/AccessRequestRecommendationItemDetail.md) + - [PSSailpointV2024\Model.AccessRequestRecommendationItemDetailAccess](docs/AccessRequestRecommendationItemDetailAccess.md) + - [PSSailpointV2024\Model.AccessRequestRecommendationItemType](docs/AccessRequestRecommendationItemType.md) + - [PSSailpointV2024\Model.AccessRequestResponse](docs/AccessRequestResponse.md) + - [PSSailpointV2024\Model.AccessRequestType](docs/AccessRequestType.md) + - [PSSailpointV2024\Model.AccessRequested](docs/AccessRequested.md) + - [PSSailpointV2024\Model.AccessReviewItem](docs/AccessReviewItem.md) + - [PSSailpointV2024\Model.AccessReviewReassignment](docs/AccessReviewReassignment.md) + - [PSSailpointV2024\Model.AccessSummary](docs/AccessSummary.md) + - [PSSailpointV2024\Model.AccessSummaryAccess](docs/AccessSummaryAccess.md) + - [PSSailpointV2024\Model.AccessType](docs/AccessType.md) + - [PSSailpointV2024\Model.Account](docs/Account.md) + - [PSSailpointV2024\Model.AccountAction](docs/AccountAction.md) + - [PSSailpointV2024\Model.AccountActivity](docs/AccountActivity.md) + - [PSSailpointV2024\Model.AccountActivityApprovalStatus](docs/AccountActivityApprovalStatus.md) + - [PSSailpointV2024\Model.AccountActivityDocument](docs/AccountActivityDocument.md) + - [PSSailpointV2024\Model.AccountActivityItem](docs/AccountActivityItem.md) + - [PSSailpointV2024\Model.AccountActivityItemOperation](docs/AccountActivityItemOperation.md) + - [PSSailpointV2024\Model.AccountActivitySearchedItem](docs/AccountActivitySearchedItem.md) + - [PSSailpointV2024\Model.AccountAggregationCompleted](docs/AccountAggregationCompleted.md) + - [PSSailpointV2024\Model.AccountAggregationCompletedSource](docs/AccountAggregationCompletedSource.md) + - [PSSailpointV2024\Model.AccountAggregationCompletedStats](docs/AccountAggregationCompletedStats.md) + - [PSSailpointV2024\Model.AccountAggregationStatus](docs/AccountAggregationStatus.md) + - [PSSailpointV2024\Model.AccountAllOfOwnerGroup](docs/AccountAllOfOwnerGroup.md) + - [PSSailpointV2024\Model.AccountAllOfOwnerIdentity](docs/AccountAllOfOwnerIdentity.md) + - [PSSailpointV2024\Model.AccountAllOfSourceOwner](docs/AccountAllOfSourceOwner.md) + - [PSSailpointV2024\Model.AccountAttribute](docs/AccountAttribute.md) + - [PSSailpointV2024\Model.AccountAttributes](docs/AccountAttributes.md) + - [PSSailpointV2024\Model.AccountAttributesChanged](docs/AccountAttributesChanged.md) + - [PSSailpointV2024\Model.AccountAttributesChangedAccount](docs/AccountAttributesChangedAccount.md) + - [PSSailpointV2024\Model.AccountAttributesChangedChangesInner](docs/AccountAttributesChangedChangesInner.md) + - [PSSailpointV2024\Model.AccountAttributesChangedChangesInnerNewValue](docs/AccountAttributesChangedChangesInnerNewValue.md) + - [PSSailpointV2024\Model.AccountAttributesChangedChangesInnerOldValue](docs/AccountAttributesChangedChangesInnerOldValue.md) + - [PSSailpointV2024\Model.AccountAttributesChangedIdentity](docs/AccountAttributesChangedIdentity.md) + - [PSSailpointV2024\Model.AccountAttributesChangedSource](docs/AccountAttributesChangedSource.md) + - [PSSailpointV2024\Model.AccountAttributesCreate](docs/AccountAttributesCreate.md) + - [PSSailpointV2024\Model.AccountAttributesCreateAttributes](docs/AccountAttributesCreateAttributes.md) + - [PSSailpointV2024\Model.AccountCorrelated](docs/AccountCorrelated.md) + - [PSSailpointV2024\Model.AccountCorrelatedAccount](docs/AccountCorrelatedAccount.md) + - [PSSailpointV2024\Model.AccountCorrelatedIdentity](docs/AccountCorrelatedIdentity.md) + - [PSSailpointV2024\Model.AccountCorrelatedSource](docs/AccountCorrelatedSource.md) + - [PSSailpointV2024\Model.AccountInfoDto](docs/AccountInfoDto.md) + - [PSSailpointV2024\Model.AccountRequest](docs/AccountRequest.md) + - [PSSailpointV2024\Model.AccountRequestInfo](docs/AccountRequestInfo.md) + - [PSSailpointV2024\Model.AccountRequestResult](docs/AccountRequestResult.md) + - [PSSailpointV2024\Model.AccountSource](docs/AccountSource.md) + - [PSSailpointV2024\Model.AccountStatusChanged](docs/AccountStatusChanged.md) + - [PSSailpointV2024\Model.AccountStatusChangedAccount](docs/AccountStatusChangedAccount.md) + - [PSSailpointV2024\Model.AccountStatusChangedStatusChange](docs/AccountStatusChangedStatusChange.md) + - [PSSailpointV2024\Model.AccountToggleRequest](docs/AccountToggleRequest.md) + - [PSSailpointV2024\Model.AccountUncorrelated](docs/AccountUncorrelated.md) + - [PSSailpointV2024\Model.AccountUncorrelatedAccount](docs/AccountUncorrelatedAccount.md) + - [PSSailpointV2024\Model.AccountUncorrelatedIdentity](docs/AccountUncorrelatedIdentity.md) + - [PSSailpointV2024\Model.AccountUncorrelatedSource](docs/AccountUncorrelatedSource.md) + - [PSSailpointV2024\Model.AccountUnlockRequest](docs/AccountUnlockRequest.md) + - [PSSailpointV2024\Model.AccountUsage](docs/AccountUsage.md) + - [PSSailpointV2024\Model.AccountsAsyncResult](docs/AccountsAsyncResult.md) + - [PSSailpointV2024\Model.AccountsCollectedForAggregation](docs/AccountsCollectedForAggregation.md) + - [PSSailpointV2024\Model.AccountsCollectedForAggregationSource](docs/AccountsCollectedForAggregationSource.md) + - [PSSailpointV2024\Model.AccountsCollectedForAggregationStats](docs/AccountsCollectedForAggregationStats.md) + - [PSSailpointV2024\Model.AccountsExportReportArguments](docs/AccountsExportReportArguments.md) + - [PSSailpointV2024\Model.ActivateCampaignOptions](docs/ActivateCampaignOptions.md) + - [PSSailpointV2024\Model.ActivityInsights](docs/ActivityInsights.md) + - [PSSailpointV2024\Model.AdminReviewReassign](docs/AdminReviewReassign.md) + - [PSSailpointV2024\Model.AdminReviewReassignReassignTo](docs/AdminReviewReassignReassignTo.md) + - [PSSailpointV2024\Model.AggregationResult](docs/AggregationResult.md) + - [PSSailpointV2024\Model.AggregationType](docs/AggregationType.md) + - [PSSailpointV2024\Model.Aggregations](docs/Aggregations.md) + - [PSSailpointV2024\Model.App](docs/App.md) + - [PSSailpointV2024\Model.AppAllOfAccount](docs/AppAllOfAccount.md) + - [PSSailpointV2024\Model.Approval](docs/Approval.md) + - [PSSailpointV2024\Model.Approval1](docs/Approval1.md) + - [PSSailpointV2024\Model.ApprovalBatch](docs/ApprovalBatch.md) + - [PSSailpointV2024\Model.ApprovalComment](docs/ApprovalComment.md) + - [PSSailpointV2024\Model.ApprovalComment1](docs/ApprovalComment1.md) + - [PSSailpointV2024\Model.ApprovalDescription](docs/ApprovalDescription.md) + - [PSSailpointV2024\Model.ApprovalDto](docs/ApprovalDto.md) + - [PSSailpointV2024\Model.ApprovalForwardHistory](docs/ApprovalForwardHistory.md) + - [PSSailpointV2024\Model.ApprovalIdentity](docs/ApprovalIdentity.md) + - [PSSailpointV2024\Model.ApprovalInfoResponse](docs/ApprovalInfoResponse.md) + - [PSSailpointV2024\Model.ApprovalItemDetails](docs/ApprovalItemDetails.md) + - [PSSailpointV2024\Model.ApprovalItems](docs/ApprovalItems.md) + - [PSSailpointV2024\Model.ApprovalName](docs/ApprovalName.md) + - [PSSailpointV2024\Model.ApprovalReference](docs/ApprovalReference.md) + - [PSSailpointV2024\Model.ApprovalReminderAndEscalationConfig](docs/ApprovalReminderAndEscalationConfig.md) + - [PSSailpointV2024\Model.ApprovalScheme](docs/ApprovalScheme.md) + - [PSSailpointV2024\Model.ApprovalSchemeForRole](docs/ApprovalSchemeForRole.md) + - [PSSailpointV2024\Model.ApprovalStatus](docs/ApprovalStatus.md) + - [PSSailpointV2024\Model.ApprovalStatusDto](docs/ApprovalStatusDto.md) + - [PSSailpointV2024\Model.ApprovalStatusDtoCurrentOwner](docs/ApprovalStatusDtoCurrentOwner.md) + - [PSSailpointV2024\Model.ApprovalStatusDtoOriginalOwner](docs/ApprovalStatusDtoOriginalOwner.md) + - [PSSailpointV2024\Model.ApprovalSummary](docs/ApprovalSummary.md) + - [PSSailpointV2024\Model.Argument](docs/Argument.md) + - [PSSailpointV2024\Model.ArrayInner](docs/ArrayInner.md) + - [PSSailpointV2024\Model.AssignmentContextDto](docs/AssignmentContextDto.md) + - [PSSailpointV2024\Model.AttrSyncSource](docs/AttrSyncSource.md) + - [PSSailpointV2024\Model.AttrSyncSourceAttributeConfig](docs/AttrSyncSourceAttributeConfig.md) + - [PSSailpointV2024\Model.AttrSyncSourceConfig](docs/AttrSyncSourceConfig.md) + - [PSSailpointV2024\Model.AttributeChange](docs/AttributeChange.md) + - [PSSailpointV2024\Model.AttributeDTO](docs/AttributeDTO.md) + - [PSSailpointV2024\Model.AttributeDTOList](docs/AttributeDTOList.md) + - [PSSailpointV2024\Model.AttributeDefinition](docs/AttributeDefinition.md) + - [PSSailpointV2024\Model.AttributeDefinitionSchema](docs/AttributeDefinitionSchema.md) + - [PSSailpointV2024\Model.AttributeDefinitionType](docs/AttributeDefinitionType.md) + - [PSSailpointV2024\Model.AttributeRequest](docs/AttributeRequest.md) + - [PSSailpointV2024\Model.AttributeValueDTO](docs/AttributeValueDTO.md) + - [PSSailpointV2024\Model.AttributesChanged](docs/AttributesChanged.md) + - [PSSailpointV2024\Model.AuditDetails](docs/AuditDetails.md) + - [PSSailpointV2024\Model.AuthProfile](docs/AuthProfile.md) + - [PSSailpointV2024\Model.AuthProfileSummary](docs/AuthProfileSummary.md) + - [PSSailpointV2024\Model.AuthUser](docs/AuthUser.md) + - [PSSailpointV2024\Model.Base64Decode](docs/Base64Decode.md) + - [PSSailpointV2024\Model.Base64Encode](docs/Base64Encode.md) + - [PSSailpointV2024\Model.BaseAccess](docs/BaseAccess.md) + - [PSSailpointV2024\Model.BaseAccessAllOfOwner](docs/BaseAccessAllOfOwner.md) + - [PSSailpointV2024\Model.BaseAccessProfile](docs/BaseAccessProfile.md) + - [PSSailpointV2024\Model.BaseAccount](docs/BaseAccount.md) + - [PSSailpointV2024\Model.BaseCommonDto](docs/BaseCommonDto.md) + - [PSSailpointV2024\Model.BaseCommonDto1](docs/BaseCommonDto1.md) + - [PSSailpointV2024\Model.BaseDocument](docs/BaseDocument.md) + - [PSSailpointV2024\Model.BaseEntitlement](docs/BaseEntitlement.md) + - [PSSailpointV2024\Model.BaseReferenceDto](docs/BaseReferenceDto.md) + - [PSSailpointV2024\Model.BaseReferenceDto1](docs/BaseReferenceDto1.md) + - [PSSailpointV2024\Model.BaseSegment](docs/BaseSegment.md) + - [PSSailpointV2024\Model.BasicAuthConfig](docs/BasicAuthConfig.md) + - [PSSailpointV2024\Model.BearerTokenAuthConfig](docs/BearerTokenAuthConfig.md) + - [PSSailpointV2024\Model.BeforeProvisioningRuleDto](docs/BeforeProvisioningRuleDto.md) + - [PSSailpointV2024\Model.Bound](docs/Bound.md) + - [PSSailpointV2024\Model.BrandingItem](docs/BrandingItem.md) + - [PSSailpointV2024\Model.BrandingItemCreate](docs/BrandingItemCreate.md) + - [PSSailpointV2024\Model.BucketAggregation](docs/BucketAggregation.md) + - [PSSailpointV2024\Model.BucketType](docs/BucketType.md) + - [PSSailpointV2024\Model.BulkAddTaggedObject](docs/BulkAddTaggedObject.md) + - [PSSailpointV2024\Model.BulkIdentitiesAccountsResponse](docs/BulkIdentitiesAccountsResponse.md) + - [PSSailpointV2024\Model.BulkRemoveTaggedObject](docs/BulkRemoveTaggedObject.md) + - [PSSailpointV2024\Model.BulkTaggedObjectResponse](docs/BulkTaggedObjectResponse.md) + - [PSSailpointV2024\Model.Campaign](docs/Campaign.md) + - [PSSailpointV2024\Model.CampaignActivated](docs/CampaignActivated.md) + - [PSSailpointV2024\Model.CampaignActivatedCampaign](docs/CampaignActivatedCampaign.md) + - [PSSailpointV2024\Model.CampaignActivatedCampaignCampaignOwner](docs/CampaignActivatedCampaignCampaignOwner.md) + - [PSSailpointV2024\Model.CampaignAlert](docs/CampaignAlert.md) + - [PSSailpointV2024\Model.CampaignAllOfFilter](docs/CampaignAllOfFilter.md) + - [PSSailpointV2024\Model.CampaignAllOfRoleCompositionCampaignInfo](docs/CampaignAllOfRoleCompositionCampaignInfo.md) + - [PSSailpointV2024\Model.CampaignAllOfRoleCompositionCampaignInfoRemediatorRef](docs/CampaignAllOfRoleCompositionCampaignInfoRemediatorRef.md) + - [PSSailpointV2024\Model.CampaignAllOfSearchCampaignInfo](docs/CampaignAllOfSearchCampaignInfo.md) + - [PSSailpointV2024\Model.CampaignAllOfSearchCampaignInfoReviewer](docs/CampaignAllOfSearchCampaignInfoReviewer.md) + - [PSSailpointV2024\Model.CampaignAllOfSourceOwnerCampaignInfo](docs/CampaignAllOfSourceOwnerCampaignInfo.md) + - [PSSailpointV2024\Model.CampaignAllOfSourcesWithOrphanEntitlements](docs/CampaignAllOfSourcesWithOrphanEntitlements.md) + - [PSSailpointV2024\Model.CampaignCompleteOptions](docs/CampaignCompleteOptions.md) + - [PSSailpointV2024\Model.CampaignEnded](docs/CampaignEnded.md) + - [PSSailpointV2024\Model.CampaignEndedCampaign](docs/CampaignEndedCampaign.md) + - [PSSailpointV2024\Model.CampaignFilterDetails](docs/CampaignFilterDetails.md) + - [PSSailpointV2024\Model.CampaignFilterDetailsCriteriaListInner](docs/CampaignFilterDetailsCriteriaListInner.md) + - [PSSailpointV2024\Model.CampaignGenerated](docs/CampaignGenerated.md) + - [PSSailpointV2024\Model.CampaignGeneratedCampaign](docs/CampaignGeneratedCampaign.md) + - [PSSailpointV2024\Model.CampaignGeneratedCampaignCampaignOwner](docs/CampaignGeneratedCampaignCampaignOwner.md) + - [PSSailpointV2024\Model.CampaignReference](docs/CampaignReference.md) + - [PSSailpointV2024\Model.CampaignReport](docs/CampaignReport.md) + - [PSSailpointV2024\Model.CampaignReportsConfig](docs/CampaignReportsConfig.md) + - [PSSailpointV2024\Model.CampaignTemplate](docs/CampaignTemplate.md) + - [PSSailpointV2024\Model.CampaignTemplateOwnerRef](docs/CampaignTemplateOwnerRef.md) + - [PSSailpointV2024\Model.CampaignsDeleteRequest](docs/CampaignsDeleteRequest.md) + - [PSSailpointV2024\Model.CancelAccessRequest](docs/CancelAccessRequest.md) + - [PSSailpointV2024\Model.CancelledRequestDetails](docs/CancelledRequestDetails.md) + - [PSSailpointV2024\Model.Certification](docs/Certification.md) + - [PSSailpointV2024\Model.CertificationDecision](docs/CertificationDecision.md) + - [PSSailpointV2024\Model.CertificationDto](docs/CertificationDto.md) + - [PSSailpointV2024\Model.CertificationIdentitySummary](docs/CertificationIdentitySummary.md) + - [PSSailpointV2024\Model.CertificationPhase](docs/CertificationPhase.md) + - [PSSailpointV2024\Model.CertificationReference](docs/CertificationReference.md) + - [PSSailpointV2024\Model.CertificationReference1](docs/CertificationReference1.md) + - [PSSailpointV2024\Model.CertificationReferenceDto](docs/CertificationReferenceDto.md) + - [PSSailpointV2024\Model.CertificationSignedOff](docs/CertificationSignedOff.md) + - [PSSailpointV2024\Model.CertificationSignedOffCertification](docs/CertificationSignedOffCertification.md) + - [PSSailpointV2024\Model.CertificationTask](docs/CertificationTask.md) + - [PSSailpointV2024\Model.CertifierResponse](docs/CertifierResponse.md) + - [PSSailpointV2024\Model.ClientLogConfiguration](docs/ClientLogConfiguration.md) + - [PSSailpointV2024\Model.ClientType](docs/ClientType.md) + - [PSSailpointV2024\Model.CloseAccessRequest](docs/CloseAccessRequest.md) + - [PSSailpointV2024\Model.Column](docs/Column.md) + - [PSSailpointV2024\Model.Comment](docs/Comment.md) + - [PSSailpointV2024\Model.CommentDto](docs/CommentDto.md) + - [PSSailpointV2024\Model.CommentDtoAuthor](docs/CommentDtoAuthor.md) + - [PSSailpointV2024\Model.CommonAccessIDStatus](docs/CommonAccessIDStatus.md) + - [PSSailpointV2024\Model.CommonAccessItemAccess](docs/CommonAccessItemAccess.md) + - [PSSailpointV2024\Model.CommonAccessItemRequest](docs/CommonAccessItemRequest.md) + - [PSSailpointV2024\Model.CommonAccessItemResponse](docs/CommonAccessItemResponse.md) + - [PSSailpointV2024\Model.CommonAccessItemState](docs/CommonAccessItemState.md) + - [PSSailpointV2024\Model.CommonAccessResponse](docs/CommonAccessResponse.md) + - [PSSailpointV2024\Model.CommonAccessType](docs/CommonAccessType.md) + - [PSSailpointV2024\Model.CompleteInvocation](docs/CompleteInvocation.md) + - [PSSailpointV2024\Model.CompleteInvocationInput](docs/CompleteInvocationInput.md) + - [PSSailpointV2024\Model.CompletedApproval](docs/CompletedApproval.md) + - [PSSailpointV2024\Model.CompletedApprovalPreApprovalTriggerResult](docs/CompletedApprovalPreApprovalTriggerResult.md) + - [PSSailpointV2024\Model.CompletedApprovalRequesterComment](docs/CompletedApprovalRequesterComment.md) + - [PSSailpointV2024\Model.CompletedApprovalReviewerComment](docs/CompletedApprovalReviewerComment.md) + - [PSSailpointV2024\Model.CompletedApprovalState](docs/CompletedApprovalState.md) + - [PSSailpointV2024\Model.CompletionStatus](docs/CompletionStatus.md) + - [PSSailpointV2024\Model.Concatenation](docs/Concatenation.md) + - [PSSailpointV2024\Model.ConditionEffect](docs/ConditionEffect.md) + - [PSSailpointV2024\Model.ConditionEffectConfig](docs/ConditionEffectConfig.md) + - [PSSailpointV2024\Model.ConditionRule](docs/ConditionRule.md) + - [PSSailpointV2024\Model.Conditional](docs/Conditional.md) + - [PSSailpointV2024\Model.ConfigObject](docs/ConfigObject.md) + - [PSSailpointV2024\Model.ConfigType](docs/ConfigType.md) + - [PSSailpointV2024\Model.ConfigTypeEnum](docs/ConfigTypeEnum.md) + - [PSSailpointV2024\Model.ConfigTypeEnumCamel](docs/ConfigTypeEnumCamel.md) + - [PSSailpointV2024\Model.ConfigurationDetailsResponse](docs/ConfigurationDetailsResponse.md) + - [PSSailpointV2024\Model.ConfigurationItemRequest](docs/ConfigurationItemRequest.md) + - [PSSailpointV2024\Model.ConfigurationItemResponse](docs/ConfigurationItemResponse.md) + - [PSSailpointV2024\Model.ConfigurationResponse](docs/ConfigurationResponse.md) + - [PSSailpointV2024\Model.ConflictingAccessCriteria](docs/ConflictingAccessCriteria.md) + - [PSSailpointV2024\Model.ConnectedObject](docs/ConnectedObject.md) + - [PSSailpointV2024\Model.ConnectedObjectType](docs/ConnectedObjectType.md) + - [PSSailpointV2024\Model.ConnectorDetail](docs/ConnectorDetail.md) + - [PSSailpointV2024\Model.ConnectorDetail1](docs/ConnectorDetail1.md) + - [PSSailpointV2024\Model.ConnectorRuleCreateRequest](docs/ConnectorRuleCreateRequest.md) + - [PSSailpointV2024\Model.ConnectorRuleCreateRequestSignature](docs/ConnectorRuleCreateRequestSignature.md) + - [PSSailpointV2024\Model.ConnectorRuleResponse](docs/ConnectorRuleResponse.md) + - [PSSailpointV2024\Model.ConnectorRuleUpdateRequest](docs/ConnectorRuleUpdateRequest.md) + - [PSSailpointV2024\Model.ConnectorRuleValidationResponse](docs/ConnectorRuleValidationResponse.md) + - [PSSailpointV2024\Model.ConnectorRuleValidationResponseDetailsInner](docs/ConnectorRuleValidationResponseDetailsInner.md) + - [PSSailpointV2024\Model.ContextAttributeDto](docs/ContextAttributeDto.md) + - [PSSailpointV2024\Model.ContextAttributeDtoValue](docs/ContextAttributeDtoValue.md) + - [PSSailpointV2024\Model.CorrelatedGovernanceEvent](docs/CorrelatedGovernanceEvent.md) + - [PSSailpointV2024\Model.CreateDomainDkim405Response](docs/CreateDomainDkim405Response.md) + - [PSSailpointV2024\Model.CreateExternalExecuteWorkflow200Response](docs/CreateExternalExecuteWorkflow200Response.md) + - [PSSailpointV2024\Model.CreateExternalExecuteWorkflowRequest](docs/CreateExternalExecuteWorkflowRequest.md) + - [PSSailpointV2024\Model.CreateFormDefinitionFileRequestRequest](docs/CreateFormDefinitionFileRequestRequest.md) + - [PSSailpointV2024\Model.CreateFormDefinitionRequest](docs/CreateFormDefinitionRequest.md) + - [PSSailpointV2024\Model.CreateFormInstanceRequest](docs/CreateFormInstanceRequest.md) + - [PSSailpointV2024\Model.CreateOAuthClientRequest](docs/CreateOAuthClientRequest.md) + - [PSSailpointV2024\Model.CreateOAuthClientResponse](docs/CreateOAuthClientResponse.md) + - [PSSailpointV2024\Model.CreatePersonalAccessTokenRequest](docs/CreatePersonalAccessTokenRequest.md) + - [PSSailpointV2024\Model.CreatePersonalAccessTokenResponse](docs/CreatePersonalAccessTokenResponse.md) + - [PSSailpointV2024\Model.CreateSavedSearchRequest](docs/CreateSavedSearchRequest.md) + - [PSSailpointV2024\Model.CreateScheduledSearchRequest](docs/CreateScheduledSearchRequest.md) + - [PSSailpointV2024\Model.CreateWorkflowRequest](docs/CreateWorkflowRequest.md) + - [PSSailpointV2024\Model.CriteriaType](docs/CriteriaType.md) + - [PSSailpointV2024\Model.CustomPasswordInstruction](docs/CustomPasswordInstruction.md) + - [PSSailpointV2024\Model.DataAccess](docs/DataAccess.md) + - [PSSailpointV2024\Model.DataAccessCategoriesInner](docs/DataAccessCategoriesInner.md) + - [PSSailpointV2024\Model.DataAccessImpactScore](docs/DataAccessImpactScore.md) + - [PSSailpointV2024\Model.DataAccessPoliciesInner](docs/DataAccessPoliciesInner.md) + - [PSSailpointV2024\Model.DateCompare](docs/DateCompare.md) + - [PSSailpointV2024\Model.DateCompareFirstDate](docs/DateCompareFirstDate.md) + - [PSSailpointV2024\Model.DateCompareSecondDate](docs/DateCompareSecondDate.md) + - [PSSailpointV2024\Model.DateFormat](docs/DateFormat.md) + - [PSSailpointV2024\Model.DateFormatInputFormat](docs/DateFormatInputFormat.md) + - [PSSailpointV2024\Model.DateFormatOutputFormat](docs/DateFormatOutputFormat.md) + - [PSSailpointV2024\Model.DateMath](docs/DateMath.md) + - [PSSailpointV2024\Model.DecomposeDiacriticalMarks](docs/DecomposeDiacriticalMarks.md) + - [PSSailpointV2024\Model.DeleteNonEmployeeRecordsInBulkRequest](docs/DeleteNonEmployeeRecordsInBulkRequest.md) + - [PSSailpointV2024\Model.DeleteSource202Response](docs/DeleteSource202Response.md) + - [PSSailpointV2024\Model.DeleteVendorConnectorMapping200Response](docs/DeleteVendorConnectorMapping200Response.md) + - [PSSailpointV2024\Model.DiscoveredApplicationsInner](docs/DiscoveredApplicationsInner.md) + - [PSSailpointV2024\Model.DisplayReference](docs/DisplayReference.md) + - [PSSailpointV2024\Model.DkimAttributes](docs/DkimAttributes.md) + - [PSSailpointV2024\Model.DocumentType](docs/DocumentType.md) + - [PSSailpointV2024\Model.DomainAddress](docs/DomainAddress.md) + - [PSSailpointV2024\Model.DomainStatusDto](docs/DomainStatusDto.md) + - [PSSailpointV2024\Model.DtoType](docs/DtoType.md) + - [PSSailpointV2024\Model.E164phone](docs/E164phone.md) + - [PSSailpointV2024\Model.EmailNotificationOption](docs/EmailNotificationOption.md) + - [PSSailpointV2024\Model.EmailStatusDto](docs/EmailStatusDto.md) + - [PSSailpointV2024\Model.Entitlement](docs/Entitlement.md) + - [PSSailpointV2024\Model.Entitlement1](docs/Entitlement1.md) + - [PSSailpointV2024\Model.Entitlement1AccessModelMetadata](docs/Entitlement1AccessModelMetadata.md) + - [PSSailpointV2024\Model.Entitlement1ManuallyUpdatedFields](docs/Entitlement1ManuallyUpdatedFields.md) + - [PSSailpointV2024\Model.Entitlement1Owner](docs/Entitlement1Owner.md) + - [PSSailpointV2024\Model.Entitlement1Source](docs/Entitlement1Source.md) + - [PSSailpointV2024\Model.EntitlementAccessRequestConfig](docs/EntitlementAccessRequestConfig.md) + - [PSSailpointV2024\Model.EntitlementApprovalScheme](docs/EntitlementApprovalScheme.md) + - [PSSailpointV2024\Model.EntitlementBulkUpdateRequest](docs/EntitlementBulkUpdateRequest.md) + - [PSSailpointV2024\Model.EntitlementDocument](docs/EntitlementDocument.md) + - [PSSailpointV2024\Model.EntitlementDocumentAllOfSource](docs/EntitlementDocumentAllOfSource.md) + - [PSSailpointV2024\Model.EntitlementDto](docs/EntitlementDto.md) + - [PSSailpointV2024\Model.EntitlementRef](docs/EntitlementRef.md) + - [PSSailpointV2024\Model.EntitlementRef1](docs/EntitlementRef1.md) + - [PSSailpointV2024\Model.EntitlementRequestConfig](docs/EntitlementRequestConfig.md) + - [PSSailpointV2024\Model.EntitlementRequestConfig1](docs/EntitlementRequestConfig1.md) + - [PSSailpointV2024\Model.EntitlementSource](docs/EntitlementSource.md) + - [PSSailpointV2024\Model.EntitlementSourceResetBaseReferenceDto](docs/EntitlementSourceResetBaseReferenceDto.md) + - [PSSailpointV2024\Model.EntitlementSummary](docs/EntitlementSummary.md) + - [PSSailpointV2024\Model.EntityCreatedByDTO](docs/EntityCreatedByDTO.md) + - [PSSailpointV2024\Model.ErrorMessage](docs/ErrorMessage.md) + - [PSSailpointV2024\Model.ErrorMessageDto](docs/ErrorMessageDto.md) + - [PSSailpointV2024\Model.ErrorResponseDto](docs/ErrorResponseDto.md) + - [PSSailpointV2024\Model.EvaluateResponse](docs/EvaluateResponse.md) + - [PSSailpointV2024\Model.EventAttributes](docs/EventAttributes.md) + - [PSSailpointV2024\Model.EventBridgeConfig](docs/EventBridgeConfig.md) + - [PSSailpointV2024\Model.EventDocument](docs/EventDocument.md) + - [PSSailpointV2024\Model.ExceptionAccessCriteria](docs/ExceptionAccessCriteria.md) + - [PSSailpointV2024\Model.ExceptionCriteria](docs/ExceptionCriteria.md) + - [PSSailpointV2024\Model.ExceptionCriteriaAccess](docs/ExceptionCriteriaAccess.md) + - [PSSailpointV2024\Model.ExceptionCriteriaCriteriaListInner](docs/ExceptionCriteriaCriteriaListInner.md) + - [PSSailpointV2024\Model.ExecutionStatus](docs/ExecutionStatus.md) + - [PSSailpointV2024\Model.ExpansionItem](docs/ExpansionItem.md) + - [PSSailpointV2024\Model.ExportFormDefinitionsByTenant200ResponseInner](docs/ExportFormDefinitionsByTenant200ResponseInner.md) + - [PSSailpointV2024\Model.ExportOptions](docs/ExportOptions.md) + - [PSSailpointV2024\Model.ExportPayload](docs/ExportPayload.md) + - [PSSailpointV2024\Model.Expression](docs/Expression.md) + - [PSSailpointV2024\Model.ExpressionChildrenInner](docs/ExpressionChildrenInner.md) + - [PSSailpointV2024\Model.ExternalAttributes](docs/ExternalAttributes.md) + - [PSSailpointV2024\Model.FeatureValueDto](docs/FeatureValueDto.md) + - [PSSailpointV2024\Model.FieldDetailsDto](docs/FieldDetailsDto.md) + - [PSSailpointV2024\Model.FilterAggregation](docs/FilterAggregation.md) + - [PSSailpointV2024\Model.FilterType](docs/FilterType.md) + - [PSSailpointV2024\Model.FirstValid](docs/FirstValid.md) + - [PSSailpointV2024\Model.FormCondition](docs/FormCondition.md) + - [PSSailpointV2024\Model.FormDefinitionDynamicSchemaRequest](docs/FormDefinitionDynamicSchemaRequest.md) + - [PSSailpointV2024\Model.FormDefinitionDynamicSchemaRequestAttributes](docs/FormDefinitionDynamicSchemaRequestAttributes.md) + - [PSSailpointV2024\Model.FormDefinitionDynamicSchemaResponse](docs/FormDefinitionDynamicSchemaResponse.md) + - [PSSailpointV2024\Model.FormDefinitionFileUploadResponse](docs/FormDefinitionFileUploadResponse.md) + - [PSSailpointV2024\Model.FormDefinitionInput](docs/FormDefinitionInput.md) + - [PSSailpointV2024\Model.FormDefinitionResponse](docs/FormDefinitionResponse.md) + - [PSSailpointV2024\Model.FormDetails](docs/FormDetails.md) + - [PSSailpointV2024\Model.FormElement](docs/FormElement.md) + - [PSSailpointV2024\Model.FormElementDataSourceConfigOptions](docs/FormElementDataSourceConfigOptions.md) + - [PSSailpointV2024\Model.FormElementDynamicDataSource](docs/FormElementDynamicDataSource.md) + - [PSSailpointV2024\Model.FormElementDynamicDataSourceConfig](docs/FormElementDynamicDataSourceConfig.md) + - [PSSailpointV2024\Model.FormElementPreviewRequest](docs/FormElementPreviewRequest.md) + - [PSSailpointV2024\Model.FormElementValidationsSet](docs/FormElementValidationsSet.md) + - [PSSailpointV2024\Model.FormError](docs/FormError.md) + - [PSSailpointV2024\Model.FormInstanceCreatedBy](docs/FormInstanceCreatedBy.md) + - [PSSailpointV2024\Model.FormInstanceRecipient](docs/FormInstanceRecipient.md) + - [PSSailpointV2024\Model.FormInstanceResponse](docs/FormInstanceResponse.md) + - [PSSailpointV2024\Model.FormItemDetails](docs/FormItemDetails.md) + - [PSSailpointV2024\Model.FormOwner](docs/FormOwner.md) + - [PSSailpointV2024\Model.FormUsedBy](docs/FormUsedBy.md) + - [PSSailpointV2024\Model.ForwardApprovalDto](docs/ForwardApprovalDto.md) + - [PSSailpointV2024\Model.GenerateRandomString](docs/GenerateRandomString.md) + - [PSSailpointV2024\Model.GetActiveCampaigns200ResponseInner](docs/GetActiveCampaigns200ResponseInner.md) + - [PSSailpointV2024\Model.GetHistoricalIdentityEvents200ResponseInner](docs/GetHistoricalIdentityEvents200ResponseInner.md) + - [PSSailpointV2024\Model.GetOAuthClientResponse](docs/GetOAuthClientResponse.md) + - [PSSailpointV2024\Model.GetPersonalAccessTokenResponse](docs/GetPersonalAccessTokenResponse.md) + - [PSSailpointV2024\Model.GetReferenceIdentityAttribute](docs/GetReferenceIdentityAttribute.md) + - [PSSailpointV2024\Model.GetRoleAssignments200ResponseInner](docs/GetRoleAssignments200ResponseInner.md) + - [PSSailpointV2024\Model.GrantType](docs/GrantType.md) + - [PSSailpointV2024\Model.HttpAuthenticationType](docs/HttpAuthenticationType.md) + - [PSSailpointV2024\Model.HttpConfig](docs/HttpConfig.md) + - [PSSailpointV2024\Model.HttpDispatchMode](docs/HttpDispatchMode.md) + - [PSSailpointV2024\Model.ISO3166](docs/ISO3166.md) + - [PSSailpointV2024\Model.IdentitiesAccountsBulkRequest](docs/IdentitiesAccountsBulkRequest.md) + - [PSSailpointV2024\Model.IdentitiesDetailsReportArguments](docs/IdentitiesDetailsReportArguments.md) + - [PSSailpointV2024\Model.IdentitiesReportArguments](docs/IdentitiesReportArguments.md) + - [PSSailpointV2024\Model.Identity](docs/Identity.md) + - [PSSailpointV2024\Model.Identity1](docs/Identity1.md) + - [PSSailpointV2024\Model.IdentityAccess](docs/IdentityAccess.md) + - [PSSailpointV2024\Model.IdentityAssociationDetails](docs/IdentityAssociationDetails.md) + - [PSSailpointV2024\Model.IdentityAssociationDetailsAssociationDetailsInner](docs/IdentityAssociationDetailsAssociationDetailsInner.md) + - [PSSailpointV2024\Model.IdentityAttribute](docs/IdentityAttribute.md) + - [PSSailpointV2024\Model.IdentityAttribute1](docs/IdentityAttribute1.md) + - [PSSailpointV2024\Model.IdentityAttribute2](docs/IdentityAttribute2.md) + - [PSSailpointV2024\Model.IdentityAttributeConfig](docs/IdentityAttributeConfig.md) + - [PSSailpointV2024\Model.IdentityAttributeNames](docs/IdentityAttributeNames.md) + - [PSSailpointV2024\Model.IdentityAttributePreview](docs/IdentityAttributePreview.md) + - [PSSailpointV2024\Model.IdentityAttributeTransform](docs/IdentityAttributeTransform.md) + - [PSSailpointV2024\Model.IdentityAttributesChanged](docs/IdentityAttributesChanged.md) + - [PSSailpointV2024\Model.IdentityAttributesChangedChangesInner](docs/IdentityAttributesChangedChangesInner.md) + - [PSSailpointV2024\Model.IdentityAttributesChangedChangesInnerNewValue](docs/IdentityAttributesChangedChangesInnerNewValue.md) + - [PSSailpointV2024\Model.IdentityAttributesChangedChangesInnerOldValue](docs/IdentityAttributesChangedChangesInnerOldValue.md) + - [PSSailpointV2024\Model.IdentityAttributesChangedChangesInnerOldValueOneOfValue](docs/IdentityAttributesChangedChangesInnerOldValueOneOfValue.md) + - [PSSailpointV2024\Model.IdentityAttributesChangedIdentity](docs/IdentityAttributesChangedIdentity.md) + - [PSSailpointV2024\Model.IdentityCertDecisionSummary](docs/IdentityCertDecisionSummary.md) + - [PSSailpointV2024\Model.IdentityCertificationDto](docs/IdentityCertificationDto.md) + - [PSSailpointV2024\Model.IdentityCertified](docs/IdentityCertified.md) + - [PSSailpointV2024\Model.IdentityCompareResponse](docs/IdentityCompareResponse.md) + - [PSSailpointV2024\Model.IdentityCreated](docs/IdentityCreated.md) + - [PSSailpointV2024\Model.IdentityCreatedIdentity](docs/IdentityCreatedIdentity.md) + - [PSSailpointV2024\Model.IdentityDeleted](docs/IdentityDeleted.md) + - [PSSailpointV2024\Model.IdentityDeletedIdentity](docs/IdentityDeletedIdentity.md) + - [PSSailpointV2024\Model.IdentityDocument](docs/IdentityDocument.md) + - [PSSailpointV2024\Model.IdentityDocumentAllOfIdentityProfile](docs/IdentityDocumentAllOfIdentityProfile.md) + - [PSSailpointV2024\Model.IdentityDocumentAllOfManager](docs/IdentityDocumentAllOfManager.md) + - [PSSailpointV2024\Model.IdentityDocumentAllOfSource](docs/IdentityDocumentAllOfSource.md) + - [PSSailpointV2024\Model.IdentityDtoLifecycleState](docs/IdentityDtoLifecycleState.md) + - [PSSailpointV2024\Model.IdentityDtoManagerRef](docs/IdentityDtoManagerRef.md) + - [PSSailpointV2024\Model.IdentityEntities](docs/IdentityEntities.md) + - [PSSailpointV2024\Model.IdentityEntitiesIdentityEntity](docs/IdentityEntitiesIdentityEntity.md) + - [PSSailpointV2024\Model.IdentityExceptionReportReference](docs/IdentityExceptionReportReference.md) + - [PSSailpointV2024\Model.IdentityHistoryResponse](docs/IdentityHistoryResponse.md) + - [PSSailpointV2024\Model.IdentityListItem](docs/IdentityListItem.md) + - [PSSailpointV2024\Model.IdentityOwnershipAssociationDetails](docs/IdentityOwnershipAssociationDetails.md) + - [PSSailpointV2024\Model.IdentityOwnershipAssociationDetailsAssociationDetailsInner](docs/IdentityOwnershipAssociationDetailsAssociationDetailsInner.md) + - [PSSailpointV2024\Model.IdentityPreviewRequest](docs/IdentityPreviewRequest.md) + - [PSSailpointV2024\Model.IdentityPreviewResponse](docs/IdentityPreviewResponse.md) + - [PSSailpointV2024\Model.IdentityPreviewResponseIdentity](docs/IdentityPreviewResponseIdentity.md) + - [PSSailpointV2024\Model.IdentityProfile](docs/IdentityProfile.md) + - [PSSailpointV2024\Model.IdentityProfileAllOfAuthoritativeSource](docs/IdentityProfileAllOfAuthoritativeSource.md) + - [PSSailpointV2024\Model.IdentityProfileAllOfOwner](docs/IdentityProfileAllOfOwner.md) + - [PSSailpointV2024\Model.IdentityProfileExportedObject](docs/IdentityProfileExportedObject.md) + - [PSSailpointV2024\Model.IdentityProfileExportedObjectSelf](docs/IdentityProfileExportedObjectSelf.md) + - [PSSailpointV2024\Model.IdentityProfileIdentityErrorReportArguments](docs/IdentityProfileIdentityErrorReportArguments.md) + - [PSSailpointV2024\Model.IdentityReference](docs/IdentityReference.md) + - [PSSailpointV2024\Model.IdentityReferenceWithNameAndEmail](docs/IdentityReferenceWithNameAndEmail.md) + - [PSSailpointV2024\Model.IdentitySnapshotSummaryResponse](docs/IdentitySnapshotSummaryResponse.md) + - [PSSailpointV2024\Model.IdentitySummary](docs/IdentitySummary.md) + - [PSSailpointV2024\Model.IdentitySyncJob](docs/IdentitySyncJob.md) + - [PSSailpointV2024\Model.IdentitySyncPayload](docs/IdentitySyncPayload.md) + - [PSSailpointV2024\Model.IdentityWithNewAccess](docs/IdentityWithNewAccess.md) + - [PSSailpointV2024\Model.IdentityWithNewAccess1](docs/IdentityWithNewAccess1.md) + - [PSSailpointV2024\Model.IdentityWithNewAccessAccessRefsInner](docs/IdentityWithNewAccessAccessRefsInner.md) + - [PSSailpointV2024\Model.ImportAccountsRequest](docs/ImportAccountsRequest.md) + - [PSSailpointV2024\Model.ImportEntitlementsBySourceRequest](docs/ImportEntitlementsBySourceRequest.md) + - [PSSailpointV2024\Model.ImportFormDefinitions202Response](docs/ImportFormDefinitions202Response.md) + - [PSSailpointV2024\Model.ImportFormDefinitions202ResponseErrorsInner](docs/ImportFormDefinitions202ResponseErrorsInner.md) + - [PSSailpointV2024\Model.ImportNonEmployeeRecordsInBulkRequest](docs/ImportNonEmployeeRecordsInBulkRequest.md) + - [PSSailpointV2024\Model.ImportObject](docs/ImportObject.md) + - [PSSailpointV2024\Model.ImportOptions](docs/ImportOptions.md) + - [PSSailpointV2024\Model.ImportSpConfigRequest](docs/ImportSpConfigRequest.md) + - [PSSailpointV2024\Model.ImportUploadedBackupRequest](docs/ImportUploadedBackupRequest.md) + - [PSSailpointV2024\Model.Index](docs/Index.md) + - [PSSailpointV2024\Model.IndexOf](docs/IndexOf.md) + - [PSSailpointV2024\Model.InnerHit](docs/InnerHit.md) + - [PSSailpointV2024\Model.Invocation](docs/Invocation.md) + - [PSSailpointV2024\Model.InvocationStatus](docs/InvocationStatus.md) + - [PSSailpointV2024\Model.InvocationStatusType](docs/InvocationStatusType.md) + - [PSSailpointV2024\Model.JsonPatch](docs/JsonPatch.md) + - [PSSailpointV2024\Model.JsonPatchOperation](docs/JsonPatchOperation.md) + - [PSSailpointV2024\Model.JsonPatchOperationValue](docs/JsonPatchOperationValue.md) + - [PSSailpointV2024\Model.KbaAnswerRequestItem](docs/KbaAnswerRequestItem.md) + - [PSSailpointV2024\Model.KbaAnswerResponseItem](docs/KbaAnswerResponseItem.md) + - [PSSailpointV2024\Model.KbaQuestion](docs/KbaQuestion.md) + - [PSSailpointV2024\Model.LatestOutlierSummary](docs/LatestOutlierSummary.md) + - [PSSailpointV2024\Model.LeftPad](docs/LeftPad.md) + - [PSSailpointV2024\Model.License](docs/License.md) + - [PSSailpointV2024\Model.LifecycleState](docs/LifecycleState.md) + - [PSSailpointV2024\Model.LifecycleStateDto](docs/LifecycleStateDto.md) + - [PSSailpointV2024\Model.LifecyclestateDeleted](docs/LifecyclestateDeleted.md) + - [PSSailpointV2024\Model.ListAccessProfiles401Response](docs/ListAccessProfiles401Response.md) + - [PSSailpointV2024\Model.ListAccessProfiles429Response](docs/ListAccessProfiles429Response.md) + - [PSSailpointV2024\Model.ListCampaignFilters200Response](docs/ListCampaignFilters200Response.md) + - [PSSailpointV2024\Model.ListCompleteWorkflowLibrary200ResponseInner](docs/ListCompleteWorkflowLibrary200ResponseInner.md) + - [PSSailpointV2024\Model.ListFormDefinitionsByTenantResponse](docs/ListFormDefinitionsByTenantResponse.md) + - [PSSailpointV2024\Model.ListFormElementDataByElementIDResponse](docs/ListFormElementDataByElementIDResponse.md) + - [PSSailpointV2024\Model.ListFormInstancesByTenantResponse](docs/ListFormInstancesByTenantResponse.md) + - [PSSailpointV2024\Model.ListIdentityAccessItems200ResponseInner](docs/ListIdentityAccessItems200ResponseInner.md) + - [PSSailpointV2024\Model.ListPredefinedSelectOptionsResponse](docs/ListPredefinedSelectOptionsResponse.md) + - [PSSailpointV2024\Model.ListWorkgroupMembers200ResponseInner](docs/ListWorkgroupMembers200ResponseInner.md) + - [PSSailpointV2024\Model.LoadAccountsTask](docs/LoadAccountsTask.md) + - [PSSailpointV2024\Model.LoadAccountsTaskTask](docs/LoadAccountsTaskTask.md) + - [PSSailpointV2024\Model.LoadAccountsTaskTaskAttributes](docs/LoadAccountsTaskTaskAttributes.md) + - [PSSailpointV2024\Model.LoadAccountsTaskTaskMessagesInner](docs/LoadAccountsTaskTaskMessagesInner.md) + - [PSSailpointV2024\Model.LoadAccountsTaskTaskReturnsInner](docs/LoadAccountsTaskTaskReturnsInner.md) + - [PSSailpointV2024\Model.LoadEntitlementTask](docs/LoadEntitlementTask.md) + - [PSSailpointV2024\Model.LoadEntitlementTaskReturnsInner](docs/LoadEntitlementTaskReturnsInner.md) + - [PSSailpointV2024\Model.LoadUncorrelatedAccountsTask](docs/LoadUncorrelatedAccountsTask.md) + - [PSSailpointV2024\Model.LoadUncorrelatedAccountsTaskTask](docs/LoadUncorrelatedAccountsTaskTask.md) + - [PSSailpointV2024\Model.LoadUncorrelatedAccountsTaskTaskAttributes](docs/LoadUncorrelatedAccountsTaskTaskAttributes.md) + - [PSSailpointV2024\Model.LoadUncorrelatedAccountsTaskTaskMessagesInner](docs/LoadUncorrelatedAccountsTaskTaskMessagesInner.md) + - [PSSailpointV2024\Model.LocaleOrigin](docs/LocaleOrigin.md) + - [PSSailpointV2024\Model.LocalizedMessage](docs/LocalizedMessage.md) + - [PSSailpointV2024\Model.Lookup](docs/Lookup.md) + - [PSSailpointV2024\Model.LookupStep](docs/LookupStep.md) + - [PSSailpointV2024\Model.Lower](docs/Lower.md) + - [PSSailpointV2024\Model.MailFromAttributes](docs/MailFromAttributes.md) + - [PSSailpointV2024\Model.MailFromAttributesDto](docs/MailFromAttributesDto.md) + - [PSSailpointV2024\Model.ManagedClient](docs/ManagedClient.md) + - [PSSailpointV2024\Model.ManagedClientRequest](docs/ManagedClientRequest.md) + - [PSSailpointV2024\Model.ManagedClientStatus](docs/ManagedClientStatus.md) + - [PSSailpointV2024\Model.ManagedClientStatusCode](docs/ManagedClientStatusCode.md) + - [PSSailpointV2024\Model.ManagedClientType](docs/ManagedClientType.md) + - [PSSailpointV2024\Model.ManagedCluster](docs/ManagedCluster.md) + - [PSSailpointV2024\Model.ManagedClusterAttributes](docs/ManagedClusterAttributes.md) + - [PSSailpointV2024\Model.ManagedClusterKeyPair](docs/ManagedClusterKeyPair.md) + - [PSSailpointV2024\Model.ManagedClusterQueue](docs/ManagedClusterQueue.md) + - [PSSailpointV2024\Model.ManagedClusterRedis](docs/ManagedClusterRedis.md) + - [PSSailpointV2024\Model.ManagedClusterRequest](docs/ManagedClusterRequest.md) + - [PSSailpointV2024\Model.ManagedClusterTypes](docs/ManagedClusterTypes.md) + - [PSSailpointV2024\Model.ManagerCorrelationMapping](docs/ManagerCorrelationMapping.md) + - [PSSailpointV2024\Model.ManualDiscoverApplications](docs/ManualDiscoverApplications.md) + - [PSSailpointV2024\Model.ManualDiscoverApplicationsTemplate](docs/ManualDiscoverApplicationsTemplate.md) + - [PSSailpointV2024\Model.ManualWorkItemDetails](docs/ManualWorkItemDetails.md) + - [PSSailpointV2024\Model.ManualWorkItemDetailsCurrentOwner](docs/ManualWorkItemDetailsCurrentOwner.md) + - [PSSailpointV2024\Model.ManualWorkItemDetailsOriginalOwner](docs/ManualWorkItemDetailsOriginalOwner.md) + - [PSSailpointV2024\Model.ManualWorkItemState](docs/ManualWorkItemState.md) + - [PSSailpointV2024\Model.ManuallyUpdatedFieldsDTO](docs/ManuallyUpdatedFieldsDTO.md) + - [PSSailpointV2024\Model.Medium](docs/Medium.md) + - [PSSailpointV2024\Model.MetricAggregation](docs/MetricAggregation.md) + - [PSSailpointV2024\Model.MetricResponse](docs/MetricResponse.md) + - [PSSailpointV2024\Model.MetricType](docs/MetricType.md) + - [PSSailpointV2024\Model.MfaConfigTestResponse](docs/MfaConfigTestResponse.md) + - [PSSailpointV2024\Model.MfaDuoConfig](docs/MfaDuoConfig.md) + - [PSSailpointV2024\Model.MfaOktaConfig](docs/MfaOktaConfig.md) + - [PSSailpointV2024\Model.ModelError](docs/ModelError.md) + - [PSSailpointV2024\Model.ModelEvent](docs/ModelEvent.md) + - [PSSailpointV2024\Model.ModelFilter](docs/ModelFilter.md) + - [PSSailpointV2024\Model.MultiPolicyRequest](docs/MultiPolicyRequest.md) + - [PSSailpointV2024\Model.NameNormalizer](docs/NameNormalizer.md) + - [PSSailpointV2024\Model.NamedConstructs](docs/NamedConstructs.md) + - [PSSailpointV2024\Model.NativeChangeDetectionConfig](docs/NativeChangeDetectionConfig.md) + - [PSSailpointV2024\Model.NestedAggregation](docs/NestedAggregation.md) + - [PSSailpointV2024\Model.NetworkConfiguration](docs/NetworkConfiguration.md) + - [PSSailpointV2024\Model.NonEmployeeApprovalDecision](docs/NonEmployeeApprovalDecision.md) + - [PSSailpointV2024\Model.NonEmployeeApprovalItem](docs/NonEmployeeApprovalItem.md) + - [PSSailpointV2024\Model.NonEmployeeApprovalItemBase](docs/NonEmployeeApprovalItemBase.md) + - [PSSailpointV2024\Model.NonEmployeeApprovalItemDetail](docs/NonEmployeeApprovalItemDetail.md) + - [PSSailpointV2024\Model.NonEmployeeApprovalSummary](docs/NonEmployeeApprovalSummary.md) + - [PSSailpointV2024\Model.NonEmployeeBulkUploadJob](docs/NonEmployeeBulkUploadJob.md) + - [PSSailpointV2024\Model.NonEmployeeBulkUploadStatus](docs/NonEmployeeBulkUploadStatus.md) + - [PSSailpointV2024\Model.NonEmployeeIdentityDtoType](docs/NonEmployeeIdentityDtoType.md) + - [PSSailpointV2024\Model.NonEmployeeIdentityReferenceWithId](docs/NonEmployeeIdentityReferenceWithId.md) + - [PSSailpointV2024\Model.NonEmployeeIdnUserRequest](docs/NonEmployeeIdnUserRequest.md) + - [PSSailpointV2024\Model.NonEmployeeRecord](docs/NonEmployeeRecord.md) + - [PSSailpointV2024\Model.NonEmployeeRejectApprovalDecision](docs/NonEmployeeRejectApprovalDecision.md) + - [PSSailpointV2024\Model.NonEmployeeRequest](docs/NonEmployeeRequest.md) + - [PSSailpointV2024\Model.NonEmployeeRequestBody](docs/NonEmployeeRequestBody.md) + - [PSSailpointV2024\Model.NonEmployeeRequestLite](docs/NonEmployeeRequestLite.md) + - [PSSailpointV2024\Model.NonEmployeeRequestSummary](docs/NonEmployeeRequestSummary.md) + - [PSSailpointV2024\Model.NonEmployeeRequestWithoutApprovalItem](docs/NonEmployeeRequestWithoutApprovalItem.md) + - [PSSailpointV2024\Model.NonEmployeeSchemaAttribute](docs/NonEmployeeSchemaAttribute.md) + - [PSSailpointV2024\Model.NonEmployeeSchemaAttributeBody](docs/NonEmployeeSchemaAttributeBody.md) + - [PSSailpointV2024\Model.NonEmployeeSchemaAttributeType](docs/NonEmployeeSchemaAttributeType.md) + - [PSSailpointV2024\Model.NonEmployeeSource](docs/NonEmployeeSource.md) + - [PSSailpointV2024\Model.NonEmployeeSourceLite](docs/NonEmployeeSourceLite.md) + - [PSSailpointV2024\Model.NonEmployeeSourceLiteWithSchemaAttributes](docs/NonEmployeeSourceLiteWithSchemaAttributes.md) + - [PSSailpointV2024\Model.NonEmployeeSourceRequestBody](docs/NonEmployeeSourceRequestBody.md) + - [PSSailpointV2024\Model.NonEmployeeSourceWithCloudExternalId](docs/NonEmployeeSourceWithCloudExternalId.md) + - [PSSailpointV2024\Model.NonEmployeeSourceWithNECount](docs/NonEmployeeSourceWithNECount.md) + - [PSSailpointV2024\Model.NotificationTemplateContext](docs/NotificationTemplateContext.md) + - [PSSailpointV2024\Model.ObjectExportImportOptions](docs/ObjectExportImportOptions.md) + - [PSSailpointV2024\Model.ObjectImportResult](docs/ObjectImportResult.md) + - [PSSailpointV2024\Model.ObjectImportResult1](docs/ObjectImportResult1.md) + - [PSSailpointV2024\Model.ObjectMappingBulkCreateRequest](docs/ObjectMappingBulkCreateRequest.md) + - [PSSailpointV2024\Model.ObjectMappingBulkCreateResponse](docs/ObjectMappingBulkCreateResponse.md) + - [PSSailpointV2024\Model.ObjectMappingBulkPatchRequest](docs/ObjectMappingBulkPatchRequest.md) + - [PSSailpointV2024\Model.ObjectMappingBulkPatchResponse](docs/ObjectMappingBulkPatchResponse.md) + - [PSSailpointV2024\Model.ObjectMappingRequest](docs/ObjectMappingRequest.md) + - [PSSailpointV2024\Model.ObjectMappingResponse](docs/ObjectMappingResponse.md) + - [PSSailpointV2024\Model.Operation](docs/Operation.md) + - [PSSailpointV2024\Model.OrgConfig](docs/OrgConfig.md) + - [PSSailpointV2024\Model.OriginalRequest](docs/OriginalRequest.md) + - [PSSailpointV2024\Model.OrphanUncorrelatedReportArguments](docs/OrphanUncorrelatedReportArguments.md) + - [PSSailpointV2024\Model.Outlier](docs/Outlier.md) + - [PSSailpointV2024\Model.OutlierContributingFeature](docs/OutlierContributingFeature.md) + - [PSSailpointV2024\Model.OutlierContributingFeatureValue](docs/OutlierContributingFeatureValue.md) + - [PSSailpointV2024\Model.OutlierFeatureSummary](docs/OutlierFeatureSummary.md) + - [PSSailpointV2024\Model.OutlierFeatureSummaryOutlierFeatureDisplayValuesInner](docs/OutlierFeatureSummaryOutlierFeatureDisplayValuesInner.md) + - [PSSailpointV2024\Model.OutlierFeatureTranslation](docs/OutlierFeatureTranslation.md) + - [PSSailpointV2024\Model.OutlierSummary](docs/OutlierSummary.md) + - [PSSailpointV2024\Model.OutliersContributingFeatureAccessItems](docs/OutliersContributingFeatureAccessItems.md) + - [PSSailpointV2024\Model.OwnerDto](docs/OwnerDto.md) + - [PSSailpointV2024\Model.OwnerReference](docs/OwnerReference.md) + - [PSSailpointV2024\Model.OwnerReferenceDto](docs/OwnerReferenceDto.md) + - [PSSailpointV2024\Model.OwnerReferenceSegments](docs/OwnerReferenceSegments.md) + - [PSSailpointV2024\Model.Owns](docs/Owns.md) + - [PSSailpointV2024\Model.PasswordChangeRequest](docs/PasswordChangeRequest.md) + - [PSSailpointV2024\Model.PasswordChangeResponse](docs/PasswordChangeResponse.md) + - [PSSailpointV2024\Model.PasswordDigitToken](docs/PasswordDigitToken.md) + - [PSSailpointV2024\Model.PasswordDigitTokenReset](docs/PasswordDigitTokenReset.md) + - [PSSailpointV2024\Model.PasswordInfo](docs/PasswordInfo.md) + - [PSSailpointV2024\Model.PasswordInfoAccount](docs/PasswordInfoAccount.md) + - [PSSailpointV2024\Model.PasswordInfoQueryDTO](docs/PasswordInfoQueryDTO.md) + - [PSSailpointV2024\Model.PasswordOrgConfig](docs/PasswordOrgConfig.md) + - [PSSailpointV2024\Model.PasswordPolicyV3Dto](docs/PasswordPolicyV3Dto.md) + - [PSSailpointV2024\Model.PasswordStatus](docs/PasswordStatus.md) + - [PSSailpointV2024\Model.PasswordSyncGroup](docs/PasswordSyncGroup.md) + - [PSSailpointV2024\Model.PatOwner](docs/PatOwner.md) + - [PSSailpointV2024\Model.PatchPotentialRoleRequestInner](docs/PatchPotentialRoleRequestInner.md) + - [PSSailpointV2024\Model.PatchServiceDeskIntegrationRequest](docs/PatchServiceDeskIntegrationRequest.md) + - [PSSailpointV2024\Model.PeerGroupMember](docs/PeerGroupMember.md) + - [PSSailpointV2024\Model.PendingApproval](docs/PendingApproval.md) + - [PSSailpointV2024\Model.PendingApprovalAction](docs/PendingApprovalAction.md) + - [PSSailpointV2024\Model.PendingApprovalOwner](docs/PendingApprovalOwner.md) + - [PSSailpointV2024\Model.PermissionDto](docs/PermissionDto.md) + - [PSSailpointV2024\Model.PreApprovalTriggerDetails](docs/PreApprovalTriggerDetails.md) + - [PSSailpointV2024\Model.PreferencesDto](docs/PreferencesDto.md) + - [PSSailpointV2024\Model.PreviewDataSourceResponse](docs/PreviewDataSourceResponse.md) + - [PSSailpointV2024\Model.ProcessIdentitiesRequest](docs/ProcessIdentitiesRequest.md) + - [PSSailpointV2024\Model.ProcessingDetails](docs/ProcessingDetails.md) + - [PSSailpointV2024\Model.Product](docs/Product.md) + - [PSSailpointV2024\Model.ProvisioningCompleted](docs/ProvisioningCompleted.md) + - [PSSailpointV2024\Model.ProvisioningCompletedAccountRequestsInner](docs/ProvisioningCompletedAccountRequestsInner.md) + - [PSSailpointV2024\Model.ProvisioningCompletedAccountRequestsInnerAttributeRequestsInner](docs/ProvisioningCompletedAccountRequestsInnerAttributeRequestsInner.md) + - [PSSailpointV2024\Model.ProvisioningCompletedAccountRequestsInnerSource](docs/ProvisioningCompletedAccountRequestsInnerSource.md) + - [PSSailpointV2024\Model.ProvisioningCompletedRecipient](docs/ProvisioningCompletedRecipient.md) + - [PSSailpointV2024\Model.ProvisioningCompletedRequester](docs/ProvisioningCompletedRequester.md) + - [PSSailpointV2024\Model.ProvisioningConfig](docs/ProvisioningConfig.md) + - [PSSailpointV2024\Model.ProvisioningConfig1](docs/ProvisioningConfig1.md) + - [PSSailpointV2024\Model.ProvisioningConfig1ManagedResourceRefsInner](docs/ProvisioningConfig1ManagedResourceRefsInner.md) + - [PSSailpointV2024\Model.ProvisioningConfig1PlanInitializerScript](docs/ProvisioningConfig1PlanInitializerScript.md) + - [PSSailpointV2024\Model.ProvisioningConfigPlanInitializerScript](docs/ProvisioningConfigPlanInitializerScript.md) + - [PSSailpointV2024\Model.ProvisioningCriteriaLevel1](docs/ProvisioningCriteriaLevel1.md) + - [PSSailpointV2024\Model.ProvisioningCriteriaLevel2](docs/ProvisioningCriteriaLevel2.md) + - [PSSailpointV2024\Model.ProvisioningCriteriaLevel3](docs/ProvisioningCriteriaLevel3.md) + - [PSSailpointV2024\Model.ProvisioningCriteriaOperation](docs/ProvisioningCriteriaOperation.md) + - [PSSailpointV2024\Model.ProvisioningDetails](docs/ProvisioningDetails.md) + - [PSSailpointV2024\Model.ProvisioningPolicy](docs/ProvisioningPolicy.md) + - [PSSailpointV2024\Model.ProvisioningPolicyDto](docs/ProvisioningPolicyDto.md) + - [PSSailpointV2024\Model.ProvisioningState](docs/ProvisioningState.md) + - [PSSailpointV2024\Model.PublicIdentity](docs/PublicIdentity.md) + - [PSSailpointV2024\Model.PublicIdentityAttributeConfig](docs/PublicIdentityAttributeConfig.md) + - [PSSailpointV2024\Model.PublicIdentityConfig](docs/PublicIdentityConfig.md) + - [PSSailpointV2024\Model.PutCorrelationConfigRequest](docs/PutCorrelationConfigRequest.md) + - [PSSailpointV2024\Model.PutPasswordDictionaryRequest](docs/PutPasswordDictionaryRequest.md) + - [PSSailpointV2024\Model.PutSourceConfigRequest](docs/PutSourceConfigRequest.md) + - [PSSailpointV2024\Model.PutSourceTemplateRequest](docs/PutSourceTemplateRequest.md) + - [PSSailpointV2024\Model.Query](docs/Query.md) + - [PSSailpointV2024\Model.QueryResultFilter](docs/QueryResultFilter.md) + - [PSSailpointV2024\Model.QueryType](docs/QueryType.md) + - [PSSailpointV2024\Model.QueuedCheckConfigDetails](docs/QueuedCheckConfigDetails.md) + - [PSSailpointV2024\Model.RandomAlphaNumeric](docs/RandomAlphaNumeric.md) + - [PSSailpointV2024\Model.RandomNumeric](docs/RandomNumeric.md) + - [PSSailpointV2024\Model.Range](docs/Range.md) + - [PSSailpointV2024\Model.ReassignReference](docs/ReassignReference.md) + - [PSSailpointV2024\Model.Reassignment](docs/Reassignment.md) + - [PSSailpointV2024\Model.Reassignment1](docs/Reassignment1.md) + - [PSSailpointV2024\Model.ReassignmentReference](docs/ReassignmentReference.md) + - [PSSailpointV2024\Model.ReassignmentTrailDTO](docs/ReassignmentTrailDTO.md) + - [PSSailpointV2024\Model.ReassignmentType](docs/ReassignmentType.md) + - [PSSailpointV2024\Model.ReassignmentTypeEnum](docs/ReassignmentTypeEnum.md) + - [PSSailpointV2024\Model.RecommendationConfigDto](docs/RecommendationConfigDto.md) + - [PSSailpointV2024\Model.RecommendationRequest](docs/RecommendationRequest.md) + - [PSSailpointV2024\Model.RecommendationRequestDto](docs/RecommendationRequestDto.md) + - [PSSailpointV2024\Model.RecommendationResponse](docs/RecommendationResponse.md) + - [PSSailpointV2024\Model.RecommendationResponseDto](docs/RecommendationResponseDto.md) + - [PSSailpointV2024\Model.RecommenderCalculations](docs/RecommenderCalculations.md) + - [PSSailpointV2024\Model.RecommenderCalculationsIdentityAttributesValue](docs/RecommenderCalculationsIdentityAttributesValue.md) + - [PSSailpointV2024\Model.Reference](docs/Reference.md) + - [PSSailpointV2024\Model.Reference1](docs/Reference1.md) + - [PSSailpointV2024\Model.RemediationItemDetails](docs/RemediationItemDetails.md) + - [PSSailpointV2024\Model.RemediationItems](docs/RemediationItems.md) + - [PSSailpointV2024\Model.Replace](docs/Replace.md) + - [PSSailpointV2024\Model.ReplaceAll](docs/ReplaceAll.md) + - [PSSailpointV2024\Model.ReportConfigDTO](docs/ReportConfigDTO.md) + - [PSSailpointV2024\Model.ReportDetails](docs/ReportDetails.md) + - [PSSailpointV2024\Model.ReportDetailsArguments](docs/ReportDetailsArguments.md) + - [PSSailpointV2024\Model.ReportResultReference](docs/ReportResultReference.md) + - [PSSailpointV2024\Model.ReportResults](docs/ReportResults.md) + - [PSSailpointV2024\Model.ReportType](docs/ReportType.md) + - [PSSailpointV2024\Model.RequestOnBehalfOfConfig](docs/RequestOnBehalfOfConfig.md) + - [PSSailpointV2024\Model.Requestability](docs/Requestability.md) + - [PSSailpointV2024\Model.RequestabilityForRole](docs/RequestabilityForRole.md) + - [PSSailpointV2024\Model.RequestableObject](docs/RequestableObject.md) + - [PSSailpointV2024\Model.RequestableObjectReference](docs/RequestableObjectReference.md) + - [PSSailpointV2024\Model.RequestableObjectRequestStatus](docs/RequestableObjectRequestStatus.md) + - [PSSailpointV2024\Model.RequestableObjectType](docs/RequestableObjectType.md) + - [PSSailpointV2024\Model.RequestedItemStatus](docs/RequestedItemStatus.md) + - [PSSailpointV2024\Model.RequestedItemStatusCancelledRequestDetails](docs/RequestedItemStatusCancelledRequestDetails.md) + - [PSSailpointV2024\Model.RequestedItemStatusPreApprovalTriggerDetails](docs/RequestedItemStatusPreApprovalTriggerDetails.md) + - [PSSailpointV2024\Model.RequestedItemStatusProvisioningDetails](docs/RequestedItemStatusProvisioningDetails.md) + - [PSSailpointV2024\Model.RequestedItemStatusRequestState](docs/RequestedItemStatusRequestState.md) + - [PSSailpointV2024\Model.RequestedItemStatusRequestedFor](docs/RequestedItemStatusRequestedFor.md) + - [PSSailpointV2024\Model.RequestedItemStatusRequesterComment](docs/RequestedItemStatusRequesterComment.md) + - [PSSailpointV2024\Model.RequestedItemStatusSodViolationContext](docs/RequestedItemStatusSodViolationContext.md) + - [PSSailpointV2024\Model.ResourceObject](docs/ResourceObject.md) + - [PSSailpointV2024\Model.ResourceObjectsRequest](docs/ResourceObjectsRequest.md) + - [PSSailpointV2024\Model.ResourceObjectsResponse](docs/ResourceObjectsResponse.md) + - [PSSailpointV2024\Model.ReviewDecision](docs/ReviewDecision.md) + - [PSSailpointV2024\Model.ReviewReassign](docs/ReviewReassign.md) + - [PSSailpointV2024\Model.ReviewRecommendation](docs/ReviewRecommendation.md) + - [PSSailpointV2024\Model.ReviewableAccessProfile](docs/ReviewableAccessProfile.md) + - [PSSailpointV2024\Model.ReviewableEntitlement](docs/ReviewableEntitlement.md) + - [PSSailpointV2024\Model.ReviewableEntitlementAccount](docs/ReviewableEntitlementAccount.md) + - [PSSailpointV2024\Model.ReviewableRole](docs/ReviewableRole.md) + - [PSSailpointV2024\Model.Reviewer](docs/Reviewer.md) + - [PSSailpointV2024\Model.Reviewer1](docs/Reviewer1.md) + - [PSSailpointV2024\Model.Revocability](docs/Revocability.md) + - [PSSailpointV2024\Model.RevocabilityForRole](docs/RevocabilityForRole.md) + - [PSSailpointV2024\Model.RightPad](docs/RightPad.md) + - [PSSailpointV2024\Model.Role](docs/Role.md) + - [PSSailpointV2024\Model.RoleAssignmentDto](docs/RoleAssignmentDto.md) + - [PSSailpointV2024\Model.RoleAssignmentRef](docs/RoleAssignmentRef.md) + - [PSSailpointV2024\Model.RoleAssignmentSourceType](docs/RoleAssignmentSourceType.md) + - [PSSailpointV2024\Model.RoleBulkDeleteRequest](docs/RoleBulkDeleteRequest.md) + - [PSSailpointV2024\Model.RoleCriteriaKey](docs/RoleCriteriaKey.md) + - [PSSailpointV2024\Model.RoleCriteriaKeyType](docs/RoleCriteriaKeyType.md) + - [PSSailpointV2024\Model.RoleCriteriaLevel1](docs/RoleCriteriaLevel1.md) + - [PSSailpointV2024\Model.RoleCriteriaLevel2](docs/RoleCriteriaLevel2.md) + - [PSSailpointV2024\Model.RoleCriteriaLevel3](docs/RoleCriteriaLevel3.md) + - [PSSailpointV2024\Model.RoleCriteriaOperation](docs/RoleCriteriaOperation.md) + - [PSSailpointV2024\Model.RoleDocument](docs/RoleDocument.md) + - [PSSailpointV2024\Model.RoleIdentity](docs/RoleIdentity.md) + - [PSSailpointV2024\Model.RoleInsight](docs/RoleInsight.md) + - [PSSailpointV2024\Model.RoleInsightsEntitlement](docs/RoleInsightsEntitlement.md) + - [PSSailpointV2024\Model.RoleInsightsEntitlementChanges](docs/RoleInsightsEntitlementChanges.md) + - [PSSailpointV2024\Model.RoleInsightsIdentities](docs/RoleInsightsIdentities.md) + - [PSSailpointV2024\Model.RoleInsightsInsight](docs/RoleInsightsInsight.md) + - [PSSailpointV2024\Model.RoleInsightsResponse](docs/RoleInsightsResponse.md) + - [PSSailpointV2024\Model.RoleInsightsRole](docs/RoleInsightsRole.md) + - [PSSailpointV2024\Model.RoleInsightsSummary](docs/RoleInsightsSummary.md) + - [PSSailpointV2024\Model.RoleMatchDto](docs/RoleMatchDto.md) + - [PSSailpointV2024\Model.RoleMembershipIdentity](docs/RoleMembershipIdentity.md) + - [PSSailpointV2024\Model.RoleMembershipSelector](docs/RoleMembershipSelector.md) + - [PSSailpointV2024\Model.RoleMembershipSelectorType](docs/RoleMembershipSelectorType.md) + - [PSSailpointV2024\Model.RoleMiningEntitlement](docs/RoleMiningEntitlement.md) + - [PSSailpointV2024\Model.RoleMiningEntitlementRef](docs/RoleMiningEntitlementRef.md) + - [PSSailpointV2024\Model.RoleMiningIdentity](docs/RoleMiningIdentity.md) + - [PSSailpointV2024\Model.RoleMiningIdentityDistribution](docs/RoleMiningIdentityDistribution.md) + - [PSSailpointV2024\Model.RoleMiningPotentialRole](docs/RoleMiningPotentialRole.md) + - [PSSailpointV2024\Model.RoleMiningPotentialRoleApplication](docs/RoleMiningPotentialRoleApplication.md) + - [PSSailpointV2024\Model.RoleMiningPotentialRoleEditEntitlements](docs/RoleMiningPotentialRoleEditEntitlements.md) + - [PSSailpointV2024\Model.RoleMiningPotentialRoleExportRequest](docs/RoleMiningPotentialRoleExportRequest.md) + - [PSSailpointV2024\Model.RoleMiningPotentialRoleExportResponse](docs/RoleMiningPotentialRoleExportResponse.md) + - [PSSailpointV2024\Model.RoleMiningPotentialRoleExportState](docs/RoleMiningPotentialRoleExportState.md) + - [PSSailpointV2024\Model.RoleMiningPotentialRoleProvisionRequest](docs/RoleMiningPotentialRoleProvisionRequest.md) + - [PSSailpointV2024\Model.RoleMiningPotentialRoleProvisionState](docs/RoleMiningPotentialRoleProvisionState.md) + - [PSSailpointV2024\Model.RoleMiningPotentialRoleRef](docs/RoleMiningPotentialRoleRef.md) + - [PSSailpointV2024\Model.RoleMiningPotentialRoleSourceUsage](docs/RoleMiningPotentialRoleSourceUsage.md) + - [PSSailpointV2024\Model.RoleMiningPotentialRoleSummary](docs/RoleMiningPotentialRoleSummary.md) + - [PSSailpointV2024\Model.RoleMiningPotentialRoleSummaryCreatedBy](docs/RoleMiningPotentialRoleSummaryCreatedBy.md) + - [PSSailpointV2024\Model.RoleMiningRoleType](docs/RoleMiningRoleType.md) + - [PSSailpointV2024\Model.RoleMiningSessionDraftRoleDto](docs/RoleMiningSessionDraftRoleDto.md) + - [PSSailpointV2024\Model.RoleMiningSessionDto](docs/RoleMiningSessionDto.md) + - [PSSailpointV2024\Model.RoleMiningSessionParametersDto](docs/RoleMiningSessionParametersDto.md) + - [PSSailpointV2024\Model.RoleMiningSessionResponse](docs/RoleMiningSessionResponse.md) + - [PSSailpointV2024\Model.RoleMiningSessionResponseCreatedBy](docs/RoleMiningSessionResponseCreatedBy.md) + - [PSSailpointV2024\Model.RoleMiningSessionScope](docs/RoleMiningSessionScope.md) + - [PSSailpointV2024\Model.RoleMiningSessionScopingMethod](docs/RoleMiningSessionScopingMethod.md) + - [PSSailpointV2024\Model.RoleMiningSessionState](docs/RoleMiningSessionState.md) + - [PSSailpointV2024\Model.RoleMiningSessionStatus](docs/RoleMiningSessionStatus.md) + - [PSSailpointV2024\Model.RoleSummary](docs/RoleSummary.md) + - [PSSailpointV2024\Model.RoleTargetDto](docs/RoleTargetDto.md) + - [PSSailpointV2024\Model.Rule](docs/Rule.md) + - [PSSailpointV2024\Model.SavedSearch](docs/SavedSearch.md) + - [PSSailpointV2024\Model.SavedSearchComplete](docs/SavedSearchComplete.md) + - [PSSailpointV2024\Model.SavedSearchCompleteSearchResults](docs/SavedSearchCompleteSearchResults.md) + - [PSSailpointV2024\Model.SavedSearchCompleteSearchResultsAccount](docs/SavedSearchCompleteSearchResultsAccount.md) + - [PSSailpointV2024\Model.SavedSearchCompleteSearchResultsEntitlement](docs/SavedSearchCompleteSearchResultsEntitlement.md) + - [PSSailpointV2024\Model.SavedSearchCompleteSearchResultsIdentity](docs/SavedSearchCompleteSearchResultsIdentity.md) + - [PSSailpointV2024\Model.SavedSearchDetail](docs/SavedSearchDetail.md) + - [PSSailpointV2024\Model.SavedSearchDetailFilters](docs/SavedSearchDetailFilters.md) + - [PSSailpointV2024\Model.SavedSearchName](docs/SavedSearchName.md) + - [PSSailpointV2024\Model.Schedule](docs/Schedule.md) + - [PSSailpointV2024\Model.Schedule1](docs/Schedule1.md) + - [PSSailpointV2024\Model.Schedule1Days](docs/Schedule1Days.md) + - [PSSailpointV2024\Model.Schedule1Hours](docs/Schedule1Hours.md) + - [PSSailpointV2024\Model.Schedule1Months](docs/Schedule1Months.md) + - [PSSailpointV2024\Model.ScheduleDays](docs/ScheduleDays.md) + - [PSSailpointV2024\Model.ScheduleHours](docs/ScheduleHours.md) + - [PSSailpointV2024\Model.ScheduleMonths](docs/ScheduleMonths.md) + - [PSSailpointV2024\Model.ScheduleType](docs/ScheduleType.md) + - [PSSailpointV2024\Model.ScheduledAttributes](docs/ScheduledAttributes.md) + - [PSSailpointV2024\Model.ScheduledSearch](docs/ScheduledSearch.md) + - [PSSailpointV2024\Model.ScheduledSearchAllOfOwner](docs/ScheduledSearchAllOfOwner.md) + - [PSSailpointV2024\Model.ScheduledSearchName](docs/ScheduledSearchName.md) + - [PSSailpointV2024\Model.Schema](docs/Schema.md) + - [PSSailpointV2024\Model.Search](docs/Search.md) + - [PSSailpointV2024\Model.SearchAggregationSpecification](docs/SearchAggregationSpecification.md) + - [PSSailpointV2024\Model.SearchArguments](docs/SearchArguments.md) + - [PSSailpointV2024\Model.SearchAttributeConfig](docs/SearchAttributeConfig.md) + - [PSSailpointV2024\Model.SearchExportReportArguments](docs/SearchExportReportArguments.md) + - [PSSailpointV2024\Model.SearchFilterType](docs/SearchFilterType.md) + - [PSSailpointV2024\Model.SearchFormDefinitionsByTenant400Response](docs/SearchFormDefinitionsByTenant400Response.md) + - [PSSailpointV2024\Model.SearchSchedule](docs/SearchSchedule.md) + - [PSSailpointV2024\Model.SearchScheduleRecipientsInner](docs/SearchScheduleRecipientsInner.md) + - [PSSailpointV2024\Model.SectionDetails](docs/SectionDetails.md) + - [PSSailpointV2024\Model.Sed](docs/Sed.md) + - [PSSailpointV2024\Model.SedApproval](docs/SedApproval.md) + - [PSSailpointV2024\Model.SedApprovalStatus](docs/SedApprovalStatus.md) + - [PSSailpointV2024\Model.SedAssignee](docs/SedAssignee.md) + - [PSSailpointV2024\Model.SedAssignment](docs/SedAssignment.md) + - [PSSailpointV2024\Model.SedAssignmentResponse](docs/SedAssignmentResponse.md) + - [PSSailpointV2024\Model.SedBatchRequest](docs/SedBatchRequest.md) + - [PSSailpointV2024\Model.SedBatchResponse](docs/SedBatchResponse.md) + - [PSSailpointV2024\Model.SedBatchStats](docs/SedBatchStats.md) + - [PSSailpointV2024\Model.SedBatchStatus](docs/SedBatchStatus.md) + - [PSSailpointV2024\Model.SedPatch](docs/SedPatch.md) + - [PSSailpointV2024\Model.Segment](docs/Segment.md) + - [PSSailpointV2024\Model.SegmentVisibilityCriteria](docs/SegmentVisibilityCriteria.md) + - [PSSailpointV2024\Model.Selector](docs/Selector.md) + - [PSSailpointV2024\Model.SelectorType](docs/SelectorType.md) + - [PSSailpointV2024\Model.SelfImportExportDto](docs/SelfImportExportDto.md) + - [PSSailpointV2024\Model.SendTestNotificationRequestDto](docs/SendTestNotificationRequestDto.md) + - [PSSailpointV2024\Model.ServiceDeskIntegrationDto](docs/ServiceDeskIntegrationDto.md) + - [PSSailpointV2024\Model.ServiceDeskIntegrationDto1](docs/ServiceDeskIntegrationDto1.md) + - [PSSailpointV2024\Model.ServiceDeskIntegrationTemplateDto](docs/ServiceDeskIntegrationTemplateDto.md) + - [PSSailpointV2024\Model.ServiceDeskIntegrationTemplateType](docs/ServiceDeskIntegrationTemplateType.md) + - [PSSailpointV2024\Model.ServiceDeskSource](docs/ServiceDeskSource.md) + - [PSSailpointV2024\Model.SetIcon200Response](docs/SetIcon200Response.md) + - [PSSailpointV2024\Model.SetIconRequest](docs/SetIconRequest.md) + - [PSSailpointV2024\Model.SetLifecycleState200Response](docs/SetLifecycleState200Response.md) + - [PSSailpointV2024\Model.SetLifecycleStateRequest](docs/SetLifecycleStateRequest.md) + - [PSSailpointV2024\Model.SimIntegrationDetails](docs/SimIntegrationDetails.md) + - [PSSailpointV2024\Model.SimIntegrationDetailsAllOfBeforeProvisioningRule](docs/SimIntegrationDetailsAllOfBeforeProvisioningRule.md) + - [PSSailpointV2024\Model.SlimCampaign](docs/SlimCampaign.md) + - [PSSailpointV2024\Model.SodExemptCriteria](docs/SodExemptCriteria.md) + - [PSSailpointV2024\Model.SodPolicy](docs/SodPolicy.md) + - [PSSailpointV2024\Model.SodPolicyConflictingAccessCriteria](docs/SodPolicyConflictingAccessCriteria.md) + - [PSSailpointV2024\Model.SodPolicyDto](docs/SodPolicyDto.md) + - [PSSailpointV2024\Model.SodPolicyOwnerRef](docs/SodPolicyOwnerRef.md) + - [PSSailpointV2024\Model.SodPolicySchedule](docs/SodPolicySchedule.md) + - [PSSailpointV2024\Model.SodRecipient](docs/SodRecipient.md) + - [PSSailpointV2024\Model.SodReportResultDto](docs/SodReportResultDto.md) + - [PSSailpointV2024\Model.SodViolationCheck](docs/SodViolationCheck.md) + - [PSSailpointV2024\Model.SodViolationCheckResult](docs/SodViolationCheckResult.md) + - [PSSailpointV2024\Model.SodViolationContext](docs/SodViolationContext.md) + - [PSSailpointV2024\Model.SodViolationContextCheckCompleted](docs/SodViolationContextCheckCompleted.md) + - [PSSailpointV2024\Model.SodViolationContextConflictingAccessCriteria](docs/SodViolationContextConflictingAccessCriteria.md) + - [PSSailpointV2024\Model.SodViolationContextConflictingAccessCriteriaLeftCriteria](docs/SodViolationContextConflictingAccessCriteriaLeftCriteria.md) + - [PSSailpointV2024\Model.Source](docs/Source.md) + - [PSSailpointV2024\Model.Source1](docs/Source1.md) + - [PSSailpointV2024\Model.SourceAccountCorrelationConfig](docs/SourceAccountCorrelationConfig.md) + - [PSSailpointV2024\Model.SourceAccountCorrelationRule](docs/SourceAccountCorrelationRule.md) + - [PSSailpointV2024\Model.SourceAccountCreated](docs/SourceAccountCreated.md) + - [PSSailpointV2024\Model.SourceAccountDeleted](docs/SourceAccountDeleted.md) + - [PSSailpointV2024\Model.SourceAccountUpdated](docs/SourceAccountUpdated.md) + - [PSSailpointV2024\Model.SourceBeforeProvisioningRule](docs/SourceBeforeProvisioningRule.md) + - [PSSailpointV2024\Model.SourceCluster](docs/SourceCluster.md) + - [PSSailpointV2024\Model.SourceClusterDto](docs/SourceClusterDto.md) + - [PSSailpointV2024\Model.SourceCode](docs/SourceCode.md) + - [PSSailpointV2024\Model.SourceCreated](docs/SourceCreated.md) + - [PSSailpointV2024\Model.SourceCreatedActor](docs/SourceCreatedActor.md) + - [PSSailpointV2024\Model.SourceDeleted](docs/SourceDeleted.md) + - [PSSailpointV2024\Model.SourceDeletedActor](docs/SourceDeletedActor.md) + - [PSSailpointV2024\Model.SourceEntitlementRequestConfig](docs/SourceEntitlementRequestConfig.md) + - [PSSailpointV2024\Model.SourceHealthDto](docs/SourceHealthDto.md) + - [PSSailpointV2024\Model.SourceManagementWorkgroup](docs/SourceManagementWorkgroup.md) + - [PSSailpointV2024\Model.SourceManagerCorrelationMapping](docs/SourceManagerCorrelationMapping.md) + - [PSSailpointV2024\Model.SourceManagerCorrelationRule](docs/SourceManagerCorrelationRule.md) + - [PSSailpointV2024\Model.SourceOwner](docs/SourceOwner.md) + - [PSSailpointV2024\Model.SourcePasswordPoliciesInner](docs/SourcePasswordPoliciesInner.md) + - [PSSailpointV2024\Model.SourceSchemasInner](docs/SourceSchemasInner.md) + - [PSSailpointV2024\Model.SourceSyncJob](docs/SourceSyncJob.md) + - [PSSailpointV2024\Model.SourceSyncPayload](docs/SourceSyncPayload.md) + - [PSSailpointV2024\Model.SourceUpdated](docs/SourceUpdated.md) + - [PSSailpointV2024\Model.SourceUpdatedActor](docs/SourceUpdatedActor.md) + - [PSSailpointV2024\Model.SourceUsage](docs/SourceUsage.md) + - [PSSailpointV2024\Model.SourceUsageStatus](docs/SourceUsageStatus.md) + - [PSSailpointV2024\Model.SpConfigExportJob](docs/SpConfigExportJob.md) + - [PSSailpointV2024\Model.SpConfigExportJobStatus](docs/SpConfigExportJobStatus.md) + - [PSSailpointV2024\Model.SpConfigExportResults](docs/SpConfigExportResults.md) + - [PSSailpointV2024\Model.SpConfigImportJobStatus](docs/SpConfigImportJobStatus.md) + - [PSSailpointV2024\Model.SpConfigImportResults](docs/SpConfigImportResults.md) + - [PSSailpointV2024\Model.SpConfigJob](docs/SpConfigJob.md) + - [PSSailpointV2024\Model.SpConfigMessage](docs/SpConfigMessage.md) + - [PSSailpointV2024\Model.SpConfigMessage1](docs/SpConfigMessage1.md) + - [PSSailpointV2024\Model.SpConfigObject](docs/SpConfigObject.md) + - [PSSailpointV2024\Model.SpConfigUrl](docs/SpConfigUrl.md) + - [PSSailpointV2024\Model.Split](docs/Split.md) + - [PSSailpointV2024\Model.StandardLevel](docs/StandardLevel.md) + - [PSSailpointV2024\Model.StartInvocationInput](docs/StartInvocationInput.md) + - [PSSailpointV2024\Model.Static](docs/Static.md) + - [PSSailpointV2024\Model.StatusResponse](docs/StatusResponse.md) + - [PSSailpointV2024\Model.SubSearchAggregationSpecification](docs/SubSearchAggregationSpecification.md) + - [PSSailpointV2024\Model.Subscription](docs/Subscription.md) + - [PSSailpointV2024\Model.SubscriptionPatchRequestInner](docs/SubscriptionPatchRequestInner.md) + - [PSSailpointV2024\Model.SubscriptionPatchRequestInnerValue](docs/SubscriptionPatchRequestInnerValue.md) + - [PSSailpointV2024\Model.SubscriptionPatchRequestInnerValueAnyOfInner](docs/SubscriptionPatchRequestInnerValueAnyOfInner.md) + - [PSSailpointV2024\Model.SubscriptionPostRequest](docs/SubscriptionPostRequest.md) + - [PSSailpointV2024\Model.SubscriptionPutRequest](docs/SubscriptionPutRequest.md) + - [PSSailpointV2024\Model.SubscriptionType](docs/SubscriptionType.md) + - [PSSailpointV2024\Model.Substring](docs/Substring.md) + - [PSSailpointV2024\Model.TaggedObject](docs/TaggedObject.md) + - [PSSailpointV2024\Model.TaggedObjectDto](docs/TaggedObjectDto.md) + - [PSSailpointV2024\Model.Target](docs/Target.md) + - [PSSailpointV2024\Model.TaskDefinitionSummary](docs/TaskDefinitionSummary.md) + - [PSSailpointV2024\Model.TaskResultDetails](docs/TaskResultDetails.md) + - [PSSailpointV2024\Model.TaskResultDetailsMessagesInner](docs/TaskResultDetailsMessagesInner.md) + - [PSSailpointV2024\Model.TaskResultDetailsReturnsInner](docs/TaskResultDetailsReturnsInner.md) + - [PSSailpointV2024\Model.TaskResultDto](docs/TaskResultDto.md) + - [PSSailpointV2024\Model.TaskResultResponse](docs/TaskResultResponse.md) + - [PSSailpointV2024\Model.TaskResultSimplified](docs/TaskResultSimplified.md) + - [PSSailpointV2024\Model.TaskReturnDetails](docs/TaskReturnDetails.md) + - [PSSailpointV2024\Model.TaskStatus](docs/TaskStatus.md) + - [PSSailpointV2024\Model.TaskStatusMessage](docs/TaskStatusMessage.md) + - [PSSailpointV2024\Model.TemplateBulkDeleteDto](docs/TemplateBulkDeleteDto.md) + - [PSSailpointV2024\Model.TemplateDto](docs/TemplateDto.md) + - [PSSailpointV2024\Model.TemplateDtoDefault](docs/TemplateDtoDefault.md) + - [PSSailpointV2024\Model.TemplateSlack](docs/TemplateSlack.md) + - [PSSailpointV2024\Model.TemplateSlackAutoApprovalData](docs/TemplateSlackAutoApprovalData.md) + - [PSSailpointV2024\Model.TemplateSlackCustomFields](docs/TemplateSlackCustomFields.md) + - [PSSailpointV2024\Model.TemplateTeams](docs/TemplateTeams.md) + - [PSSailpointV2024\Model.Tenant](docs/Tenant.md) + - [PSSailpointV2024\Model.TenantConfigurationDetails](docs/TenantConfigurationDetails.md) + - [PSSailpointV2024\Model.TenantConfigurationRequest](docs/TenantConfigurationRequest.md) + - [PSSailpointV2024\Model.TenantConfigurationResponse](docs/TenantConfigurationResponse.md) + - [PSSailpointV2024\Model.TenantUiMetadataItemResponse](docs/TenantUiMetadataItemResponse.md) + - [PSSailpointV2024\Model.TenantUiMetadataItemUpdateRequest](docs/TenantUiMetadataItemUpdateRequest.md) + - [PSSailpointV2024\Model.TestExternalExecuteWorkflow200Response](docs/TestExternalExecuteWorkflow200Response.md) + - [PSSailpointV2024\Model.TestExternalExecuteWorkflowRequest](docs/TestExternalExecuteWorkflowRequest.md) + - [PSSailpointV2024\Model.TestInvocation](docs/TestInvocation.md) + - [PSSailpointV2024\Model.TestWorkflow200Response](docs/TestWorkflow200Response.md) + - [PSSailpointV2024\Model.TestWorkflowRequest](docs/TestWorkflowRequest.md) + - [PSSailpointV2024\Model.TextQuery](docs/TextQuery.md) + - [PSSailpointV2024\Model.Transform](docs/Transform.md) + - [PSSailpointV2024\Model.TransformAttributes](docs/TransformAttributes.md) + - [PSSailpointV2024\Model.TransformDefinition](docs/TransformDefinition.md) + - [PSSailpointV2024\Model.TransformDefinitionAttributesValue](docs/TransformDefinitionAttributesValue.md) + - [PSSailpointV2024\Model.TransformRead](docs/TransformRead.md) + - [PSSailpointV2024\Model.TransformRule](docs/TransformRule.md) + - [PSSailpointV2024\Model.TranslationMessage](docs/TranslationMessage.md) + - [PSSailpointV2024\Model.Trigger](docs/Trigger.md) + - [PSSailpointV2024\Model.TriggerExampleInput](docs/TriggerExampleInput.md) + - [PSSailpointV2024\Model.TriggerExampleOutput](docs/TriggerExampleOutput.md) + - [PSSailpointV2024\Model.TriggerType](docs/TriggerType.md) + - [PSSailpointV2024\Model.Trim](docs/Trim.md) + - [PSSailpointV2024\Model.TypeAheadQuery](docs/TypeAheadQuery.md) + - [PSSailpointV2024\Model.TypedReference](docs/TypedReference.md) + - [PSSailpointV2024\Model.UUIDGenerator](docs/UUIDGenerator.md) + - [PSSailpointV2024\Model.UpdateAccessProfilesInBulk412Response](docs/UpdateAccessProfilesInBulk412Response.md) + - [PSSailpointV2024\Model.UpdateDetail](docs/UpdateDetail.md) + - [PSSailpointV2024\Model.UploadsRequest](docs/UploadsRequest.md) + - [PSSailpointV2024\Model.UploadsResponse](docs/UploadsResponse.md) + - [PSSailpointV2024\Model.Upper](docs/Upper.md) + - [PSSailpointV2024\Model.UsageType](docs/UsageType.md) + - [PSSailpointV2024\Model.V3ConnectorDto](docs/V3ConnectorDto.md) + - [PSSailpointV2024\Model.V3CreateConnectorDto](docs/V3CreateConnectorDto.md) + - [PSSailpointV2024\Model.VAClusterStatusChangeEvent](docs/VAClusterStatusChangeEvent.md) + - [PSSailpointV2024\Model.VAClusterStatusChangeEventApplication](docs/VAClusterStatusChangeEventApplication.md) + - [PSSailpointV2024\Model.VAClusterStatusChangeEventHealthCheckResult](docs/VAClusterStatusChangeEventHealthCheckResult.md) + - [PSSailpointV2024\Model.VAClusterStatusChangeEventPreviousHealthCheckResult](docs/VAClusterStatusChangeEventPreviousHealthCheckResult.md) + - [PSSailpointV2024\Model.ValidateFilterInputDto](docs/ValidateFilterInputDto.md) + - [PSSailpointV2024\Model.ValidateFilterOutputDto](docs/ValidateFilterOutputDto.md) + - [PSSailpointV2024\Model.Value](docs/Value.md) + - [PSSailpointV2024\Model.VendorConnectorMapping](docs/VendorConnectorMapping.md) + - [PSSailpointV2024\Model.VendorConnectorMappingDeletedAt](docs/VendorConnectorMappingDeletedAt.md) + - [PSSailpointV2024\Model.VendorConnectorMappingDeletedBy](docs/VendorConnectorMappingDeletedBy.md) + - [PSSailpointV2024\Model.VendorConnectorMappingUpdatedAt](docs/VendorConnectorMappingUpdatedAt.md) + - [PSSailpointV2024\Model.VendorConnectorMappingUpdatedBy](docs/VendorConnectorMappingUpdatedBy.md) + - [PSSailpointV2024\Model.ViolationContext](docs/ViolationContext.md) + - [PSSailpointV2024\Model.ViolationContextPolicy](docs/ViolationContextPolicy.md) + - [PSSailpointV2024\Model.ViolationOwnerAssignmentConfig](docs/ViolationOwnerAssignmentConfig.md) + - [PSSailpointV2024\Model.ViolationOwnerAssignmentConfigOwnerRef](docs/ViolationOwnerAssignmentConfigOwnerRef.md) + - [PSSailpointV2024\Model.ViolationPrediction](docs/ViolationPrediction.md) + - [PSSailpointV2024\Model.VisibilityCriteria](docs/VisibilityCriteria.md) + - [PSSailpointV2024\Model.WorkItemForward](docs/WorkItemForward.md) + - [PSSailpointV2024\Model.WorkItemState](docs/WorkItemState.md) + - [PSSailpointV2024\Model.WorkItemStateManualWorkItems](docs/WorkItemStateManualWorkItems.md) + - [PSSailpointV2024\Model.WorkItemTypeManualWorkItems](docs/WorkItemTypeManualWorkItems.md) + - [PSSailpointV2024\Model.WorkItems](docs/WorkItems.md) + - [PSSailpointV2024\Model.WorkItemsCount](docs/WorkItemsCount.md) + - [PSSailpointV2024\Model.WorkItemsForm](docs/WorkItemsForm.md) + - [PSSailpointV2024\Model.WorkItemsSummary](docs/WorkItemsSummary.md) + - [PSSailpointV2024\Model.Workflow](docs/Workflow.md) + - [PSSailpointV2024\Model.WorkflowAllOfCreator](docs/WorkflowAllOfCreator.md) + - [PSSailpointV2024\Model.WorkflowBody](docs/WorkflowBody.md) + - [PSSailpointV2024\Model.WorkflowBodyOwner](docs/WorkflowBodyOwner.md) + - [PSSailpointV2024\Model.WorkflowDefinition](docs/WorkflowDefinition.md) + - [PSSailpointV2024\Model.WorkflowExecution](docs/WorkflowExecution.md) + - [PSSailpointV2024\Model.WorkflowExecutionEvent](docs/WorkflowExecutionEvent.md) + - [PSSailpointV2024\Model.WorkflowLibraryAction](docs/WorkflowLibraryAction.md) + - [PSSailpointV2024\Model.WorkflowLibraryActionExampleOutput](docs/WorkflowLibraryActionExampleOutput.md) + - [PSSailpointV2024\Model.WorkflowLibraryFormFields](docs/WorkflowLibraryFormFields.md) + - [PSSailpointV2024\Model.WorkflowLibraryOperator](docs/WorkflowLibraryOperator.md) + - [PSSailpointV2024\Model.WorkflowLibraryTrigger](docs/WorkflowLibraryTrigger.md) + - [PSSailpointV2024\Model.WorkflowModifiedBy](docs/WorkflowModifiedBy.md) + - [PSSailpointV2024\Model.WorkflowOAuthClient](docs/WorkflowOAuthClient.md) + - [PSSailpointV2024\Model.WorkflowTrigger](docs/WorkflowTrigger.md) + - [PSSailpointV2024\Model.WorkflowTriggerAttributes](docs/WorkflowTriggerAttributes.md) + - [PSSailpointV2024\Model.WorkgroupBulkDeleteRequest](docs/WorkgroupBulkDeleteRequest.md) + - [PSSailpointV2024\Model.WorkgroupConnectionDto](docs/WorkgroupConnectionDto.md) + - [PSSailpointV2024\Model.WorkgroupDeleteItem](docs/WorkgroupDeleteItem.md) + - [PSSailpointV2024\Model.WorkgroupDto](docs/WorkgroupDto.md) + - [PSSailpointV2024\Model.WorkgroupDtoOwner](docs/WorkgroupDtoOwner.md) + - [PSSailpointV2024\Model.WorkgroupMemberAddItem](docs/WorkgroupMemberAddItem.md) + - [PSSailpointV2024\Model.WorkgroupMemberDeleteItem](docs/WorkgroupMemberDeleteItem.md) + + + +## Documentation for Authorization + + +Authentication schemes defined for the API: + +### UserContextAuth + + +- **Type**: OAuth +- **Flow**: application +- **Authorization URL**: +- **Scopes**: + - sp:scopes:default: default scope + - sp:scopes:all: access to all scopes + + +### UserContextAuth + + +- **Type**: OAuth +- **Flow**: accessCode +- **Authorization URL**: https://tenant.login.sailpoint.com/oauth/authorize +- **Scopes**: + - sp:scopes:default: default scope + - sp:scopes:all: access to all scopes + + +### ApplicationOnlyAuth + + +- **Type**: OAuth +- **Flow**: application +- **Authorization URL**: +- **Scopes**: + - sp:scopes:default: default scope + diff --git a/PSSailpoint/v2024/appveyor.yml b/PSSailpoint/v2024/appveyor.yml new file mode 100644 index 000000000..b8d2bc1e7 --- /dev/null +++ b/PSSailpoint/v2024/appveyor.yml @@ -0,0 +1,40 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +version: 1.0.{build} +image: + - Visual Studio 2019 # PWSH 7.x + #- Visual Studio 2017 # PS 5.x, PWSH 6.x + #- Ubuntu # PWSH 6.x + # ref: https://www.appveyor.com/docs/windows-images-software/ +install: + - pwsh: $PSVersionTable.PSVersion + - pwsh: Install-Module Pester -Force -Scope CurrentUser +build: off +test_script: + - pwsh: | + .\Build.ps1 + Import-Module -Name '.\src\PSSailpointV2024' + $Result = Invoke-Pester -PassThru + if ($Result.FailedCount -gt 0) { + $host.SetShouldExit($Result.FailedCount) + exit $Result.FailedCount + } +deploy_script: + - pwsh: | + if ($env:APPVEYOR_REPO_TAG -eq $true -and $null -ne $env:NuGetApiKey) { + .\Build.ps1 + try { + Publish-Module -NuGetApiKey $env:NuGetApiKey -Path .\src\PSSailpointV2024\ -Confirm:$False -Verbose + Write-Host "Successfully published the PowerShell module." + } catch { + $host.SetShouldExit($LastExitCode) + Write-Host "Error when running Publish-Module:" + Write-Host $_ + exit + } + } diff --git a/PSSailpoint/v2024/docs/Access.md b/PSSailpoint/v2024/docs/Access.md new file mode 100644 index 000000000..4c2f53869 --- /dev/null +++ b/PSSailpoint/v2024/docs/Access.md @@ -0,0 +1,29 @@ +# Access +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The unique ID of the referenced object. | [optional] +**Name** | **String** | The human readable name of the referenced object. | [optional] +**DisplayName** | **String** | | [optional] +**Type** | [**DtoType**](DtoType.md) | | [optional] +**Description** | **String** | | [optional] + +## Examples + +- Prepare the resource +```powershell +$Access = Initialize-PSSailpointV2024Access -Id 2c91808568c529c60168cca6f90c1313 ` + -Name John Doe ` + -DisplayName John Q. Doe ` + -Type null ` + -Description null +``` + +- Convert the resource to JSON +```powershell +$Access | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessConstraint.md b/PSSailpoint/v2024/docs/AccessConstraint.md new file mode 100644 index 000000000..63fcd47cf --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessConstraint.md @@ -0,0 +1,25 @@ +# AccessConstraint +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | Type of Access | +**Ids** | **String[]** | Must be set only if operator is SELECTED. | [optional] +**Operator** | **String** | Used to determine whether the scope of the campaign should be reduced for selected ids or all. | + +## Examples + +- Prepare the resource +```powershell +$AccessConstraint = Initialize-PSSailpointV2024AccessConstraint -Type ENTITLEMENT ` + -Ids [2c90ad2a70ace7d50170acf22ca90010] ` + -Operator SELECTED +``` + +- Convert the resource to JSON +```powershell +$AccessConstraint | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessCriteria.md b/PSSailpoint/v2024/docs/AccessCriteria.md new file mode 100644 index 000000000..4807d9fcd --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessCriteria.md @@ -0,0 +1,23 @@ +# AccessCriteria +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | Business name for the access construct list | [optional] +**CriteriaList** | [**AccessCriteriaCriteriaListInner[]**](AccessCriteriaCriteriaListInner.md) | List of criteria. There is a min of 1 and max of 50 items in the list. | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccessCriteria = Initialize-PSSailpointV2024AccessCriteria -Name money-in ` + -CriteriaList [{type=ENTITLEMENT, id=2c9180866166b5b0016167c32ef31a66, name=Administrator}, {type=ENTITLEMENT, id=2c9180866166b5b0016167c32ef31a67, name=Administrator}] +``` + +- Convert the resource to JSON +```powershell +$AccessCriteria | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessCriteriaCriteriaListInner.md b/PSSailpoint/v2024/docs/AccessCriteriaCriteriaListInner.md new file mode 100644 index 000000000..34838e93c --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessCriteriaCriteriaListInner.md @@ -0,0 +1,25 @@ +# AccessCriteriaCriteriaListInner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | Type of the propery to which this reference applies to | [optional] +**Id** | **String** | ID of the object to which this reference applies to | [optional] +**Name** | **String** | Human-readable display name of the object to which this reference applies to | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccessCriteriaCriteriaListInner = Initialize-PSSailpointV2024AccessCriteriaCriteriaListInner -Type ENTITLEMENT ` + -Id 2c91808568c529c60168cca6f90c1313 ` + -Name Administrator +``` + +- Convert the resource to JSON +```powershell +$AccessCriteriaCriteriaListInner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessItemAccessProfileResponse.md b/PSSailpoint/v2024/docs/AccessItemAccessProfileResponse.md new file mode 100644 index 000000000..8f22a1b03 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessItemAccessProfileResponse.md @@ -0,0 +1,43 @@ +# AccessItemAccessProfileResponse +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AccessType** | **String** | the access item type. accessProfile in this case | [optional] +**Id** | **String** | the access item id | [optional] +**Name** | **String** | the access profile name | [optional] +**SourceName** | **String** | the name of the source | [optional] +**SourceId** | **String** | the id of the source | [optional] +**Description** | **String** | the description for the access profile | [optional] +**DisplayName** | **String** | the display name of the identity | [optional] +**EntitlementCount** | **String** | the number of entitlements the access profile will create | [optional] +**AppDisplayName** | **String** | the name of | [optional] +**RemoveDate** | **String** | the date the access profile is no longer assigned to the specified identity | [optional] +**Standalone** | **Boolean** | indicates whether the access profile is standalone | +**Revocable** | **Boolean** | indicates whether the access profile is | + +## Examples + +- Prepare the resource +```powershell +$AccessItemAccessProfileResponse = Initialize-PSSailpointV2024AccessItemAccessProfileResponse -AccessType accessProfile ` + -Id 2c918087763e69d901763e72e97f006f ` + -Name sample ` + -SourceName DataScienceDataset ` + -SourceId 2793o32dwd ` + -Description AccessProfile - Workday/Citizenship access ` + -DisplayName Dr. Arden Rogahn MD ` + -EntitlementCount 12 ` + -AppDisplayName AppName ` + -RemoveDate 2024-07-01T06:00:00.00Z ` + -Standalone false ` + -Revocable true +``` + +- Convert the resource to JSON +```powershell +$AccessItemAccessProfileResponse | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessItemAccountResponse.md b/PSSailpoint/v2024/docs/AccessItemAccountResponse.md new file mode 100644 index 000000000..751341c77 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessItemAccountResponse.md @@ -0,0 +1,33 @@ +# AccessItemAccountResponse +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AccessType** | **String** | the access item type. account in this case | [optional] +**Id** | **String** | the access item id | [optional] +**NativeIdentity** | **String** | the native identifier used to uniquely identify an acccount | [optional] +**SourceName** | **String** | the name of the source | [optional] +**SourceId** | **String** | the id of the source | [optional] +**EntitlementCount** | **String** | the number of entitlements the account will create | [optional] +**DisplayName** | **String** | the display name of the identity | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccessItemAccountResponse = Initialize-PSSailpointV2024AccessItemAccountResponse -AccessType account ` + -Id 2c918087763e69d901763e72e97f006f ` + -NativeIdentity dr.arden.ogahn.d ` + -SourceName DataScienceDataset ` + -SourceId 2793o32dwd ` + -EntitlementCount 12 ` + -DisplayName Dr. Arden Rogahn MD +``` + +- Convert the resource to JSON +```powershell +$AccessItemAccountResponse | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessItemAppResponse.md b/PSSailpoint/v2024/docs/AccessItemAppResponse.md new file mode 100644 index 000000000..d5a5a5c70 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessItemAppResponse.md @@ -0,0 +1,29 @@ +# AccessItemAppResponse +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AccessType** | **String** | the access item type. entitlement in this case | [optional] +**Id** | **String** | the access item id | [optional] +**DisplayName** | **String** | the access item display name | [optional] +**SourceName** | **String** | the associated source name if it exists | [optional] +**AppRoleId** | **String** | the app role id | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccessItemAppResponse = Initialize-PSSailpointV2024AccessItemAppResponse -AccessType app ` + -Id 2c918087763e69d901763e72e97f006f ` + -DisplayName Display Name ` + -SourceName appName ` + -AppRoleId 2c918087763e69d901763e72e97f006f +``` + +- Convert the resource to JSON +```powershell +$AccessItemAppResponse | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessItemApproverDto.md b/PSSailpoint/v2024/docs/AccessItemApproverDto.md new file mode 100644 index 000000000..3aa6de2b3 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessItemApproverDto.md @@ -0,0 +1,25 @@ +# AccessItemApproverDto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | DTO type of identity who approved the access item request. | [optional] +**Id** | **String** | ID of identity who approved the access item request. | [optional] +**Name** | **String** | Human-readable display name of identity who approved the access item request. | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccessItemApproverDto = Initialize-PSSailpointV2024AccessItemApproverDto -Type IDENTITY ` + -Id 2c3780a46faadee4016fb4e018c20652 ` + -Name Allen Albertson +``` + +- Convert the resource to JSON +```powershell +$AccessItemApproverDto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessItemAssociated.md b/PSSailpoint/v2024/docs/AccessItemAssociated.md new file mode 100644 index 000000000..2911a125d --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessItemAssociated.md @@ -0,0 +1,29 @@ +# AccessItemAssociated +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AccessItem** | [**AccessItemAssociatedAccessItem**](AccessItemAssociatedAccessItem.md) | | [optional] +**IdentityId** | **String** | the identity id | [optional] +**EventType** | **String** | the event type | [optional] +**Dt** | **String** | the date of event | [optional] +**GovernanceEvent** | [**CorrelatedGovernanceEvent**](CorrelatedGovernanceEvent.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccessItemAssociated = Initialize-PSSailpointV2024AccessItemAssociated -AccessItem null ` + -IdentityId 8c190e6787aa4ed9a90bd9d5344523fb ` + -EventType AccessItemAssociated ` + -Dt 2019-03-08T22:37:33.901Z ` + -GovernanceEvent null +``` + +- Convert the resource to JSON +```powershell +$AccessItemAssociated | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessItemAssociatedAccessItem.md b/PSSailpoint/v2024/docs/AccessItemAssociatedAccessItem.md new file mode 100644 index 000000000..148d2edd2 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessItemAssociatedAccessItem.md @@ -0,0 +1,57 @@ +# AccessItemAssociatedAccessItem +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AccessType** | **String** | the access item type. role in this case | [optional] +**Id** | **String** | the access item id | [optional] +**Name** | **String** | the access profile name | [optional] +**SourceName** | **String** | the associated source name if it exists | [optional] +**SourceId** | **String** | the id of the source | [optional] +**Description** | **String** | the description for the role | [optional] +**DisplayName** | **String** | the role display name | [optional] +**EntitlementCount** | **String** | the number of entitlements the account will create | [optional] +**AppDisplayName** | **String** | the name of | [optional] +**RemoveDate** | **String** | the date the role is no longer assigned to the specified identity | [optional] +**Standalone** | **Boolean** | indicates whether the entitlement is standalone | +**Revocable** | **Boolean** | indicates whether the role is revocable | +**NativeIdentity** | **String** | the native identifier used to uniquely identify an acccount | [optional] +**AppRoleId** | **String** | the app role id | [optional] +**Attribute** | **String** | the entitlement attribute | [optional] +**Value** | **String** | the associated value | [optional] +**EntitlementType** | **String** | the type of entitlement | [optional] +**Privileged** | **Boolean** | indicates whether the entitlement is privileged | +**CloudGoverned** | **Boolean** | indicates whether the entitlement is cloud governed | + +## Examples + +- Prepare the resource +```powershell +$AccessItemAssociatedAccessItem = Initialize-PSSailpointV2024AccessItemAssociatedAccessItem -AccessType role ` + -Id 2c918087763e69d901763e72e97f006f ` + -Name sample ` + -SourceName Source Name ` + -SourceId 2793o32dwd ` + -Description Role - Workday/Citizenship access ` + -DisplayName sample ` + -EntitlementCount 12 ` + -AppDisplayName AppName ` + -RemoveDate 2024-07-01T06:00:00.00Z ` + -Standalone true ` + -Revocable true ` + -NativeIdentity dr.arden.ogahn.d ` + -AppRoleId 2c918087763e69d901763e72e97f006f ` + -Attribute groups ` + -Value Upward mobility access ` + -EntitlementType entitlement ` + -Privileged false ` + -CloudGoverned true +``` + +- Convert the resource to JSON +```powershell +$AccessItemAssociatedAccessItem | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessItemDiff.md b/PSSailpoint/v2024/docs/AccessItemDiff.md new file mode 100644 index 000000000..a4f1201fc --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessItemDiff.md @@ -0,0 +1,27 @@ +# AccessItemDiff +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | the id of the access item | [optional] +**EventType** | **String** | | [optional] +**DisplayName** | **String** | the display name of the access item | [optional] +**SourceName** | **String** | the source name of the access item | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccessItemDiff = Initialize-PSSailpointV2024AccessItemDiff -Id null ` + -EventType null ` + -DisplayName null ` + -SourceName null +``` + +- Convert the resource to JSON +```powershell +$AccessItemDiff | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessItemEntitlementResponse.md b/PSSailpoint/v2024/docs/AccessItemEntitlementResponse.md new file mode 100644 index 000000000..08e48bafa --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessItemEntitlementResponse.md @@ -0,0 +1,43 @@ +# AccessItemEntitlementResponse +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AccessType** | **String** | the access item type. entitlement in this case | [optional] +**Id** | **String** | the access item id | [optional] +**Attribute** | **String** | the entitlement attribute | [optional] +**Value** | **String** | the associated value | [optional] +**EntitlementType** | **String** | the type of entitlement | [optional] +**SourceName** | **String** | the name of the source | [optional] +**SourceId** | **String** | the id of the source | [optional] +**Description** | **String** | the description for the entitlment | [optional] +**DisplayName** | **String** | the display name of the identity | [optional] +**Standalone** | **Boolean** | indicates whether the entitlement is standalone | +**Privileged** | **Boolean** | indicates whether the entitlement is privileged | +**CloudGoverned** | **Boolean** | indicates whether the entitlement is cloud governed | + +## Examples + +- Prepare the resource +```powershell +$AccessItemEntitlementResponse = Initialize-PSSailpointV2024AccessItemEntitlementResponse -AccessType entitlement ` + -Id 2c918087763e69d901763e72e97f006f ` + -Attribute groups ` + -Value Upward mobility access ` + -EntitlementType entitlement ` + -SourceName DataScienceDataset ` + -SourceId 2793o32dwd ` + -Description Entitlement - Workday/Citizenship access ` + -DisplayName Dr. Arden Rogahn MD ` + -Standalone true ` + -Privileged false ` + -CloudGoverned true +``` + +- Convert the resource to JSON +```powershell +$AccessItemEntitlementResponse | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessItemRef.md b/PSSailpoint/v2024/docs/AccessItemRef.md new file mode 100644 index 000000000..778cb6151 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessItemRef.md @@ -0,0 +1,23 @@ +# AccessItemRef +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | ID of the access item to retrieve the recommendation for. | [optional] +**Type** | **String** | Access item's type. | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccessItemRef = Initialize-PSSailpointV2024AccessItemRef -Id 2c938083633d259901633d2623ec0375 ` + -Type ENTITLEMENT +``` + +- Convert the resource to JSON +```powershell +$AccessItemRef | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessItemRemoved.md b/PSSailpoint/v2024/docs/AccessItemRemoved.md new file mode 100644 index 000000000..803afb6ef --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessItemRemoved.md @@ -0,0 +1,29 @@ +# AccessItemRemoved +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AccessItem** | [**AccessItemAssociatedAccessItem**](AccessItemAssociatedAccessItem.md) | | [optional] +**IdentityId** | **String** | the identity id | [optional] +**EventType** | **String** | the event type | [optional] +**Dt** | **String** | the date of event | [optional] +**GovernanceEvent** | [**CorrelatedGovernanceEvent**](CorrelatedGovernanceEvent.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccessItemRemoved = Initialize-PSSailpointV2024AccessItemRemoved -AccessItem null ` + -IdentityId 8c190e6787aa4ed9a90bd9d5344523fb ` + -EventType AccessItemRemoved ` + -Dt 2019-03-08T22:37:33.901Z ` + -GovernanceEvent null +``` + +- Convert the resource to JSON +```powershell +$AccessItemRemoved | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessItemRequestedFor.md b/PSSailpoint/v2024/docs/AccessItemRequestedFor.md new file mode 100644 index 000000000..32883cd66 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessItemRequestedFor.md @@ -0,0 +1,25 @@ +# AccessItemRequestedFor +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | DTO type of identity the access item is requested for. | [optional] +**Id** | **String** | ID of identity the access item is requested for. | [optional] +**Name** | **String** | Human-readable display name of identity the access item is requested for. | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccessItemRequestedFor = Initialize-PSSailpointV2024AccessItemRequestedFor -Type IDENTITY ` + -Id 2c4180a46faadee4016fb4e018c20626 ` + -Name Robert Robinson +``` + +- Convert the resource to JSON +```powershell +$AccessItemRequestedFor | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessItemRequestedForDto.md b/PSSailpoint/v2024/docs/AccessItemRequestedForDto.md new file mode 100644 index 000000000..86535f351 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessItemRequestedForDto.md @@ -0,0 +1,25 @@ +# AccessItemRequestedForDto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | DTO type of identity the access item is requested for. | [optional] +**Id** | **String** | ID of identity the access item is requested for. | [optional] +**Name** | **String** | Human-readable display name of identity the access item is requested for. | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccessItemRequestedForDto = Initialize-PSSailpointV2024AccessItemRequestedForDto -Type IDENTITY ` + -Id 2c4180a46faadee4016fb4e018c20626 ` + -Name Robert Robinson +``` + +- Convert the resource to JSON +```powershell +$AccessItemRequestedForDto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessItemRequester.md b/PSSailpoint/v2024/docs/AccessItemRequester.md new file mode 100644 index 000000000..6744c347f --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessItemRequester.md @@ -0,0 +1,25 @@ +# AccessItemRequester +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | Access item requester's DTO type. | [optional] +**Id** | **String** | Access item requester's identity ID. | [optional] +**Name** | **String** | Access item owner's human-readable display name. | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccessItemRequester = Initialize-PSSailpointV2024AccessItemRequester -Type IDENTITY ` + -Id 2c7180a46faadee4016fb4e018c20648 ` + -Name William Wilson +``` + +- Convert the resource to JSON +```powershell +$AccessItemRequester | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessItemRequesterDto.md b/PSSailpoint/v2024/docs/AccessItemRequesterDto.md new file mode 100644 index 000000000..4e2af86c0 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessItemRequesterDto.md @@ -0,0 +1,25 @@ +# AccessItemRequesterDto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | Access item requester's DTO type. | [optional] +**Id** | **String** | Access item requester's identity ID. | [optional] +**Name** | **String** | Access item owner's human-readable display name. | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccessItemRequesterDto = Initialize-PSSailpointV2024AccessItemRequesterDto -Type IDENTITY ` + -Id 2c7180a46faadee4016fb4e018c20648 ` + -Name William Wilson +``` + +- Convert the resource to JSON +```powershell +$AccessItemRequesterDto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessItemReviewedBy.md b/PSSailpoint/v2024/docs/AccessItemReviewedBy.md new file mode 100644 index 000000000..26358354b --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessItemReviewedBy.md @@ -0,0 +1,25 @@ +# AccessItemReviewedBy +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | DTO type of identity who reviewed the access item request. | [optional] +**Id** | **String** | ID of identity who reviewed the access item request. | [optional] +**Name** | **String** | Human-readable display name of identity who reviewed the access item request. | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccessItemReviewedBy = Initialize-PSSailpointV2024AccessItemReviewedBy -Type IDENTITY ` + -Id 2c3780a46faadee4016fb4e018c20652 ` + -Name Allen Albertson +``` + +- Convert the resource to JSON +```powershell +$AccessItemReviewedBy | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessItemRoleResponse.md b/PSSailpoint/v2024/docs/AccessItemRoleResponse.md new file mode 100644 index 000000000..5f5d79f5a --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessItemRoleResponse.md @@ -0,0 +1,33 @@ +# AccessItemRoleResponse +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AccessType** | **String** | the access item type. role in this case | [optional] +**Id** | **String** | the access item id | [optional] +**DisplayName** | **String** | the role display name | [optional] +**Description** | **String** | the description for the role | [optional] +**SourceName** | **String** | the associated source name if it exists | [optional] +**RemoveDate** | **String** | the date the role is no longer assigned to the specified identity | [optional] +**Revocable** | **Boolean** | indicates whether the role is revocable | + +## Examples + +- Prepare the resource +```powershell +$AccessItemRoleResponse = Initialize-PSSailpointV2024AccessItemRoleResponse -AccessType role ` + -Id 2c918087763e69d901763e72e97f006f ` + -DisplayName sample ` + -Description Role - Workday/Citizenship access ` + -SourceName Source Name ` + -RemoveDate 2024-07-01T06:00:00.00Z ` + -Revocable true +``` + +- Convert the resource to JSON +```powershell +$AccessItemRoleResponse | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessProfile.md b/PSSailpoint/v2024/docs/AccessProfile.md new file mode 100644 index 000000000..b8574705a --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessProfile.md @@ -0,0 +1,47 @@ +# AccessProfile +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The ID of the Access Profile | [optional] [readonly] +**Name** | **String** | Name of the Access Profile | +**Description** | **String** | Information about the Access Profile | [optional] +**Created** | **System.DateTime** | Date the Access Profile was created | [optional] [readonly] +**Modified** | **System.DateTime** | Date the Access Profile was last modified. | [optional] [readonly] +**Enabled** | **Boolean** | Whether the Access Profile is enabled. If the Access Profile is enabled then you must include at least one Entitlement. | [optional] [default to $true] +**Owner** | [**OwnerReference**](OwnerReference.md) | | +**Source** | [**AccessProfileSourceRef**](AccessProfileSourceRef.md) | | +**Entitlements** | [**EntitlementRef[]**](EntitlementRef.md) | A list of entitlements associated with the Access Profile. If enabled is false this is allowed to be empty otherwise it needs to contain at least one Entitlement. | [optional] +**Requestable** | **Boolean** | Whether the Access Profile is requestable via access request. Currently, making an Access Profile non-requestable is only supported for customers enabled with the new Request Center. Otherwise, attempting to create an Access Profile with a value **false** in this field results in a 400 error. | [optional] [default to $true] +**AccessRequestConfig** | [**Requestability**](Requestability.md) | | [optional] +**RevocationRequestConfig** | [**Revocability**](Revocability.md) | | [optional] +**Segments** | **String[]** | List of IDs of segments, if any, to which this Access Profile is assigned. | [optional] +**ProvisioningCriteria** | [**ProvisioningCriteriaLevel1**](ProvisioningCriteriaLevel1.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccessProfile = Initialize-PSSailpointV2024AccessProfile -Id 2c91808a7190d06e01719938fcd20792 ` + -Name Employee-database-read-write ` + -Description Collection of entitlements to read/write the employee database ` + -Created 2021-03-01T22:32:58.104Z ` + -Modified 2021-03-02T20:22:28.104Z ` + -Enabled true ` + -Owner null ` + -Source null ` + -Entitlements null ` + -Requestable true ` + -AccessRequestConfig null ` + -RevocationRequestConfig null ` + -Segments [f7b1b8a3-5fed-4fd4-ad29-82014e137e19, 29cb6c06-1da8-43ea-8be4-b3125f248f2a] ` + -ProvisioningCriteria null +``` + +- Convert the resource to JSON +```powershell +$AccessProfile | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessProfileApprovalScheme.md b/PSSailpoint/v2024/docs/AccessProfileApprovalScheme.md new file mode 100644 index 000000000..29a9c4470 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessProfileApprovalScheme.md @@ -0,0 +1,23 @@ +# AccessProfileApprovalScheme +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApproverType** | **String** | Describes the individual or group that is responsible for an approval step. Values are as follows. **APP_OWNER**: The owner of the Application **OWNER**: Owner of the associated Access Profile or Role **SOURCE_OWNER**: Owner of the Source associated with an Access Profile **MANAGER**: Manager of the Identity making the request **GOVERNANCE_GROUP**: A Governance Group, the ID of which is specified by the **approverId** field | [optional] +**ApproverId** | **String** | Id of the specific approver, used only when approverType is GOVERNANCE_GROUP | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccessProfileApprovalScheme = Initialize-PSSailpointV2024AccessProfileApprovalScheme -ApproverType GOVERNANCE_GROUP ` + -ApproverId 46c79819-a69f-49a2-becb-12c971ae66c6 +``` + +- Convert the resource to JSON +```powershell +$AccessProfileApprovalScheme | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessProfileBulkDeleteRequest.md b/PSSailpoint/v2024/docs/AccessProfileBulkDeleteRequest.md new file mode 100644 index 000000000..6b2ec4b9e --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessProfileBulkDeleteRequest.md @@ -0,0 +1,23 @@ +# AccessProfileBulkDeleteRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AccessProfileIds** | **String[]** | List of IDs of Access Profiles to be deleted. | [optional] +**BestEffortOnly** | **Boolean** | If **true**, silently skip over any of the specified Access Profiles if they cannot be deleted because they are in use. If **false**, no deletions will be attempted if any of the Access Profiles are in use. | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccessProfileBulkDeleteRequest = Initialize-PSSailpointV2024AccessProfileBulkDeleteRequest -AccessProfileIds [2c9180847812e0b1017817051919ecca, 2c9180887812e0b201781e129f151816] ` + -BestEffortOnly true +``` + +- Convert the resource to JSON +```powershell +$AccessProfileBulkDeleteRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessProfileBulkDeleteResponse.md b/PSSailpoint/v2024/docs/AccessProfileBulkDeleteResponse.md new file mode 100644 index 000000000..48442914e --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessProfileBulkDeleteResponse.md @@ -0,0 +1,25 @@ +# AccessProfileBulkDeleteResponse +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**TaskId** | **String** | ID of the task which is executing the bulk deletion. This can be passed to the **/task-status** API to track status. | [optional] +**Pending** | **String[]** | List of IDs of Access Profiles which are pending deletion. | [optional] +**InUse** | [**AccessProfileUsage[]**](AccessProfileUsage.md) | List of usages of Access Profiles targeted for deletion. | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccessProfileBulkDeleteResponse = Initialize-PSSailpointV2024AccessProfileBulkDeleteResponse -TaskId 2c9180867817ac4d017817c491119a20 ` + -Pending [2c91808876438bbb017668c21919ecca, 2c91808876438bb201766e129f151816] ` + -InUse null +``` + +- Convert the resource to JSON +```powershell +$AccessProfileBulkDeleteResponse | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessProfileBulkUpdateRequestInner.md b/PSSailpoint/v2024/docs/AccessProfileBulkUpdateRequestInner.md new file mode 100644 index 000000000..9dc6a774f --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessProfileBulkUpdateRequestInner.md @@ -0,0 +1,23 @@ +# AccessProfileBulkUpdateRequestInner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Access Profile ID. | [optional] +**Requestable** | **Boolean** | Access Profile is requestable or not. | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccessProfileBulkUpdateRequestInner = Initialize-PSSailpointV2024AccessProfileBulkUpdateRequestInner -Id 464ae7bf-791e-49fd-b746-06a2e4a8 ` + -Requestable false +``` + +- Convert the resource to JSON +```powershell +$AccessProfileBulkUpdateRequestInner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessProfileDocument.md b/PSSailpoint/v2024/docs/AccessProfileDocument.md new file mode 100644 index 000000000..691b80bd0 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessProfileDocument.md @@ -0,0 +1,49 @@ +# AccessProfileDocument +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Access profile's ID. | +**Name** | **String** | Access profile's name. | +**Description** | **String** | Access item's description. | [optional] +**Created** | **System.DateTime** | ISO-8601 date-time referring to the time when the object was created. | [optional] +**Modified** | **System.DateTime** | ISO-8601 date-time referring to the time when the object was last modified. | [optional] +**Synced** | **System.DateTime** | ISO-8601 date-time referring to the date-time when object was queued to be synced into search database for use in the search API. This date-time changes anytime there is an update to the object, which triggers a synchronization event being sent to the search database. There may be some delay between the `synced` time and the time when the updated data is actually available in the search API. | [optional] +**Enabled** | **Boolean** | Indicates whether the access item is currently enabled. | [optional] [default to $false] +**Requestable** | **Boolean** | Indicates whether the access item can be requested. | [optional] [default to $true] +**RequestCommentsRequired** | **Boolean** | Indicates whether comments are required for requests to access the item. | [optional] [default to $false] +**Owner** | [**BaseAccessAllOfOwner**](BaseAccessAllOfOwner.md) | | [optional] +**Type** | **String** | Access profile's document type. This enum represents the currently supported document types. Additional values may be added in the future without notice. | +**Source** | [**AccessProfileDocumentAllOfSource**](AccessProfileDocumentAllOfSource.md) | | [optional] +**Entitlements** | [**BaseEntitlement[]**](BaseEntitlement.md) | Entitlements the access profile has access to. | [optional] +**EntitlementCount** | **Int32** | Number of entitlements. | [optional] +**Tags** | **String[]** | Tags that have been applied to the object. | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccessProfileDocument = Initialize-PSSailpointV2024AccessProfileDocument -Id 2c9180825a6c1adc015a71c9023f0818 ` + -Name Cloud Eng ` + -Description The admin role ` + -Created 2018-06-25T20:22:28.104Z ` + -Modified 2018-06-25T20:22:28.104Z ` + -Synced 2018-06-25T20:22:33.104Z ` + -Enabled true ` + -Requestable true ` + -RequestCommentsRequired false ` + -Owner null ` + -Type accessprofile ` + -Source null ` + -Entitlements null ` + -EntitlementCount 5 ` + -Tags [TAG_1, TAG_2] +``` + +- Convert the resource to JSON +```powershell +$AccessProfileDocument | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessProfileDocumentAllOfSource.md b/PSSailpoint/v2024/docs/AccessProfileDocumentAllOfSource.md new file mode 100644 index 000000000..2922b1b03 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessProfileDocumentAllOfSource.md @@ -0,0 +1,23 @@ +# AccessProfileDocumentAllOfSource +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Source's ID. | [optional] +**Name** | **String** | Source's name. | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccessProfileDocumentAllOfSource = Initialize-PSSailpointV2024AccessProfileDocumentAllOfSource -Id ff8081815757d4fb0157588f3d9d008f ` + -Name Employees +``` + +- Convert the resource to JSON +```powershell +$AccessProfileDocumentAllOfSource | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessProfileEntitlement.md b/PSSailpoint/v2024/docs/AccessProfileEntitlement.md new file mode 100644 index 000000000..7c0fb02c4 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessProfileEntitlement.md @@ -0,0 +1,39 @@ +# AccessProfileEntitlement +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The unique ID of the referenced object. | [optional] +**Name** | **String** | The human readable name of the referenced object. | [optional] +**DisplayName** | **String** | | [optional] +**Type** | [**DtoType**](DtoType.md) | | [optional] +**Description** | **String** | | [optional] +**Source** | [**Reference1**](Reference1.md) | | [optional] +**Privileged** | **Boolean** | | [optional] +**Attribute** | **String** | | [optional] +**Value** | **String** | | [optional] +**Standalone** | **Boolean** | | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccessProfileEntitlement = Initialize-PSSailpointV2024AccessProfileEntitlement -Id 2c91808568c529c60168cca6f90c1313 ` + -Name John Doe ` + -DisplayName John Q. Doe ` + -Type null ` + -Description null ` + -Source null ` + -Privileged false ` + -Attribute memberOf ` + -Value CN=Buyer,OU=Groups,OU=Demo,DC=seri,DC=sailpointdemo,DC=com ` + -Standalone false +``` + +- Convert the resource to JSON +```powershell +$AccessProfileEntitlement | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessProfileRef.md b/PSSailpoint/v2024/docs/AccessProfileRef.md new file mode 100644 index 000000000..0203819f9 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessProfileRef.md @@ -0,0 +1,25 @@ +# AccessProfileRef +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | ID of the Access Profile | [optional] +**Type** | **String** | Type of requested object. This field must be either left null or set to 'ACCESS_PROFILE' when creating an Access Profile, otherwise a 400 Bad Request error will result. | [optional] +**Name** | **String** | Human-readable display name of the Access Profile. This field is ignored on input. | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccessProfileRef = Initialize-PSSailpointV2024AccessProfileRef -Id ff808081751e6e129f1518161919ecca ` + -Type ACCESS_PROFILE ` + -Name Access Profile 2567 +``` + +- Convert the resource to JSON +```powershell +$AccessProfileRef | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessProfileRole.md b/PSSailpoint/v2024/docs/AccessProfileRole.md new file mode 100644 index 000000000..633d21b05 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessProfileRole.md @@ -0,0 +1,35 @@ +# AccessProfileRole +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The unique ID of the referenced object. | [optional] +**Name** | **String** | The human readable name of the referenced object. | [optional] +**DisplayName** | **String** | | [optional] +**Type** | [**DtoType**](DtoType.md) | | [optional] +**Description** | **String** | | [optional] +**Owner** | [**DisplayReference**](DisplayReference.md) | | [optional] +**Disabled** | **Boolean** | | [optional] +**Revocable** | **Boolean** | | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccessProfileRole = Initialize-PSSailpointV2024AccessProfileRole -Id 2c91808568c529c60168cca6f90c1313 ` + -Name John Doe ` + -DisplayName John Q. Doe ` + -Type null ` + -Description null ` + -Owner null ` + -Disabled null ` + -Revocable null +``` + +- Convert the resource to JSON +```powershell +$AccessProfileRole | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessProfileSourceRef.md b/PSSailpoint/v2024/docs/AccessProfileSourceRef.md new file mode 100644 index 000000000..a4b67ac4d --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessProfileSourceRef.md @@ -0,0 +1,25 @@ +# AccessProfileSourceRef +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The ID of the Source with with which the Access Profile is associated | [optional] +**Type** | **String** | The type of the Source, will always be SOURCE | [optional] +**Name** | **String** | The display name of the associated Source | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccessProfileSourceRef = Initialize-PSSailpointV2024AccessProfileSourceRef -Id 2c91809773dee3610173fdb0b6061ef4 ` + -Type SOURCE ` + -Name ODS-AD-SOURCE +``` + +- Convert the resource to JSON +```powershell +$AccessProfileSourceRef | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessProfileSummary.md b/PSSailpoint/v2024/docs/AccessProfileSummary.md new file mode 100644 index 000000000..19f571bbc --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessProfileSummary.md @@ -0,0 +1,35 @@ +# AccessProfileSummary +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The unique ID of the referenced object. | [optional] +**Name** | **String** | The human readable name of the referenced object. | [optional] +**DisplayName** | **String** | | [optional] +**Type** | [**DtoType**](DtoType.md) | | [optional] +**Description** | **String** | | [optional] +**Source** | [**Reference1**](Reference1.md) | | [optional] +**Owner** | [**DisplayReference**](DisplayReference.md) | | [optional] +**Revocable** | **Boolean** | | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccessProfileSummary = Initialize-PSSailpointV2024AccessProfileSummary -Id 2c91808568c529c60168cca6f90c1313 ` + -Name John Doe ` + -DisplayName John Q. Doe ` + -Type null ` + -Description null ` + -Source null ` + -Owner null ` + -Revocable true +``` + +- Convert the resource to JSON +```powershell +$AccessProfileSummary | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessProfileUpdateItem.md b/PSSailpoint/v2024/docs/AccessProfileUpdateItem.md new file mode 100644 index 000000000..245e2b4fe --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessProfileUpdateItem.md @@ -0,0 +1,31 @@ +# AccessProfileUpdateItem +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Identifier of Access Profile in bulk update request. | +**Requestable** | **Boolean** | Access Profile requestable or not. | +**Status** | **String** | The HTTP response status code returned for an individual Access Profile that is requested for update during a bulk update operation. > 201 - Access profile is updated successfully. > 404 - Access profile not found. | +**Description** | **String** | Human readable status description and containing additional context information about success or failures etc. | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccessProfileUpdateItem = Initialize-PSSailpointV2024AccessProfileUpdateItem -Id 2c7180a46faadee4016fb4e018c20642 ` + -Requestable false ` + -Status 201 ` + -Description +> Access profile is updated successfully. + +> Referenced Access profile with Id "2c7180a46faadee4016fb4e018c20642" was not found. + +``` + +- Convert the resource to JSON +```powershell +$AccessProfileUpdateItem | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessProfileUsage.md b/PSSailpoint/v2024/docs/AccessProfileUsage.md new file mode 100644 index 000000000..0e883d7f0 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessProfileUsage.md @@ -0,0 +1,23 @@ +# AccessProfileUsage +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AccessProfileId** | **String** | ID of the Access Profile that is in use | [optional] +**UsedBy** | [**AccessProfileUsageUsedByInner[]**](AccessProfileUsageUsedByInner.md) | List of references to objects which are using the indicated Access Profile | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccessProfileUsage = Initialize-PSSailpointV2024AccessProfileUsage -AccessProfileId 2c91808876438bbb017668c21919ecca ` + -UsedBy null +``` + +- Convert the resource to JSON +```powershell +$AccessProfileUsage | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessProfileUsageUsedByInner.md b/PSSailpoint/v2024/docs/AccessProfileUsageUsedByInner.md new file mode 100644 index 000000000..2f85c5edf --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessProfileUsageUsedByInner.md @@ -0,0 +1,25 @@ +# AccessProfileUsageUsedByInner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | DTO type of role using the access profile. | [optional] +**Id** | **String** | ID of role using the access profile. | [optional] +**Name** | **String** | Display name of role using the access profile. | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccessProfileUsageUsedByInner = Initialize-PSSailpointV2024AccessProfileUsageUsedByInner -Type ROLE ` + -Id 2c8180857a9b3da0017aa03418480f9d ` + -Name Manager Role +``` + +- Convert the resource to JSON +```powershell +$AccessProfileUsageUsedByInner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessRecommendationMessage.md b/PSSailpoint/v2024/docs/AccessRecommendationMessage.md new file mode 100644 index 000000000..7dfcef2bf --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessRecommendationMessage.md @@ -0,0 +1,21 @@ +# AccessRecommendationMessage +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Interpretation** | **String** | Information about why the access item was recommended. | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccessRecommendationMessage = Initialize-PSSailpointV2024AccessRecommendationMessage -Interpretation 95% of your peers have this access. +``` + +- Convert the resource to JSON +```powershell +$AccessRecommendationMessage | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessRequest.md b/PSSailpoint/v2024/docs/AccessRequest.md new file mode 100644 index 000000000..3414519d9 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessRequest.md @@ -0,0 +1,27 @@ +# AccessRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**RequestedFor** | **String[]** | A list of Identity IDs for whom the Access is requested. If it's a Revoke request, there can only be one Identity ID. | +**RequestType** | [**AccessRequestType**](AccessRequestType.md) | | [optional] +**RequestedItems** | [**AccessRequestItem[]**](AccessRequestItem.md) | | +**ClientMetadata** | **System.Collections.Hashtable** | Arbitrary key-value pairs. They will never be processed by the IdentityNow system but will be returned on associated APIs such as /account-activities. | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccessRequest = Initialize-PSSailpointV2024AccessRequest -RequestedFor null ` + -RequestType null ` + -RequestedItems null ` + -ClientMetadata {requestedAppId=2c91808f7892918f0178b78da4a305a1, requestedAppName=test-app} +``` + +- Convert the resource to JSON +```powershell +$AccessRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessRequestConfig.md b/PSSailpoint/v2024/docs/AccessRequestConfig.md new file mode 100644 index 000000000..d818f79ff --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessRequestConfig.md @@ -0,0 +1,29 @@ +# AccessRequestConfig +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApprovalsMustBeExternal** | **Boolean** | If this is true, approvals must be processed by an external system. Also, if this is true, it blocks Request Center access requests and returns an error for any user who isn't an org admin. | [optional] [default to $false] +**AutoApprovalEnabled** | **Boolean** | If this is true and the requester and reviewer are the same, the request is automatically approved. | [optional] [default to $false] +**RequestOnBehalfOfConfig** | [**RequestOnBehalfOfConfig**](RequestOnBehalfOfConfig.md) | | [optional] +**ApprovalReminderAndEscalationConfig** | [**ApprovalReminderAndEscalationConfig**](ApprovalReminderAndEscalationConfig.md) | | [optional] +**EntitlementRequestConfig** | [**EntitlementRequestConfig1**](EntitlementRequestConfig1.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccessRequestConfig = Initialize-PSSailpointV2024AccessRequestConfig -ApprovalsMustBeExternal true ` + -AutoApprovalEnabled true ` + -RequestOnBehalfOfConfig null ` + -ApprovalReminderAndEscalationConfig null ` + -EntitlementRequestConfig null +``` + +- Convert the resource to JSON +```powershell +$AccessRequestConfig | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessRequestContext.md b/PSSailpoint/v2024/docs/AccessRequestContext.md new file mode 100644 index 000000000..b6ad1bd55 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessRequestContext.md @@ -0,0 +1,21 @@ +# AccessRequestContext +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ContextAttributes** | [**ContextAttributeDto[]**](ContextAttributeDto.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccessRequestContext = Initialize-PSSailpointV2024AccessRequestContext -ContextAttributes null +``` + +- Convert the resource to JSON +```powershell +$AccessRequestContext | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessRequestDynamicApprover.md b/PSSailpoint/v2024/docs/AccessRequestDynamicApprover.md new file mode 100644 index 000000000..7a0b79d24 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessRequestDynamicApprover.md @@ -0,0 +1,27 @@ +# AccessRequestDynamicApprover +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AccessRequestId** | **String** | The unique ID of the access request object. Can be used with the [access request status endpoint](https://developer.sailpoint.com/idn/api/beta/list-access-request-status) to get the status of the request. | +**RequestedFor** | [**AccessItemRequestedForDto[]**](AccessItemRequestedForDto.md) | Identities access was requested for. | +**RequestedItems** | [**AccessRequestDynamicApproverRequestedItemsInner[]**](AccessRequestDynamicApproverRequestedItemsInner.md) | The access items that are being requested. | +**RequestedBy** | [**AccessItemRequesterDto**](AccessItemRequesterDto.md) | | + +## Examples + +- Prepare the resource +```powershell +$AccessRequestDynamicApprover = Initialize-PSSailpointV2024AccessRequestDynamicApprover -AccessRequestId 4b4d982dddff4267ab12f0f1e72b5a6d ` + -RequestedFor null ` + -RequestedItems null ` + -RequestedBy null +``` + +- Convert the resource to JSON +```powershell +$AccessRequestDynamicApprover | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessRequestDynamicApprover1.md b/PSSailpoint/v2024/docs/AccessRequestDynamicApprover1.md new file mode 100644 index 000000000..a52467baf --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessRequestDynamicApprover1.md @@ -0,0 +1,25 @@ +# AccessRequestDynamicApprover1 +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The unique ID of the identity to add to the approver list for the access request. | +**Name** | **String** | The name of the identity to add to the approver list for the access request. | +**Type** | [**SystemCollectionsHashtable**](.md) | The type of object being referenced. | + +## Examples + +- Prepare the resource +```powershell +$AccessRequestDynamicApprover1 = Initialize-PSSailpointV2024AccessRequestDynamicApprover1 -Id 2c91808b6ef1d43e016efba0ce470906 ` + -Name Adam Adams ` + -Type IDENTITY +``` + +- Convert the resource to JSON +```powershell +$AccessRequestDynamicApprover1 | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessRequestDynamicApproverRequestedItemsInner.md b/PSSailpoint/v2024/docs/AccessRequestDynamicApproverRequestedItemsInner.md new file mode 100644 index 000000000..941060db6 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessRequestDynamicApproverRequestedItemsInner.md @@ -0,0 +1,31 @@ +# AccessRequestDynamicApproverRequestedItemsInner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The unique ID of the access item. | +**Name** | **String** | Human friendly name of the access item. | +**Description** | **String** | Extended description of the access item. | [optional] +**Type** | [**SystemCollectionsHashtable**](.md) | The type of access item being requested. | +**Operation** | [**SystemCollectionsHashtable**](.md) | Grant or revoke the access item | +**Comment** | **String** | A comment from the requestor on why the access is needed. | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccessRequestDynamicApproverRequestedItemsInner = Initialize-PSSailpointV2024AccessRequestDynamicApproverRequestedItemsInner -Id 2c91808b6ef1d43e016efba0ce470904 ` + -Name Engineering Access ` + -Description Engineering Access ` + -Type ACCESS_PROFILE ` + -Operation Add ` + -Comment William needs this access for his day to day job activities. +``` + +- Convert the resource to JSON +```powershell +$AccessRequestDynamicApproverRequestedItemsInner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessRequestItem.md b/PSSailpoint/v2024/docs/AccessRequestItem.md new file mode 100644 index 000000000..7366789b5 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessRequestItem.md @@ -0,0 +1,29 @@ +# AccessRequestItem +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | The type of the item being requested. | +**Id** | **String** | ID of Role, Access Profile or Entitlement being requested. | +**Comment** | **String** | Comment provided by requester. * Comment is required when the request is of type Revoke Access. | [optional] +**ClientMetadata** | **System.Collections.Hashtable** | Arbitrary key-value pairs. They will never be processed by the IdentityNow system but will be returned on associated APIs such as /account-activities and /access-request-status. | [optional] +**RemoveDate** | **System.DateTime** | The date the role or access profile or entitlement is no longer assigned to the specified identity. Also known as the expiration date. * Specify a date in the future. * The current SLA for the deprovisioning is 24 hours. * This date can be modified to either extend or decrease the duration of access item assignments for the specified identity. You can change the expiration date for requests for yourself or direct reports, but you cannot remove an expiration date on an already approved item. If the access request has not been approved, you can cancel it and submit a new one without the expiration. If it has already been approved, then you have to revoke the access and then re-request without the expiration. | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccessRequestItem = Initialize-PSSailpointV2024AccessRequestItem -Type ACCESS_PROFILE ` + -Id 2c9180835d2e5168015d32f890ca1581 ` + -Comment Requesting access profile for John Doe ` + -ClientMetadata {requestedAppName=test-app, requestedAppId=2c91808f7892918f0178b78da4a305a1} ` + -RemoveDate 2020-07-11T21:23:15Z +``` + +- Convert the resource to JSON +```powershell +$AccessRequestItem | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessRequestItemResponse.md b/PSSailpoint/v2024/docs/AccessRequestItemResponse.md new file mode 100644 index 000000000..0e68e2963 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessRequestItemResponse.md @@ -0,0 +1,35 @@ +# AccessRequestItemResponse +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Operation** | **String** | the access request item operation | [optional] +**AccessItemType** | **String** | the access item type | [optional] +**Name** | **String** | the name of access request item | [optional] +**Decision** | **String** | the final decision for the access request | [optional] +**Description** | **String** | the description of access request item | [optional] +**SourceId** | **String** | the source id | [optional] +**SourceName** | **String** | the source Name | [optional] +**ApprovalInfos** | [**ApprovalInfoResponse[]**](ApprovalInfoResponse.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccessRequestItemResponse = Initialize-PSSailpointV2024AccessRequestItemResponse -Operation Add ` + -AccessItemType role ` + -Name Role-1 ` + -Decision APPROVED ` + -Description The role descrition ` + -SourceId 8a80828f643d484f01643e14202e206f ` + -SourceName Source1 ` + -ApprovalInfos [{name=John Snow, id=8a80828f643d484f01643e14202e2000, status=Approved}] +``` + +- Convert the resource to JSON +```powershell +$AccessRequestItemResponse | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessRequestPhases.md b/PSSailpoint/v2024/docs/AccessRequestPhases.md new file mode 100644 index 000000000..76ceec2ec --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessRequestPhases.md @@ -0,0 +1,31 @@ +# AccessRequestPhases +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Started** | **System.DateTime** | The time that this phase started. | [optional] +**Finished** | **System.DateTime** | The time that this phase finished. | [optional] +**Name** | **String** | The name of this phase. | [optional] +**State** | **String** | The state of this phase. | [optional] +**Result** | **String** | The state of this phase. | [optional] +**PhaseReference** | **String** | A reference to another object on the RequestedItemStatus that contains more details about the phase. Note that for the Provisioning phase, this will be empty if there are no manual work items. | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccessRequestPhases = Initialize-PSSailpointV2024AccessRequestPhases -Started 2020-07-11T00:00Z ` + -Finished 2020-07-12T00:00Z ` + -Name APPROVAL_PHASE ` + -State COMPLETED ` + -Result SUCCESSFUL ` + -PhaseReference approvalDetails +``` + +- Convert the resource to JSON +```powershell +$AccessRequestPhases | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessRequestPostApproval.md b/PSSailpoint/v2024/docs/AccessRequestPostApproval.md new file mode 100644 index 000000000..6d9f40342 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessRequestPostApproval.md @@ -0,0 +1,27 @@ +# AccessRequestPostApproval +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AccessRequestId** | **String** | The unique ID of the access request. | +**RequestedFor** | [**AccessItemRequestedForDto[]**](AccessItemRequestedForDto.md) | Identities access was requested for. | +**RequestedItemsStatus** | [**AccessRequestPostApprovalRequestedItemsStatusInner[]**](AccessRequestPostApprovalRequestedItemsStatusInner.md) | Details on the outcome of each access item. | +**RequestedBy** | [**AccessItemRequesterDto**](AccessItemRequesterDto.md) | | + +## Examples + +- Prepare the resource +```powershell +$AccessRequestPostApproval = Initialize-PSSailpointV2024AccessRequestPostApproval -AccessRequestId 2c91808b6ef1d43e016efba0ce470904 ` + -RequestedFor null ` + -RequestedItemsStatus null ` + -RequestedBy null +``` + +- Convert the resource to JSON +```powershell +$AccessRequestPostApproval | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessRequestPostApprovalRequestedItemsStatusInner.md b/PSSailpoint/v2024/docs/AccessRequestPostApprovalRequestedItemsStatusInner.md new file mode 100644 index 000000000..06898a0ee --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessRequestPostApprovalRequestedItemsStatusInner.md @@ -0,0 +1,35 @@ +# AccessRequestPostApprovalRequestedItemsStatusInner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The unique ID of the access item being requested. | +**Name** | **String** | The human friendly name of the access item. | +**Description** | **String** | Detailed description of the access item. | [optional] +**Type** | [**SystemCollectionsHashtable**](.md) | The type of access item. | +**Operation** | [**SystemCollectionsHashtable**](.md) | The action to perform on the access item. | +**Comment** | **String** | A comment from the identity requesting the access. | [optional] +**ClientMetadata** | [**System.Collections.Hashtable**](AnyType.md) | Additional customer defined metadata about the access item. | [optional] +**ApprovalInfo** | [**AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInner[]**](AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInner.md) | A list of one or more approvers for the access request. | + +## Examples + +- Prepare the resource +```powershell +$AccessRequestPostApprovalRequestedItemsStatusInner = Initialize-PSSailpointV2024AccessRequestPostApprovalRequestedItemsStatusInner -Id 2c91808b6ef1d43e016efba0ce470904 ` + -Name Engineering Access ` + -Description Access to engineering database ` + -Type ACCESS_PROFILE ` + -Operation Add ` + -Comment William needs this access to do his job. ` + -ClientMetadata {applicationName=My application} ` + -ApprovalInfo null +``` + +- Convert the resource to JSON +```powershell +$AccessRequestPostApprovalRequestedItemsStatusInner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInner.md b/PSSailpoint/v2024/docs/AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInner.md new file mode 100644 index 000000000..ff08b91b2 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInner.md @@ -0,0 +1,27 @@ +# AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApprovalComment** | **String** | A comment left by the approver. | [optional] +**ApprovalDecision** | [**SystemCollectionsHashtable**](.md) | The final decision of the approver. | +**ApproverName** | **String** | The name of the approver | +**Approver** | [**AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInnerApprover**](AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInnerApprover.md) | | + +## Examples + +- Prepare the resource +```powershell +$AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInner = Initialize-PSSailpointV2024AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInner -ApprovalComment This access looks good. Approved. ` + -ApprovalDecision APPROVED ` + -ApproverName Stephen.Austin ` + -Approver null +``` + +- Convert the resource to JSON +```powershell +$AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInnerApprover.md b/PSSailpoint/v2024/docs/AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInnerApprover.md new file mode 100644 index 000000000..64dc9cb10 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInnerApprover.md @@ -0,0 +1,25 @@ +# AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInnerApprover +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | [**SystemCollectionsHashtable**](.md) | The type of object that is referenced | +**Id** | **String** | ID of identity who approved the access item request. | +**Name** | **String** | Human-readable display name of identity who approved the access item request. | + +## Examples + +- Prepare the resource +```powershell +$AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInnerApprover = Initialize-PSSailpointV2024AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInnerApprover -Type IDENTITY ` + -Id 2c3780a46faadee4016fb4e018c20652 ` + -Name Allen Albertson +``` + +- Convert the resource to JSON +```powershell +$AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInnerApprover | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessRequestPreApproval.md b/PSSailpoint/v2024/docs/AccessRequestPreApproval.md new file mode 100644 index 000000000..640cea091 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessRequestPreApproval.md @@ -0,0 +1,27 @@ +# AccessRequestPreApproval +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AccessRequestId** | **String** | The unique ID of the access request. | +**RequestedFor** | [**AccessItemRequestedForDto[]**](AccessItemRequestedForDto.md) | Identities access was requested for. | +**RequestedItems** | [**AccessRequestPreApprovalRequestedItemsInner[]**](AccessRequestPreApprovalRequestedItemsInner.md) | Details of the access items being requested. | +**RequestedBy** | [**AccessItemRequesterDto**](AccessItemRequesterDto.md) | | + +## Examples + +- Prepare the resource +```powershell +$AccessRequestPreApproval = Initialize-PSSailpointV2024AccessRequestPreApproval -AccessRequestId 2c91808b6ef1d43e016efba0ce470904 ` + -RequestedFor null ` + -RequestedItems null ` + -RequestedBy null +``` + +- Convert the resource to JSON +```powershell +$AccessRequestPreApproval | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessRequestPreApproval1.md b/PSSailpoint/v2024/docs/AccessRequestPreApproval1.md new file mode 100644 index 000000000..e0764255d --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessRequestPreApproval1.md @@ -0,0 +1,25 @@ +# AccessRequestPreApproval1 +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Approved** | **Boolean** | Whether or not to approve the access request. | +**Comment** | **String** | A comment about the decision to approve or deny the request. | +**Approver** | **String** | The name of the entity that approved or denied the request. | + +## Examples + +- Prepare the resource +```powershell +$AccessRequestPreApproval1 = Initialize-PSSailpointV2024AccessRequestPreApproval1 -Approved false ` + -Comment This access should be denied, because this will cause an SOD violation. ` + -Approver AcmeCorpExternalIntegration +``` + +- Convert the resource to JSON +```powershell +$AccessRequestPreApproval1 | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessRequestPreApprovalRequestedItemsInner.md b/PSSailpoint/v2024/docs/AccessRequestPreApprovalRequestedItemsInner.md new file mode 100644 index 000000000..6c5f85932 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessRequestPreApprovalRequestedItemsInner.md @@ -0,0 +1,31 @@ +# AccessRequestPreApprovalRequestedItemsInner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The unique ID of the access item being requested. | +**Name** | **String** | The human friendly name of the access item. | +**Description** | **String** | Detailed description of the access item. | [optional] +**Type** | [**SystemCollectionsHashtable**](.md) | The type of access item. | +**Operation** | [**SystemCollectionsHashtable**](.md) | The action to perform on the access item. | +**Comment** | **String** | A comment from the identity requesting the access. | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccessRequestPreApprovalRequestedItemsInner = Initialize-PSSailpointV2024AccessRequestPreApprovalRequestedItemsInner -Id 2c91808b6ef1d43e016efba0ce470904 ` + -Name Engineering Access ` + -Description Access to engineering database ` + -Type ACCESS_PROFILE ` + -Operation Add ` + -Comment William needs this access to do his job. +``` + +- Convert the resource to JSON +```powershell +$AccessRequestPreApprovalRequestedItemsInner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessRequestRecommendationActionItemDto.md b/PSSailpoint/v2024/docs/AccessRequestRecommendationActionItemDto.md new file mode 100644 index 000000000..1da3abb6b --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessRequestRecommendationActionItemDto.md @@ -0,0 +1,23 @@ +# AccessRequestRecommendationActionItemDto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**IdentityId** | **String** | The identity ID taking the action. | +**Access** | [**AccessRequestRecommendationItem**](AccessRequestRecommendationItem.md) | | + +## Examples + +- Prepare the resource +```powershell +$AccessRequestRecommendationActionItemDto = Initialize-PSSailpointV2024AccessRequestRecommendationActionItemDto -IdentityId 2c91808570313110017040b06f344ec9 ` + -Access null +``` + +- Convert the resource to JSON +```powershell +$AccessRequestRecommendationActionItemDto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessRequestRecommendationActionItemResponseDto.md b/PSSailpoint/v2024/docs/AccessRequestRecommendationActionItemResponseDto.md new file mode 100644 index 000000000..3cfb96fcc --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessRequestRecommendationActionItemResponseDto.md @@ -0,0 +1,25 @@ +# AccessRequestRecommendationActionItemResponseDto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**IdentityId** | **String** | The identity ID taking the action. | [optional] +**Access** | [**AccessRequestRecommendationItem**](AccessRequestRecommendationItem.md) | | [optional] +**Timestamp** | **System.DateTime** | | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccessRequestRecommendationActionItemResponseDto = Initialize-PSSailpointV2024AccessRequestRecommendationActionItemResponseDto -IdentityId 2c91808570313110017040b06f344ec9 ` + -Access null ` + -Timestamp 2017-07-11T18:45:37.098Z +``` + +- Convert the resource to JSON +```powershell +$AccessRequestRecommendationActionItemResponseDto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessRequestRecommendationItem.md b/PSSailpoint/v2024/docs/AccessRequestRecommendationItem.md new file mode 100644 index 000000000..55703605d --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessRequestRecommendationItem.md @@ -0,0 +1,23 @@ +# AccessRequestRecommendationItem +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | ID of access item being recommended. | [optional] +**Type** | [**AccessRequestRecommendationItemType**](AccessRequestRecommendationItemType.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccessRequestRecommendationItem = Initialize-PSSailpointV2024AccessRequestRecommendationItem -Id 2c9180835d2e5168015d32f890ca1581 ` + -Type null +``` + +- Convert the resource to JSON +```powershell +$AccessRequestRecommendationItem | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessRequestRecommendationItemDetail.md b/PSSailpoint/v2024/docs/AccessRequestRecommendationItemDetail.md new file mode 100644 index 000000000..1bad2b122 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessRequestRecommendationItemDetail.md @@ -0,0 +1,33 @@ +# AccessRequestRecommendationItemDetail +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**IdentityId** | **String** | Identity ID for the recommendation | [optional] +**Access** | [**AccessRequestRecommendationItemDetailAccess**](AccessRequestRecommendationItemDetailAccess.md) | | [optional] +**Ignored** | **Boolean** | Whether or not the identity has already chosen to ignore this recommendation. | [optional] +**Requested** | **Boolean** | Whether or not the identity has already chosen to request this recommendation. | [optional] +**Viewed** | **Boolean** | Whether or not the identity reportedly viewed this recommendation. | [optional] +**Messages** | [**AccessRecommendationMessage[]**](AccessRecommendationMessage.md) | | [optional] +**TranslationMessages** | [**TranslationMessage[]**](TranslationMessage.md) | The list of translation messages | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccessRequestRecommendationItemDetail = Initialize-PSSailpointV2024AccessRequestRecommendationItemDetail -IdentityId 2c91808570313110017040b06f344ec9 ` + -Access null ` + -Ignored true ` + -Requested true ` + -Viewed true ` + -Messages null ` + -TranslationMessages [{key=recommender-api.V2_WEIGHT_FEATURE_PRODUCT_INTERPRETATION_HIGH, values=[75, department]}] +``` + +- Convert the resource to JSON +```powershell +$AccessRequestRecommendationItemDetail | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessRequestRecommendationItemDetailAccess.md b/PSSailpoint/v2024/docs/AccessRequestRecommendationItemDetailAccess.md new file mode 100644 index 000000000..1ceb79474 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessRequestRecommendationItemDetailAccess.md @@ -0,0 +1,27 @@ +# AccessRequestRecommendationItemDetailAccess +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | ID of access item being recommended. | [optional] +**Type** | [**AccessRequestRecommendationItemType**](AccessRequestRecommendationItemType.md) | | [optional] +**Name** | **String** | Name of the access item | [optional] +**Description** | **String** | Description of the access item | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccessRequestRecommendationItemDetailAccess = Initialize-PSSailpointV2024AccessRequestRecommendationItemDetailAccess -Id 2c9180835d2e5168015d32f890ca1581 ` + -Type null ` + -Name Employee-database-read-write ` + -Description This item grants an employee read and write access to the database +``` + +- Convert the resource to JSON +```powershell +$AccessRequestRecommendationItemDetailAccess | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessRequestRecommendationItemType.md b/PSSailpoint/v2024/docs/AccessRequestRecommendationItemType.md new file mode 100644 index 000000000..c72a0ea0d --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessRequestRecommendationItemType.md @@ -0,0 +1,20 @@ +# AccessRequestRecommendationItemType +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$AccessRequestRecommendationItemType = Initialize-PSSailpointV2024AccessRequestRecommendationItemType +``` + +- Convert the resource to JSON +```powershell +$AccessRequestRecommendationItemType | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessRequestResponse.md b/PSSailpoint/v2024/docs/AccessRequestResponse.md new file mode 100644 index 000000000..f26d01cb0 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessRequestResponse.md @@ -0,0 +1,25 @@ +# AccessRequestResponse +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**RequesterId** | **String** | the requester Id | [optional] +**RequesterName** | **String** | the requesterName | [optional] +**Items** | [**AccessRequestItemResponse[]**](AccessRequestItemResponse.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccessRequestResponse = Initialize-PSSailpointV2024AccessRequestResponse -RequesterId 2c91808a77ff216301782327a50f09bf ` + -RequesterName Bing C ` + -Items [{operation=Add, accessItemType=role, name=Role-1, decision=APPROVED, description=The role descrition, sourceId=8a80828f643d484f01643e14202e206f, sourceName=Source1, approvalInfos=[{name=John Snow, id=8a80828f643d484f01643e14202e2000, status=Approved}]}] +``` + +- Convert the resource to JSON +```powershell +$AccessRequestResponse | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessRequestType.md b/PSSailpoint/v2024/docs/AccessRequestType.md new file mode 100644 index 000000000..88bb4c8a9 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessRequestType.md @@ -0,0 +1,20 @@ +# AccessRequestType +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$AccessRequestType = Initialize-PSSailpointV2024AccessRequestType +``` + +- Convert the resource to JSON +```powershell +$AccessRequestType | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessRequested.md b/PSSailpoint/v2024/docs/AccessRequested.md new file mode 100644 index 000000000..fd8b0ae9d --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessRequested.md @@ -0,0 +1,27 @@ +# AccessRequested +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AccessRequest** | [**AccessRequestResponse**](AccessRequestResponse.md) | | [optional] +**IdentityId** | **String** | the identity id | [optional] +**EventType** | **String** | the event type | [optional] +**Dt** | **String** | the date of event | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccessRequested = Initialize-PSSailpointV2024AccessRequested -AccessRequest null ` + -IdentityId 8a80828f643d484f01643e14202e206f ` + -EventType AccessRequested ` + -Dt 2019-03-08T22:37:33.901Z +``` + +- Convert the resource to JSON +```powershell +$AccessRequested | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessReviewItem.md b/PSSailpoint/v2024/docs/AccessReviewItem.md new file mode 100644 index 000000000..77f60c7c6 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessReviewItem.md @@ -0,0 +1,33 @@ +# AccessReviewItem +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AccessSummary** | [**AccessSummary**](AccessSummary.md) | | [optional] +**IdentitySummary** | [**CertificationIdentitySummary**](CertificationIdentitySummary.md) | | [optional] +**Id** | **String** | The review item's id | [optional] +**Completed** | **Boolean** | Whether the review item is complete | [optional] +**NewAccess** | **Boolean** | Indicates whether the review item is for new access to a source | [optional] +**Decision** | [**CertificationDecision**](CertificationDecision.md) | | [optional] +**Comments** | **String** | Comments for this review item | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccessReviewItem = Initialize-PSSailpointV2024AccessReviewItem -AccessSummary null ` + -IdentitySummary null ` + -Id ef38f94347e94562b5bb8424a56397d8 ` + -Completed false ` + -NewAccess false ` + -Decision null ` + -Comments This user still needs access to this source +``` + +- Convert the resource to JSON +```powershell +$AccessReviewItem | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessReviewReassignment.md b/PSSailpoint/v2024/docs/AccessReviewReassignment.md new file mode 100644 index 000000000..915dee9e4 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessReviewReassignment.md @@ -0,0 +1,25 @@ +# AccessReviewReassignment +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Reassign** | [**ReassignReference[]**](ReassignReference.md) | | +**ReassignTo** | **String** | The ID of the identity to which the certification is reassigned | +**Reason** | **String** | The reason comment for why the reassign was made | + +## Examples + +- Prepare the resource +```powershell +$AccessReviewReassignment = Initialize-PSSailpointV2024AccessReviewReassignment -Reassign null ` + -ReassignTo ef38f94347e94562b5bb8424a56397d8 ` + -Reason reassigned for some reason +``` + +- Convert the resource to JSON +```powershell +$AccessReviewReassignment | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessSummary.md b/PSSailpoint/v2024/docs/AccessSummary.md new file mode 100644 index 000000000..c92aef0e2 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessSummary.md @@ -0,0 +1,27 @@ +# AccessSummary +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Access** | [**AccessSummaryAccess**](AccessSummaryAccess.md) | | [optional] +**Entitlement** | [**ReviewableEntitlement**](ReviewableEntitlement.md) | | [optional] +**AccessProfile** | [**ReviewableAccessProfile**](ReviewableAccessProfile.md) | | [optional] +**Role** | [**ReviewableRole**](ReviewableRole.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccessSummary = Initialize-PSSailpointV2024AccessSummary -Access null ` + -Entitlement null ` + -AccessProfile null ` + -Role null +``` + +- Convert the resource to JSON +```powershell +$AccessSummary | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessSummaryAccess.md b/PSSailpoint/v2024/docs/AccessSummaryAccess.md new file mode 100644 index 000000000..f9e69cea3 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessSummaryAccess.md @@ -0,0 +1,25 @@ +# AccessSummaryAccess +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | [**DtoType**](DtoType.md) | | [optional] +**Id** | **String** | The ID of the item being certified | [optional] +**Name** | **String** | The name of the item being certified | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccessSummaryAccess = Initialize-PSSailpointV2024AccessSummaryAccess -Type null ` + -Id 2c9180867160846801719932c5153fb7 ` + -Name Entitlement for Company Database +``` + +- Convert the resource to JSON +```powershell +$AccessSummaryAccess | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccessType.md b/PSSailpoint/v2024/docs/AccessType.md new file mode 100644 index 000000000..bb4a4ca01 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccessType.md @@ -0,0 +1,20 @@ +# AccessType +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$AccessType = Initialize-PSSailpointV2024AccessType +``` + +- Convert the resource to JSON +```powershell +$AccessType | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Account.md b/PSSailpoint/v2024/docs/Account.md new file mode 100644 index 000000000..c59b018c4 --- /dev/null +++ b/PSSailpoint/v2024/docs/Account.md @@ -0,0 +1,75 @@ +# Account +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | System-generated unique ID of the Object | [optional] [readonly] +**Name** | **String** | Name of the Object | +**Created** | **System.DateTime** | Creation date of the Object | [optional] [readonly] +**Modified** | **System.DateTime** | Last modification date of the Object | [optional] [readonly] +**SourceId** | **String** | The unique ID of the source this account belongs to | +**SourceName** | **String** | The display name of the source this account belongs to | +**IdentityId** | **String** | The unique ID of the identity this account is correlated to | [optional] +**CloudLifecycleState** | **String** | The lifecycle state of the identity this account is correlated to | [optional] +**IdentityState** | **String** | The identity state of the identity this account is correlated to | [optional] +**ConnectionType** | **String** | The connection type of the source this account is from | [optional] +**Type** | **String** | The type of the account | [optional] +**Attributes** | [**System.Collections.Hashtable**](AnyType.md) | The account attributes that are aggregated | +**Authoritative** | **Boolean** | Indicates if this account is from an authoritative source | +**Description** | **String** | A description of the account | [optional] +**Disabled** | **Boolean** | Indicates if the account is currently disabled | +**Locked** | **Boolean** | Indicates if the account is currently locked | +**NativeIdentity** | **String** | The unique ID of the account generated by the source system | +**SystemAccount** | **Boolean** | If true, this is a user account within IdentityNow. If false, this is an account from a source system. | +**Uncorrelated** | **Boolean** | Indicates if this account is not correlated to an identity | +**Uuid** | **String** | The unique ID of the account as determined by the account schema | [optional] +**ManuallyCorrelated** | **Boolean** | Indicates if the account has been manually correlated to an identity | +**HasEntitlements** | **Boolean** | Indicates if the account has entitlements | +**Identity** | [**BaseReferenceDto**](BaseReferenceDto.md) | | [optional] +**SourceOwner** | [**AccountAllOfSourceOwner**](AccountAllOfSourceOwner.md) | | [optional] +**Features** | **String** | A string list containing the owning source's features | [optional] +**Origin** | **String** | The origin of the account either aggregated or provisioned | [optional] +**OwnerIdentity** | [**AccountAllOfOwnerIdentity**](AccountAllOfOwnerIdentity.md) | | [optional] +**OwnerGroup** | [**AccountAllOfOwnerGroup**](AccountAllOfOwnerGroup.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$Account = Initialize-PSSailpointV2024Account -Id id12345 ` + -Name aName ` + -Created 2015-05-28T14:07:17Z ` + -Modified 2015-05-28T14:07:17Z ` + -SourceId 2c9180835d2e5168015d32f890ca1581 ` + -SourceName Employees ` + -IdentityId 2c9180835d2e5168015d32f890ca1581 ` + -CloudLifecycleState active ` + -IdentityState ACTIVE ` + -ConnectionType direct ` + -Type NON_HUMAN ` + -Attributes {firstName=SailPoint, lastName=Support, displayName=SailPoint Support} ` + -Authoritative false ` + -Description null ` + -Disabled false ` + -Locked false ` + -NativeIdentity 552775 ` + -SystemAccount false ` + -Uncorrelated false ` + -Uuid slpt.support ` + -ManuallyCorrelated false ` + -HasEntitlements true ` + -Identity null ` + -SourceOwner null ` + -Features ENABLE ` + -Origin AGGREGATED ` + -OwnerIdentity null ` + -OwnerGroup null +``` + +- Convert the resource to JSON +```powershell +$Account | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccountAction.md b/PSSailpoint/v2024/docs/AccountAction.md new file mode 100644 index 000000000..9de63ab9d --- /dev/null +++ b/PSSailpoint/v2024/docs/AccountAction.md @@ -0,0 +1,23 @@ +# AccountAction +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Action** | **String** | Describes if action will be enabled or disabled | [optional] +**SourceIds** | **String[]** | List of unique source IDs. The sources must have the ENABLE feature or flat file source. See ""/sources"" endpoint for source features. | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccountAction = Initialize-PSSailpointV2024AccountAction -Action ENABLE ` + -SourceIds [2c918084660f45d6016617daa9210584, 2c918084660f45d6016617daa9210500] +``` + +- Convert the resource to JSON +```powershell +$AccountAction | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccountActivity.md b/PSSailpoint/v2024/docs/AccountActivity.md new file mode 100644 index 000000000..5724bb640 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccountActivity.md @@ -0,0 +1,47 @@ +# AccountActivity +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Id of the account activity | [optional] +**Name** | **String** | The name of the activity | [optional] +**Created** | **System.DateTime** | When the activity was first created | [optional] +**Modified** | **System.DateTime** | When the activity was last modified | [optional] +**Completed** | **System.DateTime** | When the activity was completed | [optional] +**CompletionStatus** | [**CompletionStatus**](CompletionStatus.md) | | [optional] +**Type** | **String** | The type of action the activity performed. Please see the following list of types. This list may grow over time. - CloudAutomated - IdentityAttributeUpdate - appRequest - LifecycleStateChange - AccountStateUpdate - AccountAttributeUpdate - CloudPasswordRequest - Attribute Synchronization Refresh - Certification - Identity Refresh - Lifecycle Change Refresh [Learn more here](https://documentation.sailpoint.com/saas/help/search/searchable-fields.html#searching-account-activity-data). | [optional] +**RequesterIdentitySummary** | [**IdentitySummary**](IdentitySummary.md) | | [optional] +**TargetIdentitySummary** | [**IdentitySummary**](IdentitySummary.md) | | [optional] +**Errors** | **String[]** | A list of error messages, if any, that were encountered. | [optional] +**Warnings** | **String[]** | A list of warning messages, if any, that were encountered. | [optional] +**Items** | [**AccountActivityItem[]**](AccountActivityItem.md) | Individual actions performed as part of this account activity | [optional] +**ExecutionStatus** | [**ExecutionStatus**](ExecutionStatus.md) | | [optional] +**ClientMetadata** | **System.Collections.Hashtable** | Arbitrary key-value pairs, if any were included in the corresponding access request | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccountActivity = Initialize-PSSailpointV2024AccountActivity -Id 2c9180835d2e5168015d32f890ca1581 ` + -Name 2c9180835d2e5168015d32f890ca1581 ` + -Created 2017-07-11T18:45:37.098Z ` + -Modified 2018-06-25T20:22:28.104Z ` + -Completed 2018-10-19T13:49:37.385Z ` + -CompletionStatus null ` + -Type appRequest ` + -RequesterIdentitySummary null ` + -TargetIdentitySummary null ` + -Errors [sailpoint.connector.ConnectorException: java.lang.InterruptedException: Timeout waiting for response to message 0 from client 57a4ab97-ab3f-4aef-9fe2-0eaf15c73d26 after 60 seconds.] ` + -Warnings [Some warning, another warning] ` + -Items null ` + -ExecutionStatus null ` + -ClientMetadata {customKey1=custom value 1, customKey2=custom value 2} +``` + +- Convert the resource to JSON +```powershell +$AccountActivity | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccountActivityApprovalStatus.md b/PSSailpoint/v2024/docs/AccountActivityApprovalStatus.md new file mode 100644 index 000000000..e86d20fa8 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccountActivityApprovalStatus.md @@ -0,0 +1,20 @@ +# AccountActivityApprovalStatus +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$AccountActivityApprovalStatus = Initialize-PSSailpointV2024AccountActivityApprovalStatus +``` + +- Convert the resource to JSON +```powershell +$AccountActivityApprovalStatus | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccountActivityDocument.md b/PSSailpoint/v2024/docs/AccountActivityDocument.md new file mode 100644 index 000000000..9999100e8 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccountActivityDocument.md @@ -0,0 +1,57 @@ +# AccountActivityDocument +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | | +**Name** | **String** | | +**Type** | [**DocumentType**](DocumentType.md) | | +**Action** | **String** | Type of action performed in the activity. | [optional] +**Created** | **System.DateTime** | ISO-8601 date-time referring to the time when the object was created. | [optional] +**Modified** | **System.DateTime** | ISO-8601 date-time referring to the time when the object was last modified. | [optional] +**Stage** | **String** | Activity's current stage. | [optional] +**Origin** | **String** | Activity's origin. | [optional] +**Status** | **String** | Activity's current status. | [optional] +**Requester** | [**AccountSource**](AccountSource.md) | | [optional] +**Recipient** | [**AccountSource**](AccountSource.md) | | [optional] +**TrackingNumber** | **String** | Account activity's tracking number. | [optional] +**Errors** | **String[]** | Errors provided by the source while completing account actions. | [optional] +**Warnings** | **String[]** | Warnings provided by the source while completing account actions. | [optional] +**Approvals** | [**Approval1[]**](Approval1.md) | Approvals performed on an item during activity. | [optional] +**OriginalRequests** | [**OriginalRequest[]**](OriginalRequest.md) | Original actions that triggered all individual source actions related to the account action. | [optional] +**ExpansionItems** | [**ExpansionItem[]**](ExpansionItem.md) | Controls that translated the attribute requests into actual provisioning actions on the source. | [optional] +**AccountRequests** | [**AccountRequest[]**](AccountRequest.md) | Account data for each individual source action triggered by the original requests. | [optional] +**Sources** | **String** | Sources involved in the account activity. | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccountActivityDocument = Initialize-PSSailpointV2024AccountActivityDocument -Id 2c91808375d8e80a0175e1f88a575222 ` + -Name john.doe ` + -Type null ` + -Action Identity Refresh. ` + -Created 2018-06-25T20:22:28.104Z ` + -Modified 2018-06-25T20:22:28.104Z ` + -Stage Completed ` + -Origin null ` + -Status Complete ` + -Requester null ` + -Recipient null ` + -TrackingNumber 61aad0c9e8134eca89e76a35e0cabe3f ` + -Errors null ` + -Warnings null ` + -Approvals null ` + -OriginalRequests null ` + -ExpansionItems null ` + -AccountRequests null ` + -Sources smartsheet-test, airtable-v4, IdentityNow +``` + +- Convert the resource to JSON +```powershell +$AccountActivityDocument | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccountActivityItem.md b/PSSailpoint/v2024/docs/AccountActivityItem.md new file mode 100644 index 000000000..aa2af49fe --- /dev/null +++ b/PSSailpoint/v2024/docs/AccountActivityItem.md @@ -0,0 +1,51 @@ +# AccountActivityItem +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Item id | [optional] +**Name** | **String** | Human-readable display name of item | [optional] +**Requested** | **System.DateTime** | Date and time item was requested | [optional] +**ApprovalStatus** | [**AccountActivityApprovalStatus**](AccountActivityApprovalStatus.md) | | [optional] +**ProvisioningStatus** | [**ProvisioningState**](ProvisioningState.md) | | [optional] +**RequesterComment** | [**Comment**](Comment.md) | | [optional] +**ReviewerIdentitySummary** | [**IdentitySummary**](IdentitySummary.md) | | [optional] +**ReviewerComment** | [**Comment**](Comment.md) | | [optional] +**Operation** | [**AccountActivityItemOperation**](AccountActivityItemOperation.md) | | [optional] +**Attribute** | **String** | Attribute to which account activity applies | [optional] +**Value** | **String** | Value of attribute | [optional] +**NativeIdentity** | **String** | Native identity in the target system to which the account activity applies | [optional] +**SourceId** | **String** | Id of Source to which account activity applies | [optional] +**AccountRequestInfo** | [**AccountRequestInfo**](AccountRequestInfo.md) | | [optional] +**ClientMetadata** | **System.Collections.Hashtable** | Arbitrary key-value pairs, if any were included in the corresponding access request item | [optional] +**RemoveDate** | **System.DateTime** | The date the role or access profile or entitlement is no longer assigned to the specified identity. | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccountActivityItem = Initialize-PSSailpointV2024AccountActivityItem -Id 48c545831b264409a81befcabb0e3c5a ` + -Name 48c545831b264409a81befcabb0e3c5a ` + -Requested 2017-07-11T18:45:37.098Z ` + -ApprovalStatus null ` + -ProvisioningStatus null ` + -RequesterComment null ` + -ReviewerIdentitySummary null ` + -ReviewerComment null ` + -Operation null ` + -Attribute detectedRoles ` + -Value Treasury Analyst [AccessProfile-1529010191212] ` + -NativeIdentity Sandie.Camero ` + -SourceId 2c91808363ef85290164000587130c0c ` + -AccountRequestInfo null ` + -ClientMetadata {customKey1=custom value 1, customKey2=custom value 2} ` + -RemoveDate 2020-07-11T00:00Z +``` + +- Convert the resource to JSON +```powershell +$AccountActivityItem | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccountActivityItemOperation.md b/PSSailpoint/v2024/docs/AccountActivityItemOperation.md new file mode 100644 index 000000000..b5e6419b8 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccountActivityItemOperation.md @@ -0,0 +1,20 @@ +# AccountActivityItemOperation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$AccountActivityItemOperation = Initialize-PSSailpointV2024AccountActivityItemOperation +``` + +- Convert the resource to JSON +```powershell +$AccountActivityItemOperation | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccountActivitySearchedItem.md b/PSSailpoint/v2024/docs/AccountActivitySearchedItem.md new file mode 100644 index 000000000..da5639d48 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccountActivitySearchedItem.md @@ -0,0 +1,57 @@ +# AccountActivitySearchedItem +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | | +**Name** | **String** | | +**Type** | [**DocumentType**](DocumentType.md) | | +**Action** | **String** | Type of action performed in the activity. | [optional] +**Created** | **System.DateTime** | ISO-8601 date-time referring to the time when the object was created. | [optional] +**Modified** | **System.DateTime** | ISO-8601 date-time referring to the time when the object was last modified. | [optional] +**Stage** | **String** | Activity's current stage. | [optional] +**Origin** | **String** | Activity's origin. | [optional] +**Status** | **String** | Activity's current status. | [optional] +**Requester** | [**AccountSource**](AccountSource.md) | | [optional] +**Recipient** | [**AccountSource**](AccountSource.md) | | [optional] +**TrackingNumber** | **String** | Account activity's tracking number. | [optional] +**Errors** | **String[]** | Errors provided by the source while completing account actions. | [optional] +**Warnings** | **String[]** | Warnings provided by the source while completing account actions. | [optional] +**Approvals** | [**Approval1[]**](Approval1.md) | Approvals performed on an item during activity. | [optional] +**OriginalRequests** | [**OriginalRequest[]**](OriginalRequest.md) | Original actions that triggered all individual source actions related to the account action. | [optional] +**ExpansionItems** | [**ExpansionItem[]**](ExpansionItem.md) | Controls that translated the attribute requests into actual provisioning actions on the source. | [optional] +**AccountRequests** | [**AccountRequest[]**](AccountRequest.md) | Account data for each individual source action triggered by the original requests. | [optional] +**Sources** | **String** | Sources involved in the account activity. | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccountActivitySearchedItem = Initialize-PSSailpointV2024AccountActivitySearchedItem -Id 2c91808375d8e80a0175e1f88a575222 ` + -Name john.doe ` + -Type null ` + -Action Identity Refresh. ` + -Created 2018-06-25T20:22:28.104Z ` + -Modified 2018-06-25T20:22:28.104Z ` + -Stage Completed ` + -Origin null ` + -Status Complete ` + -Requester null ` + -Recipient null ` + -TrackingNumber 61aad0c9e8134eca89e76a35e0cabe3f ` + -Errors null ` + -Warnings null ` + -Approvals null ` + -OriginalRequests null ` + -ExpansionItems null ` + -AccountRequests null ` + -Sources smartsheet-test, airtable-v4, IdentityNow +``` + +- Convert the resource to JSON +```powershell +$AccountActivitySearchedItem | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccountAggregationCompleted.md b/PSSailpoint/v2024/docs/AccountAggregationCompleted.md new file mode 100644 index 000000000..c5682611c --- /dev/null +++ b/PSSailpoint/v2024/docs/AccountAggregationCompleted.md @@ -0,0 +1,33 @@ +# AccountAggregationCompleted +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Source** | [**AccountAggregationCompletedSource**](AccountAggregationCompletedSource.md) | | +**Status** | [**SystemCollectionsHashtable**](.md) | The overall status of the aggregation. | +**Started** | **System.DateTime** | The date and time when the account aggregation started. | +**Completed** | **System.DateTime** | The date and time when the account aggregation finished. | +**Errors** | **String[]** | A list of errors that occurred during the aggregation. | +**Warnings** | **String[]** | A list of warnings that occurred during the aggregation. | +**Stats** | [**AccountAggregationCompletedStats**](AccountAggregationCompletedStats.md) | | + +## Examples + +- Prepare the resource +```powershell +$AccountAggregationCompleted = Initialize-PSSailpointV2024AccountAggregationCompleted -Source null ` + -Status Success ` + -Started 2020-06-29T22:01:50.474Z ` + -Completed 2020-06-29T22:02:04.090Z ` + -Errors null ` + -Warnings null ` + -Stats null +``` + +- Convert the resource to JSON +```powershell +$AccountAggregationCompleted | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccountAggregationCompletedSource.md b/PSSailpoint/v2024/docs/AccountAggregationCompletedSource.md new file mode 100644 index 000000000..223a9a311 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccountAggregationCompletedSource.md @@ -0,0 +1,25 @@ +# AccountAggregationCompletedSource +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | The DTO type of the source the accounts are being aggregated from. | +**Id** | **String** | The ID of the source the accounts are being aggregated from. | +**Name** | **String** | Display name of the source the accounts are being aggregated from. | + +## Examples + +- Prepare the resource +```powershell +$AccountAggregationCompletedSource = Initialize-PSSailpointV2024AccountAggregationCompletedSource -Type SOURCE ` + -Id 2c9180835d191a86015d28455b4b232a ` + -Name HR Active Directory +``` + +- Convert the resource to JSON +```powershell +$AccountAggregationCompletedSource | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccountAggregationCompletedStats.md b/PSSailpoint/v2024/docs/AccountAggregationCompletedStats.md new file mode 100644 index 000000000..428710201 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccountAggregationCompletedStats.md @@ -0,0 +1,29 @@ +# AccountAggregationCompletedStats +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Scanned** | **Int32** | The number of accounts which were scanned / iterated over. | +**Unchanged** | **Int32** | The number of accounts which existed before, but had no changes. | +**Changed** | **Int32** | The number of accounts which existed before, but had changes. | +**Added** | **Int32** | The number of accounts which are new - have not existed before. | +**Removed** | **Int32** | The number accounts which existed before, but no longer exist (thus getting removed). | + +## Examples + +- Prepare the resource +```powershell +$AccountAggregationCompletedStats = Initialize-PSSailpointV2024AccountAggregationCompletedStats -Scanned 200 ` + -Unchanged 190 ` + -Changed 6 ` + -Added 4 ` + -Removed 3 +``` + +- Convert the resource to JSON +```powershell +$AccountAggregationCompletedStats | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccountAggregationStatus.md b/PSSailpoint/v2024/docs/AccountAggregationStatus.md new file mode 100644 index 000000000..06dba270e --- /dev/null +++ b/PSSailpoint/v2024/docs/AccountAggregationStatus.md @@ -0,0 +1,27 @@ +# AccountAggregationStatus +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Start** | **System.DateTime** | When the aggregation started. | [optional] +**Status** | **String** | STARTED - Aggregation started, but source account iteration has not completed. ACCOUNTS_COLLECTED - Source account iteration completed, but all accounts have not yet been processed. COMPLETED - Aggregation completed (*possibly with errors*). CANCELLED - Aggregation cancelled by user. RETRIED - Aggregation retried because of connectivity issues with the Virtual Appliance. TERMINATED - Aggregation marked as failed after 3 tries after connectivity issues with the Virtual Appliance. | [optional] +**TotalAccounts** | **Int32** | The total number of *NEW, CHANGED and DELETED* accounts that need to be processed for this aggregation. This does not include accounts that were unchanged since the previous aggregation. This can be zero if there were no new, changed or deleted accounts since the previous aggregation. *Only available when status is ACCOUNTS_COLLECTED or COMPLETED.* | [optional] +**ProcessedAccounts** | **Int32** | The number of *NEW, CHANGED and DELETED* accounts that have been processed so far. This reflects the number of accounts that have been processed at the time of the API call, and may increase on subsequent API calls while the status is ACCOUNTS_COLLECTED. *Only available when status is ACCOUNTS_COLLECTED or COMPLETED.* | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccountAggregationStatus = Initialize-PSSailpointV2024AccountAggregationStatus -Start 2021-01-31T14:30:05.104Z ` + -Status ACCOUNTS_COLLECTED ` + -TotalAccounts 520 ` + -ProcessedAccounts 150 +``` + +- Convert the resource to JSON +```powershell +$AccountAggregationStatus | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccountAllOfOwnerGroup.md b/PSSailpoint/v2024/docs/AccountAllOfOwnerGroup.md new file mode 100644 index 000000000..1cbaca588 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccountAllOfOwnerGroup.md @@ -0,0 +1,25 @@ +# AccountAllOfOwnerGroup +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | The type of object being referenced | [optional] +**Id** | **String** | ID of the governance group | [optional] +**Name** | **String** | Human-readable display name of the governance group | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccountAllOfOwnerGroup = Initialize-PSSailpointV2024AccountAllOfOwnerGroup -Type GOVERNANCE_GROUP ` + -Id 8d3e0094e99445de98eef6c75e25jc04 ` + -Name GovGroup AX17Z +``` + +- Convert the resource to JSON +```powershell +$AccountAllOfOwnerGroup | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccountAllOfOwnerIdentity.md b/PSSailpoint/v2024/docs/AccountAllOfOwnerIdentity.md new file mode 100644 index 000000000..556514cc0 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccountAllOfOwnerIdentity.md @@ -0,0 +1,25 @@ +# AccountAllOfOwnerIdentity +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | The type of object being referenced | [optional] +**Id** | **String** | ID of the identity | [optional] +**Name** | **String** | Human-readable display name of the identity | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccountAllOfOwnerIdentity = Initialize-PSSailpointV2024AccountAllOfOwnerIdentity -Type IDENTITY ` + -Id 2c918084660f45d6016617daa9210584 ` + -Name Adam Kennedy +``` + +- Convert the resource to JSON +```powershell +$AccountAllOfOwnerIdentity | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccountAllOfSourceOwner.md b/PSSailpoint/v2024/docs/AccountAllOfSourceOwner.md new file mode 100644 index 000000000..734d78d41 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccountAllOfSourceOwner.md @@ -0,0 +1,25 @@ +# AccountAllOfSourceOwner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | Type of owner object. | [optional] +**Id** | **String** | Identity id | [optional] +**Name** | **String** | Human-readable display name of the owner. | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccountAllOfSourceOwner = Initialize-PSSailpointV2024AccountAllOfSourceOwner -Type IDENTITY ` + -Id 4c5c8534e99445de98eef6c75e25eb01 ` + -Name John Cavender +``` + +- Convert the resource to JSON +```powershell +$AccountAllOfSourceOwner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccountAttribute.md b/PSSailpoint/v2024/docs/AccountAttribute.md new file mode 100644 index 000000000..978559485 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccountAttribute.md @@ -0,0 +1,37 @@ +# AccountAttribute +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**SourceName** | **String** | A reference to the source to search for the account | +**AttributeName** | **String** | The name of the attribute on the account to return. This should match the name of the account attribute name visible in the user interface, or on the source schema. | +**AccountSortAttribute** | **String** | The value of this configuration is a string name of the attribute to use when determining the ordering of returned accounts when there are multiple entries | [optional] [default to "created"] +**AccountSortDescending** | **Boolean** | The value of this configuration is a boolean (true/false). Controls the order of the sort when there are multiple accounts. If not defined, the transform will default to false (ascending order) | [optional] [default to $false] +**AccountReturnFirstLink** | **Boolean** | The value of this configuration is a boolean (true/false). Controls which account to source a value from for an attribute. If this flag is set to true, the transform returns the value from the first account in the list, even if it is null. If it is set to false, the transform returns the first non-null value. If not defined, the transform will default to false | [optional] [default to $false] +**AccountFilter** | **String** | This expression queries the database to narrow search results. The value of this configuration is a sailpoint.object.Filter expression and used when searching against the database. The default filter will always include the source and identity, and any subsequent expressions will be combined in an AND operation to the existing search criteria. Only certain searchable attributes are available: - `nativeIdentity` - the Account ID - `displayName` - the Account Name - `entitlements` - a boolean value to determine if the account has entitlements | [optional] +**AccountPropertyFilter** | **String** | This expression is used to search and filter accounts in memory. The value of this configuration is a sailpoint.object.Filter expression and used when searching against the returned resultset. All account attributes are available for filtering as this operation is performed in memory. | [optional] +**RequiresPeriodicRefresh** | **Boolean** | A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process | [optional] [default to $false] +**VarInput** | [**System.Collections.Hashtable**](AnyType.md) | This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI. | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccountAttribute = Initialize-PSSailpointV2024AccountAttribute -SourceName Workday ` + -AttributeName DEPARTMENT ` + -AccountSortAttribute created ` + -AccountSortDescending false ` + -AccountReturnFirstLink false ` + -AccountFilter !(nativeIdentity.startsWith("*DELETED*")) ` + -AccountPropertyFilter (groups.containsAll({'Admin'}) || location == 'Austin') ` + -RequiresPeriodicRefresh false ` + -VarInput {type=accountAttribute, attributes={attributeName=first_name, sourceName=Source}} +``` + +- Convert the resource to JSON +```powershell +$AccountAttribute | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccountAttributes.md b/PSSailpoint/v2024/docs/AccountAttributes.md new file mode 100644 index 000000000..4f3e6d116 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccountAttributes.md @@ -0,0 +1,21 @@ +# AccountAttributes +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Attributes** | [**System.Collections.Hashtable**](AnyType.md) | The schema attribute values for the account | + +## Examples + +- Prepare the resource +```powershell +$AccountAttributes = Initialize-PSSailpointV2024AccountAttributes -Attributes {city=Austin, displayName=John Doe, userName=jdoe, sAMAccountName=jDoe, mail=john.doe@sailpoint.com} +``` + +- Convert the resource to JSON +```powershell +$AccountAttributes | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccountAttributesChanged.md b/PSSailpoint/v2024/docs/AccountAttributesChanged.md new file mode 100644 index 000000000..74f78ed0d --- /dev/null +++ b/PSSailpoint/v2024/docs/AccountAttributesChanged.md @@ -0,0 +1,27 @@ +# AccountAttributesChanged +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Identity** | [**AccountAttributesChangedIdentity**](AccountAttributesChangedIdentity.md) | | +**Source** | [**AccountAttributesChangedSource**](AccountAttributesChangedSource.md) | | +**Account** | [**AccountAttributesChangedAccount**](AccountAttributesChangedAccount.md) | | +**Changes** | [**AccountAttributesChangedChangesInner[]**](AccountAttributesChangedChangesInner.md) | A list of attributes that changed. | + +## Examples + +- Prepare the resource +```powershell +$AccountAttributesChanged = Initialize-PSSailpointV2024AccountAttributesChanged -Identity null ` + -Source null ` + -Account null ` + -Changes null +``` + +- Convert the resource to JSON +```powershell +$AccountAttributesChanged | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccountAttributesChangedAccount.md b/PSSailpoint/v2024/docs/AccountAttributesChangedAccount.md new file mode 100644 index 000000000..1ec442236 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccountAttributesChangedAccount.md @@ -0,0 +1,29 @@ +# AccountAttributesChangedAccount +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | SailPoint generated unique identifier. | +**Uuid** | **String** | The source's unique identifier for the account. UUID is generated by the source system. | +**Name** | **String** | Name of the account. | +**NativeIdentity** | **String** | Unique ID of the account on the source. | +**Type** | [**SystemCollectionsHashtable**](.md) | The type of the account | + +## Examples + +- Prepare the resource +```powershell +$AccountAttributesChangedAccount = Initialize-PSSailpointV2024AccountAttributesChangedAccount -Id 52170a74-ca89-11ea-87d0-0242ac130003 ` + -Uuid 1cb1f07d-3e5a-4431-becd-234fa4306108 ` + -Name john.doe ` + -NativeIdentity cn=john.doe,ou=users,dc=acme,dc=com ` + -Type ACCOUNT +``` + +- Convert the resource to JSON +```powershell +$AccountAttributesChangedAccount | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccountAttributesChangedChangesInner.md b/PSSailpoint/v2024/docs/AccountAttributesChangedChangesInner.md new file mode 100644 index 000000000..df6a40dc5 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccountAttributesChangedChangesInner.md @@ -0,0 +1,25 @@ +# AccountAttributesChangedChangesInner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Attribute** | **String** | The name of the attribute. | +**OldValue** | [**AccountAttributesChangedChangesInnerOldValue**](AccountAttributesChangedChangesInnerOldValue.md) | | +**NewValue** | [**AccountAttributesChangedChangesInnerNewValue**](AccountAttributesChangedChangesInnerNewValue.md) | | + +## Examples + +- Prepare the resource +```powershell +$AccountAttributesChangedChangesInner = Initialize-PSSailpointV2024AccountAttributesChangedChangesInner -Attribute sn ` + -OldValue null ` + -NewValue null +``` + +- Convert the resource to JSON +```powershell +$AccountAttributesChangedChangesInner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccountAttributesChangedChangesInnerNewValue.md b/PSSailpoint/v2024/docs/AccountAttributesChangedChangesInnerNewValue.md new file mode 100644 index 000000000..cfd83e462 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccountAttributesChangedChangesInnerNewValue.md @@ -0,0 +1,20 @@ +# AccountAttributesChangedChangesInnerNewValue +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$AccountAttributesChangedChangesInnerNewValue = Initialize-PSSailpointV2024AccountAttributesChangedChangesInnerNewValue +``` + +- Convert the resource to JSON +```powershell +$AccountAttributesChangedChangesInnerNewValue | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccountAttributesChangedChangesInnerOldValue.md b/PSSailpoint/v2024/docs/AccountAttributesChangedChangesInnerOldValue.md new file mode 100644 index 000000000..f2c5fb649 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccountAttributesChangedChangesInnerOldValue.md @@ -0,0 +1,20 @@ +# AccountAttributesChangedChangesInnerOldValue +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$AccountAttributesChangedChangesInnerOldValue = Initialize-PSSailpointV2024AccountAttributesChangedChangesInnerOldValue +``` + +- Convert the resource to JSON +```powershell +$AccountAttributesChangedChangesInnerOldValue | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccountAttributesChangedIdentity.md b/PSSailpoint/v2024/docs/AccountAttributesChangedIdentity.md new file mode 100644 index 000000000..4d79094d3 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccountAttributesChangedIdentity.md @@ -0,0 +1,25 @@ +# AccountAttributesChangedIdentity +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | DTO type of the identity whose account attributes were updated. | +**Id** | **String** | ID of the identity whose account attributes were updated. | +**Name** | **String** | Display name of the identity whose account attributes were updated. | + +## Examples + +- Prepare the resource +```powershell +$AccountAttributesChangedIdentity = Initialize-PSSailpointV2024AccountAttributesChangedIdentity -Type IDENTITY ` + -Id 2c7180a46faadee4016fb4e018c20642 ` + -Name Michael Michaels +``` + +- Convert the resource to JSON +```powershell +$AccountAttributesChangedIdentity | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccountAttributesChangedSource.md b/PSSailpoint/v2024/docs/AccountAttributesChangedSource.md new file mode 100644 index 000000000..c1950ec51 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccountAttributesChangedSource.md @@ -0,0 +1,25 @@ +# AccountAttributesChangedSource +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | ID of the object to which this reference applies | +**Type** | **String** | The type of object that is referenced | +**Name** | **String** | Human-readable display name of the object to which this reference applies | + +## Examples + +- Prepare the resource +```powershell +$AccountAttributesChangedSource = Initialize-PSSailpointV2024AccountAttributesChangedSource -Id 4e4d982dddff4267ab12f0f1e72b5a6d ` + -Type SOURCE ` + -Name Corporate Active Directory +``` + +- Convert the resource to JSON +```powershell +$AccountAttributesChangedSource | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccountAttributesCreate.md b/PSSailpoint/v2024/docs/AccountAttributesCreate.md new file mode 100644 index 000000000..99a6a0ac2 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccountAttributesCreate.md @@ -0,0 +1,21 @@ +# AccountAttributesCreate +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Attributes** | [**AccountAttributesCreateAttributes**](AccountAttributesCreateAttributes.md) | | + +## Examples + +- Prepare the resource +```powershell +$AccountAttributesCreate = Initialize-PSSailpointV2024AccountAttributesCreate -Attributes null +``` + +- Convert the resource to JSON +```powershell +$AccountAttributesCreate | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccountAttributesCreateAttributes.md b/PSSailpoint/v2024/docs/AccountAttributesCreateAttributes.md new file mode 100644 index 000000000..97653d37d --- /dev/null +++ b/PSSailpoint/v2024/docs/AccountAttributesCreateAttributes.md @@ -0,0 +1,21 @@ +# AccountAttributesCreateAttributes +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**SourceId** | **String** | Target source to create an account | + +## Examples + +- Prepare the resource +```powershell +$AccountAttributesCreateAttributes = Initialize-PSSailpointV2024AccountAttributesCreateAttributes -SourceId 34bfcbe116c9407464af37acbaf7a4dc +``` + +- Convert the resource to JSON +```powershell +$AccountAttributesCreateAttributes | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccountCorrelated.md b/PSSailpoint/v2024/docs/AccountCorrelated.md new file mode 100644 index 000000000..be05def10 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccountCorrelated.md @@ -0,0 +1,29 @@ +# AccountCorrelated +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Identity** | [**AccountCorrelatedIdentity**](AccountCorrelatedIdentity.md) | | +**Source** | [**AccountCorrelatedSource**](AccountCorrelatedSource.md) | | +**Account** | [**AccountCorrelatedAccount**](AccountCorrelatedAccount.md) | | +**Attributes** | [**System.Collections.Hashtable**](AnyType.md) | The attributes associated with the account. Attributes are unique per source. | +**EntitlementCount** | **Int32** | The number of entitlements associated with this account. | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccountCorrelated = Initialize-PSSailpointV2024AccountCorrelated -Identity null ` + -Source null ` + -Account null ` + -Attributes {sn=doe, givenName=john, memberOf=[cn=g1,ou=groups,dc=acme,dc=com, cn=g2,ou=groups,dc=acme,dc=com, cn=g3,ou=groups,dc=acme,dc=com]} ` + -EntitlementCount 0 +``` + +- Convert the resource to JSON +```powershell +$AccountCorrelated | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccountCorrelatedAccount.md b/PSSailpoint/v2024/docs/AccountCorrelatedAccount.md new file mode 100644 index 000000000..ff283957b --- /dev/null +++ b/PSSailpoint/v2024/docs/AccountCorrelatedAccount.md @@ -0,0 +1,29 @@ +# AccountCorrelatedAccount +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | The correlated account's DTO type. | +**Id** | **String** | The correlated account's ID. | +**Name** | **String** | The correlated account's display name. | +**NativeIdentity** | **String** | Unique ID of the account on the source. | +**Uuid** | **String** | The source's unique identifier for the account. UUID is generated by the source system. | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccountCorrelatedAccount = Initialize-PSSailpointV2024AccountCorrelatedAccount -Type ACCOUNT ` + -Id 98da47c31df444558c211f9b205184f6 ` + -Name Brian Mendoza ` + -NativeIdentity cn=john.doe,ou=users,dc=acme,dc=com ` + -Uuid 1cb1f07d-3e5a-4431-becd-234fa4306108 +``` + +- Convert the resource to JSON +```powershell +$AccountCorrelatedAccount | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccountCorrelatedIdentity.md b/PSSailpoint/v2024/docs/AccountCorrelatedIdentity.md new file mode 100644 index 000000000..9475263b0 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccountCorrelatedIdentity.md @@ -0,0 +1,25 @@ +# AccountCorrelatedIdentity +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | DTO type of the identity the account is correlated with. | +**Id** | **String** | ID of the identity the account is correlated with. | +**Name** | **String** | Display name of the identity the account is correlated with. | + +## Examples + +- Prepare the resource +```powershell +$AccountCorrelatedIdentity = Initialize-PSSailpointV2024AccountCorrelatedIdentity -Type IDENTITY ` + -Id 2c7180a46faadee4016fb4e018c20642 ` + -Name Michael Michaels +``` + +- Convert the resource to JSON +```powershell +$AccountCorrelatedIdentity | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccountCorrelatedSource.md b/PSSailpoint/v2024/docs/AccountCorrelatedSource.md new file mode 100644 index 000000000..960f21774 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccountCorrelatedSource.md @@ -0,0 +1,25 @@ +# AccountCorrelatedSource +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | The DTO type of the source the accounts are being correlated from. | +**Id** | **String** | The ID of the source the accounts are being correlated from. | +**Name** | **String** | Display name of the source the accounts are being correlated from. | + +## Examples + +- Prepare the resource +```powershell +$AccountCorrelatedSource = Initialize-PSSailpointV2024AccountCorrelatedSource -Type SOURCE ` + -Id 2c9180835d191a86015d28455b4b232a ` + -Name HR Active Directory +``` + +- Convert the resource to JSON +```powershell +$AccountCorrelatedSource | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccountInfoDto.md b/PSSailpoint/v2024/docs/AccountInfoDto.md new file mode 100644 index 000000000..8e600789c --- /dev/null +++ b/PSSailpoint/v2024/docs/AccountInfoDto.md @@ -0,0 +1,25 @@ +# AccountInfoDto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**NativeIdentity** | **String** | The unique ID of the account generated by the source system | [optional] +**DisplayName** | **String** | Display name for this account | [optional] +**Uuid** | **String** | UUID associated with this account | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccountInfoDto = Initialize-PSSailpointV2024AccountInfoDto -NativeIdentity CN=Abby Smith,OU=Austin,OU=Americas,OU=Demo,DC=seri,DC=acme,DC=com ` + -DisplayName Abby.Smith ` + -Uuid {ad9fc391-246d-40af-b248-b6556a2b7c01} +``` + +- Convert the resource to JSON +```powershell +$AccountInfoDto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccountRequest.md b/PSSailpoint/v2024/docs/AccountRequest.md new file mode 100644 index 000000000..2b7d0b19d --- /dev/null +++ b/PSSailpoint/v2024/docs/AccountRequest.md @@ -0,0 +1,31 @@ +# AccountRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AccountId** | **String** | Unique ID of the account | [optional] +**AttributeRequests** | [**AttributeRequest[]**](AttributeRequest.md) | | [optional] +**Op** | **String** | The operation that was performed | [optional] +**ProvisioningTarget** | [**AccountSource**](AccountSource.md) | | [optional] +**Result** | [**AccountRequestResult**](AccountRequestResult.md) | | [optional] +**Source** | [**AccountSource**](AccountSource.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccountRequest = Initialize-PSSailpointV2024AccountRequest -AccountId John.Doe ` + -AttributeRequests null ` + -Op Modify ` + -ProvisioningTarget null ` + -Result null ` + -Source null +``` + +- Convert the resource to JSON +```powershell +$AccountRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccountRequestInfo.md b/PSSailpoint/v2024/docs/AccountRequestInfo.md new file mode 100644 index 000000000..88fb8f10d --- /dev/null +++ b/PSSailpoint/v2024/docs/AccountRequestInfo.md @@ -0,0 +1,25 @@ +# AccountRequestInfo +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**RequestedObjectId** | **String** | Id of requested object | [optional] +**RequestedObjectName** | **String** | Human-readable name of requested object | [optional] +**RequestedObjectType** | [**RequestableObjectType**](RequestableObjectType.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccountRequestInfo = Initialize-PSSailpointV2024AccountRequestInfo -RequestedObjectId 2c91808563ef85690164001c31140c0c ` + -RequestedObjectName Treasury Analyst ` + -RequestedObjectType null +``` + +- Convert the resource to JSON +```powershell +$AccountRequestInfo | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccountRequestResult.md b/PSSailpoint/v2024/docs/AccountRequestResult.md new file mode 100644 index 000000000..4ce4b5818 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccountRequestResult.md @@ -0,0 +1,25 @@ +# AccountRequestResult +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Errors** | **String[]** | | [optional] +**Status** | **String** | The status of the account request | [optional] +**TicketId** | **String** | | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccountRequestResult = Initialize-PSSailpointV2024AccountRequestResult -Errors null ` + -Status failed ` + -TicketId null +``` + +- Convert the resource to JSON +```powershell +$AccountRequestResult | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccountSource.md b/PSSailpoint/v2024/docs/AccountSource.md new file mode 100644 index 000000000..7df221046 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccountSource.md @@ -0,0 +1,25 @@ +# AccountSource +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The unique ID of the referenced object. | [optional] +**Name** | **String** | The human readable name of the referenced object. | [optional] +**Type** | **String** | Type of source returned. | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccountSource = Initialize-PSSailpointV2024AccountSource -Id 2c91808568c529c60168cca6f90c1313 ` + -Name John Doe ` + -Type Delimited File +``` + +- Convert the resource to JSON +```powershell +$AccountSource | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccountStatusChanged.md b/PSSailpoint/v2024/docs/AccountStatusChanged.md new file mode 100644 index 000000000..dc12acf7e --- /dev/null +++ b/PSSailpoint/v2024/docs/AccountStatusChanged.md @@ -0,0 +1,29 @@ +# AccountStatusChanged +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**EventType** | **String** | the event type | [optional] +**IdentityId** | **String** | the identity id | [optional] +**Dt** | **String** | the date of event | [optional] +**Account** | [**AccountStatusChangedAccount**](AccountStatusChangedAccount.md) | | [optional] +**StatusChange** | [**AccountStatusChangedStatusChange**](AccountStatusChangedStatusChange.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccountStatusChanged = Initialize-PSSailpointV2024AccountStatusChanged -EventType null ` + -IdentityId null ` + -Dt null ` + -Account null ` + -StatusChange null +``` + +- Convert the resource to JSON +```powershell +$AccountStatusChanged | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccountStatusChangedAccount.md b/PSSailpoint/v2024/docs/AccountStatusChangedAccount.md new file mode 100644 index 000000000..a4578d71f --- /dev/null +++ b/PSSailpoint/v2024/docs/AccountStatusChangedAccount.md @@ -0,0 +1,33 @@ +# AccountStatusChangedAccount +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | the ID of the account in the database | [optional] +**NativeIdentity** | **String** | the native identifier of the account | [optional] +**DisplayName** | **String** | the display name of the account | [optional] +**SourceId** | **String** | the ID of the source for this account | [optional] +**SourceName** | **String** | the name of the source for this account | [optional] +**EntitlementCount** | **Int32** | the number of entitlements on this account | [optional] +**AccessType** | **String** | this value is always ""account"" | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccountStatusChangedAccount = Initialize-PSSailpointV2024AccountStatusChangedAccount -Id null ` + -NativeIdentity null ` + -DisplayName null ` + -SourceId null ` + -SourceName null ` + -EntitlementCount null ` + -AccessType null +``` + +- Convert the resource to JSON +```powershell +$AccountStatusChangedAccount | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccountStatusChangedStatusChange.md b/PSSailpoint/v2024/docs/AccountStatusChangedStatusChange.md new file mode 100644 index 000000000..6383ff5c6 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccountStatusChangedStatusChange.md @@ -0,0 +1,23 @@ +# AccountStatusChangedStatusChange +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**PreviousStatus** | **String** | the previous status of the account | [optional] +**NewStatus** | **String** | the new status of the account | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccountStatusChangedStatusChange = Initialize-PSSailpointV2024AccountStatusChangedStatusChange -PreviousStatus null ` + -NewStatus null +``` + +- Convert the resource to JSON +```powershell +$AccountStatusChangedStatusChange | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccountToggleRequest.md b/PSSailpoint/v2024/docs/AccountToggleRequest.md new file mode 100644 index 000000000..c6965b7f4 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccountToggleRequest.md @@ -0,0 +1,23 @@ +# AccountToggleRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ExternalVerificationId** | **String** | If set, an external process validates that the user wants to proceed with this request. | [optional] +**ForceProvisioning** | **Boolean** | If set, provisioning updates the account attribute at the source. This option is used when the account is not synced to ensure the attribute is updated. Providing 'true' for an unlocked account will add and process 'Unlock' operation by the workflow. | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccountToggleRequest = Initialize-PSSailpointV2024AccountToggleRequest -ExternalVerificationId 3f9180835d2e5168015d32f890ca1581 ` + -ForceProvisioning false +``` + +- Convert the resource to JSON +```powershell +$AccountToggleRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccountUncorrelated.md b/PSSailpoint/v2024/docs/AccountUncorrelated.md new file mode 100644 index 000000000..9af8ec335 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccountUncorrelated.md @@ -0,0 +1,27 @@ +# AccountUncorrelated +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Identity** | [**AccountUncorrelatedIdentity**](AccountUncorrelatedIdentity.md) | | +**Source** | [**AccountUncorrelatedSource**](AccountUncorrelatedSource.md) | | +**Account** | [**AccountUncorrelatedAccount**](AccountUncorrelatedAccount.md) | | +**EntitlementCount** | **Int32** | The number of entitlements associated with this account. | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccountUncorrelated = Initialize-PSSailpointV2024AccountUncorrelated -Identity null ` + -Source null ` + -Account null ` + -EntitlementCount 0 +``` + +- Convert the resource to JSON +```powershell +$AccountUncorrelated | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccountUncorrelatedAccount.md b/PSSailpoint/v2024/docs/AccountUncorrelatedAccount.md new file mode 100644 index 000000000..fbc712a93 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccountUncorrelatedAccount.md @@ -0,0 +1,29 @@ +# AccountUncorrelatedAccount +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | [**SystemCollectionsHashtable**](.md) | Uncorrelated account's DTO type. | +**Id** | **String** | Uncorrelated account's ID. | +**Name** | **String** | Uncorrelated account's display name. | +**NativeIdentity** | **String** | Unique ID of the account on the source. | +**Uuid** | **String** | The source's unique identifier for the account. UUID is generated by the source system. | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccountUncorrelatedAccount = Initialize-PSSailpointV2024AccountUncorrelatedAccount -Type ACCOUNT ` + -Id 4dd497e3723e439991cb6d0e478375dd ` + -Name Sadie Jensen ` + -NativeIdentity cn=john.doe,ou=users,dc=acme,dc=com ` + -Uuid 1cb1f07d-3e5a-4431-becd-234fa4306108 +``` + +- Convert the resource to JSON +```powershell +$AccountUncorrelatedAccount | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccountUncorrelatedIdentity.md b/PSSailpoint/v2024/docs/AccountUncorrelatedIdentity.md new file mode 100644 index 000000000..d8f197e3f --- /dev/null +++ b/PSSailpoint/v2024/docs/AccountUncorrelatedIdentity.md @@ -0,0 +1,25 @@ +# AccountUncorrelatedIdentity +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | DTO type of the identity the account is uncorrelated with. | +**Id** | **String** | ID of the identity the account is uncorrelated with. | +**Name** | **String** | Display name of the identity the account is uncorrelated with. | + +## Examples + +- Prepare the resource +```powershell +$AccountUncorrelatedIdentity = Initialize-PSSailpointV2024AccountUncorrelatedIdentity -Type IDENTITY ` + -Id 2c3780a46faadee4016fb4e018c20652 ` + -Name Allen Albertson +``` + +- Convert the resource to JSON +```powershell +$AccountUncorrelatedIdentity | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccountUncorrelatedSource.md b/PSSailpoint/v2024/docs/AccountUncorrelatedSource.md new file mode 100644 index 000000000..9da40fcec --- /dev/null +++ b/PSSailpoint/v2024/docs/AccountUncorrelatedSource.md @@ -0,0 +1,25 @@ +# AccountUncorrelatedSource +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | The DTO type of the source the accounts are uncorrelated from. | +**Id** | **String** | The ID of the source the accounts are uncorrelated from. | +**Name** | **String** | Display name of the source the accounts are uncorrelated from. | + +## Examples + +- Prepare the resource +```powershell +$AccountUncorrelatedSource = Initialize-PSSailpointV2024AccountUncorrelatedSource -Type SOURCE ` + -Id 2c6180835d191a86015d28455b4b231b ` + -Name Corporate Directory +``` + +- Convert the resource to JSON +```powershell +$AccountUncorrelatedSource | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccountUnlockRequest.md b/PSSailpoint/v2024/docs/AccountUnlockRequest.md new file mode 100644 index 000000000..577b1eaa0 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccountUnlockRequest.md @@ -0,0 +1,25 @@ +# AccountUnlockRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ExternalVerificationId** | **String** | If set, an external process validates that the user wants to proceed with this request. | [optional] +**UnlockIDNAccount** | **Boolean** | If set, the IDN account is unlocked after the workflow completes. | [optional] +**ForceProvisioning** | **Boolean** | If set, provisioning updates the account attribute at the source. This option is used when the account is not synced to ensure the attribute is updated. | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccountUnlockRequest = Initialize-PSSailpointV2024AccountUnlockRequest -ExternalVerificationId 3f9180835d2e5168015d32f890ca1581 ` + -UnlockIDNAccount false ` + -ForceProvisioning false +``` + +- Convert the resource to JSON +```powershell +$AccountUnlockRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccountUsage.md b/PSSailpoint/v2024/docs/AccountUsage.md new file mode 100644 index 000000000..34bc79474 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccountUsage.md @@ -0,0 +1,23 @@ +# AccountUsage +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Date** | **System.DateTime** | The first day of the month for which activity is aggregated. | [optional] +**Count** | **Int64** | The number of days within the month that the account was active in a source. | [optional] + +## Examples + +- Prepare the resource +```powershell +$AccountUsage = Initialize-PSSailpointV2024AccountUsage -Date Thu Apr 20 20:00:00 EDT 2023 ` + -Count 10 +``` + +- Convert the resource to JSON +```powershell +$AccountUsage | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccountsAsyncResult.md b/PSSailpoint/v2024/docs/AccountsAsyncResult.md new file mode 100644 index 000000000..70715ac83 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccountsAsyncResult.md @@ -0,0 +1,21 @@ +# AccountsAsyncResult +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | id of the task | + +## Examples + +- Prepare the resource +```powershell +$AccountsAsyncResult = Initialize-PSSailpointV2024AccountsAsyncResult -Id 2c91808474683da6017468693c260195 +``` + +- Convert the resource to JSON +```powershell +$AccountsAsyncResult | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccountsCollectedForAggregation.md b/PSSailpoint/v2024/docs/AccountsCollectedForAggregation.md new file mode 100644 index 000000000..5471d56c6 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccountsCollectedForAggregation.md @@ -0,0 +1,33 @@ +# AccountsCollectedForAggregation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Source** | [**AccountsCollectedForAggregationSource**](AccountsCollectedForAggregationSource.md) | | +**Status** | [**SystemCollectionsHashtable**](.md) | The overall status of the collection. | +**Started** | **System.DateTime** | The date and time when the account collection started. | +**Completed** | **System.DateTime** | The date and time when the account collection finished. | +**Errors** | **String[]** | A list of errors that occurred during the collection. | +**Warnings** | **String[]** | A list of warnings that occurred during the collection. | +**Stats** | [**AccountsCollectedForAggregationStats**](AccountsCollectedForAggregationStats.md) | | + +## Examples + +- Prepare the resource +```powershell +$AccountsCollectedForAggregation = Initialize-PSSailpointV2024AccountsCollectedForAggregation -Source null ` + -Status Success ` + -Started 2020-06-29T22:01:50.474Z ` + -Completed 2020-06-29T22:02:04.090Z ` + -Errors null ` + -Warnings null ` + -Stats null +``` + +- Convert the resource to JSON +```powershell +$AccountsCollectedForAggregation | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccountsCollectedForAggregationSource.md b/PSSailpoint/v2024/docs/AccountsCollectedForAggregationSource.md new file mode 100644 index 000000000..791cfc07c --- /dev/null +++ b/PSSailpoint/v2024/docs/AccountsCollectedForAggregationSource.md @@ -0,0 +1,25 @@ +# AccountsCollectedForAggregationSource +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | ID of the object to which this reference applies | +**Type** | **String** | The type of object that is referenced | +**Name** | **String** | Human-readable display name of the object to which this reference applies | + +## Examples + +- Prepare the resource +```powershell +$AccountsCollectedForAggregationSource = Initialize-PSSailpointV2024AccountsCollectedForAggregationSource -Id 4e4d982dddff4267ab12f0f1e72b5a6d ` + -Type SOURCE ` + -Name Corporate Active Directory +``` + +- Convert the resource to JSON +```powershell +$AccountsCollectedForAggregationSource | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccountsCollectedForAggregationStats.md b/PSSailpoint/v2024/docs/AccountsCollectedForAggregationStats.md new file mode 100644 index 000000000..b1f0a92c1 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccountsCollectedForAggregationStats.md @@ -0,0 +1,29 @@ +# AccountsCollectedForAggregationStats +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Scanned** | **Int32** | The number of accounts which were scanned / iterated over. | +**Unchanged** | **Int32** | The number of accounts which existed before, but had no changes. | +**Changed** | **Int32** | The number of accounts which existed before, but had changes. | +**Added** | **Int32** | The number of accounts which are new - have not existed before. | +**Removed** | **Int32** | The number accounts which existed before, but no longer exist (thus getting removed). | + +## Examples + +- Prepare the resource +```powershell +$AccountsCollectedForAggregationStats = Initialize-PSSailpointV2024AccountsCollectedForAggregationStats -Scanned 200 ` + -Unchanged 190 ` + -Changed 6 ` + -Added 4 ` + -Removed 3 +``` + +- Convert the resource to JSON +```powershell +$AccountsCollectedForAggregationStats | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AccountsExportReportArguments.md b/PSSailpoint/v2024/docs/AccountsExportReportArguments.md new file mode 100644 index 000000000..8bccae552 --- /dev/null +++ b/PSSailpoint/v2024/docs/AccountsExportReportArguments.md @@ -0,0 +1,23 @@ +# AccountsExportReportArguments +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Application** | **String** | Id of the authoritative source to export related accounts e.g. identities | +**SourceName** | **String** | Name of the authoritative source for accounts export | + +## Examples + +- Prepare the resource +```powershell +$AccountsExportReportArguments = Initialize-PSSailpointV2024AccountsExportReportArguments -Application 2c9180897eSourceIde781782f705b9 ` + -SourceName DataScienceSourceName +``` + +- Convert the resource to JSON +```powershell +$AccountsExportReportArguments | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ActivateCampaignOptions.md b/PSSailpoint/v2024/docs/ActivateCampaignOptions.md new file mode 100644 index 000000000..8c842f480 --- /dev/null +++ b/PSSailpoint/v2024/docs/ActivateCampaignOptions.md @@ -0,0 +1,21 @@ +# ActivateCampaignOptions +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**TimeZone** | **String** | The timezone must be in a valid ISO 8601 format. Timezones in ISO 8601 are represented as UTC (represented as 'Z') or as an offset from UTC. The offset format can be +/-hh:mm, +/-hhmm, or +/-hh. | [optional] [default to "Z"] + +## Examples + +- Prepare the resource +```powershell +$ActivateCampaignOptions = Initialize-PSSailpointV2024ActivateCampaignOptions -TimeZone -05:00 +``` + +- Convert the resource to JSON +```powershell +$ActivateCampaignOptions | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ActivityInsights.md b/PSSailpoint/v2024/docs/ActivityInsights.md new file mode 100644 index 000000000..fc6460931 --- /dev/null +++ b/PSSailpoint/v2024/docs/ActivityInsights.md @@ -0,0 +1,25 @@ +# ActivityInsights +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AccountID** | **String** | UUID of the account | [optional] +**UsageDays** | **Int32** | The number of days of activity | [optional] +**UsageDaysState** | **String** | Status indicating if the activity is complete or unknown | [optional] + +## Examples + +- Prepare the resource +```powershell +$ActivityInsights = Initialize-PSSailpointV2024ActivityInsights -AccountID c4ddd5421d8549f0abd309162cafd3b1 ` + -UsageDays 45 ` + -UsageDaysState COMPLETE +``` + +- Convert the resource to JSON +```powershell +$ActivityInsights | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AdminReviewReassign.md b/PSSailpoint/v2024/docs/AdminReviewReassign.md new file mode 100644 index 000000000..0c66918a0 --- /dev/null +++ b/PSSailpoint/v2024/docs/AdminReviewReassign.md @@ -0,0 +1,25 @@ +# AdminReviewReassign +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**CertificationIds** | **String[]** | List of certification IDs to reassign | [optional] +**ReassignTo** | [**AdminReviewReassignReassignTo**](AdminReviewReassignReassignTo.md) | | [optional] +**Reason** | **String** | Comment to explain why the certification was reassigned | [optional] + +## Examples + +- Prepare the resource +```powershell +$AdminReviewReassign = Initialize-PSSailpointV2024AdminReviewReassign -CertificationIds [af3859464779471211bb8424a563abc1, af3859464779471211bb8424a563abc2, af3859464779471211bb8424a563abc3] ` + -ReassignTo null ` + -Reason reassigned for some reason +``` + +- Convert the resource to JSON +```powershell +$AdminReviewReassign | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AdminReviewReassignReassignTo.md b/PSSailpoint/v2024/docs/AdminReviewReassignReassignTo.md new file mode 100644 index 000000000..aec66029f --- /dev/null +++ b/PSSailpoint/v2024/docs/AdminReviewReassignReassignTo.md @@ -0,0 +1,23 @@ +# AdminReviewReassignReassignTo +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The identity ID to which the review is being assigned. | [optional] +**Type** | **String** | The type of the ID provided. | [optional] + +## Examples + +- Prepare the resource +```powershell +$AdminReviewReassignReassignTo = Initialize-PSSailpointV2024AdminReviewReassignReassignTo -Id ef38f94347e94562b5bb8424a56397d8 ` + -Type IDENTITY +``` + +- Convert the resource to JSON +```powershell +$AdminReviewReassignReassignTo | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AggregationResult.md b/PSSailpoint/v2024/docs/AggregationResult.md new file mode 100644 index 000000000..dd1f32287 --- /dev/null +++ b/PSSailpoint/v2024/docs/AggregationResult.md @@ -0,0 +1,23 @@ +# AggregationResult +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Aggregations** | [**SystemCollectionsHashtable**](.md) | The document containing the results of the aggregation. This document is controlled by Elasticsearch and depends on the type of aggregation query that is run. See Elasticsearch [Aggregations](https://www.elastic.co/guide/en/elasticsearch/reference/5.2/search-aggregations.html) documentation for information. | [optional] +**Hits** | [**SystemCollectionsHashtable[]**](SystemCollectionsHashtable.md) | The results of the aggregation search query. | [optional] + +## Examples + +- Prepare the resource +```powershell +$AggregationResult = Initialize-PSSailpointV2024AggregationResult -Aggregations {Identity Locations={buckets=[{key=Austin, doc_count=109}, {key=London, doc_count=64}, {key=San Jose, doc_count=27}, {key=Brussels, doc_count=26}, {key=Sao Paulo, doc_count=24}, {key=Munich, doc_count=23}, {key=Singapore, doc_count=22}, {key=Tokyo, doc_count=20}, {key=Taipei, doc_count=16}]}} ` + -Hits null +``` + +- Convert the resource to JSON +```powershell +$AggregationResult | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AggregationType.md b/PSSailpoint/v2024/docs/AggregationType.md new file mode 100644 index 000000000..472b6064d --- /dev/null +++ b/PSSailpoint/v2024/docs/AggregationType.md @@ -0,0 +1,20 @@ +# AggregationType +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$AggregationType = Initialize-PSSailpointV2024AggregationType +``` + +- Convert the resource to JSON +```powershell +$AggregationType | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Aggregations.md b/PSSailpoint/v2024/docs/Aggregations.md new file mode 100644 index 000000000..d9252421f --- /dev/null +++ b/PSSailpoint/v2024/docs/Aggregations.md @@ -0,0 +1,27 @@ +# Aggregations +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Nested** | [**NestedAggregation**](NestedAggregation.md) | | [optional] +**Metric** | [**MetricAggregation**](MetricAggregation.md) | | [optional] +**VarFilter** | [**FilterAggregation**](FilterAggregation.md) | | [optional] +**Bucket** | [**BucketAggregation**](BucketAggregation.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$Aggregations = Initialize-PSSailpointV2024Aggregations -Nested null ` + -Metric null ` + -VarFilter null ` + -Bucket null +``` + +- Convert the resource to JSON +```powershell +$Aggregations | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/App.md b/PSSailpoint/v2024/docs/App.md new file mode 100644 index 000000000..ca55b43be --- /dev/null +++ b/PSSailpoint/v2024/docs/App.md @@ -0,0 +1,27 @@ +# App +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The unique ID of the referenced object. | [optional] +**Name** | **String** | The human readable name of the referenced object. | [optional] +**Source** | [**Reference1**](Reference1.md) | | [optional] +**Account** | [**AppAllOfAccount**](AppAllOfAccount.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$App = Initialize-PSSailpointV2024App -Id 2c91808568c529c60168cca6f90c1313 ` + -Name John Doe ` + -Source null ` + -Account null +``` + +- Convert the resource to JSON +```powershell +$App | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AppAllOfAccount.md b/PSSailpoint/v2024/docs/AppAllOfAccount.md new file mode 100644 index 000000000..4efc74835 --- /dev/null +++ b/PSSailpoint/v2024/docs/AppAllOfAccount.md @@ -0,0 +1,23 @@ +# AppAllOfAccount +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The SailPoint generated unique ID | [optional] +**AccountId** | **String** | The account ID generated by the source | [optional] + +## Examples + +- Prepare the resource +```powershell +$AppAllOfAccount = Initialize-PSSailpointV2024AppAllOfAccount -Id 2c9180837dfe6949017e21f3d8cd6d49 ` + -AccountId CN=Carol Adams,OU=Austin,OU=Americas,OU=Demo,DC=seri,DC=sailpointdemo,DC=com +``` + +- Convert the resource to JSON +```powershell +$AppAllOfAccount | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Approval.md b/PSSailpoint/v2024/docs/Approval.md new file mode 100644 index 000000000..da66cf77b --- /dev/null +++ b/PSSailpoint/v2024/docs/Approval.md @@ -0,0 +1,53 @@ +# Approval +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApprovalId** | **String** | The Approval ID | [optional] +**Approvers** | [**ApprovalIdentity[]**](ApprovalIdentity.md) | Object representation of an approver of an approval | [optional] +**CreatedDate** | **String** | Date the approval was created | [optional] +**Type** | **String** | Type of approval | [optional] +**Name** | [**ApprovalName[]**](ApprovalName.md) | The name of the approval for a given locale | [optional] +**BatchRequest** | [**ApprovalBatch**](.md) | The name of the approval for a given locale | [optional] +**Description** | [**ApprovalDescription[]**](ApprovalDescription.md) | The description of the approval for a given locale | [optional] +**Priority** | **String** | The priority of the approval | [optional] +**Requester** | [**ApprovalIdentity**](.md) | Object representation of the requester of the approval | [optional] +**Comments** | [**ApprovalComment[]**](ApprovalComment.md) | Object representation of a comment on the approval | [optional] +**ApprovedBy** | [**ApprovalIdentity[]**](ApprovalIdentity.md) | Array of approvers who have approved the approval | [optional] +**RejectedBy** | [**ApprovalIdentity[]**](ApprovalIdentity.md) | Array of approvers who have rejected the approval | [optional] +**CompletedDate** | **String** | Date the approval was completed | [optional] +**ApprovalCriteria** | **String** | Criteria that needs to be met for an approval to be marked as approved | [optional] +**Status** | **String** | The current status of the approval | [optional] +**AdditionalAttributes** | **String** | Json string representing additional attributes known about the object to be approved. | [optional] +**ReferenceData** | [**ApprovalReference[]**](ApprovalReference.md) | Reference data related to the approval | [optional] + +## Examples + +- Prepare the resource +```powershell +$Approval = Initialize-PSSailpointV2024Approval -ApprovalId 38453251-6be2-5f8f-df93-5ce19e295837 ` + -Approvers null ` + -CreatedDate 2023-04-12T23:20:50.52Z ` + -Type ENTITLEMENT_DESCRIPTIONS ` + -Name null ` + -BatchRequest {batchId=38453251-6be2-5f8f-df93-5ce19e295837, batchSize=100} ` + -Description null ` + -Priority HIGH ` + -Requester {id=85d173e7d57e496569df763231d6deb6a, type=IDENTITY, name=John Doe} ` + -Comments null ` + -ApprovedBy null ` + -RejectedBy null ` + -CompletedDate 2023-04-12T23:20:50.52Z ` + -ApprovalCriteria SINGLE ` + -Status PENDING ` + -AdditionalAttributes { "llm_description": "generated description" } ` + -ReferenceData null +``` + +- Convert the resource to JSON +```powershell +$Approval | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Approval1.md b/PSSailpoint/v2024/docs/Approval1.md new file mode 100644 index 000000000..6ebed6ae4 --- /dev/null +++ b/PSSailpoint/v2024/docs/Approval1.md @@ -0,0 +1,31 @@ +# Approval1 +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Comments** | [**ApprovalComment1[]**](ApprovalComment1.md) | | [optional] +**Created** | **System.DateTime** | A date-time in ISO-8601 format | [optional] +**Modified** | **System.DateTime** | A date-time in ISO-8601 format | [optional] +**Owner** | [**AccountSource**](AccountSource.md) | | [optional] +**Result** | **String** | The result of the approval | [optional] +**Type** | **String** | | [optional] + +## Examples + +- Prepare the resource +```powershell +$Approval1 = Initialize-PSSailpointV2024Approval1 -Comments null ` + -Created 2018-06-25T20:22:28.104Z ` + -Modified 2018-06-25T20:22:28.104Z ` + -Owner null ` + -Result Finished ` + -Type null +``` + +- Convert the resource to JSON +```powershell +$Approval1 | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ApprovalBatch.md b/PSSailpoint/v2024/docs/ApprovalBatch.md new file mode 100644 index 000000000..f1bc1a25a --- /dev/null +++ b/PSSailpoint/v2024/docs/ApprovalBatch.md @@ -0,0 +1,23 @@ +# ApprovalBatch +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**BatchId** | **String** | ID of the batch | [optional] +**BatchSize** | **Int64** | How many approvals are going to be in this batch. Defaults to 1 if not provided. | [optional] + +## Examples + +- Prepare the resource +```powershell +$ApprovalBatch = Initialize-PSSailpointV2024ApprovalBatch -BatchId 38453251-6be2-5f8f-df93-5ce19e295837 ` + -BatchSize 100 +``` + +- Convert the resource to JSON +```powershell +$ApprovalBatch | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ApprovalComment.md b/PSSailpoint/v2024/docs/ApprovalComment.md new file mode 100644 index 000000000..44b0a1252 --- /dev/null +++ b/PSSailpoint/v2024/docs/ApprovalComment.md @@ -0,0 +1,25 @@ +# ApprovalComment +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Author** | [**ApprovalIdentity**](ApprovalIdentity.md) | | [optional] +**Comment** | **String** | Comment to be left on an approval | [optional] +**CreatedDate** | **String** | Date the comment was created | [optional] + +## Examples + +- Prepare the resource +```powershell +$ApprovalComment = Initialize-PSSailpointV2024ApprovalComment -Author null ` + -Comment Looks good ` + -CreatedDate 2023-04-12T23:20:50.52Z +``` + +- Convert the resource to JSON +```powershell +$ApprovalComment | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ApprovalComment1.md b/PSSailpoint/v2024/docs/ApprovalComment1.md new file mode 100644 index 000000000..3cd29caf3 --- /dev/null +++ b/PSSailpoint/v2024/docs/ApprovalComment1.md @@ -0,0 +1,25 @@ +# ApprovalComment1 +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Comment** | **String** | The comment text | [optional] +**Commenter** | **String** | The name of the commenter | [optional] +**Date** | **System.DateTime** | A date-time in ISO-8601 format | [optional] + +## Examples + +- Prepare the resource +```powershell +$ApprovalComment1 = Initialize-PSSailpointV2024ApprovalComment1 -Comment This request was autoapproved by our automated ETS subscriber. ` + -Commenter Automated AR Approval ` + -Date 2018-06-25T20:22:28.104Z +``` + +- Convert the resource to JSON +```powershell +$ApprovalComment1 | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ApprovalDescription.md b/PSSailpoint/v2024/docs/ApprovalDescription.md new file mode 100644 index 000000000..00d9a832d --- /dev/null +++ b/PSSailpoint/v2024/docs/ApprovalDescription.md @@ -0,0 +1,23 @@ +# ApprovalDescription +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Value** | **String** | The description of what the approval is asking for | [optional] +**Locale** | **String** | What locale the description of the approval is using | [optional] + +## Examples + +- Prepare the resource +```powershell +$ApprovalDescription = Initialize-PSSailpointV2024ApprovalDescription -Value This access allows viewing and editing of workflow resource ` + -Locale en_US +``` + +- Convert the resource to JSON +```powershell +$ApprovalDescription | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ApprovalDto.md b/PSSailpoint/v2024/docs/ApprovalDto.md new file mode 100644 index 000000000..2c021f653 --- /dev/null +++ b/PSSailpoint/v2024/docs/ApprovalDto.md @@ -0,0 +1,31 @@ +# ApprovalDto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Comments** | [**SystemCollectionsHashtable**](.md) | Object representation of a comment on the approval | [optional] +**ApprovedBy** | [**ApprovalIdentity[]**](ApprovalIdentity.md) | An array of identities who have approved the approval | [optional] +**RejectedBy** | [**ApprovalIdentity[]**](ApprovalIdentity.md) | An array of identities who have rejected the approval | [optional] +**ReassignFrom** | [**ApprovalIdentity**](ApprovalIdentity.md) | | [optional] +**ReassignTo** | [**ApprovalIdentity**](ApprovalIdentity.md) | | [optional] +**AdditionalAttributes** | [**SystemCollectionsHashtable**](.md) | Any additional attributes that the approval request may need | [optional] + +## Examples + +- Prepare the resource +```powershell +$ApprovalDto = Initialize-PSSailpointV2024ApprovalDto -Comments {author=85d173e7d57e496569df763231d6deb6a, comment=Looks good, createdDate=2023-04-12T23:20:50.52Z} ` + -ApprovedBy null ` + -RejectedBy null ` + -ReassignFrom null ` + -ReassignTo null ` + -AdditionalAttributes {any=any, additional=attributes} +``` + +- Convert the resource to JSON +```powershell +$ApprovalDto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ApprovalForwardHistory.md b/PSSailpoint/v2024/docs/ApprovalForwardHistory.md new file mode 100644 index 000000000..cffb974f9 --- /dev/null +++ b/PSSailpoint/v2024/docs/ApprovalForwardHistory.md @@ -0,0 +1,31 @@ +# ApprovalForwardHistory +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**OldApproverName** | **String** | Display name of approver from whom the approval was forwarded. | [optional] +**NewApproverName** | **String** | Display name of approver to whom the approval was forwarded. | [optional] +**Comment** | **String** | Comment made while forwarding. | [optional] +**Modified** | **System.DateTime** | Time at which approval was forwarded. | [optional] +**ForwarderName** | **String** | Display name of forwarder who forwarded the approval. | [optional] +**ReassignmentType** | [**ReassignmentType**](ReassignmentType.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$ApprovalForwardHistory = Initialize-PSSailpointV2024ApprovalForwardHistory -OldApproverName Frank Mir ` + -NewApproverName Al Volta ` + -Comment Forwarding from Frank to Al ` + -Modified 2019-08-23T18:52:57.398Z ` + -ForwarderName William Wilson ` + -ReassignmentType null +``` + +- Convert the resource to JSON +```powershell +$ApprovalForwardHistory | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ApprovalIdentity.md b/PSSailpoint/v2024/docs/ApprovalIdentity.md new file mode 100644 index 000000000..fc10ac6cd --- /dev/null +++ b/PSSailpoint/v2024/docs/ApprovalIdentity.md @@ -0,0 +1,25 @@ +# ApprovalIdentity +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The identity ID | [optional] +**Type** | **String** | Indication of what group the identity belongs to. Ie, IDENTITY, GOVERNANCE_GROUP, etc | [optional] +**Name** | **String** | Name of the identity | [optional] + +## Examples + +- Prepare the resource +```powershell +$ApprovalIdentity = Initialize-PSSailpointV2024ApprovalIdentity -Id 85d173e7d57e496569df763231d6deb6a ` + -Type IDENTITY ` + -Name John Doe +``` + +- Convert the resource to JSON +```powershell +$ApprovalIdentity | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ApprovalInfoResponse.md b/PSSailpoint/v2024/docs/ApprovalInfoResponse.md new file mode 100644 index 000000000..af9328ce4 --- /dev/null +++ b/PSSailpoint/v2024/docs/ApprovalInfoResponse.md @@ -0,0 +1,25 @@ +# ApprovalInfoResponse +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | the id of approver | [optional] +**Name** | **String** | the name of approver | [optional] +**Status** | **String** | the status of the approval request | [optional] + +## Examples + +- Prepare the resource +```powershell +$ApprovalInfoResponse = Initialize-PSSailpointV2024ApprovalInfoResponse -Id 8a80828f643d484f01643e14202e2000 ` + -Name John Snow ` + -Status Approved +``` + +- Convert the resource to JSON +```powershell +$ApprovalInfoResponse | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ApprovalItemDetails.md b/PSSailpoint/v2024/docs/ApprovalItemDetails.md new file mode 100644 index 000000000..c099d77e2 --- /dev/null +++ b/PSSailpoint/v2024/docs/ApprovalItemDetails.md @@ -0,0 +1,33 @@ +# ApprovalItemDetails +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The approval item's ID | [optional] +**Account** | **String** | The account referenced by the approval item | [optional] +**Application** | **String** | The name of the application/source | [optional] +**Name** | **String** | The attribute's name | [optional] +**Operation** | **String** | The attribute's operation | [optional] +**Value** | **String** | The attribute's value | [optional] +**State** | [**WorkItemState**](WorkItemState.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$ApprovalItemDetails = Initialize-PSSailpointV2024ApprovalItemDetails -Id 2c9180835d2e5168015d32f890ca1581 ` + -Account john.smith ` + -Application Active Directory ` + -Name emailAddress ` + -Operation update ` + -Value a@b.com ` + -State null +``` + +- Convert the resource to JSON +```powershell +$ApprovalItemDetails | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ApprovalItems.md b/PSSailpoint/v2024/docs/ApprovalItems.md new file mode 100644 index 000000000..17b76fc9c --- /dev/null +++ b/PSSailpoint/v2024/docs/ApprovalItems.md @@ -0,0 +1,33 @@ +# ApprovalItems +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The approval item's ID | [optional] +**Account** | **String** | The account referenced by the approval item | [optional] +**Application** | **String** | The name of the application/source | [optional] +**Name** | **String** | The attribute's name | [optional] +**Operation** | **String** | The attribute's operation | [optional] +**Value** | **String** | The attribute's value | [optional] +**State** | [**WorkItemState**](WorkItemState.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$ApprovalItems = Initialize-PSSailpointV2024ApprovalItems -Id 2c9180835d2e5168015d32f890ca1581 ` + -Account john.smith ` + -Application Active Directory ` + -Name emailAddress ` + -Operation update ` + -Value a@b.com ` + -State null +``` + +- Convert the resource to JSON +```powershell +$ApprovalItems | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ApprovalName.md b/PSSailpoint/v2024/docs/ApprovalName.md new file mode 100644 index 000000000..77b4c9a91 --- /dev/null +++ b/PSSailpoint/v2024/docs/ApprovalName.md @@ -0,0 +1,23 @@ +# ApprovalName +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Value** | **String** | Name of the approval | [optional] +**Locale** | **String** | What locale the name of the approval is using | [optional] + +## Examples + +- Prepare the resource +```powershell +$ApprovalName = Initialize-PSSailpointV2024ApprovalName -Value Audit DB Access ` + -Locale en_US +``` + +- Convert the resource to JSON +```powershell +$ApprovalName | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ApprovalReference.md b/PSSailpoint/v2024/docs/ApprovalReference.md new file mode 100644 index 000000000..45dba25a5 --- /dev/null +++ b/PSSailpoint/v2024/docs/ApprovalReference.md @@ -0,0 +1,23 @@ +# ApprovalReference +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Id of the reference object | [optional] +**Type** | **String** | What reference object does this ID correspond to | [optional] + +## Examples + +- Prepare the resource +```powershell +$ApprovalReference = Initialize-PSSailpointV2024ApprovalReference -Id 64012350-8fd9-4f6c-a170-1fe123683899 ` + -Type AccessRequestId +``` + +- Convert the resource to JSON +```powershell +$ApprovalReference | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ApprovalReminderAndEscalationConfig.md b/PSSailpoint/v2024/docs/ApprovalReminderAndEscalationConfig.md new file mode 100644 index 000000000..f2f125ad8 --- /dev/null +++ b/PSSailpoint/v2024/docs/ApprovalReminderAndEscalationConfig.md @@ -0,0 +1,27 @@ +# ApprovalReminderAndEscalationConfig +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**DaysUntilEscalation** | **Int32** | Number of days to wait before the first reminder. If no reminders are configured, then this is the number of days to wait before escalation. | [optional] +**DaysBetweenReminders** | **Int32** | Number of days to wait between reminder notifications. | [optional] +**MaxReminders** | **Int32** | Maximum number of reminder notification to send to the reviewer before approval escalation. | [optional] +**FallbackApproverRef** | [**IdentityReferenceWithNameAndEmail**](IdentityReferenceWithNameAndEmail.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$ApprovalReminderAndEscalationConfig = Initialize-PSSailpointV2024ApprovalReminderAndEscalationConfig -DaysUntilEscalation 0 ` + -DaysBetweenReminders 0 ` + -MaxReminders 1 ` + -FallbackApproverRef null +``` + +- Convert the resource to JSON +```powershell +$ApprovalReminderAndEscalationConfig | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ApprovalScheme.md b/PSSailpoint/v2024/docs/ApprovalScheme.md new file mode 100644 index 000000000..df6bea318 --- /dev/null +++ b/PSSailpoint/v2024/docs/ApprovalScheme.md @@ -0,0 +1,20 @@ +# ApprovalScheme +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$ApprovalScheme = Initialize-PSSailpointV2024ApprovalScheme +``` + +- Convert the resource to JSON +```powershell +$ApprovalScheme | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ApprovalSchemeForRole.md b/PSSailpoint/v2024/docs/ApprovalSchemeForRole.md new file mode 100644 index 000000000..d0761b4ee --- /dev/null +++ b/PSSailpoint/v2024/docs/ApprovalSchemeForRole.md @@ -0,0 +1,23 @@ +# ApprovalSchemeForRole +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApproverType** | **String** | Describes the individual or group that is responsible for an approval step. Values are as follows. **OWNER**: Owner of the associated Role **MANAGER**: Manager of the Identity making the request **GOVERNANCE_GROUP**: A Governance Group, the ID of which is specified by the **approverId** field | [optional] +**ApproverId** | **String** | Id of the specific approver, used only when approverType is GOVERNANCE_GROUP | [optional] + +## Examples + +- Prepare the resource +```powershell +$ApprovalSchemeForRole = Initialize-PSSailpointV2024ApprovalSchemeForRole -ApproverType GOVERNANCE_GROUP ` + -ApproverId 46c79819-a69f-49a2-becb-12c971ae66c6 +``` + +- Convert the resource to JSON +```powershell +$ApprovalSchemeForRole | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ApprovalStatus.md b/PSSailpoint/v2024/docs/ApprovalStatus.md new file mode 100644 index 000000000..c571bed53 --- /dev/null +++ b/PSSailpoint/v2024/docs/ApprovalStatus.md @@ -0,0 +1,20 @@ +# ApprovalStatus +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$ApprovalStatus = Initialize-PSSailpointV2024ApprovalStatus +``` + +- Convert the resource to JSON +```powershell +$ApprovalStatus | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ApprovalStatusDto.md b/PSSailpoint/v2024/docs/ApprovalStatusDto.md new file mode 100644 index 000000000..177875708 --- /dev/null +++ b/PSSailpoint/v2024/docs/ApprovalStatusDto.md @@ -0,0 +1,37 @@ +# ApprovalStatusDto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Forwarded** | **Boolean** | True if the request for this item was forwarded from one owner to another. | [optional] [default to $false] +**OriginalOwner** | [**ApprovalStatusDtoOriginalOwner**](ApprovalStatusDtoOriginalOwner.md) | | [optional] +**CurrentOwner** | [**ApprovalStatusDtoCurrentOwner**](ApprovalStatusDtoCurrentOwner.md) | | [optional] +**Modified** | **System.DateTime** | Time at which item was modified. | [optional] +**Status** | [**ManualWorkItemState**](ManualWorkItemState.md) | | [optional] +**Scheme** | [**ApprovalScheme**](ApprovalScheme.md) | | [optional] +**ErrorMessages** | [**ErrorMessageDto[]**](ErrorMessageDto.md) | If the request failed, includes any error messages that were generated. | [optional] +**Comment** | **String** | Comment, if any, provided by the approver. | [optional] +**RemoveDate** | **System.DateTime** | The date the role or access profile or entitlement is no longer assigned to the specified identity. | [optional] + +## Examples + +- Prepare the resource +```powershell +$ApprovalStatusDto = Initialize-PSSailpointV2024ApprovalStatusDto -Forwarded false ` + -OriginalOwner null ` + -CurrentOwner null ` + -Modified 2019-08-23T18:52:57.398Z ` + -Status null ` + -Scheme null ` + -ErrorMessages null ` + -Comment I approve this request ` + -RemoveDate 2020-07-11T00:00Z +``` + +- Convert the resource to JSON +```powershell +$ApprovalStatusDto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ApprovalStatusDtoCurrentOwner.md b/PSSailpoint/v2024/docs/ApprovalStatusDtoCurrentOwner.md new file mode 100644 index 000000000..5ba96bca8 --- /dev/null +++ b/PSSailpoint/v2024/docs/ApprovalStatusDtoCurrentOwner.md @@ -0,0 +1,25 @@ +# ApprovalStatusDtoCurrentOwner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | DTO type of identity who reviewed the access item request. | [optional] +**Id** | **String** | ID of identity who reviewed the access item request. | [optional] +**Name** | **String** | Human-readable display name of identity who reviewed the access item request. | [optional] + +## Examples + +- Prepare the resource +```powershell +$ApprovalStatusDtoCurrentOwner = Initialize-PSSailpointV2024ApprovalStatusDtoCurrentOwner -Type IDENTITY ` + -Id 2c3780a46faadee4016fb4e018c20652 ` + -Name Allen Albertson +``` + +- Convert the resource to JSON +```powershell +$ApprovalStatusDtoCurrentOwner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ApprovalStatusDtoOriginalOwner.md b/PSSailpoint/v2024/docs/ApprovalStatusDtoOriginalOwner.md new file mode 100644 index 000000000..3e6f4bcf2 --- /dev/null +++ b/PSSailpoint/v2024/docs/ApprovalStatusDtoOriginalOwner.md @@ -0,0 +1,25 @@ +# ApprovalStatusDtoOriginalOwner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | DTO type of original approval owner's identity. | [optional] +**Id** | **String** | ID of original approval owner's identity. | [optional] +**Name** | **String** | Display name of original approval owner. | [optional] + +## Examples + +- Prepare the resource +```powershell +$ApprovalStatusDtoOriginalOwner = Initialize-PSSailpointV2024ApprovalStatusDtoOriginalOwner -Type IDENTITY ` + -Id 2c7180a46faadee4016fb4e018c20642 ` + -Name Michael Michaels +``` + +- Convert the resource to JSON +```powershell +$ApprovalStatusDtoOriginalOwner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ApprovalSummary.md b/PSSailpoint/v2024/docs/ApprovalSummary.md new file mode 100644 index 000000000..b255ea88a --- /dev/null +++ b/PSSailpoint/v2024/docs/ApprovalSummary.md @@ -0,0 +1,25 @@ +# ApprovalSummary +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Pending** | **Int32** | The number of pending access requests approvals. | [optional] +**Approved** | **Int32** | The number of approved access requests approvals. | [optional] +**Rejected** | **Int32** | The number of rejected access requests approvals. | [optional] + +## Examples + +- Prepare the resource +```powershell +$ApprovalSummary = Initialize-PSSailpointV2024ApprovalSummary -Pending 0 ` + -Approved 0 ` + -Rejected 0 +``` + +- Convert the resource to JSON +```powershell +$ApprovalSummary | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Argument.md b/PSSailpoint/v2024/docs/Argument.md new file mode 100644 index 000000000..e637fcffd --- /dev/null +++ b/PSSailpoint/v2024/docs/Argument.md @@ -0,0 +1,25 @@ +# Argument +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | the name of the argument | +**Description** | **String** | the description of the argument | [optional] +**Type** | **String** | the programmatic type of the argument | [optional] + +## Examples + +- Prepare the resource +```powershell +$Argument = Initialize-PSSailpointV2024Argument -Name firstName ` + -Description the first name of the identity ` + -Type String +``` + +- Convert the resource to JSON +```powershell +$Argument | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ArrayInner.md b/PSSailpoint/v2024/docs/ArrayInner.md new file mode 100644 index 000000000..23de17a5f --- /dev/null +++ b/PSSailpoint/v2024/docs/ArrayInner.md @@ -0,0 +1,20 @@ +# ArrayInner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$ArrayInner = Initialize-PSSailpointV2024ArrayInner +``` + +- Convert the resource to JSON +```powershell +$ArrayInner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AssignmentContextDto.md b/PSSailpoint/v2024/docs/AssignmentContextDto.md new file mode 100644 index 000000000..88b30938f --- /dev/null +++ b/PSSailpoint/v2024/docs/AssignmentContextDto.md @@ -0,0 +1,25 @@ +# AssignmentContextDto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Requested** | [**AccessRequestContext**](AccessRequestContext.md) | | [optional] +**Matched** | [**RoleMatchDto[]**](RoleMatchDto.md) | | [optional] +**ComputedDate** | **String** | Date that the assignment will was evaluated | [optional] + +## Examples + +- Prepare the resource +```powershell +$AssignmentContextDto = Initialize-PSSailpointV2024AssignmentContextDto -Requested null ` + -Matched null ` + -ComputedDate Wed Feb 14 10:58:42 +``` + +- Convert the resource to JSON +```powershell +$AssignmentContextDto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AttrSyncSource.md b/PSSailpoint/v2024/docs/AttrSyncSource.md new file mode 100644 index 000000000..50840a8f9 --- /dev/null +++ b/PSSailpoint/v2024/docs/AttrSyncSource.md @@ -0,0 +1,25 @@ +# AttrSyncSource +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | DTO type of target source for attribute synchronization. | [optional] +**Id** | **String** | ID of target source for attribute synchronization. | [optional] +**Name** | **String** | Human-readable name of target source for attribute synchronization. | [optional] + +## Examples + +- Prepare the resource +```powershell +$AttrSyncSource = Initialize-PSSailpointV2024AttrSyncSource -Type SOURCE ` + -Id 2c9180835d191a86015d28455b4b232a ` + -Name HR Active Directory +``` + +- Convert the resource to JSON +```powershell +$AttrSyncSource | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AttrSyncSourceAttributeConfig.md b/PSSailpoint/v2024/docs/AttrSyncSourceAttributeConfig.md new file mode 100644 index 000000000..2330ca4cb --- /dev/null +++ b/PSSailpoint/v2024/docs/AttrSyncSourceAttributeConfig.md @@ -0,0 +1,27 @@ +# AttrSyncSourceAttributeConfig +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | Name of the identity attribute | +**DisplayName** | **String** | Display name of the identity attribute | +**Enabled** | **Boolean** | Determines whether or not the attribute is enabled for synchronization | +**Target** | **String** | Name of the source account attribute to which the identity attribute value will be synchronized if enabled | + +## Examples + +- Prepare the resource +```powershell +$AttrSyncSourceAttributeConfig = Initialize-PSSailpointV2024AttrSyncSourceAttributeConfig -Name email ` + -DisplayName Email ` + -Enabled true ` + -Target mail +``` + +- Convert the resource to JSON +```powershell +$AttrSyncSourceAttributeConfig | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AttrSyncSourceConfig.md b/PSSailpoint/v2024/docs/AttrSyncSourceConfig.md new file mode 100644 index 000000000..56a1d7391 --- /dev/null +++ b/PSSailpoint/v2024/docs/AttrSyncSourceConfig.md @@ -0,0 +1,23 @@ +# AttrSyncSourceConfig +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Source** | [**AttrSyncSource**](AttrSyncSource.md) | | +**Attributes** | [**AttrSyncSourceAttributeConfig[]**](AttrSyncSourceAttributeConfig.md) | Attribute synchronization configuration for specific identity attributes in the context of a source | + +## Examples + +- Prepare the resource +```powershell +$AttrSyncSourceConfig = Initialize-PSSailpointV2024AttrSyncSourceConfig -Source null ` + -Attributes [{name=email, displayName=Email, enabled=true, target=mail}, {name=firstname, displayName=First Name, enabled=false, target=givenName}] +``` + +- Convert the resource to JSON +```powershell +$AttrSyncSourceConfig | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AttributeChange.md b/PSSailpoint/v2024/docs/AttributeChange.md new file mode 100644 index 000000000..72debda4b --- /dev/null +++ b/PSSailpoint/v2024/docs/AttributeChange.md @@ -0,0 +1,25 @@ +# AttributeChange +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | the attribute name | [optional] +**PreviousValue** | **String** | the old value of attribute | [optional] +**NewValue** | **String** | the new value of attribute | [optional] + +## Examples + +- Prepare the resource +```powershell +$AttributeChange = Initialize-PSSailpointV2024AttributeChange -Name null ` + -PreviousValue null ` + -NewValue null +``` + +- Convert the resource to JSON +```powershell +$AttributeChange | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AttributeDTO.md b/PSSailpoint/v2024/docs/AttributeDTO.md new file mode 100644 index 000000000..00e346ed2 --- /dev/null +++ b/PSSailpoint/v2024/docs/AttributeDTO.md @@ -0,0 +1,35 @@ +# AttributeDTO +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Key** | **String** | Technical name of the Attribute. This is unique and cannot be changed after creation. | [optional] +**Name** | **String** | The display name of the key. | [optional] +**Multiselect** | **Boolean** | Indicates whether the attribute can have multiple values. | [optional] [default to $false] +**Status** | **String** | The status of the Attribute. | [optional] +**Type** | **String** | The type of the Attribute. This can be either ""custom"" or ""governance"". | [optional] +**ObjectTypes** | **String[]** | An array of object types this attributes values can be applied to. Possible values are ""all"" or ""entitlement"". Value ""all"" means this attribute can be used with all object types that are supported. | [optional] +**Description** | **String** | The description of the Attribute. | [optional] +**Values** | [**AttributeValueDTO[]**](AttributeValueDTO.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$AttributeDTO = Initialize-PSSailpointV2024AttributeDTO -Key iscPrivacy ` + -Name Privacy ` + -Multiselect false ` + -Status active ` + -Type governance ` + -ObjectTypes [entitlement] ` + -Description Specifies the level of privacy associated with an access item. ` + -Values null +``` + +- Convert the resource to JSON +```powershell +$AttributeDTO | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AttributeDTOList.md b/PSSailpoint/v2024/docs/AttributeDTOList.md new file mode 100644 index 000000000..bcc231fc8 --- /dev/null +++ b/PSSailpoint/v2024/docs/AttributeDTOList.md @@ -0,0 +1,21 @@ +# AttributeDTOList +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Attributes** | [**AttributeDTO[]**](AttributeDTO.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$AttributeDTOList = Initialize-PSSailpointV2024AttributeDTOList -Attributes [{key=iscPrivacy, name=Privacy, multiselect=false, status=active, type=governance, objectTypes=[all], description=Specifies the level of privacy associated with an access item., values=[{value=public, name=Public, status=active}]}] +``` + +- Convert the resource to JSON +```powershell +$AttributeDTOList | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AttributeDefinition.md b/PSSailpoint/v2024/docs/AttributeDefinition.md new file mode 100644 index 000000000..a9a371956 --- /dev/null +++ b/PSSailpoint/v2024/docs/AttributeDefinition.md @@ -0,0 +1,33 @@ +# AttributeDefinition +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | The name of the attribute. | [optional] +**Type** | [**AttributeDefinitionType**](AttributeDefinitionType.md) | | [optional] +**Schema** | [**AttributeDefinitionSchema**](AttributeDefinitionSchema.md) | | [optional] +**Description** | **String** | A human-readable description of the attribute. | [optional] +**IsMulti** | **Boolean** | Flag indicating whether or not the attribute is multi-valued. | [optional] [default to $false] +**IsEntitlement** | **Boolean** | Flag indicating whether or not the attribute is an entitlement. | [optional] [default to $false] +**IsGroup** | **Boolean** | Flag indicating whether or not the attribute represents a group. This can only be `true` if `isEntitlement` is also `true` **and** there is a schema defined for the attribute.. | [optional] [default to $false] + +## Examples + +- Prepare the resource +```powershell +$AttributeDefinition = Initialize-PSSailpointV2024AttributeDefinition -Name sAMAccountName ` + -Type null ` + -Schema null ` + -Description SAM Account Name ` + -IsMulti false ` + -IsEntitlement false ` + -IsGroup false +``` + +- Convert the resource to JSON +```powershell +$AttributeDefinition | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AttributeDefinitionSchema.md b/PSSailpoint/v2024/docs/AttributeDefinitionSchema.md new file mode 100644 index 000000000..f641748a4 --- /dev/null +++ b/PSSailpoint/v2024/docs/AttributeDefinitionSchema.md @@ -0,0 +1,25 @@ +# AttributeDefinitionSchema +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | The type of object being referenced | [optional] +**Id** | **String** | The object ID this reference applies to. | [optional] +**Name** | **String** | The human-readable display name of the object. | [optional] + +## Examples + +- Prepare the resource +```powershell +$AttributeDefinitionSchema = Initialize-PSSailpointV2024AttributeDefinitionSchema -Type CONNECTOR_SCHEMA ` + -Id 2c91808568c529c60168cca6f90c1313 ` + -Name group +``` + +- Convert the resource to JSON +```powershell +$AttributeDefinitionSchema | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AttributeDefinitionType.md b/PSSailpoint/v2024/docs/AttributeDefinitionType.md new file mode 100644 index 000000000..ed132f963 --- /dev/null +++ b/PSSailpoint/v2024/docs/AttributeDefinitionType.md @@ -0,0 +1,20 @@ +# AttributeDefinitionType +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$AttributeDefinitionType = Initialize-PSSailpointV2024AttributeDefinitionType +``` + +- Convert the resource to JSON +```powershell +$AttributeDefinitionType | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AttributeRequest.md b/PSSailpoint/v2024/docs/AttributeRequest.md new file mode 100644 index 000000000..de1d4c8ae --- /dev/null +++ b/PSSailpoint/v2024/docs/AttributeRequest.md @@ -0,0 +1,25 @@ +# AttributeRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | Attribute name. | [optional] +**Op** | **String** | Operation to perform on attribute. | [optional] +**Value** | **String** | Value of attribute. | [optional] + +## Examples + +- Prepare the resource +```powershell +$AttributeRequest = Initialize-PSSailpointV2024AttributeRequest -Name groups ` + -Op Add ` + -Value 3203537556531076 +``` + +- Convert the resource to JSON +```powershell +$AttributeRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AttributeValueDTO.md b/PSSailpoint/v2024/docs/AttributeValueDTO.md new file mode 100644 index 000000000..b23708fd1 --- /dev/null +++ b/PSSailpoint/v2024/docs/AttributeValueDTO.md @@ -0,0 +1,25 @@ +# AttributeValueDTO +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Value** | **String** | Technical name of the Attribute value. This is unique and cannot be changed after creation. | [optional] +**Name** | **String** | The display name of the Attribute value. | [optional] +**Status** | **String** | The status of the Attribute value. | [optional] + +## Examples + +- Prepare the resource +```powershell +$AttributeValueDTO = Initialize-PSSailpointV2024AttributeValueDTO -Value public ` + -Name Public ` + -Status active +``` + +- Convert the resource to JSON +```powershell +$AttributeValueDTO | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AttributesChanged.md b/PSSailpoint/v2024/docs/AttributesChanged.md new file mode 100644 index 000000000..4be2c9627 --- /dev/null +++ b/PSSailpoint/v2024/docs/AttributesChanged.md @@ -0,0 +1,27 @@ +# AttributesChanged +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Changes** | [**AttributeChange[]**](AttributeChange.md) | | [optional] +**EventType** | **String** | the event type | [optional] +**IdentityId** | **String** | the identity id | [optional] +**Dt** | **String** | the date of event | [optional] + +## Examples + +- Prepare the resource +```powershell +$AttributesChanged = Initialize-PSSailpointV2024AttributesChanged -Changes null ` + -EventType null ` + -IdentityId null ` + -Dt null +``` + +- Convert the resource to JSON +```powershell +$AttributesChanged | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AuditDetails.md b/PSSailpoint/v2024/docs/AuditDetails.md new file mode 100644 index 000000000..951e5bb2f --- /dev/null +++ b/PSSailpoint/v2024/docs/AuditDetails.md @@ -0,0 +1,27 @@ +# AuditDetails +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Created** | **System.DateTime** | Initial date and time when the record was created | [optional] +**CreatedBy** | [**Identity1**](Identity1.md) | | [optional] +**Modified** | **System.DateTime** | Last modified date and time for the record | [optional] +**ModifiedBy** | [**Identity1**](Identity1.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$AuditDetails = Initialize-PSSailpointV2024AuditDetails -Created 2022-07-21T11:13:12.345Z ` + -CreatedBy null ` + -Modified 2022-07-21T11:13:12.345Z ` + -ModifiedBy null +``` + +- Convert the resource to JSON +```powershell +$AuditDetails | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AuthProfile.md b/PSSailpoint/v2024/docs/AuthProfile.md new file mode 100644 index 000000000..eda9a1b66 --- /dev/null +++ b/PSSailpoint/v2024/docs/AuthProfile.md @@ -0,0 +1,33 @@ +# AuthProfile +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | Authentication Profile name. | [optional] +**OffNetwork** | **Boolean** | Use it to block access from off network. | [optional] [default to $false] +**UntrustedGeography** | **Boolean** | Use it to block access from untrusted geoographies. | [optional] [default to $false] +**ApplicationId** | **String** | Application ID. | [optional] +**ApplicationName** | **String** | Application name. | [optional] +**Type** | **String** | Type of the Authentication Profile. | [optional] +**StrongAuthLogin** | **Boolean** | Use it to enable strong authentication. | [optional] [default to $false] + +## Examples + +- Prepare the resource +```powershell +$AuthProfile = Initialize-PSSailpointV2024AuthProfile -Name EndToEnd-Profile ` + -OffNetwork true ` + -UntrustedGeography true ` + -ApplicationId 2c91808458ae7a4f0158b1bbf8af0628 ` + -ApplicationName EndToEnd-Source ` + -Type PTA ` + -StrongAuthLogin true +``` + +- Convert the resource to JSON +```powershell +$AuthProfile | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AuthProfileSummary.md b/PSSailpoint/v2024/docs/AuthProfileSummary.md new file mode 100644 index 000000000..2b3aad9b4 --- /dev/null +++ b/PSSailpoint/v2024/docs/AuthProfileSummary.md @@ -0,0 +1,23 @@ +# AuthProfileSummary +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Tenant** | **String** | Tenant name. | [optional] +**Id** | **String** | Identity ID. | [optional] + +## Examples + +- Prepare the resource +```powershell +$AuthProfileSummary = Initialize-PSSailpointV2024AuthProfileSummary -Tenant test-tenant ` + -Id 2c91808458ae7a4f0158b1bbf8af0628 +``` + +- Convert the resource to JSON +```powershell +$AuthProfileSummary | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/AuthUser.md b/PSSailpoint/v2024/docs/AuthUser.md new file mode 100644 index 000000000..96d9c9b3e --- /dev/null +++ b/PSSailpoint/v2024/docs/AuthUser.md @@ -0,0 +1,53 @@ +# AuthUser +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Tenant** | **String** | Tenant name. | [optional] +**Id** | **String** | Identity ID. | [optional] +**Uid** | **String** | Identity's unique identitifier. | [optional] +**VarProfile** | **String** | ID of the auth profile associated with the auth user. | [optional] +**IdentificationNumber** | **String** | Auth user's employee number. | [optional] +**Email** | **String** | Auth user's email. | [optional] +**Phone** | **String** | Auth user's phone number. | [optional] +**WorkPhone** | **String** | Auth user's work phone number. | [optional] +**PersonalEmail** | **String** | Auth user's personal email. | [optional] +**Firstname** | **String** | Auth user's first name. | [optional] +**Lastname** | **String** | Auth user's last name. | [optional] +**DisplayName** | **String** | Auth user's name in displayed format. | [optional] +**Alias** | **String** | Auth user's alias. | [optional] +**LastPasswordChangeDate** | **String** | Date of last password change. | [optional] +**LastLoginTimestamp** | **Int64** | Timestamp of the last login (long type value). | [optional] +**CurrentLoginTimestamp** | **Int64** | Timestamp of the current login (long type value). | [optional] +**Capabilities** | **String[]** | Array of the auth user's capabilities. | [optional] + +## Examples + +- Prepare the resource +```powershell +$AuthUser = Initialize-PSSailpointV2024AuthUser -Tenant test-tenant ` + -Id 2c91808458ae7a4f0158b1bbf8af0628 ` + -Uid will.smith ` + -VarProfile 2c91808458ae7a4f0158b1bbf8af0756 ` + -IdentificationNumber 19-5588452 ` + -Email william.smith@example.com ` + -Phone 5555555555 ` + -WorkPhone 5555555555 ` + -PersonalEmail william.smith@example.com ` + -Firstname Will ` + -Lastname Smith ` + -DisplayName Will Smith ` + -Alias will.smith ` + -LastPasswordChangeDate 2021-03-08T22:37:33.901Z ` + -LastLoginTimestamp 1656327185832 ` + -CurrentLoginTimestamp 1656327185832 ` + -Capabilities null +``` + +- Convert the resource to JSON +```powershell +$AuthUser | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Base64Decode.md b/PSSailpoint/v2024/docs/Base64Decode.md new file mode 100644 index 000000000..7390e5e44 --- /dev/null +++ b/PSSailpoint/v2024/docs/Base64Decode.md @@ -0,0 +1,23 @@ +# Base64Decode +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**RequiresPeriodicRefresh** | **Boolean** | A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process | [optional] [default to $false] +**VarInput** | [**System.Collections.Hashtable**](AnyType.md) | This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI. | [optional] + +## Examples + +- Prepare the resource +```powershell +$Base64Decode = Initialize-PSSailpointV2024Base64Decode -RequiresPeriodicRefresh false ` + -VarInput {type=accountAttribute, attributes={attributeName=first_name, sourceName=Source}} +``` + +- Convert the resource to JSON +```powershell +$Base64Decode | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Base64Encode.md b/PSSailpoint/v2024/docs/Base64Encode.md new file mode 100644 index 000000000..4202e0427 --- /dev/null +++ b/PSSailpoint/v2024/docs/Base64Encode.md @@ -0,0 +1,23 @@ +# Base64Encode +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**RequiresPeriodicRefresh** | **Boolean** | A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process | [optional] [default to $false] +**VarInput** | [**System.Collections.Hashtable**](AnyType.md) | This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI. | [optional] + +## Examples + +- Prepare the resource +```powershell +$Base64Encode = Initialize-PSSailpointV2024Base64Encode -RequiresPeriodicRefresh false ` + -VarInput {type=accountAttribute, attributes={attributeName=first_name, sourceName=Source}} +``` + +- Convert the resource to JSON +```powershell +$Base64Encode | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/BaseAccess.md b/PSSailpoint/v2024/docs/BaseAccess.md new file mode 100644 index 000000000..c489aefa0 --- /dev/null +++ b/PSSailpoint/v2024/docs/BaseAccess.md @@ -0,0 +1,39 @@ +# BaseAccess +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The unique ID of the referenced object. | [optional] +**Name** | **String** | The human readable name of the referenced object. | [optional] +**Description** | **String** | Access item's description. | [optional] +**Created** | **System.DateTime** | ISO-8601 date-time referring to the time when the object was created. | [optional] +**Modified** | **System.DateTime** | ISO-8601 date-time referring to the time when the object was last modified. | [optional] +**Synced** | **System.DateTime** | ISO-8601 date-time referring to the date-time when object was queued to be synced into search database for use in the search API. This date-time changes anytime there is an update to the object, which triggers a synchronization event being sent to the search database. There may be some delay between the `synced` time and the time when the updated data is actually available in the search API. | [optional] +**Enabled** | **Boolean** | Indicates whether the access item is currently enabled. | [optional] [default to $false] +**Requestable** | **Boolean** | Indicates whether the access item can be requested. | [optional] [default to $true] +**RequestCommentsRequired** | **Boolean** | Indicates whether comments are required for requests to access the item. | [optional] [default to $false] +**Owner** | [**BaseAccessAllOfOwner**](BaseAccessAllOfOwner.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$BaseAccess = Initialize-PSSailpointV2024BaseAccess -Id 2c91808568c529c60168cca6f90c1313 ` + -Name John Doe ` + -Description The admin role ` + -Created 2018-06-25T20:22:28.104Z ` + -Modified 2018-06-25T20:22:28.104Z ` + -Synced 2018-06-25T20:22:33.104Z ` + -Enabled true ` + -Requestable true ` + -RequestCommentsRequired false ` + -Owner null +``` + +- Convert the resource to JSON +```powershell +$BaseAccess | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/BaseAccessAllOfOwner.md b/PSSailpoint/v2024/docs/BaseAccessAllOfOwner.md new file mode 100644 index 000000000..9fbeb5319 --- /dev/null +++ b/PSSailpoint/v2024/docs/BaseAccessAllOfOwner.md @@ -0,0 +1,27 @@ +# BaseAccessAllOfOwner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | Owner's DTO type. | [optional] +**Id** | **String** | Owner's identity ID. | [optional] +**Name** | **String** | Owner's display name. | [optional] +**Email** | **String** | Owner's email. | [optional] + +## Examples + +- Prepare the resource +```powershell +$BaseAccessAllOfOwner = Initialize-PSSailpointV2024BaseAccessAllOfOwner -Type IDENTITY ` + -Id 2c9180a46faadee4016fb4e018c20639 ` + -Name Support ` + -Email cloud-support@sailpoint.com +``` + +- Convert the resource to JSON +```powershell +$BaseAccessAllOfOwner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/BaseAccessProfile.md b/PSSailpoint/v2024/docs/BaseAccessProfile.md new file mode 100644 index 000000000..2b1a7de88 --- /dev/null +++ b/PSSailpoint/v2024/docs/BaseAccessProfile.md @@ -0,0 +1,23 @@ +# BaseAccessProfile +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Access profile's unique ID. | [optional] +**Name** | **String** | Access profile's display name. | [optional] + +## Examples + +- Prepare the resource +```powershell +$BaseAccessProfile = Initialize-PSSailpointV2024BaseAccessProfile -Id 2c91809c6faade77016fb4f0b63407ae ` + -Name Admin Access +``` + +- Convert the resource to JSON +```powershell +$BaseAccessProfile | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/BaseAccount.md b/PSSailpoint/v2024/docs/BaseAccount.md new file mode 100644 index 000000000..a0f84a085 --- /dev/null +++ b/PSSailpoint/v2024/docs/BaseAccount.md @@ -0,0 +1,41 @@ +# BaseAccount +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The unique ID of the referenced object. | [optional] +**Name** | **String** | The human readable name of the referenced object. | [optional] +**AccountId** | **String** | Account ID. | [optional] +**Source** | [**AccountSource**](AccountSource.md) | | [optional] +**Disabled** | **Boolean** | Indicates whether the account is disabled. | [optional] [default to $false] +**Locked** | **Boolean** | Indicates whether the account is locked. | [optional] [default to $false] +**Privileged** | **Boolean** | Indicates whether the account is privileged. | [optional] [default to $false] +**ManuallyCorrelated** | **Boolean** | Indicates whether the account has been manually correlated to an identity. | [optional] [default to $false] +**PasswordLastSet** | **System.DateTime** | A date-time in ISO-8601 format | [optional] +**EntitlementAttributes** | [**System.Collections.Hashtable**](AnyType.md) | Map or dictionary of key/value pairs. | [optional] +**Created** | **System.DateTime** | ISO-8601 date-time referring to the time when the object was created. | [optional] + +## Examples + +- Prepare the resource +```powershell +$BaseAccount = Initialize-PSSailpointV2024BaseAccount -Id 2c91808568c529c60168cca6f90c1313 ` + -Name John Doe ` + -AccountId John.Doe ` + -Source null ` + -Disabled false ` + -Locked false ` + -Privileged false ` + -ManuallyCorrelated false ` + -PasswordLastSet 2018-06-25T20:22:28.104Z ` + -EntitlementAttributes {moderator=true, admin=true, trust_level=4} ` + -Created 2018-06-25T20:22:28.104Z +``` + +- Convert the resource to JSON +```powershell +$BaseAccount | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/BaseCommonDto.md b/PSSailpoint/v2024/docs/BaseCommonDto.md new file mode 100644 index 000000000..187d4cce6 --- /dev/null +++ b/PSSailpoint/v2024/docs/BaseCommonDto.md @@ -0,0 +1,27 @@ +# BaseCommonDto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | System-generated unique ID of the Object | [optional] [readonly] +**Name** | **String** | Name of the Object | +**Created** | **System.DateTime** | Creation date of the Object | [optional] [readonly] +**Modified** | **System.DateTime** | Last modification date of the Object | [optional] [readonly] + +## Examples + +- Prepare the resource +```powershell +$BaseCommonDto = Initialize-PSSailpointV2024BaseCommonDto -Id id12345 ` + -Name aName ` + -Created 2015-05-28T14:07:17Z ` + -Modified 2015-05-28T14:07:17Z +``` + +- Convert the resource to JSON +```powershell +$BaseCommonDto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/BaseCommonDto1.md b/PSSailpoint/v2024/docs/BaseCommonDto1.md new file mode 100644 index 000000000..b23c7dbd1 --- /dev/null +++ b/PSSailpoint/v2024/docs/BaseCommonDto1.md @@ -0,0 +1,27 @@ +# BaseCommonDto1 +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | System-generated unique ID of the Object | [optional] [readonly] +**Name** | **String** | Name of the Object | +**Created** | **System.DateTime** | Creation date of the Object | [optional] [readonly] +**Modified** | **System.DateTime** | Last modification date of the Object | [optional] [readonly] + +## Examples + +- Prepare the resource +```powershell +$BaseCommonDto1 = Initialize-PSSailpointV2024BaseCommonDto1 -Id id12345 ` + -Name aName ` + -Created 2023-01-03T21:16:22.432Z ` + -Modified 2023-01-03T21:16:22.432Z +``` + +- Convert the resource to JSON +```powershell +$BaseCommonDto1 | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/BaseDocument.md b/PSSailpoint/v2024/docs/BaseDocument.md new file mode 100644 index 000000000..39bbf2d80 --- /dev/null +++ b/PSSailpoint/v2024/docs/BaseDocument.md @@ -0,0 +1,25 @@ +# BaseDocument +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | | +**Name** | **String** | | +**Type** | [**DocumentType**](DocumentType.md) | | + +## Examples + +- Prepare the resource +```powershell +$BaseDocument = Initialize-PSSailpointV2024BaseDocument -Id 2c91808375d8e80a0175e1f88a575222 ` + -Name john.doe ` + -Type null +``` + +- Convert the resource to JSON +```powershell +$BaseDocument | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/BaseEntitlement.md b/PSSailpoint/v2024/docs/BaseEntitlement.md new file mode 100644 index 000000000..62f26665d --- /dev/null +++ b/PSSailpoint/v2024/docs/BaseEntitlement.md @@ -0,0 +1,35 @@ +# BaseEntitlement +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**HasPermissions** | **Boolean** | Indicates whether the entitlement has permissions. | [optional] [default to $false] +**Description** | **String** | Entitlement's description. | [optional] +**Attribute** | **String** | Entitlement attribute's name. | [optional] +**Value** | **String** | Entitlement's value. | [optional] +**Schema** | **String** | Entitlement's schema. | [optional] +**Privileged** | **Boolean** | Indicates whether the entitlement is privileged. | [optional] [default to $false] +**Id** | **String** | Entitlement's ID. | [optional] +**Name** | **String** | Entitlement's name. | [optional] + +## Examples + +- Prepare the resource +```powershell +$BaseEntitlement = Initialize-PSSailpointV2024BaseEntitlement -HasPermissions false ` + -Description Cloud engineering ` + -Attribute memberOf ` + -Value CN=Cloud Engineering,DC=sailpoint,DC=COM ` + -Schema group ` + -Privileged false ` + -Id 2c918084575812550157589064f33b89 ` + -Name CN=Cloud Engineering,DC=sailpoint,DC=COM +``` + +- Convert the resource to JSON +```powershell +$BaseEntitlement | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/BaseReferenceDto.md b/PSSailpoint/v2024/docs/BaseReferenceDto.md new file mode 100644 index 000000000..1e3df1775 --- /dev/null +++ b/PSSailpoint/v2024/docs/BaseReferenceDto.md @@ -0,0 +1,25 @@ +# BaseReferenceDto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | [**DtoType**](DtoType.md) | | [optional] +**Id** | **String** | ID of the object to which this reference applies | [optional] +**Name** | **String** | Human-readable display name of the object to which this reference applies | [optional] + +## Examples + +- Prepare the resource +```powershell +$BaseReferenceDto = Initialize-PSSailpointV2024BaseReferenceDto -Type null ` + -Id 2c91808568c529c60168cca6f90c1313 ` + -Name William Wilson +``` + +- Convert the resource to JSON +```powershell +$BaseReferenceDto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/BaseReferenceDto1.md b/PSSailpoint/v2024/docs/BaseReferenceDto1.md new file mode 100644 index 000000000..0ded7f98d --- /dev/null +++ b/PSSailpoint/v2024/docs/BaseReferenceDto1.md @@ -0,0 +1,23 @@ +# BaseReferenceDto1 +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | the application ID | [optional] +**Name** | **String** | the application name | [optional] + +## Examples + +- Prepare the resource +```powershell +$BaseReferenceDto1 = Initialize-PSSailpointV2024BaseReferenceDto1 -Id ff8081814d977c21014da056804a0af3 ` + -Name Github +``` + +- Convert the resource to JSON +```powershell +$BaseReferenceDto1 | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/BaseSegment.md b/PSSailpoint/v2024/docs/BaseSegment.md new file mode 100644 index 000000000..069fb6f8e --- /dev/null +++ b/PSSailpoint/v2024/docs/BaseSegment.md @@ -0,0 +1,23 @@ +# BaseSegment +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Segment's unique ID. | [optional] +**Name** | **String** | Segment's display name. | [optional] + +## Examples + +- Prepare the resource +```powershell +$BaseSegment = Initialize-PSSailpointV2024BaseSegment -Id b009b6e3-b56d-41d9-8735-cb532ea0b017 ` + -Name Test Segment +``` + +- Convert the resource to JSON +```powershell +$BaseSegment | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/BasicAuthConfig.md b/PSSailpoint/v2024/docs/BasicAuthConfig.md new file mode 100644 index 000000000..08cb3d2b1 --- /dev/null +++ b/PSSailpoint/v2024/docs/BasicAuthConfig.md @@ -0,0 +1,23 @@ +# BasicAuthConfig +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**UserName** | **String** | The username to authenticate. | [optional] +**Password** | **String** | The password to authenticate. On response, this field is set to null as to not return secrets. | [optional] + +## Examples + +- Prepare the resource +```powershell +$BasicAuthConfig = Initialize-PSSailpointV2024BasicAuthConfig -UserName user@example.com ` + -Password null +``` + +- Convert the resource to JSON +```powershell +$BasicAuthConfig | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/BearerTokenAuthConfig.md b/PSSailpoint/v2024/docs/BearerTokenAuthConfig.md new file mode 100644 index 000000000..65488fed2 --- /dev/null +++ b/PSSailpoint/v2024/docs/BearerTokenAuthConfig.md @@ -0,0 +1,21 @@ +# BearerTokenAuthConfig +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**BearerToken** | **String** | Bearer token | [optional] + +## Examples + +- Prepare the resource +```powershell +$BearerTokenAuthConfig = Initialize-PSSailpointV2024BearerTokenAuthConfig -BearerToken null +``` + +- Convert the resource to JSON +```powershell +$BearerTokenAuthConfig | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/BeforeProvisioningRuleDto.md b/PSSailpoint/v2024/docs/BeforeProvisioningRuleDto.md new file mode 100644 index 000000000..f42ba70c4 --- /dev/null +++ b/PSSailpoint/v2024/docs/BeforeProvisioningRuleDto.md @@ -0,0 +1,25 @@ +# BeforeProvisioningRuleDto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | Before Provisioning Rule DTO type. | [optional] +**Id** | **String** | Before Provisioning Rule ID. | [optional] +**Name** | **String** | Rule display name. | [optional] + +## Examples + +- Prepare the resource +```powershell +$BeforeProvisioningRuleDto = Initialize-PSSailpointV2024BeforeProvisioningRuleDto -Type RULE ` + -Id 048eb3d55c5a4758bd07dccb87741c78 ` + -Name Before Provisioning Airtable Rule +``` + +- Convert the resource to JSON +```powershell +$BeforeProvisioningRuleDto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Bound.md b/PSSailpoint/v2024/docs/Bound.md new file mode 100644 index 000000000..ac84e34ac --- /dev/null +++ b/PSSailpoint/v2024/docs/Bound.md @@ -0,0 +1,23 @@ +# Bound +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Value** | **String** | The value of the range's endpoint. | +**Inclusive** | **Boolean** | Indicates if the endpoint is included in the range. | [optional] [default to $false] + +## Examples + +- Prepare the resource +```powershell +$Bound = Initialize-PSSailpointV2024Bound -Value 1 ` + -Inclusive false +``` + +- Convert the resource to JSON +```powershell +$Bound | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/BrandingItem.md b/PSSailpoint/v2024/docs/BrandingItem.md new file mode 100644 index 000000000..db909432d --- /dev/null +++ b/PSSailpoint/v2024/docs/BrandingItem.md @@ -0,0 +1,35 @@ +# BrandingItem +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | name of branding item | [optional] +**ProductName** | **String** | product name | [optional] +**ActionButtonColor** | **String** | hex value of color for action button | [optional] +**ActiveLinkColor** | **String** | hex value of color for link | [optional] +**NavigationColor** | **String** | hex value of color for navigation bar | [optional] +**EmailFromAddress** | **String** | email from address | [optional] +**StandardLogoURL** | **String** | url to standard logo | [optional] +**LoginInformationalMessage** | **String** | login information message | [optional] + +## Examples + +- Prepare the resource +```powershell +$BrandingItem = Initialize-PSSailpointV2024BrandingItem -Name default ` + -ProductName product name ` + -ActionButtonColor 0074D9 ` + -ActiveLinkColor 011E69 ` + -NavigationColor 011E69 ` + -EmailFromAddress no-reply@sailpoint.com ` + -StandardLogoURL ` + -LoginInformationalMessage +``` + +- Convert the resource to JSON +```powershell +$BrandingItem | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/BrandingItemCreate.md b/PSSailpoint/v2024/docs/BrandingItemCreate.md new file mode 100644 index 000000000..3db5c3c21 --- /dev/null +++ b/PSSailpoint/v2024/docs/BrandingItemCreate.md @@ -0,0 +1,35 @@ +# BrandingItemCreate +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | name of branding item | +**ProductName** | **String** | product name | +**ActionButtonColor** | **String** | hex value of color for action button | [optional] +**ActiveLinkColor** | **String** | hex value of color for link | [optional] +**NavigationColor** | **String** | hex value of color for navigation bar | [optional] +**EmailFromAddress** | **String** | email from address | [optional] +**LoginInformationalMessage** | **String** | login information message | [optional] +**FileStandard** | **System.IO.FileInfo** | png file with logo | [optional] + +## Examples + +- Prepare the resource +```powershell +$BrandingItemCreate = Initialize-PSSailpointV2024BrandingItemCreate -Name custom-branding-item ` + -ProductName product name ` + -ActionButtonColor 0074D9 ` + -ActiveLinkColor 011E69 ` + -NavigationColor 011E69 ` + -EmailFromAddress no-reply@sailpoint.com ` + -LoginInformationalMessage ` + -FileStandard \x00\x00\x00\x02 +``` + +- Convert the resource to JSON +```powershell +$BrandingItemCreate | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/BucketAggregation.md b/PSSailpoint/v2024/docs/BucketAggregation.md new file mode 100644 index 000000000..d05d28f3f --- /dev/null +++ b/PSSailpoint/v2024/docs/BucketAggregation.md @@ -0,0 +1,29 @@ +# BucketAggregation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | The name of the bucket aggregate to be included in the result. | +**Type** | [**BucketType**](BucketType.md) | | [optional] +**Field** | **String** | The field to bucket on. Prefix the field name with '@' to reference a nested object. | +**Size** | **Int32** | Maximum number of buckets to include. | [optional] +**MinDocCount** | **Int32** | Minimum number of documents a bucket should have. | [optional] + +## Examples + +- Prepare the resource +```powershell +$BucketAggregation = Initialize-PSSailpointV2024BucketAggregation -Name Identity Locations ` + -Type null ` + -Field attributes.city ` + -Size 100 ` + -MinDocCount 2 +``` + +- Convert the resource to JSON +```powershell +$BucketAggregation | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/BucketType.md b/PSSailpoint/v2024/docs/BucketType.md new file mode 100644 index 000000000..8982be70f --- /dev/null +++ b/PSSailpoint/v2024/docs/BucketType.md @@ -0,0 +1,20 @@ +# BucketType +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$BucketType = Initialize-PSSailpointV2024BucketType +``` + +- Convert the resource to JSON +```powershell +$BucketType | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/BulkAddTaggedObject.md b/PSSailpoint/v2024/docs/BulkAddTaggedObject.md new file mode 100644 index 000000000..c12e6d425 --- /dev/null +++ b/PSSailpoint/v2024/docs/BulkAddTaggedObject.md @@ -0,0 +1,25 @@ +# BulkAddTaggedObject +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ObjectRefs** | [**TaggedObjectDto[]**](TaggedObjectDto.md) | | [optional] +**Tags** | **String[]** | Label to be applied to an Object | [optional] +**Operation** | **String** | If APPEND, tags are appended to the list of tags for the object. A 400 error is returned if this would add duplicate tags to the object. If MERGE, tags are merged with the existing tags. Duplicate tags are silently ignored. | [optional] [default to "APPEND"] + +## Examples + +- Prepare the resource +```powershell +$BulkAddTaggedObject = Initialize-PSSailpointV2024BulkAddTaggedObject -ObjectRefs null ` + -Tags [BU_FINANCE, PCI] ` + -Operation MERGE +``` + +- Convert the resource to JSON +```powershell +$BulkAddTaggedObject | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/BulkIdentitiesAccountsResponse.md b/PSSailpoint/v2024/docs/BulkIdentitiesAccountsResponse.md new file mode 100644 index 000000000..31936c974 --- /dev/null +++ b/PSSailpoint/v2024/docs/BulkIdentitiesAccountsResponse.md @@ -0,0 +1,25 @@ +# BulkIdentitiesAccountsResponse +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Identifier of bulk request item. | [optional] +**StatusCode** | **Int32** | Response status value. | [optional] +**Message** | **String** | Status containing additional context information about failures. | [optional] + +## Examples + +- Prepare the resource +```powershell +$BulkIdentitiesAccountsResponse = Initialize-PSSailpointV2024BulkIdentitiesAccountsResponse -Id 2c9180858082150f0180893dbaf553fe ` + -StatusCode 404 ` + -Message Referenced identity "2c9180858082150f0180893dbaf553fe" was not found. +``` + +- Convert the resource to JSON +```powershell +$BulkIdentitiesAccountsResponse | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/BulkRemoveTaggedObject.md b/PSSailpoint/v2024/docs/BulkRemoveTaggedObject.md new file mode 100644 index 000000000..75a1522d7 --- /dev/null +++ b/PSSailpoint/v2024/docs/BulkRemoveTaggedObject.md @@ -0,0 +1,23 @@ +# BulkRemoveTaggedObject +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ObjectRefs** | [**TaggedObjectDto[]**](TaggedObjectDto.md) | | [optional] +**Tags** | **String[]** | Label to be applied to an Object | [optional] + +## Examples + +- Prepare the resource +```powershell +$BulkRemoveTaggedObject = Initialize-PSSailpointV2024BulkRemoveTaggedObject -ObjectRefs null ` + -Tags [BU_FINANCE, PCI] +``` + +- Convert the resource to JSON +```powershell +$BulkRemoveTaggedObject | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/BulkTaggedObjectResponse.md b/PSSailpoint/v2024/docs/BulkTaggedObjectResponse.md new file mode 100644 index 000000000..4bca2c250 --- /dev/null +++ b/PSSailpoint/v2024/docs/BulkTaggedObjectResponse.md @@ -0,0 +1,23 @@ +# BulkTaggedObjectResponse +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ObjectRefs** | [**TaggedObjectDto[]**](TaggedObjectDto.md) | | [optional] +**Tags** | **String[]** | Label to be applied to an Object | [optional] + +## Examples + +- Prepare the resource +```powershell +$BulkTaggedObjectResponse = Initialize-PSSailpointV2024BulkTaggedObjectResponse -ObjectRefs null ` + -Tags [BU_FINANCE, PCI] +``` + +- Convert the resource to JSON +```powershell +$BulkTaggedObjectResponse | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Campaign.md b/PSSailpoint/v2024/docs/Campaign.md new file mode 100644 index 000000000..c9d440f09 --- /dev/null +++ b/PSSailpoint/v2024/docs/Campaign.md @@ -0,0 +1,63 @@ +# Campaign +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Id of the campaign | [optional] [readonly] +**Name** | **String** | The campaign name. If this object is part of a template, special formatting applies; see the `/campaign-templates/{id}/generate` endpoint documentation for details. | +**Description** | **String** | The campaign description. If this object is part of a template, special formatting applies; see the `/campaign-templates/{id}/generate` endpoint documentation for details. | +**Deadline** | **System.DateTime** | The campaign's completion deadline. This date must be in the future in order to activate the campaign. If you try to activate a campaign with a deadline of today or in the past, you will receive a 400 error response. | [optional] +**Type** | **String** | The type of campaign. Could be extended in the future. | +**EmailNotificationEnabled** | **Boolean** | Enables email notification for this campaign | [optional] [default to $false] +**AutoRevokeAllowed** | **Boolean** | Allows auto revoke for this campaign | [optional] [default to $false] +**RecommendationsEnabled** | **Boolean** | Enables IAI for this campaign. Accepts true even if the IAI product feature is off. If IAI is turned off then campaigns generated from this template will indicate false. The real value will then be returned if IAI is ever enabled for the org in the future. | [optional] [default to $false] +**Status** | **String** | The campaign's current status. | [optional] [readonly] +**CorrelatedStatus** | [**SystemCollectionsHashtable**](.md) | The correlatedStatus of the campaign. Only SOURCE_OWNER campaigns can be Uncorrelated. An Uncorrelated certification campaign only includes Uncorrelated identities (An identity is uncorrelated if it has no accounts on an authoritative source). | [optional] +**Created** | **System.DateTime** | Created time of the campaign | [optional] [readonly] +**TotalCertifications** | **Int32** | The total number of certifications in this campaign. | [optional] [readonly] +**CompletedCertifications** | **Int32** | The number of completed certifications in this campaign. | [optional] [readonly] +**Alerts** | [**CampaignAlert[]**](CampaignAlert.md) | A list of errors and warnings that have accumulated. | [optional] [readonly] +**Modified** | **System.DateTime** | Modified time of the campaign | [optional] [readonly] +**VarFilter** | [**CampaignAllOfFilter**](CampaignAllOfFilter.md) | | [optional] +**SunsetCommentsRequired** | **Boolean** | Determines if comments on sunset date changes are required. | [optional] [default to $true] +**SourceOwnerCampaignInfo** | [**CampaignAllOfSourceOwnerCampaignInfo**](CampaignAllOfSourceOwnerCampaignInfo.md) | | [optional] +**SearchCampaignInfo** | [**CampaignAllOfSearchCampaignInfo**](CampaignAllOfSearchCampaignInfo.md) | | [optional] +**RoleCompositionCampaignInfo** | [**CampaignAllOfRoleCompositionCampaignInfo**](CampaignAllOfRoleCompositionCampaignInfo.md) | | [optional] +**SourcesWithOrphanEntitlements** | [**CampaignAllOfSourcesWithOrphanEntitlements[]**](CampaignAllOfSourcesWithOrphanEntitlements.md) | A list of sources in the campaign that contain \""orphan entitlements\"" (entitlements without a corresponding Managed Attribute). An empty list indicates the campaign has no orphan entitlements. Null indicates there may be unknown orphan entitlements in the campaign (the campaign was created before this feature was implemented). | [optional] [readonly] +**MandatoryCommentRequirement** | **String** | Determines whether comments are required for decisions during certification reviews. You can require comments for all decisions, revoke-only decisions, or no decisions. By default, comments are not required for decisions. | [optional] + +## Examples + +- Prepare the resource +```powershell +$Campaign = Initialize-PSSailpointV2024Campaign -Id 2c9079b270a266a60170a2779fcb0007 ` + -Name Manager Campaign ` + -Description Everyone needs to be reviewed by their manager ` + -Deadline 2020-03-15T10:00:01.456Z ` + -Type MANAGER ` + -EmailNotificationEnabled false ` + -AutoRevokeAllowed false ` + -RecommendationsEnabled true ` + -Status ACTIVE ` + -CorrelatedStatus CORRELATED ` + -Created 2020-03-03T22:15:13.611Z ` + -TotalCertifications 100 ` + -CompletedCertifications 10 ` + -Alerts null ` + -Modified 2020-03-03T22:20:12.674Z ` + -VarFilter null ` + -SunsetCommentsRequired true ` + -SourceOwnerCampaignInfo null ` + -SearchCampaignInfo null ` + -RoleCompositionCampaignInfo null ` + -SourcesWithOrphanEntitlements null ` + -MandatoryCommentRequirement NO_DECISIONS +``` + +- Convert the resource to JSON +```powershell +$Campaign | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CampaignActivated.md b/PSSailpoint/v2024/docs/CampaignActivated.md new file mode 100644 index 000000000..f4be7f71d --- /dev/null +++ b/PSSailpoint/v2024/docs/CampaignActivated.md @@ -0,0 +1,21 @@ +# CampaignActivated +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Campaign** | [**CampaignActivatedCampaign**](CampaignActivatedCampaign.md) | | + +## Examples + +- Prepare the resource +```powershell +$CampaignActivated = Initialize-PSSailpointV2024CampaignActivated -Campaign null +``` + +- Convert the resource to JSON +```powershell +$CampaignActivated | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CampaignActivatedCampaign.md b/PSSailpoint/v2024/docs/CampaignActivatedCampaign.md new file mode 100644 index 000000000..a3f2291b9 --- /dev/null +++ b/PSSailpoint/v2024/docs/CampaignActivatedCampaign.md @@ -0,0 +1,37 @@ +# CampaignActivatedCampaign +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Unique ID for the campaign. | +**Name** | **String** | The human friendly name of the campaign. | +**Description** | **String** | Extended description of the campaign. | +**Created** | **System.DateTime** | The date and time the campaign was created. | +**Modified** | **System.DateTime** | The date and time the campaign was last modified. | [optional] +**Deadline** | **System.DateTime** | The date and time the campaign is due. | +**Type** | [**SystemCollectionsHashtable**](.md) | The type of campaign. | +**CampaignOwner** | [**CampaignActivatedCampaignCampaignOwner**](CampaignActivatedCampaignCampaignOwner.md) | | +**Status** | [**SystemCollectionsHashtable**](.md) | The current status of the campaign. | + +## Examples + +- Prepare the resource +```powershell +$CampaignActivatedCampaign = Initialize-PSSailpointV2024CampaignActivatedCampaign -Id 2c91808576f886190176f88cac5a0010 ` + -Name Manager Access Campaign ` + -Description Audit access for all employees. ` + -Created 2021-02-16T03:04:45.815Z ` + -Modified 2021-02-16T03:06:45.815Z ` + -Deadline 2021-03-16T03:04:45.815Z ` + -Type MANAGER ` + -CampaignOwner null ` + -Status ACTIVE +``` + +- Convert the resource to JSON +```powershell +$CampaignActivatedCampaign | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CampaignActivatedCampaignCampaignOwner.md b/PSSailpoint/v2024/docs/CampaignActivatedCampaignCampaignOwner.md new file mode 100644 index 000000000..24afefe97 --- /dev/null +++ b/PSSailpoint/v2024/docs/CampaignActivatedCampaignCampaignOwner.md @@ -0,0 +1,25 @@ +# CampaignActivatedCampaignCampaignOwner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The unique ID of the identity. | +**DisplayName** | **String** | The human friendly name of the identity. | +**Email** | **String** | The primary email address of the identity. | + +## Examples + +- Prepare the resource +```powershell +$CampaignActivatedCampaignCampaignOwner = Initialize-PSSailpointV2024CampaignActivatedCampaignCampaignOwner -Id 37f080867702c1910177031320c40n27 ` + -DisplayName John Snow ` + -Email john.snow@example.com +``` + +- Convert the resource to JSON +```powershell +$CampaignActivatedCampaignCampaignOwner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CampaignAlert.md b/PSSailpoint/v2024/docs/CampaignAlert.md new file mode 100644 index 000000000..80ee8f664 --- /dev/null +++ b/PSSailpoint/v2024/docs/CampaignAlert.md @@ -0,0 +1,23 @@ +# CampaignAlert +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Level** | **String** | Denotes the level of the message | [optional] +**Localizations** | [**ErrorMessageDto[]**](ErrorMessageDto.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$CampaignAlert = Initialize-PSSailpointV2024CampaignAlert -Level ERROR ` + -Localizations null +``` + +- Convert the resource to JSON +```powershell +$CampaignAlert | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CampaignAllOfFilter.md b/PSSailpoint/v2024/docs/CampaignAllOfFilter.md new file mode 100644 index 000000000..b092ef09c --- /dev/null +++ b/PSSailpoint/v2024/docs/CampaignAllOfFilter.md @@ -0,0 +1,25 @@ +# CampaignAllOfFilter +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The ID of whatever type of filter is being used. | [optional] +**Type** | **String** | Type of the filter | [optional] +**Name** | **String** | Name of the filter | [optional] + +## Examples + +- Prepare the resource +```powershell +$CampaignAllOfFilter = Initialize-PSSailpointV2024CampaignAllOfFilter -Id 0fbe863c063c4c88a35fd7f17e8a3df5 ` + -Type CAMPAIGN_FILTER ` + -Name Test Filter +``` + +- Convert the resource to JSON +```powershell +$CampaignAllOfFilter | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CampaignAllOfRoleCompositionCampaignInfo.md b/PSSailpoint/v2024/docs/CampaignAllOfRoleCompositionCampaignInfo.md new file mode 100644 index 000000000..f42120ba6 --- /dev/null +++ b/PSSailpoint/v2024/docs/CampaignAllOfRoleCompositionCampaignInfo.md @@ -0,0 +1,29 @@ +# CampaignAllOfRoleCompositionCampaignInfo +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Reviewer** | [**CampaignAllOfSearchCampaignInfoReviewer**](CampaignAllOfSearchCampaignInfoReviewer.md) | | [optional] +**RoleIds** | **String[]** | Optional list of roles to include in this campaign. Only one of `roleIds` and `query` may be set; if neither are set, all roles are included. | [optional] +**RemediatorRef** | [**CampaignAllOfRoleCompositionCampaignInfoRemediatorRef**](CampaignAllOfRoleCompositionCampaignInfoRemediatorRef.md) | | +**Query** | **String** | Optional search query to scope this campaign to a set of roles. Only one of `roleIds` and `query` may be set; if neither are set, all roles are included. | [optional] +**Description** | **String** | Describes this role composition campaign. Intended for storing the query used, and possibly the number of roles selected/available. | [optional] + +## Examples + +- Prepare the resource +```powershell +$CampaignAllOfRoleCompositionCampaignInfo = Initialize-PSSailpointV2024CampaignAllOfRoleCompositionCampaignInfo -Reviewer null ` + -RoleIds [2c90ad2a70ace7d50170acf22ca90010] ` + -RemediatorRef null ` + -Query Search Query ` + -Description Role Composition Description +``` + +- Convert the resource to JSON +```powershell +$CampaignAllOfRoleCompositionCampaignInfo | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CampaignAllOfRoleCompositionCampaignInfoRemediatorRef.md b/PSSailpoint/v2024/docs/CampaignAllOfRoleCompositionCampaignInfoRemediatorRef.md new file mode 100644 index 000000000..84ac06130 --- /dev/null +++ b/PSSailpoint/v2024/docs/CampaignAllOfRoleCompositionCampaignInfoRemediatorRef.md @@ -0,0 +1,25 @@ +# CampaignAllOfRoleCompositionCampaignInfoRemediatorRef +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | Legal Remediator Type | +**Id** | **String** | The ID of the remediator. | +**Name** | **String** | The name of the remediator. | [optional] [readonly] + +## Examples + +- Prepare the resource +```powershell +$CampaignAllOfRoleCompositionCampaignInfoRemediatorRef = Initialize-PSSailpointV2024CampaignAllOfRoleCompositionCampaignInfoRemediatorRef -Type IDENTITY ` + -Id 2c90ad2a70ace7d50170acf22ca90010 ` + -Name Role Admin +``` + +- Convert the resource to JSON +```powershell +$CampaignAllOfRoleCompositionCampaignInfoRemediatorRef | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CampaignAllOfSearchCampaignInfo.md b/PSSailpoint/v2024/docs/CampaignAllOfSearchCampaignInfo.md new file mode 100644 index 000000000..82f345e5d --- /dev/null +++ b/PSSailpoint/v2024/docs/CampaignAllOfSearchCampaignInfo.md @@ -0,0 +1,31 @@ +# CampaignAllOfSearchCampaignInfo +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | The type of search campaign represented. | +**Description** | **String** | Describes this search campaign. Intended for storing the query used, and possibly the number of identities selected/available. | [optional] +**Reviewer** | [**CampaignAllOfSearchCampaignInfoReviewer**](CampaignAllOfSearchCampaignInfoReviewer.md) | | [optional] +**Query** | **String** | The scope for the campaign. The campaign will cover identities returned by the query and identities that have access items returned by the query. One of `query` or `identityIds` must be set. | [optional] +**IdentityIds** | **String[]** | A direct list of identities to include in this campaign. One of `identityIds` or `query` must be set. | [optional] +**AccessConstraints** | [**AccessConstraint[]**](AccessConstraint.md) | Further reduces the scope of the campaign by excluding identities (from `query` or `identityIds`) that do not have this access. | [optional] + +## Examples + +- Prepare the resource +```powershell +$CampaignAllOfSearchCampaignInfo = Initialize-PSSailpointV2024CampaignAllOfSearchCampaignInfo -Type ACCESS ` + -Description Search Campaign description ` + -Reviewer null ` + -Query Search Campaign query description ` + -IdentityIds [0fbe863c063c4c88a35fd7f17e8a3df5] ` + -AccessConstraints null +``` + +- Convert the resource to JSON +```powershell +$CampaignAllOfSearchCampaignInfo | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CampaignAllOfSearchCampaignInfoReviewer.md b/PSSailpoint/v2024/docs/CampaignAllOfSearchCampaignInfoReviewer.md new file mode 100644 index 000000000..8e0b4b01d --- /dev/null +++ b/PSSailpoint/v2024/docs/CampaignAllOfSearchCampaignInfoReviewer.md @@ -0,0 +1,25 @@ +# CampaignAllOfSearchCampaignInfoReviewer +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | The reviewer's DTO type. | [optional] +**Id** | **String** | The reviewer's ID. | [optional] +**Name** | **String** | The reviewer's name. | [optional] + +## Examples + +- Prepare the resource +```powershell +$CampaignAllOfSearchCampaignInfoReviewer = Initialize-PSSailpointV2024CampaignAllOfSearchCampaignInfoReviewer -Type IDENTITY ` + -Id 2c91808568c529c60168cca6f90c1313 ` + -Name William Wilson +``` + +- Convert the resource to JSON +```powershell +$CampaignAllOfSearchCampaignInfoReviewer | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CampaignAllOfSourceOwnerCampaignInfo.md b/PSSailpoint/v2024/docs/CampaignAllOfSourceOwnerCampaignInfo.md new file mode 100644 index 000000000..67d82c938 --- /dev/null +++ b/PSSailpoint/v2024/docs/CampaignAllOfSourceOwnerCampaignInfo.md @@ -0,0 +1,21 @@ +# CampaignAllOfSourceOwnerCampaignInfo +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**SourceIds** | **String[]** | The list of sources to be included in the campaign. | [optional] + +## Examples + +- Prepare the resource +```powershell +$CampaignAllOfSourceOwnerCampaignInfo = Initialize-PSSailpointV2024CampaignAllOfSourceOwnerCampaignInfo -SourceIds [0fbe863c063c4c88a35fd7f17e8a3df5] +``` + +- Convert the resource to JSON +```powershell +$CampaignAllOfSourceOwnerCampaignInfo | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CampaignAllOfSourcesWithOrphanEntitlements.md b/PSSailpoint/v2024/docs/CampaignAllOfSourcesWithOrphanEntitlements.md new file mode 100644 index 000000000..0875609b6 --- /dev/null +++ b/PSSailpoint/v2024/docs/CampaignAllOfSourcesWithOrphanEntitlements.md @@ -0,0 +1,25 @@ +# CampaignAllOfSourcesWithOrphanEntitlements +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Id of the source | [optional] +**Type** | **String** | Type | [optional] +**Name** | **String** | Name of the source | [optional] + +## Examples + +- Prepare the resource +```powershell +$CampaignAllOfSourcesWithOrphanEntitlements = Initialize-PSSailpointV2024CampaignAllOfSourcesWithOrphanEntitlements -Id 2c90ad2a70ace7d50170acf22ca90010 ` + -Type SOURCE ` + -Name Source with orphan entitlements +``` + +- Convert the resource to JSON +```powershell +$CampaignAllOfSourcesWithOrphanEntitlements | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CampaignCompleteOptions.md b/PSSailpoint/v2024/docs/CampaignCompleteOptions.md new file mode 100644 index 000000000..dbb4ed88a --- /dev/null +++ b/PSSailpoint/v2024/docs/CampaignCompleteOptions.md @@ -0,0 +1,21 @@ +# CampaignCompleteOptions +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AutoCompleteAction** | **String** | Determines whether to auto-approve(APPROVE) or auto-revoke(REVOKE) upon campaign completion. | [optional] [default to "APPROVE"] + +## Examples + +- Prepare the resource +```powershell +$CampaignCompleteOptions = Initialize-PSSailpointV2024CampaignCompleteOptions -AutoCompleteAction REVOKE +``` + +- Convert the resource to JSON +```powershell +$CampaignCompleteOptions | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CampaignEnded.md b/PSSailpoint/v2024/docs/CampaignEnded.md new file mode 100644 index 000000000..1f072be7e --- /dev/null +++ b/PSSailpoint/v2024/docs/CampaignEnded.md @@ -0,0 +1,21 @@ +# CampaignEnded +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Campaign** | [**CampaignEndedCampaign**](CampaignEndedCampaign.md) | | + +## Examples + +- Prepare the resource +```powershell +$CampaignEnded = Initialize-PSSailpointV2024CampaignEnded -Campaign null +``` + +- Convert the resource to JSON +```powershell +$CampaignEnded | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CampaignEndedCampaign.md b/PSSailpoint/v2024/docs/CampaignEndedCampaign.md new file mode 100644 index 000000000..0fb8ad57a --- /dev/null +++ b/PSSailpoint/v2024/docs/CampaignEndedCampaign.md @@ -0,0 +1,37 @@ +# CampaignEndedCampaign +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Unique ID for the campaign. | +**Name** | **String** | The human friendly name of the campaign. | +**Description** | **String** | Extended description of the campaign. | +**Created** | **System.DateTime** | The date and time the campaign was created. | +**Modified** | **System.DateTime** | The date and time the campaign was last modified. | [optional] +**Deadline** | **System.DateTime** | The date and time the campaign is due. | +**Type** | [**SystemCollectionsHashtable**](.md) | The type of campaign. | +**CampaignOwner** | [**CampaignActivatedCampaignCampaignOwner**](CampaignActivatedCampaignCampaignOwner.md) | | +**Status** | [**SystemCollectionsHashtable**](.md) | The current status of the campaign. | + +## Examples + +- Prepare the resource +```powershell +$CampaignEndedCampaign = Initialize-PSSailpointV2024CampaignEndedCampaign -Id 2c91808576f886190176f88cac5a0010 ` + -Name Manager Access Campaign ` + -Description Audit access for all employees. ` + -Created 2021-02-16T03:04:45.815Z ` + -Modified 2021-03-16T03:06:45.815Z ` + -Deadline 2021-03-16T03:04:45.815Z ` + -Type MANAGER ` + -CampaignOwner null ` + -Status COMPLETED +``` + +- Convert the resource to JSON +```powershell +$CampaignEndedCampaign | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CampaignFilterDetails.md b/PSSailpoint/v2024/docs/CampaignFilterDetails.md new file mode 100644 index 000000000..5519ebbd0 --- /dev/null +++ b/PSSailpoint/v2024/docs/CampaignFilterDetails.md @@ -0,0 +1,29 @@ +# CampaignFilterDetails +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | Campaign filter name. | +**Description** | **String** | Campaign filter description. | [optional] +**Owner** | **String** | Owner of the filter. This field automatically populates at creation time with the current user. | +**Mode** | [**SystemCollectionsHashtable**](.md) | Mode/type of filter, either the INCLUSION or EXCLUSION type. The INCLUSION type includes the data in generated campaigns as per specified in the criteria, whereas the EXCLUSION type excludes the data in generated campaigns as per specified in criteria. | +**CriteriaList** | [**CampaignFilterDetailsCriteriaListInner[]**](CampaignFilterDetailsCriteriaListInner.md) | List of criteria. | [optional] + +## Examples + +- Prepare the resource +```powershell +$CampaignFilterDetails = Initialize-PSSailpointV2024CampaignFilterDetails -Name Identity Attribute Campaign Filter ` + -Description Campaign filter to certify data based on an identity attribute's specified property. ` + -Owner SailPoint Support ` + -Mode INCLUSION ` + -CriteriaList [{type=IDENTITY_ATTRIBUTE, property=displayName, value=support, operation=CONTAINS, negateResult=false, shortCircuit=false, recordChildMatches=false, id=null, suppressMatchedItems=false, children=null}] +``` + +- Convert the resource to JSON +```powershell +$CampaignFilterDetails | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CampaignFilterDetailsCriteriaListInner.md b/PSSailpoint/v2024/docs/CampaignFilterDetailsCriteriaListInner.md new file mode 100644 index 000000000..510a49023 --- /dev/null +++ b/PSSailpoint/v2024/docs/CampaignFilterDetailsCriteriaListInner.md @@ -0,0 +1,27 @@ +# CampaignFilterDetailsCriteriaListInner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | [**CriteriaType**](CriteriaType.md) | | +**Operation** | [**Operation**](Operation.md) | | +**Property** | **String** | Specified key from the type of criteria. | +**Value** | **String** | Value for the specified key from the type of criteria. | + +## Examples + +- Prepare the resource +```powershell +$CampaignFilterDetailsCriteriaListInner = Initialize-PSSailpointV2024CampaignFilterDetailsCriteriaListInner -Type null ` + -Operation null ` + -Property displayName ` + -Value Allie +``` + +- Convert the resource to JSON +```powershell +$CampaignFilterDetailsCriteriaListInner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CampaignGenerated.md b/PSSailpoint/v2024/docs/CampaignGenerated.md new file mode 100644 index 000000000..9b6b07cc8 --- /dev/null +++ b/PSSailpoint/v2024/docs/CampaignGenerated.md @@ -0,0 +1,21 @@ +# CampaignGenerated +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Campaign** | [**CampaignGeneratedCampaign**](CampaignGeneratedCampaign.md) | | + +## Examples + +- Prepare the resource +```powershell +$CampaignGenerated = Initialize-PSSailpointV2024CampaignGenerated -Campaign null +``` + +- Convert the resource to JSON +```powershell +$CampaignGenerated | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CampaignGeneratedCampaign.md b/PSSailpoint/v2024/docs/CampaignGeneratedCampaign.md new file mode 100644 index 000000000..406c724c3 --- /dev/null +++ b/PSSailpoint/v2024/docs/CampaignGeneratedCampaign.md @@ -0,0 +1,37 @@ +# CampaignGeneratedCampaign +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The unique ID of the campaign. | +**Name** | **String** | Human friendly name of the campaign. | +**Description** | **String** | Extended description of the campaign. | +**Created** | **System.DateTime** | The date and time the campaign was created. | +**Modified** | **String** | The date and time the campaign was last modified. | [optional] +**Deadline** | **String** | The date and time when the campaign must be finished by. | [optional] +**Type** | [**SystemCollectionsHashtable**](.md) | The type of campaign that was generated. | +**CampaignOwner** | [**CampaignGeneratedCampaignCampaignOwner**](CampaignGeneratedCampaignCampaignOwner.md) | | +**Status** | [**SystemCollectionsHashtable**](.md) | The current status of the campaign. | + +## Examples + +- Prepare the resource +```powershell +$CampaignGeneratedCampaign = Initialize-PSSailpointV2024CampaignGeneratedCampaign -Id 2c91808576f886190176f88cac5a0010 ` + -Name Manager Access Campaign ` + -Description Audit access for all employees. ` + -Created 2021-02-16T03:04:45.815Z ` + -Modified 2021-02-17T03:04:45.815Z ` + -Deadline 2021-02-18T03:04:45.815Z ` + -Type MANAGER ` + -CampaignOwner null ` + -Status STAGED +``` + +- Convert the resource to JSON +```powershell +$CampaignGeneratedCampaign | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CampaignGeneratedCampaignCampaignOwner.md b/PSSailpoint/v2024/docs/CampaignGeneratedCampaignCampaignOwner.md new file mode 100644 index 000000000..938b02551 --- /dev/null +++ b/PSSailpoint/v2024/docs/CampaignGeneratedCampaignCampaignOwner.md @@ -0,0 +1,25 @@ +# CampaignGeneratedCampaignCampaignOwner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The unique ID of the identity. | +**DisplayName** | **String** | The display name of the identity. | +**Email** | **String** | The primary email address of the identity. | + +## Examples + +- Prepare the resource +```powershell +$CampaignGeneratedCampaignCampaignOwner = Initialize-PSSailpointV2024CampaignGeneratedCampaignCampaignOwner -Id 37f080867702c1910177031320c40n27 ` + -DisplayName John Snow ` + -Email john.snow@example.com +``` + +- Convert the resource to JSON +```powershell +$CampaignGeneratedCampaignCampaignOwner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CampaignReference.md b/PSSailpoint/v2024/docs/CampaignReference.md new file mode 100644 index 000000000..3af599ad2 --- /dev/null +++ b/PSSailpoint/v2024/docs/CampaignReference.md @@ -0,0 +1,33 @@ +# CampaignReference +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The unique ID of the campaign. | +**Name** | **String** | The name of the campaign. | +**Type** | **String** | The type of object that is being referenced. | +**CampaignType** | **String** | The type of the campaign. | +**Description** | **String** | The description of the campaign set by the admin who created it. | +**CorrelatedStatus** | [**SystemCollectionsHashtable**](.md) | The correlatedStatus of the campaign. Only SOURCE_OWNER campaigns can be Uncorrelated. An Uncorrelated certification campaign only includes Uncorrelated identities (An identity is uncorrelated if it has no accounts on an authoritative source). | +**MandatoryCommentRequirement** | **String** | Determines whether comments are required for decisions during certification reviews. You can require comments for all decisions, revoke-only decisions, or no decisions. By default, comments are not required for decisions. | + +## Examples + +- Prepare the resource +```powershell +$CampaignReference = Initialize-PSSailpointV2024CampaignReference -Id ef38f94347e94562b5bb8424a56397d8 ` + -Name Campaign Name ` + -Type CAMPAIGN ` + -CampaignType MANAGER ` + -Description A description of the campaign ` + -CorrelatedStatus CORRELATED ` + -MandatoryCommentRequirement NO_DECISIONS +``` + +- Convert the resource to JSON +```powershell +$CampaignReference | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CampaignReport.md b/PSSailpoint/v2024/docs/CampaignReport.md new file mode 100644 index 000000000..88a5c4530 --- /dev/null +++ b/PSSailpoint/v2024/docs/CampaignReport.md @@ -0,0 +1,31 @@ +# CampaignReport +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | SOD policy violation report result DTO type. | [optional] +**Id** | **String** | SOD policy violation report result ID. | [optional] +**Name** | **String** | Human-readable name of the SOD policy violation report result. | [optional] +**Status** | **String** | Status of a SOD policy violation report. | [optional] +**ReportType** | [**ReportType**](ReportType.md) | | +**LastRunAt** | **System.DateTime** | The most recent date and time this report was run | [optional] [readonly] + +## Examples + +- Prepare the resource +```powershell +$CampaignReport = Initialize-PSSailpointV2024CampaignReport -Type REPORT_RESULT ` + -Id 2c9180835d191a86015d28455b4b232a ` + -Name SOD Policy 1 Violation ` + -Status PENDING ` + -ReportType null ` + -LastRunAt null +``` + +- Convert the resource to JSON +```powershell +$CampaignReport | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CampaignReportsConfig.md b/PSSailpoint/v2024/docs/CampaignReportsConfig.md new file mode 100644 index 000000000..d7310827c --- /dev/null +++ b/PSSailpoint/v2024/docs/CampaignReportsConfig.md @@ -0,0 +1,21 @@ +# CampaignReportsConfig +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**IdentityAttributeColumns** | **String[]** | list of identity attribute columns | [optional] + +## Examples + +- Prepare the resource +```powershell +$CampaignReportsConfig = Initialize-PSSailpointV2024CampaignReportsConfig -IdentityAttributeColumns [firstname, lastname] +``` + +- Convert the resource to JSON +```powershell +$CampaignReportsConfig | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CampaignTemplate.md b/PSSailpoint/v2024/docs/CampaignTemplate.md new file mode 100644 index 000000000..e285fba6b --- /dev/null +++ b/PSSailpoint/v2024/docs/CampaignTemplate.md @@ -0,0 +1,37 @@ +# CampaignTemplate +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Id of the campaign template | [optional] +**Name** | **String** | This template's name. Has no bearing on generated campaigns' names. | +**Description** | **String** | This template's description. Has no bearing on generated campaigns' descriptions. | +**Created** | **System.DateTime** | Creation date of Campaign Template | [readonly] +**Modified** | **System.DateTime** | Modification date of Campaign Template | [readonly] +**Scheduled** | **Boolean** | Indicates if this campaign template has been scheduled. | [optional] [readonly] [default to $false] +**OwnerRef** | [**CampaignTemplateOwnerRef**](CampaignTemplateOwnerRef.md) | | [optional] +**DeadlineDuration** | **String** | The time period during which the campaign should be completed, formatted as an ISO-8601 Duration. When this template generates a campaign, the campaign's deadline will be the current date plus this duration. For example, if generation occurred on 2020-01-01 and this field was ""P2W"" (two weeks), the resulting campaign's deadline would be 2020-01-15 (the current date plus 14 days). | [optional] +**Campaign** | [**Campaign**](.md) | This will hold campaign related information like name, description etc. | + +## Examples + +- Prepare the resource +```powershell +$CampaignTemplate = Initialize-PSSailpointV2024CampaignTemplate -Id 2c9079b270a266a60170a277bb960008 ` + -Name Manager Campaign Template ` + -Description Template for the annual manager campaign. ` + -Created 2020-03-05T22:44:00.364Z ` + -Modified 2020-03-05T22:52:09.969Z ` + -Scheduled false ` + -OwnerRef null ` + -DeadlineDuration P2W ` + -Campaign null +``` + +- Convert the resource to JSON +```powershell +$CampaignTemplate | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CampaignTemplateOwnerRef.md b/PSSailpoint/v2024/docs/CampaignTemplateOwnerRef.md new file mode 100644 index 000000000..91dbff8b4 --- /dev/null +++ b/PSSailpoint/v2024/docs/CampaignTemplateOwnerRef.md @@ -0,0 +1,27 @@ +# CampaignTemplateOwnerRef +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Id of the owner | [optional] +**Type** | **String** | Type of the owner | [optional] +**Name** | **String** | Name of the owner | [optional] +**Email** | **String** | Email of the owner | [optional] + +## Examples + +- Prepare the resource +```powershell +$CampaignTemplateOwnerRef = Initialize-PSSailpointV2024CampaignTemplateOwnerRef -Id 2c918086676d3e0601677611dbde220f ` + -Type IDENTITY ` + -Name Mister Manager ` + -Email mr.manager@example.com +``` + +- Convert the resource to JSON +```powershell +$CampaignTemplateOwnerRef | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CampaignsDeleteRequest.md b/PSSailpoint/v2024/docs/CampaignsDeleteRequest.md new file mode 100644 index 000000000..a45385dc9 --- /dev/null +++ b/PSSailpoint/v2024/docs/CampaignsDeleteRequest.md @@ -0,0 +1,21 @@ +# CampaignsDeleteRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Ids** | **String[]** | The ids of the campaigns to delete | [optional] + +## Examples + +- Prepare the resource +```powershell +$CampaignsDeleteRequest = Initialize-PSSailpointV2024CampaignsDeleteRequest -Ids [2c9180887335cee10173490db1776c26, 2c9180836a712436016a7125a90c0021] +``` + +- Convert the resource to JSON +```powershell +$CampaignsDeleteRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CancelAccessRequest.md b/PSSailpoint/v2024/docs/CancelAccessRequest.md new file mode 100644 index 000000000..d7866a0b1 --- /dev/null +++ b/PSSailpoint/v2024/docs/CancelAccessRequest.md @@ -0,0 +1,23 @@ +# CancelAccessRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AccountActivityId** | **String** | This refers to the identityRequestId. To successfully cancel an access request, you must provide the identityRequestId. | +**Comment** | **String** | Reason for cancelling the pending access request. | + +## Examples + +- Prepare the resource +```powershell +$CancelAccessRequest = Initialize-PSSailpointV2024CancelAccessRequest -AccountActivityId 2c9180835d2e5168015d32f890ca1581 ` + -Comment I requested this role by mistake. +``` + +- Convert the resource to JSON +```powershell +$CancelAccessRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CancelledRequestDetails.md b/PSSailpoint/v2024/docs/CancelledRequestDetails.md new file mode 100644 index 000000000..3727c67dd --- /dev/null +++ b/PSSailpoint/v2024/docs/CancelledRequestDetails.md @@ -0,0 +1,25 @@ +# CancelledRequestDetails +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Comment** | **String** | Comment made by the owner when cancelling the associated request. | [optional] +**Owner** | [**OwnerDto**](OwnerDto.md) | | [optional] +**Modified** | **System.DateTime** | Date comment was added by the owner when cancelling the associated request. | [optional] + +## Examples + +- Prepare the resource +```powershell +$CancelledRequestDetails = Initialize-PSSailpointV2024CancelledRequestDetails -Comment This request must be cancelled. ` + -Owner null ` + -Modified 2019-12-20T09:17:12.192Z +``` + +- Convert the resource to JSON +```powershell +$CancelledRequestDetails | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Certification.md b/PSSailpoint/v2024/docs/Certification.md new file mode 100644 index 000000000..7f827828d --- /dev/null +++ b/PSSailpoint/v2024/docs/Certification.md @@ -0,0 +1,53 @@ +# Certification +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | id of the certification | [optional] +**Name** | **String** | name of the certification | [optional] +**Campaign** | [**CampaignReference**](CampaignReference.md) | | [optional] +**Completed** | **Boolean** | Have all decisions been made? | [optional] +**IdentitiesCompleted** | **Int32** | The number of identities for whom all decisions have been made and are complete. | [optional] +**IdentitiesTotal** | **Int32** | The total number of identities in the Certification, both complete and incomplete. | [optional] +**Created** | **System.DateTime** | created date | [optional] +**Modified** | **System.DateTime** | modified date | [optional] +**DecisionsMade** | **Int32** | The number of approve/revoke/acknowledge decisions that have been made. | [optional] +**DecisionsTotal** | **Int32** | The total number of approve/revoke/acknowledge decisions. | [optional] +**Due** | **System.DateTime** | The due date of the certification. | [optional] +**Signed** | **System.DateTime** | The date the reviewer signed off on the Certification. | [optional] +**Reviewer** | [**Reviewer**](Reviewer.md) | | [optional] +**Reassignment** | [**Reassignment**](Reassignment.md) | | [optional] +**HasErrors** | **Boolean** | Identifies if the certification has an error | [optional] +**ErrorMessage** | **String** | Description of the certification error | [optional] +**Phase** | [**CertificationPhase**](CertificationPhase.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$Certification = Initialize-PSSailpointV2024Certification -Id 2c9180835d2e5168015d32f890ca1581 ` + -Name Source Owner Access Review for Employees [source] ` + -Campaign null ` + -Completed true ` + -IdentitiesCompleted 5 ` + -IdentitiesTotal 10 ` + -Created 2018-06-25T20:22:28.104Z ` + -Modified 2018-06-25T20:22:28.104Z ` + -DecisionsMade 20 ` + -DecisionsTotal 40 ` + -Due 2018-10-19T13:49:37.385Z ` + -Signed 2018-10-19T13:49:37.385Z ` + -Reviewer null ` + -Reassignment null ` + -HasErrors false ` + -ErrorMessage The certification has an error ` + -Phase null +``` + +- Convert the resource to JSON +```powershell +$Certification | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CertificationDecision.md b/PSSailpoint/v2024/docs/CertificationDecision.md new file mode 100644 index 000000000..7cc7535b3 --- /dev/null +++ b/PSSailpoint/v2024/docs/CertificationDecision.md @@ -0,0 +1,20 @@ +# CertificationDecision +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$CertificationDecision = Initialize-PSSailpointV2024CertificationDecision +``` + +- Convert the resource to JSON +```powershell +$CertificationDecision | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CertificationDto.md b/PSSailpoint/v2024/docs/CertificationDto.md new file mode 100644 index 000000000..caba9f43f --- /dev/null +++ b/PSSailpoint/v2024/docs/CertificationDto.md @@ -0,0 +1,45 @@ +# CertificationDto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**CampaignRef** | [**CampaignReference**](CampaignReference.md) | | +**Phase** | [**CertificationPhase**](CertificationPhase.md) | | +**Due** | **System.DateTime** | The due date of the certification. | +**Signed** | **System.DateTime** | The date the reviewer signed off on the certification. | +**Reviewer** | [**Reviewer1**](Reviewer1.md) | | +**Reassignment** | [**Reassignment1**](Reassignment1.md) | | [optional] +**HasErrors** | **Boolean** | Indicates it the certification has any errors. | +**ErrorMessage** | **String** | A message indicating what the error is. | [optional] +**Completed** | **Boolean** | Indicates if all certification decisions have been made. | +**DecisionsMade** | **Int32** | The number of approve/revoke/acknowledge decisions that have been made by the reviewer. | +**DecisionsTotal** | **Int32** | The total number of approve/revoke/acknowledge decisions for the certification. | +**EntitiesCompleted** | **Int32** | The number of entities (identities, access profiles, roles, etc.) for which all decisions have been made and are complete. | +**EntitiesTotal** | **Int32** | The total number of entities (identities, access profiles, roles, etc.) in the certification, both complete and incomplete. | + +## Examples + +- Prepare the resource +```powershell +$CertificationDto = Initialize-PSSailpointV2024CertificationDto -CampaignRef null ` + -Phase null ` + -Due 2018-10-19T13:49:37.385Z ` + -Signed 2018-10-19T13:49:37.385Z ` + -Reviewer null ` + -Reassignment null ` + -HasErrors false ` + -ErrorMessage The certification has an error ` + -Completed false ` + -DecisionsMade 20 ` + -DecisionsTotal 40 ` + -EntitiesCompleted 5 ` + -EntitiesTotal 10 +``` + +- Convert the resource to JSON +```powershell +$CertificationDto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CertificationIdentitySummary.md b/PSSailpoint/v2024/docs/CertificationIdentitySummary.md new file mode 100644 index 000000000..b1b88f819 --- /dev/null +++ b/PSSailpoint/v2024/docs/CertificationIdentitySummary.md @@ -0,0 +1,27 @@ +# CertificationIdentitySummary +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The ID of the identity summary | [optional] +**Name** | **String** | Name of the linked identity | [optional] +**IdentityId** | **String** | The ID of the identity being certified | [optional] +**Completed** | **Boolean** | Indicates whether the review items for the linked identity's certification have been completed | [optional] + +## Examples + +- Prepare the resource +```powershell +$CertificationIdentitySummary = Initialize-PSSailpointV2024CertificationIdentitySummary -Id 2c91808772a504f50172a9540e501ba7 ` + -Name Alison Ferguso ` + -IdentityId 2c9180857182306001719937377a33de ` + -Completed true +``` + +- Convert the resource to JSON +```powershell +$CertificationIdentitySummary | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CertificationPhase.md b/PSSailpoint/v2024/docs/CertificationPhase.md new file mode 100644 index 000000000..dec854fe1 --- /dev/null +++ b/PSSailpoint/v2024/docs/CertificationPhase.md @@ -0,0 +1,20 @@ +# CertificationPhase +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$CertificationPhase = Initialize-PSSailpointV2024CertificationPhase +``` + +- Convert the resource to JSON +```powershell +$CertificationPhase | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CertificationReference.md b/PSSailpoint/v2024/docs/CertificationReference.md new file mode 100644 index 000000000..b8b05a77e --- /dev/null +++ b/PSSailpoint/v2024/docs/CertificationReference.md @@ -0,0 +1,27 @@ +# CertificationReference +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The id of the certification. | [optional] +**Name** | **String** | The name of the certification. | [optional] +**Type** | **String** | | [optional] +**Reviewer** | [**Reviewer**](Reviewer.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$CertificationReference = Initialize-PSSailpointV2024CertificationReference -Id ef38f94347e94562b5bb8424a56397d8 ` + -Name Certification Name ` + -Type CERTIFICATION ` + -Reviewer null +``` + +- Convert the resource to JSON +```powershell +$CertificationReference | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CertificationReference1.md b/PSSailpoint/v2024/docs/CertificationReference1.md new file mode 100644 index 000000000..ea311bf3a --- /dev/null +++ b/PSSailpoint/v2024/docs/CertificationReference1.md @@ -0,0 +1,27 @@ +# CertificationReference1 +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | DTO type of certification for review. | [optional] +**Id** | **String** | ID of certification for review. | [optional] +**Name** | **String** | Display name of certification for review. | [optional] +**Reviewer** | [**Reviewer1**](Reviewer1.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$CertificationReference1 = Initialize-PSSailpointV2024CertificationReference1 -Type IDENTITY ` + -Id 7589a83cec4b4f138ce56c1a5ef0756d ` + -Name Manager Access for Michael Michaels ` + -Reviewer null +``` + +- Convert the resource to JSON +```powershell +$CertificationReference1 | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CertificationReferenceDto.md b/PSSailpoint/v2024/docs/CertificationReferenceDto.md new file mode 100644 index 000000000..dcc653092 --- /dev/null +++ b/PSSailpoint/v2024/docs/CertificationReferenceDto.md @@ -0,0 +1,25 @@ +# CertificationReferenceDto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | DTO type of certification for review. | [optional] +**Id** | **String** | ID of certification for review. | [optional] +**Name** | **String** | Display name of certification for review. | [optional] + +## Examples + +- Prepare the resource +```powershell +$CertificationReferenceDto = Initialize-PSSailpointV2024CertificationReferenceDto -Type IDENTITY ` + -Id 7589a83cec4b4f138ce56c1a5ef0756d ` + -Name Manager Access for Michael Michaels +``` + +- Convert the resource to JSON +```powershell +$CertificationReferenceDto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CertificationSignedOff.md b/PSSailpoint/v2024/docs/CertificationSignedOff.md new file mode 100644 index 000000000..9e088844f --- /dev/null +++ b/PSSailpoint/v2024/docs/CertificationSignedOff.md @@ -0,0 +1,21 @@ +# CertificationSignedOff +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Certification** | [**CertificationSignedOffCertification**](CertificationSignedOffCertification.md) | | + +## Examples + +- Prepare the resource +```powershell +$CertificationSignedOff = Initialize-PSSailpointV2024CertificationSignedOff -Certification null +``` + +- Convert the resource to JSON +```powershell +$CertificationSignedOff | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CertificationSignedOffCertification.md b/PSSailpoint/v2024/docs/CertificationSignedOffCertification.md new file mode 100644 index 000000000..9f8d0805b --- /dev/null +++ b/PSSailpoint/v2024/docs/CertificationSignedOffCertification.md @@ -0,0 +1,53 @@ +# CertificationSignedOffCertification +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Unique ID of the certification. | +**Name** | **String** | The name of the certification. | +**Created** | **System.DateTime** | The date and time the certification was created. | +**Modified** | **System.DateTime** | The date and time the certification was last modified. | [optional] +**CampaignRef** | [**CampaignReference**](CampaignReference.md) | | +**Phase** | [**CertificationPhase**](CertificationPhase.md) | | +**Due** | **System.DateTime** | The due date of the certification. | +**Signed** | **System.DateTime** | The date the reviewer signed off on the certification. | +**Reviewer** | [**Reviewer1**](Reviewer1.md) | | +**Reassignment** | [**Reassignment1**](Reassignment1.md) | | [optional] +**HasErrors** | **Boolean** | Indicates it the certification has any errors. | +**ErrorMessage** | **String** | A message indicating what the error is. | [optional] +**Completed** | **Boolean** | Indicates if all certification decisions have been made. | +**DecisionsMade** | **Int32** | The number of approve/revoke/acknowledge decisions that have been made by the reviewer. | +**DecisionsTotal** | **Int32** | The total number of approve/revoke/acknowledge decisions for the certification. | +**EntitiesCompleted** | **Int32** | The number of entities (identities, access profiles, roles, etc.) for which all decisions have been made and are complete. | +**EntitiesTotal** | **Int32** | The total number of entities (identities, access profiles, roles, etc.) in the certification, both complete and incomplete. | + +## Examples + +- Prepare the resource +```powershell +$CertificationSignedOffCertification = Initialize-PSSailpointV2024CertificationSignedOffCertification -Id 2c91808576f886190176f88caf0d0067 ` + -Name Manager Access Review for Alice Baker ` + -Created 2020-02-16T03:04:45.815Z ` + -Modified 2020-02-16T03:06:45.815Z ` + -CampaignRef null ` + -Phase null ` + -Due 2018-10-19T13:49:37.385Z ` + -Signed 2018-10-19T13:49:37.385Z ` + -Reviewer null ` + -Reassignment null ` + -HasErrors false ` + -ErrorMessage The certification has an error ` + -Completed false ` + -DecisionsMade 20 ` + -DecisionsTotal 40 ` + -EntitiesCompleted 5 ` + -EntitiesTotal 10 +``` + +- Convert the resource to JSON +```powershell +$CertificationSignedOffCertification | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CertificationTask.md b/PSSailpoint/v2024/docs/CertificationTask.md new file mode 100644 index 000000000..64bd54247 --- /dev/null +++ b/PSSailpoint/v2024/docs/CertificationTask.md @@ -0,0 +1,35 @@ +# CertificationTask +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The ID of the certification task. | [optional] +**Type** | **String** | The type of the certification task. More values may be added in the future. | [optional] +**TargetType** | **String** | The type of item that is being operated on by this task whose ID is stored in the targetId field. | [optional] +**TargetId** | **String** | The ID of the item being operated on by this task. | [optional] +**Status** | **String** | The status of the task. | [optional] +**Errors** | [**ErrorMessageDto[]**](ErrorMessageDto.md) | | [optional] +**ReassignmentTrailDTOs** | [**ReassignmentTrailDTO[]**](ReassignmentTrailDTO.md) | Reassignment trails that lead to self certification identity | [optional] +**Created** | **System.DateTime** | The date and time on which this task was created. | [optional] + +## Examples + +- Prepare the resource +```powershell +$CertificationTask = Initialize-PSSailpointV2024CertificationTask -Id 2c918086719eec070171a7e3355a360a ` + -Type ADMIN_REASSIGN ` + -TargetType CAMPAIGN ` + -TargetId 2c918086719eec070171a7e3355a834c ` + -Status QUEUED ` + -Errors null ` + -ReassignmentTrailDTOs {previousOwner=ef38f94347e94562b5bb8424a56397d8, newOwner=ef38f94347e94562b5bb8424a56397a3, reassignmentType=AUTOMATIC_REASSIGNMENT} ` + -Created 2020-09-24T18:10:47.693Z +``` + +- Convert the resource to JSON +```powershell +$CertificationTask | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CertifierResponse.md b/PSSailpoint/v2024/docs/CertifierResponse.md new file mode 100644 index 000000000..e1d0f089c --- /dev/null +++ b/PSSailpoint/v2024/docs/CertifierResponse.md @@ -0,0 +1,23 @@ +# CertifierResponse +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | the id of the certifier | [optional] +**DisplayName** | **String** | the name of the certifier | [optional] + +## Examples + +- Prepare the resource +```powershell +$CertifierResponse = Initialize-PSSailpointV2024CertifierResponse -Id 8a80828f643d484f01643e14202e206f ` + -DisplayName John Snow +``` + +- Convert the resource to JSON +```powershell +$CertifierResponse | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ClientLogConfiguration.md b/PSSailpoint/v2024/docs/ClientLogConfiguration.md new file mode 100644 index 000000000..bf72f5c12 --- /dev/null +++ b/PSSailpoint/v2024/docs/ClientLogConfiguration.md @@ -0,0 +1,29 @@ +# ClientLogConfiguration +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ClientId** | **String** | Log configuration's client ID | [optional] +**DurationMinutes** | **Int32** | Duration in minutes for log configuration to remain in effect before resetting to defaults | +**Expiration** | **System.DateTime** | Expiration date-time of the log configuration request | [optional] +**RootLevel** | [**StandardLevel**](StandardLevel.md) | | +**LogLevels** | [**System.Collections.Hashtable**](StandardLevel.md) | Mapping of identifiers to Standard Log Level values | [optional] + +## Examples + +- Prepare the resource +```powershell +$ClientLogConfiguration = Initialize-PSSailpointV2024ClientLogConfiguration -ClientId aClientId ` + -DurationMinutes 120 ` + -Expiration 2020-12-15T19:13:36.079Z ` + -RootLevel null ` + -LogLevels INFO +``` + +- Convert the resource to JSON +```powershell +$ClientLogConfiguration | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ClientType.md b/PSSailpoint/v2024/docs/ClientType.md new file mode 100644 index 000000000..ee0af2b25 --- /dev/null +++ b/PSSailpoint/v2024/docs/ClientType.md @@ -0,0 +1,20 @@ +# ClientType +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$ClientType = Initialize-PSSailpointV2024ClientType +``` + +- Convert the resource to JSON +```powershell +$ClientType | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CloseAccessRequest.md b/PSSailpoint/v2024/docs/CloseAccessRequest.md new file mode 100644 index 000000000..93a1d234b --- /dev/null +++ b/PSSailpoint/v2024/docs/CloseAccessRequest.md @@ -0,0 +1,27 @@ +# CloseAccessRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AccessRequestIds** | **String[]** | Access Request IDs for the requests to be closed. Accepts 1-500 Identity Request IDs per request. | +**Message** | **String** | Reason for closing the access request. Displayed under Warnings in IdentityNow. | [optional] [default to "The IdentityNow Administrator manually closed this request."] +**ExecutionStatus** | **String** | The request's provisioning status. Displayed as Stage in IdentityNow. | [optional] [default to "Terminated"] +**CompletionStatus** | **String** | The request's overall status. Displayed as Status in IdentityNow. | [optional] [default to "Failure"] + +## Examples + +- Prepare the resource +```powershell +$CloseAccessRequest = Initialize-PSSailpointV2024CloseAccessRequest -AccessRequestIds [2c90ad2a70ace7d50170acf22ca90010] ` + -Message The IdentityNow Administrator manually closed this request. ` + -ExecutionStatus Terminated ` + -CompletionStatus Failure +``` + +- Convert the resource to JSON +```powershell +$CloseAccessRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Column.md b/PSSailpoint/v2024/docs/Column.md new file mode 100644 index 000000000..2f1461471 --- /dev/null +++ b/PSSailpoint/v2024/docs/Column.md @@ -0,0 +1,23 @@ +# Column +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Field** | **String** | The name of the field. | +**Header** | **String** | The value of the header. | [optional] + +## Examples + +- Prepare the resource +```powershell +$Column = Initialize-PSSailpointV2024Column -Field email ` + -Header Work Email +``` + +- Convert the resource to JSON +```powershell +$Column | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Comment.md b/PSSailpoint/v2024/docs/Comment.md new file mode 100644 index 000000000..e5936328e --- /dev/null +++ b/PSSailpoint/v2024/docs/Comment.md @@ -0,0 +1,27 @@ +# Comment +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**CommenterId** | **String** | Id of the identity making the comment | [optional] +**CommenterName** | **String** | Human-readable display name of the identity making the comment | [optional] +**Body** | **String** | Content of the comment | [optional] +**Date** | **System.DateTime** | Date and time comment was made | [optional] + +## Examples + +- Prepare the resource +```powershell +$Comment = Initialize-PSSailpointV2024Comment -CommenterId 2c918084660f45d6016617daa9210584 ` + -CommenterName Adam Kennedy ` + -Body Et quam massa maximus vivamus nisi ut urna tincidunt metus elementum erat. ` + -Date 2017-07-11T18:45:37.098Z +``` + +- Convert the resource to JSON +```powershell +$Comment | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CommentDto.md b/PSSailpoint/v2024/docs/CommentDto.md new file mode 100644 index 000000000..634ee5028 --- /dev/null +++ b/PSSailpoint/v2024/docs/CommentDto.md @@ -0,0 +1,25 @@ +# CommentDto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Comment** | **String** | Comment content. | [optional] +**Created** | **System.DateTime** | Date and time comment was created. | [optional] +**Author** | [**CommentDtoAuthor**](CommentDtoAuthor.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$CommentDto = Initialize-PSSailpointV2024CommentDto -Comment This is a comment. ` + -Created 2017-07-11T18:45:37.098Z ` + -Author null +``` + +- Convert the resource to JSON +```powershell +$CommentDto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CommentDtoAuthor.md b/PSSailpoint/v2024/docs/CommentDtoAuthor.md new file mode 100644 index 000000000..4bb0cf9ad --- /dev/null +++ b/PSSailpoint/v2024/docs/CommentDtoAuthor.md @@ -0,0 +1,25 @@ +# CommentDtoAuthor +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | The type of object | [optional] +**Id** | **String** | The unique ID of the object | [optional] +**Name** | **String** | The display name of the object | [optional] + +## Examples + +- Prepare the resource +```powershell +$CommentDtoAuthor = Initialize-PSSailpointV2024CommentDtoAuthor -Type IDENTITY ` + -Id 2c9180847e25f377017e2ae8cae4650b ` + -Name john.doe +``` + +- Convert the resource to JSON +```powershell +$CommentDtoAuthor | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CommonAccessIDStatus.md b/PSSailpoint/v2024/docs/CommonAccessIDStatus.md new file mode 100644 index 000000000..3102c8755 --- /dev/null +++ b/PSSailpoint/v2024/docs/CommonAccessIDStatus.md @@ -0,0 +1,23 @@ +# CommonAccessIDStatus +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ConfirmedIds** | **String[]** | List of confirmed common access ids. | [optional] +**DeniedIds** | **String[]** | List of denied common access ids. | [optional] + +## Examples + +- Prepare the resource +```powershell +$CommonAccessIDStatus = Initialize-PSSailpointV2024CommonAccessIDStatus -ConfirmedIds null ` + -DeniedIds null +``` + +- Convert the resource to JSON +```powershell +$CommonAccessIDStatus | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CommonAccessItemAccess.md b/PSSailpoint/v2024/docs/CommonAccessItemAccess.md new file mode 100644 index 000000000..10c8d1820 --- /dev/null +++ b/PSSailpoint/v2024/docs/CommonAccessItemAccess.md @@ -0,0 +1,31 @@ +# CommonAccessItemAccess +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Common access ID | [optional] +**Type** | [**CommonAccessType**](CommonAccessType.md) | | [optional] +**Name** | **String** | Common access name | [optional] +**Description** | **String** | Common access description | [optional] +**OwnerName** | **String** | Common access owner name | [optional] +**OwnerId** | **String** | Common access owner ID | [optional] + +## Examples + +- Prepare the resource +```powershell +$CommonAccessItemAccess = Initialize-PSSailpointV2024CommonAccessItemAccess -Id null ` + -Type null ` + -Name null ` + -Description null ` + -OwnerName null ` + -OwnerId null +``` + +- Convert the resource to JSON +```powershell +$CommonAccessItemAccess | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CommonAccessItemRequest.md b/PSSailpoint/v2024/docs/CommonAccessItemRequest.md new file mode 100644 index 000000000..dcf05db12 --- /dev/null +++ b/PSSailpoint/v2024/docs/CommonAccessItemRequest.md @@ -0,0 +1,23 @@ +# CommonAccessItemRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Access** | [**CommonAccessItemAccess**](CommonAccessItemAccess.md) | | [optional] +**Status** | [**CommonAccessItemState**](CommonAccessItemState.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$CommonAccessItemRequest = Initialize-PSSailpointV2024CommonAccessItemRequest -Access null ` + -Status null +``` + +- Convert the resource to JSON +```powershell +$CommonAccessItemRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CommonAccessItemResponse.md b/PSSailpoint/v2024/docs/CommonAccessItemResponse.md new file mode 100644 index 000000000..97b41d220 --- /dev/null +++ b/PSSailpoint/v2024/docs/CommonAccessItemResponse.md @@ -0,0 +1,33 @@ +# CommonAccessItemResponse +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Common Access Item ID | [optional] +**Access** | [**CommonAccessItemAccess**](CommonAccessItemAccess.md) | | [optional] +**Status** | [**CommonAccessItemState**](CommonAccessItemState.md) | | [optional] +**LastUpdated** | **String** | | [optional] +**ReviewedByUser** | **Boolean** | | [optional] +**LastReviewed** | **String** | | [optional] +**CreatedByUser** | **String** | | [optional] + +## Examples + +- Prepare the resource +```powershell +$CommonAccessItemResponse = Initialize-PSSailpointV2024CommonAccessItemResponse -Id null ` + -Access null ` + -Status null ` + -LastUpdated null ` + -ReviewedByUser null ` + -LastReviewed null ` + -CreatedByUser null +``` + +- Convert the resource to JSON +```powershell +$CommonAccessItemResponse | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CommonAccessItemState.md b/PSSailpoint/v2024/docs/CommonAccessItemState.md new file mode 100644 index 000000000..d973e5700 --- /dev/null +++ b/PSSailpoint/v2024/docs/CommonAccessItemState.md @@ -0,0 +1,20 @@ +# CommonAccessItemState +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$CommonAccessItemState = Initialize-PSSailpointV2024CommonAccessItemState +``` + +- Convert the resource to JSON +```powershell +$CommonAccessItemState | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CommonAccessResponse.md b/PSSailpoint/v2024/docs/CommonAccessResponse.md new file mode 100644 index 000000000..cd40a053b --- /dev/null +++ b/PSSailpoint/v2024/docs/CommonAccessResponse.md @@ -0,0 +1,35 @@ +# CommonAccessResponse +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Unique ID of the common access item | [optional] +**Access** | [**CommonAccessItemAccess**](CommonAccessItemAccess.md) | | [optional] +**Status** | **String** | CONFIRMED or DENIED | [optional] +**CommonAccessType** | **String** | | [optional] +**LastUpdated** | **System.DateTime** | | [optional] [readonly] +**ReviewedByUser** | **Boolean** | true if user has confirmed or denied status | [optional] +**LastReviewed** | **System.DateTime** | | [optional] [readonly] +**CreatedByUser** | **Boolean** | | [optional] [default to $false] + +## Examples + +- Prepare the resource +```powershell +$CommonAccessResponse = Initialize-PSSailpointV2024CommonAccessResponse -Id 555ab47a-0d32-4813-906f-adf3567de6a4 ` + -Access null ` + -Status null ` + -CommonAccessType UNSET ` + -LastUpdated null ` + -ReviewedByUser null ` + -LastReviewed null ` + -CreatedByUser false +``` + +- Convert the resource to JSON +```powershell +$CommonAccessResponse | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CommonAccessType.md b/PSSailpoint/v2024/docs/CommonAccessType.md new file mode 100644 index 000000000..471bd44cc --- /dev/null +++ b/PSSailpoint/v2024/docs/CommonAccessType.md @@ -0,0 +1,20 @@ +# CommonAccessType +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$CommonAccessType = Initialize-PSSailpointV2024CommonAccessType +``` + +- Convert the resource to JSON +```powershell +$CommonAccessType | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CompleteInvocation.md b/PSSailpoint/v2024/docs/CompleteInvocation.md new file mode 100644 index 000000000..81c4fd003 --- /dev/null +++ b/PSSailpoint/v2024/docs/CompleteInvocation.md @@ -0,0 +1,25 @@ +# CompleteInvocation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Secret** | **String** | Unique invocation secret that was generated when the invocation was created. Required to authenticate to the endpoint. | +**VarError** | **String** | The error message to indicate a failed invocation or error if any. | [optional] +**Output** | [**SystemCollectionsHashtable**](.md) | Trigger output to complete the invocation. Its schema is defined in the trigger definition. | + +## Examples + +- Prepare the resource +```powershell +$CompleteInvocation = Initialize-PSSailpointV2024CompleteInvocation -Secret 0f11f2a4-7c94-4bf3-a2bd-742580fe3bde ` + -VarError Access request is denied. ` + -Output {approved=false} +``` + +- Convert the resource to JSON +```powershell +$CompleteInvocation | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CompleteInvocationInput.md b/PSSailpoint/v2024/docs/CompleteInvocationInput.md new file mode 100644 index 000000000..8e20bb62b --- /dev/null +++ b/PSSailpoint/v2024/docs/CompleteInvocationInput.md @@ -0,0 +1,23 @@ +# CompleteInvocationInput +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**LocalizedError** | [**LocalizedMessage**](LocalizedMessage.md) | | [optional] +**Output** | [**SystemCollectionsHashtable**](.md) | Trigger output that completed the invocation. Its schema is defined in the trigger definition. | [optional] + +## Examples + +- Prepare the resource +```powershell +$CompleteInvocationInput = Initialize-PSSailpointV2024CompleteInvocationInput -LocalizedError null ` + -Output {approved=false} +``` + +- Convert the resource to JSON +```powershell +$CompleteInvocationInput | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CompletedApproval.md b/PSSailpoint/v2024/docs/CompletedApproval.md new file mode 100644 index 000000000..1f4ad8bfd --- /dev/null +++ b/PSSailpoint/v2024/docs/CompletedApproval.md @@ -0,0 +1,65 @@ +# CompletedApproval +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The approval id. | [optional] +**Name** | **String** | The name of the approval. | [optional] +**Created** | **System.DateTime** | When the approval was created. | [optional] +**Modified** | **System.DateTime** | When the approval was modified last time. | [optional] +**RequestCreated** | **System.DateTime** | When the access-request was created. | [optional] +**RequestType** | [**AccessRequestType**](AccessRequestType.md) | | [optional] +**Requester** | [**AccessItemRequester**](AccessItemRequester.md) | | [optional] +**RequestedFor** | [**RequestedItemStatusRequestedFor**](RequestedItemStatusRequestedFor.md) | | [optional] +**ReviewedBy** | [**AccessItemReviewedBy**](AccessItemReviewedBy.md) | | [optional] +**Owner** | [**OwnerDto**](OwnerDto.md) | | [optional] +**RequestedObject** | [**RequestableObjectReference**](RequestableObjectReference.md) | | [optional] +**RequesterComment** | [**CompletedApprovalRequesterComment**](CompletedApprovalRequesterComment.md) | | [optional] +**ReviewerComment** | [**CompletedApprovalReviewerComment**](CompletedApprovalReviewerComment.md) | | [optional] +**PreviousReviewersComments** | [**CommentDto[]**](CommentDto.md) | The history of the previous reviewers comments. | [optional] +**ForwardHistory** | [**ApprovalForwardHistory[]**](ApprovalForwardHistory.md) | The history of approval forward action. | [optional] +**CommentRequiredWhenRejected** | **Boolean** | When true the rejector has to provide comments when rejecting | [optional] [default to $false] +**State** | [**CompletedApprovalState**](CompletedApprovalState.md) | | [optional] +**RemoveDate** | **System.DateTime** | The date the role or access profile or entitlement is no longer assigned to the specified identity. | [optional] +**RemoveDateUpdateRequested** | **Boolean** | If true, then the request was to change the remove date or sunset date. | [optional] [default to $false] +**CurrentRemoveDate** | **System.DateTime** | The remove date or sunset date that was assigned at the time of the request. | [optional] +**SodViolationContext** | [**SodViolationContextCheckCompleted**](SodViolationContextCheckCompleted.md) | | [optional] +**PreApprovalTriggerResult** | [**CompletedApprovalPreApprovalTriggerResult**](CompletedApprovalPreApprovalTriggerResult.md) | | [optional] +**ClientMetadata** | **System.Collections.Hashtable** | Arbitrary key-value pairs provided during the request. | [optional] + +## Examples + +- Prepare the resource +```powershell +$CompletedApproval = Initialize-PSSailpointV2024CompletedApproval -Id id12345 ` + -Name aName ` + -Created 2017-07-11T18:45:37.098Z ` + -Modified 2018-07-25T20:22:28.104Z ` + -RequestCreated 2017-07-11T18:45:35.098Z ` + -RequestType null ` + -Requester null ` + -RequestedFor null ` + -ReviewedBy null ` + -Owner null ` + -RequestedObject null ` + -RequesterComment null ` + -ReviewerComment null ` + -PreviousReviewersComments null ` + -ForwardHistory null ` + -CommentRequiredWhenRejected true ` + -State null ` + -RemoveDate 2020-07-11T00:00Z ` + -RemoveDateUpdateRequested true ` + -CurrentRemoveDate 2020-07-11T00:00Z ` + -SodViolationContext null ` + -PreApprovalTriggerResult null ` + -ClientMetadata {requestedAppName=test-app, requestedAppId=2c91808f7892918f0178b78da4a305a1} +``` + +- Convert the resource to JSON +```powershell +$CompletedApproval | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CompletedApprovalPreApprovalTriggerResult.md b/PSSailpoint/v2024/docs/CompletedApprovalPreApprovalTriggerResult.md new file mode 100644 index 000000000..7f2c5d7f0 --- /dev/null +++ b/PSSailpoint/v2024/docs/CompletedApprovalPreApprovalTriggerResult.md @@ -0,0 +1,27 @@ +# CompletedApprovalPreApprovalTriggerResult +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Comment** | **String** | The comment from the trigger | [optional] +**Decision** | [**CompletedApprovalState**](CompletedApprovalState.md) | | [optional] +**Reviewer** | **String** | The name of the approver | [optional] +**Date** | **System.DateTime** | The date and time the trigger decided on the request | [optional] + +## Examples + +- Prepare the resource +```powershell +$CompletedApprovalPreApprovalTriggerResult = Initialize-PSSailpointV2024CompletedApprovalPreApprovalTriggerResult -Comment This request was autoapproved by our automated ETS subscriber ` + -Decision null ` + -Reviewer Automated AR Approval ` + -Date 2022-06-07T19:18:40.748Z +``` + +- Convert the resource to JSON +```powershell +$CompletedApprovalPreApprovalTriggerResult | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CompletedApprovalRequesterComment.md b/PSSailpoint/v2024/docs/CompletedApprovalRequesterComment.md new file mode 100644 index 000000000..f63bbce95 --- /dev/null +++ b/PSSailpoint/v2024/docs/CompletedApprovalRequesterComment.md @@ -0,0 +1,25 @@ +# CompletedApprovalRequesterComment +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Comment** | **String** | Comment content. | [optional] +**Created** | **System.DateTime** | Date and time comment was created. | [optional] +**Author** | [**CommentDtoAuthor**](CommentDtoAuthor.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$CompletedApprovalRequesterComment = Initialize-PSSailpointV2024CompletedApprovalRequesterComment -Comment This is a comment. ` + -Created 2017-07-11T18:45:37.098Z ` + -Author null +``` + +- Convert the resource to JSON +```powershell +$CompletedApprovalRequesterComment | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CompletedApprovalReviewerComment.md b/PSSailpoint/v2024/docs/CompletedApprovalReviewerComment.md new file mode 100644 index 000000000..89e2b8891 --- /dev/null +++ b/PSSailpoint/v2024/docs/CompletedApprovalReviewerComment.md @@ -0,0 +1,25 @@ +# CompletedApprovalReviewerComment +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Comment** | **String** | Comment content. | [optional] +**Created** | **System.DateTime** | Date and time comment was created. | [optional] +**Author** | [**CommentDtoAuthor**](CommentDtoAuthor.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$CompletedApprovalReviewerComment = Initialize-PSSailpointV2024CompletedApprovalReviewerComment -Comment This is a comment. ` + -Created 2017-07-11T18:45:37.098Z ` + -Author null +``` + +- Convert the resource to JSON +```powershell +$CompletedApprovalReviewerComment | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CompletedApprovalState.md b/PSSailpoint/v2024/docs/CompletedApprovalState.md new file mode 100644 index 000000000..d9dab1115 --- /dev/null +++ b/PSSailpoint/v2024/docs/CompletedApprovalState.md @@ -0,0 +1,20 @@ +# CompletedApprovalState +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$CompletedApprovalState = Initialize-PSSailpointV2024CompletedApprovalState +``` + +- Convert the resource to JSON +```powershell +$CompletedApprovalState | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CompletionStatus.md b/PSSailpoint/v2024/docs/CompletionStatus.md new file mode 100644 index 000000000..578ba4d6e --- /dev/null +++ b/PSSailpoint/v2024/docs/CompletionStatus.md @@ -0,0 +1,20 @@ +# CompletionStatus +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$CompletionStatus = Initialize-PSSailpointV2024CompletionStatus +``` + +- Convert the resource to JSON +```powershell +$CompletionStatus | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Concatenation.md b/PSSailpoint/v2024/docs/Concatenation.md new file mode 100644 index 000000000..0bbd57821 --- /dev/null +++ b/PSSailpoint/v2024/docs/Concatenation.md @@ -0,0 +1,25 @@ +# Concatenation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Values** | [**SystemCollectionsHashtable[]**](SystemCollectionsHashtable.md) | An array of items to join together | +**RequiresPeriodicRefresh** | **Boolean** | A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process | [optional] [default to $false] +**VarInput** | [**System.Collections.Hashtable**](AnyType.md) | This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI. | [optional] + +## Examples + +- Prepare the resource +```powershell +$Concatenation = Initialize-PSSailpointV2024Concatenation -Values [John, , Smith] ` + -RequiresPeriodicRefresh false ` + -VarInput {type=accountAttribute, attributes={attributeName=first_name, sourceName=Source}} +``` + +- Convert the resource to JSON +```powershell +$Concatenation | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ConditionEffect.md b/PSSailpoint/v2024/docs/ConditionEffect.md new file mode 100644 index 000000000..073e72c5a --- /dev/null +++ b/PSSailpoint/v2024/docs/ConditionEffect.md @@ -0,0 +1,23 @@ +# ConditionEffect +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**EffectType** | **String** | Type of effect to perform when the conditions are evaluated for this logic block. HIDE ConditionEffectTypeHide Disables validations. SHOW ConditionEffectTypeShow Enables validations. DISABLE ConditionEffectTypeDisable Disables validations. ENABLE ConditionEffectTypeEnable Enables validations. REQUIRE ConditionEffectTypeRequire OPTIONAL ConditionEffectTypeOptional SUBMIT_MESSAGE ConditionEffectTypeSubmitMessage SUBMIT_NOTIFICATION ConditionEffectTypeSubmitNotification SET_DEFAULT_VALUE ConditionEffectTypeSetDefaultValue This value is ignored on purpose. | [optional] +**Config** | [**ConditionEffectConfig**](ConditionEffectConfig.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$ConditionEffect = Initialize-PSSailpointV2024ConditionEffect -EffectType HIDE ` + -Config null +``` + +- Convert the resource to JSON +```powershell +$ConditionEffect | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ConditionEffectConfig.md b/PSSailpoint/v2024/docs/ConditionEffectConfig.md new file mode 100644 index 000000000..4f7999185 --- /dev/null +++ b/PSSailpoint/v2024/docs/ConditionEffectConfig.md @@ -0,0 +1,23 @@ +# ConditionEffectConfig +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**DefaultValueLabel** | **String** | Effect type's label. | [optional] +**Element** | **String** | Element's identifier. | [optional] + +## Examples + +- Prepare the resource +```powershell +$ConditionEffectConfig = Initialize-PSSailpointV2024ConditionEffectConfig -DefaultValueLabel Access to Remove ` + -Element 8110662963316867 +``` + +- Convert the resource to JSON +```powershell +$ConditionEffectConfig | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ConditionRule.md b/PSSailpoint/v2024/docs/ConditionRule.md new file mode 100644 index 000000000..b1cb6e79f --- /dev/null +++ b/PSSailpoint/v2024/docs/ConditionRule.md @@ -0,0 +1,29 @@ +# ConditionRule +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**SourceType** | **String** | Defines the type of object being selected. It will be either a reference to a form input (by input name) or a form element (by technical key). INPUT ConditionRuleSourceTypeInput ELEMENT ConditionRuleSourceTypeElement | [optional] +**Source** | **String** | Source - if the sourceType is ConditionRuleSourceTypeInput, the source type is the name of the form input to accept. However, if the sourceType is ConditionRuleSourceTypeElement, the source is the name of a technical key of an element to retrieve its value. | [optional] +**Operator** | **String** | ConditionRuleComparisonOperatorType value. EQ ConditionRuleComparisonOperatorTypeEquals This comparison operator compares the source and target for equality. NE ConditionRuleComparisonOperatorTypeNotEquals This comparison operator compares the source and target for inequality. CO ConditionRuleComparisonOperatorTypeContains This comparison operator searches the source to see whether it contains the value. NOT_CO ConditionRuleComparisonOperatorTypeNotContains IN ConditionRuleComparisonOperatorTypeIncludes This comparison operator searches the source if it equals any of the values. NOT_IN ConditionRuleComparisonOperatorTypeNotIncludes EM ConditionRuleComparisonOperatorTypeEmpty NOT_EM ConditionRuleComparisonOperatorTypeNotEmpty SW ConditionRuleComparisonOperatorTypeStartsWith Checks whether a string starts with another substring of the same string. This operator is case-sensitive. NOT_SW ConditionRuleComparisonOperatorTypeNotStartsWith EW ConditionRuleComparisonOperatorTypeEndsWith Checks whether a string ends with another substring of the same string. This operator is case-sensitive. NOT_EW ConditionRuleComparisonOperatorTypeNotEndsWith | [optional] +**ValueType** | **String** | ConditionRuleValueType type. STRING ConditionRuleValueTypeString This value is a static string. STRING_LIST ConditionRuleValueTypeStringList This value is an array of string values. INPUT ConditionRuleValueTypeInput This value is a reference to a form input. ELEMENT ConditionRuleValueTypeElement This value is a reference to a form element (by technical key). LIST ConditionRuleValueTypeList BOOLEAN ConditionRuleValueTypeBoolean | [optional] +**Value** | [**SystemCollectionsHashtable**](.md) | Based on the ValueType. | [optional] + +## Examples + +- Prepare the resource +```powershell +$ConditionRule = Initialize-PSSailpointV2024ConditionRule -SourceType ELEMENT ` + -Source department ` + -Operator EQ ` + -ValueType STRING ` + -Value Engineering +``` + +- Convert the resource to JSON +```powershell +$ConditionRule | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Conditional.md b/PSSailpoint/v2024/docs/Conditional.md new file mode 100644 index 000000000..4cf797ef5 --- /dev/null +++ b/PSSailpoint/v2024/docs/Conditional.md @@ -0,0 +1,29 @@ +# Conditional +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Expression** | **String** | A comparison statement that follows the structure of `ValueA eq ValueB` where `ValueA` and `ValueB` are static strings or outputs of other transforms. The `eq` operator is the only valid comparison | +**PositiveCondition** | **String** | The output of the transform if the expression evalutes to true | +**NegativeCondition** | **String** | The output of the transform if the expression evalutes to false | +**RequiresPeriodicRefresh** | **Boolean** | A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process | [optional] [default to $false] +**VarInput** | [**System.Collections.Hashtable**](AnyType.md) | This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI. | [optional] + +## Examples + +- Prepare the resource +```powershell +$Conditional = Initialize-PSSailpointV2024Conditional -Expression ValueA eq ValueB ` + -PositiveCondition true ` + -NegativeCondition false ` + -RequiresPeriodicRefresh false ` + -VarInput {type=accountAttribute, attributes={attributeName=first_name, sourceName=Source}} +``` + +- Convert the resource to JSON +```powershell +$Conditional | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ConfigObject.md b/PSSailpoint/v2024/docs/ConfigObject.md new file mode 100644 index 000000000..6a3b127d7 --- /dev/null +++ b/PSSailpoint/v2024/docs/ConfigObject.md @@ -0,0 +1,25 @@ +# ConfigObject +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Version** | **Int32** | Current version of configuration object. | [optional] +**Self** | [**SelfImportExportDto**](SelfImportExportDto.md) | | [optional] +**Object** | [**System.Collections.Hashtable**](AnyType.md) | Object details. Format dependant on the object type. | [optional] + +## Examples + +- Prepare the resource +```powershell +$ConfigObject = Initialize-PSSailpointV2024ConfigObject -Version 1 ` + -Self null ` + -Object null +``` + +- Convert the resource to JSON +```powershell +$ConfigObject | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ConfigType.md b/PSSailpoint/v2024/docs/ConfigType.md new file mode 100644 index 000000000..5cbed08cd --- /dev/null +++ b/PSSailpoint/v2024/docs/ConfigType.md @@ -0,0 +1,29 @@ +# ConfigType +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Priority** | **Int32** | | [optional] +**InternalName** | [**ConfigTypeEnumCamel**](ConfigTypeEnumCamel.md) | | [optional] +**InternalNameCamel** | [**ConfigTypeEnum**](ConfigTypeEnum.md) | | [optional] +**DisplayName** | **String** | Human readable display name of the type to be shown on UI | [optional] +**Description** | **String** | Description of the type of work to be reassigned, displayed by the UI. | [optional] + +## Examples + +- Prepare the resource +```powershell +$ConfigType = Initialize-PSSailpointV2024ConfigType -Priority 1 ` + -InternalName null ` + -InternalNameCamel null ` + -DisplayName Access Requests ` + -Description Reassign Access Request Work Items for an identity +``` + +- Convert the resource to JSON +```powershell +$ConfigType | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ConfigTypeEnum.md b/PSSailpoint/v2024/docs/ConfigTypeEnum.md new file mode 100644 index 000000000..b372a2199 --- /dev/null +++ b/PSSailpoint/v2024/docs/ConfigTypeEnum.md @@ -0,0 +1,20 @@ +# ConfigTypeEnum +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$ConfigTypeEnum = Initialize-PSSailpointV2024ConfigTypeEnum +``` + +- Convert the resource to JSON +```powershell +$ConfigTypeEnum | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ConfigTypeEnumCamel.md b/PSSailpoint/v2024/docs/ConfigTypeEnumCamel.md new file mode 100644 index 000000000..a8ad6c7e8 --- /dev/null +++ b/PSSailpoint/v2024/docs/ConfigTypeEnumCamel.md @@ -0,0 +1,20 @@ +# ConfigTypeEnumCamel +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$ConfigTypeEnumCamel = Initialize-PSSailpointV2024ConfigTypeEnumCamel +``` + +- Convert the resource to JSON +```powershell +$ConfigTypeEnumCamel | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ConfigurationDetailsResponse.md b/PSSailpoint/v2024/docs/ConfigurationDetailsResponse.md new file mode 100644 index 000000000..c3782432e --- /dev/null +++ b/PSSailpoint/v2024/docs/ConfigurationDetailsResponse.md @@ -0,0 +1,29 @@ +# ConfigurationDetailsResponse +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ConfigType** | [**ConfigTypeEnum**](ConfigTypeEnum.md) | | [optional] +**TargetIdentity** | [**Identity1**](Identity1.md) | | [optional] +**StartDate** | **System.DateTime** | The date from which to start reassigning work items | [optional] +**EndDate** | **System.DateTime** | The date from which to stop reassigning work items. If this is an empty string it indicates a permanent reassignment. | [optional] +**AuditDetails** | [**AuditDetails**](AuditDetails.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$ConfigurationDetailsResponse = Initialize-PSSailpointV2024ConfigurationDetailsResponse -ConfigType null ` + -TargetIdentity null ` + -StartDate 2022-07-21T11:13:12.345Z ` + -EndDate 0001-01-01T00:00Z ` + -AuditDetails null +``` + +- Convert the resource to JSON +```powershell +$ConfigurationDetailsResponse | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ConfigurationItemRequest.md b/PSSailpoint/v2024/docs/ConfigurationItemRequest.md new file mode 100644 index 000000000..c081631c8 --- /dev/null +++ b/PSSailpoint/v2024/docs/ConfigurationItemRequest.md @@ -0,0 +1,29 @@ +# ConfigurationItemRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ReassignedFromId** | **String** | The identity id to reassign an item from | [optional] +**ReassignedToId** | **String** | The identity id to reassign an item to | [optional] +**ConfigType** | [**ConfigTypeEnum**](ConfigTypeEnum.md) | | [optional] +**StartDate** | **System.DateTime** | The date from which to start reassigning work items | [optional] +**EndDate** | **System.DateTime** | The date from which to stop reassigning work items. If this is an null string it indicates a permanent reassignment. | [optional] + +## Examples + +- Prepare the resource +```powershell +$ConfigurationItemRequest = Initialize-PSSailpointV2024ConfigurationItemRequest -ReassignedFromId 2c91808781a71ddb0181b9090b5c504e ` + -ReassignedToId 2c91808781a71ddb0181b9090b53504a ` + -ConfigType null ` + -StartDate 2022-07-21T11:13:12.345Z ` + -EndDate 2022-07-30T17:00Z +``` + +- Convert the resource to JSON +```powershell +$ConfigurationItemRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ConfigurationItemResponse.md b/PSSailpoint/v2024/docs/ConfigurationItemResponse.md new file mode 100644 index 000000000..3b759b84a --- /dev/null +++ b/PSSailpoint/v2024/docs/ConfigurationItemResponse.md @@ -0,0 +1,23 @@ +# ConfigurationItemResponse +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Identity** | [**Identity1**](Identity1.md) | | [optional] +**ConfigDetails** | [**ConfigurationDetailsResponse[]**](ConfigurationDetailsResponse.md) | Details of how work should be reassigned for an Identity | [optional] + +## Examples + +- Prepare the resource +```powershell +$ConfigurationItemResponse = Initialize-PSSailpointV2024ConfigurationItemResponse -Identity null ` + -ConfigDetails null +``` + +- Convert the resource to JSON +```powershell +$ConfigurationItemResponse | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ConfigurationResponse.md b/PSSailpoint/v2024/docs/ConfigurationResponse.md new file mode 100644 index 000000000..8bff7e0c9 --- /dev/null +++ b/PSSailpoint/v2024/docs/ConfigurationResponse.md @@ -0,0 +1,23 @@ +# ConfigurationResponse +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Identity** | [**Identity1**](Identity1.md) | | [optional] +**ConfigDetails** | [**ConfigurationDetailsResponse[]**](ConfigurationDetailsResponse.md) | Details of how work should be reassigned for an Identity | [optional] + +## Examples + +- Prepare the resource +```powershell +$ConfigurationResponse = Initialize-PSSailpointV2024ConfigurationResponse -Identity null ` + -ConfigDetails null +``` + +- Convert the resource to JSON +```powershell +$ConfigurationResponse | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ConflictingAccessCriteria.md b/PSSailpoint/v2024/docs/ConflictingAccessCriteria.md new file mode 100644 index 000000000..7afe2f675 --- /dev/null +++ b/PSSailpoint/v2024/docs/ConflictingAccessCriteria.md @@ -0,0 +1,23 @@ +# ConflictingAccessCriteria +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**LeftCriteria** | [**AccessCriteria**](AccessCriteria.md) | | [optional] +**RightCriteria** | [**AccessCriteria**](AccessCriteria.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$ConflictingAccessCriteria = Initialize-PSSailpointV2024ConflictingAccessCriteria -LeftCriteria null ` + -RightCriteria null +``` + +- Convert the resource to JSON +```powershell +$ConflictingAccessCriteria | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ConnectedObject.md b/PSSailpoint/v2024/docs/ConnectedObject.md new file mode 100644 index 000000000..719f6e262 --- /dev/null +++ b/PSSailpoint/v2024/docs/ConnectedObject.md @@ -0,0 +1,27 @@ +# ConnectedObject +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | [**ConnectedObjectType**](ConnectedObjectType.md) | | [optional] +**Id** | **String** | ID of the object to which this reference applies | [optional] +**Name** | **String** | Human-readable name of Connected object | [optional] +**Description** | **String** | Description of the Connected object. | [optional] + +## Examples + +- Prepare the resource +```powershell +$ConnectedObject = Initialize-PSSailpointV2024ConnectedObject -Type null ` + -Id 2c91808568c529c60168cca6f90c1313 ` + -Name Employee-database-read-write ` + -Description Collection of entitlements to read/write the employee database. +``` + +- Convert the resource to JSON +```powershell +$ConnectedObject | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ConnectedObjectType.md b/PSSailpoint/v2024/docs/ConnectedObjectType.md new file mode 100644 index 000000000..950cfc5b1 --- /dev/null +++ b/PSSailpoint/v2024/docs/ConnectedObjectType.md @@ -0,0 +1,20 @@ +# ConnectedObjectType +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$ConnectedObjectType = Initialize-PSSailpointV2024ConnectedObjectType +``` + +- Convert the resource to JSON +```powershell +$ConnectedObjectType | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ConnectorDetail.md b/PSSailpoint/v2024/docs/ConnectorDetail.md new file mode 100644 index 000000000..bf191fcf8 --- /dev/null +++ b/PSSailpoint/v2024/docs/ConnectorDetail.md @@ -0,0 +1,102 @@ +# ConnectorDetail +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | The connector name | [optional] +**Type** | **String** | The connector type | [optional] +**ClassName** | **String** | The connector class name | [optional] +**ScriptName** | **String** | The connector script name | [optional] +**ApplicationXml** | **String** | The connector application xml | [optional] +**CorrelationConfigXml** | **String** | The connector correlation config xml | [optional] +**SourceConfigXml** | **String** | The connector source config xml | [optional] +**SourceConfig** | **String** | The connector source config | [optional] +**SourceConfigFrom** | **String** | The connector source config origin | [optional] +**S3Location** | **String** | storage path key for this connector | [optional] +**UploadedFiles** | **String[]** | The list of uploaded files supported by the connector. If there was any executable files uploaded to thee connector. Typically this be empty as the executable be uploaded at source creation. | [optional] +**FileUpload** | **Boolean** | true if the source is file upload | [optional] [default to $false] +**DirectConnect** | **Boolean** | true if the source is a direct connect source | [optional] [default to $false] +**TranslationProperties** | [**System.Collections.Hashtable**](AnyType.md) | A map containing translation attributes by loacale key | [optional] +**ConnectorMetadata** | [**System.Collections.Hashtable**](AnyType.md) | A map containing metadata pertinent to the UI to be used | [optional] +**Status** | **String** | The connector status | [optional] + +## Examples + +- Prepare the resource +```powershell +$ConnectorDetail = Initialize-PSSailpointV2024ConnectorDetail -Name name ` + -Type ServiceNow ` + -ClassName class name ` + -ScriptName servicenow ` + -ApplicationXml <?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE Application PUBLIC "sailpoint.dtd" "sailpoint.dtd"> +<Application connector="sailpoint.connector.OpenConnectorAdapter" name="custom Atlassian Suite - Cloud" type="custom Atlassian Suite - Cloud"/> + ` + -CorrelationConfigXml <?xml version='1.0' encoding='UTF-8'?> +<!-- Copyright (C) 2021 SailPoint Technologies, Inc. All rights reserved. --> + +<!DOCTYPE CorrelationConfig PUBLIC "sailpoint.dtd" "sailpoint.dtd"> + +<CorrelationConfig name="custom Atlassian Suite - Cloud Account Correlation Config"> + <AttributeAssignments> + <Filter operation="EQ" property="email" value="mail"/> + <Filter operation="EQ" property="empId" value="employeeNumber"/> + <Filter operation="EQ" property="displayName" value="cn"/> + </AttributeAssignments> +</CorrelationConfig> + ` + -SourceConfigXml <?xml version="1.0" encoding="UTF-8" standalone="no"?><!-- Copyright (C) 2023 SailPoint Technologies, Inc. All rights reserved. --><Form xmlns="http://www.sailpoint.com/xsd/sailpoint_form_2_0.xsd" connectorName="custom Atlassian Suite - Cloud" directConnect="true" fileUpload="true" name="Custom Atlassian Suite - Cloud" status="released" type="SourceConfig"> + <BaseConfig> + <Field maxFiles="10" maxSize="300" name="fileUpload" supportedExtensions="jar" type="fileupload" validateJSON="false"/> + </BaseConfig> + + + +</Form> ` + -SourceConfig <?xml version="1.0" encoding="UTF-8" standalone="no"?><!-- Copyright (C) 2023 SailPoint Technologies, Inc. All rights reserved. --><Form xmlns="http://www.sailpoint.com/xsd/sailpoint_form_2_0.xsd" connectorName="custom Atlassian Suite - Cloud" directConnect="true" fileUpload="true" name="Custom Atlassian Suite - Cloud" status="released" type="SourceConfig"> + <BaseConfig> + <Field maxFiles="10" maxSize="300" name="fileUpload" supportedExtensions="jar" type="fileupload" validateJSON="false"/> + </BaseConfig> + + + +</Form> ` + -SourceConfigFrom sp-connect ` + -S3Location custom-connector/scriptname ` + -UploadedFiles [pod/org/connectorFiles/testconnector/test1.jar] ` + -FileUpload true ` + -DirectConnect true ` + -TranslationProperties {de=# Copyright (C) 2024 SailPoint Technologies, Inc. All rights reserved. +# DO NOT EDIT. This file is generated by "sailpointTranslate" command. +menuLabel_ConnectionSettings=Verbindungseinstellungen +menuLabel_AggregationSettings=Aggregationseinstellungen +sectionLabel_AuthenticationSettings=Verbindungseinstellungen +sectionLabel_AggregationSettings=Aggregationseinstellungen +sectionInfo_AuthenticationSettings=Konfigurieren Sie eine direkte Verbindung zwischen der Quelle Delinea Secret Server On-Premise und IdentityNow.<br><br>Geben Sie bei <strong>Zeit\u00fcberschreitung bei Verbindung</strong> die maximal erlaubte Zeitdauer (in Minuten) f\u00fcr die Verbindung von IdentityNow mit der Quelle ein.<br><br>Geben Sie die <strong>Host-URL</strong> der Delinea-SCIM-Serverquelle ein.<br><br>Geben Sie den <strong>API-Token</strong> der Quelle zur Authentifizierung ein. +sectionInfo_AggregationSettings=Geben Sie die Einstellungen f\u00fcr Ihre Aggregation an.<br><br>Geben Sie in das Feld <strong>Seitengr\u00f6\u00dfe</strong> die Anzahl an Kontoeintr\u00e4gen ein, die auf einer einzelnen Seite aggregiert werden sollen, wenn gro\u00dfe Datens\u00e4tze durchlaufen werden.<br>\n<br>Geben Sie im <strong>Kontofilter</strong> die Bedingungen f\u00fcr den Kontofilter an. Beispiel: userName sw "S"<br><br>Geben Sie im <strong>Gruppenfilter</strong> die Gruppenfilterbedingungen an. Beispiel: displayName sw "S". +placeHolder_accAggregation=userName sw "S" +placeHolder_grpAggregation=displayName sw "S" +placeHolder_host=https://{Delinea_SCIM_Server_host}/v2 +docLinkLabel_AuthenticationSettings=Mehr \u00fcber Verbindungseinstellungen +docLinkLabel_Filters=Mehr \u00fcber Konto- und Gruppenfilter +HostURL=Host-URL +ConnectionTimeout=Zeit\u00fcberschreitung bei Verbindung +API_TOKEN=API-Token +JSONPathMapping=JSON-Path-Attribut-Mapping +FilterConditionForAccounts=Kontofilter +FilterConditionForGroups=Gruppenfilter +Page_Size=Seitengr\u00f6\u00dfe +SchemaAttribute=Schema-Attribut +JSONpath=JSON-Pfad +ShortDesc=Das Integrationsmodul IdentityNow f\u00fcr Delinea Secret Server On-Premise bietet die M\u00f6glichkeit einer tiefen Governance f\u00fcr Konten und Gruppen. Es unterst\u00fctzt au\u00dferdem das End-to-End-Lebenszyklus-Management.} ` + -ConnectorMetadata {supportedUI=EXTJS, platform=ccg, shortDesc=connector description} ` + -Status RELEASED +``` + +- Convert the resource to JSON +```powershell +$ConnectorDetail | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ConnectorDetail1.md b/PSSailpoint/v2024/docs/ConnectorDetail1.md new file mode 100644 index 000000000..ef4263413 --- /dev/null +++ b/PSSailpoint/v2024/docs/ConnectorDetail1.md @@ -0,0 +1,34 @@ +# ConnectorDetail1 +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | The connector name | [optional] +**SourceConfigXml** | **String** | XML representation of the source config data | [optional] +**SourceConfig** | **String** | JSON representation of the source config data | [optional] +**DirectConnect** | **Boolean** | true if the source is a direct connect source | [optional] +**FileUpload** | **Boolean** | Connector config's file upload attribute, false if not there | [optional] +**UploadedFiles** | **String** | List of uploaded file strings for the connector | [optional] +**ConnectorMetadata** | [**SystemCollectionsHashtable**](.md) | Object containing metadata pertinent to the UI to be used | [optional] + +## Examples + +- Prepare the resource +```powershell +$ConnectorDetail1 = Initialize-PSSailpointV2024ConnectorDetail1 -Name JDBC ` + -SourceConfigXml <Form connectorName='Active Directory - Direct' directConnect='true' name='Active Directory' status='released' type='SourceConfig' xmlns='http://www.sailpoint.com/xsd/sailpoint_form_1_0.xsd'> + <Field defaultValue='true' hidden='true' name='cloudAuthEnabled' type='boolean' value='true'> </Field> </Form> ` + -SourceConfig {Form={Field={_defaultValue=true, _hidden=true, _name=cloudAuthEnabled, _type=boolean, _value=true}, _xmlns=http://www.sailpoint.com/xsd/sailpoint_form_1_0.xsd, _connectorName=Active Directory - Direct, _directConnect=true, _name=Active Directory, _status=released, _type=SourceConfig, __text=\n\t}} ` + -DirectConnect true ` + -FileUpload false ` + -UploadedFiles [] ` + -ConnectorMetadata {supportedUI=EXTJS} +``` + +- Convert the resource to JSON +```powershell +$ConnectorDetail1 | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ConnectorRuleCreateRequest.md b/PSSailpoint/v2024/docs/ConnectorRuleCreateRequest.md new file mode 100644 index 000000000..b49ef0673 --- /dev/null +++ b/PSSailpoint/v2024/docs/ConnectorRuleCreateRequest.md @@ -0,0 +1,31 @@ +# ConnectorRuleCreateRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | the name of the rule | +**Description** | **String** | a description of the rule's purpose | [optional] +**Type** | **String** | the type of rule | +**Signature** | [**ConnectorRuleCreateRequestSignature**](ConnectorRuleCreateRequestSignature.md) | | [optional] +**SourceCode** | [**SourceCode**](SourceCode.md) | | +**Attributes** | [**SystemCollectionsHashtable**](.md) | a map of string to objects | [optional] + +## Examples + +- Prepare the resource +```powershell +$ConnectorRuleCreateRequest = Initialize-PSSailpointV2024ConnectorRuleCreateRequest -Name WebServiceBeforeOperationRule ` + -Description This rule does that ` + -Type BuildMap ` + -Signature null ` + -SourceCode null ` + -Attributes {} +``` + +- Convert the resource to JSON +```powershell +$ConnectorRuleCreateRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ConnectorRuleCreateRequestSignature.md b/PSSailpoint/v2024/docs/ConnectorRuleCreateRequestSignature.md new file mode 100644 index 000000000..cf5fd71e3 --- /dev/null +++ b/PSSailpoint/v2024/docs/ConnectorRuleCreateRequestSignature.md @@ -0,0 +1,23 @@ +# ConnectorRuleCreateRequestSignature +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**VarInput** | [**Argument[]**](Argument.md) | | +**Output** | [**Argument**](Argument.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$ConnectorRuleCreateRequestSignature = Initialize-PSSailpointV2024ConnectorRuleCreateRequestSignature -VarInput null ` + -Output null +``` + +- Convert the resource to JSON +```powershell +$ConnectorRuleCreateRequestSignature | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ConnectorRuleResponse.md b/PSSailpoint/v2024/docs/ConnectorRuleResponse.md new file mode 100644 index 000000000..5a2627025 --- /dev/null +++ b/PSSailpoint/v2024/docs/ConnectorRuleResponse.md @@ -0,0 +1,37 @@ +# ConnectorRuleResponse +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | the name of the rule | +**Description** | **String** | a description of the rule's purpose | [optional] +**Type** | **String** | the type of rule | +**Signature** | [**ConnectorRuleCreateRequestSignature**](ConnectorRuleCreateRequestSignature.md) | | [optional] +**SourceCode** | [**SourceCode**](SourceCode.md) | | +**Attributes** | [**SystemCollectionsHashtable**](.md) | a map of string to objects | [optional] +**Id** | **String** | the ID of the rule | +**Created** | **String** | an ISO 8601 UTC timestamp when this rule was created | +**Modified** | **String** | an ISO 8601 UTC timestamp when this rule was last modified | [optional] + +## Examples + +- Prepare the resource +```powershell +$ConnectorRuleResponse = Initialize-PSSailpointV2024ConnectorRuleResponse -Name WebServiceBeforeOperationRule ` + -Description This rule does that ` + -Type BuildMap ` + -Signature null ` + -SourceCode null ` + -Attributes {} ` + -Id 8113d48c0b914f17b4c6072d4dcb9dfe ` + -Created 021-07-22T15:59:23Z ` + -Modified 021-07-22T15:59:23Z +``` + +- Convert the resource to JSON +```powershell +$ConnectorRuleResponse | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ConnectorRuleUpdateRequest.md b/PSSailpoint/v2024/docs/ConnectorRuleUpdateRequest.md new file mode 100644 index 000000000..192589717 --- /dev/null +++ b/PSSailpoint/v2024/docs/ConnectorRuleUpdateRequest.md @@ -0,0 +1,33 @@ +# ConnectorRuleUpdateRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | the name of the rule | +**Description** | **String** | a description of the rule's purpose | [optional] +**Type** | **String** | the type of rule | +**Signature** | [**ConnectorRuleCreateRequestSignature**](ConnectorRuleCreateRequestSignature.md) | | [optional] +**SourceCode** | [**SourceCode**](SourceCode.md) | | +**Attributes** | [**SystemCollectionsHashtable**](.md) | a map of string to objects | [optional] +**Id** | **String** | the ID of the rule to update | + +## Examples + +- Prepare the resource +```powershell +$ConnectorRuleUpdateRequest = Initialize-PSSailpointV2024ConnectorRuleUpdateRequest -Name WebServiceBeforeOperationRule ` + -Description This rule does that ` + -Type BuildMap ` + -Signature null ` + -SourceCode null ` + -Attributes {} ` + -Id 8113d48c0b914f17b4c6072d4dcb9dfe +``` + +- Convert the resource to JSON +```powershell +$ConnectorRuleUpdateRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ConnectorRuleValidationResponse.md b/PSSailpoint/v2024/docs/ConnectorRuleValidationResponse.md new file mode 100644 index 000000000..93dc296ff --- /dev/null +++ b/PSSailpoint/v2024/docs/ConnectorRuleValidationResponse.md @@ -0,0 +1,23 @@ +# ConnectorRuleValidationResponse +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**State** | **String** | | +**Details** | [**ConnectorRuleValidationResponseDetailsInner[]**](ConnectorRuleValidationResponseDetailsInner.md) | | + +## Examples + +- Prepare the resource +```powershell +$ConnectorRuleValidationResponse = Initialize-PSSailpointV2024ConnectorRuleValidationResponse -State ERROR ` + -Details null +``` + +- Convert the resource to JSON +```powershell +$ConnectorRuleValidationResponse | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ConnectorRuleValidationResponseDetailsInner.md b/PSSailpoint/v2024/docs/ConnectorRuleValidationResponseDetailsInner.md new file mode 100644 index 000000000..63c7e1180 --- /dev/null +++ b/PSSailpoint/v2024/docs/ConnectorRuleValidationResponseDetailsInner.md @@ -0,0 +1,25 @@ +# ConnectorRuleValidationResponseDetailsInner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Line** | **Int32** | The line number where the issue occurred | +**Column** | **Int32** | the column number where the issue occurred | +**Messsage** | **String** | a description of the issue in the code | [optional] + +## Examples + +- Prepare the resource +```powershell +$ConnectorRuleValidationResponseDetailsInner = Initialize-PSSailpointV2024ConnectorRuleValidationResponseDetailsInner -Line 2 ` + -Column 5 ` + -Messsage Remove reference to .decrypt( +``` + +- Convert the resource to JSON +```powershell +$ConnectorRuleValidationResponseDetailsInner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ContextAttributeDto.md b/PSSailpoint/v2024/docs/ContextAttributeDto.md new file mode 100644 index 000000000..35cbbedcc --- /dev/null +++ b/PSSailpoint/v2024/docs/ContextAttributeDto.md @@ -0,0 +1,25 @@ +# ContextAttributeDto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Attribute** | **String** | The name of the attribute | [optional] +**Value** | [**ContextAttributeDtoValue**](ContextAttributeDtoValue.md) | | [optional] +**Derived** | **Boolean** | True if the attribute was derived. | [optional] [default to $false] + +## Examples + +- Prepare the resource +```powershell +$ContextAttributeDto = Initialize-PSSailpointV2024ContextAttributeDto -Attribute location ` + -Value null ` + -Derived false +``` + +- Convert the resource to JSON +```powershell +$ContextAttributeDto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ContextAttributeDtoValue.md b/PSSailpoint/v2024/docs/ContextAttributeDtoValue.md new file mode 100644 index 000000000..115dccc32 --- /dev/null +++ b/PSSailpoint/v2024/docs/ContextAttributeDtoValue.md @@ -0,0 +1,20 @@ +# ContextAttributeDtoValue +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$ContextAttributeDtoValue = Initialize-PSSailpointV2024ContextAttributeDtoValue +``` + +- Convert the resource to JSON +```powershell +$ContextAttributeDtoValue | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CorrelatedGovernanceEvent.md b/PSSailpoint/v2024/docs/CorrelatedGovernanceEvent.md new file mode 100644 index 000000000..8c92b20ad --- /dev/null +++ b/PSSailpoint/v2024/docs/CorrelatedGovernanceEvent.md @@ -0,0 +1,33 @@ +# CorrelatedGovernanceEvent +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | The name of the governance event, such as the certification name or access request ID. | [optional] +**Dt** | **String** | The date that the certification or access request was completed. | [optional] +**Type** | **String** | The type of governance event. | [optional] +**GovernanceId** | **String** | The ID of the instance that caused the event - either the certification ID or access request ID. | [optional] +**Owners** | [**CertifierResponse[]**](CertifierResponse.md) | The owners of the governance event (the certifiers or approvers) | [optional] +**Reviewers** | [**CertifierResponse[]**](CertifierResponse.md) | The owners of the governance event (the certifiers or approvers), this field should be preferred over owners | [optional] +**DecisionMaker** | [**CertifierResponse**](CertifierResponse.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$CorrelatedGovernanceEvent = Initialize-PSSailpointV2024CorrelatedGovernanceEvent -Name Manager Certification for Jon Snow ` + -Dt 2019-03-08T22:37:33.901Z ` + -Type certification ` + -GovernanceId 2c91808a77ff216301782327a50f09bf ` + -Owners [{id=8a80828f643d484f01643e14202e206f, displayName=John Snow}] ` + -Reviewers [{id=8a80828f643d484f01643e14202e206f, displayName=John Snow}] ` + -DecisionMaker null +``` + +- Convert the resource to JSON +```powershell +$CorrelatedGovernanceEvent | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CreateDomainDkim405Response.md b/PSSailpoint/v2024/docs/CreateDomainDkim405Response.md new file mode 100644 index 000000000..cabbd94e2 --- /dev/null +++ b/PSSailpoint/v2024/docs/CreateDomainDkim405Response.md @@ -0,0 +1,25 @@ +# CreateDomainDkim405Response +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ErrorName** | [**SystemCollectionsHashtable**](.md) | A message describing the error | [optional] +**ErrorMessage** | [**SystemCollectionsHashtable**](.md) | Description of the error | [optional] +**TrackingId** | **String** | Unique tracking id for the error. | [optional] + +## Examples + +- Prepare the resource +```powershell +$CreateDomainDkim405Response = Initialize-PSSailpointV2024CreateDomainDkim405Response -ErrorName NotSupportedException ` + -ErrorMessage Cannot consume content type ` + -TrackingId e7eab60924f64aa284175b9fa3309599 +``` + +- Convert the resource to JSON +```powershell +$CreateDomainDkim405Response | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CreateExternalExecuteWorkflow200Response.md b/PSSailpoint/v2024/docs/CreateExternalExecuteWorkflow200Response.md new file mode 100644 index 000000000..cb29adbaa --- /dev/null +++ b/PSSailpoint/v2024/docs/CreateExternalExecuteWorkflow200Response.md @@ -0,0 +1,23 @@ +# CreateExternalExecuteWorkflow200Response +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**WorkflowExecutionId** | **String** | The workflow execution id | [optional] +**Message** | **String** | An error message if any errors occurred | [optional] + +## Examples + +- Prepare the resource +```powershell +$CreateExternalExecuteWorkflow200Response = Initialize-PSSailpointV2024CreateExternalExecuteWorkflow200Response -WorkflowExecutionId 0e11cefa-96e7-4b67-90d0-065bc1da5753 ` + -Message Workflow was not executed externally. Check enabled flag on workflow definition +``` + +- Convert the resource to JSON +```powershell +$CreateExternalExecuteWorkflow200Response | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CreateExternalExecuteWorkflowRequest.md b/PSSailpoint/v2024/docs/CreateExternalExecuteWorkflowRequest.md new file mode 100644 index 000000000..f3dcf0dde --- /dev/null +++ b/PSSailpoint/v2024/docs/CreateExternalExecuteWorkflowRequest.md @@ -0,0 +1,21 @@ +# CreateExternalExecuteWorkflowRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**VarInput** | [**SystemCollectionsHashtable**](.md) | The input for the workflow | [optional] + +## Examples + +- Prepare the resource +```powershell +$CreateExternalExecuteWorkflowRequest = Initialize-PSSailpointV2024CreateExternalExecuteWorkflowRequest -VarInput {customAttribute1=value1, customAttribute2=value2} +``` + +- Convert the resource to JSON +```powershell +$CreateExternalExecuteWorkflowRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CreateFormDefinitionFileRequestRequest.md b/PSSailpoint/v2024/docs/CreateFormDefinitionFileRequestRequest.md new file mode 100644 index 000000000..c750ecb3c --- /dev/null +++ b/PSSailpoint/v2024/docs/CreateFormDefinitionFileRequestRequest.md @@ -0,0 +1,21 @@ +# CreateFormDefinitionFileRequestRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**File** | **System.IO.FileInfo** | File specifying the multipart | + +## Examples + +- Prepare the resource +```powershell +$CreateFormDefinitionFileRequestRequest = Initialize-PSSailpointV2024CreateFormDefinitionFileRequestRequest -File null +``` + +- Convert the resource to JSON +```powershell +$CreateFormDefinitionFileRequestRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CreateFormDefinitionRequest.md b/PSSailpoint/v2024/docs/CreateFormDefinitionRequest.md new file mode 100644 index 000000000..5fce9c8ff --- /dev/null +++ b/PSSailpoint/v2024/docs/CreateFormDefinitionRequest.md @@ -0,0 +1,33 @@ +# CreateFormDefinitionRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Description** | **String** | Description is the form definition description | [optional] +**FormConditions** | [**FormCondition[]**](FormCondition.md) | FormConditions is the conditional logic that modify the form dynamically modify the form as the recipient is interacting out the form | [optional] +**FormElements** | [**FormElement[]**](FormElement.md) | FormElements is a list of nested form elements | [optional] +**FormInput** | [**FormDefinitionInput[]**](FormDefinitionInput.md) | FormInput is a list of form inputs that are required when creating a form-instance object | [optional] +**Name** | **String** | Name is the form definition name | +**Owner** | [**FormOwner**](FormOwner.md) | | +**UsedBy** | [**FormUsedBy[]**](FormUsedBy.md) | UsedBy is a list of objects where when any system uses a particular form it reaches out to the form service to record it is currently being used | [optional] + +## Examples + +- Prepare the resource +```powershell +$CreateFormDefinitionRequest = Initialize-PSSailpointV2024CreateFormDefinitionRequest -Description My form description ` + -FormConditions null ` + -FormElements null ` + -FormInput null ` + -Name My form ` + -Owner null ` + -UsedBy null +``` + +- Convert the resource to JSON +```powershell +$CreateFormDefinitionRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CreateFormInstanceRequest.md b/PSSailpoint/v2024/docs/CreateFormInstanceRequest.md new file mode 100644 index 000000000..6784423f5 --- /dev/null +++ b/PSSailpoint/v2024/docs/CreateFormInstanceRequest.md @@ -0,0 +1,35 @@ +# CreateFormInstanceRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**CreatedBy** | [**FormInstanceCreatedBy**](FormInstanceCreatedBy.md) | | +**Expire** | **String** | Expire is required | +**FormDefinitionId** | **String** | FormDefinitionID is the id of the form definition that created this form | +**FormInput** | [**System.Collections.Hashtable**](AnyType.md) | FormInput is an object of form input labels to value | [optional] +**Recipients** | [**FormInstanceRecipient[]**](FormInstanceRecipient.md) | Recipients is required | +**StandAloneForm** | **Boolean** | StandAloneForm is a boolean flag to indicate if this form should be available for users to complete via the standalone form UI or should this only be available to be completed by as an embedded form | [optional] [default to $false] +**State** | **String** | State is required, if not present initial state is FormInstanceStateAssigned ASSIGNED FormInstanceStateAssigned IN_PROGRESS FormInstanceStateInProgress SUBMITTED FormInstanceStateSubmitted COMPLETED FormInstanceStateCompleted CANCELLED FormInstanceStateCancelled | [optional] +**Ttl** | **Int64** | TTL an epoch timestamp in seconds, it most be in seconds or dynamodb will ignore it SEE: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/time-to-live-ttl-before-you-start.html | [optional] + +## Examples + +- Prepare the resource +```powershell +$CreateFormInstanceRequest = Initialize-PSSailpointV2024CreateFormInstanceRequest -CreatedBy null ` + -Expire 2023-08-12T20:14:57.74486Z ` + -FormDefinitionId 00000000-0000-0000-0000-000000000000 ` + -FormInput {input1=Sales} ` + -Recipients null ` + -StandAloneForm false ` + -State ASSIGNED ` + -Ttl 1571827560 +``` + +- Convert the resource to JSON +```powershell +$CreateFormInstanceRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CreateOAuthClientRequest.md b/PSSailpoint/v2024/docs/CreateOAuthClientRequest.md new file mode 100644 index 000000000..82d532cb3 --- /dev/null +++ b/PSSailpoint/v2024/docs/CreateOAuthClientRequest.md @@ -0,0 +1,49 @@ +# CreateOAuthClientRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**BusinessName** | **String** | The name of the business the API Client should belong to | [optional] +**HomepageUrl** | **String** | The homepage URL associated with the owner of the API Client | [optional] +**Name** | **String** | A human-readable name for the API Client | +**Description** | **String** | A description of the API Client | +**AccessTokenValiditySeconds** | **Int32** | The number of seconds an access token generated for this API Client is valid for | +**RefreshTokenValiditySeconds** | **Int32** | The number of seconds a refresh token generated for this API Client is valid for | [optional] +**RedirectUris** | **String[]** | A list of the approved redirect URIs. Provide one or more URIs when assigning the AUTHORIZATION_CODE grant type to a new OAuth Client. | [optional] +**GrantTypes** | [**GrantType[]**](GrantType.md) | A list of OAuth 2.0 grant types this API Client can be used with | +**AccessType** | [**AccessType**](AccessType.md) | | +**Type** | [**ClientType**](ClientType.md) | | [optional] +**Internal** | **Boolean** | An indicator of whether the API Client can be used for requests internal within the product. | [optional] +**Enabled** | **Boolean** | An indicator of whether the API Client is enabled for use | +**StrongAuthSupported** | **Boolean** | An indicator of whether the API Client supports strong authentication | [optional] +**ClaimsSupported** | **Boolean** | An indicator of whether the API Client supports the serialization of SAML claims when used with the authorization_code flow | [optional] +**Scope** | **String[]** | Scopes of the API Client. If no scope is specified, the client will be created with the default scope ""sp:scopes:all"". This means the API Client will have all the rights of the owner who created it. | [optional] + +## Examples + +- Prepare the resource +```powershell +$CreateOAuthClientRequest = Initialize-PSSailpointV2024CreateOAuthClientRequest -BusinessName Acme-Solar ` + -HomepageUrl http://localhost:12345 ` + -Name Demo API Client ` + -Description An API client used for the authorization_code, refresh_token, and client_credentials flows ` + -AccessTokenValiditySeconds 750 ` + -RefreshTokenValiditySeconds 86400 ` + -RedirectUris [http://localhost:12345] ` + -GrantTypes [AUTHORIZATION_CODE, CLIENT_CREDENTIALS, REFRESH_TOKEN] ` + -AccessType null ` + -Type null ` + -Internal false ` + -Enabled true ` + -StrongAuthSupported false ` + -ClaimsSupported false ` + -Scope [demo:api-client-scope:first, demo:api-client-scope:second] +``` + +- Convert the resource to JSON +```powershell +$CreateOAuthClientRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CreateOAuthClientResponse.md b/PSSailpoint/v2024/docs/CreateOAuthClientResponse.md new file mode 100644 index 000000000..71cebf983 --- /dev/null +++ b/PSSailpoint/v2024/docs/CreateOAuthClientResponse.md @@ -0,0 +1,57 @@ +# CreateOAuthClientResponse +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | ID of the OAuth client | +**Secret** | **String** | Secret of the OAuth client (This field is only returned on the intial create call.) | +**BusinessName** | **String** | The name of the business the API Client should belong to | +**HomepageUrl** | **String** | The homepage URL associated with the owner of the API Client | +**Name** | **String** | A human-readable name for the API Client | +**Description** | **String** | A description of the API Client | +**AccessTokenValiditySeconds** | **Int32** | The number of seconds an access token generated for this API Client is valid for | +**RefreshTokenValiditySeconds** | **Int32** | The number of seconds a refresh token generated for this API Client is valid for | +**RedirectUris** | **String[]** | A list of the approved redirect URIs used with the authorization_code flow | +**GrantTypes** | [**GrantType[]**](GrantType.md) | A list of OAuth 2.0 grant types this API Client can be used with | +**AccessType** | [**AccessType**](AccessType.md) | | +**Type** | [**ClientType**](ClientType.md) | | +**Internal** | **Boolean** | An indicator of whether the API Client can be used for requests internal to IDN | +**Enabled** | **Boolean** | An indicator of whether the API Client is enabled for use | +**StrongAuthSupported** | **Boolean** | An indicator of whether the API Client supports strong authentication | +**ClaimsSupported** | **Boolean** | An indicator of whether the API Client supports the serialization of SAML claims when used with the authorization_code flow | +**Created** | **System.DateTime** | The date and time, down to the millisecond, when the API Client was created | +**Modified** | **System.DateTime** | The date and time, down to the millisecond, when the API Client was last updated | +**Scope** | **String[]** | Scopes of the API Client. | + +## Examples + +- Prepare the resource +```powershell +$CreateOAuthClientResponse = Initialize-PSSailpointV2024CreateOAuthClientResponse -Id 2c9180835d2e5168015d32f890ca1581 ` + -Secret 5c32dd9b21adb51c77794d46e71de117a1d0ddb36a7ff941fa28014ab7de2cf3 ` + -BusinessName Acme-Solar ` + -HomepageUrl http://localhost:12345 ` + -Name Demo API Client ` + -Description An API client used for the authorization_code, refresh_token, and client_credentials flows ` + -AccessTokenValiditySeconds 750 ` + -RefreshTokenValiditySeconds 86400 ` + -RedirectUris [http://localhost:12345] ` + -GrantTypes [AUTHORIZATION_CODE, CLIENT_CREDENTIALS, REFRESH_TOKEN] ` + -AccessType null ` + -Type null ` + -Internal false ` + -Enabled true ` + -StrongAuthSupported false ` + -ClaimsSupported false ` + -Created 2017-07-11T18:45:37.098Z ` + -Modified 2018-06-25T20:22:28.104Z ` + -Scope [demo:api-client-scope:first, demo:api-client-scope:second] +``` + +- Convert the resource to JSON +```powershell +$CreateOAuthClientResponse | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CreatePersonalAccessTokenRequest.md b/PSSailpoint/v2024/docs/CreatePersonalAccessTokenRequest.md new file mode 100644 index 000000000..88c14896e --- /dev/null +++ b/PSSailpoint/v2024/docs/CreatePersonalAccessTokenRequest.md @@ -0,0 +1,23 @@ +# CreatePersonalAccessTokenRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | The name of the personal access token (PAT) to be created. Cannot be the same as another PAT owned by the user for whom this PAT is being created. | +**Scope** | **String[]** | Scopes of the personal access token. If no scope is specified, the token will be created with the default scope ""sp:scopes:all"". This means the personal access token will have all the rights of the owner who created it. | [optional] + +## Examples + +- Prepare the resource +```powershell +$CreatePersonalAccessTokenRequest = Initialize-PSSailpointV2024CreatePersonalAccessTokenRequest -Name NodeJS Integration ` + -Scope [demo:personal-access-token-scope:first, demo:personal-access-token-scope:second] +``` + +- Convert the resource to JSON +```powershell +$CreatePersonalAccessTokenRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CreatePersonalAccessTokenResponse.md b/PSSailpoint/v2024/docs/CreatePersonalAccessTokenResponse.md new file mode 100644 index 000000000..bcc1a6bde --- /dev/null +++ b/PSSailpoint/v2024/docs/CreatePersonalAccessTokenResponse.md @@ -0,0 +1,31 @@ +# CreatePersonalAccessTokenResponse +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The ID of the personal access token (to be used as the username for Basic Auth). | +**Secret** | **String** | The secret of the personal access token (to be used as the password for Basic Auth). | +**Scope** | **String[]** | Scopes of the personal access token. | +**Name** | **String** | The name of the personal access token. Cannot be the same as other personal access tokens owned by a user. | +**Owner** | [**PatOwner**](PatOwner.md) | | +**Created** | **System.DateTime** | The date and time, down to the millisecond, when this personal access token was created. | + +## Examples + +- Prepare the resource +```powershell +$CreatePersonalAccessTokenResponse = Initialize-PSSailpointV2024CreatePersonalAccessTokenResponse -Id 86f1dc6fe8f54414950454cbb11278fa ` + -Secret 1d1bef2b9f426383447f64f69349fc7cac176042578d205c256ba3f37c59adb9 ` + -Scope [demo:personal-access-token-scope:first, demo:personal-access-token-scope:second] ` + -Name NodeJS Integration ` + -Owner null ` + -Created 2017-07-11T18:45:37.098Z +``` + +- Convert the resource to JSON +```powershell +$CreatePersonalAccessTokenResponse | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CreateSavedSearchRequest.md b/PSSailpoint/v2024/docs/CreateSavedSearchRequest.md new file mode 100644 index 000000000..5fd7fdf67 --- /dev/null +++ b/PSSailpoint/v2024/docs/CreateSavedSearchRequest.md @@ -0,0 +1,41 @@ +# CreateSavedSearchRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | The name of the saved search. | [optional] +**Description** | **String** | The description of the saved search. | [optional] +**Created** | **System.DateTime** | A date-time in ISO-8601 format | [optional] +**Modified** | **System.DateTime** | A date-time in ISO-8601 format | [optional] +**Indices** | [**Index[]**](Index.md) | The names of the Elasticsearch indices in which to search. | +**Columns** | [**System.Collections.Hashtable**](Array.md) | The columns to be returned (specifies the order in which they will be presented) for each document type. The currently supported document types are: _accessprofile_, _accountactivity_, _account_, _aggregation_, _entitlement_, _event_, _identity_, and _role_. | [optional] +**Query** | **String** | The search query using Elasticsearch [Query String Query](https://www.elastic.co/guide/en/elasticsearch/reference/5.2/query-dsl-query-string-query.html#query-string) syntax from the Query DSL. | +**Fields** | **String[]** | The fields to be searched against in a multi-field query. | [optional] +**OrderBy** | [**System.Collections.Hashtable**](Array.md) | Sort by index. This takes precedence over the `sort` property. | [optional] +**Sort** | **String[]** | The fields to be used to sort the search results. | [optional] +**Filters** | [**SavedSearchDetailFilters**](SavedSearchDetailFilters.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$CreateSavedSearchRequest = Initialize-PSSailpointV2024CreateSavedSearchRequest -Name Disabled accounts ` + -Description Disabled accounts ` + -Created 2018-06-25T20:22:28.104Z ` + -Modified 2018-06-25T20:22:28.104Z ` + -Indices [identities] ` + -Columns {identity=[{field=displayName, header=Display Name}, {field=e-mail, header=Work Email}]} ` + -Query @accounts(disabled:true) ` + -Fields [disabled] ` + -OrderBy {identity=[lastName, firstName], role=[name]} ` + -Sort [displayName] ` + -Filters null +``` + +- Convert the resource to JSON +```powershell +$CreateSavedSearchRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CreateScheduledSearchRequest.md b/PSSailpoint/v2024/docs/CreateScheduledSearchRequest.md new file mode 100644 index 000000000..7f1fe4086 --- /dev/null +++ b/PSSailpoint/v2024/docs/CreateScheduledSearchRequest.md @@ -0,0 +1,39 @@ +# CreateScheduledSearchRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | The name of the scheduled search. | [optional] +**Description** | **String** | The description of the scheduled search. | [optional] +**SavedSearchId** | **String** | The ID of the saved search that will be executed. | +**Created** | **System.DateTime** | A date-time in ISO-8601 format | [optional] [readonly] +**Modified** | **System.DateTime** | A date-time in ISO-8601 format | [optional] [readonly] +**Schedule** | [**Schedule1**](Schedule1.md) | | +**Recipients** | [**SearchScheduleRecipientsInner[]**](SearchScheduleRecipientsInner.md) | A list of identities that should receive the scheduled search report via email. | +**Enabled** | **Boolean** | Indicates if the scheduled search is enabled. | [optional] [default to $false] +**EmailEmptyResults** | **Boolean** | Indicates if email generation should occur when search returns no results. | [optional] [default to $false] +**DisplayQueryDetails** | **Boolean** | Indicates if the generated email should include the query and search results preview (which could include PII). | [optional] [default to $false] + +## Examples + +- Prepare the resource +```powershell +$CreateScheduledSearchRequest = Initialize-PSSailpointV2024CreateScheduledSearchRequest -Name Daily disabled accounts ` + -Description Daily disabled accounts ` + -SavedSearchId 554f1511-f0a1-4744-ab14-599514d3e57c ` + -Created 2018-06-25T20:22:28.104Z ` + -Modified 2018-06-25T20:22:28.104Z ` + -Schedule null ` + -Recipients null ` + -Enabled false ` + -EmailEmptyResults false ` + -DisplayQueryDetails false +``` + +- Convert the resource to JSON +```powershell +$CreateScheduledSearchRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CreateWorkflowRequest.md b/PSSailpoint/v2024/docs/CreateWorkflowRequest.md new file mode 100644 index 000000000..58344a614 --- /dev/null +++ b/PSSailpoint/v2024/docs/CreateWorkflowRequest.md @@ -0,0 +1,31 @@ +# CreateWorkflowRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | The name of the workflow | +**Owner** | [**WorkflowBodyOwner**](WorkflowBodyOwner.md) | | +**Description** | **String** | Description of what the workflow accomplishes | [optional] +**Definition** | [**WorkflowDefinition**](WorkflowDefinition.md) | | [optional] +**Enabled** | **Boolean** | Enable or disable the workflow. Workflows cannot be created in an enabled state. | [optional] [default to $false] +**Trigger** | [**WorkflowTrigger**](WorkflowTrigger.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$CreateWorkflowRequest = Initialize-PSSailpointV2024CreateWorkflowRequest -Name Send Email ` + -Owner null ` + -Description Send an email to the identity who's attributes changed. ` + -Definition null ` + -Enabled false ` + -Trigger null +``` + +- Convert the resource to JSON +```powershell +$CreateWorkflowRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CriteriaType.md b/PSSailpoint/v2024/docs/CriteriaType.md new file mode 100644 index 000000000..5694d02ae --- /dev/null +++ b/PSSailpoint/v2024/docs/CriteriaType.md @@ -0,0 +1,20 @@ +# CriteriaType +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$CriteriaType = Initialize-PSSailpointV2024CriteriaType +``` + +- Convert the resource to JSON +```powershell +$CriteriaType | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/CustomPasswordInstruction.md b/PSSailpoint/v2024/docs/CustomPasswordInstruction.md new file mode 100644 index 000000000..0fc0f185b --- /dev/null +++ b/PSSailpoint/v2024/docs/CustomPasswordInstruction.md @@ -0,0 +1,25 @@ +# CustomPasswordInstruction +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**PageId** | **String** | The page ID that represents the page for forget user name, reset password and unlock account flow. | [optional] +**PageContent** | **String** | The custom instructions for the specified page. Allow basic HTML format and maximum length is 1000 characters. The custom instructions will be sanitized to avoid attacks. If the customization text includes a link, like <A HREF=\""URL\"">...</A> clicking on this will open the link on the current browser page. If you want your link to be redirected to a different page, please redirect it to ""_blank"" like this: <a href=\""URL"" target=\""_blank\"" >link</a>. This will open a new tab when the link is clicked. Notice we're only supporting _blank as the redirection target. | [optional] +**Locale** | **String** | The locale for the custom instructions, a BCP47 language tag. The default value is \""default\"". | [optional] + +## Examples + +- Prepare the resource +```powershell +$CustomPasswordInstruction = Initialize-PSSailpointV2024CustomPasswordInstruction -PageId null ` + -PageContent null ` + -Locale en +``` + +- Convert the resource to JSON +```powershell +$CustomPasswordInstruction | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/DataAccess.md b/PSSailpoint/v2024/docs/DataAccess.md new file mode 100644 index 000000000..006eac425 --- /dev/null +++ b/PSSailpoint/v2024/docs/DataAccess.md @@ -0,0 +1,25 @@ +# DataAccess +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Policies** | [**DataAccessPoliciesInner[]**](DataAccessPoliciesInner.md) | List of classification policies that apply to resources the entitlement \ groups has access to | [optional] +**Categories** | [**DataAccessCategoriesInner[]**](DataAccessCategoriesInner.md) | List of classification categories that apply to resources the entitlement \ groups has access to | [optional] +**ImpactScore** | [**DataAccessImpactScore**](DataAccessImpactScore.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$DataAccess = Initialize-PSSailpointV2024DataAccess -Policies null ` + -Categories null ` + -ImpactScore null +``` + +- Convert the resource to JSON +```powershell +$DataAccess | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/DataAccessCategoriesInner.md b/PSSailpoint/v2024/docs/DataAccessCategoriesInner.md new file mode 100644 index 000000000..35371f450 --- /dev/null +++ b/PSSailpoint/v2024/docs/DataAccessCategoriesInner.md @@ -0,0 +1,23 @@ +# DataAccessCategoriesInner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Value** | **String** | Value of the category | [optional] +**MatchCount** | **Int32** | Number of matched for each category | [optional] + +## Examples + +- Prepare the resource +```powershell +$DataAccessCategoriesInner = Initialize-PSSailpointV2024DataAccessCategoriesInner -Value email-7 ` + -MatchCount 10 +``` + +- Convert the resource to JSON +```powershell +$DataAccessCategoriesInner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/DataAccessImpactScore.md b/PSSailpoint/v2024/docs/DataAccessImpactScore.md new file mode 100644 index 000000000..d5eac8191 --- /dev/null +++ b/PSSailpoint/v2024/docs/DataAccessImpactScore.md @@ -0,0 +1,21 @@ +# DataAccessImpactScore +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Value** | **String** | Impact Score for this data | [optional] + +## Examples + +- Prepare the resource +```powershell +$DataAccessImpactScore = Initialize-PSSailpointV2024DataAccessImpactScore -Value Medium +``` + +- Convert the resource to JSON +```powershell +$DataAccessImpactScore | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/DataAccessPoliciesInner.md b/PSSailpoint/v2024/docs/DataAccessPoliciesInner.md new file mode 100644 index 000000000..a8d9f97f9 --- /dev/null +++ b/PSSailpoint/v2024/docs/DataAccessPoliciesInner.md @@ -0,0 +1,21 @@ +# DataAccessPoliciesInner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Value** | **String** | Value of the policy | [optional] + +## Examples + +- Prepare the resource +```powershell +$DataAccessPoliciesInner = Initialize-PSSailpointV2024DataAccessPoliciesInner -Value GDPR-20 +``` + +- Convert the resource to JSON +```powershell +$DataAccessPoliciesInner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/DateCompare.md b/PSSailpoint/v2024/docs/DateCompare.md new file mode 100644 index 000000000..b18c6a0c4 --- /dev/null +++ b/PSSailpoint/v2024/docs/DateCompare.md @@ -0,0 +1,33 @@ +# DateCompare +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**FirstDate** | [**DateCompareFirstDate**](DateCompareFirstDate.md) | | +**SecondDate** | [**DateCompareSecondDate**](DateCompareSecondDate.md) | | +**Operator** | **String** | This is the comparison to perform. | Operation | Description | | --------- | ------- | | LT | Strictly less than: firstDate < secondDate | | LTE | Less than or equal to: firstDate <= secondDate | | GT | Strictly greater than: firstDate > secondDate | | GTE | Greater than or equal to: firstDate >= secondDate | | +**PositiveCondition** | **String** | The output of the transform if the expression evalutes to true | +**NegativeCondition** | **String** | The output of the transform if the expression evalutes to false | +**RequiresPeriodicRefresh** | **Boolean** | A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process | [optional] [default to $false] +**VarInput** | [**System.Collections.Hashtable**](AnyType.md) | This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI. | [optional] + +## Examples + +- Prepare the resource +```powershell +$DateCompare = Initialize-PSSailpointV2024DateCompare -FirstDate null ` + -SecondDate null ` + -Operator LT ` + -PositiveCondition true ` + -NegativeCondition false ` + -RequiresPeriodicRefresh false ` + -VarInput {type=accountAttribute, attributes={attributeName=first_name, sourceName=Source}} +``` + +- Convert the resource to JSON +```powershell +$DateCompare | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/DateCompareFirstDate.md b/PSSailpoint/v2024/docs/DateCompareFirstDate.md new file mode 100644 index 000000000..60af5c63e --- /dev/null +++ b/PSSailpoint/v2024/docs/DateCompareFirstDate.md @@ -0,0 +1,41 @@ +# DateCompareFirstDate +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**SourceName** | **String** | A reference to the source to search for the account | +**AttributeName** | **String** | The name of the attribute on the account to return. This should match the name of the account attribute name visible in the user interface, or on the source schema. | +**AccountSortAttribute** | **String** | The value of this configuration is a string name of the attribute to use when determining the ordering of returned accounts when there are multiple entries | [optional] [default to "created"] +**AccountSortDescending** | **Boolean** | The value of this configuration is a boolean (true/false). Controls the order of the sort when there are multiple accounts. If not defined, the transform will default to false (ascending order) | [optional] [default to $false] +**AccountReturnFirstLink** | **Boolean** | The value of this configuration is a boolean (true/false). Controls which account to source a value from for an attribute. If this flag is set to true, the transform returns the value from the first account in the list, even if it is null. If it is set to false, the transform returns the first non-null value. If not defined, the transform will default to false | [optional] [default to $false] +**AccountFilter** | **String** | This expression queries the database to narrow search results. The value of this configuration is a sailpoint.object.Filter expression and used when searching against the database. The default filter will always include the source and identity, and any subsequent expressions will be combined in an AND operation to the existing search criteria. Only certain searchable attributes are available: - `nativeIdentity` - the Account ID - `displayName` - the Account Name - `entitlements` - a boolean value to determine if the account has entitlements | [optional] +**AccountPropertyFilter** | **String** | This expression is used to search and filter accounts in memory. The value of this configuration is a sailpoint.object.Filter expression and used when searching against the returned resultset. All account attributes are available for filtering as this operation is performed in memory. | [optional] +**RequiresPeriodicRefresh** | **Boolean** | A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process | [optional] [default to $false] +**VarInput** | [**System.Collections.Hashtable**](AnyType.md) | This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI. | [optional] +**InputFormat** | [**DateFormatInputFormat**](DateFormatInputFormat.md) | | [optional] +**OutputFormat** | [**DateFormatOutputFormat**](DateFormatOutputFormat.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$DateCompareFirstDate = Initialize-PSSailpointV2024DateCompareFirstDate -SourceName Workday ` + -AttributeName DEPARTMENT ` + -AccountSortAttribute created ` + -AccountSortDescending false ` + -AccountReturnFirstLink false ` + -AccountFilter !(nativeIdentity.startsWith("*DELETED*")) ` + -AccountPropertyFilter (groups.containsAll({'Admin'}) || location == 'Austin') ` + -RequiresPeriodicRefresh false ` + -VarInput {type=accountAttribute, attributes={attributeName=first_name, sourceName=Source}} ` + -InputFormat null ` + -OutputFormat null +``` + +- Convert the resource to JSON +```powershell +$DateCompareFirstDate | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/DateCompareSecondDate.md b/PSSailpoint/v2024/docs/DateCompareSecondDate.md new file mode 100644 index 000000000..a49ccff56 --- /dev/null +++ b/PSSailpoint/v2024/docs/DateCompareSecondDate.md @@ -0,0 +1,41 @@ +# DateCompareSecondDate +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**SourceName** | **String** | A reference to the source to search for the account | +**AttributeName** | **String** | The name of the attribute on the account to return. This should match the name of the account attribute name visible in the user interface, or on the source schema. | +**AccountSortAttribute** | **String** | The value of this configuration is a string name of the attribute to use when determining the ordering of returned accounts when there are multiple entries | [optional] [default to "created"] +**AccountSortDescending** | **Boolean** | The value of this configuration is a boolean (true/false). Controls the order of the sort when there are multiple accounts. If not defined, the transform will default to false (ascending order) | [optional] [default to $false] +**AccountReturnFirstLink** | **Boolean** | The value of this configuration is a boolean (true/false). Controls which account to source a value from for an attribute. If this flag is set to true, the transform returns the value from the first account in the list, even if it is null. If it is set to false, the transform returns the first non-null value. If not defined, the transform will default to false | [optional] [default to $false] +**AccountFilter** | **String** | This expression queries the database to narrow search results. The value of this configuration is a sailpoint.object.Filter expression and used when searching against the database. The default filter will always include the source and identity, and any subsequent expressions will be combined in an AND operation to the existing search criteria. Only certain searchable attributes are available: - `nativeIdentity` - the Account ID - `displayName` - the Account Name - `entitlements` - a boolean value to determine if the account has entitlements | [optional] +**AccountPropertyFilter** | **String** | This expression is used to search and filter accounts in memory. The value of this configuration is a sailpoint.object.Filter expression and used when searching against the returned resultset. All account attributes are available for filtering as this operation is performed in memory. | [optional] +**RequiresPeriodicRefresh** | **Boolean** | A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process | [optional] [default to $false] +**VarInput** | [**System.Collections.Hashtable**](AnyType.md) | This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI. | [optional] +**InputFormat** | [**DateFormatInputFormat**](DateFormatInputFormat.md) | | [optional] +**OutputFormat** | [**DateFormatOutputFormat**](DateFormatOutputFormat.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$DateCompareSecondDate = Initialize-PSSailpointV2024DateCompareSecondDate -SourceName Workday ` + -AttributeName DEPARTMENT ` + -AccountSortAttribute created ` + -AccountSortDescending false ` + -AccountReturnFirstLink false ` + -AccountFilter !(nativeIdentity.startsWith("*DELETED*")) ` + -AccountPropertyFilter (groups.containsAll({'Admin'}) || location == 'Austin') ` + -RequiresPeriodicRefresh false ` + -VarInput {type=accountAttribute, attributes={attributeName=first_name, sourceName=Source}} ` + -InputFormat null ` + -OutputFormat null +``` + +- Convert the resource to JSON +```powershell +$DateCompareSecondDate | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/DateFormat.md b/PSSailpoint/v2024/docs/DateFormat.md new file mode 100644 index 000000000..b412276f1 --- /dev/null +++ b/PSSailpoint/v2024/docs/DateFormat.md @@ -0,0 +1,27 @@ +# DateFormat +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**InputFormat** | [**DateFormatInputFormat**](DateFormatInputFormat.md) | | [optional] +**OutputFormat** | [**DateFormatOutputFormat**](DateFormatOutputFormat.md) | | [optional] +**RequiresPeriodicRefresh** | **Boolean** | A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process | [optional] [default to $false] +**VarInput** | [**System.Collections.Hashtable**](AnyType.md) | This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI. | [optional] + +## Examples + +- Prepare the resource +```powershell +$DateFormat = Initialize-PSSailpointV2024DateFormat -InputFormat null ` + -OutputFormat null ` + -RequiresPeriodicRefresh false ` + -VarInput {type=accountAttribute, attributes={attributeName=first_name, sourceName=Source}} +``` + +- Convert the resource to JSON +```powershell +$DateFormat | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/DateFormatInputFormat.md b/PSSailpoint/v2024/docs/DateFormatInputFormat.md new file mode 100644 index 000000000..62a15ece1 --- /dev/null +++ b/PSSailpoint/v2024/docs/DateFormatInputFormat.md @@ -0,0 +1,20 @@ +# DateFormatInputFormat +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$DateFormatInputFormat = Initialize-PSSailpointV2024DateFormatInputFormat +``` + +- Convert the resource to JSON +```powershell +$DateFormatInputFormat | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/DateFormatOutputFormat.md b/PSSailpoint/v2024/docs/DateFormatOutputFormat.md new file mode 100644 index 000000000..43c556ecf --- /dev/null +++ b/PSSailpoint/v2024/docs/DateFormatOutputFormat.md @@ -0,0 +1,20 @@ +# DateFormatOutputFormat +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$DateFormatOutputFormat = Initialize-PSSailpointV2024DateFormatOutputFormat +``` + +- Convert the resource to JSON +```powershell +$DateFormatOutputFormat | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/DateMath.md b/PSSailpoint/v2024/docs/DateMath.md new file mode 100644 index 000000000..f8ec4fbfb --- /dev/null +++ b/PSSailpoint/v2024/docs/DateMath.md @@ -0,0 +1,27 @@ +# DateMath +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Expression** | **String** | A string value of the date and time components to operation on, along with the math operations to execute. | +**RoundUp** | **Boolean** | A boolean value to indicate whether the transform should round up or down when a rounding `/` operation is defined in the expression. If not provided, the transform will default to `false` `true` indicates the transform should round up (i.e., truncate the fractional date/time component indicated and then add one unit of that component) `false` indicates the transform should round down (i.e., truncate the fractional date/time component indicated) | [optional] [default to $false] +**RequiresPeriodicRefresh** | **Boolean** | A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process | [optional] [default to $false] +**VarInput** | [**System.Collections.Hashtable**](AnyType.md) | This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI. | [optional] + +## Examples + +- Prepare the resource +```powershell +$DateMath = Initialize-PSSailpointV2024DateMath -Expression now+1w ` + -RoundUp false ` + -RequiresPeriodicRefresh false ` + -VarInput {type=accountAttribute, attributes={attributeName=first_name, sourceName=Source}} +``` + +- Convert the resource to JSON +```powershell +$DateMath | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/DecomposeDiacriticalMarks.md b/PSSailpoint/v2024/docs/DecomposeDiacriticalMarks.md new file mode 100644 index 000000000..f5b512fc3 --- /dev/null +++ b/PSSailpoint/v2024/docs/DecomposeDiacriticalMarks.md @@ -0,0 +1,23 @@ +# DecomposeDiacriticalMarks +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**RequiresPeriodicRefresh** | **Boolean** | A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process | [optional] [default to $false] +**VarInput** | [**System.Collections.Hashtable**](AnyType.md) | This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI. | [optional] + +## Examples + +- Prepare the resource +```powershell +$DecomposeDiacriticalMarks = Initialize-PSSailpointV2024DecomposeDiacriticalMarks -RequiresPeriodicRefresh false ` + -VarInput {type=accountAttribute, attributes={attributeName=first_name, sourceName=Source}} +``` + +- Convert the resource to JSON +```powershell +$DecomposeDiacriticalMarks | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/DeleteNonEmployeeRecordsInBulkRequest.md b/PSSailpoint/v2024/docs/DeleteNonEmployeeRecordsInBulkRequest.md new file mode 100644 index 000000000..fbae1a210 --- /dev/null +++ b/PSSailpoint/v2024/docs/DeleteNonEmployeeRecordsInBulkRequest.md @@ -0,0 +1,21 @@ +# DeleteNonEmployeeRecordsInBulkRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Ids** | **String[]** | List of non-employee ids. | + +## Examples + +- Prepare the resource +```powershell +$DeleteNonEmployeeRecordsInBulkRequest = Initialize-PSSailpointV2024DeleteNonEmployeeRecordsInBulkRequest -Ids [2b838de9-db9b-abcf-e646-d4f274ad4238, 2d838de9-db9b-abcf-e646-d4f274ad4238] +``` + +- Convert the resource to JSON +```powershell +$DeleteNonEmployeeRecordsInBulkRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/DeleteSource202Response.md b/PSSailpoint/v2024/docs/DeleteSource202Response.md new file mode 100644 index 000000000..1eb97c7c5 --- /dev/null +++ b/PSSailpoint/v2024/docs/DeleteSource202Response.md @@ -0,0 +1,25 @@ +# DeleteSource202Response +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | Type of object being referenced. | [optional] +**Id** | **String** | Task result ID. | [optional] +**Name** | **String** | Task result's human-readable display name (this should be null/empty). | [optional] + +## Examples + +- Prepare the resource +```powershell +$DeleteSource202Response = Initialize-PSSailpointV2024DeleteSource202Response -Type TASK_RESULT ` + -Id 2c91808779ecf55b0179f720942f181a ` + -Name null +``` + +- Convert the resource to JSON +```powershell +$DeleteSource202Response | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/DeleteVendorConnectorMapping200Response.md b/PSSailpoint/v2024/docs/DeleteVendorConnectorMapping200Response.md new file mode 100644 index 000000000..3e390db5f --- /dev/null +++ b/PSSailpoint/v2024/docs/DeleteVendorConnectorMapping200Response.md @@ -0,0 +1,21 @@ +# DeleteVendorConnectorMapping200Response +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Count** | **Int32** | The number of vendor connector mappings successfully deleted. | [optional] + +## Examples + +- Prepare the resource +```powershell +$DeleteVendorConnectorMapping200Response = Initialize-PSSailpointV2024DeleteVendorConnectorMapping200Response -Count 1 +``` + +- Convert the resource to JSON +```powershell +$DeleteVendorConnectorMapping200Response | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/DiscoveredApplicationsInner.md b/PSSailpoint/v2024/docs/DiscoveredApplicationsInner.md new file mode 100644 index 000000000..cbee152e0 --- /dev/null +++ b/PSSailpoint/v2024/docs/DiscoveredApplicationsInner.md @@ -0,0 +1,33 @@ +# DiscoveredApplicationsInner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Unique identifier for the discovered application. | [optional] +**Name** | **String** | Name of the discovered application. | [optional] +**DiscoverySource** | **String** | Source from which the application was discovered. | [optional] +**DiscoveredVendor** | **String** | The vendor associated with the discovered application. | [optional] +**Description** | **String** | A brief description of the discovered application. | [optional] +**RecommendedConnectors** | **String[]** | List of recommended connectors for the application. | [optional] +**DiscoveredTimestamp** | **System.DateTime** | The timestamp when the application was discovered, in ISO 8601 format. | [optional] + +## Examples + +- Prepare the resource +```powershell +$DiscoveredApplicationsInner = Initialize-PSSailpointV2024DiscoveredApplicationsInner -Id null ` + -Name ExampleApp ` + -DiscoverySource CSV ` + -DiscoveredVendor ExampleVendor ` + -Description An application for managing examples. ` + -RecommendedConnectors [ConnectorA, ConnectorB] ` + -DiscoveredTimestamp 2023-01-01T12:00Z +``` + +- Convert the resource to JSON +```powershell +$DiscoveredApplicationsInner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/DisplayReference.md b/PSSailpoint/v2024/docs/DisplayReference.md new file mode 100644 index 000000000..2a1671237 --- /dev/null +++ b/PSSailpoint/v2024/docs/DisplayReference.md @@ -0,0 +1,25 @@ +# DisplayReference +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The unique ID of the referenced object. | [optional] +**Name** | **String** | The human readable name of the referenced object. | [optional] +**DisplayName** | **String** | | [optional] + +## Examples + +- Prepare the resource +```powershell +$DisplayReference = Initialize-PSSailpointV2024DisplayReference -Id 2c91808568c529c60168cca6f90c1313 ` + -Name John Doe ` + -DisplayName John Q. Doe +``` + +- Convert the resource to JSON +```powershell +$DisplayReference | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/DkimAttributes.md b/PSSailpoint/v2024/docs/DkimAttributes.md new file mode 100644 index 000000000..ada9d4d9b --- /dev/null +++ b/PSSailpoint/v2024/docs/DkimAttributes.md @@ -0,0 +1,29 @@ +# DkimAttributes +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | UUID associated with domain to be verified | [optional] +**Address** | **String** | The identity or domain address | [optional] +**DkimEnabled** | **Boolean** | Whether or not DKIM has been enabled for this domain / identity | [optional] [default to $false] +**DkimTokens** | **String[]** | The tokens to be added to a DNS for verification | [optional] +**DkimVerificationStatus** | **String** | The current status if the domain /identity has been verified. Ie Success, Failed, Pending | [optional] + +## Examples + +- Prepare the resource +```powershell +$DkimAttributes = Initialize-PSSailpointV2024DkimAttributes -Id 123b45b0-aaaa-bbbb-a7db-123456a56abc ` + -Address BobSmith@sailpoint.com ` + -DkimEnabled true ` + -DkimTokens [uq1m3jjk25ckd3whl4n7y46c56r5l6aq, u7pm38jky9ckdawhlsn7y4dcj6f5lpgq, uhpm3jjkjjckdkwhlqn7yw6cjer5tpay] ` + -DkimVerificationStatus Success +``` + +- Convert the resource to JSON +```powershell +$DkimAttributes | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/DocumentType.md b/PSSailpoint/v2024/docs/DocumentType.md new file mode 100644 index 000000000..61dfdd7f8 --- /dev/null +++ b/PSSailpoint/v2024/docs/DocumentType.md @@ -0,0 +1,20 @@ +# DocumentType +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$DocumentType = Initialize-PSSailpointV2024DocumentType +``` + +- Convert the resource to JSON +```powershell +$DocumentType | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/DomainAddress.md b/PSSailpoint/v2024/docs/DomainAddress.md new file mode 100644 index 000000000..79869fced --- /dev/null +++ b/PSSailpoint/v2024/docs/DomainAddress.md @@ -0,0 +1,21 @@ +# DomainAddress +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Domain** | **String** | A domain address | [optional] + +## Examples + +- Prepare the resource +```powershell +$DomainAddress = Initialize-PSSailpointV2024DomainAddress -Domain sailpoint.com +``` + +- Convert the resource to JSON +```powershell +$DomainAddress | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/DomainStatusDto.md b/PSSailpoint/v2024/docs/DomainStatusDto.md new file mode 100644 index 000000000..1154bc05e --- /dev/null +++ b/PSSailpoint/v2024/docs/DomainStatusDto.md @@ -0,0 +1,29 @@ +# DomainStatusDto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | New UUID associated with domain to be verified | [optional] +**Domain** | **String** | A domain address | [optional] +**DkimEnabled** | [**SystemCollectionsHashtable**](.md) | DKIM is enabled for this domain | [optional] +**DkimTokens** | **String[]** | DKIM tokens required for authentication | [optional] +**DkimVerificationStatus** | **String** | Status of DKIM authentication | [optional] + +## Examples + +- Prepare the resource +```powershell +$DomainStatusDto = Initialize-PSSailpointV2024DomainStatusDto -Id 123b45b0-aaaa-bbbb-a7db-123456a56abc ` + -Domain sailpoint.com ` + -DkimEnabled true ` + -DkimTokens [token1, token2, token3] ` + -DkimVerificationStatus PENDING +``` + +- Convert the resource to JSON +```powershell +$DomainStatusDto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/DtoType.md b/PSSailpoint/v2024/docs/DtoType.md new file mode 100644 index 000000000..6a37548cd --- /dev/null +++ b/PSSailpoint/v2024/docs/DtoType.md @@ -0,0 +1,20 @@ +# DtoType +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$DtoType = Initialize-PSSailpointV2024DtoType +``` + +- Convert the resource to JSON +```powershell +$DtoType | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/E164phone.md b/PSSailpoint/v2024/docs/E164phone.md new file mode 100644 index 000000000..af7219d9e --- /dev/null +++ b/PSSailpoint/v2024/docs/E164phone.md @@ -0,0 +1,25 @@ +# E164phone +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**DefaultRegion** | **String** | This is an optional attribute that can be used to define the region of the phone number to format into. If defaultRegion is not provided, it will take US as the default country. The format of the country code should be in [ISO 3166-1 alpha-2 format](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) | [optional] +**RequiresPeriodicRefresh** | **Boolean** | A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process | [optional] [default to $false] +**VarInput** | [**System.Collections.Hashtable**](AnyType.md) | This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI. | [optional] + +## Examples + +- Prepare the resource +```powershell +$E164phone = Initialize-PSSailpointV2024E164phone -DefaultRegion US ` + -RequiresPeriodicRefresh false ` + -VarInput {type=accountAttribute, attributes={attributeName=first_name, sourceName=Source}} +``` + +- Convert the resource to JSON +```powershell +$E164phone | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/EmailNotificationOption.md b/PSSailpoint/v2024/docs/EmailNotificationOption.md new file mode 100644 index 000000000..fb66f6a31 --- /dev/null +++ b/PSSailpoint/v2024/docs/EmailNotificationOption.md @@ -0,0 +1,27 @@ +# EmailNotificationOption +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**NotifyManagers** | **Boolean** | If true, then the manager is notified of the lifecycle state change. | [optional] [default to $false] +**NotifyAllAdmins** | **Boolean** | If true, then all the admins are notified of the lifecycle state change. | [optional] [default to $false] +**NotifySpecificUsers** | **Boolean** | If true, then the users specified in ""emailAddressList"" below are notified of lifecycle state change. | [optional] [default to $false] +**EmailAddressList** | **String[]** | List of user email addresses. If ""notifySpecificUsers"" option is true, then these users are notified of lifecycle state change. | [optional] + +## Examples + +- Prepare the resource +```powershell +$EmailNotificationOption = Initialize-PSSailpointV2024EmailNotificationOption -NotifyManagers true ` + -NotifyAllAdmins true ` + -NotifySpecificUsers true ` + -EmailAddressList [test@test.com, test2@test.com] +``` + +- Convert the resource to JSON +```powershell +$EmailNotificationOption | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/EmailStatusDto.md b/PSSailpoint/v2024/docs/EmailStatusDto.md new file mode 100644 index 000000000..b992397e9 --- /dev/null +++ b/PSSailpoint/v2024/docs/EmailStatusDto.md @@ -0,0 +1,27 @@ +# EmailStatusDto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | | [optional] +**Email** | **String** | | [optional] +**IsVerifiedByDomain** | **Boolean** | | [optional] +**VerificationStatus** | **String** | | [optional] + +## Examples + +- Prepare the resource +```powershell +$EmailStatusDto = Initialize-PSSailpointV2024EmailStatusDto -Id null ` + -Email sender@example.com ` + -IsVerifiedByDomain false ` + -VerificationStatus null +``` + +- Convert the resource to JSON +```powershell +$EmailStatusDto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Entitlement.md b/PSSailpoint/v2024/docs/Entitlement.md new file mode 100644 index 000000000..80d82f635 --- /dev/null +++ b/PSSailpoint/v2024/docs/Entitlement.md @@ -0,0 +1,47 @@ +# Entitlement +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The entitlement id | [optional] +**Name** | **String** | The entitlement name | [optional] +**Attribute** | **String** | The entitlement attribute name | [optional] +**Value** | **String** | The value of the entitlement | [optional] +**SourceSchemaObjectType** | **String** | The object type of the entitlement from the source schema | [optional] +**Description** | **String** | The description of the entitlement | [optional] +**Privileged** | **Boolean** | True if the entitlement is privileged | [optional] +**CloudGoverned** | **Boolean** | True if the entitlement is cloud governed | [optional] +**Created** | **System.DateTime** | Time when the entitlement was created | [optional] +**Modified** | **System.DateTime** | Time when the entitlement was last modified | [optional] +**Source** | [**EntitlementSource**](EntitlementSource.md) | | [optional] +**Attributes** | [**System.Collections.Hashtable**](AnyType.md) | A map of free-form key-value pairs from the source system | [optional] +**Segments** | **String[]** | List of IDs of segments, if any, to which this Entitlement is assigned. | [optional] +**DirectPermissions** | [**PermissionDto[]**](PermissionDto.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$Entitlement = Initialize-PSSailpointV2024Entitlement -Id 2c91808874ff91550175097daaec161c ` + -Name LauncherTest2 ` + -Attribute memberOf ` + -Value CN=LauncherTest2,OU=LauncherTestOrg,OU=slpt-automation,DC=TestAutomationAD,DC=local ` + -SourceSchemaObjectType group ` + -Description CN=LauncherTest2,OU=LauncherTestOrg,OU=slpt-automation,DC=TestAutomationAD,DC=local ` + -Privileged true ` + -CloudGoverned true ` + -Created 2020-10-08T18:33:52.029Z ` + -Modified 2020-10-08T18:33:52.029Z ` + -Source null ` + -Attributes {fieldName=fieldValue} ` + -Segments [f7b1b8a3-5fed-4fd4-ad29-82014e137e19, 29cb6c06-1da8-43ea-8be4-b3125f248f2a] ` + -DirectPermissions null +``` + +- Convert the resource to JSON +```powershell +$Entitlement | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Entitlement1.md b/PSSailpoint/v2024/docs/Entitlement1.md new file mode 100644 index 000000000..b0124f7dd --- /dev/null +++ b/PSSailpoint/v2024/docs/Entitlement1.md @@ -0,0 +1,55 @@ +# Entitlement1 +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The entitlement id | [optional] +**Name** | **String** | The entitlement name | [optional] +**Created** | **System.DateTime** | Time when the entitlement was created | [optional] +**Modified** | **System.DateTime** | Time when the entitlement was last modified | [optional] +**Attribute** | **String** | The entitlement attribute name | [optional] +**Value** | **String** | The value of the entitlement | [optional] +**SourceSchemaObjectType** | **String** | The object type of the entitlement from the source schema | [optional] +**Privileged** | **Boolean** | True if the entitlement is privileged | [optional] [default to $false] +**CloudGoverned** | **Boolean** | True if the entitlement is cloud governed | [optional] [default to $false] +**Description** | **String** | The description of the entitlement | [optional] +**Requestable** | **Boolean** | True if the entitlement is requestable | [optional] [default to $false] +**Attributes** | [**System.Collections.Hashtable**](AnyType.md) | A map of free-form key-value pairs from the source system | [optional] +**Source** | [**Entitlement1Source**](Entitlement1Source.md) | | [optional] +**Owner** | [**Entitlement1Owner**](Entitlement1Owner.md) | | [optional] +**DirectPermissions** | [**PermissionDto[]**](PermissionDto.md) | | [optional] +**Segments** | **String[]** | List of IDs of segments, if any, to which this Entitlement is assigned. | [optional] +**ManuallyUpdatedFields** | [**Entitlement1ManuallyUpdatedFields**](Entitlement1ManuallyUpdatedFields.md) | | [optional] +**AccessModelMetadata** | [**Entitlement1AccessModelMetadata**](Entitlement1AccessModelMetadata.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$Entitlement1 = Initialize-PSSailpointV2024Entitlement1 -Id 2c91808874ff91550175097daaec161c ` + -Name LauncherTest2 ` + -Created 2020-10-08T18:33:52.029Z ` + -Modified 2020-10-08T18:33:52.029Z ` + -Attribute memberOf ` + -Value CN=LauncherTest2,OU=LauncherTestOrg,OU=slpt-automation,DC=TestAutomationAD,DC=local ` + -SourceSchemaObjectType group ` + -Privileged true ` + -CloudGoverned true ` + -Description CN=LauncherTest2,OU=LauncherTestOrg,OU=slpt-automation,DC=TestAutomationAD,DC=local ` + -Requestable true ` + -Attributes {fieldName=fieldValue} ` + -Source null ` + -Owner null ` + -DirectPermissions null ` + -Segments [f7b1b8a3-5fed-4fd4-ad29-82014e137e19, 29cb6c06-1da8-43ea-8be4-b3125f248f2a] ` + -ManuallyUpdatedFields null ` + -AccessModelMetadata null +``` + +- Convert the resource to JSON +```powershell +$Entitlement1 | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Entitlement1AccessModelMetadata.md b/PSSailpoint/v2024/docs/Entitlement1AccessModelMetadata.md new file mode 100644 index 000000000..9373b31b7 --- /dev/null +++ b/PSSailpoint/v2024/docs/Entitlement1AccessModelMetadata.md @@ -0,0 +1,21 @@ +# Entitlement1AccessModelMetadata +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Attributes** | [**AttributeDTO[]**](AttributeDTO.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$Entitlement1AccessModelMetadata = Initialize-PSSailpointV2024Entitlement1AccessModelMetadata -Attributes [{key=iscPrivacy, name=Privacy, multiselect=false, status=active, type=governance, objectTypes=[all], description=Specifies the level of privacy associated with an access item., values=[{value=public, name=Public, status=active}]}] +``` + +- Convert the resource to JSON +```powershell +$Entitlement1AccessModelMetadata | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Entitlement1ManuallyUpdatedFields.md b/PSSailpoint/v2024/docs/Entitlement1ManuallyUpdatedFields.md new file mode 100644 index 000000000..ae1c211f0 --- /dev/null +++ b/PSSailpoint/v2024/docs/Entitlement1ManuallyUpdatedFields.md @@ -0,0 +1,23 @@ +# Entitlement1ManuallyUpdatedFields +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**DISPLAYNAME** | **Boolean** | True if the entitlements name was updated manually via entitlement import csv or patch endpoint. False means that property value has not been change after first entitlement aggregation. Field refers to [Entitlement response schema](https://developer.sailpoint.com/idn/api/beta/get-entitlement) > `name` property. | [optional] [default to $false] +**DESCRIPTION** | **Boolean** | True if the entitlement description was updated manually via entitlement import csv or patch endpoint. False means that property value has not been change after first entitlement aggregation. Field refers to [Entitlement response schema](https://developer.sailpoint.com/idn/api/beta/get-entitlement) > `description` property. | [optional] [default to $false] + +## Examples + +- Prepare the resource +```powershell +$Entitlement1ManuallyUpdatedFields = Initialize-PSSailpointV2024Entitlement1ManuallyUpdatedFields -DISPLAYNAME true ` + -DESCRIPTION true +``` + +- Convert the resource to JSON +```powershell +$Entitlement1ManuallyUpdatedFields | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Entitlement1Owner.md b/PSSailpoint/v2024/docs/Entitlement1Owner.md new file mode 100644 index 000000000..4715cc7e8 --- /dev/null +++ b/PSSailpoint/v2024/docs/Entitlement1Owner.md @@ -0,0 +1,25 @@ +# Entitlement1Owner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The owner id for the entitlement | [optional] +**Name** | **String** | The owner name for the entitlement | [optional] +**Type** | **String** | The type of the owner. Initially only type IDENTITY is supported | [optional] + +## Examples + +- Prepare the resource +```powershell +$Entitlement1Owner = Initialize-PSSailpointV2024Entitlement1Owner -Id 2a2fdacca5e345f18bf7970cfbb8fec2 ` + -Name identity 1 ` + -Type IDENTITY +``` + +- Convert the resource to JSON +```powershell +$Entitlement1Owner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Entitlement1Source.md b/PSSailpoint/v2024/docs/Entitlement1Source.md new file mode 100644 index 000000000..1a4c42a95 --- /dev/null +++ b/PSSailpoint/v2024/docs/Entitlement1Source.md @@ -0,0 +1,25 @@ +# Entitlement1Source +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The source ID | [optional] +**Type** | **String** | The source type, will always be ""SOURCE"" | [optional] +**Name** | **String** | The source name | [optional] + +## Examples + +- Prepare the resource +```powershell +$Entitlement1Source = Initialize-PSSailpointV2024Entitlement1Source -Id 2c9180827ca885d7017ca8ce28a000eb ` + -Type SOURCE ` + -Name ODS-AD-Source +``` + +- Convert the resource to JSON +```powershell +$Entitlement1Source | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/EntitlementAccessRequestConfig.md b/PSSailpoint/v2024/docs/EntitlementAccessRequestConfig.md new file mode 100644 index 000000000..5d1b99995 --- /dev/null +++ b/PSSailpoint/v2024/docs/EntitlementAccessRequestConfig.md @@ -0,0 +1,25 @@ +# EntitlementAccessRequestConfig +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApprovalSchemes** | [**EntitlementApprovalScheme[]**](EntitlementApprovalScheme.md) | Ordered list of approval steps for the access request. Empty when no approval is required. | [optional] +**RequestCommentRequired** | **Boolean** | If the requester must provide a comment during access request. | [optional] [default to $false] +**DenialCommentRequired** | **Boolean** | If the reviewer must provide a comment when denying the access request. | [optional] [default to $false] + +## Examples + +- Prepare the resource +```powershell +$EntitlementAccessRequestConfig = Initialize-PSSailpointV2024EntitlementAccessRequestConfig -ApprovalSchemes null ` + -RequestCommentRequired true ` + -DenialCommentRequired false +``` + +- Convert the resource to JSON +```powershell +$EntitlementAccessRequestConfig | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/EntitlementApprovalScheme.md b/PSSailpoint/v2024/docs/EntitlementApprovalScheme.md new file mode 100644 index 000000000..cc378c609 --- /dev/null +++ b/PSSailpoint/v2024/docs/EntitlementApprovalScheme.md @@ -0,0 +1,23 @@ +# EntitlementApprovalScheme +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApproverType** | **String** | Describes the individual or group that is responsible for an approval step. Values are as follows. **ENTITLEMENT_OWNER**: Owner of the associated Entitlement **SOURCE_OWNER**: Owner of the associated Source **MANAGER**: Manager of the Identity for whom the request is being made **GOVERNANCE_GROUP**: A Governance Group, the ID of which is specified by the **approverId** field | [optional] +**ApproverId** | **String** | Id of the specific approver, used only when approverType is GOVERNANCE_GROUP | [optional] + +## Examples + +- Prepare the resource +```powershell +$EntitlementApprovalScheme = Initialize-PSSailpointV2024EntitlementApprovalScheme -ApproverType GOVERNANCE_GROUP ` + -ApproverId e3eab852-8315-467f-9de7-70eda97f63c8 +``` + +- Convert the resource to JSON +```powershell +$EntitlementApprovalScheme | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/EntitlementBulkUpdateRequest.md b/PSSailpoint/v2024/docs/EntitlementBulkUpdateRequest.md new file mode 100644 index 000000000..890223740 --- /dev/null +++ b/PSSailpoint/v2024/docs/EntitlementBulkUpdateRequest.md @@ -0,0 +1,23 @@ +# EntitlementBulkUpdateRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**EntitlementIds** | **String[]** | List of entitlement ids to update | +**JsonPatch** | [**JsonPatchOperation[]**](JsonPatchOperation.md) | | + +## Examples + +- Prepare the resource +```powershell +$EntitlementBulkUpdateRequest = Initialize-PSSailpointV2024EntitlementBulkUpdateRequest -EntitlementIds [2c91808a7624751a01762f19d665220d, 2c91808a7624751a01762f19d67c220e, 2c91808a7624751a01762f19d692220f] ` + -JsonPatch [{op=replace, path=/privileged, value=false}, {op=replace, path=/requestable, value=false}] +``` + +- Convert the resource to JSON +```powershell +$EntitlementBulkUpdateRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/EntitlementDocument.md b/PSSailpoint/v2024/docs/EntitlementDocument.md new file mode 100644 index 000000000..b62871b01 --- /dev/null +++ b/PSSailpoint/v2024/docs/EntitlementDocument.md @@ -0,0 +1,49 @@ +# EntitlementDocument +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | | +**Name** | **String** | | +**Type** | [**DocumentType**](DocumentType.md) | | +**Modified** | **System.DateTime** | ISO-8601 date-time referring to the time when the object was last modified. | [optional] +**Synced** | **String** | ISO-8601 date-time referring to the date-time when object was queued to be synced into search database for use in the search API. This date-time changes anytime there is an update to the object, which triggers a synchronization event being sent to the search database. There may be some delay between the `synced` time and the time when the updated data is actually available in the search API. | [optional] +**DisplayName** | **String** | Entitlement's display name. | [optional] +**Source** | [**EntitlementDocumentAllOfSource**](EntitlementDocumentAllOfSource.md) | | [optional] +**Segments** | [**BaseSegment[]**](BaseSegment.md) | Segments with the role. | [optional] +**SegmentCount** | **Int32** | Number of segments with the role. | [optional] +**Requestable** | **Boolean** | Indicates whether the entitlement is requestable. | [optional] [default to $false] +**CloudGoverned** | **Boolean** | Indicates whether the entitlement is cloud governed. | [optional] [default to $false] +**Created** | **System.DateTime** | ISO-8601 date-time referring to the time when the object was created. | [optional] +**Privileged** | **Boolean** | Indicates whether the entitlement is privileged. | [optional] [default to $false] +**IdentityCount** | **Int32** | Number of identities who have access to the entitlement. | [optional] +**Tags** | **String[]** | Tags that have been applied to the object. | [optional] + +## Examples + +- Prepare the resource +```powershell +$EntitlementDocument = Initialize-PSSailpointV2024EntitlementDocument -Id 2c91808375d8e80a0175e1f88a575222 ` + -Name john.doe ` + -Type null ` + -Modified 2018-06-25T20:22:28.104Z ` + -Synced null ` + -DisplayName Admin ` + -Source null ` + -Segments null ` + -SegmentCount 1 ` + -Requestable false ` + -CloudGoverned false ` + -Created 2018-06-25T20:22:28.104Z ` + -Privileged false ` + -IdentityCount 3 ` + -Tags [TAG_1, TAG_2] +``` + +- Convert the resource to JSON +```powershell +$EntitlementDocument | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/EntitlementDocumentAllOfSource.md b/PSSailpoint/v2024/docs/EntitlementDocumentAllOfSource.md new file mode 100644 index 000000000..e17923494 --- /dev/null +++ b/PSSailpoint/v2024/docs/EntitlementDocumentAllOfSource.md @@ -0,0 +1,23 @@ +# EntitlementDocumentAllOfSource +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | ID of entitlement's source. | [optional] +**Name** | **String** | Display name of entitlement's source. | [optional] + +## Examples + +- Prepare the resource +```powershell +$EntitlementDocumentAllOfSource = Initialize-PSSailpointV2024EntitlementDocumentAllOfSource -Id 2c91808b6e9e6fb8016eec1a2b6f7b5f ` + -Name ODS-HR-Employees +``` + +- Convert the resource to JSON +```powershell +$EntitlementDocumentAllOfSource | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/EntitlementDto.md b/PSSailpoint/v2024/docs/EntitlementDto.md new file mode 100644 index 000000000..57787cbe1 --- /dev/null +++ b/PSSailpoint/v2024/docs/EntitlementDto.md @@ -0,0 +1,43 @@ +# EntitlementDto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | System-generated unique ID of the Object | [optional] [readonly] +**Name** | **String** | Name of the Object | +**Created** | **System.DateTime** | Creation date of the Object | [optional] [readonly] +**Modified** | **System.DateTime** | Last modification date of the Object | [optional] [readonly] +**Attribute** | **String** | Name of the entitlement attribute | [optional] +**Value** | **String** | Raw value of the entitlement | [optional] +**Description** | **String** | Entitlment description | [optional] +**Attributes** | [**System.Collections.Hashtable**](AnyType.md) | Entitlement attributes | [optional] +**SourceSchemaObjectType** | **String** | Schema objectType on the given application that maps to an Account Group | [optional] +**Privileged** | **Boolean** | Determines if this Entitlement is privileged. | [optional] +**CloudGoverned** | **Boolean** | Determines if this Entitlement is goverened in the cloud. | [optional] +**Source** | [**EntitlementSource**](EntitlementSource.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$EntitlementDto = Initialize-PSSailpointV2024EntitlementDto -Id id12345 ` + -Name aName ` + -Created 2015-05-28T14:07:17Z ` + -Modified 2015-05-28T14:07:17Z ` + -Attribute authorizationType ` + -Value CN=Users,dc=sailpoint,dc=com ` + -Description Active Directory DC ` + -Attributes {GroupType=Security, sAMAccountName=Buyer} ` + -SourceSchemaObjectType group ` + -Privileged false ` + -CloudGoverned false ` + -Source null +``` + +- Convert the resource to JSON +```powershell +$EntitlementDto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/EntitlementRef.md b/PSSailpoint/v2024/docs/EntitlementRef.md new file mode 100644 index 000000000..cfa0391fe --- /dev/null +++ b/PSSailpoint/v2024/docs/EntitlementRef.md @@ -0,0 +1,25 @@ +# EntitlementRef +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | Entitlement's DTO type. | [optional] +**Id** | **String** | Entitlement's ID. | [optional] +**Name** | **String** | Entitlement's display name. | [optional] + +## Examples + +- Prepare the resource +```powershell +$EntitlementRef = Initialize-PSSailpointV2024EntitlementRef -Type ENTITLEMENT ` + -Id 2c91809773dee32014e13e122092014e ` + -Name CN=entitlement.490efde5,OU=OrgCo,OU=ServiceDept,DC=HQAD,DC=local +``` + +- Convert the resource to JSON +```powershell +$EntitlementRef | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/EntitlementRef1.md b/PSSailpoint/v2024/docs/EntitlementRef1.md new file mode 100644 index 000000000..f144f5c3b --- /dev/null +++ b/PSSailpoint/v2024/docs/EntitlementRef1.md @@ -0,0 +1,25 @@ +# EntitlementRef1 +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | Entitlement's DTO type. | [optional] +**Id** | **String** | Entitlement's ID. | [optional] +**Name** | **String** | Entitlement's display name. | [optional] + +## Examples + +- Prepare the resource +```powershell +$EntitlementRef1 = Initialize-PSSailpointV2024EntitlementRef1 -Type ENTITLEMENT ` + -Id 2c91809773dee32014e13e122092014e ` + -Name CN=entitlement.490efde5,OU=OrgCo,OU=ServiceDept,DC=HQAD,DC=local +``` + +- Convert the resource to JSON +```powershell +$EntitlementRef1 | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/EntitlementRequestConfig.md b/PSSailpoint/v2024/docs/EntitlementRequestConfig.md new file mode 100644 index 000000000..85c68d561 --- /dev/null +++ b/PSSailpoint/v2024/docs/EntitlementRequestConfig.md @@ -0,0 +1,21 @@ +# EntitlementRequestConfig +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AccessRequestConfig** | [**EntitlementAccessRequestConfig**](EntitlementAccessRequestConfig.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$EntitlementRequestConfig = Initialize-PSSailpointV2024EntitlementRequestConfig -AccessRequestConfig null +``` + +- Convert the resource to JSON +```powershell +$EntitlementRequestConfig | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/EntitlementRequestConfig1.md b/PSSailpoint/v2024/docs/EntitlementRequestConfig1.md new file mode 100644 index 000000000..78721f237 --- /dev/null +++ b/PSSailpoint/v2024/docs/EntitlementRequestConfig1.md @@ -0,0 +1,27 @@ +# EntitlementRequestConfig1 +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AllowEntitlementRequest** | **Boolean** | If this is true, entitlement requests are allowed. | [optional] [default to $false] +**RequestCommentsRequired** | **Boolean** | If this is true, comments are required to submit entitlement requests. | [optional] [default to $false] +**DeniedCommentsRequired** | **Boolean** | If this is true, comments are required to reject entitlement requests. | [optional] [default to $false] +**GrantRequestApprovalSchemes** | **String** | Approval schemes for granting entitlement request. This can be empty if no approval is needed. Multiple schemes must be comma-separated. The valid schemes are ""entitlementOwner"", ""sourceOwner"", ""manager"" and ""workgroup:{id}"". You can use multiple governance groups (workgroups). | [optional] [default to "sourceOwner"] + +## Examples + +- Prepare the resource +```powershell +$EntitlementRequestConfig1 = Initialize-PSSailpointV2024EntitlementRequestConfig1 -AllowEntitlementRequest true ` + -RequestCommentsRequired false ` + -DeniedCommentsRequired false ` + -GrantRequestApprovalSchemes entitlementOwner, sourceOwner, manager, workgroup:2c918084660f45d6016617daa9210584 +``` + +- Convert the resource to JSON +```powershell +$EntitlementRequestConfig1 | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/EntitlementSource.md b/PSSailpoint/v2024/docs/EntitlementSource.md new file mode 100644 index 000000000..0fa30375a --- /dev/null +++ b/PSSailpoint/v2024/docs/EntitlementSource.md @@ -0,0 +1,25 @@ +# EntitlementSource +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The source ID | [optional] +**Type** | **String** | The source type, will always be ""SOURCE"" | [optional] +**Name** | **String** | The source name | [optional] + +## Examples + +- Prepare the resource +```powershell +$EntitlementSource = Initialize-PSSailpointV2024EntitlementSource -Id 2c9180827ca885d7017ca8ce28a000eb ` + -Type SOURCE ` + -Name ODS-AD-Source +``` + +- Convert the resource to JSON +```powershell +$EntitlementSource | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/EntitlementSourceResetBaseReferenceDto.md b/PSSailpoint/v2024/docs/EntitlementSourceResetBaseReferenceDto.md new file mode 100644 index 000000000..6c43a61d0 --- /dev/null +++ b/PSSailpoint/v2024/docs/EntitlementSourceResetBaseReferenceDto.md @@ -0,0 +1,25 @@ +# EntitlementSourceResetBaseReferenceDto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | The DTO type | [optional] +**Id** | **String** | The task ID of the object to which this reference applies | [optional] +**Name** | **String** | Human-readable display name of the object to which this reference applies | [optional] + +## Examples + +- Prepare the resource +```powershell +$EntitlementSourceResetBaseReferenceDto = Initialize-PSSailpointV2024EntitlementSourceResetBaseReferenceDto -Type TASK_RESULT ` + -Id 2c91808568c529c60168cca6f90c1313 ` + -Name Entitlement Source Reset +``` + +- Convert the resource to JSON +```powershell +$EntitlementSourceResetBaseReferenceDto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/EntitlementSummary.md b/PSSailpoint/v2024/docs/EntitlementSummary.md new file mode 100644 index 000000000..2d295ca14 --- /dev/null +++ b/PSSailpoint/v2024/docs/EntitlementSummary.md @@ -0,0 +1,39 @@ +# EntitlementSummary +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The unique ID of the referenced object. | [optional] +**Name** | **String** | The human readable name of the referenced object. | [optional] +**DisplayName** | **String** | | [optional] +**Type** | [**DtoType**](DtoType.md) | | [optional] +**Description** | **String** | | [optional] +**Source** | [**Reference1**](Reference1.md) | | [optional] +**Privileged** | **Boolean** | | [optional] +**Attribute** | **String** | | [optional] +**Value** | **String** | | [optional] +**Standalone** | **Boolean** | | [optional] + +## Examples + +- Prepare the resource +```powershell +$EntitlementSummary = Initialize-PSSailpointV2024EntitlementSummary -Id 2c91808568c529c60168cca6f90c1313 ` + -Name John Doe ` + -DisplayName John Q. Doe ` + -Type null ` + -Description null ` + -Source null ` + -Privileged false ` + -Attribute memberOf ` + -Value CN=Buyer,OU=Groups,OU=Demo,DC=seri,DC=sailpointdemo,DC=com ` + -Standalone false +``` + +- Convert the resource to JSON +```powershell +$EntitlementSummary | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/EntityCreatedByDTO.md b/PSSailpoint/v2024/docs/EntityCreatedByDTO.md new file mode 100644 index 000000000..103b3f8d0 --- /dev/null +++ b/PSSailpoint/v2024/docs/EntityCreatedByDTO.md @@ -0,0 +1,23 @@ +# EntityCreatedByDTO +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | ID of the creator | [optional] +**DisplayName** | **String** | The display name of the creator | [optional] + +## Examples + +- Prepare the resource +```powershell +$EntityCreatedByDTO = Initialize-PSSailpointV2024EntityCreatedByDTO -Id 2c918090761a5aac0176215c46a62d58 ` + -DisplayName Ashley.Pierce +``` + +- Convert the resource to JSON +```powershell +$EntityCreatedByDTO | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Error.md b/PSSailpoint/v2024/docs/Error.md new file mode 100644 index 000000000..08b052083 --- /dev/null +++ b/PSSailpoint/v2024/docs/Error.md @@ -0,0 +1,25 @@ +# ModelError +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**DetailCode** | **String** | DetailCode is the text of the status code returned | [optional] +**Messages** | [**ErrorMessage[]**](ErrorMessage.md) | | [optional] +**TrackingId** | **String** | TrackingID is the request tracking unique identifier | [optional] + +## Examples + +- Prepare the resource +```powershell +$ModelError = Initialize-PSSailpointV2024ModelError -DetailCode Internal Server Error ` + -Messages null ` + -TrackingId 9cd03ef80e6a425eb6b11bdbb057cdb4 +``` + +- Convert the resource to JSON +```powershell +$ModelError | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ErrorMessage.md b/PSSailpoint/v2024/docs/ErrorMessage.md new file mode 100644 index 000000000..34e9a6bcb --- /dev/null +++ b/PSSailpoint/v2024/docs/ErrorMessage.md @@ -0,0 +1,25 @@ +# ErrorMessage +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Locale** | **String** | Locale is the current Locale | [optional] +**LocaleOrigin** | **String** | LocaleOrigin holds possible values of how the locale was selected | [optional] +**Text** | **String** | Text is the actual text of the error message | [optional] + +## Examples + +- Prepare the resource +```powershell +$ErrorMessage = Initialize-PSSailpointV2024ErrorMessage -Locale en-US ` + -LocaleOrigin DEFAULT ` + -Text This is an error +``` + +- Convert the resource to JSON +```powershell +$ErrorMessage | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ErrorMessageDto.md b/PSSailpoint/v2024/docs/ErrorMessageDto.md new file mode 100644 index 000000000..a12f18019 --- /dev/null +++ b/PSSailpoint/v2024/docs/ErrorMessageDto.md @@ -0,0 +1,25 @@ +# ErrorMessageDto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Locale** | **String** | The locale for the message text, a BCP 47 language tag. | [optional] +**LocaleOrigin** | [**LocaleOrigin**](LocaleOrigin.md) | | [optional] +**Text** | **String** | Actual text of the error message in the indicated locale. | [optional] + +## Examples + +- Prepare the resource +```powershell +$ErrorMessageDto = Initialize-PSSailpointV2024ErrorMessageDto -Locale en-US ` + -LocaleOrigin null ` + -Text The request was syntactically correct but its content is semantically invalid. +``` + +- Convert the resource to JSON +```powershell +$ErrorMessageDto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ErrorResponseDto.md b/PSSailpoint/v2024/docs/ErrorResponseDto.md new file mode 100644 index 000000000..8bd808763 --- /dev/null +++ b/PSSailpoint/v2024/docs/ErrorResponseDto.md @@ -0,0 +1,27 @@ +# ErrorResponseDto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**DetailCode** | **String** | Fine-grained error code providing more detail of the error. | [optional] +**TrackingId** | **String** | Unique tracking id for the error. | [optional] +**Messages** | [**ErrorMessageDto[]**](ErrorMessageDto.md) | Generic localized reason for error | [optional] +**Causes** | [**ErrorMessageDto[]**](ErrorMessageDto.md) | Plain-text descriptive reasons to provide additional detail to the text provided in the messages field | [optional] + +## Examples + +- Prepare the resource +```powershell +$ErrorResponseDto = Initialize-PSSailpointV2024ErrorResponseDto -DetailCode 400.1 Bad Request Content ` + -TrackingId e7eab60924f64aa284175b9fa3309599 ` + -Messages null ` + -Causes null +``` + +- Convert the resource to JSON +```powershell +$ErrorResponseDto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/EvaluateResponse.md b/PSSailpoint/v2024/docs/EvaluateResponse.md new file mode 100644 index 000000000..39bae151b --- /dev/null +++ b/PSSailpoint/v2024/docs/EvaluateResponse.md @@ -0,0 +1,23 @@ +# EvaluateResponse +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ReassignToId** | **String** | The Identity ID which should be the recipient of any work items sent to a specific identity & work type | [optional] +**LookupTrail** | [**LookupStep[]**](LookupStep.md) | List of Reassignments found by looking up the next `TargetIdentity` in a ReassignmentConfiguration | [optional] + +## Examples + +- Prepare the resource +```powershell +$EvaluateResponse = Initialize-PSSailpointV2024EvaluateResponse -ReassignToId 869320b6b6f34a169b6178b1a865e66f ` + -LookupTrail null +``` + +- Convert the resource to JSON +```powershell +$EvaluateResponse | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Event.md b/PSSailpoint/v2024/docs/Event.md new file mode 100644 index 000000000..61c37b49c --- /dev/null +++ b/PSSailpoint/v2024/docs/Event.md @@ -0,0 +1,55 @@ +# ModelEvent +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | | +**Name** | **String** | | +**Type** | [**DocumentType**](DocumentType.md) | | +**Created** | **System.DateTime** | ISO-8601 date-time referring to the time when the object was created. | [optional] +**Synced** | **String** | ISO-8601 date-time referring to the date-time when object was queued to be synced into search database for use in the search API. This date-time changes anytime there is an update to the object, which triggers a synchronization event being sent to the search database. There may be some delay between the `synced` time and the time when the updated data is actually available in the search API. | [optional] +**Action** | **String** | Name of the event as it's displayed in audit reports. | [optional] +**Type** | **String** | Event type. Refer to [Event Types](https://documentation.sailpoint.com/saas/help/search/index.html#event-types) for a list of event types and their meanings. | [optional] +**Actor** | **String** | Name of the actor that generated the event. | [optional] +**Target** | **String** | Name of the target, or recipient, of the event. | [optional] +**Stack** | **String** | The event's stack. | [optional] +**TrackingNumber** | **String** | ID of the group of events. | [optional] +**IpAddress** | **String** | Target system's IP address. | [optional] +**Details** | **String** | ID of event's details. | [optional] +**Attributes** | [**System.Collections.Hashtable**](AnyType.md) | Attributes involved in the event. | [optional] +**Objects** | **String[]** | Objects the event is happening to. | [optional] +**Operation** | **String** | Operation, or action, performed during the event. | [optional] +**Status** | **String** | Event status. Refer to [Event Statuses](https://documentation.sailpoint.com/saas/help/search/index.html#event-statuses) for a list of event statuses and their meanings. | [optional] +**TechnicalName** | **String** | Event's normalized name. This normalized name always follows the pattern of 'objects_operation_status'. | [optional] + +## Examples + +- Prepare the resource +```powershell +$ModelEvent = Initialize-PSSailpointV2024ModelEvent -Id 2c91808375d8e80a0175e1f88a575222 ` + -Name john.doe ` + -Type null ` + -Created 2018-06-25T20:22:28.104Z ` + -Synced null ` + -Action update ` + -Type SYSTEM_CONFIG ` + -Actor System ` + -Target Carol.Adams ` + -Stack tpe ` + -TrackingNumber 63f891e0735f4cc8bf1968144a1e7440 ` + -IpAddress 52.52.97.85 ` + -Details 73b65dfbed1842548c207432a18c84b0 ` + -Attributes {pod=stg03-useast1, org=acme, sourceName=SailPoint} ` + -Objects null ` + -Operation REQUEST ` + -Status PASSED ` + -TechnicalName AUTHENTICATION_REQUEST_PASSED +``` + +- Convert the resource to JSON +```powershell +$ModelEvent | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/EventAttributes.md b/PSSailpoint/v2024/docs/EventAttributes.md new file mode 100644 index 000000000..10d0a1466 --- /dev/null +++ b/PSSailpoint/v2024/docs/EventAttributes.md @@ -0,0 +1,25 @@ +# EventAttributes +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The unique ID of the trigger | +**VarFilter** | **String** | JSON path expression that will limit which events the trigger will fire on | [optional] +**Description** | **String** | Description of the event trigger | [optional] + +## Examples + +- Prepare the resource +```powershell +$EventAttributes = Initialize-PSSailpointV2024EventAttributes -Id idn:identity-attributes-changed ` + -VarFilter $.changes[?(@.attribute == 'manager')] ` + -Description null +``` + +- Convert the resource to JSON +```powershell +$EventAttributes | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/EventBridgeConfig.md b/PSSailpoint/v2024/docs/EventBridgeConfig.md new file mode 100644 index 000000000..6d3bdb0ae --- /dev/null +++ b/PSSailpoint/v2024/docs/EventBridgeConfig.md @@ -0,0 +1,23 @@ +# EventBridgeConfig +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AwsAccount** | **String** | AWS Account Number (12-digit number) that has the EventBridge Partner Event Source Resource. | +**AwsRegion** | **String** | AWS Region that has the EventBridge Partner Event Source Resource. See https://docs.aws.amazon.com/general/latest/gr/rande.html for a full list of available values. | + +## Examples + +- Prepare the resource +```powershell +$EventBridgeConfig = Initialize-PSSailpointV2024EventBridgeConfig -AwsAccount 123456789012 ` + -AwsRegion us-west-1 +``` + +- Convert the resource to JSON +```powershell +$EventBridgeConfig | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/EventDocument.md b/PSSailpoint/v2024/docs/EventDocument.md new file mode 100644 index 000000000..d2d5b9fef --- /dev/null +++ b/PSSailpoint/v2024/docs/EventDocument.md @@ -0,0 +1,55 @@ +# EventDocument +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | | +**Name** | **String** | | +**Type** | [**DocumentType**](DocumentType.md) | | +**Created** | **System.DateTime** | ISO-8601 date-time referring to the time when the object was created. | [optional] +**Synced** | **String** | ISO-8601 date-time referring to the date-time when object was queued to be synced into search database for use in the search API. This date-time changes anytime there is an update to the object, which triggers a synchronization event being sent to the search database. There may be some delay between the `synced` time and the time when the updated data is actually available in the search API. | [optional] +**Action** | **String** | Name of the event as it's displayed in audit reports. | [optional] +**Type** | **String** | Event type. Refer to [Event Types](https://documentation.sailpoint.com/saas/help/search/index.html#event-types) for a list of event types and their meanings. | [optional] +**Actor** | **String** | Name of the actor that generated the event. | [optional] +**Target** | **String** | Name of the target, or recipient, of the event. | [optional] +**Stack** | **String** | The event's stack. | [optional] +**TrackingNumber** | **String** | ID of the group of events. | [optional] +**IpAddress** | **String** | Target system's IP address. | [optional] +**Details** | **String** | ID of event's details. | [optional] +**Attributes** | [**System.Collections.Hashtable**](AnyType.md) | Attributes involved in the event. | [optional] +**Objects** | **String[]** | Objects the event is happening to. | [optional] +**Operation** | **String** | Operation, or action, performed during the event. | [optional] +**Status** | **String** | Event status. Refer to [Event Statuses](https://documentation.sailpoint.com/saas/help/search/index.html#event-statuses) for a list of event statuses and their meanings. | [optional] +**TechnicalName** | **String** | Event's normalized name. This normalized name always follows the pattern of 'objects_operation_status'. | [optional] + +## Examples + +- Prepare the resource +```powershell +$EventDocument = Initialize-PSSailpointV2024EventDocument -Id 2c91808375d8e80a0175e1f88a575222 ` + -Name john.doe ` + -Type null ` + -Created 2018-06-25T20:22:28.104Z ` + -Synced null ` + -Action update ` + -Type SYSTEM_CONFIG ` + -Actor System ` + -Target Carol.Adams ` + -Stack tpe ` + -TrackingNumber 63f891e0735f4cc8bf1968144a1e7440 ` + -IpAddress 52.52.97.85 ` + -Details 73b65dfbed1842548c207432a18c84b0 ` + -Attributes {pod=stg03-useast1, org=acme, sourceName=SailPoint} ` + -Objects null ` + -Operation REQUEST ` + -Status PASSED ` + -TechnicalName AUTHENTICATION_REQUEST_PASSED +``` + +- Convert the resource to JSON +```powershell +$EventDocument | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ExceptionAccessCriteria.md b/PSSailpoint/v2024/docs/ExceptionAccessCriteria.md new file mode 100644 index 000000000..f0c042214 --- /dev/null +++ b/PSSailpoint/v2024/docs/ExceptionAccessCriteria.md @@ -0,0 +1,23 @@ +# ExceptionAccessCriteria +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**LeftCriteria** | [**ExceptionCriteria**](ExceptionCriteria.md) | | [optional] +**RightCriteria** | [**ExceptionCriteria**](ExceptionCriteria.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$ExceptionAccessCriteria = Initialize-PSSailpointV2024ExceptionAccessCriteria -LeftCriteria null ` + -RightCriteria null +``` + +- Convert the resource to JSON +```powershell +$ExceptionAccessCriteria | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ExceptionCriteria.md b/PSSailpoint/v2024/docs/ExceptionCriteria.md new file mode 100644 index 000000000..a59a9b3ed --- /dev/null +++ b/PSSailpoint/v2024/docs/ExceptionCriteria.md @@ -0,0 +1,21 @@ +# ExceptionCriteria +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**CriteriaList** | [**ExceptionCriteriaCriteriaListInner[]**](ExceptionCriteriaCriteriaListInner.md) | List of exception criteria. There is a min of 1 and max of 50 items in the list. | [optional] + +## Examples + +- Prepare the resource +```powershell +$ExceptionCriteria = Initialize-PSSailpointV2024ExceptionCriteria -CriteriaList [{type=ENTITLEMENT, id=2c9180866166b5b0016167c32ef31a66, existing=true}, {type=ENTITLEMENT, id=2c9180866166b5b0016167c32ef31a67, existing=false}] +``` + +- Convert the resource to JSON +```powershell +$ExceptionCriteria | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ExceptionCriteriaAccess.md b/PSSailpoint/v2024/docs/ExceptionCriteriaAccess.md new file mode 100644 index 000000000..40c64e684 --- /dev/null +++ b/PSSailpoint/v2024/docs/ExceptionCriteriaAccess.md @@ -0,0 +1,27 @@ +# ExceptionCriteriaAccess +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | [**DtoType**](DtoType.md) | | [optional] +**Id** | **String** | ID of the object to which this reference applies | [optional] +**Name** | **String** | Human-readable display name of the object to which this reference applies | [optional] +**Existing** | **Boolean** | Whether the subject identity already had that access or not | [optional] [default to $false] + +## Examples + +- Prepare the resource +```powershell +$ExceptionCriteriaAccess = Initialize-PSSailpointV2024ExceptionCriteriaAccess -Type null ` + -Id 2c91808568c529c60168cca6f90c1313 ` + -Name CN=HelpDesk,OU=test,OU=test-service,DC=TestAD,DC=local ` + -Existing true +``` + +- Convert the resource to JSON +```powershell +$ExceptionCriteriaAccess | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ExceptionCriteriaCriteriaListInner.md b/PSSailpoint/v2024/docs/ExceptionCriteriaCriteriaListInner.md new file mode 100644 index 000000000..46da4b99a --- /dev/null +++ b/PSSailpoint/v2024/docs/ExceptionCriteriaCriteriaListInner.md @@ -0,0 +1,27 @@ +# ExceptionCriteriaCriteriaListInner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | [**SystemCollectionsHashtable**](.md) | The type of object that is referenced | [optional] +**Id** | **String** | ID of the object to which this reference applies | [optional] +**Name** | **String** | Human-readable display name of the object to which this reference applies | [optional] +**Existing** | **Boolean** | Whether the subject identity already had that access or not | [optional] [default to $false] + +## Examples + +- Prepare the resource +```powershell +$ExceptionCriteriaCriteriaListInner = Initialize-PSSailpointV2024ExceptionCriteriaCriteriaListInner -Type ENTITLEMENT ` + -Id 2c91808568c529c60168cca6f90c1313 ` + -Name CN=HelpDesk,OU=test,OU=test-service,DC=TestAD,DC=local ` + -Existing true +``` + +- Convert the resource to JSON +```powershell +$ExceptionCriteriaCriteriaListInner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ExecutionStatus.md b/PSSailpoint/v2024/docs/ExecutionStatus.md new file mode 100644 index 000000000..0d8be0f36 --- /dev/null +++ b/PSSailpoint/v2024/docs/ExecutionStatus.md @@ -0,0 +1,20 @@ +# ExecutionStatus +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$ExecutionStatus = Initialize-PSSailpointV2024ExecutionStatus +``` + +- Convert the resource to JSON +```powershell +$ExecutionStatus | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ExpansionItem.md b/PSSailpoint/v2024/docs/ExpansionItem.md new file mode 100644 index 000000000..bfd12ff6c --- /dev/null +++ b/PSSailpoint/v2024/docs/ExpansionItem.md @@ -0,0 +1,29 @@ +# ExpansionItem +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AccountId** | **String** | The ID of the account | [optional] +**Cause** | **String** | | [optional] +**Name** | **String** | The name of the item | [optional] +**AttributeRequests** | [**AttributeRequest[]**](AttributeRequest.md) | | [optional] +**Source** | [**AccountSource**](AccountSource.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$ExpansionItem = Initialize-PSSailpointV2024ExpansionItem -AccountId 2c91808981f58ea601821c3e93482e6f ` + -Cause Role ` + -Name smartsheet-role ` + -AttributeRequests null ` + -Source null +``` + +- Convert the resource to JSON +```powershell +$ExpansionItem | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ExportFormDefinitionsByTenant200ResponseInner.md b/PSSailpoint/v2024/docs/ExportFormDefinitionsByTenant200ResponseInner.md new file mode 100644 index 000000000..61db9ba76 --- /dev/null +++ b/PSSailpoint/v2024/docs/ExportFormDefinitionsByTenant200ResponseInner.md @@ -0,0 +1,25 @@ +# ExportFormDefinitionsByTenant200ResponseInner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Object** | [**FormDefinitionResponse**](FormDefinitionResponse.md) | | [optional] +**Self** | **String** | | [optional] +**Version** | **Int32** | | [optional] + +## Examples + +- Prepare the resource +```powershell +$ExportFormDefinitionsByTenant200ResponseInner = Initialize-PSSailpointV2024ExportFormDefinitionsByTenant200ResponseInner -Object null ` + -Self null ` + -Version null +``` + +- Convert the resource to JSON +```powershell +$ExportFormDefinitionsByTenant200ResponseInner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ExportOptions.md b/PSSailpoint/v2024/docs/ExportOptions.md new file mode 100644 index 000000000..705fb276a --- /dev/null +++ b/PSSailpoint/v2024/docs/ExportOptions.md @@ -0,0 +1,25 @@ +# ExportOptions +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ExcludeTypes** | **String[]** | Object type names to be excluded from an sp-config export command. | [optional] +**IncludeTypes** | **String[]** | Object type names to be included in an sp-config export command. IncludeTypes takes precedence over excludeTypes. | [optional] +**ObjectOptions** | [**System.Collections.Hashtable**](ObjectExportImportOptions.md) | Additional options targeting specific objects related to each item in the includeTypes field | [optional] + +## Examples + +- Prepare the resource +```powershell +$ExportOptions = Initialize-PSSailpointV2024ExportOptions -ExcludeTypes null ` + -IncludeTypes null ` + -ObjectOptions {TRIGGER_SUBSCRIPTION={includedIds=[be9e116d-08e1-49fc-ab7f-fa585e96c9e4], includedNames=[Test 2]}} +``` + +- Convert the resource to JSON +```powershell +$ExportOptions | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ExportPayload.md b/PSSailpoint/v2024/docs/ExportPayload.md new file mode 100644 index 000000000..0c0687376 --- /dev/null +++ b/PSSailpoint/v2024/docs/ExportPayload.md @@ -0,0 +1,27 @@ +# ExportPayload +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Description** | **String** | Optional user defined description/name for export job. | [optional] +**ExcludeTypes** | **String[]** | Object type names to be excluded from an sp-config export command. | [optional] +**IncludeTypes** | **String[]** | Object type names to be included in an sp-config export command. IncludeTypes takes precedence over excludeTypes. | [optional] +**ObjectOptions** | [**System.Collections.Hashtable**](ObjectExportImportOptions.md) | Additional options targeting specific objects related to each item in the includeTypes field | [optional] + +## Examples + +- Prepare the resource +```powershell +$ExportPayload = Initialize-PSSailpointV2024ExportPayload -Description Export Job 1 Test ` + -ExcludeTypes null ` + -IncludeTypes null ` + -ObjectOptions {TRIGGER_SUBSCRIPTION={includedIds=[be9e116d-08e1-49fc-ab7f-fa585e96c9e4], includedNames=[Test 2]}} +``` + +- Convert the resource to JSON +```powershell +$ExportPayload | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Expression.md b/PSSailpoint/v2024/docs/Expression.md new file mode 100644 index 000000000..248d60ea5 --- /dev/null +++ b/PSSailpoint/v2024/docs/Expression.md @@ -0,0 +1,27 @@ +# Expression +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Operator** | **String** | Operator for the expression | [optional] +**Attribute** | **String** | Name for the attribute | [optional] +**Value** | [**Value**](Value.md) | | [optional] +**Children** | [**ExpressionChildrenInner[]**](ExpressionChildrenInner.md) | List of expressions | [optional] + +## Examples + +- Prepare the resource +```powershell +$Expression = Initialize-PSSailpointV2024Expression -Operator EQUALS ` + -Attribute location ` + -Value null ` + -Children [] +``` + +- Convert the resource to JSON +```powershell +$Expression | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ExpressionChildrenInner.md b/PSSailpoint/v2024/docs/ExpressionChildrenInner.md new file mode 100644 index 000000000..c418c8c72 --- /dev/null +++ b/PSSailpoint/v2024/docs/ExpressionChildrenInner.md @@ -0,0 +1,27 @@ +# ExpressionChildrenInner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Operator** | **String** | Operator for the expression | [optional] +**Attribute** | **String** | Name for the attribute | [optional] +**Value** | [**Value**](Value.md) | | [optional] +**Children** | **String** | There cannot be anymore nested children. This will always be null. | [optional] + +## Examples + +- Prepare the resource +```powershell +$ExpressionChildrenInner = Initialize-PSSailpointV2024ExpressionChildrenInner -Operator EQUALS ` + -Attribute location ` + -Value null ` + -Children null +``` + +- Convert the resource to JSON +```powershell +$ExpressionChildrenInner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ExternalAttributes.md b/PSSailpoint/v2024/docs/ExternalAttributes.md new file mode 100644 index 000000000..d8486cf77 --- /dev/null +++ b/PSSailpoint/v2024/docs/ExternalAttributes.md @@ -0,0 +1,27 @@ +# ExternalAttributes +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | A unique name for the external trigger | [optional] +**Description** | **String** | Additonal context about the external trigger | [optional] +**ClientId** | **String** | OAuth Client ID to authenticate with this trigger | [optional] +**Url** | **String** | URL to invoke this workflow | [optional] + +## Examples + +- Prepare the resource +```powershell +$ExternalAttributes = Initialize-PSSailpointV2024ExternalAttributes -Name search-and-notify ` + -Description Run a search and notify the results ` + -ClientId 87e239b2-b85b-4bde-b9a7-55bf304ddcdc ` + -Url https://tenant.api.identitynow.com/beta/workflows/execute/external/c79e0079-562c-4df5-aa73-60a9e25c916d +``` + +- Convert the resource to JSON +```powershell +$ExternalAttributes | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/FeatureValueDto.md b/PSSailpoint/v2024/docs/FeatureValueDto.md new file mode 100644 index 000000000..07d5c0ed3 --- /dev/null +++ b/PSSailpoint/v2024/docs/FeatureValueDto.md @@ -0,0 +1,25 @@ +# FeatureValueDto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Feature** | **String** | The type of feature | [optional] +**Numerator** | **Int32** | The number of identities that have access to the feature | [optional] +**Denominator** | **Int32** | The number of identities with the corresponding feature | [optional] + +## Examples + +- Prepare the resource +```powershell +$FeatureValueDto = Initialize-PSSailpointV2024FeatureValueDto -Feature department ` + -Numerator 14 ` + -Denominator 14 +``` + +- Convert the resource to JSON +```powershell +$FeatureValueDto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/FieldDetailsDto.md b/PSSailpoint/v2024/docs/FieldDetailsDto.md new file mode 100644 index 000000000..55c317a68 --- /dev/null +++ b/PSSailpoint/v2024/docs/FieldDetailsDto.md @@ -0,0 +1,31 @@ +# FieldDetailsDto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | The name of the attribute. | [optional] +**Transform** | [**SystemCollectionsHashtable**](.md) | The transform to apply to the field | [optional] +**Attributes** | [**SystemCollectionsHashtable**](.md) | Attributes required for the transform | [optional] +**IsRequired** | **Boolean** | Flag indicating whether or not the attribute is required. | [optional] [readonly] [default to $false] +**Type** | **String** | The type of the attribute. | [optional] +**IsMultiValued** | **Boolean** | Flag indicating whether or not the attribute is multi-valued. | [optional] [default to $false] + +## Examples + +- Prepare the resource +```powershell +$FieldDetailsDto = Initialize-PSSailpointV2024FieldDetailsDto -Name userName ` + -Transform {type=rule, attributes={name=Create Unique LDAP Attribute}} ` + -Attributes {template=${firstname}.${lastname}${uniqueCounter}, cloudMaxUniqueChecks=50, cloudMaxSize=20, cloudRequired=true} ` + -IsRequired false ` + -Type string ` + -IsMultiValued false +``` + +- Convert the resource to JSON +```powershell +$FieldDetailsDto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Filter.md b/PSSailpoint/v2024/docs/Filter.md new file mode 100644 index 000000000..cd9424f5b --- /dev/null +++ b/PSSailpoint/v2024/docs/Filter.md @@ -0,0 +1,27 @@ +# ModelFilter +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | [**FilterType**](FilterType.md) | | [optional] +**Range** | [**Range**](Range.md) | | [optional] +**Terms** | **String[]** | The terms to be filtered. | [optional] +**Exclude** | **Boolean** | Indicates if the filter excludes results. | [optional] [default to $false] + +## Examples + +- Prepare the resource +```powershell +$ModelFilter = Initialize-PSSailpointV2024ModelFilter -Type null ` + -Range null ` + -Terms null ` + -Exclude false +``` + +- Convert the resource to JSON +```powershell +$ModelFilter | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/FilterAggregation.md b/PSSailpoint/v2024/docs/FilterAggregation.md new file mode 100644 index 000000000..98777b734 --- /dev/null +++ b/PSSailpoint/v2024/docs/FilterAggregation.md @@ -0,0 +1,27 @@ +# FilterAggregation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | The name of the filter aggregate to be included in the result. | +**Type** | [**SearchFilterType**](SearchFilterType.md) | | [optional] +**Field** | **String** | The search field to apply the filter to. Prefix the field name with '@' to reference a nested object. | +**Value** | **String** | The value to filter on. | + +## Examples + +- Prepare the resource +```powershell +$FilterAggregation = Initialize-PSSailpointV2024FilterAggregation -Name Entitlements ` + -Type null ` + -Field access.type ` + -Value ENTITLEMENT +``` + +- Convert the resource to JSON +```powershell +$FilterAggregation | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/FilterType.md b/PSSailpoint/v2024/docs/FilterType.md new file mode 100644 index 000000000..d970c8d14 --- /dev/null +++ b/PSSailpoint/v2024/docs/FilterType.md @@ -0,0 +1,20 @@ +# FilterType +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$FilterType = Initialize-PSSailpointV2024FilterType +``` + +- Convert the resource to JSON +```powershell +$FilterType | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/FirstValid.md b/PSSailpoint/v2024/docs/FirstValid.md new file mode 100644 index 000000000..80119a4fa --- /dev/null +++ b/PSSailpoint/v2024/docs/FirstValid.md @@ -0,0 +1,25 @@ +# FirstValid +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Values** | [**SystemCollectionsHashtable[]**](SystemCollectionsHashtable.md) | An array of attributes to evaluate for existence. | +**IgnoreErrors** | **Boolean** | a true or false value representing to move on to the next option if an error (like an Null Pointer Exception) were to occur. | [optional] [default to $false] +**RequiresPeriodicRefresh** | **Boolean** | A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process | [optional] [default to $false] + +## Examples + +- Prepare the resource +```powershell +$FirstValid = Initialize-PSSailpointV2024FirstValid -Values [{attributes={sourceName=Active Directory, attributeName=sAMAccountName}, type=accountAttribute}, {attributes={sourceName=Okta, attributeName=login}, type=accountAttribute}, {attributes={sourceName=HR Source, attributeName=employeeID}, type=accountAttribute}] ` + -IgnoreErrors false ` + -RequiresPeriodicRefresh false +``` + +- Convert the resource to JSON +```powershell +$FirstValid | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/FormCondition.md b/PSSailpoint/v2024/docs/FormCondition.md new file mode 100644 index 000000000..384cdaac3 --- /dev/null +++ b/PSSailpoint/v2024/docs/FormCondition.md @@ -0,0 +1,25 @@ +# FormCondition +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**RuleOperator** | **String** | ConditionRuleLogicalOperatorType value. AND ConditionRuleLogicalOperatorTypeAnd OR ConditionRuleLogicalOperatorTypeOr | [optional] +**Rules** | [**ConditionRule[]**](ConditionRule.md) | List of rules. | [optional] +**Effects** | [**ConditionEffect[]**](ConditionEffect.md) | List of effects. | [optional] + +## Examples + +- Prepare the resource +```powershell +$FormCondition = Initialize-PSSailpointV2024FormCondition -RuleOperator AND ` + -Rules null ` + -Effects null +``` + +- Convert the resource to JSON +```powershell +$FormCondition | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/FormDefinitionDynamicSchemaRequest.md b/PSSailpoint/v2024/docs/FormDefinitionDynamicSchemaRequest.md new file mode 100644 index 000000000..fba770b94 --- /dev/null +++ b/PSSailpoint/v2024/docs/FormDefinitionDynamicSchemaRequest.md @@ -0,0 +1,29 @@ +# FormDefinitionDynamicSchemaRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Attributes** | [**FormDefinitionDynamicSchemaRequestAttributes**](FormDefinitionDynamicSchemaRequestAttributes.md) | | [optional] +**Description** | **String** | Description is the form definition dynamic schema description text | [optional] +**Id** | **String** | ID is a unique identifier | [optional] +**Type** | **String** | Type is the form definition dynamic schema type | [optional] +**VersionNumber** | **Int64** | VersionNumber is the form definition dynamic schema version number | [optional] + +## Examples + +- Prepare the resource +```powershell +$FormDefinitionDynamicSchemaRequest = Initialize-PSSailpointV2024FormDefinitionDynamicSchemaRequest -Attributes null ` + -Description A description ` + -Id 00000000-0000-0000-0000-000000000000 ` + -Type action ` + -VersionNumber 1 +``` + +- Convert the resource to JSON +```powershell +$FormDefinitionDynamicSchemaRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/FormDefinitionDynamicSchemaRequestAttributes.md b/PSSailpoint/v2024/docs/FormDefinitionDynamicSchemaRequestAttributes.md new file mode 100644 index 000000000..75881e006 --- /dev/null +++ b/PSSailpoint/v2024/docs/FormDefinitionDynamicSchemaRequestAttributes.md @@ -0,0 +1,21 @@ +# FormDefinitionDynamicSchemaRequestAttributes +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**FormDefinitionId** | **String** | FormDefinitionID is a unique guid identifying this form definition | [optional] + +## Examples + +- Prepare the resource +```powershell +$FormDefinitionDynamicSchemaRequestAttributes = Initialize-PSSailpointV2024FormDefinitionDynamicSchemaRequestAttributes -FormDefinitionId 00000000-0000-0000-0000-000000000000 +``` + +- Convert the resource to JSON +```powershell +$FormDefinitionDynamicSchemaRequestAttributes | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/FormDefinitionDynamicSchemaResponse.md b/PSSailpoint/v2024/docs/FormDefinitionDynamicSchemaResponse.md new file mode 100644 index 000000000..eec7ca0af --- /dev/null +++ b/PSSailpoint/v2024/docs/FormDefinitionDynamicSchemaResponse.md @@ -0,0 +1,21 @@ +# FormDefinitionDynamicSchemaResponse +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**OutputSchema** | [**System.Collections.Hashtable**](SystemCollectionsHashtable.md) | OutputSchema holds a JSON schema generated dynamically | [optional] + +## Examples + +- Prepare the resource +```powershell +$FormDefinitionDynamicSchemaResponse = Initialize-PSSailpointV2024FormDefinitionDynamicSchemaResponse -OutputSchema {outputSchema={$schema=https://json-schema.org/draft/2020-12/schema, additionalProperties=false, properties={firstName={title=First Name, type=string}, fullName={title=Full Name, type=string}, lastName={title=Last Name, type=string}, startDate={format=date-time, title=Start Date, type=string}}, type=object}} +``` + +- Convert the resource to JSON +```powershell +$FormDefinitionDynamicSchemaResponse | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/FormDefinitionFileUploadResponse.md b/PSSailpoint/v2024/docs/FormDefinitionFileUploadResponse.md new file mode 100644 index 000000000..3e56889a3 --- /dev/null +++ b/PSSailpoint/v2024/docs/FormDefinitionFileUploadResponse.md @@ -0,0 +1,25 @@ +# FormDefinitionFileUploadResponse +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Created** | **String** | Created is the date the file was uploaded | [optional] +**FileId** | **String** | fileId is a unique ULID that serves as an identifier for the form definition file | [optional] +**FormDefinitionId** | **String** | FormDefinitionID is a unique guid identifying this form definition | [optional] + +## Examples + +- Prepare the resource +```powershell +$FormDefinitionFileUploadResponse = Initialize-PSSailpointV2024FormDefinitionFileUploadResponse -Created 2023-07-12T20:14:57.74486Z ` + -FileId 01FHZXHK8PTP9FVK99Z66GXQTX.png ` + -FormDefinitionId 00000000-0000-0000-0000-000000000000 +``` + +- Convert the resource to JSON +```powershell +$FormDefinitionFileUploadResponse | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/FormDefinitionInput.md b/PSSailpoint/v2024/docs/FormDefinitionInput.md new file mode 100644 index 000000000..5cb356b78 --- /dev/null +++ b/PSSailpoint/v2024/docs/FormDefinitionInput.md @@ -0,0 +1,27 @@ +# FormDefinitionInput +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Unique identifier for the form input. | [optional] +**Type** | **String** | FormDefinitionInputType value. STRING FormDefinitionInputTypeString | [optional] +**Label** | **String** | Name for the form input. | [optional] +**Description** | **String** | Form input's description. | [optional] + +## Examples + +- Prepare the resource +```powershell +$FormDefinitionInput = Initialize-PSSailpointV2024FormDefinitionInput -Id 00000000-0000-0000-0000-000000000000 ` + -Type STRING ` + -Label input1 ` + -Description A single dynamic scalar value (i.e. number, string, date, etc.) that can be passed into the form for use in conditional logic +``` + +- Convert the resource to JSON +```powershell +$FormDefinitionInput | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/FormDefinitionResponse.md b/PSSailpoint/v2024/docs/FormDefinitionResponse.md new file mode 100644 index 000000000..9a1c4f8f3 --- /dev/null +++ b/PSSailpoint/v2024/docs/FormDefinitionResponse.md @@ -0,0 +1,39 @@ +# FormDefinitionResponse +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Unique guid identifying the form definition. | [optional] +**Name** | **String** | Name of the form definition. | [optional] +**Description** | **String** | Form definition's description. | [optional] +**Owner** | [**FormOwner**](FormOwner.md) | | [optional] +**UsedBy** | [**FormUsedBy[]**](FormUsedBy.md) | List of objects using the form definition. Whenever a system uses a form, the API reaches out to the form service to record that the system is currently using it. | [optional] +**FormInput** | [**FormDefinitionInput[]**](FormDefinitionInput.md) | List of form inputs required to create a form-instance object. | [optional] +**FormElements** | [**FormElement[]**](FormElement.md) | List of nested form elements. | [optional] +**FormConditions** | [**FormCondition[]**](FormCondition.md) | Conditional logic that can dynamically modify the form as the recipient is interacting with it. | [optional] +**Created** | **System.DateTime** | Created is the date the form definition was created | [optional] +**Modified** | **System.DateTime** | Modified is the last date the form definition was modified | [optional] + +## Examples + +- Prepare the resource +```powershell +$FormDefinitionResponse = Initialize-PSSailpointV2024FormDefinitionResponse -Id 00000000-0000-0000-0000-000000000000 ` + -Name My form ` + -Description My form description ` + -Owner null ` + -UsedBy null ` + -FormInput null ` + -FormElements null ` + -FormConditions null ` + -Created 2023-07-12T20:14:57.744860Z ` + -Modified 2023-07-12T20:14:57.744860Z +``` + +- Convert the resource to JSON +```powershell +$FormDefinitionResponse | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/FormDetails.md b/PSSailpoint/v2024/docs/FormDetails.md new file mode 100644 index 000000000..8b446cc94 --- /dev/null +++ b/PSSailpoint/v2024/docs/FormDetails.md @@ -0,0 +1,31 @@ +# FormDetails +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | ID of the form | [optional] +**Name** | **String** | Name of the form | [optional] +**Title** | **String** | The form title | [optional] +**Subtitle** | **String** | The form subtitle. | [optional] +**TargetUser** | **String** | The name of the user that should be shown this form | [optional] +**Sections** | [**SectionDetails[]**](SectionDetails.md) | Sections of the form | [optional] + +## Examples + +- Prepare the resource +```powershell +$FormDetails = Initialize-PSSailpointV2024FormDetails -Id 2c9180835d2e5168015d32f890ca1581 ` + -Name AccountSelection Form ` + -Title Account Selection for John.Doe ` + -Subtitle Please select from the following ` + -TargetUser Jane.Doe ` + -Sections null +``` + +- Convert the resource to JSON +```powershell +$FormDetails | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/FormElement.md b/PSSailpoint/v2024/docs/FormElement.md new file mode 100644 index 000000000..8d7ed721b --- /dev/null +++ b/PSSailpoint/v2024/docs/FormElement.md @@ -0,0 +1,29 @@ +# FormElement +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Form element identifier. | [optional] +**ElementType** | **String** | FormElementType value. TEXT FormElementTypeText TOGGLE FormElementTypeToggle TEXTAREA FormElementTypeTextArea HIDDEN FormElementTypeHidden PHONE FormElementTypePhone EMAIL FormElementTypeEmail SELECT FormElementTypeSelect DATE FormElementTypeDate SECTION FormElementTypeSection COLUMN_SET FormElementTypeColumns IMAGE FormElementTypeImage DESCRIPTION FormElementTypeDescription | [optional] +**Config** | [**System.Collections.Hashtable**](SystemCollectionsHashtable.md) | Config object. | [optional] +**Key** | **String** | Technical key. | [optional] +**Validations** | [**FormElementValidationsSet[]**](FormElementValidationsSet.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$FormElement = Initialize-PSSailpointV2024FormElement -Id 00000000-0000-0000-0000-000000000000 ` + -ElementType TEXT ` + -Config {label=Department} ` + -Key department ` + -Validations null +``` + +- Convert the resource to JSON +```powershell +$FormElement | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/FormElementDataSourceConfigOptions.md b/PSSailpoint/v2024/docs/FormElementDataSourceConfigOptions.md new file mode 100644 index 000000000..7acf53050 --- /dev/null +++ b/PSSailpoint/v2024/docs/FormElementDataSourceConfigOptions.md @@ -0,0 +1,25 @@ +# FormElementDataSourceConfigOptions +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Label** | **String** | Label is the main label to display to the user when selecting this option | [optional] +**SubLabel** | **String** | SubLabel is the sub label to display below the label in diminutive styling to help describe or identify this option | [optional] +**Value** | **String** | Value is the value to save as an entry when the user selects this option | [optional] + +## Examples + +- Prepare the resource +```powershell +$FormElementDataSourceConfigOptions = Initialize-PSSailpointV2024FormElementDataSourceConfigOptions -Label regression-test-access-request-07c55dd6-3056-430a-86b5-fccc395bb6c5 ` + -SubLabel ` + -Value e96674448eba4ca1ba04eee999a8f3cd +``` + +- Convert the resource to JSON +```powershell +$FormElementDataSourceConfigOptions | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/FormElementDynamicDataSource.md b/PSSailpoint/v2024/docs/FormElementDynamicDataSource.md new file mode 100644 index 000000000..39f7afb1b --- /dev/null +++ b/PSSailpoint/v2024/docs/FormElementDynamicDataSource.md @@ -0,0 +1,23 @@ +# FormElementDynamicDataSource +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Config** | [**FormElementDynamicDataSourceConfig**](FormElementDynamicDataSourceConfig.md) | | [optional] +**DataSourceType** | **String** | DataSourceType is a FormElementDataSourceType value STATIC FormElementDataSourceTypeStatic INTERNAL FormElementDataSourceTypeInternal SEARCH FormElementDataSourceTypeSearch FORM_INPUT FormElementDataSourceTypeFormInput | [optional] + +## Examples + +- Prepare the resource +```powershell +$FormElementDynamicDataSource = Initialize-PSSailpointV2024FormElementDynamicDataSource -Config null ` + -DataSourceType STATIC +``` + +- Convert the resource to JSON +```powershell +$FormElementDynamicDataSource | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/FormElementDynamicDataSourceConfig.md b/PSSailpoint/v2024/docs/FormElementDynamicDataSourceConfig.md new file mode 100644 index 000000000..27cb20ee9 --- /dev/null +++ b/PSSailpoint/v2024/docs/FormElementDynamicDataSourceConfig.md @@ -0,0 +1,27 @@ +# FormElementDynamicDataSourceConfig +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AggregationBucketField** | **String** | AggregationBucketField is the aggregation bucket field name | [optional] +**Indices** | **String[]** | Indices is a list of indices to use | [optional] +**ObjectType** | **String** | ObjectType is a PreDefinedSelectOption value IDENTITY PreDefinedSelectOptionIdentity ACCESS_PROFILE PreDefinedSelectOptionAccessProfile SOURCES PreDefinedSelectOptionSources ROLE PreDefinedSelectOptionRole ENTITLEMENT PreDefinedSelectOptionEntitlement | [optional] +**Query** | **String** | Query is a text | [optional] + +## Examples + +- Prepare the resource +```powershell +$FormElementDynamicDataSourceConfig = Initialize-PSSailpointV2024FormElementDynamicDataSourceConfig -AggregationBucketField attributes.cloudStatus.exact ` + -Indices [identities] ` + -ObjectType IDENTITY ` + -Query * +``` + +- Convert the resource to JSON +```powershell +$FormElementDynamicDataSourceConfig | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/FormElementPreviewRequest.md b/PSSailpoint/v2024/docs/FormElementPreviewRequest.md new file mode 100644 index 000000000..5960e91fd --- /dev/null +++ b/PSSailpoint/v2024/docs/FormElementPreviewRequest.md @@ -0,0 +1,21 @@ +# FormElementPreviewRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**DataSource** | [**FormElementDynamicDataSource**](FormElementDynamicDataSource.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$FormElementPreviewRequest = Initialize-PSSailpointV2024FormElementPreviewRequest -DataSource null +``` + +- Convert the resource to JSON +```powershell +$FormElementPreviewRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/FormElementValidationsSet.md b/PSSailpoint/v2024/docs/FormElementValidationsSet.md new file mode 100644 index 000000000..9649c2725 --- /dev/null +++ b/PSSailpoint/v2024/docs/FormElementValidationsSet.md @@ -0,0 +1,21 @@ +# FormElementValidationsSet +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ValidationType** | **String** | | [optional] + +## Examples + +- Prepare the resource +```powershell +$FormElementValidationsSet = Initialize-PSSailpointV2024FormElementValidationsSet -ValidationType null +``` + +- Convert the resource to JSON +```powershell +$FormElementValidationsSet | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/FormError.md b/PSSailpoint/v2024/docs/FormError.md new file mode 100644 index 000000000..edd8e502e --- /dev/null +++ b/PSSailpoint/v2024/docs/FormError.md @@ -0,0 +1,25 @@ +# FormError +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Key** | **String** | Key is the technical key | [optional] +**Messages** | [**ErrorMessage[]**](ErrorMessage.md) | Messages is a list of web.ErrorMessage items | [optional] +**Value** | [**SystemCollectionsHashtable**](.md) | Value is the value associated with a Key | [optional] + +## Examples + +- Prepare the resource +```powershell +$FormError = Initialize-PSSailpointV2024FormError -Key department ` + -Messages null ` + -Value Engineering +``` + +- Convert the resource to JSON +```powershell +$FormError | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/FormInstanceCreatedBy.md b/PSSailpoint/v2024/docs/FormInstanceCreatedBy.md new file mode 100644 index 000000000..ebc4c2daa --- /dev/null +++ b/PSSailpoint/v2024/docs/FormInstanceCreatedBy.md @@ -0,0 +1,23 @@ +# FormInstanceCreatedBy +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | ID is a unique identifier | [optional] +**Type** | **String** | Type is a form instance created by type enum value WORKFLOW_EXECUTION FormInstanceCreatedByTypeWorkflowExecution SOURCE FormInstanceCreatedByTypeSource | [optional] + +## Examples + +- Prepare the resource +```powershell +$FormInstanceCreatedBy = Initialize-PSSailpointV2024FormInstanceCreatedBy -Id 00000000-0000-0000-0000-000000000000 ` + -Type WORKFLOW_EXECUTION +``` + +- Convert the resource to JSON +```powershell +$FormInstanceCreatedBy | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/FormInstanceRecipient.md b/PSSailpoint/v2024/docs/FormInstanceRecipient.md new file mode 100644 index 000000000..6b30d2393 --- /dev/null +++ b/PSSailpoint/v2024/docs/FormInstanceRecipient.md @@ -0,0 +1,23 @@ +# FormInstanceRecipient +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | ID is a unique identifier | [optional] +**Type** | **String** | Type is a FormInstanceRecipientType value IDENTITY FormInstanceRecipientIdentity | [optional] + +## Examples + +- Prepare the resource +```powershell +$FormInstanceRecipient = Initialize-PSSailpointV2024FormInstanceRecipient -Id 00000000-0000-0000-0000-000000000000 ` + -Type IDENTITY +``` + +- Convert the resource to JSON +```powershell +$FormInstanceRecipient | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/FormInstanceResponse.md b/PSSailpoint/v2024/docs/FormInstanceResponse.md new file mode 100644 index 000000000..728ba9b67 --- /dev/null +++ b/PSSailpoint/v2024/docs/FormInstanceResponse.md @@ -0,0 +1,49 @@ +# FormInstanceResponse +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Created** | **System.DateTime** | Created is the date the form instance was assigned | [optional] +**CreatedBy** | [**FormInstanceCreatedBy**](FormInstanceCreatedBy.md) | | [optional] +**Expire** | **String** | Expire is the maximum amount of time that a form can be in progress. After this time is reached then the form will be moved to a CANCELED state automatically. The user will no longer be able to complete the submission. When a form instance is expires an audit log will be generated for that record | [optional] +**FormConditions** | [**FormCondition[]**](FormCondition.md) | FormConditions is the conditional logic that modify the form dynamically modify the form as the recipient is interacting out the form | [optional] +**FormData** | [**System.Collections.Hashtable**](SystemCollectionsHashtable.md) | FormData is the data provided by the form on submit. The data is in a key -> value map | [optional] +**FormDefinitionId** | **String** | FormDefinitionID is the id of the form definition that created this form | [optional] +**FormElements** | [**FormElement[]**](FormElement.md) | FormElements is the configuration of the form, this would be a repeat of the fields from the form-config | [optional] +**FormErrors** | [**FormError[]**](FormError.md) | FormErrors is an array of form validation errors from the last time the form instance was transitioned to the SUBMITTED state. If the form instance had validation errors then it would be moved to the IN PROGRESS state where the client can retrieve these errors | [optional] +**FormInput** | [**System.Collections.Hashtable**](SystemCollectionsHashtable.md) | FormInput is an object of form input labels to value | [optional] +**Id** | **String** | Unique guid identifying this form instance | [optional] +**Modified** | **System.DateTime** | Modified is the last date the form instance was modified | [optional] +**Recipients** | [**FormInstanceRecipient[]**](FormInstanceRecipient.md) | Recipients references to the recipient of a form. The recipients are those who are responsible for filling out a form and completing it | [optional] +**StandAloneForm** | **Boolean** | StandAloneForm is a boolean flag to indicate if this form should be available for users to complete via the standalone form UI or should this only be available to be completed by as an embedded form | [optional] [default to $false] +**StandAloneFormUrl** | **String** | StandAloneFormURL is the URL where this form may be completed by the designated recipients using the standalone form UI | [optional] +**State** | **String** | State the state of the form instance ASSIGNED FormInstanceStateAssigned IN_PROGRESS FormInstanceStateInProgress SUBMITTED FormInstanceStateSubmitted COMPLETED FormInstanceStateCompleted CANCELLED FormInstanceStateCancelled | [optional] + +## Examples + +- Prepare the resource +```powershell +$FormInstanceResponse = Initialize-PSSailpointV2024FormInstanceResponse -Created 2023-07-12T20:14:57.744860Z ` + -CreatedBy null ` + -Expire 2023-08-12T20:14:57.74486Z ` + -FormConditions null ` + -FormData {department=Engineering} ` + -FormDefinitionId 49841cb8-00a5-4fbd-9888-8bbb28d48331 ` + -FormElements null ` + -FormErrors null ` + -FormInput {input1=Sales} ` + -Id 06a2d961-07fa-44d1-8d0a-2f6470e30fd2 ` + -Modified 2023-07-12T20:14:57.744860Z ` + -Recipients null ` + -StandAloneForm false ` + -StandAloneFormUrl https://my-org.identitynow.com/ui/d/forms/00000000-0000-0000-0000-000000000000 ` + -State ASSIGNED +``` + +- Convert the resource to JSON +```powershell +$FormInstanceResponse | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/FormItemDetails.md b/PSSailpoint/v2024/docs/FormItemDetails.md new file mode 100644 index 000000000..0d4604d08 --- /dev/null +++ b/PSSailpoint/v2024/docs/FormItemDetails.md @@ -0,0 +1,21 @@ +# FormItemDetails +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | Name of the FormItem | [optional] + +## Examples + +- Prepare the resource +```powershell +$FormItemDetails = Initialize-PSSailpointV2024FormItemDetails -Name Field1 +``` + +- Convert the resource to JSON +```powershell +$FormItemDetails | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/FormOwner.md b/PSSailpoint/v2024/docs/FormOwner.md new file mode 100644 index 000000000..ebdb824da --- /dev/null +++ b/PSSailpoint/v2024/docs/FormOwner.md @@ -0,0 +1,25 @@ +# FormOwner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | FormOwnerType value. IDENTITY FormOwnerTypeIdentity | [optional] +**Id** | **String** | Unique identifier of the form's owner. | [optional] +**Name** | **String** | Name of the form's owner. | [optional] + +## Examples + +- Prepare the resource +```powershell +$FormOwner = Initialize-PSSailpointV2024FormOwner -Type IDENTITY ` + -Id 2c9180867624cbd7017642d8c8c81f67 ` + -Name Grant Smith +``` + +- Convert the resource to JSON +```powershell +$FormOwner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/FormUsedBy.md b/PSSailpoint/v2024/docs/FormUsedBy.md new file mode 100644 index 000000000..a5372e1dc --- /dev/null +++ b/PSSailpoint/v2024/docs/FormUsedBy.md @@ -0,0 +1,25 @@ +# FormUsedBy +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | FormUsedByType value. WORKFLOW FormUsedByTypeWorkflow SOURCE FormUsedByTypeSource MySailPoint FormUsedByType | [optional] +**Id** | **String** | Unique identifier of the system using the form. | [optional] +**Name** | **String** | Name of the system using the form. | [optional] + +## Examples + +- Prepare the resource +```powershell +$FormUsedBy = Initialize-PSSailpointV2024FormUsedBy -Type WORKFLOW ` + -Id 61940a92-5484-42bc-bc10-b9982b218cdf ` + -Name Access Request Form +``` + +- Convert the resource to JSON +```powershell +$FormUsedBy | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ForwardApprovalDto.md b/PSSailpoint/v2024/docs/ForwardApprovalDto.md new file mode 100644 index 000000000..02b040923 --- /dev/null +++ b/PSSailpoint/v2024/docs/ForwardApprovalDto.md @@ -0,0 +1,23 @@ +# ForwardApprovalDto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**NewOwnerId** | **String** | The Id of the new owner | +**Comment** | **String** | The comment provided by the forwarder | + +## Examples + +- Prepare the resource +```powershell +$ForwardApprovalDto = Initialize-PSSailpointV2024ForwardApprovalDto -NewOwnerId 2c91808568c529c60168cca6f90c1314 ` + -Comment 2c91808568c529c60168cca6f90c1313 +``` + +- Convert the resource to JSON +```powershell +$ForwardApprovalDto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/GenerateRandomString.md b/PSSailpoint/v2024/docs/GenerateRandomString.md new file mode 100644 index 000000000..28f2ac68d --- /dev/null +++ b/PSSailpoint/v2024/docs/GenerateRandomString.md @@ -0,0 +1,31 @@ +# GenerateRandomString +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | This must always be set to ""Cloud Services Deployment Utility"" | +**Operation** | **String** | The operation to perform `generateRandomString` | +**IncludeNumbers** | **Boolean** | This must be either ""true"" or ""false"" to indicate whether the generator logic should include numbers | +**IncludeSpecialChars** | **Boolean** | This must be either ""true"" or ""false"" to indicate whether the generator logic should include special characters | +**Length** | **String** | This specifies how long the randomly generated string needs to be >NOTE Due to identity attribute data constraints, the maximum allowable value is 450 characters | +**RequiresPeriodicRefresh** | **Boolean** | A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process | [optional] + +## Examples + +- Prepare the resource +```powershell +$GenerateRandomString = Initialize-PSSailpointV2024GenerateRandomString -Name Cloud Services Deployment Utility ` + -Operation generateRandomString ` + -IncludeNumbers true ` + -IncludeSpecialChars true ` + -Length 10 ` + -RequiresPeriodicRefresh false +``` + +- Convert the resource to JSON +```powershell +$GenerateRandomString | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/GetActiveCampaigns200ResponseInner.md b/PSSailpoint/v2024/docs/GetActiveCampaigns200ResponseInner.md new file mode 100644 index 000000000..412f726cb --- /dev/null +++ b/PSSailpoint/v2024/docs/GetActiveCampaigns200ResponseInner.md @@ -0,0 +1,63 @@ +# GetActiveCampaigns200ResponseInner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Id of the campaign | [optional] [readonly] +**Name** | **String** | The campaign name. If this object is part of a template, special formatting applies; see the `/campaign-templates/{id}/generate` endpoint documentation for details. | +**Description** | **String** | The campaign description. If this object is part of a template, special formatting applies; see the `/campaign-templates/{id}/generate` endpoint documentation for details. | +**Deadline** | **System.DateTime** | The campaign's completion deadline. This date must be in the future in order to activate the campaign. If you try to activate a campaign with a deadline of today or in the past, you will receive a 400 error response. | [optional] +**Type** | **String** | The type of campaign. Could be extended in the future. | +**EmailNotificationEnabled** | **Boolean** | Enables email notification for this campaign | [optional] [default to $false] +**AutoRevokeAllowed** | **Boolean** | Allows auto revoke for this campaign | [optional] [default to $false] +**RecommendationsEnabled** | **Boolean** | Enables IAI for this campaign. Accepts true even if the IAI product feature is off. If IAI is turned off then campaigns generated from this template will indicate false. The real value will then be returned if IAI is ever enabled for the org in the future. | [optional] [default to $false] +**Status** | **String** | The campaign's current status. | [optional] [readonly] +**CorrelatedStatus** | [**SystemCollectionsHashtable**](.md) | The correlatedStatus of the campaign. Only SOURCE_OWNER campaigns can be Uncorrelated. An Uncorrelated certification campaign only includes Uncorrelated identities (An identity is uncorrelated if it has no accounts on an authoritative source). | [optional] +**Created** | **System.DateTime** | Created time of the campaign | [optional] [readonly] +**TotalCertifications** | **Int32** | The total number of certifications in this campaign. | [optional] [readonly] +**CompletedCertifications** | **Int32** | The number of completed certifications in this campaign. | [optional] [readonly] +**Alerts** | [**CampaignAlert[]**](CampaignAlert.md) | A list of errors and warnings that have accumulated. | [optional] [readonly] +**Modified** | **System.DateTime** | Modified time of the campaign | [optional] [readonly] +**VarFilter** | [**CampaignAllOfFilter**](CampaignAllOfFilter.md) | | [optional] +**SunsetCommentsRequired** | **Boolean** | Determines if comments on sunset date changes are required. | [optional] [default to $true] +**SourceOwnerCampaignInfo** | [**CampaignAllOfSourceOwnerCampaignInfo**](CampaignAllOfSourceOwnerCampaignInfo.md) | | [optional] +**SearchCampaignInfo** | [**CampaignAllOfSearchCampaignInfo**](CampaignAllOfSearchCampaignInfo.md) | | [optional] +**RoleCompositionCampaignInfo** | [**CampaignAllOfRoleCompositionCampaignInfo**](CampaignAllOfRoleCompositionCampaignInfo.md) | | [optional] +**SourcesWithOrphanEntitlements** | [**CampaignAllOfSourcesWithOrphanEntitlements[]**](CampaignAllOfSourcesWithOrphanEntitlements.md) | A list of sources in the campaign that contain \""orphan entitlements\"" (entitlements without a corresponding Managed Attribute). An empty list indicates the campaign has no orphan entitlements. Null indicates there may be unknown orphan entitlements in the campaign (the campaign was created before this feature was implemented). | [optional] [readonly] +**MandatoryCommentRequirement** | **String** | Determines whether comments are required for decisions during certification reviews. You can require comments for all decisions, revoke-only decisions, or no decisions. By default, comments are not required for decisions. | [optional] + +## Examples + +- Prepare the resource +```powershell +$GetActiveCampaigns200ResponseInner = Initialize-PSSailpointV2024GetActiveCampaigns200ResponseInner -Id 2c9079b270a266a60170a2779fcb0007 ` + -Name Manager Campaign ` + -Description Everyone needs to be reviewed by their manager ` + -Deadline 2020-03-15T10:00:01.456Z ` + -Type MANAGER ` + -EmailNotificationEnabled false ` + -AutoRevokeAllowed false ` + -RecommendationsEnabled true ` + -Status ACTIVE ` + -CorrelatedStatus CORRELATED ` + -Created 2020-03-03T22:15:13.611Z ` + -TotalCertifications 100 ` + -CompletedCertifications 10 ` + -Alerts null ` + -Modified 2020-03-03T22:20:12.674Z ` + -VarFilter null ` + -SunsetCommentsRequired true ` + -SourceOwnerCampaignInfo null ` + -SearchCampaignInfo null ` + -RoleCompositionCampaignInfo null ` + -SourcesWithOrphanEntitlements null ` + -MandatoryCommentRequirement NO_DECISIONS +``` + +- Convert the resource to JSON +```powershell +$GetActiveCampaigns200ResponseInner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/GetHistoricalIdentityEvents200ResponseInner.md b/PSSailpoint/v2024/docs/GetHistoricalIdentityEvents200ResponseInner.md new file mode 100644 index 000000000..e04e65863 --- /dev/null +++ b/PSSailpoint/v2024/docs/GetHistoricalIdentityEvents200ResponseInner.md @@ -0,0 +1,49 @@ +# GetHistoricalIdentityEvents200ResponseInner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AccessItem** | [**AccessItemAssociatedAccessItem**](AccessItemAssociatedAccessItem.md) | | [optional] +**IdentityId** | **String** | the identity id | [optional] +**EventType** | **String** | the event type | [optional] +**Dt** | **String** | the date of event | [optional] +**GovernanceEvent** | [**CorrelatedGovernanceEvent**](CorrelatedGovernanceEvent.md) | | [optional] +**Changes** | [**AttributeChange[]**](AttributeChange.md) | | [optional] +**AccessRequest** | [**AccessRequestResponse**](AccessRequestResponse.md) | | [optional] +**CertificationId** | **String** | the id of the certification item | [optional] +**CertificationName** | **String** | the certification item name | [optional] +**SignedDate** | **String** | the date ceritification was signed | [optional] +**Certifiers** | [**CertifierResponse[]**](CertifierResponse.md) | this field is deprecated and may go away | [optional] +**Reviewers** | [**CertifierResponse[]**](CertifierResponse.md) | The list of identities who review this certification | [optional] +**Signer** | [**CertifierResponse**](CertifierResponse.md) | | [optional] +**Account** | [**AccountStatusChangedAccount**](AccountStatusChangedAccount.md) | | [optional] +**StatusChange** | [**AccountStatusChangedStatusChange**](AccountStatusChangedStatusChange.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$GetHistoricalIdentityEvents200ResponseInner = Initialize-PSSailpointV2024GetHistoricalIdentityEvents200ResponseInner -AccessItem null ` + -IdentityId null ` + -EventType null ` + -Dt null ` + -GovernanceEvent null ` + -Changes null ` + -AccessRequest null ` + -CertificationId 2c91808a77ff216301782327a50f09bf ` + -CertificationName Cert name ` + -SignedDate 2019-03-08T22:37:33.901Z ` + -Certifiers [{id=8a80828f643d484f01643e14202e206f, displayName=John Snow}] ` + -Reviewers [{id=8a80828f643d484f01643e14202e206f, displayName=John Snow}] ` + -Signer null ` + -Account null ` + -StatusChange null +``` + +- Convert the resource to JSON +```powershell +$GetHistoricalIdentityEvents200ResponseInner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/GetOAuthClientResponse.md b/PSSailpoint/v2024/docs/GetOAuthClientResponse.md new file mode 100644 index 000000000..6149e880b --- /dev/null +++ b/PSSailpoint/v2024/docs/GetOAuthClientResponse.md @@ -0,0 +1,61 @@ +# GetOAuthClientResponse +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | ID of the OAuth client | +**BusinessName** | **String** | The name of the business the API Client should belong to | +**HomepageUrl** | **String** | The homepage URL associated with the owner of the API Client | +**Name** | **String** | A human-readable name for the API Client | +**Description** | **String** | A description of the API Client | +**AccessTokenValiditySeconds** | **Int32** | The number of seconds an access token generated for this API Client is valid for | +**RefreshTokenValiditySeconds** | **Int32** | The number of seconds a refresh token generated for this API Client is valid for | +**RedirectUris** | **String[]** | A list of the approved redirect URIs used with the authorization_code flow | +**GrantTypes** | [**GrantType[]**](GrantType.md) | A list of OAuth 2.0 grant types this API Client can be used with | +**AccessType** | [**AccessType**](AccessType.md) | | +**Type** | [**ClientType**](ClientType.md) | | +**Internal** | **Boolean** | An indicator of whether the API Client can be used for requests internal to IDN | +**Enabled** | **Boolean** | An indicator of whether the API Client is enabled for use | +**StrongAuthSupported** | **Boolean** | An indicator of whether the API Client supports strong authentication | +**ClaimsSupported** | **Boolean** | An indicator of whether the API Client supports the serialization of SAML claims when used with the authorization_code flow | +**Created** | **System.DateTime** | The date and time, down to the millisecond, when the API Client was created | +**Modified** | **System.DateTime** | The date and time, down to the millisecond, when the API Client was last updated | +**Secret** | **String** | | [optional] +**Metadata** | **String** | | [optional] +**LastUsed** | **System.DateTime** | The date and time, down to the millisecond, when this API Client was last used to generate an access token. This timestamp does not get updated on every API Client usage, but only once a day. This property can be useful for identifying which API Clients are no longer actively used and can be removed. | [optional] +**Scope** | **String[]** | Scopes of the API Client. | + +## Examples + +- Prepare the resource +```powershell +$GetOAuthClientResponse = Initialize-PSSailpointV2024GetOAuthClientResponse -Id 2c9180835d2e5168015d32f890ca1581 ` + -BusinessName Acme-Solar ` + -HomepageUrl http://localhost:12345 ` + -Name Demo API Client ` + -Description An API client used for the authorization_code, refresh_token, and client_credentials flows ` + -AccessTokenValiditySeconds 750 ` + -RefreshTokenValiditySeconds 86400 ` + -RedirectUris [http://localhost:12345] ` + -GrantTypes [AUTHORIZATION_CODE, CLIENT_CREDENTIALS, REFRESH_TOKEN] ` + -AccessType null ` + -Type null ` + -Internal false ` + -Enabled true ` + -StrongAuthSupported false ` + -ClaimsSupported false ` + -Created 2017-07-11T18:45:37.098Z ` + -Modified 2018-06-25T20:22:28.104Z ` + -Secret null ` + -Metadata null ` + -LastUsed 2017-07-11T18:45:37.098Z ` + -Scope [demo:api-client-scope:first, demo:api-client-scope:second] +``` + +- Convert the resource to JSON +```powershell +$GetOAuthClientResponse | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/GetPersonalAccessTokenResponse.md b/PSSailpoint/v2024/docs/GetPersonalAccessTokenResponse.md new file mode 100644 index 000000000..9e0fd700d --- /dev/null +++ b/PSSailpoint/v2024/docs/GetPersonalAccessTokenResponse.md @@ -0,0 +1,33 @@ +# GetPersonalAccessTokenResponse +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The ID of the personal access token (to be used as the username for Basic Auth). | +**Name** | **String** | The name of the personal access token. Cannot be the same as other personal access tokens owned by a user. | +**Scope** | **String[]** | Scopes of the personal access token. | +**Owner** | [**PatOwner**](PatOwner.md) | | +**Created** | **System.DateTime** | The date and time, down to the millisecond, when this personal access token was created. | +**LastUsed** | **System.DateTime** | The date and time, down to the millisecond, when this personal access token was last used to generate an access token. This timestamp does not get updated on every PAT usage, but only once a day. This property can be useful for identifying which PATs are no longer actively used and can be removed. | [optional] +**Managed** | **Boolean** | If true, this token is managed by the SailPoint platform, and is not visible in the user interface. For example, Workflows will create managed personal access tokens for users who create workflows. | [optional] [default to $false] + +## Examples + +- Prepare the resource +```powershell +$GetPersonalAccessTokenResponse = Initialize-PSSailpointV2024GetPersonalAccessTokenResponse -Id 86f1dc6fe8f54414950454cbb11278fa ` + -Name NodeJS Integration ` + -Scope [demo:personal-access-token-scope:first, demo:personal-access-token-scope:second] ` + -Owner null ` + -Created 2017-07-11T18:45:37.098Z ` + -LastUsed 2017-07-11T18:45:37.098Z ` + -Managed false +``` + +- Convert the resource to JSON +```powershell +$GetPersonalAccessTokenResponse | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/GetReferenceIdentityAttribute.md b/PSSailpoint/v2024/docs/GetReferenceIdentityAttribute.md new file mode 100644 index 000000000..81ea607f2 --- /dev/null +++ b/PSSailpoint/v2024/docs/GetReferenceIdentityAttribute.md @@ -0,0 +1,27 @@ +# GetReferenceIdentityAttribute +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | This must always be set to ""Cloud Services Deployment Utility"" | +**Operation** | **String** | The operation to perform `getReferenceIdentityAttribute` | +**Uid** | **String** | This is the SailPoint User Name (uid) value of the identity whose attribute is desired As a convenience feature, you can use the `manager` keyword to dynamically look up the user's manager and then get that manager's identity attribute. | +**RequiresPeriodicRefresh** | **Boolean** | A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process | [optional] + +## Examples + +- Prepare the resource +```powershell +$GetReferenceIdentityAttribute = Initialize-PSSailpointV2024GetReferenceIdentityAttribute -Name Cloud Services Deployment Utility ` + -Operation getReferenceIdentityAttribute ` + -Uid 2c91808570313110017040b06f344ec9 ` + -RequiresPeriodicRefresh false +``` + +- Convert the resource to JSON +```powershell +$GetReferenceIdentityAttribute | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/GetRoleAssignments200ResponseInner.md b/PSSailpoint/v2024/docs/GetRoleAssignments200ResponseInner.md new file mode 100644 index 000000000..92186555c --- /dev/null +++ b/PSSailpoint/v2024/docs/GetRoleAssignments200ResponseInner.md @@ -0,0 +1,37 @@ +# GetRoleAssignments200ResponseInner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Assignment Id | [optional] +**Role** | [**BaseReferenceDto1**](BaseReferenceDto1.md) | | [optional] +**Comments** | **String** | Comments added by the user when the assignment was made | [optional] +**AssignmentSource** | **String** | Source describing how this assignment was made | [optional] +**Assigner** | [**BaseReferenceDto1**](BaseReferenceDto1.md) | | [optional] +**AssignedDimensions** | [**BaseReferenceDto1[]**](BaseReferenceDto1.md) | Dimensions assigned related to this role | [optional] +**AssignmentContext** | [**AssignmentContextDto**](AssignmentContextDto.md) | | [optional] +**AccountTargets** | [**RoleTargetDto[]**](RoleTargetDto.md) | | [optional] +**RemoveDate** | **String** | Date that the assignment will be removed | [optional] + +## Examples + +- Prepare the resource +```powershell +$GetRoleAssignments200ResponseInner = Initialize-PSSailpointV2024GetRoleAssignments200ResponseInner -Id 1cbb0705b38c4226b1334eadd8874086 ` + -Role null ` + -Comments I'm a new Engineer and need this role to do my work ` + -AssignmentSource UI ` + -Assigner null ` + -AssignedDimensions [{id=1acc8ffe5fcf457090de28bee2af36ee, type=DIMENSION, name=Northeast region}] ` + -AssignmentContext null ` + -AccountTargets null ` + -RemoveDate Wed Feb 14 10:58:42 +``` + +- Convert the resource to JSON +```powershell +$GetRoleAssignments200ResponseInner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/GrantType.md b/PSSailpoint/v2024/docs/GrantType.md new file mode 100644 index 000000000..91b4646a4 --- /dev/null +++ b/PSSailpoint/v2024/docs/GrantType.md @@ -0,0 +1,20 @@ +# GrantType +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$GrantType = Initialize-PSSailpointV2024GrantType +``` + +- Convert the resource to JSON +```powershell +$GrantType | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/HttpAuthenticationType.md b/PSSailpoint/v2024/docs/HttpAuthenticationType.md new file mode 100644 index 000000000..093a8fac8 --- /dev/null +++ b/PSSailpoint/v2024/docs/HttpAuthenticationType.md @@ -0,0 +1,20 @@ +# HttpAuthenticationType +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$HttpAuthenticationType = Initialize-PSSailpointV2024HttpAuthenticationType +``` + +- Convert the resource to JSON +```powershell +$HttpAuthenticationType | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/HttpConfig.md b/PSSailpoint/v2024/docs/HttpConfig.md new file mode 100644 index 000000000..1aed27319 --- /dev/null +++ b/PSSailpoint/v2024/docs/HttpConfig.md @@ -0,0 +1,29 @@ +# HttpConfig +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Url** | **String** | URL of the external/custom integration. | +**HttpDispatchMode** | [**HttpDispatchMode**](HttpDispatchMode.md) | | +**HttpAuthenticationType** | [**HttpAuthenticationType**](HttpAuthenticationType.md) | | [optional] +**BasicAuthConfig** | [**BasicAuthConfig**](BasicAuthConfig.md) | | [optional] +**BearerTokenAuthConfig** | [**BearerTokenAuthConfig**](BearerTokenAuthConfig.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$HttpConfig = Initialize-PSSailpointV2024HttpConfig -Url https://www.example.com ` + -HttpDispatchMode null ` + -HttpAuthenticationType null ` + -BasicAuthConfig null ` + -BearerTokenAuthConfig null +``` + +- Convert the resource to JSON +```powershell +$HttpConfig | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/HttpDispatchMode.md b/PSSailpoint/v2024/docs/HttpDispatchMode.md new file mode 100644 index 000000000..6dd1fe18f --- /dev/null +++ b/PSSailpoint/v2024/docs/HttpDispatchMode.md @@ -0,0 +1,20 @@ +# HttpDispatchMode +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$HttpDispatchMode = Initialize-PSSailpointV2024HttpDispatchMode +``` + +- Convert the resource to JSON +```powershell +$HttpDispatchMode | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ISO3166.md b/PSSailpoint/v2024/docs/ISO3166.md new file mode 100644 index 000000000..a59021c5b --- /dev/null +++ b/PSSailpoint/v2024/docs/ISO3166.md @@ -0,0 +1,25 @@ +# ISO3166 +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Format** | **String** | An optional value to denote which ISO 3166 format to return. Valid values are: `alpha2` - Two-character country code (e.g., ""US""); this is the default value if no format is supplied `alpha3` - Three-character country code (e.g., ""USA"") `numeric` - The numeric country code (e.g., ""840"") | [optional] +**RequiresPeriodicRefresh** | **Boolean** | A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process | [optional] [default to $false] +**VarInput** | [**System.Collections.Hashtable**](AnyType.md) | This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI. | [optional] + +## Examples + +- Prepare the resource +```powershell +$ISO3166 = Initialize-PSSailpointV2024ISO3166 -Format alpha2 ` + -RequiresPeriodicRefresh false ` + -VarInput {type=accountAttribute, attributes={attributeName=first_name, sourceName=Source}} +``` + +- Convert the resource to JSON +```powershell +$ISO3166 | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/IdentitiesAccountsBulkRequest.md b/PSSailpoint/v2024/docs/IdentitiesAccountsBulkRequest.md new file mode 100644 index 000000000..1a7487772 --- /dev/null +++ b/PSSailpoint/v2024/docs/IdentitiesAccountsBulkRequest.md @@ -0,0 +1,21 @@ +# IdentitiesAccountsBulkRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**IdentityIds** | **String[]** | The ids of the identities for which enable/disable accounts. | [optional] + +## Examples + +- Prepare the resource +```powershell +$IdentitiesAccountsBulkRequest = Initialize-PSSailpointV2024IdentitiesAccountsBulkRequest -IdentityIds [2c91808384203c2d018437e631158308, 2c9180858082150f0180893dbaf553fe] +``` + +- Convert the resource to JSON +```powershell +$IdentitiesAccountsBulkRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/IdentitiesDetailsReportArguments.md b/PSSailpoint/v2024/docs/IdentitiesDetailsReportArguments.md new file mode 100644 index 000000000..e142c8594 --- /dev/null +++ b/PSSailpoint/v2024/docs/IdentitiesDetailsReportArguments.md @@ -0,0 +1,21 @@ +# IdentitiesDetailsReportArguments +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**CorrelatedOnly** | **Boolean** | Boolean FLAG to specify if only correlated identities should be used in report processing | [default to $false] + +## Examples + +- Prepare the resource +```powershell +$IdentitiesDetailsReportArguments = Initialize-PSSailpointV2024IdentitiesDetailsReportArguments -CorrelatedOnly true +``` + +- Convert the resource to JSON +```powershell +$IdentitiesDetailsReportArguments | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/IdentitiesReportArguments.md b/PSSailpoint/v2024/docs/IdentitiesReportArguments.md new file mode 100644 index 000000000..d5a1d588e --- /dev/null +++ b/PSSailpoint/v2024/docs/IdentitiesReportArguments.md @@ -0,0 +1,21 @@ +# IdentitiesReportArguments +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**CorrelatedOnly** | **Boolean** | Boolean FLAG to specify if only correlated identities should be used in report processing | [optional] [default to $false] + +## Examples + +- Prepare the resource +```powershell +$IdentitiesReportArguments = Initialize-PSSailpointV2024IdentitiesReportArguments -CorrelatedOnly true +``` + +- Convert the resource to JSON +```powershell +$IdentitiesReportArguments | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Identity.md b/PSSailpoint/v2024/docs/Identity.md new file mode 100644 index 000000000..ad92aa6b3 --- /dev/null +++ b/PSSailpoint/v2024/docs/Identity.md @@ -0,0 +1,45 @@ +# Identity +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | System-generated unique ID of the Object | [optional] [readonly] +**Name** | **String** | Name of the Object | +**Created** | **System.DateTime** | Creation date of the Object | [optional] [readonly] +**Modified** | **System.DateTime** | Last modification date of the Object | [optional] [readonly] +**Alias** | **String** | Alternate unique identifier for the identity | [optional] +**EmailAddress** | **String** | The email address of the identity | [optional] +**ProcessingState** | **String** | The processing state of the identity | [optional] +**IdentityStatus** | **String** | The identity's status in the system | [optional] +**ManagerRef** | [**IdentityDtoManagerRef**](IdentityDtoManagerRef.md) | | [optional] +**IsManager** | **Boolean** | Whether this identity is a manager of another identity | [optional] [default to $false] +**LastRefresh** | **System.DateTime** | The last time the identity was refreshed by the system | [optional] +**Attributes** | [**SystemCollectionsHashtable**](.md) | A map with the identity attributes for the identity | [optional] +**LifecycleState** | [**IdentityDtoLifecycleState**](IdentityDtoLifecycleState.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$Identity = Initialize-PSSailpointV2024Identity -Id id12345 ` + -Name aName ` + -Created 2023-01-03T21:16:22.432Z ` + -Modified 2023-01-03T21:16:22.432Z ` + -Alias walter.white ` + -EmailAddress sender@example.com ` + -ProcessingState ERROR ` + -IdentityStatus LOCKED ` + -ManagerRef null ` + -IsManager true ` + -LastRefresh 2020-11-22T15:42:31.123Z ` + -Attributes {"uid":"Walter White","firstname":"walter","cloudStatus":"UNREGISTERED","displayName":"Walter White","identificationNumber":"942","lastSyncDate":1470348809380,"email":"walter@gmail.com","lastname":"white"} ` + -LifecycleState null +``` + +- Convert the resource to JSON +```powershell +$Identity | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Identity1.md b/PSSailpoint/v2024/docs/Identity1.md new file mode 100644 index 000000000..300f38b4a --- /dev/null +++ b/PSSailpoint/v2024/docs/Identity1.md @@ -0,0 +1,23 @@ +# Identity1 +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The ID of the object | [optional] +**Name** | **String** | Human-readable display name of the object | [optional] + +## Examples + +- Prepare the resource +```powershell +$Identity1 = Initialize-PSSailpointV2024Identity1 -Id 2c91808380aa05580180aaaaf1940410 ` + -Name William Wilson +``` + +- Convert the resource to JSON +```powershell +$Identity1 | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/IdentityAccess.md b/PSSailpoint/v2024/docs/IdentityAccess.md new file mode 100644 index 000000000..819ab0edc --- /dev/null +++ b/PSSailpoint/v2024/docs/IdentityAccess.md @@ -0,0 +1,45 @@ +# IdentityAccess +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The unique ID of the referenced object. | [optional] +**Name** | **String** | The human readable name of the referenced object. | [optional] +**DisplayName** | **String** | | [optional] +**Type** | [**DtoType**](DtoType.md) | | [optional] +**Description** | **String** | | [optional] +**Source** | [**Reference1**](Reference1.md) | | [optional] +**Owner** | [**DisplayReference**](DisplayReference.md) | | [optional] +**Revocable** | **Boolean** | | [optional] +**Privileged** | **Boolean** | | [optional] +**Attribute** | **String** | | [optional] +**Value** | **String** | | [optional] +**Standalone** | **Boolean** | | [optional] +**Disabled** | **Boolean** | | [optional] + +## Examples + +- Prepare the resource +```powershell +$IdentityAccess = Initialize-PSSailpointV2024IdentityAccess -Id 2c91808568c529c60168cca6f90c1313 ` + -Name John Doe ` + -DisplayName John Q. Doe ` + -Type null ` + -Description null ` + -Source null ` + -Owner null ` + -Revocable null ` + -Privileged false ` + -Attribute memberOf ` + -Value CN=Buyer,OU=Groups,OU=Demo,DC=seri,DC=sailpointdemo,DC=com ` + -Standalone false ` + -Disabled null +``` + +- Convert the resource to JSON +```powershell +$IdentityAccess | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/IdentityAssociationDetails.md b/PSSailpoint/v2024/docs/IdentityAssociationDetails.md new file mode 100644 index 000000000..0decd5d64 --- /dev/null +++ b/PSSailpoint/v2024/docs/IdentityAssociationDetails.md @@ -0,0 +1,23 @@ +# IdentityAssociationDetails +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Message** | **String** | any additional context information of the http call result | [optional] +**AssociationDetails** | [**IdentityAssociationDetailsAssociationDetailsInner[]**](IdentityAssociationDetailsAssociationDetailsInner.md) | list of all the resource associations for the identity | [optional] + +## Examples + +- Prepare the resource +```powershell +$IdentityAssociationDetails = Initialize-PSSailpointV2024IdentityAssociationDetails -Message Identity cannot be deleted as it is owner of following resources ` + -AssociationDetails null +``` + +- Convert the resource to JSON +```powershell +$IdentityAssociationDetails | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/IdentityAssociationDetailsAssociationDetailsInner.md b/PSSailpoint/v2024/docs/IdentityAssociationDetailsAssociationDetailsInner.md new file mode 100644 index 000000000..fb45c5aee --- /dev/null +++ b/PSSailpoint/v2024/docs/IdentityAssociationDetailsAssociationDetailsInner.md @@ -0,0 +1,23 @@ +# IdentityAssociationDetailsAssociationDetailsInner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AssociationType** | **String** | association type with the identity | [optional] +**Entities** | [**IdentityEntities[]**](IdentityEntities.md) | the specific resource this identity has ownership on | [optional] + +## Examples + +- Prepare the resource +```powershell +$IdentityAssociationDetailsAssociationDetailsInner = Initialize-PSSailpointV2024IdentityAssociationDetailsAssociationDetailsInner -AssociationType CAMPAIGN_OWNER ` + -Entities {id=b660a232f05b4e04812ca974b3011e0f, name=Gaston.800ddf9640a, type=CAMPAIGN_CAMPAIGNER} +``` + +- Convert the resource to JSON +```powershell +$IdentityAssociationDetailsAssociationDetailsInner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/IdentityAttribute.md b/PSSailpoint/v2024/docs/IdentityAttribute.md new file mode 100644 index 000000000..b31264408 --- /dev/null +++ b/PSSailpoint/v2024/docs/IdentityAttribute.md @@ -0,0 +1,35 @@ +# IdentityAttribute +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | Identity attribute's technical name. | +**DisplayName** | **String** | Identity attribute's business-friendly name. | [optional] +**Standard** | **Boolean** | Indicates whether the attribute is 'standard' or 'default'. | [optional] [default to $false] +**Type** | **String** | Identity attribute's type. | [optional] +**Multi** | **Boolean** | Indicates whether the identity attribute is multi-valued. | [optional] [default to $false] +**Searchable** | **Boolean** | Indicates whether the identity attribute is searchable. | [optional] [default to $false] +**System** | **Boolean** | Indicates whether the identity attribute is 'system', meaning that it doesn't have a source and isn't configurable. | [optional] [default to $false] +**Sources** | [**Source1[]**](Source1.md) | Identity attribute's list of sources - this specifies how the rule's value is derived. | [optional] + +## Examples + +- Prepare the resource +```powershell +$IdentityAttribute = Initialize-PSSailpointV2024IdentityAttribute -Name costCenter ` + -DisplayName Cost Center ` + -Standard false ` + -Type string ` + -Multi false ` + -Searchable false ` + -System false ` + -Sources null +``` + +- Convert the resource to JSON +```powershell +$IdentityAttribute | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/IdentityAttribute1.md b/PSSailpoint/v2024/docs/IdentityAttribute1.md new file mode 100644 index 000000000..2aa308916 --- /dev/null +++ b/PSSailpoint/v2024/docs/IdentityAttribute1.md @@ -0,0 +1,25 @@ +# IdentityAttribute1 +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | The system (camel-cased) name of the identity attribute to bring in | +**RequiresPeriodicRefresh** | **Boolean** | A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process | [optional] [default to $false] +**VarInput** | [**System.Collections.Hashtable**](AnyType.md) | This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI. | [optional] + +## Examples + +- Prepare the resource +```powershell +$IdentityAttribute1 = Initialize-PSSailpointV2024IdentityAttribute1 -Name email ` + -RequiresPeriodicRefresh false ` + -VarInput {type=accountAttribute, attributes={attributeName=first_name, sourceName=Source}} +``` + +- Convert the resource to JSON +```powershell +$IdentityAttribute1 | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/IdentityAttribute2.md b/PSSailpoint/v2024/docs/IdentityAttribute2.md new file mode 100644 index 000000000..b1befaa91 --- /dev/null +++ b/PSSailpoint/v2024/docs/IdentityAttribute2.md @@ -0,0 +1,25 @@ +# IdentityAttribute2 +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Key** | **String** | The attribute key | [optional] +**Name** | **String** | Human-readable display name of the attribute | [optional] +**Value** | **String** | The attribute value | [optional] + +## Examples + +- Prepare the resource +```powershell +$IdentityAttribute2 = Initialize-PSSailpointV2024IdentityAttribute2 -Key country ` + -Name Country ` + -Value US +``` + +- Convert the resource to JSON +```powershell +$IdentityAttribute2 | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/IdentityAttributeConfig.md b/PSSailpoint/v2024/docs/IdentityAttributeConfig.md new file mode 100644 index 000000000..01fad0e9f --- /dev/null +++ b/PSSailpoint/v2024/docs/IdentityAttributeConfig.md @@ -0,0 +1,23 @@ +# IdentityAttributeConfig +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Enabled** | **Boolean** | The backend will only promote values if the profile/mapping is enabled. | [optional] [default to $false] +**AttributeTransforms** | [**IdentityAttributeTransform[]**](IdentityAttributeTransform.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$IdentityAttributeConfig = Initialize-PSSailpointV2024IdentityAttributeConfig -Enabled true ` + -AttributeTransforms null +``` + +- Convert the resource to JSON +```powershell +$IdentityAttributeConfig | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/IdentityAttributeNames.md b/PSSailpoint/v2024/docs/IdentityAttributeNames.md new file mode 100644 index 000000000..543537b9b --- /dev/null +++ b/PSSailpoint/v2024/docs/IdentityAttributeNames.md @@ -0,0 +1,21 @@ +# IdentityAttributeNames +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Ids** | **String[]** | List of identity attributes' technical names. | [optional] + +## Examples + +- Prepare the resource +```powershell +$IdentityAttributeNames = Initialize-PSSailpointV2024IdentityAttributeNames -Ids [name, displayName] +``` + +- Convert the resource to JSON +```powershell +$IdentityAttributeNames | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/IdentityAttributePreview.md b/PSSailpoint/v2024/docs/IdentityAttributePreview.md new file mode 100644 index 000000000..64391e70f --- /dev/null +++ b/PSSailpoint/v2024/docs/IdentityAttributePreview.md @@ -0,0 +1,27 @@ +# IdentityAttributePreview +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | Name of the attribute that is being previewed. | [optional] +**Value** | [**SystemCollectionsHashtable**](.md) | Value that was derived during the preview. | [optional] +**PreviousValue** | [**SystemCollectionsHashtable**](.md) | The value of the attribute before the preview. | [optional] +**ErrorMessages** | [**ErrorMessageDto[]**](ErrorMessageDto.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$IdentityAttributePreview = Initialize-PSSailpointV2024IdentityAttributePreview -Name email ` + -Value email@mail.com ` + -PreviousValue oldEmail@mail.com ` + -ErrorMessages null +``` + +- Convert the resource to JSON +```powershell +$IdentityAttributePreview | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/IdentityAttributeTransform.md b/PSSailpoint/v2024/docs/IdentityAttributeTransform.md new file mode 100644 index 000000000..fad93d59c --- /dev/null +++ b/PSSailpoint/v2024/docs/IdentityAttributeTransform.md @@ -0,0 +1,23 @@ +# IdentityAttributeTransform +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**IdentityAttributeName** | **String** | Name of the identity attribute. | [optional] +**TransformDefinition** | [**TransformDefinition**](TransformDefinition.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$IdentityAttributeTransform = Initialize-PSSailpointV2024IdentityAttributeTransform -IdentityAttributeName email ` + -TransformDefinition null +``` + +- Convert the resource to JSON +```powershell +$IdentityAttributeTransform | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/IdentityAttributesChanged.md b/PSSailpoint/v2024/docs/IdentityAttributesChanged.md new file mode 100644 index 000000000..757846635 --- /dev/null +++ b/PSSailpoint/v2024/docs/IdentityAttributesChanged.md @@ -0,0 +1,23 @@ +# IdentityAttributesChanged +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Identity** | [**IdentityAttributesChangedIdentity**](IdentityAttributesChangedIdentity.md) | | +**Changes** | [**IdentityAttributesChangedChangesInner[]**](IdentityAttributesChangedChangesInner.md) | A list of one or more identity attributes that changed on the identity. | + +## Examples + +- Prepare the resource +```powershell +$IdentityAttributesChanged = Initialize-PSSailpointV2024IdentityAttributesChanged -Identity null ` + -Changes null +``` + +- Convert the resource to JSON +```powershell +$IdentityAttributesChanged | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/IdentityAttributesChangedChangesInner.md b/PSSailpoint/v2024/docs/IdentityAttributesChangedChangesInner.md new file mode 100644 index 000000000..da5b5a545 --- /dev/null +++ b/PSSailpoint/v2024/docs/IdentityAttributesChangedChangesInner.md @@ -0,0 +1,25 @@ +# IdentityAttributesChangedChangesInner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Attribute** | **String** | The name of the identity attribute that changed. | +**OldValue** | [**IdentityAttributesChangedChangesInnerOldValue**](IdentityAttributesChangedChangesInnerOldValue.md) | | [optional] +**NewValue** | [**IdentityAttributesChangedChangesInnerNewValue**](IdentityAttributesChangedChangesInnerNewValue.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$IdentityAttributesChangedChangesInner = Initialize-PSSailpointV2024IdentityAttributesChangedChangesInner -Attribute department ` + -OldValue null ` + -NewValue null +``` + +- Convert the resource to JSON +```powershell +$IdentityAttributesChangedChangesInner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/IdentityAttributesChangedChangesInnerNewValue.md b/PSSailpoint/v2024/docs/IdentityAttributesChangedChangesInnerNewValue.md new file mode 100644 index 000000000..0da008413 --- /dev/null +++ b/PSSailpoint/v2024/docs/IdentityAttributesChangedChangesInnerNewValue.md @@ -0,0 +1,20 @@ +# IdentityAttributesChangedChangesInnerNewValue +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$IdentityAttributesChangedChangesInnerNewValue = Initialize-PSSailpointV2024IdentityAttributesChangedChangesInnerNewValue +``` + +- Convert the resource to JSON +```powershell +$IdentityAttributesChangedChangesInnerNewValue | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/IdentityAttributesChangedChangesInnerOldValue.md b/PSSailpoint/v2024/docs/IdentityAttributesChangedChangesInnerOldValue.md new file mode 100644 index 000000000..6215c9940 --- /dev/null +++ b/PSSailpoint/v2024/docs/IdentityAttributesChangedChangesInnerOldValue.md @@ -0,0 +1,20 @@ +# IdentityAttributesChangedChangesInnerOldValue +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$IdentityAttributesChangedChangesInnerOldValue = Initialize-PSSailpointV2024IdentityAttributesChangedChangesInnerOldValue +``` + +- Convert the resource to JSON +```powershell +$IdentityAttributesChangedChangesInnerOldValue | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/IdentityAttributesChangedChangesInnerOldValueOneOfValue.md b/PSSailpoint/v2024/docs/IdentityAttributesChangedChangesInnerOldValueOneOfValue.md new file mode 100644 index 000000000..acb80d520 --- /dev/null +++ b/PSSailpoint/v2024/docs/IdentityAttributesChangedChangesInnerOldValueOneOfValue.md @@ -0,0 +1,20 @@ +# IdentityAttributesChangedChangesInnerOldValueOneOfValue +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$IdentityAttributesChangedChangesInnerOldValueOneOfValue = Initialize-PSSailpointV2024IdentityAttributesChangedChangesInnerOldValueOneOfValue +``` + +- Convert the resource to JSON +```powershell +$IdentityAttributesChangedChangesInnerOldValueOneOfValue | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/IdentityAttributesChangedIdentity.md b/PSSailpoint/v2024/docs/IdentityAttributesChangedIdentity.md new file mode 100644 index 000000000..b56eabc51 --- /dev/null +++ b/PSSailpoint/v2024/docs/IdentityAttributesChangedIdentity.md @@ -0,0 +1,25 @@ +# IdentityAttributesChangedIdentity +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | DTO type of identity whose attributes changed. | +**Id** | **String** | ID of identity whose attributes changed. | +**Name** | **String** | Display name of identity whose attributes changed. | + +## Examples + +- Prepare the resource +```powershell +$IdentityAttributesChangedIdentity = Initialize-PSSailpointV2024IdentityAttributesChangedIdentity -Type IDENTITY ` + -Id 2c7180a46faadee4016fb4e018c20642 ` + -Name Michael Michaels +``` + +- Convert the resource to JSON +```powershell +$IdentityAttributesChangedIdentity | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/IdentityCertDecisionSummary.md b/PSSailpoint/v2024/docs/IdentityCertDecisionSummary.md new file mode 100644 index 000000000..129af6bd0 --- /dev/null +++ b/PSSailpoint/v2024/docs/IdentityCertDecisionSummary.md @@ -0,0 +1,51 @@ +# IdentityCertDecisionSummary +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**EntitlementDecisionsMade** | **Int32** | Number of entitlement decisions that have been made | [optional] +**AccessProfileDecisionsMade** | **Int32** | Number of access profile decisions that have been made | [optional] +**RoleDecisionsMade** | **Int32** | Number of role decisions that have been made | [optional] +**AccountDecisionsMade** | **Int32** | Number of account decisions that have been made | [optional] +**EntitlementDecisionsTotal** | **Int32** | The total number of entitlement decisions on the certification, both complete and incomplete | [optional] +**AccessProfileDecisionsTotal** | **Int32** | The total number of access profile decisions on the certification, both complete and incomplete | [optional] +**RoleDecisionsTotal** | **Int32** | The total number of role decisions on the certification, both complete and incomplete | [optional] +**AccountDecisionsTotal** | **Int32** | The total number of account decisions on the certification, both complete and incomplete | [optional] +**EntitlementsApproved** | **Int32** | The number of entitlement decisions that have been made which were approved | [optional] +**EntitlementsRevoked** | **Int32** | The number of entitlement decisions that have been made which were revoked | [optional] +**AccessProfilesApproved** | **Int32** | The number of access profile decisions that have been made which were approved | [optional] +**AccessProfilesRevoked** | **Int32** | The number of access profile decisions that have been made which were revoked | [optional] +**RolesApproved** | **Int32** | The number of role decisions that have been made which were approved | [optional] +**RolesRevoked** | **Int32** | The number of role decisions that have been made which were revoked | [optional] +**AccountsApproved** | **Int32** | The number of account decisions that have been made which were approved | [optional] +**AccountsRevoked** | **Int32** | The number of account decisions that have been made which were revoked | [optional] + +## Examples + +- Prepare the resource +```powershell +$IdentityCertDecisionSummary = Initialize-PSSailpointV2024IdentityCertDecisionSummary -EntitlementDecisionsMade 3 ` + -AccessProfileDecisionsMade 5 ` + -RoleDecisionsMade 2 ` + -AccountDecisionsMade 4 ` + -EntitlementDecisionsTotal 6 ` + -AccessProfileDecisionsTotal 10 ` + -RoleDecisionsTotal 4 ` + -AccountDecisionsTotal 8 ` + -EntitlementsApproved 2 ` + -EntitlementsRevoked 1 ` + -AccessProfilesApproved 3 ` + -AccessProfilesRevoked 2 ` + -RolesApproved 2 ` + -RolesRevoked 0 ` + -AccountsApproved 1 ` + -AccountsRevoked 3 +``` + +- Convert the resource to JSON +```powershell +$IdentityCertDecisionSummary | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/IdentityCertificationDto.md b/PSSailpoint/v2024/docs/IdentityCertificationDto.md new file mode 100644 index 000000000..3a099bca6 --- /dev/null +++ b/PSSailpoint/v2024/docs/IdentityCertificationDto.md @@ -0,0 +1,53 @@ +# IdentityCertificationDto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | id of the certification | [optional] +**Name** | **String** | name of the certification | [optional] +**Campaign** | [**CampaignReference**](CampaignReference.md) | | [optional] +**Completed** | **Boolean** | Have all decisions been made? | [optional] +**IdentitiesCompleted** | **Int32** | The number of identities for whom all decisions have been made and are complete. | [optional] +**IdentitiesTotal** | **Int32** | The total number of identities in the Certification, both complete and incomplete. | [optional] +**Created** | **System.DateTime** | created date | [optional] +**Modified** | **System.DateTime** | modified date | [optional] +**DecisionsMade** | **Int32** | The number of approve/revoke/acknowledge decisions that have been made. | [optional] +**DecisionsTotal** | **Int32** | The total number of approve/revoke/acknowledge decisions. | [optional] +**Due** | **System.DateTime** | The due date of the certification. | [optional] +**Signed** | **System.DateTime** | The date the reviewer signed off on the Certification. | [optional] +**Reviewer** | [**Reviewer**](Reviewer.md) | | [optional] +**Reassignment** | [**Reassignment**](Reassignment.md) | | [optional] +**HasErrors** | **Boolean** | Identifies if the certification has an error | [optional] +**ErrorMessage** | **String** | Description of the certification error | [optional] +**Phase** | [**CertificationPhase**](CertificationPhase.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$IdentityCertificationDto = Initialize-PSSailpointV2024IdentityCertificationDto -Id 2c9180835d2e5168015d32f890ca1581 ` + -Name Source Owner Access Review for Employees [source] ` + -Campaign null ` + -Completed true ` + -IdentitiesCompleted 5 ` + -IdentitiesTotal 10 ` + -Created 2018-06-25T20:22:28.104Z ` + -Modified 2018-06-25T20:22:28.104Z ` + -DecisionsMade 20 ` + -DecisionsTotal 40 ` + -Due 2018-10-19T13:49:37.385Z ` + -Signed 2018-10-19T13:49:37.385Z ` + -Reviewer null ` + -Reassignment null ` + -HasErrors false ` + -ErrorMessage The certification has an error ` + -Phase null +``` + +- Convert the resource to JSON +```powershell +$IdentityCertificationDto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/IdentityCertified.md b/PSSailpoint/v2024/docs/IdentityCertified.md new file mode 100644 index 000000000..ffc729359 --- /dev/null +++ b/PSSailpoint/v2024/docs/IdentityCertified.md @@ -0,0 +1,35 @@ +# IdentityCertified +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**CertificationId** | **String** | the id of the certification item | [optional] +**CertificationName** | **String** | the certification item name | [optional] +**SignedDate** | **String** | the date ceritification was signed | [optional] +**Certifiers** | [**CertifierResponse[]**](CertifierResponse.md) | this field is deprecated and may go away | [optional] +**Reviewers** | [**CertifierResponse[]**](CertifierResponse.md) | The list of identities who review this certification | [optional] +**Signer** | [**CertifierResponse**](CertifierResponse.md) | | [optional] +**EventType** | **String** | the event type | [optional] +**Dt** | **String** | the date of event | [optional] + +## Examples + +- Prepare the resource +```powershell +$IdentityCertified = Initialize-PSSailpointV2024IdentityCertified -CertificationId 2c91808a77ff216301782327a50f09bf ` + -CertificationName Cert name ` + -SignedDate 2019-03-08T22:37:33.901Z ` + -Certifiers [{id=8a80828f643d484f01643e14202e206f, displayName=John Snow}] ` + -Reviewers [{id=8a80828f643d484f01643e14202e206f, displayName=John Snow}] ` + -Signer null ` + -EventType IdentityCertified ` + -Dt 2019-03-08T22:37:33.901Z +``` + +- Convert the resource to JSON +```powershell +$IdentityCertified | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/IdentityCompareResponse.md b/PSSailpoint/v2024/docs/IdentityCompareResponse.md new file mode 100644 index 000000000..680d77892 --- /dev/null +++ b/PSSailpoint/v2024/docs/IdentityCompareResponse.md @@ -0,0 +1,21 @@ +# IdentityCompareResponse +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AccessItemDiff** | [**System.Collections.Hashtable**](SystemCollectionsHashtable.md) | Arbitrary key-value pairs. They will never be processed by the IdentityNow system but will be returned on completion of the violation check. | [optional] + +## Examples + +- Prepare the resource +```powershell +$IdentityCompareResponse = Initialize-PSSailpointV2024IdentityCompareResponse -AccessItemDiff null +``` + +- Convert the resource to JSON +```powershell +$IdentityCompareResponse | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/IdentityCreated.md b/PSSailpoint/v2024/docs/IdentityCreated.md new file mode 100644 index 000000000..9d322085d --- /dev/null +++ b/PSSailpoint/v2024/docs/IdentityCreated.md @@ -0,0 +1,23 @@ +# IdentityCreated +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Identity** | [**IdentityCreatedIdentity**](IdentityCreatedIdentity.md) | | +**Attributes** | [**System.Collections.Hashtable**](AnyType.md) | The attributes assigned to the identity. Attributes are determined by the identity profile. | + +## Examples + +- Prepare the resource +```powershell +$IdentityCreated = Initialize-PSSailpointV2024IdentityCreated -Identity null ` + -Attributes {firstname=John} +``` + +- Convert the resource to JSON +```powershell +$IdentityCreated | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/IdentityCreatedIdentity.md b/PSSailpoint/v2024/docs/IdentityCreatedIdentity.md new file mode 100644 index 000000000..1c4e6d545 --- /dev/null +++ b/PSSailpoint/v2024/docs/IdentityCreatedIdentity.md @@ -0,0 +1,25 @@ +# IdentityCreatedIdentity +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | Created identity's DTO type. | +**Id** | **String** | Created identity ID. | +**Name** | **String** | Created identity's display name. | + +## Examples + +- Prepare the resource +```powershell +$IdentityCreatedIdentity = Initialize-PSSailpointV2024IdentityCreatedIdentity -Type IDENTITY ` + -Id 2c7180a46faadee4016fb4e018c20642 ` + -Name Michael Michaels +``` + +- Convert the resource to JSON +```powershell +$IdentityCreatedIdentity | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/IdentityDeleted.md b/PSSailpoint/v2024/docs/IdentityDeleted.md new file mode 100644 index 000000000..9e04d841d --- /dev/null +++ b/PSSailpoint/v2024/docs/IdentityDeleted.md @@ -0,0 +1,23 @@ +# IdentityDeleted +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Identity** | [**IdentityDeletedIdentity**](IdentityDeletedIdentity.md) | | +**Attributes** | [**System.Collections.Hashtable**](AnyType.md) | The attributes assigned to the identity. Attributes are determined by the identity profile. | + +## Examples + +- Prepare the resource +```powershell +$IdentityDeleted = Initialize-PSSailpointV2024IdentityDeleted -Identity null ` + -Attributes {firstname=John} +``` + +- Convert the resource to JSON +```powershell +$IdentityDeleted | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/IdentityDeletedIdentity.md b/PSSailpoint/v2024/docs/IdentityDeletedIdentity.md new file mode 100644 index 000000000..0e27ab157 --- /dev/null +++ b/PSSailpoint/v2024/docs/IdentityDeletedIdentity.md @@ -0,0 +1,25 @@ +# IdentityDeletedIdentity +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | Deleted identity's DTO type. | +**Id** | **String** | Deleted identity ID. | +**Name** | **String** | Deleted identity's display name. | + +## Examples + +- Prepare the resource +```powershell +$IdentityDeletedIdentity = Initialize-PSSailpointV2024IdentityDeletedIdentity -Type IDENTITY ` + -Id 2c7180a46faadee4016fb4e018c20642 ` + -Name Michael Michaels +``` + +- Convert the resource to JSON +```powershell +$IdentityDeletedIdentity | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/IdentityDocument.md b/PSSailpoint/v2024/docs/IdentityDocument.md new file mode 100644 index 000000000..92d71be21 --- /dev/null +++ b/PSSailpoint/v2024/docs/IdentityDocument.md @@ -0,0 +1,87 @@ +# IdentityDocument +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The unique ID of the referenced object. | +**Name** | **String** | The human readable name of the referenced object. | +**Type** | [**DocumentType**](DocumentType.md) | | +**DisplayName** | **String** | Identity's display name. | [optional] +**FirstName** | **String** | Identity's first name. | [optional] +**LastName** | **String** | Identity's last name. | [optional] +**Email** | **String** | Identity's primary email address. | [optional] +**Created** | **System.DateTime** | ISO-8601 date-time referring to the time when the object was created. | [optional] +**Modified** | **System.DateTime** | ISO-8601 date-time referring to the time when the object was last modified. | [optional] +**Phone** | **String** | Identity's phone number. | [optional] +**Synced** | **String** | ISO-8601 date-time referring to the date-time when object was queued to be synced into search database for use in the search API. This date-time changes anytime there is an update to the object, which triggers a synchronization event being sent to the search database. There may be some delay between the `synced` time and the time when the updated data is actually available in the search API. | [optional] +**Inactive** | **Boolean** | Indicates whether the identity is inactive. | [optional] [default to $false] +**Protected** | **Boolean** | Indicates whether the identity is protected. | [optional] [default to $false] +**Status** | **String** | Identity's status in SailPoint. | [optional] +**EmployeeNumber** | **String** | Identity's employee number. | [optional] +**Manager** | [**IdentityDocumentAllOfManager**](IdentityDocumentAllOfManager.md) | | [optional] +**IsManager** | **Boolean** | Indicates whether the identity is a manager of other identities. | [optional] +**IdentityProfile** | [**IdentityDocumentAllOfIdentityProfile**](IdentityDocumentAllOfIdentityProfile.md) | | [optional] +**Source** | [**IdentityDocumentAllOfSource**](IdentityDocumentAllOfSource.md) | | [optional] +**Attributes** | [**System.Collections.Hashtable**](AnyType.md) | Map or dictionary of key/value pairs. | [optional] +**ProcessingState** | **String** | Identity's processing state. | [optional] +**ProcessingDetails** | [**ProcessingDetails**](ProcessingDetails.md) | | [optional] +**Accounts** | [**BaseAccount[]**](BaseAccount.md) | List of accounts associated with the identity. | [optional] +**AccountCount** | **Int32** | Number of accounts associated with the identity. | [optional] +**Apps** | [**App[]**](App.md) | List of applications the identity has access to. | [optional] +**AppCount** | **Int32** | Number of applications the identity has access to. | [optional] +**Access** | [**IdentityAccess[]**](IdentityAccess.md) | List of access items assigned to the identity. | [optional] +**AccessCount** | **Int32** | Number of access items assigned to the identity. | [optional] +**EntitlementCount** | **Int32** | Number of entitlements assigned to the identity. | [optional] +**RoleCount** | **Int32** | Number of roles assigned to the identity. | [optional] +**AccessProfileCount** | **Int32** | Number of access profiles assigned to the identity. | [optional] +**Owns** | [**Owns[]**](Owns.md) | Access items the identity owns. | [optional] +**OwnsCount** | **Int32** | Number of access items the identity owns. | [optional] +**Tags** | **String[]** | Tags that have been applied to the object. | [optional] + +## Examples + +- Prepare the resource +```powershell +$IdentityDocument = Initialize-PSSailpointV2024IdentityDocument -Id 2c91808568c529c60168cca6f90c1313 ` + -Name John Doe ` + -Type null ` + -DisplayName Carol.Adams ` + -FirstName Carol ` + -LastName Adams ` + -Email Carol.Adams@sailpointdemo.com ` + -Created 2018-06-25T20:22:28.104Z ` + -Modified 2018-06-25T20:22:28.104Z ` + -Phone +1 440-527-3672 ` + -Synced null ` + -Inactive false ` + -Protected false ` + -Status UNREGISTERED ` + -EmployeeNumber 1a2a3d4e ` + -Manager null ` + -IsManager false ` + -IdentityProfile null ` + -Source null ` + -Attributes {country=US, firstname=Carol, cloudStatus=UNREGISTERED} ` + -ProcessingState null ` + -ProcessingDetails null ` + -Accounts null ` + -AccountCount 3 ` + -Apps null ` + -AppCount 2 ` + -Access null ` + -AccessCount 5 ` + -EntitlementCount 10 ` + -RoleCount 1 ` + -AccessProfileCount 1 ` + -Owns null ` + -OwnsCount 5 ` + -Tags [TAG_1, TAG_2] +``` + +- Convert the resource to JSON +```powershell +$IdentityDocument | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/IdentityDocumentAllOfIdentityProfile.md b/PSSailpoint/v2024/docs/IdentityDocumentAllOfIdentityProfile.md new file mode 100644 index 000000000..d8f99f2c6 --- /dev/null +++ b/PSSailpoint/v2024/docs/IdentityDocumentAllOfIdentityProfile.md @@ -0,0 +1,23 @@ +# IdentityDocumentAllOfIdentityProfile +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Identity profile's ID. | [optional] +**Name** | **String** | Identity profile's name. | [optional] + +## Examples + +- Prepare the resource +```powershell +$IdentityDocumentAllOfIdentityProfile = Initialize-PSSailpointV2024IdentityDocumentAllOfIdentityProfile -Id 3bc8ad26b8664945866b31339d1ff7d2 ` + -Name HR Employees +``` + +- Convert the resource to JSON +```powershell +$IdentityDocumentAllOfIdentityProfile | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/IdentityDocumentAllOfManager.md b/PSSailpoint/v2024/docs/IdentityDocumentAllOfManager.md new file mode 100644 index 000000000..3dc7ddc27 --- /dev/null +++ b/PSSailpoint/v2024/docs/IdentityDocumentAllOfManager.md @@ -0,0 +1,25 @@ +# IdentityDocumentAllOfManager +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | ID of identity's manager. | [optional] +**Name** | **String** | Name of identity's manager. | [optional] +**DisplayName** | **String** | Display name of identity's manager. | [optional] + +## Examples + +- Prepare the resource +```powershell +$IdentityDocumentAllOfManager = Initialize-PSSailpointV2024IdentityDocumentAllOfManager -Id 2c9180867dfe694b017e208e27c05799 ` + -Name Amanda.Ross ` + -DisplayName Amanda.Ross +``` + +- Convert the resource to JSON +```powershell +$IdentityDocumentAllOfManager | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/IdentityDocumentAllOfSource.md b/PSSailpoint/v2024/docs/IdentityDocumentAllOfSource.md new file mode 100644 index 000000000..09ceff62a --- /dev/null +++ b/PSSailpoint/v2024/docs/IdentityDocumentAllOfSource.md @@ -0,0 +1,23 @@ +# IdentityDocumentAllOfSource +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | ID of identity's source. | [optional] +**Name** | **String** | Display name of identity's source. | [optional] + +## Examples + +- Prepare the resource +```powershell +$IdentityDocumentAllOfSource = Initialize-PSSailpointV2024IdentityDocumentAllOfSource -Id 2c91808b6e9e6fb8016eec1a2b6f7b5f ` + -Name ODS-HR-Employees +``` + +- Convert the resource to JSON +```powershell +$IdentityDocumentAllOfSource | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/IdentityDtoLifecycleState.md b/PSSailpoint/v2024/docs/IdentityDtoLifecycleState.md new file mode 100644 index 000000000..97cd7de54 --- /dev/null +++ b/PSSailpoint/v2024/docs/IdentityDtoLifecycleState.md @@ -0,0 +1,23 @@ +# IdentityDtoLifecycleState +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**StateName** | **String** | The name of the lifecycle state | +**ManuallyUpdated** | **Boolean** | Whether the lifecycle state has been manually or automatically set | + +## Examples + +- Prepare the resource +```powershell +$IdentityDtoLifecycleState = Initialize-PSSailpointV2024IdentityDtoLifecycleState -StateName active ` + -ManuallyUpdated true +``` + +- Convert the resource to JSON +```powershell +$IdentityDtoLifecycleState | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/IdentityDtoManagerRef.md b/PSSailpoint/v2024/docs/IdentityDtoManagerRef.md new file mode 100644 index 000000000..acb48b35b --- /dev/null +++ b/PSSailpoint/v2024/docs/IdentityDtoManagerRef.md @@ -0,0 +1,25 @@ +# IdentityDtoManagerRef +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | DTO type of identity's manager. | [optional] +**Id** | **String** | ID of identity's manager. | [optional] +**Name** | **String** | Human-readable display name of identity's manager. | [optional] + +## Examples + +- Prepare the resource +```powershell +$IdentityDtoManagerRef = Initialize-PSSailpointV2024IdentityDtoManagerRef -Type IDENTITY ` + -Id 2c4180a46faadee4016fb4e018c20626 ` + -Name Robert Robinson +``` + +- Convert the resource to JSON +```powershell +$IdentityDtoManagerRef | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/IdentityEntities.md b/PSSailpoint/v2024/docs/IdentityEntities.md new file mode 100644 index 000000000..94c917486 --- /dev/null +++ b/PSSailpoint/v2024/docs/IdentityEntities.md @@ -0,0 +1,21 @@ +# IdentityEntities +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**IdentityEntity** | [**IdentityEntitiesIdentityEntity**](IdentityEntitiesIdentityEntity.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$IdentityEntities = Initialize-PSSailpointV2024IdentityEntities -IdentityEntity null +``` + +- Convert the resource to JSON +```powershell +$IdentityEntities | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/IdentityEntitiesIdentityEntity.md b/PSSailpoint/v2024/docs/IdentityEntitiesIdentityEntity.md new file mode 100644 index 000000000..c1d5b43ae --- /dev/null +++ b/PSSailpoint/v2024/docs/IdentityEntitiesIdentityEntity.md @@ -0,0 +1,25 @@ +# IdentityEntitiesIdentityEntity +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | id of the resource to which the identity is associated | [optional] +**Name** | **String** | name of the resource to which the identity is associated | [optional] +**Type** | **String** | type of the resource to which the identity is associated | [optional] + +## Examples + +- Prepare the resource +```powershell +$IdentityEntitiesIdentityEntity = Initialize-PSSailpointV2024IdentityEntitiesIdentityEntity -Id 031034e97f094a4096c1be53f75f6b91 ` + -Name Gaston.800ddf9640a ` + -Type CAMPAIGN_CAMPAIGNER +``` + +- Convert the resource to JSON +```powershell +$IdentityEntitiesIdentityEntity | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/IdentityExceptionReportReference.md b/PSSailpoint/v2024/docs/IdentityExceptionReportReference.md new file mode 100644 index 000000000..896ddb1db --- /dev/null +++ b/PSSailpoint/v2024/docs/IdentityExceptionReportReference.md @@ -0,0 +1,23 @@ +# IdentityExceptionReportReference +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**TaskResultId** | **String** | The id of the task result. | [optional] +**ReportName** | **String** | The name of the report. | [optional] + +## Examples + +- Prepare the resource +```powershell +$IdentityExceptionReportReference = Initialize-PSSailpointV2024IdentityExceptionReportReference -TaskResultId 2b838de9-db9b-abcf-e646-d4f274ad4238 ` + -ReportName My annual report +``` + +- Convert the resource to JSON +```powershell +$IdentityExceptionReportReference | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/IdentityHistoryResponse.md b/PSSailpoint/v2024/docs/IdentityHistoryResponse.md new file mode 100644 index 000000000..45c7b4c7a --- /dev/null +++ b/PSSailpoint/v2024/docs/IdentityHistoryResponse.md @@ -0,0 +1,31 @@ +# IdentityHistoryResponse +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | the identity ID | [optional] +**DisplayName** | **String** | the display name of the identity | [optional] +**Snapshot** | **String** | the date when the identity record was created | [optional] +**DeletedDate** | **String** | the date when the identity was deleted | [optional] +**AccessItemCount** | **System.Collections.Hashtable** | A map containing the count of each access item | [optional] +**Attributes** | [**System.Collections.Hashtable**](AnyType.md) | A map containing the identity attributes | [optional] + +## Examples + +- Prepare the resource +```powershell +$IdentityHistoryResponse = Initialize-PSSailpointV2024IdentityHistoryResponse -Id bc693f07e7b645539626c25954c58554 ` + -DisplayName Adam Zampa ` + -Snapshot 2007-03-01T13:00:00.000Z ` + -DeletedDate 2007-03-01T13:00:00.000Z ` + -AccessItemCount {app=0, role=2, entitlement=4, accessProfile=3, account=1} ` + -Attributes {jobTitle=HR Manager, location=NYC, firstname=Adam, lastname=Zampa, department=HR} +``` + +- Convert the resource to JSON +```powershell +$IdentityHistoryResponse | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/IdentityListItem.md b/PSSailpoint/v2024/docs/IdentityListItem.md new file mode 100644 index 000000000..9d403564b --- /dev/null +++ b/PSSailpoint/v2024/docs/IdentityListItem.md @@ -0,0 +1,31 @@ +# IdentityListItem +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | the identity ID | [optional] +**DisplayName** | **String** | the display name of the identity | [optional] +**FirstName** | **String** | the first name of the identity | [optional] +**LastName** | **String** | the last name of the identity | [optional] +**Active** | **Boolean** | indicates if an identity is active or not | [optional] [default to $true] +**DeletedDate** | **String** | the date when the identity was deleted | [optional] + +## Examples + +- Prepare the resource +```powershell +$IdentityListItem = Initialize-PSSailpointV2024IdentityListItem -Id bc693f07e7b645539626c25954c58554 ` + -DisplayName Adam Zampa ` + -FirstName Adam ` + -LastName Zampa ` + -Active true ` + -DeletedDate 2007-03-01T13:00:00.000Z +``` + +- Convert the resource to JSON +```powershell +$IdentityListItem | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/IdentityOwnershipAssociationDetails.md b/PSSailpoint/v2024/docs/IdentityOwnershipAssociationDetails.md new file mode 100644 index 000000000..468859552 --- /dev/null +++ b/PSSailpoint/v2024/docs/IdentityOwnershipAssociationDetails.md @@ -0,0 +1,21 @@ +# IdentityOwnershipAssociationDetails +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AssociationDetails** | [**IdentityOwnershipAssociationDetailsAssociationDetailsInner[]**](IdentityOwnershipAssociationDetailsAssociationDetailsInner.md) | list of all the resource associations for the identity | [optional] + +## Examples + +- Prepare the resource +```powershell +$IdentityOwnershipAssociationDetails = Initialize-PSSailpointV2024IdentityOwnershipAssociationDetails -AssociationDetails null +``` + +- Convert the resource to JSON +```powershell +$IdentityOwnershipAssociationDetails | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/IdentityOwnershipAssociationDetailsAssociationDetailsInner.md b/PSSailpoint/v2024/docs/IdentityOwnershipAssociationDetailsAssociationDetailsInner.md new file mode 100644 index 000000000..aee91cd26 --- /dev/null +++ b/PSSailpoint/v2024/docs/IdentityOwnershipAssociationDetailsAssociationDetailsInner.md @@ -0,0 +1,23 @@ +# IdentityOwnershipAssociationDetailsAssociationDetailsInner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AssociationType** | **String** | association type with the identity | [optional] +**Entities** | [**IdentityEntities[]**](IdentityEntities.md) | the specific resource this identity has ownership on | [optional] + +## Examples + +- Prepare the resource +```powershell +$IdentityOwnershipAssociationDetailsAssociationDetailsInner = Initialize-PSSailpointV2024IdentityOwnershipAssociationDetailsAssociationDetailsInner -AssociationType ROLE_OWNER ` + -Entities {id=b660a232f05b4e04812ca974b3011e0f, name=Gaston.800ddf9640a, type=ROLE} +``` + +- Convert the resource to JSON +```powershell +$IdentityOwnershipAssociationDetailsAssociationDetailsInner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/IdentityPreviewRequest.md b/PSSailpoint/v2024/docs/IdentityPreviewRequest.md new file mode 100644 index 000000000..0c37fc62d --- /dev/null +++ b/PSSailpoint/v2024/docs/IdentityPreviewRequest.md @@ -0,0 +1,23 @@ +# IdentityPreviewRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**IdentityId** | **String** | The Identity id | [optional] +**IdentityAttributeConfig** | [**IdentityAttributeConfig[]**](IdentityAttributeConfig.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$IdentityPreviewRequest = Initialize-PSSailpointV2024IdentityPreviewRequest -IdentityId null ` + -IdentityAttributeConfig null +``` + +- Convert the resource to JSON +```powershell +$IdentityPreviewRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/IdentityPreviewResponse.md b/PSSailpoint/v2024/docs/IdentityPreviewResponse.md new file mode 100644 index 000000000..a6993f941 --- /dev/null +++ b/PSSailpoint/v2024/docs/IdentityPreviewResponse.md @@ -0,0 +1,23 @@ +# IdentityPreviewResponse +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Identity** | [**IdentityPreviewResponseIdentity**](IdentityPreviewResponseIdentity.md) | | [optional] +**PreviewAttributes** | [**IdentityAttributePreview[]**](IdentityAttributePreview.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$IdentityPreviewResponse = Initialize-PSSailpointV2024IdentityPreviewResponse -Identity null ` + -PreviewAttributes null +``` + +- Convert the resource to JSON +```powershell +$IdentityPreviewResponse | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/IdentityPreviewResponseIdentity.md b/PSSailpoint/v2024/docs/IdentityPreviewResponseIdentity.md new file mode 100644 index 000000000..b1755cfd8 --- /dev/null +++ b/PSSailpoint/v2024/docs/IdentityPreviewResponseIdentity.md @@ -0,0 +1,25 @@ +# IdentityPreviewResponseIdentity +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | Identity's DTO type. | [optional] +**Id** | **String** | Identity ID. | [optional] +**Name** | **String** | Identity's display name. | [optional] + +## Examples + +- Prepare the resource +```powershell +$IdentityPreviewResponseIdentity = Initialize-PSSailpointV2024IdentityPreviewResponseIdentity -Type IDENTITY ` + -Id 2c7180a46faadee4016fb4e018c20642 ` + -Name Michael Michaels +``` + +- Convert the resource to JSON +```powershell +$IdentityPreviewResponseIdentity | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/IdentityProfile.md b/PSSailpoint/v2024/docs/IdentityProfile.md new file mode 100644 index 000000000..c845a81db --- /dev/null +++ b/PSSailpoint/v2024/docs/IdentityProfile.md @@ -0,0 +1,45 @@ +# IdentityProfile +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | System-generated unique ID of the Object | [optional] [readonly] +**Name** | **String** | Name of the Object | +**Created** | **System.DateTime** | Creation date of the Object | [optional] [readonly] +**Modified** | **System.DateTime** | Last modification date of the Object | [optional] [readonly] +**Description** | **String** | The description of the Identity Profile. | [optional] +**Owner** | [**IdentityProfileAllOfOwner**](IdentityProfileAllOfOwner.md) | | [optional] +**Priority** | **Int64** | The priority for an Identity Profile. | [optional] +**AuthoritativeSource** | [**IdentityProfileAllOfAuthoritativeSource**](IdentityProfileAllOfAuthoritativeSource.md) | | +**IdentityRefreshRequired** | **Boolean** | True if a identity refresh is needed. Typically triggered when a change on the source has been made. | [optional] [default to $false] +**IdentityCount** | **Int32** | The number of identities that belong to the Identity Profile. | [optional] +**IdentityAttributeConfig** | [**IdentityAttributeConfig**](IdentityAttributeConfig.md) | | [optional] +**IdentityExceptionReportReference** | [**IdentityExceptionReportReference**](IdentityExceptionReportReference.md) | | [optional] +**HasTimeBasedAttr** | **Boolean** | Indicates the value of requiresPeriodicRefresh attribute for the Identity Profile. | [optional] [default to $false] + +## Examples + +- Prepare the resource +```powershell +$IdentityProfile = Initialize-PSSailpointV2024IdentityProfile -Id id12345 ` + -Name aName ` + -Created 2015-05-28T14:07:17Z ` + -Modified 2015-05-28T14:07:17Z ` + -Description My custom flat file profile ` + -Owner null ` + -Priority 10 ` + -AuthoritativeSource null ` + -IdentityRefreshRequired true ` + -IdentityCount 8 ` + -IdentityAttributeConfig null ` + -IdentityExceptionReportReference null ` + -HasTimeBasedAttr true +``` + +- Convert the resource to JSON +```powershell +$IdentityProfile | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/IdentityProfileAllOfAuthoritativeSource.md b/PSSailpoint/v2024/docs/IdentityProfileAllOfAuthoritativeSource.md new file mode 100644 index 000000000..fa4565a07 --- /dev/null +++ b/PSSailpoint/v2024/docs/IdentityProfileAllOfAuthoritativeSource.md @@ -0,0 +1,25 @@ +# IdentityProfileAllOfAuthoritativeSource +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | Type of the object to which this reference applies | [optional] +**Id** | **String** | ID of the object to which this reference applies | [optional] +**Name** | **String** | Human-readable display name of the object to which this reference applies | [optional] + +## Examples + +- Prepare the resource +```powershell +$IdentityProfileAllOfAuthoritativeSource = Initialize-PSSailpointV2024IdentityProfileAllOfAuthoritativeSource -Type SOURCE ` + -Id 2c9180835d191a86015d28455b4b232a ` + -Name HR Active Directory +``` + +- Convert the resource to JSON +```powershell +$IdentityProfileAllOfAuthoritativeSource | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/IdentityProfileAllOfOwner.md b/PSSailpoint/v2024/docs/IdentityProfileAllOfOwner.md new file mode 100644 index 000000000..7bfb57d69 --- /dev/null +++ b/PSSailpoint/v2024/docs/IdentityProfileAllOfOwner.md @@ -0,0 +1,25 @@ +# IdentityProfileAllOfOwner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | Type of the object to which this reference applies | [optional] +**Id** | **String** | ID of the object to which this reference applies | [optional] +**Name** | **String** | Human-readable display name of the object to which this reference applies | [optional] + +## Examples + +- Prepare the resource +```powershell +$IdentityProfileAllOfOwner = Initialize-PSSailpointV2024IdentityProfileAllOfOwner -Type IDENTITY ` + -Id 2c9180835d191a86015d28455b4b232a ` + -Name William Wilson +``` + +- Convert the resource to JSON +```powershell +$IdentityProfileAllOfOwner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/IdentityProfileExportedObject.md b/PSSailpoint/v2024/docs/IdentityProfileExportedObject.md new file mode 100644 index 000000000..df01be519 --- /dev/null +++ b/PSSailpoint/v2024/docs/IdentityProfileExportedObject.md @@ -0,0 +1,25 @@ +# IdentityProfileExportedObject +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Version** | **Int32** | Version or object from the target service. | [optional] +**Self** | [**IdentityProfileExportedObjectSelf**](IdentityProfileExportedObjectSelf.md) | | [optional] +**Object** | [**IdentityProfile**](IdentityProfile.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$IdentityProfileExportedObject = Initialize-PSSailpointV2024IdentityProfileExportedObject -Version 1 ` + -Self null ` + -Object null +``` + +- Convert the resource to JSON +```powershell +$IdentityProfileExportedObject | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/IdentityProfileExportedObjectSelf.md b/PSSailpoint/v2024/docs/IdentityProfileExportedObjectSelf.md new file mode 100644 index 000000000..7469d2cb1 --- /dev/null +++ b/PSSailpoint/v2024/docs/IdentityProfileExportedObjectSelf.md @@ -0,0 +1,25 @@ +# IdentityProfileExportedObjectSelf +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | Exported object's DTO type. | [optional] +**Id** | **String** | Exported object's ID. | [optional] +**Name** | **String** | Exported object's display name. | [optional] + +## Examples + +- Prepare the resource +```powershell +$IdentityProfileExportedObjectSelf = Initialize-PSSailpointV2024IdentityProfileExportedObjectSelf -Type SOURCE ` + -Id 2c9180835d191a86015d28455b4b232a ` + -Name HR Active Directory +``` + +- Convert the resource to JSON +```powershell +$IdentityProfileExportedObjectSelf | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/IdentityProfileIdentityErrorReportArguments.md b/PSSailpoint/v2024/docs/IdentityProfileIdentityErrorReportArguments.md new file mode 100644 index 000000000..a4b2cf1e5 --- /dev/null +++ b/PSSailpoint/v2024/docs/IdentityProfileIdentityErrorReportArguments.md @@ -0,0 +1,21 @@ +# IdentityProfileIdentityErrorReportArguments +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AuthoritativeSource** | **String** | Source Id to be checked on errors of identity profiles aggregation | + +## Examples + +- Prepare the resource +```powershell +$IdentityProfileIdentityErrorReportArguments = Initialize-PSSailpointV2024IdentityProfileIdentityErrorReportArguments -AuthoritativeSource 1234sourceId5678902 +``` + +- Convert the resource to JSON +```powershell +$IdentityProfileIdentityErrorReportArguments | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/IdentityReference.md b/PSSailpoint/v2024/docs/IdentityReference.md new file mode 100644 index 000000000..503e47c97 --- /dev/null +++ b/PSSailpoint/v2024/docs/IdentityReference.md @@ -0,0 +1,25 @@ +# IdentityReference +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | [**DtoType**](DtoType.md) | | [optional] +**Id** | **String** | Identity id | [optional] +**Name** | **String** | Human-readable display name of identity. | [optional] + +## Examples + +- Prepare the resource +```powershell +$IdentityReference = Initialize-PSSailpointV2024IdentityReference -Type null ` + -Id 2c9180a46faadee4016fb4e018c20639 ` + -Name Thomas Edison +``` + +- Convert the resource to JSON +```powershell +$IdentityReference | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/IdentityReferenceWithNameAndEmail.md b/PSSailpoint/v2024/docs/IdentityReferenceWithNameAndEmail.md new file mode 100644 index 000000000..987e1d0f3 --- /dev/null +++ b/PSSailpoint/v2024/docs/IdentityReferenceWithNameAndEmail.md @@ -0,0 +1,27 @@ +# IdentityReferenceWithNameAndEmail +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | The type can only be IDENTITY. This is read-only. | [optional] +**Id** | **String** | Identity ID. | [optional] +**Name** | **String** | Identity's human-readable display name. This is read-only. | [optional] +**Email** | **String** | Identity's email address. This is read-only. | [optional] + +## Examples + +- Prepare the resource +```powershell +$IdentityReferenceWithNameAndEmail = Initialize-PSSailpointV2024IdentityReferenceWithNameAndEmail -Type IDENTITY ` + -Id 5168015d32f890ca15812c9180835d2e ` + -Name Alison Ferguso ` + -Email alison.ferguso@identitysoon.com +``` + +- Convert the resource to JSON +```powershell +$IdentityReferenceWithNameAndEmail | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/IdentitySnapshotSummaryResponse.md b/PSSailpoint/v2024/docs/IdentitySnapshotSummaryResponse.md new file mode 100644 index 000000000..ace312c73 --- /dev/null +++ b/PSSailpoint/v2024/docs/IdentitySnapshotSummaryResponse.md @@ -0,0 +1,21 @@ +# IdentitySnapshotSummaryResponse +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Snapshot** | **String** | the date when the identity record was created | [optional] + +## Examples + +- Prepare the resource +```powershell +$IdentitySnapshotSummaryResponse = Initialize-PSSailpointV2024IdentitySnapshotSummaryResponse -Snapshot 2007-03-01T13:00:00.000Z +``` + +- Convert the resource to JSON +```powershell +$IdentitySnapshotSummaryResponse | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/IdentitySummary.md b/PSSailpoint/v2024/docs/IdentitySummary.md new file mode 100644 index 000000000..b034a50fb --- /dev/null +++ b/PSSailpoint/v2024/docs/IdentitySummary.md @@ -0,0 +1,27 @@ +# IdentitySummary +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | ID of this identity summary | [optional] +**Name** | **String** | Human-readable display name of identity | [optional] +**IdentityId** | **String** | ID of the identity that this summary represents | [optional] +**Completed** | **Boolean** | Indicates if all access items for this summary have been decided on | [optional] [default to $false] + +## Examples + +- Prepare the resource +```powershell +$IdentitySummary = Initialize-PSSailpointV2024IdentitySummary -Id ff80818155fe8c080155fe8d925b0316 ` + -Name SailPoint Services ` + -IdentityId c15b9f5cca5a4e9599eaa0e64fa921bd ` + -Completed true +``` + +- Convert the resource to JSON +```powershell +$IdentitySummary | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/IdentitySyncJob.md b/PSSailpoint/v2024/docs/IdentitySyncJob.md new file mode 100644 index 000000000..7c75c5e10 --- /dev/null +++ b/PSSailpoint/v2024/docs/IdentitySyncJob.md @@ -0,0 +1,25 @@ +# IdentitySyncJob +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Job ID. | +**Status** | **String** | The job status. | +**Payload** | [**IdentitySyncPayload**](IdentitySyncPayload.md) | | + +## Examples + +- Prepare the resource +```powershell +$IdentitySyncJob = Initialize-PSSailpointV2024IdentitySyncJob -Id 0f11f2a4-7c94-4bf3-a2bd-742580fe3bde ` + -Status IN_PROGRESS ` + -Payload null +``` + +- Convert the resource to JSON +```powershell +$IdentitySyncJob | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/IdentitySyncPayload.md b/PSSailpoint/v2024/docs/IdentitySyncPayload.md new file mode 100644 index 000000000..0469da72e --- /dev/null +++ b/PSSailpoint/v2024/docs/IdentitySyncPayload.md @@ -0,0 +1,23 @@ +# IdentitySyncPayload +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | Payload type. | +**DataJson** | **String** | Payload type. | + +## Examples + +- Prepare the resource +```powershell +$IdentitySyncPayload = Initialize-PSSailpointV2024IdentitySyncPayload -Type SYNCHRONIZE_IDENTITY_ATTRIBUTES ` + -DataJson {"identityId":"2c918083746f642c01746f990884012a"} +``` + +- Convert the resource to JSON +```powershell +$IdentitySyncPayload | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/IdentityWithNewAccess.md b/PSSailpoint/v2024/docs/IdentityWithNewAccess.md new file mode 100644 index 000000000..a7c4b7715 --- /dev/null +++ b/PSSailpoint/v2024/docs/IdentityWithNewAccess.md @@ -0,0 +1,23 @@ +# IdentityWithNewAccess +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**IdentityId** | **String** | Identity id to be checked. | +**AccessRefs** | [**IdentityWithNewAccessAccessRefsInner[]**](IdentityWithNewAccessAccessRefsInner.md) | The list of entitlements to consider for possible violations in a preventive check. | + +## Examples + +- Prepare the resource +```powershell +$IdentityWithNewAccess = Initialize-PSSailpointV2024IdentityWithNewAccess -IdentityId 2c91808568c529c60168cca6f90c1313 ` + -AccessRefs [{type=ENTITLEMENT, id=2c918087682f9a86016839c050861ab1, name=CN=Information Access,OU=test,OU=test-service,DC=TestAD,DC=local}, {type=ENTITLEMENT, id=2c918087682f9a86016839c0509c1ab2, name=CN=Information Technology,OU=test,OU=test-service,DC=TestAD,DC=local}] +``` + +- Convert the resource to JSON +```powershell +$IdentityWithNewAccess | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/IdentityWithNewAccess1.md b/PSSailpoint/v2024/docs/IdentityWithNewAccess1.md new file mode 100644 index 000000000..790c21851 --- /dev/null +++ b/PSSailpoint/v2024/docs/IdentityWithNewAccess1.md @@ -0,0 +1,25 @@ +# IdentityWithNewAccess1 +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**IdentityId** | **String** | Set of identity IDs to be checked. | +**AccessRefs** | [**EntitlementRef1[]**](EntitlementRef1.md) | The bundle of access profiles to be added to the identities specified. All references must be ENTITLEMENT type. | +**ClientMetadata** | **System.Collections.Hashtable** | Arbitrary key-value pairs. They will never be processed by the IdentityNow system but will be returned on completion of the violation check. | [optional] + +## Examples + +- Prepare the resource +```powershell +$IdentityWithNewAccess1 = Initialize-PSSailpointV2024IdentityWithNewAccess1 -IdentityId 2c91809050db617d0150e0bf3215385e ` + -AccessRefs null ` + -ClientMetadata {clientName=client1, clientId=2c91808f7892918f0178b78da4a305a1} +``` + +- Convert the resource to JSON +```powershell +$IdentityWithNewAccess1 | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/IdentityWithNewAccessAccessRefsInner.md b/PSSailpoint/v2024/docs/IdentityWithNewAccessAccessRefsInner.md new file mode 100644 index 000000000..93f69c06e --- /dev/null +++ b/PSSailpoint/v2024/docs/IdentityWithNewAccessAccessRefsInner.md @@ -0,0 +1,25 @@ +# IdentityWithNewAccessAccessRefsInner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | Entitlement's DTO type. | [optional] +**Id** | **String** | Entitlement's ID. | [optional] +**Name** | **String** | Entitlement's display name. | [optional] + +## Examples + +- Prepare the resource +```powershell +$IdentityWithNewAccessAccessRefsInner = Initialize-PSSailpointV2024IdentityWithNewAccessAccessRefsInner -Type ENTITLEMENT ` + -Id 2c91809773dee32014e13e122092014e ` + -Name CN=entitlement.490efde5,OU=OrgCo,OU=ServiceDept,DC=HQAD,DC=local +``` + +- Convert the resource to JSON +```powershell +$IdentityWithNewAccessAccessRefsInner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ImportAccountsRequest.md b/PSSailpoint/v2024/docs/ImportAccountsRequest.md new file mode 100644 index 000000000..712421e54 --- /dev/null +++ b/PSSailpoint/v2024/docs/ImportAccountsRequest.md @@ -0,0 +1,23 @@ +# ImportAccountsRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**File** | **System.IO.FileInfo** | The CSV file containing the source accounts to aggregate. | [optional] +**DisableOptimization** | **String** | Use this flag to reprocess every account whether or not the data has changed. | [optional] + +## Examples + +- Prepare the resource +```powershell +$ImportAccountsRequest = Initialize-PSSailpointV2024ImportAccountsRequest -File null ` + -DisableOptimization true +``` + +- Convert the resource to JSON +```powershell +$ImportAccountsRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ImportEntitlementsBySourceRequest.md b/PSSailpoint/v2024/docs/ImportEntitlementsBySourceRequest.md new file mode 100644 index 000000000..52f0c8ed0 --- /dev/null +++ b/PSSailpoint/v2024/docs/ImportEntitlementsBySourceRequest.md @@ -0,0 +1,21 @@ +# ImportEntitlementsBySourceRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**CsvFile** | **System.IO.FileInfo** | The CSV file containing the source entitlements to aggregate. | [optional] + +## Examples + +- Prepare the resource +```powershell +$ImportEntitlementsBySourceRequest = Initialize-PSSailpointV2024ImportEntitlementsBySourceRequest -CsvFile null +``` + +- Convert the resource to JSON +```powershell +$ImportEntitlementsBySourceRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ImportFormDefinitions202Response.md b/PSSailpoint/v2024/docs/ImportFormDefinitions202Response.md new file mode 100644 index 000000000..b6bce3bec --- /dev/null +++ b/PSSailpoint/v2024/docs/ImportFormDefinitions202Response.md @@ -0,0 +1,27 @@ +# ImportFormDefinitions202Response +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Errors** | [**ImportFormDefinitions202ResponseErrorsInner[]**](ImportFormDefinitions202ResponseErrorsInner.md) | | [optional] +**ImportedObjects** | [**ExportFormDefinitionsByTenant200ResponseInner[]**](ExportFormDefinitionsByTenant200ResponseInner.md) | | [optional] +**Infos** | [**ImportFormDefinitions202ResponseErrorsInner[]**](ImportFormDefinitions202ResponseErrorsInner.md) | | [optional] +**Warnings** | [**ImportFormDefinitions202ResponseErrorsInner[]**](ImportFormDefinitions202ResponseErrorsInner.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$ImportFormDefinitions202Response = Initialize-PSSailpointV2024ImportFormDefinitions202Response -Errors null ` + -ImportedObjects null ` + -Infos null ` + -Warnings null +``` + +- Convert the resource to JSON +```powershell +$ImportFormDefinitions202Response | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ImportFormDefinitions202ResponseErrorsInner.md b/PSSailpoint/v2024/docs/ImportFormDefinitions202ResponseErrorsInner.md new file mode 100644 index 000000000..cdeab6b7d --- /dev/null +++ b/PSSailpoint/v2024/docs/ImportFormDefinitions202ResponseErrorsInner.md @@ -0,0 +1,25 @@ +# ImportFormDefinitions202ResponseErrorsInner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Detail** | [**System.Collections.Hashtable**](SystemCollectionsHashtable.md) | | [optional] +**Key** | **String** | | [optional] +**Text** | **String** | | [optional] + +## Examples + +- Prepare the resource +```powershell +$ImportFormDefinitions202ResponseErrorsInner = Initialize-PSSailpointV2024ImportFormDefinitions202ResponseErrorsInner -Detail null ` + -Key null ` + -Text null +``` + +- Convert the resource to JSON +```powershell +$ImportFormDefinitions202ResponseErrorsInner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ImportNonEmployeeRecordsInBulkRequest.md b/PSSailpoint/v2024/docs/ImportNonEmployeeRecordsInBulkRequest.md new file mode 100644 index 000000000..1fb7ed09f --- /dev/null +++ b/PSSailpoint/v2024/docs/ImportNonEmployeeRecordsInBulkRequest.md @@ -0,0 +1,21 @@ +# ImportNonEmployeeRecordsInBulkRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**VarData** | **System.IO.FileInfo** | | + +## Examples + +- Prepare the resource +```powershell +$ImportNonEmployeeRecordsInBulkRequest = Initialize-PSSailpointV2024ImportNonEmployeeRecordsInBulkRequest -VarData null +``` + +- Convert the resource to JSON +```powershell +$ImportNonEmployeeRecordsInBulkRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ImportObject.md b/PSSailpoint/v2024/docs/ImportObject.md new file mode 100644 index 000000000..4639ad49e --- /dev/null +++ b/PSSailpoint/v2024/docs/ImportObject.md @@ -0,0 +1,25 @@ +# ImportObject +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | DTO type of object created or updated by import. | [optional] +**Id** | **String** | ID of object created or updated by import. | [optional] +**Name** | **String** | Display name of object created or updated by import. | [optional] + +## Examples + +- Prepare the resource +```powershell +$ImportObject = Initialize-PSSailpointV2024ImportObject -Type SOURCE ` + -Id 2c9180835d191a86015d28455b4b232a ` + -Name HR Active Directory +``` + +- Convert the resource to JSON +```powershell +$ImportObject | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ImportOptions.md b/PSSailpoint/v2024/docs/ImportOptions.md new file mode 100644 index 000000000..158123aab --- /dev/null +++ b/PSSailpoint/v2024/docs/ImportOptions.md @@ -0,0 +1,29 @@ +# ImportOptions +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ExcludeTypes** | **String[]** | Object type names to be excluded from an sp-config export command. | [optional] +**IncludeTypes** | **String[]** | Object type names to be included in an sp-config export command. IncludeTypes takes precedence over excludeTypes. | [optional] +**ObjectOptions** | [**System.Collections.Hashtable**](ObjectExportImportOptions.md) | Additional options targeting specific objects related to each item in the includeTypes field | [optional] +**DefaultReferences** | **String[]** | List of object types that can be used to resolve references on import. | [optional] +**ExcludeBackup** | **Boolean** | By default, every import will first export all existing objects supported by sp-config as a backup before the import is attempted. If excludeBackup is true, the backup will not be performed. | [optional] [default to $false] + +## Examples + +- Prepare the resource +```powershell +$ImportOptions = Initialize-PSSailpointV2024ImportOptions -ExcludeTypes null ` + -IncludeTypes null ` + -ObjectOptions {TRIGGER_SUBSCRIPTION={includedIds=[be9e116d-08e1-49fc-ab7f-fa585e96c9e4], includedNames=[Test 2]}} ` + -DefaultReferences null ` + -ExcludeBackup false +``` + +- Convert the resource to JSON +```powershell +$ImportOptions | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ImportSpConfigRequest.md b/PSSailpoint/v2024/docs/ImportSpConfigRequest.md new file mode 100644 index 000000000..ac47a73ca --- /dev/null +++ b/PSSailpoint/v2024/docs/ImportSpConfigRequest.md @@ -0,0 +1,23 @@ +# ImportSpConfigRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**VarData** | **System.IO.FileInfo** | JSON file containing the objects to be imported. | +**Options** | [**ImportOptions**](ImportOptions.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$ImportSpConfigRequest = Initialize-PSSailpointV2024ImportSpConfigRequest -VarData null ` + -Options null +``` + +- Convert the resource to JSON +```powershell +$ImportSpConfigRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ImportUploadedBackupRequest.md b/PSSailpoint/v2024/docs/ImportUploadedBackupRequest.md new file mode 100644 index 000000000..52beaf3d6 --- /dev/null +++ b/PSSailpoint/v2024/docs/ImportUploadedBackupRequest.md @@ -0,0 +1,23 @@ +# ImportUploadedBackupRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**VarData** | **System.IO.FileInfo** | JSON file containing the objects to be imported. | +**Name** | **String** | Name that will be assigned to the uploaded file. | + +## Examples + +- Prepare the resource +```powershell +$ImportUploadedBackupRequest = Initialize-PSSailpointV2024ImportUploadedBackupRequest -VarData null ` + -Name null +``` + +- Convert the resource to JSON +```powershell +$ImportUploadedBackupRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Index.md b/PSSailpoint/v2024/docs/Index.md new file mode 100644 index 000000000..e3fa1d67d --- /dev/null +++ b/PSSailpoint/v2024/docs/Index.md @@ -0,0 +1,20 @@ +# Index +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$Index = Initialize-PSSailpointV2024Index +``` + +- Convert the resource to JSON +```powershell +$Index | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/IndexOf.md b/PSSailpoint/v2024/docs/IndexOf.md new file mode 100644 index 000000000..a9d01dcd7 --- /dev/null +++ b/PSSailpoint/v2024/docs/IndexOf.md @@ -0,0 +1,25 @@ +# IndexOf +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Substring** | **String** | A substring to search for, searches the entire calling string, and returns the index of the first occurrence of the specified substring. | +**RequiresPeriodicRefresh** | **Boolean** | A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process | [optional] [default to $false] +**VarInput** | [**System.Collections.Hashtable**](AnyType.md) | This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI. | [optional] + +## Examples + +- Prepare the resource +```powershell +$IndexOf = Initialize-PSSailpointV2024IndexOf -Substring admin_ ` + -RequiresPeriodicRefresh false ` + -VarInput {type=accountAttribute, attributes={attributeName=first_name, sourceName=Source}} +``` + +- Convert the resource to JSON +```powershell +$IndexOf | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/InnerHit.md b/PSSailpoint/v2024/docs/InnerHit.md new file mode 100644 index 000000000..be6b14c73 --- /dev/null +++ b/PSSailpoint/v2024/docs/InnerHit.md @@ -0,0 +1,23 @@ +# InnerHit +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Query** | **String** | The search query using the Elasticsearch [Query String Query](https://www.elastic.co/guide/en/elasticsearch/reference/5.2/query-dsl-query-string-query.html#query-string) syntax from the Query DSL extended by SailPoint to support Nested queries. | +**Type** | **String** | The nested type to use in the inner hits query. The nested type [Nested Type](https://www.elastic.co/guide/en/elasticsearch/reference/current/nested.html) refers to a document ""nested"" within another document. For example, an identity can have nested documents for access, accounts, and apps. | + +## Examples + +- Prepare the resource +```powershell +$InnerHit = Initialize-PSSailpointV2024InnerHit -Query source.name:\"Active Directory\" ` + -Type access +``` + +- Convert the resource to JSON +```powershell +$InnerHit | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Invocation.md b/PSSailpoint/v2024/docs/Invocation.md new file mode 100644 index 000000000..f4bd226f9 --- /dev/null +++ b/PSSailpoint/v2024/docs/Invocation.md @@ -0,0 +1,27 @@ +# Invocation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Invocation ID | [optional] +**TriggerId** | **String** | Trigger ID | [optional] +**Secret** | **String** | Unique invocation secret. | [optional] +**ContentJson** | [**SystemCollectionsHashtable**](.md) | JSON map of invocation metadata. | [optional] + +## Examples + +- Prepare the resource +```powershell +$Invocation = Initialize-PSSailpointV2024Invocation -Id 0f11f2a4-7c94-4bf3-a2bd-742580fe3bde ` + -TriggerId idn:access-requested ` + -Secret 0f979022-08be-44f2-b6f9-7393ec73ed9b ` + -ContentJson {workflowId=1234} +``` + +- Convert the resource to JSON +```powershell +$Invocation | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/InvocationStatus.md b/PSSailpoint/v2024/docs/InvocationStatus.md new file mode 100644 index 000000000..efa6e2b9f --- /dev/null +++ b/PSSailpoint/v2024/docs/InvocationStatus.md @@ -0,0 +1,37 @@ +# InvocationStatus +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Invocation ID | +**TriggerId** | **String** | Trigger ID | +**SubscriptionName** | **String** | Subscription name | +**SubscriptionId** | **String** | Subscription ID | +**Type** | [**InvocationStatusType**](InvocationStatusType.md) | | +**Created** | **System.DateTime** | Invocation created timestamp. ISO-8601 in UTC. | +**Completed** | **System.DateTime** | Invocation completed timestamp; empty fields imply invocation is in-flight or not completed. ISO-8601 in UTC. | [optional] +**StartInvocationInput** | [**StartInvocationInput**](StartInvocationInput.md) | | +**CompleteInvocationInput** | [**CompleteInvocationInput**](CompleteInvocationInput.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$InvocationStatus = Initialize-PSSailpointV2024InvocationStatus -Id 0f11f2a4-7c94-4bf3-a2bd-742580fe3bde ` + -TriggerId idn:access-request-post-approval ` + -SubscriptionName Access request subscription ` + -SubscriptionId 0f11f2a4-7c94-4bf3-a2bd-742580fe3bde ` + -Type null ` + -Created 2020-03-27T20:40:10.738Z ` + -Completed 2020-03-27T20:42:14.738Z ` + -StartInvocationInput null ` + -CompleteInvocationInput null +``` + +- Convert the resource to JSON +```powershell +$InvocationStatus | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/InvocationStatusType.md b/PSSailpoint/v2024/docs/InvocationStatusType.md new file mode 100644 index 000000000..092be45a6 --- /dev/null +++ b/PSSailpoint/v2024/docs/InvocationStatusType.md @@ -0,0 +1,20 @@ +# InvocationStatusType +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$InvocationStatusType = Initialize-PSSailpointV2024InvocationStatusType +``` + +- Convert the resource to JSON +```powershell +$InvocationStatusType | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/JsonPatch.md b/PSSailpoint/v2024/docs/JsonPatch.md new file mode 100644 index 000000000..fe3dd2eb5 --- /dev/null +++ b/PSSailpoint/v2024/docs/JsonPatch.md @@ -0,0 +1,21 @@ +# JsonPatch +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Operations** | [**JsonPatchOperation[]**](JsonPatchOperation.md) | Operations to be applied | [optional] + +## Examples + +- Prepare the resource +```powershell +$JsonPatch = Initialize-PSSailpointV2024JsonPatch -Operations null +``` + +- Convert the resource to JSON +```powershell +$JsonPatch | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/JsonPatchOperation.md b/PSSailpoint/v2024/docs/JsonPatchOperation.md new file mode 100644 index 000000000..4bb8375f0 --- /dev/null +++ b/PSSailpoint/v2024/docs/JsonPatchOperation.md @@ -0,0 +1,25 @@ +# JsonPatchOperation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Op** | **String** | The operation to be performed | +**Path** | **String** | A string JSON Pointer representing the target path to an element to be affected by the operation | +**Value** | [**JsonPatchOperationValue**](JsonPatchOperationValue.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$JsonPatchOperation = Initialize-PSSailpointV2024JsonPatchOperation -Op replace ` + -Path /description ` + -Value null +``` + +- Convert the resource to JSON +```powershell +$JsonPatchOperation | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/JsonPatchOperationValue.md b/PSSailpoint/v2024/docs/JsonPatchOperationValue.md new file mode 100644 index 000000000..fbda2bb4c --- /dev/null +++ b/PSSailpoint/v2024/docs/JsonPatchOperationValue.md @@ -0,0 +1,20 @@ +# JsonPatchOperationValue +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$JsonPatchOperationValue = Initialize-PSSailpointV2024JsonPatchOperationValue +``` + +- Convert the resource to JSON +```powershell +$JsonPatchOperationValue | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/KbaAnswerRequestItem.md b/PSSailpoint/v2024/docs/KbaAnswerRequestItem.md new file mode 100644 index 000000000..554c4fc88 --- /dev/null +++ b/PSSailpoint/v2024/docs/KbaAnswerRequestItem.md @@ -0,0 +1,23 @@ +# KbaAnswerRequestItem +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Question Id | +**Answer** | **String** | An answer for the KBA question | + +## Examples + +- Prepare the resource +```powershell +$KbaAnswerRequestItem = Initialize-PSSailpointV2024KbaAnswerRequestItem -Id c54fee53-2d63-4fc5-9259-3e93b9994135 ` + -Answer Your answer +``` + +- Convert the resource to JSON +```powershell +$KbaAnswerRequestItem | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/KbaAnswerResponseItem.md b/PSSailpoint/v2024/docs/KbaAnswerResponseItem.md new file mode 100644 index 000000000..06d63ebb2 --- /dev/null +++ b/PSSailpoint/v2024/docs/KbaAnswerResponseItem.md @@ -0,0 +1,25 @@ +# KbaAnswerResponseItem +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Question Id | +**Question** | **String** | Question description | +**HasAnswer** | **Boolean** | Denotes whether the KBA question has an answer configured for the current user | + +## Examples + +- Prepare the resource +```powershell +$KbaAnswerResponseItem = Initialize-PSSailpointV2024KbaAnswerResponseItem -Id c54fee53-2d63-4fc5-9259-3e93b9994135 ` + -Question [{"text":"Nouvelle question MFA -1 ?","locale":"fr"},{"text":"MFA new question -1 ?","locale":""}] ` + -HasAnswer true +``` + +- Convert the resource to JSON +```powershell +$KbaAnswerResponseItem | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/KbaQuestion.md b/PSSailpoint/v2024/docs/KbaQuestion.md new file mode 100644 index 000000000..e671d7b23 --- /dev/null +++ b/PSSailpoint/v2024/docs/KbaQuestion.md @@ -0,0 +1,27 @@ +# KbaQuestion +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | KBA Question Id | +**Text** | **String** | KBA Question description | +**HasAnswer** | **Boolean** | Denotes whether the KBA question has an answer configured for any user in the tenant | +**NumAnswers** | **Int32** | Denotes the number of KBA configurations for this question | + +## Examples + +- Prepare the resource +```powershell +$KbaQuestion = Initialize-PSSailpointV2024KbaQuestion -Id 143cfd3b-c23f-426b-ae5f-d3db06fa5919 ` + -Text [{"text":"Nouvelle question MFA -1 ?","locale":"fr"},{"text":"MFA new question -1 ?","locale":""}] ` + -HasAnswer true ` + -NumAnswers 5 +``` + +- Convert the resource to JSON +```powershell +$KbaQuestion | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/LatestOutlierSummary.md b/PSSailpoint/v2024/docs/LatestOutlierSummary.md new file mode 100644 index 000000000..7e574e979 --- /dev/null +++ b/PSSailpoint/v2024/docs/LatestOutlierSummary.md @@ -0,0 +1,29 @@ +# LatestOutlierSummary +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | The type of outlier summary | [optional] +**SnapshotDate** | **System.DateTime** | The date the bulk outlier detection ran/snapshot was created | [optional] +**TotalOutliers** | **Int32** | Total number of outliers for the customer making the request | [optional] +**TotalIdentities** | **Int32** | Total number of identities for the customer making the request | [optional] +**TotalIgnored** | **Int32** | Total number of ignored outliers | [optional] + +## Examples + +- Prepare the resource +```powershell +$LatestOutlierSummary = Initialize-PSSailpointV2024LatestOutlierSummary -Type LOW_SIMILARITY ` + -SnapshotDate 2021-05-01T18:40:35.772Z ` + -TotalOutliers 50 ` + -TotalIdentities 5000 ` + -TotalIgnored 10 +``` + +- Convert the resource to JSON +```powershell +$LatestOutlierSummary | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/LeftPad.md b/PSSailpoint/v2024/docs/LeftPad.md new file mode 100644 index 000000000..8dfcc28e7 --- /dev/null +++ b/PSSailpoint/v2024/docs/LeftPad.md @@ -0,0 +1,27 @@ +# LeftPad +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Length** | **String** | An integer value for the desired length of the final output string | +**Padding** | **String** | A string value representing the character that the incoming data should be padded with to get to the desired length If not provided, the transform will default to a single space ("" "") character for padding | [optional] +**RequiresPeriodicRefresh** | **Boolean** | A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process | [optional] [default to $false] +**VarInput** | [**System.Collections.Hashtable**](AnyType.md) | This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI. | [optional] + +## Examples + +- Prepare the resource +```powershell +$LeftPad = Initialize-PSSailpointV2024LeftPad -Length 4 ` + -Padding 0 ` + -RequiresPeriodicRefresh false ` + -VarInput {type=accountAttribute, attributes={attributeName=first_name, sourceName=Source}} +``` + +- Convert the resource to JSON +```powershell +$LeftPad | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/License.md b/PSSailpoint/v2024/docs/License.md new file mode 100644 index 000000000..7ac8a36bd --- /dev/null +++ b/PSSailpoint/v2024/docs/License.md @@ -0,0 +1,23 @@ +# License +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**LicenseId** | **String** | Name of the license | [optional] +**LegacyFeatureName** | **String** | Legacy name of the license | [optional] + +## Examples + +- Prepare the resource +```powershell +$License = Initialize-PSSailpointV2024License -LicenseId idn:access-request ` + -LegacyFeatureName ACCESS_REQUEST +``` + +- Convert the resource to JSON +```powershell +$License | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/LifecycleState.md b/PSSailpoint/v2024/docs/LifecycleState.md new file mode 100644 index 000000000..662c98424 --- /dev/null +++ b/PSSailpoint/v2024/docs/LifecycleState.md @@ -0,0 +1,43 @@ +# LifecycleState +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | System-generated unique ID of the Object | [optional] [readonly] +**Name** | **String** | Name of the Object | +**Created** | **System.DateTime** | Creation date of the Object | [optional] [readonly] +**Modified** | **System.DateTime** | Last modification date of the Object | [optional] [readonly] +**Enabled** | **Boolean** | Indicates whether the lifecycle state is enabled or disabled. | [optional] [default to $false] +**TechnicalName** | **String** | The lifecycle state's technical name. This is for internal use. | +**Description** | **String** | Lifecycle state's description. | [optional] +**IdentityCount** | **Int32** | Number of identities that have the lifecycle state. | [optional] [readonly] +**EmailNotificationOption** | [**EmailNotificationOption**](EmailNotificationOption.md) | | [optional] +**AccountActions** | [**AccountAction[]**](AccountAction.md) | | [optional] +**AccessProfileIds** | **String[]** | List of unique access-profile IDs that are associated with the lifecycle state. | [optional] +**IdentityState** | **String** | The lifecycle state's associated identity state. This field is generally 'null'. | [optional] + +## Examples + +- Prepare the resource +```powershell +$LifecycleState = Initialize-PSSailpointV2024LifecycleState -Id id12345 ` + -Name aName ` + -Created 2015-05-28T14:07:17Z ` + -Modified 2015-05-28T14:07:17Z ` + -Enabled true ` + -TechnicalName Technical Name ` + -Description Lifecycle description ` + -IdentityCount 42 ` + -EmailNotificationOption null ` + -AccountActions null ` + -AccessProfileIds [2c918084660f45d6016617daa9210584, 2c918084660f45d6016617daa9210500] ` + -IdentityState null +``` + +- Convert the resource to JSON +```powershell +$LifecycleState | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/LifecycleStateDto.md b/PSSailpoint/v2024/docs/LifecycleStateDto.md new file mode 100644 index 000000000..b41bdc5ef --- /dev/null +++ b/PSSailpoint/v2024/docs/LifecycleStateDto.md @@ -0,0 +1,23 @@ +# LifecycleStateDto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**StateName** | **String** | The name of the lifecycle state | +**ManuallyUpdated** | **Boolean** | Whether the lifecycle state has been manually or automatically set | + +## Examples + +- Prepare the resource +```powershell +$LifecycleStateDto = Initialize-PSSailpointV2024LifecycleStateDto -StateName active ` + -ManuallyUpdated true +``` + +- Convert the resource to JSON +```powershell +$LifecycleStateDto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/LifecyclestateDeleted.md b/PSSailpoint/v2024/docs/LifecyclestateDeleted.md new file mode 100644 index 000000000..f34a538de --- /dev/null +++ b/PSSailpoint/v2024/docs/LifecyclestateDeleted.md @@ -0,0 +1,25 @@ +# LifecyclestateDeleted +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | Deleted lifecycle state's DTO type. | [optional] +**Id** | **String** | Deleted lifecycle state ID. | [optional] +**Name** | **String** | Deleted lifecycle state's display name. | [optional] + +## Examples + +- Prepare the resource +```powershell +$LifecyclestateDeleted = Initialize-PSSailpointV2024LifecyclestateDeleted -Type LIFECYCLE_STATE ` + -Id 12345 ` + -Name Contractor Lifecycle +``` + +- Convert the resource to JSON +```powershell +$LifecyclestateDeleted | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ListAccessProfiles401Response.md b/PSSailpoint/v2024/docs/ListAccessProfiles401Response.md new file mode 100644 index 000000000..58d04dc4a --- /dev/null +++ b/PSSailpoint/v2024/docs/ListAccessProfiles401Response.md @@ -0,0 +1,21 @@ +# ListAccessProfiles401Response +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**VarError** | [**SystemCollectionsHashtable**](.md) | A message describing the error | [optional] + +## Examples + +- Prepare the resource +```powershell +$ListAccessProfiles401Response = Initialize-PSSailpointV2024ListAccessProfiles401Response -VarError JWT validation failed: JWT is expired +``` + +- Convert the resource to JSON +```powershell +$ListAccessProfiles401Response | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ListAccessProfiles429Response.md b/PSSailpoint/v2024/docs/ListAccessProfiles429Response.md new file mode 100644 index 000000000..e3c1bbab4 --- /dev/null +++ b/PSSailpoint/v2024/docs/ListAccessProfiles429Response.md @@ -0,0 +1,21 @@ +# ListAccessProfiles429Response +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Message** | [**SystemCollectionsHashtable**](.md) | A message describing the error | [optional] + +## Examples + +- Prepare the resource +```powershell +$ListAccessProfiles429Response = Initialize-PSSailpointV2024ListAccessProfiles429Response -Message Rate Limit Exceeded +``` + +- Convert the resource to JSON +```powershell +$ListAccessProfiles429Response | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ListCampaignFilters200Response.md b/PSSailpoint/v2024/docs/ListCampaignFilters200Response.md new file mode 100644 index 000000000..94827cb58 --- /dev/null +++ b/PSSailpoint/v2024/docs/ListCampaignFilters200Response.md @@ -0,0 +1,23 @@ +# ListCampaignFilters200Response +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Items** | [**CampaignFilterDetails[]**](CampaignFilterDetails.md) | List of campaign filters. | [optional] +**Count** | **Int32** | Number of filters returned. | [optional] + +## Examples + +- Prepare the resource +```powershell +$ListCampaignFilters200Response = Initialize-PSSailpointV2024ListCampaignFilters200Response -Items null ` + -Count 2 +``` + +- Convert the resource to JSON +```powershell +$ListCampaignFilters200Response | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ListCompleteWorkflowLibrary200ResponseInner.md b/PSSailpoint/v2024/docs/ListCompleteWorkflowLibrary200ResponseInner.md new file mode 100644 index 000000000..31d183ecc --- /dev/null +++ b/PSSailpoint/v2024/docs/ListCompleteWorkflowLibrary200ResponseInner.md @@ -0,0 +1,45 @@ +# ListCompleteWorkflowLibrary200ResponseInner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Operator ID. | [optional] +**Name** | **String** | Operator friendly name | [optional] +**Type** | **String** | Operator type | [optional] +**Description** | **String** | Description of the operator | [optional] +**FormFields** | [**WorkflowLibraryFormFields[]**](WorkflowLibraryFormFields.md) | One or more inputs that the operator accepts | [optional] +**ExampleOutput** | [**WorkflowLibraryActionExampleOutput**](WorkflowLibraryActionExampleOutput.md) | | [optional] +**Deprecated** | **Boolean** | | [optional] +**DeprecatedBy** | **System.DateTime** | | [optional] +**VersionNumber** | **Int32** | Version number | [optional] +**IsSimulationEnabled** | **Boolean** | | [optional] +**IsDynamicSchema** | **Boolean** | Determines whether the dynamic output schema is returned in place of the action's output schema. The dynamic schema lists non-static properties, like properties of a workflow form where each form has different fields. These will be provided dynamically based on available form fields. | [optional] +**OutputSchema** | [**SystemCollectionsHashtable**](.md) | Example output schema | [optional] +**InputExample** | [**SystemCollectionsHashtable**](.md) | Example trigger payload if applicable | [optional] + +## Examples + +- Prepare the resource +```powershell +$ListCompleteWorkflowLibrary200ResponseInner = Initialize-PSSailpointV2024ListCompleteWorkflowLibrary200ResponseInner -Id sp:compare-boolean ` + -Name Compare Boolean Values ` + -Type OPERATOR ` + -Description Compare two boolean values and decide what happens based on the result. ` + -FormFields [{description=Enter the JSONPath to a value from the input to compare to Variable B., helpText=, label=Variable A, name=variableA.$, required=true, type=text}, {helpText=Select an operation., label=Operation, name=operator, options=[{label=Equals, value=BooleanEquals}], required=true, type=select}, {description=Enter the JSONPath to a value from the input to compare to Variable A., helpText=, label=Variable B, name=variableB.$, required=false, type=text}, {description=Enter True or False., helpText=, label=Variable B, name=variableB, required=false, type=text}] ` + -ExampleOutput null ` + -Deprecated null ` + -DeprecatedBy null ` + -VersionNumber null ` + -IsSimulationEnabled null ` + -IsDynamicSchema false ` + -OutputSchema null ` + -InputExample {changes=[{attribute=department, newValue=marketing, oldValue=sales}, {attribute=manager, newValue={id=ee769173319b41d19ccec6c235423236c, name=mean.guy, type=IDENTITY}, oldValue={id=ee769173319b41d19ccec6c235423237b, name=nice.guy, type=IDENTITY}}, {attribute=email, newValue=john.doe@gmail.com, oldValue=john.doe@hotmail.com}], identity={id=ee769173319b41d19ccec6cea52f237b, name=john.doe, type=IDENTITY}} +``` + +- Convert the resource to JSON +```powershell +$ListCompleteWorkflowLibrary200ResponseInner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ListFormDefinitionsByTenantResponse.md b/PSSailpoint/v2024/docs/ListFormDefinitionsByTenantResponse.md new file mode 100644 index 000000000..a7af41a7f --- /dev/null +++ b/PSSailpoint/v2024/docs/ListFormDefinitionsByTenantResponse.md @@ -0,0 +1,23 @@ +# ListFormDefinitionsByTenantResponse +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Count** | **Int64** | Count number of results. | [optional] +**Results** | [**FormDefinitionResponse[]**](FormDefinitionResponse.md) | List of FormDefinitionResponse items. | [optional] + +## Examples + +- Prepare the resource +```powershell +$ListFormDefinitionsByTenantResponse = Initialize-PSSailpointV2024ListFormDefinitionsByTenantResponse -Count 1 ` + -Results null +``` + +- Convert the resource to JSON +```powershell +$ListFormDefinitionsByTenantResponse | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ListFormElementDataByElementIDResponse.md b/PSSailpoint/v2024/docs/ListFormElementDataByElementIDResponse.md new file mode 100644 index 000000000..a16180a32 --- /dev/null +++ b/PSSailpoint/v2024/docs/ListFormElementDataByElementIDResponse.md @@ -0,0 +1,21 @@ +# ListFormElementDataByElementIDResponse +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Results** | [**FormElementDataSourceConfigOptions[]**](FormElementDataSourceConfigOptions.md) | Results holds a list of FormElementDataSourceConfigOptions items | [optional] + +## Examples + +- Prepare the resource +```powershell +$ListFormElementDataByElementIDResponse = Initialize-PSSailpointV2024ListFormElementDataByElementIDResponse -Results {"results":[{"label":"Alfred 255e71dfc6e","subLabel":"Alfred.255e71dfc6e@testmail.identitysoon.com","value":"2c918084821847c5018227ced2e16676"},{"label":"Alize eba9d4cd27da","subLabel":"Alize.eba9d4cd27da@testmail.identitysoon.com","value":"2c918084821847c5018227ced2f1667c"},{"label":"Antonina 01f69c3ea","subLabel":"Antonina.01f69c3ea@testmail.identitysoon.com","value":"2c918084821847c5018227ced2f9667e"},{"label":"Ardella 21e78ce155","subLabel":"Ardella.21e78ce155@testmail.identitysoon.com","value":"2c918084821847c5018227ced2e6667a"},{"label":"Arnaldo d8582b6e17","subLabel":"Arnaldo.d8582b6e17@testmail.identitysoon.com","value":"2c918084821847c5018227ced3426686"},{"label":"Aurelia admin24828","subLabel":"Aurelia.admin24828@testmail.identitysoon.com","value":"2c918084821847c5018227ced2e16674"},{"label":"Barbara 72ca418fdd","subLabel":"Barbara.72ca418fdd@testmail.identitysoon.com","value":"2c918084821847c5018227ced2fb6680"},{"label":"Barbara ee1a2436ee","subLabel":"Barbara.ee1a2436ee@testmail.identitysoon.com","value":"2c918084821847c5018227ced2e56678"},{"label":"Baylee 652d72432f3","subLabel":"Baylee.652d72432f3@testmail.identitysoon.com","value":"2c91808582184782018227ced28b6aee"},{"label":"Brock e76b56ae4d49","subLabel":"Brock.e76b56ae4d49@testmail.identitysoon.com","value":"2c91808582184782018227ced28b6aef"}]} +``` + +- Convert the resource to JSON +```powershell +$ListFormElementDataByElementIDResponse | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ListFormInstancesByTenantResponse.md b/PSSailpoint/v2024/docs/ListFormInstancesByTenantResponse.md new file mode 100644 index 000000000..d4021c0fb --- /dev/null +++ b/PSSailpoint/v2024/docs/ListFormInstancesByTenantResponse.md @@ -0,0 +1,23 @@ +# ListFormInstancesByTenantResponse +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Count** | **Int64** | Count number of Results | [optional] +**Results** | [**FormInstanceResponse[]**](FormInstanceResponse.md) | Results holds a list of FormInstanceResponse items | [optional] + +## Examples + +- Prepare the resource +```powershell +$ListFormInstancesByTenantResponse = Initialize-PSSailpointV2024ListFormInstancesByTenantResponse -Count 1 ` + -Results null +``` + +- Convert the resource to JSON +```powershell +$ListFormInstancesByTenantResponse | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ListIdentityAccessItems200ResponseInner.md b/PSSailpoint/v2024/docs/ListIdentityAccessItems200ResponseInner.md new file mode 100644 index 000000000..6d06ddc45 --- /dev/null +++ b/PSSailpoint/v2024/docs/ListIdentityAccessItems200ResponseInner.md @@ -0,0 +1,57 @@ +# ListIdentityAccessItems200ResponseInner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AccessType** | **String** | the access item type. role in this case | [optional] +**Id** | **String** | the access item id | [optional] +**Name** | **String** | the access profile name | [optional] +**SourceName** | **String** | the associated source name if it exists | [optional] +**SourceId** | **String** | the id of the source | [optional] +**Description** | **String** | the description for the role | [optional] +**DisplayName** | **String** | the role display name | [optional] +**EntitlementCount** | **String** | the number of entitlements the account will create | [optional] +**AppDisplayName** | **String** | the name of | [optional] +**RemoveDate** | **String** | the date the role is no longer assigned to the specified identity | [optional] +**Standalone** | **Boolean** | indicates whether the entitlement is standalone | +**Revocable** | **Boolean** | indicates whether the role is revocable | +**NativeIdentity** | **String** | the native identifier used to uniquely identify an acccount | [optional] +**AppRoleId** | **String** | the app role id | [optional] +**Attribute** | **String** | the entitlement attribute | [optional] +**Value** | **String** | the associated value | [optional] +**EntitlementType** | **String** | the type of entitlement | [optional] +**Privileged** | **Boolean** | indicates whether the entitlement is privileged | +**CloudGoverned** | **Boolean** | indicates whether the entitlement is cloud governed | + +## Examples + +- Prepare the resource +```powershell +$ListIdentityAccessItems200ResponseInner = Initialize-PSSailpointV2024ListIdentityAccessItems200ResponseInner -AccessType role ` + -Id 2c918087763e69d901763e72e97f006f ` + -Name sample ` + -SourceName Source Name ` + -SourceId 2793o32dwd ` + -Description Role - Workday/Citizenship access ` + -DisplayName sample ` + -EntitlementCount 12 ` + -AppDisplayName AppName ` + -RemoveDate 2024-07-01T06:00:00.00Z ` + -Standalone true ` + -Revocable true ` + -NativeIdentity dr.arden.ogahn.d ` + -AppRoleId 2c918087763e69d901763e72e97f006f ` + -Attribute groups ` + -Value Upward mobility access ` + -EntitlementType entitlement ` + -Privileged false ` + -CloudGoverned true +``` + +- Convert the resource to JSON +```powershell +$ListIdentityAccessItems200ResponseInner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ListPredefinedSelectOptionsResponse.md b/PSSailpoint/v2024/docs/ListPredefinedSelectOptionsResponse.md new file mode 100644 index 000000000..e03099a95 --- /dev/null +++ b/PSSailpoint/v2024/docs/ListPredefinedSelectOptionsResponse.md @@ -0,0 +1,21 @@ +# ListPredefinedSelectOptionsResponse +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Results** | **String[]** | Results holds a list of PreDefinedSelectOption items | [optional] + +## Examples + +- Prepare the resource +```powershell +$ListPredefinedSelectOptionsResponse = Initialize-PSSailpointV2024ListPredefinedSelectOptionsResponse -Results null +``` + +- Convert the resource to JSON +```powershell +$ListPredefinedSelectOptionsResponse | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ListWorkgroupMembers200ResponseInner.md b/PSSailpoint/v2024/docs/ListWorkgroupMembers200ResponseInner.md new file mode 100644 index 000000000..76af48407 --- /dev/null +++ b/PSSailpoint/v2024/docs/ListWorkgroupMembers200ResponseInner.md @@ -0,0 +1,27 @@ +# ListWorkgroupMembers200ResponseInner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | Workgroup member identity DTO type. | [optional] +**Id** | **String** | Workgroup member identity ID. | [optional] +**Name** | **String** | Workgroup member identity display name. | [optional] +**Email** | **String** | Workgroup member identity email. | [optional] + +## Examples + +- Prepare the resource +```powershell +$ListWorkgroupMembers200ResponseInner = Initialize-PSSailpointV2024ListWorkgroupMembers200ResponseInner -Type IDENTITY ` + -Id 2c7180a46faadee4016fb4e018c20642 ` + -Name Michael Michaels ` + -Email michael.michaels@sailpoint.com +``` + +- Convert the resource to JSON +```powershell +$ListWorkgroupMembers200ResponseInner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/LoadAccountsTask.md b/PSSailpoint/v2024/docs/LoadAccountsTask.md new file mode 100644 index 000000000..44c46fc46 --- /dev/null +++ b/PSSailpoint/v2024/docs/LoadAccountsTask.md @@ -0,0 +1,23 @@ +# LoadAccountsTask +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Success** | **Boolean** | The status of the result | [optional] [default to $true] +**Task** | [**LoadAccountsTaskTask**](LoadAccountsTaskTask.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$LoadAccountsTask = Initialize-PSSailpointV2024LoadAccountsTask -Success true ` + -Task null +``` + +- Convert the resource to JSON +```powershell +$LoadAccountsTask | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/LoadAccountsTaskTask.md b/PSSailpoint/v2024/docs/LoadAccountsTaskTask.md new file mode 100644 index 000000000..00149759c --- /dev/null +++ b/PSSailpoint/v2024/docs/LoadAccountsTaskTask.md @@ -0,0 +1,47 @@ +# LoadAccountsTaskTask +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | System-generated unique ID of the task this taskStatus represents | [optional] +**Type** | **String** | Type of task this task represents | [optional] +**Name** | **String** | The name of the aggregation process | [optional] +**Description** | **String** | The description of the task | [optional] +**Launcher** | **String** | The user who initiated the task | [optional] +**Created** | **System.DateTime** | The Task creation date | [optional] +**Launched** | **System.DateTime** | The task start date | [optional] +**Completed** | **System.DateTime** | The task completion date | [optional] +**CompletionStatus** | **String** | Task completion status. | [optional] +**ParentName** | **String** | Name of the parent task if exists. | [optional] +**Messages** | [**LoadAccountsTaskTaskMessagesInner[]**](LoadAccountsTaskTaskMessagesInner.md) | List of the messages dedicated to the report. From task definition perspective here usually should be warnings or errors. | [optional] +**Progress** | **String** | Current task state. | [optional] +**Attributes** | [**LoadAccountsTaskTaskAttributes**](LoadAccountsTaskTaskAttributes.md) | | [optional] +**Returns** | [**LoadAccountsTaskTaskReturnsInner[]**](LoadAccountsTaskTaskReturnsInner.md) | Return values from the task | [optional] + +## Examples + +- Prepare the resource +```powershell +$LoadAccountsTaskTask = Initialize-PSSailpointV2024LoadAccountsTaskTask -Id ef38f94347e94562b5bb8424a56397d8 ` + -Type QUARTZ ` + -Name Cloud Account Aggregation ` + -Description Aggregate from the specified application ` + -Launcher John Doe ` + -Created null ` + -Launched null ` + -Completed null ` + -CompletionStatus Success ` + -ParentName Audit Report ` + -Messages [] ` + -Progress Initializing... ` + -Attributes null ` + -Returns null +``` + +- Convert the resource to JSON +```powershell +$LoadAccountsTaskTask | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/LoadAccountsTaskTaskAttributes.md b/PSSailpoint/v2024/docs/LoadAccountsTaskTaskAttributes.md new file mode 100644 index 000000000..543e76c1f --- /dev/null +++ b/PSSailpoint/v2024/docs/LoadAccountsTaskTaskAttributes.md @@ -0,0 +1,23 @@ +# LoadAccountsTaskTaskAttributes +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AppId** | **String** | The id of the source | [optional] +**OptimizedAggregation** | **String** | The indicator if the aggregation process was enabled/disabled for the aggregation job | [optional] + +## Examples + +- Prepare the resource +```powershell +$LoadAccountsTaskTaskAttributes = Initialize-PSSailpointV2024LoadAccountsTaskTaskAttributes -AppId c31386cb18bb403cbb6df4c86294ff82 ` + -OptimizedAggregation enabled +``` + +- Convert the resource to JSON +```powershell +$LoadAccountsTaskTaskAttributes | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/LoadAccountsTaskTaskMessagesInner.md b/PSSailpoint/v2024/docs/LoadAccountsTaskTaskMessagesInner.md new file mode 100644 index 000000000..01993bf19 --- /dev/null +++ b/PSSailpoint/v2024/docs/LoadAccountsTaskTaskMessagesInner.md @@ -0,0 +1,29 @@ +# LoadAccountsTaskTaskMessagesInner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | Type of the message. | [optional] +**VarError** | **Boolean** | Flag whether message is an error. | [optional] [default to $false] +**Warning** | **Boolean** | Flag whether message is a warning. | [optional] [default to $false] +**Key** | **String** | Message string identifier. | [optional] +**LocalizedText** | **String** | Message context with the locale based language. | [optional] + +## Examples + +- Prepare the resource +```powershell +$LoadAccountsTaskTaskMessagesInner = Initialize-PSSailpointV2024LoadAccountsTaskTaskMessagesInner -Type WARN ` + -VarError false ` + -Warning true ` + -Key This aggregation failed because the currently running aggregation must complete before the next one can start. ` + -LocalizedText This aggregation failed because the currently running aggregation must complete before the next one can start. +``` + +- Convert the resource to JSON +```powershell +$LoadAccountsTaskTaskMessagesInner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/LoadAccountsTaskTaskReturnsInner.md b/PSSailpoint/v2024/docs/LoadAccountsTaskTaskReturnsInner.md new file mode 100644 index 000000000..d5309f0dc --- /dev/null +++ b/PSSailpoint/v2024/docs/LoadAccountsTaskTaskReturnsInner.md @@ -0,0 +1,23 @@ +# LoadAccountsTaskTaskReturnsInner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**DisplayLabel** | **String** | The display label of the return value | [optional] +**AttributeName** | **String** | The attribute name of the return value | [optional] + +## Examples + +- Prepare the resource +```powershell +$LoadAccountsTaskTaskReturnsInner = Initialize-PSSailpointV2024LoadAccountsTaskTaskReturnsInner -DisplayLabel TASK_OUT_ACCOUNT_AGGREGATION_APPLICATIONS ` + -AttributeName applications +``` + +- Convert the resource to JSON +```powershell +$LoadAccountsTaskTaskReturnsInner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/LoadEntitlementTask.md b/PSSailpoint/v2024/docs/LoadEntitlementTask.md new file mode 100644 index 000000000..e105b702a --- /dev/null +++ b/PSSailpoint/v2024/docs/LoadEntitlementTask.md @@ -0,0 +1,33 @@ +# LoadEntitlementTask +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | System-generated unique ID of the task this taskStatus represents | [optional] +**Type** | **String** | Type of task this task represents | [optional] +**UniqueName** | **String** | The name of the task | [optional] +**Description** | **String** | The description of the task | [optional] +**Launcher** | **String** | The user who initiated the task | [optional] +**Created** | **System.DateTime** | The creation date of the task | [optional] +**Returns** | [**LoadEntitlementTaskReturnsInner[]**](LoadEntitlementTaskReturnsInner.md) | Return values from the task | [optional] + +## Examples + +- Prepare the resource +```powershell +$LoadEntitlementTask = Initialize-PSSailpointV2024LoadEntitlementTask -Id ef38f94347e94562b5bb8424a56397d8 ` + -Type QUARTZ ` + -UniqueName Cloud Group Aggregation ` + -Description Aggregate from the specified application ` + -Launcher John Doe ` + -Created 2020-07-11T21:23:15Z ` + -Returns [{displayLabel=TASK_OUT_ACCOUNT_GROUP_AGGREGATION_APPLICATIONS, attributeName=applications}, {displayLabel=TASK_OUT_ACCOUNT_GROUP_AGGREGATION_TOTAL, attributeName=total}, {displayLabel=TASK_OUT_ACCOUNT_GROUP_AGGREGATION_CREATED, attributeName=groupsCreated}, {displayLabel=TASK_OUT_ACCOUNT_GROUP_AGGREGATION_UPDATED, attributeName=groupsUpdated}, {displayLabel=TASK_OUT_ACCOUNT_GROUP_AGGREGATION_DELETED, attributeName=groupsDeleted}] +``` + +- Convert the resource to JSON +```powershell +$LoadEntitlementTask | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/LoadEntitlementTaskReturnsInner.md b/PSSailpoint/v2024/docs/LoadEntitlementTaskReturnsInner.md new file mode 100644 index 000000000..d2d2cd0f1 --- /dev/null +++ b/PSSailpoint/v2024/docs/LoadEntitlementTaskReturnsInner.md @@ -0,0 +1,23 @@ +# LoadEntitlementTaskReturnsInner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**DisplayLabel** | **String** | The display label for the return value | [optional] +**AttributeName** | **String** | The attribute name for the return value | [optional] + +## Examples + +- Prepare the resource +```powershell +$LoadEntitlementTaskReturnsInner = Initialize-PSSailpointV2024LoadEntitlementTaskReturnsInner -DisplayLabel TASK_OUT_ACCOUNT_GROUP_AGGREGATION_APPLICATIONS ` + -AttributeName applications +``` + +- Convert the resource to JSON +```powershell +$LoadEntitlementTaskReturnsInner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/LoadUncorrelatedAccountsTask.md b/PSSailpoint/v2024/docs/LoadUncorrelatedAccountsTask.md new file mode 100644 index 000000000..d26c5d99e --- /dev/null +++ b/PSSailpoint/v2024/docs/LoadUncorrelatedAccountsTask.md @@ -0,0 +1,23 @@ +# LoadUncorrelatedAccountsTask +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Success** | **Boolean** | The status of the result | [optional] [default to $true] +**Task** | [**LoadUncorrelatedAccountsTaskTask**](LoadUncorrelatedAccountsTaskTask.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$LoadUncorrelatedAccountsTask = Initialize-PSSailpointV2024LoadUncorrelatedAccountsTask -Success true ` + -Task null +``` + +- Convert the resource to JSON +```powershell +$LoadUncorrelatedAccountsTask | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/LoadUncorrelatedAccountsTaskTask.md b/PSSailpoint/v2024/docs/LoadUncorrelatedAccountsTaskTask.md new file mode 100644 index 000000000..1a0b292a0 --- /dev/null +++ b/PSSailpoint/v2024/docs/LoadUncorrelatedAccountsTaskTask.md @@ -0,0 +1,47 @@ +# LoadUncorrelatedAccountsTaskTask +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | System-generated unique ID of the task this taskStatus represents | [optional] +**Type** | **String** | Type of task this task represents | [optional] +**Name** | **String** | The name of uncorrelated accounts process | [optional] +**Description** | **String** | The description of the task | [optional] +**Launcher** | **String** | The user who initiated the task | [optional] +**Created** | **System.DateTime** | The Task creation date | [optional] +**Launched** | **System.DateTime** | The task start date | [optional] +**Completed** | **System.DateTime** | The task completion date | [optional] +**CompletionStatus** | **String** | Task completion status. | [optional] +**ParentName** | **String** | Name of the parent task if exists. | [optional] +**Messages** | [**LoadUncorrelatedAccountsTaskTaskMessagesInner[]**](LoadUncorrelatedAccountsTaskTaskMessagesInner.md) | List of the messages dedicated to the report. From task definition perspective here usually should be warnings or errors. | [optional] +**Progress** | **String** | Current task state. | [optional] +**Attributes** | [**LoadUncorrelatedAccountsTaskTaskAttributes**](LoadUncorrelatedAccountsTaskTaskAttributes.md) | | [optional] +**Returns** | [**SystemCollectionsHashtable**](.md) | Return values from the task | [optional] + +## Examples + +- Prepare the resource +```powershell +$LoadUncorrelatedAccountsTaskTask = Initialize-PSSailpointV2024LoadUncorrelatedAccountsTaskTask -Id 90b83a6bb737489494794f84cd3a51e6 ` + -Type QUARTZ ` + -Name Cloud Process Uncorrelated Accounts ` + -Description Processes uncorrelated accounts for the specified application. ` + -Launcher John Doe ` + -Created null ` + -Launched null ` + -Completed null ` + -CompletionStatus Success ` + -ParentName Audit Report ` + -Messages [] ` + -Progress Initializing... ` + -Attributes null ` + -Returns [{displayLabel=TASK_OUT_ACCOUNT_CORRELATION_APPLICATIONS, attributeName=applications}, {displayLabel=TASK_OUT_ACCOUNT_CORRELATION_TOTAL, attributeName=total}, {displayLabel=TASK_OUT_ACCOUNT_CORRELATION_IGNORED, attributeName=correlationFailures}, {displayLabel=TASK_OUT_ACCOUNT_CORRELATION_FAILURES, attributeName=ignored}, {displayLabel=TASK_OUT_UNCHANGED_ACCOUNTS, attributeName=optimized}, {displayLabel=TASK_OUT_ACCOUNT_CORRELATION__CREATED, attributeName=created}, {displayLabel=TASK_OUT_ACCOUNT_CORRELATION_UPDATED, attributeName=updated}, {displayLabel=TASK_OUT_ACCOUNT_CORRELATION_DELETED, attributeName=deleted}, {displayLabel=TASK_OUT_ACCOUNT_CORRELATION_MANAGER_CHANGES, attributeName=managerChanges}, {displayLabel=TASK_OUT_ACCOUNT_CORRELATION_BUSINESS_ROLE_CHANGES, attributeName=detectedRoleChanges}, {displayLabel=TASK_OUT_ACCOUNT_CORRELATION_EXCEPTION_CHANGES, attributeName=exceptionChanges}, {displayLabel=TASK_OUT_ACCOUNT_CORRELATION_POLICIES, attributeName=policies}, {displayLabel=TASK_OUT_ACCOUNT_CORRELATION_POLICY_VIOLATIONS, attributeName=policyViolations}, {displayLabel=TASK_OUT_ACCOUNT_CORRELATION_POLICY_NOTIFICATIONS, attributeName=policyNotifications}, {displayLabel=TASK_OUT_ACCOUNT_CORRELATION_SCORES_CHANGED, attributeName=scoresChanged}, {displayLabel=TASK_OUT_ACCOUNT_CORRELATION_SNAPSHOTS_CREATED, attributeName=snapshotsCreated}, {displayLabel=TASK_OUT_ACCOUNT_CORRELATION_SCOPES_CREATED, attributeName=scopesCreated}, {displayLabel=TASK_OUT_ACCOUNT_CORRELATION_SCOPES_CORRELATED, attributeName=scopesCorrelated}, {displayLabel=TASK_OUT_ACCOUNT_CORRELATION_SCOPES_SELECTED, attributeName=scopesSelected}, {displayLabel=TASK_OUT_ACCOUNT_CORRELATION_SCOPES_DORMANT, attributeName=scopesDormant}, {displayLabel=TASK_OUT_ACCOUNT_CORRELATION_UNSCOPED_IDENTITIES, attributeName=unscopedIdentities}, {displayLabel=TASK_OUT_ACCOUNT_CORRELATION_CERTIFICATIONS_CREATED, attributeName=certificationsCreated}, {displayLabel=TASK_OUT_ACCOUNT_CORRELATION_CERTIFICATIONS_DELETED, attributeName=certificationsDeleted}, {displayLabel=TASK_OUT_ACCOUNT_CORRELATION_APPLICATIONS_GENERATED, attributeName=applicationsGenerated}, {displayLabel=TASK_OUT_ACCOUNT_CORRELATION_MANAGED_ATTRIBUTES_PROMOTED, attributeName=managedAttributesCreated}, {displayLabel=TASK_OUT_ACCOUNT_CORRELATION_MANAGED_ATTRIBUTES_PROMOTED_BY_APP, attributeName=managedAttributesCreatedByApplication}, {displayLabel=TASK_OUT_ACCOUNT_CORRELATION_IDENTITYENTITLEMENTS_CREATED, attributeName=identityEntitlementsCreated}, {displayLabel=TASK_OUT_ACCOUNT_CORRELATION_GROUPS_CREATED, attributeName=groupsCreated}] +``` + +- Convert the resource to JSON +```powershell +$LoadUncorrelatedAccountsTaskTask | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/LoadUncorrelatedAccountsTaskTaskAttributes.md b/PSSailpoint/v2024/docs/LoadUncorrelatedAccountsTaskTaskAttributes.md new file mode 100644 index 000000000..d4ff7eb8c --- /dev/null +++ b/PSSailpoint/v2024/docs/LoadUncorrelatedAccountsTaskTaskAttributes.md @@ -0,0 +1,23 @@ +# LoadUncorrelatedAccountsTaskTaskAttributes +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**QpocJobId** | **String** | The id of qpoc job | [optional] +**TaskStartDelay** | [**SystemCollectionsHashtable**](.md) | the task start delay value | [optional] + +## Examples + +- Prepare the resource +```powershell +$LoadUncorrelatedAccountsTaskTaskAttributes = Initialize-PSSailpointV2024LoadUncorrelatedAccountsTaskTaskAttributes -QpocJobId 5d303d46-fc51-48cd-9c6d-4e211e3ab63c ` + -TaskStartDelay +``` + +- Convert the resource to JSON +```powershell +$LoadUncorrelatedAccountsTaskTaskAttributes | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/LoadUncorrelatedAccountsTaskTaskMessagesInner.md b/PSSailpoint/v2024/docs/LoadUncorrelatedAccountsTaskTaskMessagesInner.md new file mode 100644 index 000000000..6296f14f6 --- /dev/null +++ b/PSSailpoint/v2024/docs/LoadUncorrelatedAccountsTaskTaskMessagesInner.md @@ -0,0 +1,29 @@ +# LoadUncorrelatedAccountsTaskTaskMessagesInner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | Type of the message. | [optional] +**VarError** | **Boolean** | Flag whether message is an error. | [optional] [default to $false] +**Warning** | **Boolean** | Flag whether message is a warning. | [optional] [default to $false] +**Key** | **String** | Message string identifier. | [optional] +**LocalizedText** | **String** | Message context with the locale based language. | [optional] + +## Examples + +- Prepare the resource +```powershell +$LoadUncorrelatedAccountsTaskTaskMessagesInner = Initialize-PSSailpointV2024LoadUncorrelatedAccountsTaskTaskMessagesInner -Type WARN ` + -VarError false ` + -Warning true ` + -Key This correlation failed because the currently running correlation must complete before the next one can start. ` + -LocalizedText This correlation failed because the currently running correlation must complete before the next one can start. +``` + +- Convert the resource to JSON +```powershell +$LoadUncorrelatedAccountsTaskTaskMessagesInner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/LocaleOrigin.md b/PSSailpoint/v2024/docs/LocaleOrigin.md new file mode 100644 index 000000000..6efa3e11e --- /dev/null +++ b/PSSailpoint/v2024/docs/LocaleOrigin.md @@ -0,0 +1,20 @@ +# LocaleOrigin +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$LocaleOrigin = Initialize-PSSailpointV2024LocaleOrigin +``` + +- Convert the resource to JSON +```powershell +$LocaleOrigin | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/LocalizedMessage.md b/PSSailpoint/v2024/docs/LocalizedMessage.md new file mode 100644 index 000000000..8490f71b2 --- /dev/null +++ b/PSSailpoint/v2024/docs/LocalizedMessage.md @@ -0,0 +1,23 @@ +# LocalizedMessage +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Locale** | **String** | Message locale | +**Message** | **String** | Message text | + +## Examples + +- Prepare the resource +```powershell +$LocalizedMessage = Initialize-PSSailpointV2024LocalizedMessage -Locale An error has occurred! ` + -Message Error has occurred! +``` + +- Convert the resource to JSON +```powershell +$LocalizedMessage | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Lookup.md b/PSSailpoint/v2024/docs/Lookup.md new file mode 100644 index 000000000..52bc4c1e4 --- /dev/null +++ b/PSSailpoint/v2024/docs/Lookup.md @@ -0,0 +1,25 @@ +# Lookup +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Table** | [**System.Collections.Hashtable**](AnyType.md) | This is a JSON object of key-value pairs. The key is the string that will attempt to be matched to the input, and the value is the output string that should be returned if the key is matched >**Note** the use of the optional default key value here; if none of the three countries in the above example match the input string, the transform will return ""Unknown Region"" for the attribute that is mapped to this transform. | +**RequiresPeriodicRefresh** | **Boolean** | A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process | [optional] [default to $false] +**VarInput** | [**System.Collections.Hashtable**](AnyType.md) | This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI. | [optional] + +## Examples + +- Prepare the resource +```powershell +$Lookup = Initialize-PSSailpointV2024Lookup -Table {USA=Americas, FRA=EMEA, AUS=APAC, default=Unknown Region} ` + -RequiresPeriodicRefresh false ` + -VarInput {type=accountAttribute, attributes={attributeName=first_name, sourceName=Source}} +``` + +- Convert the resource to JSON +```powershell +$Lookup | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/LookupStep.md b/PSSailpoint/v2024/docs/LookupStep.md new file mode 100644 index 000000000..4119821d7 --- /dev/null +++ b/PSSailpoint/v2024/docs/LookupStep.md @@ -0,0 +1,25 @@ +# LookupStep +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ReassignedToId** | **String** | The ID of the Identity who work is reassigned to | [optional] +**ReassignedFromId** | **String** | The ID of the Identity who work is reassigned from | [optional] +**ReassignmentType** | [**ReassignmentTypeEnum**](ReassignmentTypeEnum.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$LookupStep = Initialize-PSSailpointV2024LookupStep -ReassignedToId 869320b6b6f34a169b6178b1a865e66f ` + -ReassignedFromId 51948a8f306a4e7a9a6f8f5d032fa59e ` + -ReassignmentType null +``` + +- Convert the resource to JSON +```powershell +$LookupStep | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Lower.md b/PSSailpoint/v2024/docs/Lower.md new file mode 100644 index 000000000..e972c4018 --- /dev/null +++ b/PSSailpoint/v2024/docs/Lower.md @@ -0,0 +1,23 @@ +# Lower +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**RequiresPeriodicRefresh** | **Boolean** | A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process | [optional] [default to $false] +**VarInput** | [**System.Collections.Hashtable**](AnyType.md) | This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI. | [optional] + +## Examples + +- Prepare the resource +```powershell +$Lower = Initialize-PSSailpointV2024Lower -RequiresPeriodicRefresh false ` + -VarInput {type=accountAttribute, attributes={attributeName=first_name, sourceName=Source}} +``` + +- Convert the resource to JSON +```powershell +$Lower | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/MailFromAttributes.md b/PSSailpoint/v2024/docs/MailFromAttributes.md new file mode 100644 index 000000000..ffe5b4ed2 --- /dev/null +++ b/PSSailpoint/v2024/docs/MailFromAttributes.md @@ -0,0 +1,29 @@ +# MailFromAttributes +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Identity** | **String** | The email identity | [optional] +**MailFromDomain** | **String** | The name of a domain that an email identity uses as a custom MAIL FROM domain | [optional] +**MxRecord** | **String** | MX record that is required in customer's DNS to allow the domain to receive bounce and complaint notifications that email providers send you | [optional] +**TxtRecord** | **String** | TXT record that is required in customer's DNS in order to prove that Amazon SES is authorized to send email from your domain | [optional] +**MailFromDomainStatus** | **String** | The current status of the MAIL FROM verification | [optional] + +## Examples + +- Prepare the resource +```powershell +$MailFromAttributes = Initialize-PSSailpointV2024MailFromAttributes -Identity bob.smith@sailpoint.com ` + -MailFromDomain foo.sailpoint.com ` + -MxRecord 10 feedback-smtp.us-east-1.amazonses.com ` + -TxtRecord v=spf1 include:amazonses.com ~all ` + -MailFromDomainStatus PENDING +``` + +- Convert the resource to JSON +```powershell +$MailFromAttributes | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/MailFromAttributesDto.md b/PSSailpoint/v2024/docs/MailFromAttributesDto.md new file mode 100644 index 000000000..2037802b0 --- /dev/null +++ b/PSSailpoint/v2024/docs/MailFromAttributesDto.md @@ -0,0 +1,23 @@ +# MailFromAttributesDto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Identity** | **String** | The identity or domain address | [optional] +**MailFromDomain** | **String** | The new MAIL FROM domain of the identity. Must be a subdomain of the identity. | [optional] + +## Examples + +- Prepare the resource +```powershell +$MailFromAttributesDto = Initialize-PSSailpointV2024MailFromAttributesDto -Identity BobSmith@sailpoint.com ` + -MailFromDomain example.sailpoint.com +``` + +- Convert the resource to JSON +```powershell +$MailFromAttributesDto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ManagedClient.md b/PSSailpoint/v2024/docs/ManagedClient.md new file mode 100644 index 000000000..dd8ad2a13 --- /dev/null +++ b/PSSailpoint/v2024/docs/ManagedClient.md @@ -0,0 +1,61 @@ +# ManagedClient +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | ManagedClient ID | [optional] [readonly] +**AlertKey** | **String** | ManagedClient alert key | [optional] [readonly] +**ApiGatewayBaseUrl** | **String** | | [optional] +**Cookbook** | **String** | | [optional] +**CcId** | **Int64** | Previous CC ID to be used in data migration. (This field will be deleted after CC migration!) | [optional] +**ClientId** | **String** | The client ID used in API management | +**ClusterId** | **String** | Cluster ID that the ManagedClient is linked to | +**Description** | **String** | ManagedClient description | [default to ""] +**IpAddress** | **String** | The public IP address of the ManagedClient | [optional] [readonly] +**LastSeen** | **System.DateTime** | When the ManagedClient was last seen by the server | [optional] [readonly] +**Name** | **String** | ManagedClient name | [optional] [default to "VA-$clientId"] +**SinceLastSeen** | **String** | Milliseconds since the ManagedClient has polled the server | [optional] [readonly] +**Status** | **String** | Status of the ManagedClient | [optional] [readonly] +**Type** | **String** | Type of the ManagedClient (VA, CCG) | +**ClusterType** | **String** | Cluster Type of the ManagedClient | [optional] [readonly] +**VaDownloadUrl** | **String** | ManagedClient VA download URL | [optional] [readonly] +**VaVersion** | **String** | Version that the ManagedClient's VA is running | [optional] [readonly] +**Secret** | **String** | Client's apiKey | [optional] +**CreatedAt** | **System.DateTime** | The date/time this ManagedClient was created | [optional] +**UpdatedAt** | **System.DateTime** | The date/time this ManagedClient was last updated | [optional] +**ProvisionStatus** | **String** | The provisioning status of the ManagedClient | [optional] [readonly] + +## Examples + +- Prepare the resource +```powershell +$ManagedClient = Initialize-PSSailpointV2024ManagedClient -Id 2c9180878eaf4204018eb019c3570003 ` + -AlertKey CLIENT_STATUS_NOT_CONFIGURED ` + -ApiGatewayBaseUrl null ` + -Cookbook null ` + -CcId 2248 ` + -ClientId 00be54a2-bb6d-402f-9159-beb2d5319347 ` + -ClusterId e1ff7bb24c934240bbf55e1aa39e41c5 ` + -Description A short description of the ManagedClient ` + -IpAddress 123.456.78.90 ` + -LastSeen 2020-01-01T00:00Z ` + -Name aName ` + -SinceLastSeen 15000 ` + -Status NORMAL ` + -Type VA ` + -ClusterType idn ` + -VaDownloadUrl aUrl ` + -VaVersion va-megapod-useast1-610-1621372012 ` + -Secret ef878e15eaa8c8d3e2fa52f41125e2a0eeadadc6a14f931a33ad3e1b62d56381 ` + -CreatedAt 2023-08-04T20:48:01.865Z ` + -UpdatedAt 2023-08-04T20:48:01.865Z ` + -ProvisionStatus PROVISIONED +``` + +- Convert the resource to JSON +```powershell +$ManagedClient | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ManagedClientRequest.md b/PSSailpoint/v2024/docs/ManagedClientRequest.md new file mode 100644 index 000000000..b94e24a59 --- /dev/null +++ b/PSSailpoint/v2024/docs/ManagedClientRequest.md @@ -0,0 +1,27 @@ +# ManagedClientRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ClusterId** | **String** | Cluster ID that the ManagedClient is linked to | +**Description** | **String** | description for the ManagedClient to create | [optional] +**Name** | **String** | name for the ManagedClient to create | [optional] +**Type** | **String** | Type of the ManagedClient (VA, CCG) to create | [optional] + +## Examples + +- Prepare the resource +```powershell +$ManagedClientRequest = Initialize-PSSailpointV2024ManagedClientRequest -ClusterId aClusterId ` + -Description A short description of the ManagedClient ` + -Name aName ` + -Type VA +``` + +- Convert the resource to JSON +```powershell +$ManagedClientRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ManagedClientStatus.md b/PSSailpoint/v2024/docs/ManagedClientStatus.md new file mode 100644 index 000000000..4d122ed35 --- /dev/null +++ b/PSSailpoint/v2024/docs/ManagedClientStatus.md @@ -0,0 +1,27 @@ +# ManagedClientStatus +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Body** | [**SystemCollectionsHashtable**](.md) | ManagedClientStatus body information | +**Status** | [**ManagedClientStatusCode**](ManagedClientStatusCode.md) | | +**Type** | [**ManagedClientType**](ManagedClientType.md) | | +**Timestamp** | **System.DateTime** | timestamp on the Client Status update | + +## Examples + +- Prepare the resource +```powershell +$ManagedClientStatus = Initialize-PSSailpointV2024ManagedClientStatus -Body {alertKey=, id=5678, clusterId=1234, ccg_etag=ccg_etag123xyz456, ccg_pin=NONE, cookbook_etag=20210420125956-20210511144538, hostname=megapod-useast1-secret-hostname.sailpoint.com, internal_ip=127.0.0.1, lastSeen=1620843964604, sinceSeen=14708, sinceSeenMillis=14708, localDev=false, stacktrace=, state=null, status=NORMAL, uuid=null, product=idn, va_version=null, platform_version=2, os_version=2345.3.1, os_type=flatcar, hypervisor=unknown} ` + -Status null ` + -Type null ` + -Timestamp 2020-01-01T00:00Z +``` + +- Convert the resource to JSON +```powershell +$ManagedClientStatus | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ManagedClientStatusCode.md b/PSSailpoint/v2024/docs/ManagedClientStatusCode.md new file mode 100644 index 000000000..eeace8cb2 --- /dev/null +++ b/PSSailpoint/v2024/docs/ManagedClientStatusCode.md @@ -0,0 +1,20 @@ +# ManagedClientStatusCode +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$ManagedClientStatusCode = Initialize-PSSailpointV2024ManagedClientStatusCode +``` + +- Convert the resource to JSON +```powershell +$ManagedClientStatusCode | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ManagedClientType.md b/PSSailpoint/v2024/docs/ManagedClientType.md new file mode 100644 index 000000000..65aad02b5 --- /dev/null +++ b/PSSailpoint/v2024/docs/ManagedClientType.md @@ -0,0 +1,20 @@ +# ManagedClientType +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$ManagedClientType = Initialize-PSSailpointV2024ManagedClientType +``` + +- Convert the resource to JSON +```powershell +$ManagedClientType | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ManagedCluster.md b/PSSailpoint/v2024/docs/ManagedCluster.md new file mode 100644 index 000000000..f4eeea915 --- /dev/null +++ b/PSSailpoint/v2024/docs/ManagedCluster.md @@ -0,0 +1,69 @@ +# ManagedCluster +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | ManagedCluster ID | +**Name** | **String** | ManagedCluster name | [optional] +**Pod** | **String** | ManagedCluster pod | [optional] +**Org** | **String** | ManagedCluster org | [optional] +**Type** | [**ManagedClusterTypes**](ManagedClusterTypes.md) | | [optional] +**Configuration** | **System.Collections.Hashtable** | ManagedProcess configuration map | [optional] +**KeyPair** | [**ManagedClusterKeyPair**](ManagedClusterKeyPair.md) | | [optional] +**Attributes** | [**ManagedClusterAttributes**](ManagedClusterAttributes.md) | | [optional] +**Description** | **String** | ManagedCluster description | [optional] [default to "q"] +**Redis** | [**ManagedClusterRedis**](ManagedClusterRedis.md) | | [optional] +**ClientType** | [**ManagedClientType**](ManagedClientType.md) | | +**CcgVersion** | **String** | CCG version used by the ManagedCluster | +**PinnedConfig** | **Boolean** | boolean flag indiacting whether or not the cluster configuration is pinned | [optional] [default to $false] +**LogConfiguration** | [**ClientLogConfiguration**](ClientLogConfiguration.md) | | [optional] +**Operational** | **Boolean** | Whether or not the cluster is operational or not | [optional] [default to $false] +**Status** | **String** | Cluster status | [optional] +**PublicKeyCertificate** | **String** | Public key certificate | [optional] +**PublicKeyThumbprint** | **String** | Public key thumbprint | [optional] +**PublicKey** | **String** | Public key | [optional] +**AlertKey** | **String** | Key describing any immediate cluster alerts | [optional] +**ClientIds** | **String[]** | List of clients in a cluster | [optional] +**ServiceCount** | **Int32** | Number of services bound to a cluster | [optional] [default to 0] +**CcId** | **String** | CC ID only used in calling CC, will be removed without notice when Migration to CEGS is finished | [optional] [default to "0"] +**CreatedAt** | **System.DateTime** | The date/time this cluster was created | [optional] +**UpdatedAt** | **System.DateTime** | The date/time this cluster was last updated | [optional] + +## Examples + +- Prepare the resource +```powershell +$ManagedCluster = Initialize-PSSailpointV2024ManagedCluster -Id e1ff7bb24c934240bbf55e1aa39e41c5 ` + -Name Managed Cluster Name ` + -Pod megapod-useast1 ` + -Org denali ` + -Type null ` + -Configuration {clusterExternalId=e1ff7bb24c934240bbf55e1aa39e41c5, clusterType=sqsCluster, gmtOffset=-5} ` + -KeyPair null ` + -Attributes null ` + -Description A short description of the managed cluster. ` + -Redis null ` + -ClientType null ` + -CcgVersion v01 ` + -PinnedConfig false ` + -LogConfiguration null ` + -Operational false ` + -Status NORMAL ` + -PublicKeyCertificate -----BEGIN CERTIFICATE-----TCCAb2gAwIBAgIBADANBgkqhkiG9w0BAQsFADAuMQ0wCwYDVQQD-----END CERTIFICATE----- ` + -PublicKeyThumbprint obc6pLiulGbtZ ` + -PublicKey -----BEGIN PUBLIC KEY-----jANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA3WgnsxP52MDgBTfHR+5n4-----END PUBLIC KEY----- ` + -AlertKey LIMITED_RESOURCES ` + -ClientIds [1244, 1245] ` + -ServiceCount 6 ` + -CcId 1533 ` + -CreatedAt 2023-08-04T20:48:01.865Z ` + -UpdatedAt 2023-08-04T20:48:01.865Z +``` + +- Convert the resource to JSON +```powershell +$ManagedCluster | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ManagedClusterAttributes.md b/PSSailpoint/v2024/docs/ManagedClusterAttributes.md new file mode 100644 index 000000000..2f6de9748 --- /dev/null +++ b/PSSailpoint/v2024/docs/ManagedClusterAttributes.md @@ -0,0 +1,23 @@ +# ManagedClusterAttributes +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Queue** | [**ManagedClusterQueue**](ManagedClusterQueue.md) | | [optional] +**Keystore** | **String** | ManagedCluster keystore for spConnectCluster type | [optional] + +## Examples + +- Prepare the resource +```powershell +$ManagedClusterAttributes = Initialize-PSSailpointV2024ManagedClusterAttributes -Queue null ` + -Keystore /u3+7QAAAAIAAAABAAAAAQAvL3Byb3h5LWNsdXN0ZXIvMmM5MTgwODc3Yjg3MW +``` + +- Convert the resource to JSON +```powershell +$ManagedClusterAttributes | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ManagedClusterKeyPair.md b/PSSailpoint/v2024/docs/ManagedClusterKeyPair.md new file mode 100644 index 000000000..c9a0e66db --- /dev/null +++ b/PSSailpoint/v2024/docs/ManagedClusterKeyPair.md @@ -0,0 +1,25 @@ +# ManagedClusterKeyPair +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**PublicKey** | **String** | ManagedCluster publicKey | [optional] +**PublicKeyThumbprint** | **String** | ManagedCluster publicKeyThumbprint | [optional] +**PublicKeyCertificate** | **String** | ManagedCluster publicKeyCertificate | [optional] + +## Examples + +- Prepare the resource +```powershell +$ManagedClusterKeyPair = Initialize-PSSailpointV2024ManagedClusterKeyPair -PublicKey -----BEGIN PUBLIC KEY-----******-----END PUBLIC KEY----- ` + -PublicKeyThumbprint 6CMlaJIV44-xJxcB3CJBjDUUn54 ` + -PublicKeyCertificate -----BEGIN CERTIFICATE-----****-----END CERTIFICATE----- +``` + +- Convert the resource to JSON +```powershell +$ManagedClusterKeyPair | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ManagedClusterQueue.md b/PSSailpoint/v2024/docs/ManagedClusterQueue.md new file mode 100644 index 000000000..81207b58f --- /dev/null +++ b/PSSailpoint/v2024/docs/ManagedClusterQueue.md @@ -0,0 +1,23 @@ +# ManagedClusterQueue +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | ManagedCluster queue name | [optional] +**Region** | **String** | ManagedCluster queue aws region | [optional] + +## Examples + +- Prepare the resource +```powershell +$ManagedClusterQueue = Initialize-PSSailpointV2024ManagedClusterQueue -Name megapod-useast1-denali-lwt-cluster-1533 ` + -Region us-east-1 +``` + +- Convert the resource to JSON +```powershell +$ManagedClusterQueue | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ManagedClusterRedis.md b/PSSailpoint/v2024/docs/ManagedClusterRedis.md new file mode 100644 index 000000000..787c54e1c --- /dev/null +++ b/PSSailpoint/v2024/docs/ManagedClusterRedis.md @@ -0,0 +1,23 @@ +# ManagedClusterRedis +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**RedisHost** | **String** | ManagedCluster redisHost | [optional] +**RedisPort** | **Int32** | ManagedCluster redisPort | [optional] + +## Examples + +- Prepare the resource +```powershell +$ManagedClusterRedis = Initialize-PSSailpointV2024ManagedClusterRedis -RedisHost megapod-useast1-shared-redis.cloud.sailpoint.com ` + -RedisPort 6379 +``` + +- Convert the resource to JSON +```powershell +$ManagedClusterRedis | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ManagedClusterRequest.md b/PSSailpoint/v2024/docs/ManagedClusterRequest.md new file mode 100644 index 000000000..8c18a38ce --- /dev/null +++ b/PSSailpoint/v2024/docs/ManagedClusterRequest.md @@ -0,0 +1,27 @@ +# ManagedClusterRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | ManagedCluster name | +**Type** | [**ManagedClusterTypes**](ManagedClusterTypes.md) | | [optional] +**Configuration** | **System.Collections.Hashtable** | ManagedProcess configuration map | [optional] +**Description** | **String** | ManagedCluster description | [optional] + +## Examples + +- Prepare the resource +```powershell +$ManagedClusterRequest = Initialize-PSSailpointV2024ManagedClusterRequest -Name Managed Cluster Name ` + -Type null ` + -Configuration {clusterExternalId=externalId, ccgVersion=77.0.0} ` + -Description A short description of the managed cluster. +``` + +- Convert the resource to JSON +```powershell +$ManagedClusterRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ManagedClusterTypes.md b/PSSailpoint/v2024/docs/ManagedClusterTypes.md new file mode 100644 index 000000000..a9a15cbd9 --- /dev/null +++ b/PSSailpoint/v2024/docs/ManagedClusterTypes.md @@ -0,0 +1,20 @@ +# ManagedClusterTypes +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$ManagedClusterTypes = Initialize-PSSailpointV2024ManagedClusterTypes +``` + +- Convert the resource to JSON +```powershell +$ManagedClusterTypes | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ManagerCorrelationMapping.md b/PSSailpoint/v2024/docs/ManagerCorrelationMapping.md new file mode 100644 index 000000000..7a7d677ca --- /dev/null +++ b/PSSailpoint/v2024/docs/ManagerCorrelationMapping.md @@ -0,0 +1,23 @@ +# ManagerCorrelationMapping +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AccountAttributeName** | **String** | Name of the attribute to use for manager correlation. The value found on the account attribute will be used to lookup the manager's identity. | [optional] +**IdentityAttributeName** | **String** | Name of the identity attribute to search when trying to find a manager using the value from the accountAttribute. | [optional] + +## Examples + +- Prepare the resource +```powershell +$ManagerCorrelationMapping = Initialize-PSSailpointV2024ManagerCorrelationMapping -AccountAttributeName manager ` + -IdentityAttributeName manager +``` + +- Convert the resource to JSON +```powershell +$ManagerCorrelationMapping | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ManualDiscoverApplications.md b/PSSailpoint/v2024/docs/ManualDiscoverApplications.md new file mode 100644 index 000000000..d157adde4 --- /dev/null +++ b/PSSailpoint/v2024/docs/ManualDiscoverApplications.md @@ -0,0 +1,23 @@ +# ManualDiscoverApplications +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**File** | **System.IO.FileInfo** | The CSV file to upload containing `application_name` and `description` columns. Each row represents an application to be discovered. | + +## Examples + +- Prepare the resource +```powershell +$ManualDiscoverApplications = Initialize-PSSailpointV2024ManualDiscoverApplications -File application_name,description +"Sample App","This is a sample description for Sample App." +"Another App","Description for Another App." +``` + +- Convert the resource to JSON +```powershell +$ManualDiscoverApplications | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ManualDiscoverApplicationsTemplate.md b/PSSailpoint/v2024/docs/ManualDiscoverApplicationsTemplate.md new file mode 100644 index 000000000..4d79e29eb --- /dev/null +++ b/PSSailpoint/v2024/docs/ManualDiscoverApplicationsTemplate.md @@ -0,0 +1,23 @@ +# ManualDiscoverApplicationsTemplate +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApplicationName** | **String** | Name of the application. | [optional] +**Description** | **String** | Description of the application. | [optional] + +## Examples + +- Prepare the resource +```powershell +$ManualDiscoverApplicationsTemplate = Initialize-PSSailpointV2024ManualDiscoverApplicationsTemplate -ApplicationName Example Application ` + -Description Example Description +``` + +- Convert the resource to JSON +```powershell +$ManualDiscoverApplicationsTemplate | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ManualWorkItemDetails.md b/PSSailpoint/v2024/docs/ManualWorkItemDetails.md new file mode 100644 index 000000000..3768305e7 --- /dev/null +++ b/PSSailpoint/v2024/docs/ManualWorkItemDetails.md @@ -0,0 +1,31 @@ +# ManualWorkItemDetails +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Forwarded** | **Boolean** | True if the request for this item was forwarded from one owner to another. | [optional] [default to $false] +**OriginalOwner** | [**ManualWorkItemDetailsOriginalOwner**](ManualWorkItemDetailsOriginalOwner.md) | | [optional] +**CurrentOwner** | [**ManualWorkItemDetailsCurrentOwner**](ManualWorkItemDetailsCurrentOwner.md) | | [optional] +**Modified** | **System.DateTime** | Time at which item was modified. | [optional] +**Status** | [**ManualWorkItemState**](ManualWorkItemState.md) | | [optional] +**ForwardHistory** | [**ApprovalForwardHistory[]**](ApprovalForwardHistory.md) | The history of approval forward action. | [optional] + +## Examples + +- Prepare the resource +```powershell +$ManualWorkItemDetails = Initialize-PSSailpointV2024ManualWorkItemDetails -Forwarded true ` + -OriginalOwner null ` + -CurrentOwner null ` + -Modified 2019-08-23T18:52:57.398Z ` + -Status null ` + -ForwardHistory null +``` + +- Convert the resource to JSON +```powershell +$ManualWorkItemDetails | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ManualWorkItemDetailsCurrentOwner.md b/PSSailpoint/v2024/docs/ManualWorkItemDetailsCurrentOwner.md new file mode 100644 index 000000000..48ad6e3a2 --- /dev/null +++ b/PSSailpoint/v2024/docs/ManualWorkItemDetailsCurrentOwner.md @@ -0,0 +1,25 @@ +# ManualWorkItemDetailsCurrentOwner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | DTO type of current work item owner's identity. | [optional] +**Id** | **String** | ID of current work item owner's identity. | [optional] +**Name** | **String** | Display name of current work item owner. | [optional] + +## Examples + +- Prepare the resource +```powershell +$ManualWorkItemDetailsCurrentOwner = Initialize-PSSailpointV2024ManualWorkItemDetailsCurrentOwner -Type IDENTITY ` + -Id 2c3780a46faadee4016fb4e018c20652 ` + -Name Allen Albertson +``` + +- Convert the resource to JSON +```powershell +$ManualWorkItemDetailsCurrentOwner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ManualWorkItemDetailsOriginalOwner.md b/PSSailpoint/v2024/docs/ManualWorkItemDetailsOriginalOwner.md new file mode 100644 index 000000000..b5373a6d0 --- /dev/null +++ b/PSSailpoint/v2024/docs/ManualWorkItemDetailsOriginalOwner.md @@ -0,0 +1,25 @@ +# ManualWorkItemDetailsOriginalOwner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | DTO type of original work item owner's identity. | [optional] +**Id** | **String** | ID of original work item owner's identity. | [optional] +**Name** | **String** | Display name of original work item owner. | [optional] + +## Examples + +- Prepare the resource +```powershell +$ManualWorkItemDetailsOriginalOwner = Initialize-PSSailpointV2024ManualWorkItemDetailsOriginalOwner -Type IDENTITY ` + -Id 2c7180a46faadee4016fb4e018c20642 ` + -Name Michael Michaels +``` + +- Convert the resource to JSON +```powershell +$ManualWorkItemDetailsOriginalOwner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ManualWorkItemState.md b/PSSailpoint/v2024/docs/ManualWorkItemState.md new file mode 100644 index 000000000..ed047705b --- /dev/null +++ b/PSSailpoint/v2024/docs/ManualWorkItemState.md @@ -0,0 +1,20 @@ +# ManualWorkItemState +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$ManualWorkItemState = Initialize-PSSailpointV2024ManualWorkItemState +``` + +- Convert the resource to JSON +```powershell +$ManualWorkItemState | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ManuallyUpdatedFieldsDTO.md b/PSSailpoint/v2024/docs/ManuallyUpdatedFieldsDTO.md new file mode 100644 index 000000000..5f68223ec --- /dev/null +++ b/PSSailpoint/v2024/docs/ManuallyUpdatedFieldsDTO.md @@ -0,0 +1,23 @@ +# ManuallyUpdatedFieldsDTO +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**DISPLAYNAME** | **Boolean** | True if the entitlements name was updated manually via entitlement import csv or patch endpoint. False means that property value has not been change after first entitlement aggregation. Field refers to [Entitlement response schema](https://developer.sailpoint.com/idn/api/beta/get-entitlement) > `name` property. | [optional] [default to $false] +**DESCRIPTION** | **Boolean** | True if the entitlement description was updated manually via entitlement import csv or patch endpoint. False means that property value has not been change after first entitlement aggregation. Field refers to [Entitlement response schema](https://developer.sailpoint.com/idn/api/beta/get-entitlement) > `description` property. | [optional] [default to $false] + +## Examples + +- Prepare the resource +```powershell +$ManuallyUpdatedFieldsDTO = Initialize-PSSailpointV2024ManuallyUpdatedFieldsDTO -DISPLAYNAME true ` + -DESCRIPTION true +``` + +- Convert the resource to JSON +```powershell +$ManuallyUpdatedFieldsDTO | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Medium.md b/PSSailpoint/v2024/docs/Medium.md new file mode 100644 index 000000000..132367fb2 --- /dev/null +++ b/PSSailpoint/v2024/docs/Medium.md @@ -0,0 +1,20 @@ +# Medium +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$Medium = Initialize-PSSailpointV2024Medium +``` + +- Convert the resource to JSON +```powershell +$Medium | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/MetricAggregation.md b/PSSailpoint/v2024/docs/MetricAggregation.md new file mode 100644 index 000000000..b3608947e --- /dev/null +++ b/PSSailpoint/v2024/docs/MetricAggregation.md @@ -0,0 +1,25 @@ +# MetricAggregation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | The name of the metric aggregate to be included in the result. If the metric aggregation is omitted, the resulting aggregation will be a count of the documents in the search results. | +**Type** | [**MetricType**](MetricType.md) | | [optional] +**Field** | **String** | The field the calculation is performed on. Prefix the field name with '@' to reference a nested object. | + +## Examples + +- Prepare the resource +```powershell +$MetricAggregation = Initialize-PSSailpointV2024MetricAggregation -Name Access Name Count ` + -Type null ` + -Field @access.name +``` + +- Convert the resource to JSON +```powershell +$MetricAggregation | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/MetricResponse.md b/PSSailpoint/v2024/docs/MetricResponse.md new file mode 100644 index 000000000..25c889642 --- /dev/null +++ b/PSSailpoint/v2024/docs/MetricResponse.md @@ -0,0 +1,23 @@ +# MetricResponse +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | the name of metric | [optional] +**Value** | **Decimal** | the value associated to the metric | [optional] + +## Examples + +- Prepare the resource +```powershell +$MetricResponse = Initialize-PSSailpointV2024MetricResponse -Name null ` + -Value null +``` + +- Convert the resource to JSON +```powershell +$MetricResponse | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/MetricType.md b/PSSailpoint/v2024/docs/MetricType.md new file mode 100644 index 000000000..d588ae8e2 --- /dev/null +++ b/PSSailpoint/v2024/docs/MetricType.md @@ -0,0 +1,20 @@ +# MetricType +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$MetricType = Initialize-PSSailpointV2024MetricType +``` + +- Convert the resource to JSON +```powershell +$MetricType | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/MfaConfigTestResponse.md b/PSSailpoint/v2024/docs/MfaConfigTestResponse.md new file mode 100644 index 000000000..c4e4f21b0 --- /dev/null +++ b/PSSailpoint/v2024/docs/MfaConfigTestResponse.md @@ -0,0 +1,23 @@ +# MfaConfigTestResponse +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**State** | **String** | The configuration test result. | [optional] [readonly] +**VarError** | **String** | The error message to indicate the failure of configuration test. | [optional] [readonly] + +## Examples + +- Prepare the resource +```powershell +$MfaConfigTestResponse = Initialize-PSSailpointV2024MfaConfigTestResponse -State SUCCESS ` + -VarError MFA Method is disabled. +``` + +- Convert the resource to JSON +```powershell +$MfaConfigTestResponse | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/MfaDuoConfig.md b/PSSailpoint/v2024/docs/MfaDuoConfig.md new file mode 100644 index 000000000..20a185b43 --- /dev/null +++ b/PSSailpoint/v2024/docs/MfaDuoConfig.md @@ -0,0 +1,31 @@ +# MfaDuoConfig +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**MfaMethod** | **String** | Mfa method name | [optional] +**Enabled** | **Boolean** | If MFA method is enabled. | [optional] [default to $false] +**VarHost** | **String** | The server host name or IP address of the MFA provider. | [optional] +**AccessKey** | **String** | The secret key for authenticating requests to the MFA provider. | [optional] +**IdentityAttribute** | **String** | Optional. The name of the attribute for mapping IdentityNow identity to the MFA provider. | [optional] +**ConfigProperties** | [**System.Collections.Hashtable**](AnyType.md) | A map with additional config properties for the given MFA method - duo-web. | [optional] + +## Examples + +- Prepare the resource +```powershell +$MfaDuoConfig = Initialize-PSSailpointV2024MfaDuoConfig -MfaMethod duo-web ` + -Enabled true ` + -VarHost example.com ` + -AccessKey qw123Y3QlA5UqocYpdU3rEkzrK2D497y ` + -IdentityAttribute email ` + -ConfigProperties {skey=qwERttyZx1CdlQye2Vwtbsjr3HKddy4BAiCXjc5x, ikey=Q123WE45R6TY7890ZXCV} +``` + +- Convert the resource to JSON +```powershell +$MfaDuoConfig | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/MfaOktaConfig.md b/PSSailpoint/v2024/docs/MfaOktaConfig.md new file mode 100644 index 000000000..51d540bea --- /dev/null +++ b/PSSailpoint/v2024/docs/MfaOktaConfig.md @@ -0,0 +1,29 @@ +# MfaOktaConfig +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**MfaMethod** | **String** | Mfa method name | [optional] +**Enabled** | **Boolean** | If MFA method is enabled. | [optional] [default to $false] +**VarHost** | **String** | The server host name or IP address of the MFA provider. | [optional] +**AccessKey** | **String** | The secret key for authenticating requests to the MFA provider. | [optional] +**IdentityAttribute** | **String** | Optional. The name of the attribute for mapping IdentityNow identity to the MFA provider. | [optional] + +## Examples + +- Prepare the resource +```powershell +$MfaOktaConfig = Initialize-PSSailpointV2024MfaOktaConfig -MfaMethod okta-verify ` + -Enabled true ` + -VarHost example.com ` + -AccessKey qw123Y3QlA5UqocYpdU3rEkzrK2D497y ` + -IdentityAttribute email +``` + +- Convert the resource to JSON +```powershell +$MfaOktaConfig | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/MultiPolicyRequest.md b/PSSailpoint/v2024/docs/MultiPolicyRequest.md new file mode 100644 index 000000000..d62d88338 --- /dev/null +++ b/PSSailpoint/v2024/docs/MultiPolicyRequest.md @@ -0,0 +1,21 @@ +# MultiPolicyRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**FilteredPolicyList** | **String[]** | Multi-policy report will be run for this list of ids | [optional] + +## Examples + +- Prepare the resource +```powershell +$MultiPolicyRequest = Initialize-PSSailpointV2024MultiPolicyRequest -FilteredPolicyList null +``` + +- Convert the resource to JSON +```powershell +$MultiPolicyRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/NameNormalizer.md b/PSSailpoint/v2024/docs/NameNormalizer.md new file mode 100644 index 000000000..eaf3d2f8a --- /dev/null +++ b/PSSailpoint/v2024/docs/NameNormalizer.md @@ -0,0 +1,23 @@ +# NameNormalizer +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**RequiresPeriodicRefresh** | **Boolean** | A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process | [optional] [default to $false] +**VarInput** | [**System.Collections.Hashtable**](AnyType.md) | This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI. | [optional] + +## Examples + +- Prepare the resource +```powershell +$NameNormalizer = Initialize-PSSailpointV2024NameNormalizer -RequiresPeriodicRefresh false ` + -VarInput {type=accountAttribute, attributes={attributeName=first_name, sourceName=Source}} +``` + +- Convert the resource to JSON +```powershell +$NameNormalizer | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/NamedConstructs.md b/PSSailpoint/v2024/docs/NamedConstructs.md new file mode 100644 index 000000000..1aa2be854 --- /dev/null +++ b/PSSailpoint/v2024/docs/NamedConstructs.md @@ -0,0 +1,20 @@ +# NamedConstructs +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$NamedConstructs = Initialize-PSSailpointV2024NamedConstructs +``` + +- Convert the resource to JSON +```powershell +$NamedConstructs | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/NativeChangeDetectionConfig.md b/PSSailpoint/v2024/docs/NativeChangeDetectionConfig.md new file mode 100644 index 000000000..a490d38d7 --- /dev/null +++ b/PSSailpoint/v2024/docs/NativeChangeDetectionConfig.md @@ -0,0 +1,31 @@ +# NativeChangeDetectionConfig +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Enabled** | **Boolean** | A flag indicating if Native Change Detection is enabled for a source. | [optional] [default to $false] +**Operations** | **String[]** | Operation types for which Native Change Detection is enabled for a source. | [optional] +**AllEntitlements** | **Boolean** | A flag indicating that all entitlements participate in Native Change Detection. | [optional] [default to $false] +**AllNonEntitlementAttributes** | **Boolean** | A flag indicating that all non-entitlement account attributes participate in Native Change Detection. | [optional] [default to $false] +**SelectedEntitlements** | **String[]** | If allEntitlements flag is off this field lists entitlements that participate in Native Change Detection. | [optional] +**SelectedNonEntitlementAttributes** | **String[]** | If allNonEntitlementAttributes flag is off this field lists non-entitlement account attributes that participate in Native Change Detection. | [optional] + +## Examples + +- Prepare the resource +```powershell +$NativeChangeDetectionConfig = Initialize-PSSailpointV2024NativeChangeDetectionConfig -Enabled true ` + -Operations [ACCOUNT_UPDATED, ACCOUNT_DELETED] ` + -AllEntitlements false ` + -AllNonEntitlementAttributes false ` + -SelectedEntitlements [memberOf, memberOfSharedMailbox] ` + -SelectedNonEntitlementAttributes [lastName, phoneNumber, objectType, servicePrincipalName] +``` + +- Convert the resource to JSON +```powershell +$NativeChangeDetectionConfig | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/NestedAggregation.md b/PSSailpoint/v2024/docs/NestedAggregation.md new file mode 100644 index 000000000..9d91141c1 --- /dev/null +++ b/PSSailpoint/v2024/docs/NestedAggregation.md @@ -0,0 +1,23 @@ +# NestedAggregation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | The name of the nested aggregate to be included in the result. | +**Type** | **String** | The type of the nested object. | + +## Examples + +- Prepare the resource +```powershell +$NestedAggregation = Initialize-PSSailpointV2024NestedAggregation -Name id ` + -Type access +``` + +- Convert the resource to JSON +```powershell +$NestedAggregation | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/NetworkConfiguration.md b/PSSailpoint/v2024/docs/NetworkConfiguration.md new file mode 100644 index 000000000..4b807d631 --- /dev/null +++ b/PSSailpoint/v2024/docs/NetworkConfiguration.md @@ -0,0 +1,25 @@ +# NetworkConfiguration +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Range** | **String[]** | The collection of ip ranges. | [optional] +**Geolocation** | **String[]** | The collection of country codes. | [optional] +**Whitelisted** | **Boolean** | Denotes whether the provided lists are whitelisted or blacklisted for geo location. | [optional] [default to $false] + +## Examples + +- Prepare the resource +```powershell +$NetworkConfiguration = Initialize-PSSailpointV2024NetworkConfiguration -Range [1.3.7.2, 255.255.255.252/30] ` + -Geolocation [CA, FR, HT] ` + -Whitelisted true +``` + +- Convert the resource to JSON +```powershell +$NetworkConfiguration | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/NonEmployeeApprovalDecision.md b/PSSailpoint/v2024/docs/NonEmployeeApprovalDecision.md new file mode 100644 index 000000000..009aed9e6 --- /dev/null +++ b/PSSailpoint/v2024/docs/NonEmployeeApprovalDecision.md @@ -0,0 +1,21 @@ +# NonEmployeeApprovalDecision +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Comment** | **String** | Comment on the approval item. | [optional] + +## Examples + +- Prepare the resource +```powershell +$NonEmployeeApprovalDecision = Initialize-PSSailpointV2024NonEmployeeApprovalDecision -Comment Approved by manager +``` + +- Convert the resource to JSON +```powershell +$NonEmployeeApprovalDecision | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/NonEmployeeApprovalItem.md b/PSSailpoint/v2024/docs/NonEmployeeApprovalItem.md new file mode 100644 index 000000000..e62d8499e --- /dev/null +++ b/PSSailpoint/v2024/docs/NonEmployeeApprovalItem.md @@ -0,0 +1,37 @@ +# NonEmployeeApprovalItem +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Non-Employee approval item id | [optional] +**Approver** | [**NonEmployeeIdentityReferenceWithId**](NonEmployeeIdentityReferenceWithId.md) | | [optional] +**AccountName** | **String** | Requested identity account name | [optional] +**ApprovalStatus** | [**ApprovalStatus**](ApprovalStatus.md) | | [optional] +**ApprovalOrder** | **Double** | Approval order | [optional] +**Comment** | **String** | comment of approver | [optional] +**Modified** | **System.DateTime** | When the request was last modified. | [optional] +**Created** | **System.DateTime** | When the request was created. | [optional] +**NonEmployeeRequest** | [**NonEmployeeRequestLite**](NonEmployeeRequestLite.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$NonEmployeeApprovalItem = Initialize-PSSailpointV2024NonEmployeeApprovalItem -Id 2c1e388b-1e55-4b0a-ab5c-897f1204159c ` + -Approver null ` + -AccountName test.account ` + -ApprovalStatus null ` + -ApprovalOrder 1 ` + -Comment I approve ` + -Modified 2019-08-23T18:52:59.162Z ` + -Created 2019-08-23T18:40:35.772Z ` + -NonEmployeeRequest null +``` + +- Convert the resource to JSON +```powershell +$NonEmployeeApprovalItem | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/NonEmployeeApprovalItemBase.md b/PSSailpoint/v2024/docs/NonEmployeeApprovalItemBase.md new file mode 100644 index 000000000..7e90a4fa6 --- /dev/null +++ b/PSSailpoint/v2024/docs/NonEmployeeApprovalItemBase.md @@ -0,0 +1,35 @@ +# NonEmployeeApprovalItemBase +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Non-Employee approval item id | [optional] +**Approver** | [**NonEmployeeIdentityReferenceWithId**](NonEmployeeIdentityReferenceWithId.md) | | [optional] +**AccountName** | **String** | Requested identity account name | [optional] +**ApprovalStatus** | [**ApprovalStatus**](ApprovalStatus.md) | | [optional] +**ApprovalOrder** | **Double** | Approval order | [optional] +**Comment** | **String** | comment of approver | [optional] +**Modified** | **System.DateTime** | When the request was last modified. | [optional] +**Created** | **System.DateTime** | When the request was created. | [optional] + +## Examples + +- Prepare the resource +```powershell +$NonEmployeeApprovalItemBase = Initialize-PSSailpointV2024NonEmployeeApprovalItemBase -Id 2c1e388b-1e55-4b0a-ab5c-897f1204159c ` + -Approver null ` + -AccountName test.account ` + -ApprovalStatus null ` + -ApprovalOrder 1 ` + -Comment I approve ` + -Modified 2019-08-23T18:52:59.162Z ` + -Created 2019-08-23T18:40:35.772Z +``` + +- Convert the resource to JSON +```powershell +$NonEmployeeApprovalItemBase | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/NonEmployeeApprovalItemDetail.md b/PSSailpoint/v2024/docs/NonEmployeeApprovalItemDetail.md new file mode 100644 index 000000000..320263eb3 --- /dev/null +++ b/PSSailpoint/v2024/docs/NonEmployeeApprovalItemDetail.md @@ -0,0 +1,37 @@ +# NonEmployeeApprovalItemDetail +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Non-Employee approval item id | [optional] +**Approver** | [**NonEmployeeIdentityReferenceWithId**](NonEmployeeIdentityReferenceWithId.md) | | [optional] +**AccountName** | **String** | Requested identity account name | [optional] +**ApprovalStatus** | [**ApprovalStatus**](ApprovalStatus.md) | | [optional] +**ApprovalOrder** | **Double** | Approval order | [optional] +**Comment** | **String** | comment of approver | [optional] +**Modified** | **System.DateTime** | When the request was last modified. | [optional] +**Created** | **System.DateTime** | When the request was created. | [optional] +**NonEmployeeRequest** | [**NonEmployeeRequestWithoutApprovalItem**](NonEmployeeRequestWithoutApprovalItem.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$NonEmployeeApprovalItemDetail = Initialize-PSSailpointV2024NonEmployeeApprovalItemDetail -Id 2c1e388b-1e55-4b0a-ab5c-897f1204159c ` + -Approver null ` + -AccountName test.account ` + -ApprovalStatus null ` + -ApprovalOrder 1 ` + -Comment I approve ` + -Modified 2019-08-23T18:52:59.162Z ` + -Created 2019-08-23T18:40:35.772Z ` + -NonEmployeeRequest null +``` + +- Convert the resource to JSON +```powershell +$NonEmployeeApprovalItemDetail | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/NonEmployeeApprovalSummary.md b/PSSailpoint/v2024/docs/NonEmployeeApprovalSummary.md new file mode 100644 index 000000000..64d8ab903 --- /dev/null +++ b/PSSailpoint/v2024/docs/NonEmployeeApprovalSummary.md @@ -0,0 +1,25 @@ +# NonEmployeeApprovalSummary +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Approved** | **Int32** | The number of approved non-employee approval requests. | [optional] +**Pending** | **Int32** | The number of pending non-employee approval requests. | [optional] +**Rejected** | **Int32** | The number of rejected non-employee approval requests. | [optional] + +## Examples + +- Prepare the resource +```powershell +$NonEmployeeApprovalSummary = Initialize-PSSailpointV2024NonEmployeeApprovalSummary -Approved 2 ` + -Pending 2 ` + -Rejected 2 +``` + +- Convert the resource to JSON +```powershell +$NonEmployeeApprovalSummary | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/NonEmployeeBulkUploadJob.md b/PSSailpoint/v2024/docs/NonEmployeeBulkUploadJob.md new file mode 100644 index 000000000..684f788df --- /dev/null +++ b/PSSailpoint/v2024/docs/NonEmployeeBulkUploadJob.md @@ -0,0 +1,29 @@ +# NonEmployeeBulkUploadJob +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The bulk upload job's ID. (UUID) | [optional] +**SourceId** | **String** | The ID of the source to bulk-upload non-employees to. (UUID) | [optional] +**Created** | **System.DateTime** | The date-time the job was submitted. | [optional] +**Modified** | **System.DateTime** | The date-time that the job was last updated. | [optional] +**Status** | **String** | Returns the following values indicating the progress or result of the bulk upload job. ""PENDING"" means the job is queued and waiting to be processed. ""IN_PROGRESS"" means the job is currently being processed. ""COMPLETED"" means the job has been completed without any errors. ""ERROR"" means the job failed to process with errors. | [optional] + +## Examples + +- Prepare the resource +```powershell +$NonEmployeeBulkUploadJob = Initialize-PSSailpointV2024NonEmployeeBulkUploadJob -Id 2c91808568c529c60168cca6f90cffff ` + -SourceId 2c91808568c529c60168cca6f90c1313 ` + -Created 2019-08-23T18:52:59.162Z ` + -Modified 2019-08-23T18:52:59.162Z ` + -Status PENDING +``` + +- Convert the resource to JSON +```powershell +$NonEmployeeBulkUploadJob | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/NonEmployeeBulkUploadStatus.md b/PSSailpoint/v2024/docs/NonEmployeeBulkUploadStatus.md new file mode 100644 index 000000000..c504ad1c5 --- /dev/null +++ b/PSSailpoint/v2024/docs/NonEmployeeBulkUploadStatus.md @@ -0,0 +1,21 @@ +# NonEmployeeBulkUploadStatus +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | **String** | Returns the following values indicating the progress or result of the bulk upload job. ""PENDING"" means the job is queued and waiting to be processed. ""IN_PROGRESS"" means the job is currently being processed. ""COMPLETED"" means the job has been completed without any errors. ""ERROR"" means the job failed to process with errors. null means job has been submitted to the source. | [optional] + +## Examples + +- Prepare the resource +```powershell +$NonEmployeeBulkUploadStatus = Initialize-PSSailpointV2024NonEmployeeBulkUploadStatus -Status PENDING +``` + +- Convert the resource to JSON +```powershell +$NonEmployeeBulkUploadStatus | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/NonEmployeeIdentityDtoType.md b/PSSailpoint/v2024/docs/NonEmployeeIdentityDtoType.md new file mode 100644 index 000000000..2c3673e08 --- /dev/null +++ b/PSSailpoint/v2024/docs/NonEmployeeIdentityDtoType.md @@ -0,0 +1,20 @@ +# NonEmployeeIdentityDtoType +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$NonEmployeeIdentityDtoType = Initialize-PSSailpointV2024NonEmployeeIdentityDtoType +``` + +- Convert the resource to JSON +```powershell +$NonEmployeeIdentityDtoType | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/NonEmployeeIdentityReferenceWithId.md b/PSSailpoint/v2024/docs/NonEmployeeIdentityReferenceWithId.md new file mode 100644 index 000000000..d2dc04803 --- /dev/null +++ b/PSSailpoint/v2024/docs/NonEmployeeIdentityReferenceWithId.md @@ -0,0 +1,23 @@ +# NonEmployeeIdentityReferenceWithId +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | [**NonEmployeeIdentityDtoType**](NonEmployeeIdentityDtoType.md) | | [optional] +**Id** | **String** | Identity id | [optional] + +## Examples + +- Prepare the resource +```powershell +$NonEmployeeIdentityReferenceWithId = Initialize-PSSailpointV2024NonEmployeeIdentityReferenceWithId -Type null ` + -Id 5168015d32f890ca15812c9180835d2e +``` + +- Convert the resource to JSON +```powershell +$NonEmployeeIdentityReferenceWithId | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/NonEmployeeIdnUserRequest.md b/PSSailpoint/v2024/docs/NonEmployeeIdnUserRequest.md new file mode 100644 index 000000000..6cb103d69 --- /dev/null +++ b/PSSailpoint/v2024/docs/NonEmployeeIdnUserRequest.md @@ -0,0 +1,21 @@ +# NonEmployeeIdnUserRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Identity id. | + +## Examples + +- Prepare the resource +```powershell +$NonEmployeeIdnUserRequest = Initialize-PSSailpointV2024NonEmployeeIdnUserRequest -Id 2c91808570313110017040b06f344ec9 +``` + +- Convert the resource to JSON +```powershell +$NonEmployeeIdnUserRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/NonEmployeeRecord.md b/PSSailpoint/v2024/docs/NonEmployeeRecord.md new file mode 100644 index 000000000..e3d9f2295 --- /dev/null +++ b/PSSailpoint/v2024/docs/NonEmployeeRecord.md @@ -0,0 +1,45 @@ +# NonEmployeeRecord +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Non-Employee record id. | [optional] +**AccountName** | **String** | Requested identity account name. | [optional] +**FirstName** | **String** | Non-Employee's first name. | [optional] +**LastName** | **String** | Non-Employee's last name. | [optional] +**Email** | **String** | Non-Employee's email. | [optional] +**Phone** | **String** | Non-Employee's phone. | [optional] +**Manager** | **String** | The account ID of a valid identity to serve as this non-employee's manager. | [optional] +**SourceId** | **String** | Non-Employee's source id. | [optional] +**VarData** | **System.Collections.Hashtable** | Attribute blob/bag for a non-employee. | [optional] +**StartDate** | **System.DateTime** | Non-Employee employment start date. | [optional] +**EndDate** | **System.DateTime** | Non-Employee employment end date. | [optional] +**Modified** | **System.DateTime** | When the request was last modified. | [optional] +**Created** | **System.DateTime** | When the request was created. | [optional] + +## Examples + +- Prepare the resource +```powershell +$NonEmployeeRecord = Initialize-PSSailpointV2024NonEmployeeRecord -Id ef38f94347e94562b5bb8424a56397d8 ` + -AccountName Abby.Smith ` + -FirstName William ` + -LastName Smith ` + -Email william.smith@example.com ` + -Phone 5555555555 ` + -Manager jane.doe ` + -SourceId 2c91808568c529c60168cca6f90c1313 ` + -VarData {description=Auditing} ` + -StartDate 2019-08-23T18:52:59.162Z ` + -EndDate 2020-08-23T18:52:59.162Z ` + -Modified 2019-08-23T18:52:59.162Z ` + -Created 2019-08-23T18:40:35.772Z +``` + +- Convert the resource to JSON +```powershell +$NonEmployeeRecord | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/NonEmployeeRejectApprovalDecision.md b/PSSailpoint/v2024/docs/NonEmployeeRejectApprovalDecision.md new file mode 100644 index 000000000..5cd148071 --- /dev/null +++ b/PSSailpoint/v2024/docs/NonEmployeeRejectApprovalDecision.md @@ -0,0 +1,21 @@ +# NonEmployeeRejectApprovalDecision +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Comment** | **String** | Comment on the approval item. | + +## Examples + +- Prepare the resource +```powershell +$NonEmployeeRejectApprovalDecision = Initialize-PSSailpointV2024NonEmployeeRejectApprovalDecision -Comment approved +``` + +- Convert the resource to JSON +```powershell +$NonEmployeeRejectApprovalDecision | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/NonEmployeeRequest.md b/PSSailpoint/v2024/docs/NonEmployeeRequest.md new file mode 100644 index 000000000..f8d94c856 --- /dev/null +++ b/PSSailpoint/v2024/docs/NonEmployeeRequest.md @@ -0,0 +1,59 @@ +# NonEmployeeRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Non-Employee source id. | [optional] +**SourceId** | **String** | Source Id associated with this non-employee source. | [optional] +**Name** | **String** | Source name associated with this non-employee source. | [optional] +**Description** | **String** | Source description associated with this non-employee source. | [optional] +**AccountName** | **String** | Requested identity account name. | [optional] +**FirstName** | **String** | Non-Employee's first name. | [optional] +**LastName** | **String** | Non-Employee's last name. | [optional] +**Email** | **String** | Non-Employee's email. | [optional] +**Phone** | **String** | Non-Employee's phone. | [optional] +**Manager** | **String** | The account ID of a valid identity to serve as this non-employee's manager. | [optional] +**NonEmployeeSource** | [**NonEmployeeSourceLite**](NonEmployeeSourceLite.md) | | [optional] +**VarData** | **System.Collections.Hashtable** | Attribute blob/bag for a non-employee. | [optional] +**ApprovalItems** | [**NonEmployeeApprovalItemBase[]**](NonEmployeeApprovalItemBase.md) | List of approval item for the request | [optional] +**ApprovalStatus** | [**ApprovalStatus**](ApprovalStatus.md) | | [optional] +**Comment** | **String** | comment of requester | [optional] +**CompletionDate** | **System.DateTime** | When the request was completely approved. | [optional] +**StartDate** | **System.DateTime** | Non-Employee employment start date. | [optional] +**EndDate** | **System.DateTime** | Non-Employee employment end date. | [optional] +**Modified** | **System.DateTime** | When the request was last modified. | [optional] +**Created** | **System.DateTime** | When the request was created. | [optional] + +## Examples + +- Prepare the resource +```powershell +$NonEmployeeRequest = Initialize-PSSailpointV2024NonEmployeeRequest -Id a0303682-5e4a-44f7-bdc2-6ce6112549c1 ` + -SourceId 2c91808568c529c60168cca6f90c1313 ` + -Name Retail ` + -Description Source description ` + -AccountName william.smith ` + -FirstName William ` + -LastName Smith ` + -Email william.smith@example.com ` + -Phone 5555555555 ` + -Manager jane.doe ` + -NonEmployeeSource null ` + -VarData {description=Auditing} ` + -ApprovalItems null ` + -ApprovalStatus null ` + -Comment approved ` + -CompletionDate 2020-03-24T11:11:41.139-05:00 ` + -StartDate 2020-03-24T00:00-05:00 ` + -EndDate 2021-03-25T00:00-05:00 ` + -Modified 2020-03-24T11:11:41.139-05:00 ` + -Created 2020-03-24T11:11:41.139-05:00 +``` + +- Convert the resource to JSON +```powershell +$NonEmployeeRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/NonEmployeeRequestBody.md b/PSSailpoint/v2024/docs/NonEmployeeRequestBody.md new file mode 100644 index 000000000..0d89adbf8 --- /dev/null +++ b/PSSailpoint/v2024/docs/NonEmployeeRequestBody.md @@ -0,0 +1,39 @@ +# NonEmployeeRequestBody +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AccountName** | **String** | Requested identity account name. | +**FirstName** | **String** | Non-Employee's first name. | +**LastName** | **String** | Non-Employee's last name. | +**Email** | **String** | Non-Employee's email. | +**Phone** | **String** | Non-Employee's phone. | +**Manager** | **String** | The account ID of a valid identity to serve as this non-employee's manager. | +**SourceId** | **String** | Non-Employee's source id. | +**VarData** | **System.Collections.Hashtable** | Attribute blob/bag for a non-employee, 10 attributes is the maximum size supported. | [optional] +**StartDate** | **System.DateTime** | Non-Employee employment start date. | +**EndDate** | **System.DateTime** | Non-Employee employment end date. | + +## Examples + +- Prepare the resource +```powershell +$NonEmployeeRequestBody = Initialize-PSSailpointV2024NonEmployeeRequestBody -AccountName william.smith ` + -FirstName William ` + -LastName Smith ` + -Email william.smith@example.com ` + -Phone 5555555555 ` + -Manager jane.doe ` + -SourceId 2c91808568c529c60168cca6f90c1313 ` + -VarData {description=Auditing} ` + -StartDate 2020-03-24T00:00-05:00 ` + -EndDate 2021-03-25T00:00-05:00 +``` + +- Convert the resource to JSON +```powershell +$NonEmployeeRequestBody | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/NonEmployeeRequestLite.md b/PSSailpoint/v2024/docs/NonEmployeeRequestLite.md new file mode 100644 index 000000000..9422fb827 --- /dev/null +++ b/PSSailpoint/v2024/docs/NonEmployeeRequestLite.md @@ -0,0 +1,23 @@ +# NonEmployeeRequestLite +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Non-Employee request id. | [optional] +**Requester** | [**NonEmployeeIdentityReferenceWithId**](NonEmployeeIdentityReferenceWithId.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$NonEmployeeRequestLite = Initialize-PSSailpointV2024NonEmployeeRequestLite -Id ac110005-7156-1150-8171-5b292e3e0084 ` + -Requester null +``` + +- Convert the resource to JSON +```powershell +$NonEmployeeRequestLite | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/NonEmployeeRequestSummary.md b/PSSailpoint/v2024/docs/NonEmployeeRequestSummary.md new file mode 100644 index 000000000..8076f053f --- /dev/null +++ b/PSSailpoint/v2024/docs/NonEmployeeRequestSummary.md @@ -0,0 +1,27 @@ +# NonEmployeeRequestSummary +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Approved** | **Int32** | The number of approved non-employee requests on all sources that *requested-for* user manages. | [optional] +**Rejected** | **Int32** | The number of rejected non-employee requests on all sources that *requested-for* user manages. | [optional] +**Pending** | **Int32** | The number of pending non-employee requests on all sources that *requested-for* user manages. | [optional] +**NonEmployeeCount** | **Int32** | The number of non-employee records on all sources that *requested-for* user manages. | [optional] + +## Examples + +- Prepare the resource +```powershell +$NonEmployeeRequestSummary = Initialize-PSSailpointV2024NonEmployeeRequestSummary -Approved 2 ` + -Rejected 2 ` + -Pending 2 ` + -NonEmployeeCount 2 +``` + +- Convert the resource to JSON +```powershell +$NonEmployeeRequestSummary | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/NonEmployeeRequestWithoutApprovalItem.md b/PSSailpoint/v2024/docs/NonEmployeeRequestWithoutApprovalItem.md new file mode 100644 index 000000000..59967c3fb --- /dev/null +++ b/PSSailpoint/v2024/docs/NonEmployeeRequestWithoutApprovalItem.md @@ -0,0 +1,53 @@ +# NonEmployeeRequestWithoutApprovalItem +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Non-Employee request id. | [optional] +**Requester** | [**NonEmployeeIdentityReferenceWithId**](NonEmployeeIdentityReferenceWithId.md) | | [optional] +**AccountName** | **String** | Requested identity account name. | [optional] +**FirstName** | **String** | Non-Employee's first name. | [optional] +**LastName** | **String** | Non-Employee's last name. | [optional] +**Email** | **String** | Non-Employee's email. | [optional] +**Phone** | **String** | Non-Employee's phone. | [optional] +**Manager** | **String** | The account ID of a valid identity to serve as this non-employee's manager. | [optional] +**NonEmployeeSource** | [**NonEmployeeSourceLiteWithSchemaAttributes**](NonEmployeeSourceLiteWithSchemaAttributes.md) | | [optional] +**VarData** | **System.Collections.Hashtable** | Attribute blob/bag for a non-employee. | [optional] +**ApprovalStatus** | [**ApprovalStatus**](ApprovalStatus.md) | | [optional] +**Comment** | **String** | comment of requester | [optional] +**CompletionDate** | **System.DateTime** | When the request was completely approved. | [optional] +**StartDate** | **System.DateTime** | Non-Employee employment start date. | [optional] +**EndDate** | **System.DateTime** | Non-Employee employment end date. | [optional] +**Modified** | **System.DateTime** | When the request was last modified. | [optional] +**Created** | **System.DateTime** | When the request was created. | [optional] + +## Examples + +- Prepare the resource +```powershell +$NonEmployeeRequestWithoutApprovalItem = Initialize-PSSailpointV2024NonEmployeeRequestWithoutApprovalItem -Id ac110005-7156-1150-8171-5b292e3e0084 ` + -Requester null ` + -AccountName william.smith ` + -FirstName William ` + -LastName Smith ` + -Email william.smith@example.com ` + -Phone 5555555555 ` + -Manager jane.doe ` + -NonEmployeeSource null ` + -VarData {description=Auditing} ` + -ApprovalStatus null ` + -Comment approved ` + -CompletionDate 2020-03-24T11:11:41.139-05:00 ` + -StartDate Mon Mar 23 20:00:00 EDT 2020 ` + -EndDate Wed Mar 24 20:00:00 EDT 2021 ` + -Modified 2020-03-24T11:11:41.139-05:00 ` + -Created 2020-03-24T11:11:41.139-05:00 +``` + +- Convert the resource to JSON +```powershell +$NonEmployeeRequestWithoutApprovalItem | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/NonEmployeeSchemaAttribute.md b/PSSailpoint/v2024/docs/NonEmployeeSchemaAttribute.md new file mode 100644 index 000000000..70501c195 --- /dev/null +++ b/PSSailpoint/v2024/docs/NonEmployeeSchemaAttribute.md @@ -0,0 +1,39 @@ +# NonEmployeeSchemaAttribute +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Schema Attribute Id | [optional] +**System** | **Boolean** | True if this schema attribute is mandatory on all non-employees sources. | [optional] +**Modified** | **System.DateTime** | When the schema attribute was last modified. | [optional] +**Created** | **System.DateTime** | When the schema attribute was created. | [optional] +**Type** | [**NonEmployeeSchemaAttributeType**](NonEmployeeSchemaAttributeType.md) | | +**Label** | **String** | Label displayed on the UI for this schema attribute. | +**TechnicalName** | **String** | The technical name of the attribute. Must be unique per source. | +**HelpText** | **String** | help text displayed by UI. | [optional] +**Placeholder** | **String** | Hint text that fills UI box. | [optional] +**Required** | **Boolean** | If true, the schema attribute is required for all non-employees in the source | [optional] + +## Examples + +- Prepare the resource +```powershell +$NonEmployeeSchemaAttribute = Initialize-PSSailpointV2024NonEmployeeSchemaAttribute -Id ac110005-7156-1150-8171-5b292e3e0084 ` + -System true ` + -Modified 2019-08-23T18:52:59.162Z ` + -Created 2019-08-23T18:40:35.772Z ` + -Type null ` + -Label Account Name ` + -TechnicalName account.name ` + -HelpText The unique identifier for the account ` + -Placeholder Enter a unique user name for this account. ` + -Required true +``` + +- Convert the resource to JSON +```powershell +$NonEmployeeSchemaAttribute | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/NonEmployeeSchemaAttributeBody.md b/PSSailpoint/v2024/docs/NonEmployeeSchemaAttributeBody.md new file mode 100644 index 000000000..a56639b87 --- /dev/null +++ b/PSSailpoint/v2024/docs/NonEmployeeSchemaAttributeBody.md @@ -0,0 +1,31 @@ +# NonEmployeeSchemaAttributeBody +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | Type of the attribute. Only type 'TEXT' is supported for custom attributes. | +**Label** | **String** | Label displayed on the UI for this schema attribute. | +**TechnicalName** | **String** | The technical name of the attribute. Must be unique per source. | +**HelpText** | **String** | help text displayed by UI. | [optional] +**Placeholder** | **String** | Hint text that fills UI box. | [optional] +**Required** | **Boolean** | If true, the schema attribute is required for all non-employees in the source | [optional] + +## Examples + +- Prepare the resource +```powershell +$NonEmployeeSchemaAttributeBody = Initialize-PSSailpointV2024NonEmployeeSchemaAttributeBody -Type TEXT ` + -Label Account Name ` + -TechnicalName account.name ` + -HelpText The unique identifier for the account ` + -Placeholder Enter a unique user name for this account. ` + -Required true +``` + +- Convert the resource to JSON +```powershell +$NonEmployeeSchemaAttributeBody | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/NonEmployeeSchemaAttributeType.md b/PSSailpoint/v2024/docs/NonEmployeeSchemaAttributeType.md new file mode 100644 index 000000000..b03e4c91e --- /dev/null +++ b/PSSailpoint/v2024/docs/NonEmployeeSchemaAttributeType.md @@ -0,0 +1,20 @@ +# NonEmployeeSchemaAttributeType +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$NonEmployeeSchemaAttributeType = Initialize-PSSailpointV2024NonEmployeeSchemaAttributeType +``` + +- Convert the resource to JSON +```powershell +$NonEmployeeSchemaAttributeType | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/NonEmployeeSource.md b/PSSailpoint/v2024/docs/NonEmployeeSource.md new file mode 100644 index 000000000..8569f7bfd --- /dev/null +++ b/PSSailpoint/v2024/docs/NonEmployeeSource.md @@ -0,0 +1,35 @@ +# NonEmployeeSource +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Non-Employee source id. | [optional] +**SourceId** | **String** | Source Id associated with this non-employee source. | [optional] +**Name** | **String** | Source name associated with this non-employee source. | [optional] +**Description** | **String** | Source description associated with this non-employee source. | [optional] +**Approvers** | [**NonEmployeeIdentityReferenceWithId[]**](NonEmployeeIdentityReferenceWithId.md) | List of approvers | [optional] +**AccountManagers** | [**NonEmployeeIdentityReferenceWithId[]**](NonEmployeeIdentityReferenceWithId.md) | List of account managers | [optional] +**Modified** | **System.DateTime** | When the request was last modified. | [optional] +**Created** | **System.DateTime** | When the request was created. | [optional] + +## Examples + +- Prepare the resource +```powershell +$NonEmployeeSource = Initialize-PSSailpointV2024NonEmployeeSource -Id a0303682-5e4a-44f7-bdc2-6ce6112549c1 ` + -SourceId 2c91808568c529c60168cca6f90c1313 ` + -Name Retail ` + -Description Source description ` + -Approvers null ` + -AccountManagers null ` + -Modified 2019-08-23T18:52:59.162Z ` + -Created 2019-08-23T18:40:35.772Z +``` + +- Convert the resource to JSON +```powershell +$NonEmployeeSource | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/NonEmployeeSourceLite.md b/PSSailpoint/v2024/docs/NonEmployeeSourceLite.md new file mode 100644 index 000000000..24c1c5690 --- /dev/null +++ b/PSSailpoint/v2024/docs/NonEmployeeSourceLite.md @@ -0,0 +1,27 @@ +# NonEmployeeSourceLite +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Non-Employee source id. | [optional] +**SourceId** | **String** | Source Id associated with this non-employee source. | [optional] +**Name** | **String** | Source name associated with this non-employee source. | [optional] +**Description** | **String** | Source description associated with this non-employee source. | [optional] + +## Examples + +- Prepare the resource +```powershell +$NonEmployeeSourceLite = Initialize-PSSailpointV2024NonEmployeeSourceLite -Id a0303682-5e4a-44f7-bdc2-6ce6112549c1 ` + -SourceId 2c91808568c529c60168cca6f90c1313 ` + -Name Retail ` + -Description Source description +``` + +- Convert the resource to JSON +```powershell +$NonEmployeeSourceLite | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/NonEmployeeSourceLiteWithSchemaAttributes.md b/PSSailpoint/v2024/docs/NonEmployeeSourceLiteWithSchemaAttributes.md new file mode 100644 index 000000000..3d63399f1 --- /dev/null +++ b/PSSailpoint/v2024/docs/NonEmployeeSourceLiteWithSchemaAttributes.md @@ -0,0 +1,29 @@ +# NonEmployeeSourceLiteWithSchemaAttributes +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Non-Employee source id. | [optional] +**SourceId** | **String** | Source Id associated with this non-employee source. | [optional] +**Name** | **String** | Source name associated with this non-employee source. | [optional] +**Description** | **String** | Source description associated with this non-employee source. | [optional] +**SchemaAttributes** | [**NonEmployeeSchemaAttribute[]**](NonEmployeeSchemaAttribute.md) | List of schema attributes associated with this non-employee source. | [optional] + +## Examples + +- Prepare the resource +```powershell +$NonEmployeeSourceLiteWithSchemaAttributes = Initialize-PSSailpointV2024NonEmployeeSourceLiteWithSchemaAttributes -Id a0303682-5e4a-44f7-bdc2-6ce6112549c1 ` + -SourceId 2c91808568c529c60168cca6f90c1313 ` + -Name Retail ` + -Description Source description ` + -SchemaAttributes null +``` + +- Convert the resource to JSON +```powershell +$NonEmployeeSourceLiteWithSchemaAttributes | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/NonEmployeeSourceRequestBody.md b/PSSailpoint/v2024/docs/NonEmployeeSourceRequestBody.md new file mode 100644 index 000000000..6e06aaf0a --- /dev/null +++ b/PSSailpoint/v2024/docs/NonEmployeeSourceRequestBody.md @@ -0,0 +1,31 @@ +# NonEmployeeSourceRequestBody +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | Name of non-employee source. | +**Description** | **String** | Description of non-employee source. | +**Owner** | [**NonEmployeeIdnUserRequest**](NonEmployeeIdnUserRequest.md) | | +**ManagementWorkgroup** | **String** | The ID for the management workgroup that contains source sub-admins | [optional] +**Approvers** | [**NonEmployeeIdnUserRequest[]**](NonEmployeeIdnUserRequest.md) | List of approvers. | [optional] +**AccountManagers** | [**NonEmployeeIdnUserRequest[]**](NonEmployeeIdnUserRequest.md) | List of account managers. | [optional] + +## Examples + +- Prepare the resource +```powershell +$NonEmployeeSourceRequestBody = Initialize-PSSailpointV2024NonEmployeeSourceRequestBody -Name Retail ` + -Description Source description ` + -Owner null ` + -ManagementWorkgroup 123299 ` + -Approvers null ` + -AccountManagers null +``` + +- Convert the resource to JSON +```powershell +$NonEmployeeSourceRequestBody | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/NonEmployeeSourceWithCloudExternalId.md b/PSSailpoint/v2024/docs/NonEmployeeSourceWithCloudExternalId.md new file mode 100644 index 000000000..ebbceebfe --- /dev/null +++ b/PSSailpoint/v2024/docs/NonEmployeeSourceWithCloudExternalId.md @@ -0,0 +1,37 @@ +# NonEmployeeSourceWithCloudExternalId +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Non-Employee source id. | [optional] +**SourceId** | **String** | Source Id associated with this non-employee source. | [optional] +**Name** | **String** | Source name associated with this non-employee source. | [optional] +**Description** | **String** | Source description associated with this non-employee source. | [optional] +**Approvers** | [**NonEmployeeIdentityReferenceWithId[]**](NonEmployeeIdentityReferenceWithId.md) | List of approvers | [optional] +**AccountManagers** | [**NonEmployeeIdentityReferenceWithId[]**](NonEmployeeIdentityReferenceWithId.md) | List of account managers | [optional] +**Modified** | **System.DateTime** | When the request was last modified. | [optional] +**Created** | **System.DateTime** | When the request was created. | [optional] +**CloudExternalId** | **String** | Legacy ID used for sources from the V1 API. This attribute will be removed from a future version of the API and will not be considered a breaking change. No clients should rely on this ID always being present. | [optional] + +## Examples + +- Prepare the resource +```powershell +$NonEmployeeSourceWithCloudExternalId = Initialize-PSSailpointV2024NonEmployeeSourceWithCloudExternalId -Id a0303682-5e4a-44f7-bdc2-6ce6112549c1 ` + -SourceId 2c91808568c529c60168cca6f90c1313 ` + -Name Retail ` + -Description Source description ` + -Approvers null ` + -AccountManagers null ` + -Modified 2019-08-23T18:52:59.162Z ` + -Created 2019-08-23T18:40:35.772Z ` + -CloudExternalId 99999 +``` + +- Convert the resource to JSON +```powershell +$NonEmployeeSourceWithCloudExternalId | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/NonEmployeeSourceWithNECount.md b/PSSailpoint/v2024/docs/NonEmployeeSourceWithNECount.md new file mode 100644 index 000000000..60b48d92d --- /dev/null +++ b/PSSailpoint/v2024/docs/NonEmployeeSourceWithNECount.md @@ -0,0 +1,37 @@ +# NonEmployeeSourceWithNECount +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Non-Employee source id. | [optional] +**SourceId** | **String** | Source Id associated with this non-employee source. | [optional] +**Name** | **String** | Source name associated with this non-employee source. | [optional] +**Description** | **String** | Source description associated with this non-employee source. | [optional] +**Approvers** | [**NonEmployeeIdentityReferenceWithId[]**](NonEmployeeIdentityReferenceWithId.md) | List of approvers | [optional] +**AccountManagers** | [**NonEmployeeIdentityReferenceWithId[]**](NonEmployeeIdentityReferenceWithId.md) | List of account managers | [optional] +**Modified** | **System.DateTime** | When the request was last modified. | [optional] +**Created** | **System.DateTime** | When the request was created. | [optional] +**NonEmployeeCount** | **Int32** | Number of non-employee records associated with this source. | [optional] + +## Examples + +- Prepare the resource +```powershell +$NonEmployeeSourceWithNECount = Initialize-PSSailpointV2024NonEmployeeSourceWithNECount -Id a0303682-5e4a-44f7-bdc2-6ce6112549c1 ` + -SourceId 2c91808568c529c60168cca6f90c1313 ` + -Name Retail ` + -Description Source description ` + -Approvers null ` + -AccountManagers null ` + -Modified 2019-08-23T18:52:59.162Z ` + -Created 2019-08-23T18:40:35.772Z ` + -NonEmployeeCount 120 +``` + +- Convert the resource to JSON +```powershell +$NonEmployeeSourceWithNECount | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/NotificationTemplateContext.md b/PSSailpoint/v2024/docs/NotificationTemplateContext.md new file mode 100644 index 000000000..78ad1b8fe --- /dev/null +++ b/PSSailpoint/v2024/docs/NotificationTemplateContext.md @@ -0,0 +1,25 @@ +# NotificationTemplateContext +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Attributes** | [**System.Collections.Hashtable**](AnyType.md) | A JSON object that stores the context. | [optional] +**Created** | **System.DateTime** | When the global context was created | [optional] +**Modified** | **System.DateTime** | When the global context was last modified | [optional] + +## Examples + +- Prepare the resource +```powershell +$NotificationTemplateContext = Initialize-PSSailpointV2024NotificationTemplateContext -Attributes {productUrl=https://test-org.identitysoon.com, brandingConfigs={default={narrowLogoURL=null, productName=SailPoint, standardLogoURL=null, navigationColor=011E64, actionButtonColor=20B2DE, emailFromAddress=null, activeLinkColor=20B2DE, loginInformationalMessage=null}}} ` + -Created 2020-04-15T16:16:47.525Z ` + -Modified 2020-04-15T16:16:47.525Z +``` + +- Convert the resource to JSON +```powershell +$NotificationTemplateContext | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ObjectExportImportOptions.md b/PSSailpoint/v2024/docs/ObjectExportImportOptions.md new file mode 100644 index 000000000..2f92a91be --- /dev/null +++ b/PSSailpoint/v2024/docs/ObjectExportImportOptions.md @@ -0,0 +1,23 @@ +# ObjectExportImportOptions +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**IncludedIds** | **String[]** | Object ids to be included in an import or export. | [optional] +**IncludedNames** | **String[]** | Object names to be included in an import or export. | [optional] + +## Examples + +- Prepare the resource +```powershell +$ObjectExportImportOptions = Initialize-PSSailpointV2024ObjectExportImportOptions -IncludedIds null ` + -IncludedNames null +``` + +- Convert the resource to JSON +```powershell +$ObjectExportImportOptions | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ObjectImportResult.md b/PSSailpoint/v2024/docs/ObjectImportResult.md new file mode 100644 index 000000000..ff90cfe66 --- /dev/null +++ b/PSSailpoint/v2024/docs/ObjectImportResult.md @@ -0,0 +1,27 @@ +# ObjectImportResult +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Infos** | [**SpConfigMessage[]**](SpConfigMessage.md) | Informational messages returned from the target service on import. | +**Warnings** | [**SpConfigMessage[]**](SpConfigMessage.md) | Warning messages returned from the target service on import. | +**Errors** | [**SpConfigMessage[]**](SpConfigMessage.md) | Error messages returned from the target service on import. | +**ImportedObjects** | [**ImportObject[]**](ImportObject.md) | References to objects that were created or updated by the import. | + +## Examples + +- Prepare the resource +```powershell +$ObjectImportResult = Initialize-PSSailpointV2024ObjectImportResult -Infos null ` + -Warnings null ` + -Errors null ` + -ImportedObjects null +``` + +- Convert the resource to JSON +```powershell +$ObjectImportResult | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ObjectImportResult1.md b/PSSailpoint/v2024/docs/ObjectImportResult1.md new file mode 100644 index 000000000..6376eb1ea --- /dev/null +++ b/PSSailpoint/v2024/docs/ObjectImportResult1.md @@ -0,0 +1,27 @@ +# ObjectImportResult1 +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Infos** | [**SpConfigMessage1[]**](SpConfigMessage1.md) | Informational messages returned from the target service on import. | +**Warnings** | [**SpConfigMessage1[]**](SpConfigMessage1.md) | Warning messages returned from the target service on import. | +**Errors** | [**SpConfigMessage1[]**](SpConfigMessage1.md) | Error messages returned from the target service on import. | +**ImportedObjects** | [**ImportObject[]**](ImportObject.md) | References to objects that were created or updated by the import. | + +## Examples + +- Prepare the resource +```powershell +$ObjectImportResult1 = Initialize-PSSailpointV2024ObjectImportResult1 -Infos null ` + -Warnings null ` + -Errors null ` + -ImportedObjects null +``` + +- Convert the resource to JSON +```powershell +$ObjectImportResult1 | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ObjectMappingBulkCreateRequest.md b/PSSailpoint/v2024/docs/ObjectMappingBulkCreateRequest.md new file mode 100644 index 000000000..e7aa8e70b --- /dev/null +++ b/PSSailpoint/v2024/docs/ObjectMappingBulkCreateRequest.md @@ -0,0 +1,21 @@ +# ObjectMappingBulkCreateRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**NewObjectMappings** | [**ObjectMappingRequest[]**](ObjectMappingRequest.md) | | + +## Examples + +- Prepare the resource +```powershell +$ObjectMappingBulkCreateRequest = Initialize-PSSailpointV2024ObjectMappingBulkCreateRequest -NewObjectMappings null +``` + +- Convert the resource to JSON +```powershell +$ObjectMappingBulkCreateRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ObjectMappingBulkCreateResponse.md b/PSSailpoint/v2024/docs/ObjectMappingBulkCreateResponse.md new file mode 100644 index 000000000..172bfb5a3 --- /dev/null +++ b/PSSailpoint/v2024/docs/ObjectMappingBulkCreateResponse.md @@ -0,0 +1,21 @@ +# ObjectMappingBulkCreateResponse +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AddedObjects** | [**ObjectMappingResponse[]**](ObjectMappingResponse.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$ObjectMappingBulkCreateResponse = Initialize-PSSailpointV2024ObjectMappingBulkCreateResponse -AddedObjects null +``` + +- Convert the resource to JSON +```powershell +$ObjectMappingBulkCreateResponse | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ObjectMappingBulkPatchRequest.md b/PSSailpoint/v2024/docs/ObjectMappingBulkPatchRequest.md new file mode 100644 index 000000000..023dde907 --- /dev/null +++ b/PSSailpoint/v2024/docs/ObjectMappingBulkPatchRequest.md @@ -0,0 +1,21 @@ +# ObjectMappingBulkPatchRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Patches** | [**System.Collections.Hashtable**](Array.md) | Map of id of the object mapping to a JsonPatchOperation describing what to patch on that object mapping. | + +## Examples + +- Prepare the resource +```powershell +$ObjectMappingBulkPatchRequest = Initialize-PSSailpointV2024ObjectMappingBulkPatchRequest -Patches {603b1a61-d03d-4ed1-864f-a508fbd1995d=[{op=replace, path=/enabled, value=true}], 00bece34-f50d-4227-8878-76f620b5a971=[{op=replace, path=/targetValue, value=New Target Value}]} +``` + +- Convert the resource to JSON +```powershell +$ObjectMappingBulkPatchRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ObjectMappingBulkPatchResponse.md b/PSSailpoint/v2024/docs/ObjectMappingBulkPatchResponse.md new file mode 100644 index 000000000..67c9f429e --- /dev/null +++ b/PSSailpoint/v2024/docs/ObjectMappingBulkPatchResponse.md @@ -0,0 +1,21 @@ +# ObjectMappingBulkPatchResponse +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**PatchedObjects** | [**ObjectMappingResponse[]**](ObjectMappingResponse.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$ObjectMappingBulkPatchResponse = Initialize-PSSailpointV2024ObjectMappingBulkPatchResponse -PatchedObjects null +``` + +- Convert the resource to JSON +```powershell +$ObjectMappingBulkPatchResponse | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ObjectMappingRequest.md b/PSSailpoint/v2024/docs/ObjectMappingRequest.md new file mode 100644 index 000000000..6be46aa33 --- /dev/null +++ b/PSSailpoint/v2024/docs/ObjectMappingRequest.md @@ -0,0 +1,29 @@ +# ObjectMappingRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ObjectType** | **String** | Type of the object the mapping value applies to, must be one from enum | +**JsonPath** | **String** | JSONPath expression denoting the path within the object where the mapping value should be applied | +**SourceValue** | **String** | Original value at the jsonPath location within the object | +**TargetValue** | **String** | Value to be assigned at the jsonPath location within the object | +**Enabled** | **Boolean** | Whether or not this object mapping is enabled | [optional] [default to $false] + +## Examples + +- Prepare the resource +```powershell +$ObjectMappingRequest = Initialize-PSSailpointV2024ObjectMappingRequest -ObjectType IDENTITY ` + -JsonPath $.name ` + -SourceValue My Governance Group Name ` + -TargetValue My New Governance Group Name ` + -Enabled false +``` + +- Convert the resource to JSON +```powershell +$ObjectMappingRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ObjectMappingResponse.md b/PSSailpoint/v2024/docs/ObjectMappingResponse.md new file mode 100644 index 000000000..53d61b7a3 --- /dev/null +++ b/PSSailpoint/v2024/docs/ObjectMappingResponse.md @@ -0,0 +1,35 @@ +# ObjectMappingResponse +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ObjectMappingId** | **String** | Id of the object mapping | [optional] +**ObjectType** | **String** | Type of the object the mapping value applies to | [optional] +**JsonPath** | **String** | JSONPath expression denoting the path within the object where the mapping value should be applied | [optional] +**SourceValue** | **String** | Original value at the jsonPath location within the object | [optional] +**TargetValue** | **String** | Value to be assigned at the jsonPath location within the object | [optional] +**Enabled** | **Boolean** | Whether or not this object mapping is enabled | [optional] [default to $false] +**Created** | **String** | Object mapping creation timestamp | [optional] +**Modified** | **String** | Object mapping latest update timestamp | [optional] + +## Examples + +- Prepare the resource +```powershell +$ObjectMappingResponse = Initialize-PSSailpointV2024ObjectMappingResponse -ObjectMappingId 3d6e0144-963f-4bd6-8d8d-d77b4e507ce4 ` + -ObjectType IDENTITY ` + -JsonPath $.name ` + -SourceValue My Governance Group Name ` + -TargetValue My New Governance Group Name ` + -Enabled false ` + -Created 2024-03-19T23:18:53.732Z ` + -Modified 2024-03-19T23:18:53.732Z +``` + +- Convert the resource to JSON +```powershell +$ObjectMappingResponse | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Operation.md b/PSSailpoint/v2024/docs/Operation.md new file mode 100644 index 000000000..25616999c --- /dev/null +++ b/PSSailpoint/v2024/docs/Operation.md @@ -0,0 +1,20 @@ +# Operation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$Operation = Initialize-PSSailpointV2024Operation +``` + +- Convert the resource to JSON +```powershell +$Operation | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/OrgConfig.md b/PSSailpoint/v2024/docs/OrgConfig.md new file mode 100644 index 000000000..bd0e63f59 --- /dev/null +++ b/PSSailpoint/v2024/docs/OrgConfig.md @@ -0,0 +1,39 @@ +# OrgConfig +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**OrgName** | **String** | The name of the org. | [optional] +**TimeZone** | **String** | The selected time zone which is to be used for the org. This directly affects when scheduled tasks are executed. Valid options can be found at /beta/org-config/valid-time-zones | [optional] +**LcsChangeHonorsSourceEnableFeature** | **Boolean** | Flag to determine whether the LCS_CHANGE_HONORS_SOURCE_ENABLE_FEATURE flag is enabled for the current org. | [optional] +**ArmCustomerId** | **String** | ARM Customer ID | [optional] +**ArmSapSystemIdMappings** | **String** | A list of IDN::sourceId to ARM::systemId mappings. | [optional] +**ArmAuth** | **String** | ARM authentication string | [optional] +**ArmDb** | **String** | ARM database name | [optional] +**ArmSsoUrl** | **String** | ARM SSO URL | [optional] +**IaiEnableCertificationRecommendations** | **Boolean** | Flag to determine whether IAI Certification Recommendations are enabled for the current org | [optional] +**SodReportConfigs** | [**ReportConfigDTO[]**](ReportConfigDTO.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$OrgConfig = Initialize-PSSailpointV2024OrgConfig -OrgName acme-solar ` + -TimeZone America/Toronto ` + -LcsChangeHonorsSourceEnableFeature false ` + -ArmCustomerId DE38E75A-5FF6-4A65-5DC7-08D64426B09E ` + -ArmSapSystemIdMappings [{sourceId=2c91808c791a94e501792388b0d62659, systemId=1556}, {sourceId=2_2c91808c791a94e501792388b0d62659, systemId=2_1556}, {sourceId=3_2c91808c791a94e501792388b0d62659, systemId=3_1556}] ` + -ArmAuth epiYNTRYA2S7swisDWk1Zv4VMNgvqEjiBh5_ufuCWsma2m-5XADijqBg0ijXLby5nS6lxZNXabhGnAPGeDGc4V3jQKrhwV-UHypRLs8ZLgOjiQNus9NimS0uPdKomRW6TFWqXyfnYd-znNgbbVuwUy9GyD9ebDVJSntPastxSx7UcyGuWBqfNZYpuxKRWe_7TVY60qL55jUqyz8N4XUbbdcxdbZ0uik6ut-Bv90MKTbZexBW_PR4qcgIkaEs4kIenLyBxnGziYo7AO0tJ8bGHO8FJRkibCpAQIt7PISLo7Gg_Xf9j10dKq2YDgy4pPTvz3fE2ZHYnXCXvXFSA-vVag== ` + -ArmDb EU ` + -ArmSsoUrl https://your-arm-sso-url ` + -IaiEnableCertificationRecommendations true ` + -SodReportConfigs null +``` + +- Convert the resource to JSON +```powershell +$OrgConfig | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/OriginalRequest.md b/PSSailpoint/v2024/docs/OriginalRequest.md new file mode 100644 index 000000000..7e77cf74f --- /dev/null +++ b/PSSailpoint/v2024/docs/OriginalRequest.md @@ -0,0 +1,27 @@ +# OriginalRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AccountId** | **String** | Account ID. | [optional] +**AttributeRequests** | [**AttributeRequest[]**](AttributeRequest.md) | Attribute changes requested for account. | [optional] +**Op** | **String** | Operation used. | [optional] +**Source** | [**AccountSource**](AccountSource.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$OriginalRequest = Initialize-PSSailpointV2024OriginalRequest -AccountId CN=Abby Smith,OU=Austin,OU=Americas,OU=Demo,DC=seri,DC=acme,DC=com ` + -AttributeRequests null ` + -Op add ` + -Source null +``` + +- Convert the resource to JSON +```powershell +$OriginalRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/OrphanUncorrelatedReportArguments.md b/PSSailpoint/v2024/docs/OrphanUncorrelatedReportArguments.md new file mode 100644 index 000000000..56c904087 --- /dev/null +++ b/PSSailpoint/v2024/docs/OrphanUncorrelatedReportArguments.md @@ -0,0 +1,21 @@ +# OrphanUncorrelatedReportArguments +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**SelectedFormats** | **String[]** | Output report file formats. This are formats for calling get endpoint as a query parameter 'fileFormat'. In case report won't have this argument there will be ['CSV', 'PDF'] as default. | [optional] + +## Examples + +- Prepare the resource +```powershell +$OrphanUncorrelatedReportArguments = Initialize-PSSailpointV2024OrphanUncorrelatedReportArguments -SelectedFormats [CSV] +``` + +- Convert the resource to JSON +```powershell +$OrphanUncorrelatedReportArguments | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Outlier.md b/PSSailpoint/v2024/docs/Outlier.md new file mode 100644 index 000000000..cf87c9a9f --- /dev/null +++ b/PSSailpoint/v2024/docs/Outlier.md @@ -0,0 +1,41 @@ +# Outlier +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The identity's unique identifier for the outlier record | [optional] +**IdentityId** | **String** | The ID of the identity that is detected as an outlier | [optional] +**Type** | **String** | The type of outlier summary | [optional] +**FirstDetectionDate** | **System.DateTime** | The first date the outlier was detected | [optional] +**LatestDetectionDate** | **System.DateTime** | The most recent date the outlier was detected | [optional] +**Ignored** | **Boolean** | Flag whether or not the outlier has been ignored | [optional] +**Attributes** | [**SystemCollectionsHashtable**](.md) | Object containing mapped identity attributes | [optional] +**Score** | **Double** | The outlier score determined by the detection engine ranging from 0..1 | [optional] +**UnignoreType** | **String** | Enum value of if the outlier manually or automatically un-ignored. Will be NULL if outlier is not ignored | [optional] +**UnignoreDate** | **System.DateTime** | shows date when last time has been unignored outlier | [optional] +**IgnoreDate** | **System.DateTime** | shows date when last time has been ignored outlier | [optional] + +## Examples + +- Prepare the resource +```powershell +$Outlier = Initialize-PSSailpointV2024Outlier -Id 5be33d3e-c54d-4ed7-af73-2380543e8283 ` + -IdentityId 5be33d3e-c54d-4ed7-af73-2380543e8283 ` + -Type LOW_SIMILARITY ` + -FirstDetectionDate 2021-05-01T18:40:35.772Z ` + -LatestDetectionDate 2021-05-03T18:40:35.772Z ` + -Ignored false ` + -Attributes {displayName=John Smith, jobTitle=Software Engineer, department=Engineering} ` + -Score 0.92 ` + -UnignoreType MANUAL ` + -UnignoreDate 2021-06-01T18:40:35.772Z ` + -IgnoreDate 2021-06-01T18:40:35.772Z +``` + +- Convert the resource to JSON +```powershell +$Outlier | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/OutlierContributingFeature.md b/PSSailpoint/v2024/docs/OutlierContributingFeature.md new file mode 100644 index 000000000..9e435b8cb --- /dev/null +++ b/PSSailpoint/v2024/docs/OutlierContributingFeature.md @@ -0,0 +1,35 @@ +# OutlierContributingFeature +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Contributing feature id | [optional] +**Name** | **String** | The name of the feature | [optional] +**ValueType** | **String** | The data type of the value field | [optional] +**Value** | [**OutlierContributingFeatureValue**](OutlierContributingFeatureValue.md) | | [optional] +**Importance** | **Double** | The importance of the feature. This can also be a negative value | [optional] +**DisplayName** | **String** | The (translated if header is passed) displayName for the feature | [optional] +**Description** | **String** | The (translated if header is passed) description for the feature | [optional] +**TranslationMessages** | [**OutlierFeatureTranslation**](OutlierFeatureTranslation.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$OutlierContributingFeature = Initialize-PSSailpointV2024OutlierContributingFeature -Id 66e38828-5017-47af-92ff-9844871352c5 ` + -Name entitlement_count ` + -ValueType INTEGER ` + -Value null ` + -Importance -0.15 ` + -DisplayName Number of entitlements ` + -Description The total number of entitlements belonging to an identity ` + -TranslationMessages null +``` + +- Convert the resource to JSON +```powershell +$OutlierContributingFeature | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/OutlierContributingFeatureValue.md b/PSSailpoint/v2024/docs/OutlierContributingFeatureValue.md new file mode 100644 index 000000000..a04d84486 --- /dev/null +++ b/PSSailpoint/v2024/docs/OutlierContributingFeatureValue.md @@ -0,0 +1,20 @@ +# OutlierContributingFeatureValue +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$OutlierContributingFeatureValue = Initialize-PSSailpointV2024OutlierContributingFeatureValue +``` + +- Convert the resource to JSON +```powershell +$OutlierContributingFeatureValue | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/OutlierFeatureSummary.md b/PSSailpoint/v2024/docs/OutlierFeatureSummary.md new file mode 100644 index 000000000..e9f2d171b --- /dev/null +++ b/PSSailpoint/v2024/docs/OutlierFeatureSummary.md @@ -0,0 +1,35 @@ +# OutlierFeatureSummary +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ContributingFeatureName** | **String** | Contributing feature name | [optional] +**IdentityOutlierDisplayName** | **String** | Identity display name | [optional] +**OutlierFeatureDisplayValues** | [**OutlierFeatureSummaryOutlierFeatureDisplayValuesInner[]**](OutlierFeatureSummaryOutlierFeatureDisplayValuesInner.md) | | [optional] +**FeatureDefinition** | **String** | Definition of the feature | [optional] +**FeatureExplanation** | **String** | Detailed explanation of the feature | [optional] +**PeerDisplayName** | **String** | outlier's peer identity display name | [optional] +**PeerIdentityId** | **String** | outlier's peer identity id | [optional] +**AccessItemReference** | [**SystemCollectionsHashtable**](.md) | Access Item reference | [optional] + +## Examples + +- Prepare the resource +```powershell +$OutlierFeatureSummary = Initialize-PSSailpointV2024OutlierFeatureSummary -ContributingFeatureName Rare Access ` + -IdentityOutlierDisplayName John Smith ` + -OutlierFeatureDisplayValues null ` + -FeatureDefinition Identity total number of entitlements ` + -FeatureExplanation An identity that has too much rare access has a higher change of becoming a security threat due to the unique access they possess ` + -PeerDisplayName Mary Jane ` + -PeerIdentityId 9f9d5d53ad0e48fba7352f6da9f1b8gbg ` + -AccessItemReference {displayName=All Rare Entitlements, searchPlaceholder=Search by name or description} +``` + +- Convert the resource to JSON +```powershell +$OutlierFeatureSummary | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/OutlierFeatureSummaryOutlierFeatureDisplayValuesInner.md b/PSSailpoint/v2024/docs/OutlierFeatureSummaryOutlierFeatureDisplayValuesInner.md new file mode 100644 index 000000000..5c53e12a3 --- /dev/null +++ b/PSSailpoint/v2024/docs/OutlierFeatureSummaryOutlierFeatureDisplayValuesInner.md @@ -0,0 +1,25 @@ +# OutlierFeatureSummaryOutlierFeatureDisplayValuesInner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**DisplayName** | **String** | display name | [optional] +**Value** | **String** | value | [optional] +**ValueType** | **String** | The data type of the value field | [optional] + +## Examples + +- Prepare the resource +```powershell +$OutlierFeatureSummaryOutlierFeatureDisplayValuesInner = Initialize-PSSailpointV2024OutlierFeatureSummaryOutlierFeatureDisplayValuesInner -DisplayName Aliza Chris ` + -Value 55 ` + -ValueType INTEGER +``` + +- Convert the resource to JSON +```powershell +$OutlierFeatureSummaryOutlierFeatureDisplayValuesInner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/OutlierFeatureTranslation.md b/PSSailpoint/v2024/docs/OutlierFeatureTranslation.md new file mode 100644 index 000000000..fd9b436cd --- /dev/null +++ b/PSSailpoint/v2024/docs/OutlierFeatureTranslation.md @@ -0,0 +1,23 @@ +# OutlierFeatureTranslation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**DisplayName** | [**TranslationMessage**](TranslationMessage.md) | | [optional] +**Description** | [**TranslationMessage**](TranslationMessage.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$OutlierFeatureTranslation = Initialize-PSSailpointV2024OutlierFeatureTranslation -DisplayName null ` + -Description null +``` + +- Convert the resource to JSON +```powershell +$OutlierFeatureTranslation | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/OutlierSummary.md b/PSSailpoint/v2024/docs/OutlierSummary.md new file mode 100644 index 000000000..be8a07ab5 --- /dev/null +++ b/PSSailpoint/v2024/docs/OutlierSummary.md @@ -0,0 +1,29 @@ +# OutlierSummary +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | The type of outlier summary | [optional] +**SnapshotDate** | **System.DateTime** | The date the bulk outlier detection ran/snapshot was created | [optional] +**TotalOutliers** | **Int32** | Total number of outliers for the customer making the request | [optional] +**TotalIdentities** | **Int32** | Total number of identities for the customer making the request | [optional] +**TotalIgnored** | **Int32** | | [optional] [default to 0] + +## Examples + +- Prepare the resource +```powershell +$OutlierSummary = Initialize-PSSailpointV2024OutlierSummary -Type LOW_SIMILARITY ` + -SnapshotDate 2021-05-01T18:40:35.772Z ` + -TotalOutliers 50 ` + -TotalIdentities 5000 ` + -TotalIgnored 0 +``` + +- Convert the resource to JSON +```powershell +$OutlierSummary | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/OutliersContributingFeatureAccessItems.md b/PSSailpoint/v2024/docs/OutliersContributingFeatureAccessItems.md new file mode 100644 index 000000000..431b8e8e4 --- /dev/null +++ b/PSSailpoint/v2024/docs/OutliersContributingFeatureAccessItems.md @@ -0,0 +1,31 @@ +# OutliersContributingFeatureAccessItems +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The ID of the access item | [optional] +**DisplayName** | **String** | the display name of the access item | [optional] +**Description** | **String** | Description of the access item. | [optional] +**AccessType** | **String** | The type of the access item. | [optional] +**SourceName** | **String** | the associated source name if it exists | [optional] +**ExtremelyRare** | **Boolean** | rarest access | [optional] [default to $false] + +## Examples + +- Prepare the resource +```powershell +$OutliersContributingFeatureAccessItems = Initialize-PSSailpointV2024OutliersContributingFeatureAccessItems -Id 2c938083633d259901633d2623ec0375 ` + -DisplayName Applied Research Access ` + -Description Access to research information, lab results, and schematics ` + -AccessType ENTITLEMENT ` + -SourceName appName ` + -ExtremelyRare true +``` + +- Convert the resource to JSON +```powershell +$OutliersContributingFeatureAccessItems | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/OwnerDto.md b/PSSailpoint/v2024/docs/OwnerDto.md new file mode 100644 index 000000000..6e0e81ed5 --- /dev/null +++ b/PSSailpoint/v2024/docs/OwnerDto.md @@ -0,0 +1,25 @@ +# OwnerDto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | Owner's DTO type. | [optional] +**Id** | **String** | Owner's identity ID. | [optional] +**Name** | **String** | Owner's name. | [optional] + +## Examples + +- Prepare the resource +```powershell +$OwnerDto = Initialize-PSSailpointV2024OwnerDto -Type IDENTITY ` + -Id 2c9180a46faadee4016fb4e018c20639 ` + -Name Support +``` + +- Convert the resource to JSON +```powershell +$OwnerDto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/OwnerReference.md b/PSSailpoint/v2024/docs/OwnerReference.md new file mode 100644 index 000000000..79d26db30 --- /dev/null +++ b/PSSailpoint/v2024/docs/OwnerReference.md @@ -0,0 +1,25 @@ +# OwnerReference +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | Owner type. This field must be either left null or set to 'IDENTITY' on input, otherwise a 400 Bad Request error will result. | [optional] +**Id** | **String** | Identity id | [optional] +**Name** | **String** | Human-readable display name of the owner. It may be left null or omitted in a POST or PATCH. If set, it must match the current value of the owner's display name, otherwise a 400 Bad Request error will result. | [optional] + +## Examples + +- Prepare the resource +```powershell +$OwnerReference = Initialize-PSSailpointV2024OwnerReference -Type IDENTITY ` + -Id 2c9180a46faadee4016fb4e018c20639 ` + -Name support +``` + +- Convert the resource to JSON +```powershell +$OwnerReference | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/OwnerReferenceDto.md b/PSSailpoint/v2024/docs/OwnerReferenceDto.md new file mode 100644 index 000000000..a6d84fbdf --- /dev/null +++ b/PSSailpoint/v2024/docs/OwnerReferenceDto.md @@ -0,0 +1,25 @@ +# OwnerReferenceDto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The owner id for the entitlement | [optional] +**Name** | **String** | The owner name for the entitlement | [optional] +**Type** | **String** | The type of the owner. Initially only type IDENTITY is supported | [optional] + +## Examples + +- Prepare the resource +```powershell +$OwnerReferenceDto = Initialize-PSSailpointV2024OwnerReferenceDto -Id 2a2fdacca5e345f18bf7970cfbb8fec2 ` + -Name identity 1 ` + -Type IDENTITY +``` + +- Convert the resource to JSON +```powershell +$OwnerReferenceDto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/OwnerReferenceSegments.md b/PSSailpoint/v2024/docs/OwnerReferenceSegments.md new file mode 100644 index 000000000..ee2a44ce9 --- /dev/null +++ b/PSSailpoint/v2024/docs/OwnerReferenceSegments.md @@ -0,0 +1,25 @@ +# OwnerReferenceSegments +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | Owner type. This field must be either left null or set to 'IDENTITY' on input, otherwise a 400 Bad Request error will result. | [optional] +**Id** | **String** | Identity id | [optional] +**Name** | **String** | Human-readable display name of the owner. It may be left null or omitted in a POST or PATCH. If set, it must match the current value of the owner's display name, otherwise a 400 Bad Request error will result. | [optional] + +## Examples + +- Prepare the resource +```powershell +$OwnerReferenceSegments = Initialize-PSSailpointV2024OwnerReferenceSegments -Type IDENTITY ` + -Id 2c9180a46faadee4016fb4e018c20639 ` + -Name support +``` + +- Convert the resource to JSON +```powershell +$OwnerReferenceSegments | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Owns.md b/PSSailpoint/v2024/docs/Owns.md new file mode 100644 index 000000000..7c590655d --- /dev/null +++ b/PSSailpoint/v2024/docs/Owns.md @@ -0,0 +1,33 @@ +# Owns +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Sources** | [**Reference1[]**](Reference1.md) | | [optional] +**Entitlements** | [**Reference1[]**](Reference1.md) | | [optional] +**AccessProfiles** | [**Reference1[]**](Reference1.md) | | [optional] +**Roles** | [**Reference1[]**](Reference1.md) | | [optional] +**Apps** | [**Reference1[]**](Reference1.md) | | [optional] +**GovernanceGroups** | [**Reference1[]**](Reference1.md) | | [optional] +**FallbackApprover** | **Boolean** | | [optional] + +## Examples + +- Prepare the resource +```powershell +$Owns = Initialize-PSSailpointV2024Owns -Sources null ` + -Entitlements null ` + -AccessProfiles null ` + -Roles null ` + -Apps null ` + -GovernanceGroups null ` + -FallbackApprover false +``` + +- Convert the resource to JSON +```powershell +$Owns | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/PasswordChangeRequest.md b/PSSailpoint/v2024/docs/PasswordChangeRequest.md new file mode 100644 index 000000000..e63c50dae --- /dev/null +++ b/PSSailpoint/v2024/docs/PasswordChangeRequest.md @@ -0,0 +1,29 @@ +# PasswordChangeRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**IdentityId** | **String** | The identity ID that requested the password change | [optional] +**EncryptedPassword** | **String** | The RSA encrypted password | [optional] +**PublicKeyId** | **String** | The encryption key ID | [optional] +**AccountId** | **String** | Account ID of the account This is specified per account schema in the source configuration. It is used to distinguish accounts. More info can be found here https://community.sailpoint.com/t5/IdentityNow-Connectors/How-do-I-designate-an-account-attribute-as-the-Account-ID-for-a/ta-p/80350 | [optional] +**SourceId** | **String** | The ID of the source for which identity is requesting the password change | [optional] + +## Examples + +- Prepare the resource +```powershell +$PasswordChangeRequest = Initialize-PSSailpointV2024PasswordChangeRequest -IdentityId 8a807d4c73c545510173c545f0a002ff ` + -EncryptedPassword XzN+YwKgr2C+InkMYFMBG3UtjMEw5ZIql/XFlXo8cJNeslmkplx6vn4kd4/43IF9STBk5RnzR6XmjpEO+FwHDoiBwYZAkAZK/Iswxk4OdybG6Y4MStJCOCiK8osKr35IMMSV/mbO4wAeltoCk7daTWzTGLiI6UaT5tf+F2EgdjJZ7YqM8W8r7aUWsm3p2Xt01Y46ZRx0QaM91QruiIx2rECFT2pUO0wr+7oQ77jypATyGWRtADsu3YcvCk/6U5MqCnXMzKBcRas7NnZdSL/d5H1GglVGz3VLPMaivG4/oL4chOMmFCRl/zVsGxZ9RhN8rxsRGFFKn+rhExTi+bax3A== ` + -PublicKeyId YWQ2NjQ4MTItZjY0NC00MWExLWFjMjktOGNmMzU3Y2VlNjk2 ` + -AccountId CN=Abby Smith,OU=Austin,OU=Americas,OU=Demo,DC=seri,DC=acme,DC=com ` + -SourceId 8a807d4c73c545510173c545d4b60246 +``` + +- Convert the resource to JSON +```powershell +$PasswordChangeRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/PasswordChangeResponse.md b/PSSailpoint/v2024/docs/PasswordChangeResponse.md new file mode 100644 index 000000000..474c63074 --- /dev/null +++ b/PSSailpoint/v2024/docs/PasswordChangeResponse.md @@ -0,0 +1,23 @@ +# PasswordChangeResponse +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**RequestId** | **String** | The password change request ID | [optional] +**State** | **String** | Password change state | [optional] + +## Examples + +- Prepare the resource +```powershell +$PasswordChangeResponse = Initialize-PSSailpointV2024PasswordChangeResponse -RequestId 089899f13a8f4da7824996191587bab9 ` + -State IN_PROGRESS +``` + +- Convert the resource to JSON +```powershell +$PasswordChangeResponse | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/PasswordDigitToken.md b/PSSailpoint/v2024/docs/PasswordDigitToken.md new file mode 100644 index 000000000..8555254ab --- /dev/null +++ b/PSSailpoint/v2024/docs/PasswordDigitToken.md @@ -0,0 +1,23 @@ +# PasswordDigitToken +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**DigitToken** | **String** | The digit token for password management | [optional] +**RequestId** | **String** | The reference ID of the digit token generation request | [optional] + +## Examples + +- Prepare the resource +```powershell +$PasswordDigitToken = Initialize-PSSailpointV2024PasswordDigitToken -DigitToken 09087713 ` + -RequestId e1267ecd-fcd9-4c73-9c55-12555efad136 +``` + +- Convert the resource to JSON +```powershell +$PasswordDigitToken | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/PasswordDigitTokenReset.md b/PSSailpoint/v2024/docs/PasswordDigitTokenReset.md new file mode 100644 index 000000000..b3c6d07f8 --- /dev/null +++ b/PSSailpoint/v2024/docs/PasswordDigitTokenReset.md @@ -0,0 +1,25 @@ +# PasswordDigitTokenReset +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**UserId** | **String** | The uid of the user requested for digit token | +**Length** | **Int32** | The length of digit token. It should be from 6 to 18, inclusive. The default value is 6. | [optional] +**DurationMinutes** | **Int32** | The time to live for the digit token in minutes. The default value is 5 minutes. | [optional] + +## Examples + +- Prepare the resource +```powershell +$PasswordDigitTokenReset = Initialize-PSSailpointV2024PasswordDigitTokenReset -UserId Abby.Smith ` + -Length 8 ` + -DurationMinutes 5 +``` + +- Convert the resource to JSON +```powershell +$PasswordDigitTokenReset | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/PasswordInfo.md b/PSSailpoint/v2024/docs/PasswordInfo.md new file mode 100644 index 000000000..c1d2bbddf --- /dev/null +++ b/PSSailpoint/v2024/docs/PasswordInfo.md @@ -0,0 +1,31 @@ +# PasswordInfo +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**IdentityId** | **String** | Identity ID | [optional] +**SourceId** | **String** | source ID | [optional] +**PublicKeyId** | **String** | public key ID | [optional] +**PublicKey** | **String** | User's public key with Base64 encoding | [optional] +**Accounts** | [**PasswordInfoAccount[]**](PasswordInfoAccount.md) | Account info related to queried identity and source | [optional] +**Policies** | **String[]** | Password constraints | [optional] + +## Examples + +- Prepare the resource +```powershell +$PasswordInfo = Initialize-PSSailpointV2024PasswordInfo -IdentityId 2c918085744fec4301746f9a5bce4605 ` + -SourceId 2c918083746f642c01746f990884012a ` + -PublicKeyId N2M1OTJiMGEtMDJlZS00ZWU3LTkyYTEtNjA5YmI5NWE3ZWVh ` + -PublicKey MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuGFkWi2J75TztpbaPKd36bJnIB3J8gZ6UcoS9oSDYsqBzPpTsfZXYaEf4Y4BKGgJIXmE/lwhwuj7mU1itdZ2qTSNFtnXA8Fn75c3UUkk+h+wdZbkuSmqlsJo3R1OnJkwkJggcAy9Jvk9jlcrNLWorpQ1w9raUvxtvfgkSdq153KxotenQ1HciSyZ0nA/Kw0UaucLnho8xdRowZs11afXGXA9IT9H6D8T6zUdtSxm0nAyH+mluma5LdTfaM50W3l/L8q56Vrqmx2pZIiwdx/0+g3Y++jV70zom0ZBkC1MmSoLMrQYG5OICNjr72f78B2PaGXfarQHqARLjKpMVt9YIQIDAQAB ` + -Accounts null ` + -Policies [passwordRepeatedChar is 3, passwordMinAlpha is 1, passwordMinLength is 5, passwordMinNumeric is 1] +``` + +- Convert the resource to JSON +```powershell +$PasswordInfo | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/PasswordInfoAccount.md b/PSSailpoint/v2024/docs/PasswordInfoAccount.md new file mode 100644 index 000000000..a8d267f2c --- /dev/null +++ b/PSSailpoint/v2024/docs/PasswordInfoAccount.md @@ -0,0 +1,23 @@ +# PasswordInfoAccount +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AccountId** | **String** | Account ID of the account. This is specified per account schema in the source configuration. It is used to distinguish accounts. More info can be found here https://community.sailpoint.com/t5/IdentityNow-Connectors/How-do-I-designate-an-account-attribute-as-the-Account-ID-for-a/ta-p/80350 | [optional] +**AccountName** | **String** | Display name of the account. This is specified per account schema in the source configuration. It is used to display name of the account. More info can be found here https://community.sailpoint.com/t5/IdentityNow-Connectors/How-do-I-designate-an-account-attribute-as-the-Account-Name-for/ta-p/74008 | [optional] + +## Examples + +- Prepare the resource +```powershell +$PasswordInfoAccount = Initialize-PSSailpointV2024PasswordInfoAccount -AccountId CN=Abby Smith,OU=Austin,OU=Americas,OU=Demo,DC=seri,DC=acme,DC=com ` + -AccountName Abby.Smith +``` + +- Convert the resource to JSON +```powershell +$PasswordInfoAccount | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/PasswordInfoQueryDTO.md b/PSSailpoint/v2024/docs/PasswordInfoQueryDTO.md new file mode 100644 index 000000000..4c9c23b14 --- /dev/null +++ b/PSSailpoint/v2024/docs/PasswordInfoQueryDTO.md @@ -0,0 +1,23 @@ +# PasswordInfoQueryDTO +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**UserName** | **String** | The login name of the user | [optional] +**SourceName** | **String** | The display name of the source | [optional] + +## Examples + +- Prepare the resource +```powershell +$PasswordInfoQueryDTO = Initialize-PSSailpointV2024PasswordInfoQueryDTO -UserName Abby.Smith ` + -SourceName My-AD +``` + +- Convert the resource to JSON +```powershell +$PasswordInfoQueryDTO | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/PasswordOrgConfig.md b/PSSailpoint/v2024/docs/PasswordOrgConfig.md new file mode 100644 index 000000000..87491af95 --- /dev/null +++ b/PSSailpoint/v2024/docs/PasswordOrgConfig.md @@ -0,0 +1,27 @@ +# PasswordOrgConfig +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**CustomInstructionsEnabled** | **Boolean** | Indicator whether custom password instructions feature is enabled. The default value is false. | [optional] [default to $false] +**DigitTokenEnabled** | **Boolean** | Indicator whether ""digit token"" feature is enabled. The default value is false. | [optional] [default to $false] +**DigitTokenDurationMinutes** | **Int32** | The duration of ""digit token"" in minutes. The default value is 5. | [optional] [default to 5] +**DigitTokenLength** | **Int32** | The length of ""digit token"". The default value is 6. | [optional] [default to 6] + +## Examples + +- Prepare the resource +```powershell +$PasswordOrgConfig = Initialize-PSSailpointV2024PasswordOrgConfig -CustomInstructionsEnabled true ` + -DigitTokenEnabled true ` + -DigitTokenDurationMinutes 10 ` + -DigitTokenLength 9 +``` + +- Convert the resource to JSON +```powershell +$PasswordOrgConfig | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/PasswordPolicyV3Dto.md b/PSSailpoint/v2024/docs/PasswordPolicyV3Dto.md new file mode 100644 index 000000000..22b549e3e --- /dev/null +++ b/PSSailpoint/v2024/docs/PasswordPolicyV3Dto.md @@ -0,0 +1,81 @@ +# PasswordPolicyV3Dto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The password policy Id. | [optional] +**Description** | **String** | Description for current password policy. | [optional] +**Name** | **String** | The name of the password policy. | [optional] +**DateCreated** | **System.DateTime** | Date the Password Policy was created. | [optional] +**LastUpdated** | **System.DateTime** | Date the Password Policy was updated. | [optional] +**FirstExpirationReminder** | **Int64** | The number of days before expiration remaninder. | [optional] +**AccountIdMinWordLength** | **Int64** | The minimun length of account Id. By default is equals to -1. | [optional] +**AccountNameMinWordLength** | **Int64** | The minimun length of account name. By default is equals to -1. | [optional] +**MinAlpha** | **Int64** | Maximum alpha. By default is equals to 0. | [optional] +**MinCharacterTypes** | **Int64** | MinCharacterTypes. By default is equals to -1. | [optional] +**MaxLength** | **Int64** | Maximum length of the password. | [optional] +**MinLength** | **Int64** | Minimum length of the password. By default is equals to 0. | [optional] +**MaxRepeatedChars** | **Int64** | Maximum repetition of the same character in the password. By default is equals to -1. | [optional] +**MinLower** | **Int64** | Minimum amount of lower case character in the password. By default is equals to 0. | [optional] +**MinNumeric** | **Int64** | Minimum amount of numeric characters in the password. By default is equals to 0. | [optional] +**MinSpecial** | **Int64** | Minimum amount of special symbols in the password. By default is equals to 0. | [optional] +**MinUpper** | **Int64** | Minimum amount of upper case symbols in the password. By default is equals to 0. | [optional] +**PasswordExpiration** | **Int64** | Number of days before current password expires. By default is equals to 90. | [optional] +**DefaultPolicy** | **Boolean** | Defines whether this policy is default or not. Default policy is created automatically when an org is setup. This field is false by default. | [optional] [default to $false] +**EnablePasswdExpiration** | **Boolean** | Defines whether this policy is enabled to expire or not. This field is false by default. | [optional] [default to $false] +**RequireStrongAuthn** | **Boolean** | Defines whether this policy require strong Auth or not. This field is false by default. | [optional] [default to $false] +**RequireStrongAuthOffNetwork** | **Boolean** | Defines whether this policy require strong Auth of network or not. This field is false by default. | [optional] [default to $false] +**RequireStrongAuthUntrustedGeographies** | **Boolean** | Defines whether this policy require strong Auth for untrusted geographies. This field is false by default. | [optional] [default to $false] +**UseAccountAttributes** | **Boolean** | Defines whether this policy uses account attributes or not. This field is false by default. | [optional] [default to $false] +**UseDictionary** | **Boolean** | Defines whether this policy uses dictionary or not. This field is false by default. | [optional] [default to $false] +**UseIdentityAttributes** | **Boolean** | Defines whether this policy uses identity attributes or not. This field is false by default. | [optional] [default to $false] +**ValidateAgainstAccountId** | **Boolean** | Defines whether this policy validate against account id or not. This field is false by default. | [optional] [default to $false] +**ValidateAgainstAccountName** | **Boolean** | Defines whether this policy validate against account name or not. This field is false by default. | [optional] [default to $false] +**Created** | **String** | | [optional] +**Modified** | **String** | | [optional] +**SourceIds** | **String[]** | List of sources IDs managed by this password policy. | [optional] + +## Examples + +- Prepare the resource +```powershell +$PasswordPolicyV3Dto = Initialize-PSSailpointV2024PasswordPolicyV3Dto -Id 2c91808e7d976f3b017d9f5ceae440c8 ` + -Description Information about the Password Policy ` + -Name PasswordPolicy Example ` + -DateCreated null ` + -LastUpdated null ` + -FirstExpirationReminder 45 ` + -AccountIdMinWordLength 4 ` + -AccountNameMinWordLength 6 ` + -MinAlpha 5 ` + -MinCharacterTypes 5 ` + -MaxLength 25 ` + -MinLength 8 ` + -MaxRepeatedChars 3 ` + -MinLower 8 ` + -MinNumeric 8 ` + -MinSpecial 8 ` + -MinUpper 8 ` + -PasswordExpiration 8 ` + -DefaultPolicy true ` + -EnablePasswdExpiration true ` + -RequireStrongAuthn true ` + -RequireStrongAuthOffNetwork true ` + -RequireStrongAuthUntrustedGeographies true ` + -UseAccountAttributes false ` + -UseDictionary false ` + -UseIdentityAttributes false ` + -ValidateAgainstAccountId false ` + -ValidateAgainstAccountName true ` + -Created null ` + -Modified null ` + -SourceIds [2c91808382ffee0b01830de154f14034, 2f98808382ffee0b01830de154f12134] +``` + +- Convert the resource to JSON +```powershell +$PasswordPolicyV3Dto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/PasswordStatus.md b/PSSailpoint/v2024/docs/PasswordStatus.md new file mode 100644 index 000000000..7d9320181 --- /dev/null +++ b/PSSailpoint/v2024/docs/PasswordStatus.md @@ -0,0 +1,27 @@ +# PasswordStatus +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**RequestId** | **String** | The password change request ID | [optional] +**State** | **String** | Password change state | [optional] +**Errors** | **String[]** | The errors during the password change request | [optional] +**SourceIds** | **String[]** | List of source IDs in the password change request | [optional] + +## Examples + +- Prepare the resource +```powershell +$PasswordStatus = Initialize-PSSailpointV2024PasswordStatus -RequestId 089899f13a8f4da7824996191587bab9 ` + -State IN_PROGRESS ` + -Errors [The password change payload is invalid] ` + -SourceIds [2c918083746f642c01746f990884012a] +``` + +- Convert the resource to JSON +```powershell +$PasswordStatus | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/PasswordSyncGroup.md b/PSSailpoint/v2024/docs/PasswordSyncGroup.md new file mode 100644 index 000000000..d660a98e7 --- /dev/null +++ b/PSSailpoint/v2024/docs/PasswordSyncGroup.md @@ -0,0 +1,31 @@ +# PasswordSyncGroup +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | ID of the sync group | [optional] +**Name** | **String** | Name of the sync group | [optional] +**PasswordPolicyId** | **String** | ID of the password policy | [optional] +**SourceIds** | **String[]** | List of password managed sources IDs | [optional] +**Created** | **System.DateTime** | The date and time this sync group was created | [optional] +**Modified** | **System.DateTime** | The date and time this sync group was last modified | [optional] + +## Examples + +- Prepare the resource +```powershell +$PasswordSyncGroup = Initialize-PSSailpointV2024PasswordSyncGroup -Id 6881f631-3bd5-4213-9c75-8e05cc3e35dd ` + -Name Password Sync Group 1 ` + -PasswordPolicyId 2c91808d744ba0ce01746f93b6204501 ` + -SourceIds [2c918084660f45d6016617daa9210584, 2c918084660f45d6016617daa9210500] ` + -Created 2023-03-16T04:00Z ` + -Modified 2023-03-16T04:00Z +``` + +- Convert the resource to JSON +```powershell +$PasswordSyncGroup | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/PatOwner.md b/PSSailpoint/v2024/docs/PatOwner.md new file mode 100644 index 000000000..351d77800 --- /dev/null +++ b/PSSailpoint/v2024/docs/PatOwner.md @@ -0,0 +1,25 @@ +# PatOwner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | Personal access token owner's DTO type. | [optional] +**Id** | **String** | Personal access token owner's identity ID. | [optional] +**Name** | **String** | Personal access token owner's human-readable display name. | [optional] + +## Examples + +- Prepare the resource +```powershell +$PatOwner = Initialize-PSSailpointV2024PatOwner -Type IDENTITY ` + -Id 2c9180a46faadee4016fb4e018c20639 ` + -Name Support +``` + +- Convert the resource to JSON +```powershell +$PatOwner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/PatchPotentialRoleRequestInner.md b/PSSailpoint/v2024/docs/PatchPotentialRoleRequestInner.md new file mode 100644 index 000000000..36dbab3ab --- /dev/null +++ b/PSSailpoint/v2024/docs/PatchPotentialRoleRequestInner.md @@ -0,0 +1,25 @@ +# PatchPotentialRoleRequestInner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Op** | **String** | The operation to be performed | [optional] +**Path** | **String** | A string JSON Pointer representing the target path to an element to be affected by the operation | +**Value** | [**JsonPatchOperationValue**](JsonPatchOperationValue.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$PatchPotentialRoleRequestInner = Initialize-PSSailpointV2024PatchPotentialRoleRequestInner -Op replace ` + -Path /description ` + -Value null +``` + +- Convert the resource to JSON +```powershell +$PatchPotentialRoleRequestInner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/PatchServiceDeskIntegrationRequest.md b/PSSailpoint/v2024/docs/PatchServiceDeskIntegrationRequest.md new file mode 100644 index 000000000..7a5e91cb9 --- /dev/null +++ b/PSSailpoint/v2024/docs/PatchServiceDeskIntegrationRequest.md @@ -0,0 +1,21 @@ +# PatchServiceDeskIntegrationRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Operations** | [**JsonPatchOperation[]**](JsonPatchOperation.md) | Operations to be applied | [optional] + +## Examples + +- Prepare the resource +```powershell +$PatchServiceDeskIntegrationRequest = Initialize-PSSailpointV2024PatchServiceDeskIntegrationRequest -Operations null +``` + +- Convert the resource to JSON +```powershell +$PatchServiceDeskIntegrationRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/PeerGroupMember.md b/PSSailpoint/v2024/docs/PeerGroupMember.md new file mode 100644 index 000000000..a273fa393 --- /dev/null +++ b/PSSailpoint/v2024/docs/PeerGroupMember.md @@ -0,0 +1,27 @@ +# PeerGroupMember +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | A unique identifier for the peer group member. | [optional] +**Type** | **String** | The type of the peer group member. | [optional] +**PeerGroupId** | **String** | The ID of the peer group. | [optional] +**Attributes** | [**System.Collections.Hashtable**](SystemCollectionsHashtable.md) | Arbitrary key-value pairs, belonging to the peer group member. | [optional] + +## Examples + +- Prepare the resource +```powershell +$PeerGroupMember = Initialize-PSSailpointV2024PeerGroupMember -Id null ` + -Type null ` + -PeerGroupId null ` + -Attributes null +``` + +- Convert the resource to JSON +```powershell +$PeerGroupMember | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/PendingApproval.md b/PSSailpoint/v2024/docs/PendingApproval.md new file mode 100644 index 000000000..6d19cc6c0 --- /dev/null +++ b/PSSailpoint/v2024/docs/PendingApproval.md @@ -0,0 +1,57 @@ +# PendingApproval +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The approval id. | [optional] +**Name** | **String** | The name of the approval. | [optional] +**Created** | **System.DateTime** | When the approval was created. | [optional] +**Modified** | **System.DateTime** | When the approval was modified last time. | [optional] +**RequestCreated** | **System.DateTime** | When the access-request was created. | [optional] +**RequestType** | [**AccessRequestType**](AccessRequestType.md) | | [optional] +**Requester** | [**AccessItemRequester**](AccessItemRequester.md) | | [optional] +**RequestedFor** | [**AccessItemRequestedFor[]**](AccessItemRequestedFor.md) | Identities access was requested for. | [optional] +**Owner** | [**PendingApprovalOwner**](PendingApprovalOwner.md) | | [optional] +**RequestedObject** | [**RequestableObjectReference**](RequestableObjectReference.md) | | [optional] +**RequesterComment** | [**CommentDto**](CommentDto.md) | | [optional] +**PreviousReviewersComments** | [**CommentDto[]**](CommentDto.md) | The history of the previous reviewers comments. | [optional] +**ForwardHistory** | [**ApprovalForwardHistory[]**](ApprovalForwardHistory.md) | The history of approval forward action. | [optional] +**CommentRequiredWhenRejected** | **Boolean** | When true the rejector has to provide comments when rejecting | [optional] [default to $false] +**ActionInProcess** | [**PendingApprovalAction**](PendingApprovalAction.md) | | [optional] +**RemoveDate** | **System.DateTime** | The date the role or access profile or entitlement is no longer assigned to the specified identity. | [optional] +**RemoveDateUpdateRequested** | **Boolean** | If true, then the request is to change the remove date or sunset date. | [optional] [default to $false] +**CurrentRemoveDate** | **System.DateTime** | The remove date or sunset date that was assigned at the time of the request. | [optional] +**SodViolationContext** | [**SodViolationContextCheckCompleted**](SodViolationContextCheckCompleted.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$PendingApproval = Initialize-PSSailpointV2024PendingApproval -Id id12345 ` + -Name aName ` + -Created 2017-07-11T18:45:37.098Z ` + -Modified 2018-07-25T20:22:28.104Z ` + -RequestCreated 2017-07-11T18:45:35.098Z ` + -RequestType null ` + -Requester null ` + -RequestedFor null ` + -Owner null ` + -RequestedObject null ` + -RequesterComment null ` + -PreviousReviewersComments null ` + -ForwardHistory null ` + -CommentRequiredWhenRejected true ` + -ActionInProcess null ` + -RemoveDate 2020-07-11T00:00Z ` + -RemoveDateUpdateRequested true ` + -CurrentRemoveDate 2020-07-11T00:00Z ` + -SodViolationContext null +``` + +- Convert the resource to JSON +```powershell +$PendingApproval | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/PendingApprovalAction.md b/PSSailpoint/v2024/docs/PendingApprovalAction.md new file mode 100644 index 000000000..ed233f5a1 --- /dev/null +++ b/PSSailpoint/v2024/docs/PendingApprovalAction.md @@ -0,0 +1,20 @@ +# PendingApprovalAction +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$PendingApprovalAction = Initialize-PSSailpointV2024PendingApprovalAction +``` + +- Convert the resource to JSON +```powershell +$PendingApprovalAction | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/PendingApprovalOwner.md b/PSSailpoint/v2024/docs/PendingApprovalOwner.md new file mode 100644 index 000000000..d7ca35016 --- /dev/null +++ b/PSSailpoint/v2024/docs/PendingApprovalOwner.md @@ -0,0 +1,25 @@ +# PendingApprovalOwner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | Access item owner's DTO type. | [optional] +**Id** | **String** | Access item owner's identity ID. | [optional] +**Name** | **String** | Access item owner's human-readable display name. | [optional] + +## Examples + +- Prepare the resource +```powershell +$PendingApprovalOwner = Initialize-PSSailpointV2024PendingApprovalOwner -Type IDENTITY ` + -Id 2c9180a46faadee4016fb4e018c20639 ` + -Name Support +``` + +- Convert the resource to JSON +```powershell +$PendingApprovalOwner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/PermissionDto.md b/PSSailpoint/v2024/docs/PermissionDto.md new file mode 100644 index 000000000..40ea33423 --- /dev/null +++ b/PSSailpoint/v2024/docs/PermissionDto.md @@ -0,0 +1,23 @@ +# PermissionDto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Rights** | **String[]** | All the rights (e.g. actions) that this permission allows on the target | [optional] [readonly] +**Target** | **String** | The target the permission would grants rights on. | [optional] [readonly] + +## Examples + +- Prepare the resource +```powershell +$PermissionDto = Initialize-PSSailpointV2024PermissionDto -Rights null ` + -Target SYS.GV_$TRANSACTION +``` + +- Convert the resource to JSON +```powershell +$PermissionDto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/PreApprovalTriggerDetails.md b/PSSailpoint/v2024/docs/PreApprovalTriggerDetails.md new file mode 100644 index 000000000..e994175f2 --- /dev/null +++ b/PSSailpoint/v2024/docs/PreApprovalTriggerDetails.md @@ -0,0 +1,25 @@ +# PreApprovalTriggerDetails +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Comment** | **String** | Comment left for the pre-approval decision | [optional] +**Reviewer** | **String** | The reviewer of the pre-approval decision | [optional] +**Decision** | **String** | The decision of the pre-approval trigger | [optional] + +## Examples + +- Prepare the resource +```powershell +$PreApprovalTriggerDetails = Initialize-PSSailpointV2024PreApprovalTriggerDetails -Comment Access is Approved ` + -Reviewer John Doe ` + -Decision APPROVED +``` + +- Convert the resource to JSON +```powershell +$PreApprovalTriggerDetails | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/PreferencesDto.md b/PSSailpoint/v2024/docs/PreferencesDto.md new file mode 100644 index 000000000..680280bea --- /dev/null +++ b/PSSailpoint/v2024/docs/PreferencesDto.md @@ -0,0 +1,25 @@ +# PreferencesDto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Key** | **String** | The template notification key. | [optional] +**Mediums** | [**Medium[]**](Medium.md) | List of preferred notification mediums, i.e., the mediums (or method) for which notifications are enabled. More mediums may be added in the future. | [optional] +**Modified** | **System.DateTime** | Modified date of preference | [optional] + +## Examples + +- Prepare the resource +```powershell +$PreferencesDto = Initialize-PSSailpointV2024PreferencesDto -Key cloud_manual_work_item_summary ` + -Mediums [EMAIL] ` + -Modified 2020-05-15T14:37:06.909Z +``` + +- Convert the resource to JSON +```powershell +$PreferencesDto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/PreviewDataSourceResponse.md b/PSSailpoint/v2024/docs/PreviewDataSourceResponse.md new file mode 100644 index 000000000..55fd1fa8f --- /dev/null +++ b/PSSailpoint/v2024/docs/PreviewDataSourceResponse.md @@ -0,0 +1,21 @@ +# PreviewDataSourceResponse +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Results** | [**FormElementDataSourceConfigOptions[]**](FormElementDataSourceConfigOptions.md) | Results holds a list of FormElementDataSourceConfigOptions items | [optional] + +## Examples + +- Prepare the resource +```powershell +$PreviewDataSourceResponse = Initialize-PSSailpointV2024PreviewDataSourceResponse -Results {"results":[{"label":"Alfred 255e71dfc6e","subLabel":"Alfred.255e71dfc6e@testmail.identitysoon.com","value":"2c918084821847c5018227ced2e16676"},{"label":"Alize eba9d4cd27da","subLabel":"Alize.eba9d4cd27da@testmail.identitysoon.com","value":"2c918084821847c5018227ced2f1667c"},{"label":"Antonina 01f69c3ea","subLabel":"Antonina.01f69c3ea@testmail.identitysoon.com","value":"2c918084821847c5018227ced2f9667e"},{"label":"Ardella 21e78ce155","subLabel":"Ardella.21e78ce155@testmail.identitysoon.com","value":"2c918084821847c5018227ced2e6667a"},{"label":"Arnaldo d8582b6e17","subLabel":"Arnaldo.d8582b6e17@testmail.identitysoon.com","value":"2c918084821847c5018227ced3426686"},{"label":"Aurelia admin24828","subLabel":"Aurelia.admin24828@testmail.identitysoon.com","value":"2c918084821847c5018227ced2e16674"},{"label":"Barbara 72ca418fdd","subLabel":"Barbara.72ca418fdd@testmail.identitysoon.com","value":"2c918084821847c5018227ced2fb6680"},{"label":"Barbara ee1a2436ee","subLabel":"Barbara.ee1a2436ee@testmail.identitysoon.com","value":"2c918084821847c5018227ced2e56678"},{"label":"Baylee 652d72432f3","subLabel":"Baylee.652d72432f3@testmail.identitysoon.com","value":"2c91808582184782018227ced28b6aee"},{"label":"Brock e76b56ae4d49","subLabel":"Brock.e76b56ae4d49@testmail.identitysoon.com","value":"2c91808582184782018227ced28b6aef"}]} +``` + +- Convert the resource to JSON +```powershell +$PreviewDataSourceResponse | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ProcessIdentitiesRequest.md b/PSSailpoint/v2024/docs/ProcessIdentitiesRequest.md new file mode 100644 index 000000000..1fb6eb3ac --- /dev/null +++ b/PSSailpoint/v2024/docs/ProcessIdentitiesRequest.md @@ -0,0 +1,21 @@ +# ProcessIdentitiesRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**IdentityIds** | **String[]** | List of up to 250 identity IDs to process. | [optional] + +## Examples + +- Prepare the resource +```powershell +$ProcessIdentitiesRequest = Initialize-PSSailpointV2024ProcessIdentitiesRequest -IdentityIds null +``` + +- Convert the resource to JSON +```powershell +$ProcessIdentitiesRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ProcessingDetails.md b/PSSailpoint/v2024/docs/ProcessingDetails.md new file mode 100644 index 000000000..989187509 --- /dev/null +++ b/PSSailpoint/v2024/docs/ProcessingDetails.md @@ -0,0 +1,29 @@ +# ProcessingDetails +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Date** | **System.DateTime** | A date-time in ISO-8601 format | [optional] +**Stage** | **String** | | [optional] +**RetryCount** | **Int32** | | [optional] +**VarStackTrace** | **String** | | [optional] +**Message** | **String** | | [optional] + +## Examples + +- Prepare the resource +```powershell +$ProcessingDetails = Initialize-PSSailpointV2024ProcessingDetails -Date 2018-06-25T20:22:28.104Z ` + -Stage In Process ` + -RetryCount 0 ` + -VarStackTrace <stack trace> ` + -Message <message> +``` + +- Convert the resource to JSON +```powershell +$ProcessingDetails | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Product.md b/PSSailpoint/v2024/docs/Product.md new file mode 100644 index 000000000..e1b041e94 --- /dev/null +++ b/PSSailpoint/v2024/docs/Product.md @@ -0,0 +1,51 @@ +# Product +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ProductName** | **String** | Name of the Product | [optional] +**Url** | **String** | URL of the Product | [optional] +**ProductTenantId** | **String** | An identifier for a specific product-tenant combination | [optional] +**ProductRegion** | **String** | Product region | [optional] +**ProductRight** | **String** | Right needed for the Product | [optional] +**ApiUrl** | **String** | API URL of the Product | [optional] +**Licenses** | [**License[]**](License.md) | | [optional] +**Attributes** | [**System.Collections.Hashtable**](AnyType.md) | Additional attributes for a product | [optional] +**Zone** | **String** | Zone | [optional] +**Status** | **String** | Status of the product | [optional] +**StatusDateTime** | **System.DateTime** | Status datetime | [optional] +**Reason** | **String** | If there's a tenant provisioning failure then reason will have the description of error | [optional] +**Notes** | **String** | Product could have additional notes added during tenant provisioning. | [optional] +**DateCreated** | **System.DateTime** | Date when the product was created | [optional] +**LastUpdated** | **System.DateTime** | Date when the product was last updated | [optional] +**OrgType** | **String** | Type of org | [optional] + +## Examples + +- Prepare the resource +```powershell +$Product = Initialize-PSSailpointV2024Product -ProductName idn ` + -Url https://tenant-name.identitynow.com ` + -ProductTenantId tenant#product ` + -ProductRegion us-east-1 ` + -ProductRight idn:ui:view ` + -ApiUrl https://tenant-name.api.identitynow.com ` + -Licenses null ` + -Attributes {domain=https://tenant-name.identitynow.com, maxRegisteredUsers=250} ` + -Zone Deployment zone for the Product ` + -Status active ` + -StatusDateTime 2020-05-19T13:49:37.385Z ` + -Reason Reason ` + -Notes Example notes ` + -DateCreated 2020-05-19T13:49:37.385Z ` + -LastUpdated 2020-05-19T13:49:37.385Z ` + -OrgType test +``` + +- Convert the resource to JSON +```powershell +$Product | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ProvisioningCompleted.md b/PSSailpoint/v2024/docs/ProvisioningCompleted.md new file mode 100644 index 000000000..9c4f75071 --- /dev/null +++ b/PSSailpoint/v2024/docs/ProvisioningCompleted.md @@ -0,0 +1,35 @@ +# ProvisioningCompleted +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**TrackingNumber** | **String** | The reference number of the provisioning request. Useful for tracking status in the Account Activity search interface. | +**Sources** | **String** | One or more sources that the provisioning transaction(s) were done against. Sources are comma separated. | +**Action** | **String** | Origin of where the provisioning request came from. | [optional] +**Errors** | **String[]** | A list of any accumulated error messages that occurred during provisioning. | [optional] +**Warnings** | **String[]** | A list of any accumulated warning messages that occurred during provisioning. | [optional] +**Recipient** | [**ProvisioningCompletedRecipient**](ProvisioningCompletedRecipient.md) | | +**Requester** | [**ProvisioningCompletedRequester**](ProvisioningCompletedRequester.md) | | [optional] +**AccountRequests** | [**ProvisioningCompletedAccountRequestsInner[]**](ProvisioningCompletedAccountRequestsInner.md) | A list of provisioning instructions to perform on an account-by-account basis. | + +## Examples + +- Prepare the resource +```powershell +$ProvisioningCompleted = Initialize-PSSailpointV2024ProvisioningCompleted -TrackingNumber 4b4d982dddff4267ab12f0f1e72b5a6d ` + -Sources Corp AD, Corp LDAP, Corp Salesforce ` + -Action IdentityRefresh ` + -Errors null ` + -Warnings null ` + -Recipient null ` + -Requester null ` + -AccountRequests null +``` + +- Convert the resource to JSON +```powershell +$ProvisioningCompleted | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ProvisioningCompletedAccountRequestsInner.md b/PSSailpoint/v2024/docs/ProvisioningCompletedAccountRequestsInner.md new file mode 100644 index 000000000..6dbbd7af0 --- /dev/null +++ b/PSSailpoint/v2024/docs/ProvisioningCompletedAccountRequestsInner.md @@ -0,0 +1,33 @@ +# ProvisioningCompletedAccountRequestsInner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Source** | [**ProvisioningCompletedAccountRequestsInnerSource**](ProvisioningCompletedAccountRequestsInnerSource.md) | | +**AccountId** | **String** | The unique idenfier of the account being provisioned. | [optional] +**AccountOperation** | **String** | The provisioning operation; typically Create, Modify, Enable, Disable, Unlock, or Delete. | +**ProvisioningResult** | [**SystemCollectionsHashtable**](.md) | The overall result of the provisioning transaction; this could be success, pending, failed, etc. | +**ProvisioningTarget** | **String** | The name of the provisioning channel selected; this could be the same as the source, or could be a Service Desk Integration Module (SDIM). | +**TicketId** | **String** | A reference to a tracking number, if this is sent to a Service Desk Integration Module (SDIM). | [optional] +**AttributeRequests** | [**ProvisioningCompletedAccountRequestsInnerAttributeRequestsInner[]**](ProvisioningCompletedAccountRequestsInnerAttributeRequestsInner.md) | A list of attributes as part of the provisioning transaction. | [optional] + +## Examples + +- Prepare the resource +```powershell +$ProvisioningCompletedAccountRequestsInner = Initialize-PSSailpointV2024ProvisioningCompletedAccountRequestsInner -Source null ` + -AccountId CN=Chewy.Bacca,ou=hardcorefigter,ou=wookies,dc=starwars,dc=com ` + -AccountOperation Modify ` + -ProvisioningResult SUCCESS ` + -ProvisioningTarget Corp AD ` + -TicketId 72619262 ` + -AttributeRequests null +``` + +- Convert the resource to JSON +```powershell +$ProvisioningCompletedAccountRequestsInner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ProvisioningCompletedAccountRequestsInnerAttributeRequestsInner.md b/PSSailpoint/v2024/docs/ProvisioningCompletedAccountRequestsInnerAttributeRequestsInner.md new file mode 100644 index 000000000..9e47bbef9 --- /dev/null +++ b/PSSailpoint/v2024/docs/ProvisioningCompletedAccountRequestsInnerAttributeRequestsInner.md @@ -0,0 +1,25 @@ +# ProvisioningCompletedAccountRequestsInnerAttributeRequestsInner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AttributeName** | **String** | The name of the attribute being provisioned. | +**AttributeValue** | **String** | The value of the attribute being provisioned. | [optional] +**Operation** | [**SystemCollectionsHashtable**](.md) | The operation to handle the attribute. | + +## Examples + +- Prepare the resource +```powershell +$ProvisioningCompletedAccountRequestsInnerAttributeRequestsInner = Initialize-PSSailpointV2024ProvisioningCompletedAccountRequestsInnerAttributeRequestsInner -AttributeName memberOf ` + -AttributeValue CN=jedi,DC=starwars,DC=com ` + -Operation Add +``` + +- Convert the resource to JSON +```powershell +$ProvisioningCompletedAccountRequestsInnerAttributeRequestsInner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ProvisioningCompletedAccountRequestsInnerSource.md b/PSSailpoint/v2024/docs/ProvisioningCompletedAccountRequestsInnerSource.md new file mode 100644 index 000000000..af44c747a --- /dev/null +++ b/PSSailpoint/v2024/docs/ProvisioningCompletedAccountRequestsInnerSource.md @@ -0,0 +1,25 @@ +# ProvisioningCompletedAccountRequestsInnerSource +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | ID of the object to which this reference applies | +**Type** | **String** | The type of object that is referenced | +**Name** | **String** | Human-readable display name of the object to which this reference applies | + +## Examples + +- Prepare the resource +```powershell +$ProvisioningCompletedAccountRequestsInnerSource = Initialize-PSSailpointV2024ProvisioningCompletedAccountRequestsInnerSource -Id 4e4d982dddff4267ab12f0f1e72b5a6d ` + -Type SOURCE ` + -Name Corporate Active Directory +``` + +- Convert the resource to JSON +```powershell +$ProvisioningCompletedAccountRequestsInnerSource | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ProvisioningCompletedRecipient.md b/PSSailpoint/v2024/docs/ProvisioningCompletedRecipient.md new file mode 100644 index 000000000..1c4c4b32a --- /dev/null +++ b/PSSailpoint/v2024/docs/ProvisioningCompletedRecipient.md @@ -0,0 +1,25 @@ +# ProvisioningCompletedRecipient +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | Provisioning recipient DTO type. | +**Id** | **String** | Provisioning recipient's identity ID. | +**Name** | **String** | Provisioning recipient's display name. | + +## Examples + +- Prepare the resource +```powershell +$ProvisioningCompletedRecipient = Initialize-PSSailpointV2024ProvisioningCompletedRecipient -Type IDENTITY ` + -Id 2c7180a46faadee4016fb4e018c20642 ` + -Name Michael Michaels +``` + +- Convert the resource to JSON +```powershell +$ProvisioningCompletedRecipient | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ProvisioningCompletedRequester.md b/PSSailpoint/v2024/docs/ProvisioningCompletedRequester.md new file mode 100644 index 000000000..99399bb1b --- /dev/null +++ b/PSSailpoint/v2024/docs/ProvisioningCompletedRequester.md @@ -0,0 +1,25 @@ +# ProvisioningCompletedRequester +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | Provisioning requester's DTO type. | +**Id** | **String** | Provisioning requester's identity ID. | +**Name** | **String** | Provisioning owner's human-readable display name. | + +## Examples + +- Prepare the resource +```powershell +$ProvisioningCompletedRequester = Initialize-PSSailpointV2024ProvisioningCompletedRequester -Type IDENTITY ` + -Id 2c7180a46faadee4016fb4e018c20648 ` + -Name William Wilson +``` + +- Convert the resource to JSON +```powershell +$ProvisioningCompletedRequester | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ProvisioningConfig.md b/PSSailpoint/v2024/docs/ProvisioningConfig.md new file mode 100644 index 000000000..1a6a0a611 --- /dev/null +++ b/PSSailpoint/v2024/docs/ProvisioningConfig.md @@ -0,0 +1,29 @@ +# ProvisioningConfig +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**UniversalManager** | **Boolean** | Specifies whether this configuration is used to manage provisioning requests for all sources from the org. If true, no managedResourceRefs are allowed. | [optional] [readonly] [default to $false] +**ManagedResourceRefs** | [**ServiceDeskSource[]**](ServiceDeskSource.md) | References to sources for the Service Desk integration template. May only be specified if universalManager is false. | [optional] +**PlanInitializerScript** | [**ProvisioningConfigPlanInitializerScript**](ProvisioningConfigPlanInitializerScript.md) | | [optional] +**NoProvisioningRequests** | **Boolean** | Name of an attribute that when true disables the saving of ProvisioningRequest objects whenever plans are sent through this integration. | [optional] [default to $false] +**ProvisioningRequestExpiration** | **Int32** | When saving pending requests is enabled, this defines the number of hours the request is allowed to live before it is considered expired and no longer affects plan compilation. | [optional] + +## Examples + +- Prepare the resource +```powershell +$ProvisioningConfig = Initialize-PSSailpointV2024ProvisioningConfig -UniversalManager true ` + -ManagedResourceRefs [{type=SOURCE, id=2c9180855d191c59015d291ceb051111, name=My Source 1}, {type=SOURCE, id=2c9180855d191c59015d291ceb052222, name=My Source 2}] ` + -PlanInitializerScript null ` + -NoProvisioningRequests true ` + -ProvisioningRequestExpiration 7 +``` + +- Convert the resource to JSON +```powershell +$ProvisioningConfig | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ProvisioningConfig1.md b/PSSailpoint/v2024/docs/ProvisioningConfig1.md new file mode 100644 index 000000000..8582810e1 --- /dev/null +++ b/PSSailpoint/v2024/docs/ProvisioningConfig1.md @@ -0,0 +1,29 @@ +# ProvisioningConfig1 +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**UniversalManager** | **Boolean** | Specifies whether this configuration is used to manage provisioning requests for all sources from the org. If true, no managedResourceRefs are allowed. | [optional] [readonly] [default to $false] +**ManagedResourceRefs** | [**ProvisioningConfig1ManagedResourceRefsInner[]**](ProvisioningConfig1ManagedResourceRefsInner.md) | References to sources for the Service Desk integration template. May only be specified if universalManager is false. | [optional] +**PlanInitializerScript** | [**ProvisioningConfig1PlanInitializerScript**](ProvisioningConfig1PlanInitializerScript.md) | | [optional] +**NoProvisioningRequests** | **Boolean** | Name of an attribute that when true disables the saving of ProvisioningRequest objects whenever plans are sent through this integration. | [optional] [default to $false] +**ProvisioningRequestExpiration** | **Int32** | When saving pending requests is enabled, this defines the number of hours the request is allowed to live before it is considered expired and no longer affects plan compilation. | [optional] + +## Examples + +- Prepare the resource +```powershell +$ProvisioningConfig1 = Initialize-PSSailpointV2024ProvisioningConfig1 -UniversalManager true ` + -ManagedResourceRefs [{type=SOURCE, id=2c9180855d191c59015d291ceb051111, name=My Source 1}, {type=SOURCE, id=2c9180855d191c59015d291ceb052222, name=My Source 2}] ` + -PlanInitializerScript null ` + -NoProvisioningRequests true ` + -ProvisioningRequestExpiration 7 +``` + +- Convert the resource to JSON +```powershell +$ProvisioningConfig1 | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ProvisioningConfig1ManagedResourceRefsInner.md b/PSSailpoint/v2024/docs/ProvisioningConfig1ManagedResourceRefsInner.md new file mode 100644 index 000000000..d093fbba6 --- /dev/null +++ b/PSSailpoint/v2024/docs/ProvisioningConfig1ManagedResourceRefsInner.md @@ -0,0 +1,25 @@ +# ProvisioningConfig1ManagedResourceRefsInner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | [**SystemCollectionsHashtable**](.md) | The type of object being referenced | [optional] +**Id** | [**SystemCollectionsHashtable**](.md) | ID of the source | [optional] +**Name** | [**SystemCollectionsHashtable**](.md) | Human-readable display name of the source | [optional] + +## Examples + +- Prepare the resource +```powershell +$ProvisioningConfig1ManagedResourceRefsInner = Initialize-PSSailpointV2024ProvisioningConfig1ManagedResourceRefsInner -Type SOURCE ` + -Id 2c91808568c529c60168cca6f90c1313 ` + -Name My Source +``` + +- Convert the resource to JSON +```powershell +$ProvisioningConfig1ManagedResourceRefsInner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ProvisioningConfig1PlanInitializerScript.md b/PSSailpoint/v2024/docs/ProvisioningConfig1PlanInitializerScript.md new file mode 100644 index 000000000..9d4eecf5f --- /dev/null +++ b/PSSailpoint/v2024/docs/ProvisioningConfig1PlanInitializerScript.md @@ -0,0 +1,22 @@ +# ProvisioningConfig1PlanInitializerScript +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Source** | **String** | This is a Rule that allows provisioning instruction changes. | [optional] + +## Examples + +- Prepare the resource +```powershell +$ProvisioningConfig1PlanInitializerScript = Initialize-PSSailpointV2024ProvisioningConfig1PlanInitializerScript -Source <?xml version='1.0' encoding='UTF-8'?>\r\n<!DOCTYPE Rule PUBLIC \"sailpoint.dtd\" \"sailpoint.dtd\">\r\n<Rule name=\"Example Rule\" type=\"BeforeProvisioning\">\r\n <Description>Before Provisioning Rule which changes disables and enables to a modify.</Description>\r\n <Source><![CDATA[\r\nimport sailpoint.object.*;\r\nimport sailpoint.object.ProvisioningPlan.AccountRequest;\r\nimport sailpoint.object.ProvisioningPlan.AccountRequest.Operation;\r\nimport sailpoint.object.ProvisioningPlan.AttributeRequest;\r\nimport sailpoint.object.ProvisioningPlan;\r\nimport sailpoint.object.ProvisioningPlan.Operation;\r\n\r\nfor ( AccountRequest accountRequest : plan.getAccountRequests() ) {\r\n if ( accountRequest.getOp().equals( ProvisioningPlan.ObjectOperation.Disable ) ) {\r\n accountRequest.setOp( ProvisioningPlan.ObjectOperation.Modify );\r\n }\r\n if ( accountRequest.getOp().equals( ProvisioningPlan.ObjectOperation.Enable ) ) {\r\n accountRequest.setOp( ProvisioningPlan.ObjectOperation.Modify );\r\n }\r\n}\r\n\r\n ]]></Source> + +``` + +- Convert the resource to JSON +```powershell +$ProvisioningConfig1PlanInitializerScript | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ProvisioningConfigPlanInitializerScript.md b/PSSailpoint/v2024/docs/ProvisioningConfigPlanInitializerScript.md new file mode 100644 index 000000000..51a7c4db7 --- /dev/null +++ b/PSSailpoint/v2024/docs/ProvisioningConfigPlanInitializerScript.md @@ -0,0 +1,22 @@ +# ProvisioningConfigPlanInitializerScript +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Source** | **String** | This is a Rule that allows provisioning instruction changes. | [optional] + +## Examples + +- Prepare the resource +```powershell +$ProvisioningConfigPlanInitializerScript = Initialize-PSSailpointV2024ProvisioningConfigPlanInitializerScript -Source <?xml version='1.0' encoding='UTF-8'?>\r\n<!DOCTYPE Rule PUBLIC \"sailpoint.dtd\" \"sailpoint.dtd\">\r\n<Rule name=\"Example Rule\" type=\"BeforeProvisioning\">\r\n <Description>Before Provisioning Rule which changes disables and enables to a modify.</Description>\r\n <Source><![CDATA[\r\nimport sailpoint.object.*;\r\nimport sailpoint.object.ProvisioningPlan.AccountRequest;\r\nimport sailpoint.object.ProvisioningPlan.AccountRequest.Operation;\r\nimport sailpoint.object.ProvisioningPlan.AttributeRequest;\r\nimport sailpoint.object.ProvisioningPlan;\r\nimport sailpoint.object.ProvisioningPlan.Operation;\r\n\r\nfor ( AccountRequest accountRequest : plan.getAccountRequests() ) {\r\n if ( accountRequest.getOp().equals( ProvisioningPlan.ObjectOperation.Disable ) ) {\r\n accountRequest.setOp( ProvisioningPlan.ObjectOperation.Modify );\r\n }\r\n if ( accountRequest.getOp().equals( ProvisioningPlan.ObjectOperation.Enable ) ) {\r\n accountRequest.setOp( ProvisioningPlan.ObjectOperation.Modify );\r\n }\r\n}\r\n\r\n ]]></Source> + +``` + +- Convert the resource to JSON +```powershell +$ProvisioningConfigPlanInitializerScript | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ProvisioningCriteriaLevel1.md b/PSSailpoint/v2024/docs/ProvisioningCriteriaLevel1.md new file mode 100644 index 000000000..6bffa4a6f --- /dev/null +++ b/PSSailpoint/v2024/docs/ProvisioningCriteriaLevel1.md @@ -0,0 +1,27 @@ +# ProvisioningCriteriaLevel1 +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Operation** | [**ProvisioningCriteriaOperation**](ProvisioningCriteriaOperation.md) | | [optional] +**Attribute** | **String** | Name of the Account attribute to be tested. If **operation** is one of EQUALS, NOT_EQUALS, CONTAINS, or HAS, this field is required. Otherwise, specifying it is an error. | [optional] +**Value** | **String** | String value to test the Account attribute w/r/t the specified operation. If the operation is one of EQUALS, NOT_EQUALS, or CONTAINS, this field is required. Otherwise, specifying it is an error. If the Attribute is not String-typed, it will be converted to the appropriate type. | [optional] +**Children** | [**ProvisioningCriteriaLevel2[]**](ProvisioningCriteriaLevel2.md) | Array of child criteria. Required if the operation is AND or OR, otherwise it must be left null. A maximum of three levels of criteria are supported, including leaf nodes. | [optional] + +## Examples + +- Prepare the resource +```powershell +$ProvisioningCriteriaLevel1 = Initialize-PSSailpointV2024ProvisioningCriteriaLevel1 -Operation null ` + -Attribute email ` + -Value carlee.cert1c9f9b6fd@mailinator.com ` + -Children null +``` + +- Convert the resource to JSON +```powershell +$ProvisioningCriteriaLevel1 | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ProvisioningCriteriaLevel2.md b/PSSailpoint/v2024/docs/ProvisioningCriteriaLevel2.md new file mode 100644 index 000000000..4d880cc58 --- /dev/null +++ b/PSSailpoint/v2024/docs/ProvisioningCriteriaLevel2.md @@ -0,0 +1,27 @@ +# ProvisioningCriteriaLevel2 +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Operation** | [**ProvisioningCriteriaOperation**](ProvisioningCriteriaOperation.md) | | [optional] +**Attribute** | **String** | Name of the Account attribute to be tested. If **operation** is one of EQUALS, NOT_EQUALS, CONTAINS, or HAS, this field is required. Otherwise, specifying it is an error. | [optional] +**Value** | **String** | String value to test the Account attribute w/r/t the specified operation. If the operation is one of EQUALS, NOT_EQUALS, or CONTAINS, this field is required. Otherwise, specifying it is an error. If the Attribute is not String-typed, it will be converted to the appropriate type. | [optional] +**Children** | [**ProvisioningCriteriaLevel3[]**](ProvisioningCriteriaLevel3.md) | Array of child criteria. Required if the operation is AND or OR, otherwise it must be left null. A maximum of three levels of criteria are supported, including leaf nodes. | [optional] + +## Examples + +- Prepare the resource +```powershell +$ProvisioningCriteriaLevel2 = Initialize-PSSailpointV2024ProvisioningCriteriaLevel2 -Operation null ` + -Attribute email ` + -Value carlee.cert1c9f9b6fd@mailinator.com ` + -Children null +``` + +- Convert the resource to JSON +```powershell +$ProvisioningCriteriaLevel2 | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ProvisioningCriteriaLevel3.md b/PSSailpoint/v2024/docs/ProvisioningCriteriaLevel3.md new file mode 100644 index 000000000..069fcf9ef --- /dev/null +++ b/PSSailpoint/v2024/docs/ProvisioningCriteriaLevel3.md @@ -0,0 +1,27 @@ +# ProvisioningCriteriaLevel3 +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Operation** | [**ProvisioningCriteriaOperation**](ProvisioningCriteriaOperation.md) | | [optional] +**Attribute** | **String** | Name of the Account attribute to be tested. If **operation** is one of EQUALS, NOT_EQUALS, CONTAINS, or HAS, this field is required. Otherwise, specifying it is an error. | [optional] +**Value** | **String** | String value to test the Account attribute w/r/t the specified operation. If the operation is one of EQUALS, NOT_EQUALS, or CONTAINS, this field is required. Otherwise, specifying it is an error. If the Attribute is not String-typed, it will be converted to the appropriate type. | [optional] +**Children** | **String** | Array of child criteria. Required if the operation is AND or OR, otherwise it must be left null. A maximum of three levels of criteria are supported, including leaf nodes. | [optional] + +## Examples + +- Prepare the resource +```powershell +$ProvisioningCriteriaLevel3 = Initialize-PSSailpointV2024ProvisioningCriteriaLevel3 -Operation null ` + -Attribute email ` + -Value carlee.cert1c9f9b6fd@mailinator.com ` + -Children null +``` + +- Convert the resource to JSON +```powershell +$ProvisioningCriteriaLevel3 | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ProvisioningCriteriaOperation.md b/PSSailpoint/v2024/docs/ProvisioningCriteriaOperation.md new file mode 100644 index 000000000..4142f103c --- /dev/null +++ b/PSSailpoint/v2024/docs/ProvisioningCriteriaOperation.md @@ -0,0 +1,20 @@ +# ProvisioningCriteriaOperation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$ProvisioningCriteriaOperation = Initialize-PSSailpointV2024ProvisioningCriteriaOperation +``` + +- Convert the resource to JSON +```powershell +$ProvisioningCriteriaOperation | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ProvisioningDetails.md b/PSSailpoint/v2024/docs/ProvisioningDetails.md new file mode 100644 index 000000000..e72f003d2 --- /dev/null +++ b/PSSailpoint/v2024/docs/ProvisioningDetails.md @@ -0,0 +1,21 @@ +# ProvisioningDetails +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**OrderedSubPhaseReferences** | **String** | Ordered CSV of sub phase references to objects that contain more information about provisioning. For example, this can contain ""manualWorkItemDetails"" which indicate that there is further information in that object for this phase. | [optional] + +## Examples + +- Prepare the resource +```powershell +$ProvisioningDetails = Initialize-PSSailpointV2024ProvisioningDetails -OrderedSubPhaseReferences manualWorkItemDetails +``` + +- Convert the resource to JSON +```powershell +$ProvisioningDetails | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ProvisioningPolicy.md b/PSSailpoint/v2024/docs/ProvisioningPolicy.md new file mode 100644 index 000000000..15b103695 --- /dev/null +++ b/PSSailpoint/v2024/docs/ProvisioningPolicy.md @@ -0,0 +1,27 @@ +# ProvisioningPolicy +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | the provisioning policy name | +**Description** | **String** | the description of the provisioning policy | [optional] +**UsageType** | [**UsageType**](UsageType.md) | | [optional] +**Fields** | [**FieldDetailsDto[]**](FieldDetailsDto.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$ProvisioningPolicy = Initialize-PSSailpointV2024ProvisioningPolicy -Name example provisioning policy for inactive identities ` + -Description this provisioning policy creates access based on an identity going inactive ` + -UsageType null ` + -Fields null +``` + +- Convert the resource to JSON +```powershell +$ProvisioningPolicy | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ProvisioningPolicyDto.md b/PSSailpoint/v2024/docs/ProvisioningPolicyDto.md new file mode 100644 index 000000000..3bc1e9ed2 --- /dev/null +++ b/PSSailpoint/v2024/docs/ProvisioningPolicyDto.md @@ -0,0 +1,27 @@ +# ProvisioningPolicyDto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | the provisioning policy name | +**Description** | **String** | the description of the provisioning policy | [optional] +**UsageType** | [**UsageType**](UsageType.md) | | [optional] +**Fields** | [**FieldDetailsDto[]**](FieldDetailsDto.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$ProvisioningPolicyDto = Initialize-PSSailpointV2024ProvisioningPolicyDto -Name example provisioning policy for inactive identities ` + -Description this provisioning policy creates access based on an identity going inactive ` + -UsageType null ` + -Fields null +``` + +- Convert the resource to JSON +```powershell +$ProvisioningPolicyDto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ProvisioningState.md b/PSSailpoint/v2024/docs/ProvisioningState.md new file mode 100644 index 000000000..1a249c7c8 --- /dev/null +++ b/PSSailpoint/v2024/docs/ProvisioningState.md @@ -0,0 +1,20 @@ +# ProvisioningState +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$ProvisioningState = Initialize-PSSailpointV2024ProvisioningState +``` + +- Convert the resource to JSON +```powershell +$ProvisioningState | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/PublicIdentity.md b/PSSailpoint/v2024/docs/PublicIdentity.md new file mode 100644 index 000000000..ed5df567a --- /dev/null +++ b/PSSailpoint/v2024/docs/PublicIdentity.md @@ -0,0 +1,35 @@ +# PublicIdentity +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Identity id | [optional] +**Name** | **String** | Human-readable display name of identity. | [optional] +**Alias** | **String** | Alternate unique identifier for the identity. | [optional] +**Email** | **String** | Email address of identity. | [optional] +**Status** | **String** | The lifecycle status for the identity | [optional] +**IdentityState** | **String** | The current state of the identity, which determines how Identity Security Cloud interacts with the identity. An identity that is Active will be included identity picklists in Request Center, identity processing, and more. Identities that are Inactive will be excluded from these features. | [optional] +**Manager** | [**IdentityReference**](IdentityReference.md) | | [optional] +**Attributes** | [**IdentityAttribute2[]**](IdentityAttribute2.md) | The public identity attributes of the identity | [optional] + +## Examples + +- Prepare the resource +```powershell +$PublicIdentity = Initialize-PSSailpointV2024PublicIdentity -Id 2c9180857182305e0171993735622948 ` + -Name Alison Ferguso ` + -Alias alison.ferguso ` + -Email alison.ferguso@acme-solar.com ` + -Status Active ` + -IdentityState ACTIVE ` + -Manager null ` + -Attributes null +``` + +- Convert the resource to JSON +```powershell +$PublicIdentity | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/PublicIdentityAttributeConfig.md b/PSSailpoint/v2024/docs/PublicIdentityAttributeConfig.md new file mode 100644 index 000000000..aaec15ab9 --- /dev/null +++ b/PSSailpoint/v2024/docs/PublicIdentityAttributeConfig.md @@ -0,0 +1,23 @@ +# PublicIdentityAttributeConfig +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Key** | **String** | The attribute key | [optional] +**Name** | **String** | The attribute display name | [optional] + +## Examples + +- Prepare the resource +```powershell +$PublicIdentityAttributeConfig = Initialize-PSSailpointV2024PublicIdentityAttributeConfig -Key country ` + -Name Country +``` + +- Convert the resource to JSON +```powershell +$PublicIdentityAttributeConfig | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/PublicIdentityConfig.md b/PSSailpoint/v2024/docs/PublicIdentityConfig.md new file mode 100644 index 000000000..17e41e2c3 --- /dev/null +++ b/PSSailpoint/v2024/docs/PublicIdentityConfig.md @@ -0,0 +1,25 @@ +# PublicIdentityConfig +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Attributes** | [**PublicIdentityAttributeConfig[]**](PublicIdentityAttributeConfig.md) | Up to 5 identity attributes that will be available to everyone in the org for all users in the org. | [optional] +**Modified** | **System.DateTime** | When this configuration was last modified. | [optional] +**ModifiedBy** | [**IdentityReference**](IdentityReference.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$PublicIdentityConfig = Initialize-PSSailpointV2024PublicIdentityConfig -Attributes null ` + -Modified 2018-06-25T20:22:28.104Z ` + -ModifiedBy null +``` + +- Convert the resource to JSON +```powershell +$PublicIdentityConfig | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/PutCorrelationConfigRequest.md b/PSSailpoint/v2024/docs/PutCorrelationConfigRequest.md new file mode 100644 index 000000000..8f648d291 --- /dev/null +++ b/PSSailpoint/v2024/docs/PutCorrelationConfigRequest.md @@ -0,0 +1,21 @@ +# PutCorrelationConfigRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**File** | **System.IO.FileInfo** | connector correlation config xml file | + +## Examples + +- Prepare the resource +```powershell +$PutCorrelationConfigRequest = Initialize-PSSailpointV2024PutCorrelationConfigRequest -File null +``` + +- Convert the resource to JSON +```powershell +$PutCorrelationConfigRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/PutPasswordDictionaryRequest.md b/PSSailpoint/v2024/docs/PutPasswordDictionaryRequest.md new file mode 100644 index 000000000..4ca3e2ab5 --- /dev/null +++ b/PSSailpoint/v2024/docs/PutPasswordDictionaryRequest.md @@ -0,0 +1,21 @@ +# PutPasswordDictionaryRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**File** | **System.IO.FileInfo** | | [optional] + +## Examples + +- Prepare the resource +```powershell +$PutPasswordDictionaryRequest = Initialize-PSSailpointV2024PutPasswordDictionaryRequest -File null +``` + +- Convert the resource to JSON +```powershell +$PutPasswordDictionaryRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/PutSourceConfigRequest.md b/PSSailpoint/v2024/docs/PutSourceConfigRequest.md new file mode 100644 index 000000000..334bafa8a --- /dev/null +++ b/PSSailpoint/v2024/docs/PutSourceConfigRequest.md @@ -0,0 +1,21 @@ +# PutSourceConfigRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**File** | **System.IO.FileInfo** | connector source config xml file | + +## Examples + +- Prepare the resource +```powershell +$PutSourceConfigRequest = Initialize-PSSailpointV2024PutSourceConfigRequest -File null +``` + +- Convert the resource to JSON +```powershell +$PutSourceConfigRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/PutSourceTemplateRequest.md b/PSSailpoint/v2024/docs/PutSourceTemplateRequest.md new file mode 100644 index 000000000..1a828966f --- /dev/null +++ b/PSSailpoint/v2024/docs/PutSourceTemplateRequest.md @@ -0,0 +1,21 @@ +# PutSourceTemplateRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**File** | **System.IO.FileInfo** | connector source template xml file | + +## Examples + +- Prepare the resource +```powershell +$PutSourceTemplateRequest = Initialize-PSSailpointV2024PutSourceTemplateRequest -File null +``` + +- Convert the resource to JSON +```powershell +$PutSourceTemplateRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Query.md b/PSSailpoint/v2024/docs/Query.md new file mode 100644 index 000000000..fd012ba1e --- /dev/null +++ b/PSSailpoint/v2024/docs/Query.md @@ -0,0 +1,27 @@ +# Query +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Query** | **String** | The query using the Elasticsearch [Query String Query](https://www.elastic.co/guide/en/elasticsearch/reference/5.2/query-dsl-query-string-query.html#query-string) syntax from the Query DSL extended by SailPoint to support Nested queries. | [optional] +**Fields** | **String** | The fields the query will be applied to. Fields provide you with a simple way to add additional fields to search, without making the query too complicated. For example, you can use the fields to specify that you want your query of ""a*"" to be applied to ""name"", ""firstName"", and the ""source.name"". The response will include all results matching the ""a*"" query found in those three fields. A field's availability depends on the indices being searched. For example, if you are searching ""identities"", you can apply your search to the ""firstName"" field, but you couldn't use ""firstName"" with a search on ""access profiles"". Refer to the response schema for the respective lists of available fields. | [optional] +**TimeZone** | **String** | The time zone to be applied to any range query related to dates. | [optional] +**InnerHit** | [**InnerHit**](InnerHit.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$Query = Initialize-PSSailpointV2024Query -Query name:a* ` + -Fields [firstName,lastName,email] ` + -TimeZone America/Chicago ` + -InnerHit null +``` + +- Convert the resource to JSON +```powershell +$Query | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/QueryResultFilter.md b/PSSailpoint/v2024/docs/QueryResultFilter.md new file mode 100644 index 000000000..487d074a7 --- /dev/null +++ b/PSSailpoint/v2024/docs/QueryResultFilter.md @@ -0,0 +1,23 @@ +# QueryResultFilter +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Includes** | **String[]** | The list of field names to include in the result documents. | [optional] +**Excludes** | **String[]** | The list of field names to exclude from the result documents. | [optional] + +## Examples + +- Prepare the resource +```powershell +$QueryResultFilter = Initialize-PSSailpointV2024QueryResultFilter -Includes [name, displayName] ` + -Excludes [stacktrace] +``` + +- Convert the resource to JSON +```powershell +$QueryResultFilter | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/QueryType.md b/PSSailpoint/v2024/docs/QueryType.md new file mode 100644 index 000000000..b874ab1c4 --- /dev/null +++ b/PSSailpoint/v2024/docs/QueryType.md @@ -0,0 +1,20 @@ +# QueryType +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$QueryType = Initialize-PSSailpointV2024QueryType +``` + +- Convert the resource to JSON +```powershell +$QueryType | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/QueuedCheckConfigDetails.md b/PSSailpoint/v2024/docs/QueuedCheckConfigDetails.md new file mode 100644 index 000000000..163925c17 --- /dev/null +++ b/PSSailpoint/v2024/docs/QueuedCheckConfigDetails.md @@ -0,0 +1,23 @@ +# QueuedCheckConfigDetails +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ProvisioningStatusCheckIntervalMinutes** | **String** | interval in minutes between status checks | +**ProvisioningMaxStatusCheckDays** | **String** | maximum number of days to check | + +## Examples + +- Prepare the resource +```powershell +$QueuedCheckConfigDetails = Initialize-PSSailpointV2024QueuedCheckConfigDetails -ProvisioningStatusCheckIntervalMinutes 30 ` + -ProvisioningMaxStatusCheckDays 2 +``` + +- Convert the resource to JSON +```powershell +$QueuedCheckConfigDetails | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RandomAlphaNumeric.md b/PSSailpoint/v2024/docs/RandomAlphaNumeric.md new file mode 100644 index 000000000..8d3d338cb --- /dev/null +++ b/PSSailpoint/v2024/docs/RandomAlphaNumeric.md @@ -0,0 +1,25 @@ +# RandomAlphaNumeric +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Length** | **String** | This is an integer value specifying the size/number of characters the random string must contain * This value must be a positive number and cannot be blank * If no length is provided, the transform will default to a value of `32` * Due to identity attribute data constraints, the maximum allowable value is `450` characters | [optional] +**RequiresPeriodicRefresh** | **Boolean** | A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process | [optional] [default to $false] +**VarInput** | [**System.Collections.Hashtable**](AnyType.md) | This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI. | [optional] + +## Examples + +- Prepare the resource +```powershell +$RandomAlphaNumeric = Initialize-PSSailpointV2024RandomAlphaNumeric -Length 10 ` + -RequiresPeriodicRefresh false ` + -VarInput {type=accountAttribute, attributes={attributeName=first_name, sourceName=Source}} +``` + +- Convert the resource to JSON +```powershell +$RandomAlphaNumeric | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RandomNumeric.md b/PSSailpoint/v2024/docs/RandomNumeric.md new file mode 100644 index 000000000..a4b6a75cf --- /dev/null +++ b/PSSailpoint/v2024/docs/RandomNumeric.md @@ -0,0 +1,25 @@ +# RandomNumeric +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Length** | **String** | This is an integer value specifying the size/number of characters the random string must contain * This value must be a positive number and cannot be blank * If no length is provided, the transform will default to a value of `32` * Due to identity attribute data constraints, the maximum allowable value is `450` characters | [optional] +**RequiresPeriodicRefresh** | **Boolean** | A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process | [optional] [default to $false] +**VarInput** | [**System.Collections.Hashtable**](AnyType.md) | This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI. | [optional] + +## Examples + +- Prepare the resource +```powershell +$RandomNumeric = Initialize-PSSailpointV2024RandomNumeric -Length 10 ` + -RequiresPeriodicRefresh false ` + -VarInput {type=accountAttribute, attributes={attributeName=first_name, sourceName=Source}} +``` + +- Convert the resource to JSON +```powershell +$RandomNumeric | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Range.md b/PSSailpoint/v2024/docs/Range.md new file mode 100644 index 000000000..38575ceb0 --- /dev/null +++ b/PSSailpoint/v2024/docs/Range.md @@ -0,0 +1,23 @@ +# Range +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Lower** | [**Bound**](Bound.md) | | [optional] +**Upper** | [**Bound**](Bound.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$Range = Initialize-PSSailpointV2024Range -Lower null ` + -Upper null +``` + +- Convert the resource to JSON +```powershell +$Range | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ReassignReference.md b/PSSailpoint/v2024/docs/ReassignReference.md new file mode 100644 index 000000000..cb16cba06 --- /dev/null +++ b/PSSailpoint/v2024/docs/ReassignReference.md @@ -0,0 +1,23 @@ +# ReassignReference +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The ID of item or identity being reassigned. | +**Type** | **String** | The type of item or identity being reassigned. | + +## Examples + +- Prepare the resource +```powershell +$ReassignReference = Initialize-PSSailpointV2024ReassignReference -Id ef38f94347e94562b5bb8424a56397d8 ` + -Type ITEM +``` + +- Convert the resource to JSON +```powershell +$ReassignReference | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Reassignment.md b/PSSailpoint/v2024/docs/Reassignment.md new file mode 100644 index 000000000..7f052d32c --- /dev/null +++ b/PSSailpoint/v2024/docs/Reassignment.md @@ -0,0 +1,23 @@ +# Reassignment +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**VarFrom** | [**CertificationReference**](CertificationReference.md) | | [optional] +**Comment** | **String** | The comment entered when the Certification was reassigned | [optional] + +## Examples + +- Prepare the resource +```powershell +$Reassignment = Initialize-PSSailpointV2024Reassignment -VarFrom null ` + -Comment Reassigned for a reason +``` + +- Convert the resource to JSON +```powershell +$Reassignment | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Reassignment1.md b/PSSailpoint/v2024/docs/Reassignment1.md new file mode 100644 index 000000000..6ea669e1f --- /dev/null +++ b/PSSailpoint/v2024/docs/Reassignment1.md @@ -0,0 +1,23 @@ +# Reassignment1 +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**VarFrom** | [**CertificationReference1**](CertificationReference1.md) | | [optional] +**Comment** | **String** | Comments from the previous reviewer. | [optional] + +## Examples + +- Prepare the resource +```powershell +$Reassignment1 = Initialize-PSSailpointV2024Reassignment1 -VarFrom null ` + -Comment Please review +``` + +- Convert the resource to JSON +```powershell +$Reassignment1 | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ReassignmentReference.md b/PSSailpoint/v2024/docs/ReassignmentReference.md new file mode 100644 index 000000000..1107b3cba --- /dev/null +++ b/PSSailpoint/v2024/docs/ReassignmentReference.md @@ -0,0 +1,23 @@ +# ReassignmentReference +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The ID of item or identity being reassigned. | +**Type** | **String** | The type of item or identity being reassigned. | + +## Examples + +- Prepare the resource +```powershell +$ReassignmentReference = Initialize-PSSailpointV2024ReassignmentReference -Id ef38f94347e94562b5bb8424a56397d8 ` + -Type ITEM +``` + +- Convert the resource to JSON +```powershell +$ReassignmentReference | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ReassignmentTrailDTO.md b/PSSailpoint/v2024/docs/ReassignmentTrailDTO.md new file mode 100644 index 000000000..2ac642974 --- /dev/null +++ b/PSSailpoint/v2024/docs/ReassignmentTrailDTO.md @@ -0,0 +1,25 @@ +# ReassignmentTrailDTO +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**PreviousOwner** | **String** | The ID of previous owner identity. | [optional] +**NewOwner** | **String** | The ID of new owner identity. | [optional] +**ReassignmentType** | **String** | The type of reassignment. | [optional] + +## Examples + +- Prepare the resource +```powershell +$ReassignmentTrailDTO = Initialize-PSSailpointV2024ReassignmentTrailDTO -PreviousOwner ef38f94347e94562b5bb8424a56397d8 ` + -NewOwner ef38f94347e94562b5bb8424a56397a3 ` + -ReassignmentType AUTOMATIC_REASSIGNMENT +``` + +- Convert the resource to JSON +```powershell +$ReassignmentTrailDTO | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ReassignmentType.md b/PSSailpoint/v2024/docs/ReassignmentType.md new file mode 100644 index 000000000..55b9a0799 --- /dev/null +++ b/PSSailpoint/v2024/docs/ReassignmentType.md @@ -0,0 +1,20 @@ +# ReassignmentType +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$ReassignmentType = Initialize-PSSailpointV2024ReassignmentType +``` + +- Convert the resource to JSON +```powershell +$ReassignmentType | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ReassignmentTypeEnum.md b/PSSailpoint/v2024/docs/ReassignmentTypeEnum.md new file mode 100644 index 000000000..04235a171 --- /dev/null +++ b/PSSailpoint/v2024/docs/ReassignmentTypeEnum.md @@ -0,0 +1,20 @@ +# ReassignmentTypeEnum +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$ReassignmentTypeEnum = Initialize-PSSailpointV2024ReassignmentTypeEnum +``` + +- Convert the resource to JSON +```powershell +$ReassignmentTypeEnum | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RecommendationConfigDto.md b/PSSailpoint/v2024/docs/RecommendationConfigDto.md new file mode 100644 index 000000000..f1853e957 --- /dev/null +++ b/PSSailpoint/v2024/docs/RecommendationConfigDto.md @@ -0,0 +1,27 @@ +# RecommendationConfigDto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**RecommenderFeatures** | **String[]** | List of identity attributes to use for calculating certification recommendations | [optional] +**PeerGroupPercentageThreshold** | **Double** | The percent value that the recommendation calculation must surpass to produce a YES recommendation | [optional] +**RunAutoSelectOnce** | **Boolean** | If true, rulesRecommenderConfig will be refreshed with new programatically selected attribute and threshold values on the next pipeline run | [optional] [default to $false] +**OnlyTuneThreshold** | **Boolean** | If true, rulesRecommenderConfig will be refreshed with new programatically selected threshold values on the next pipeline run | [optional] [default to $false] + +## Examples + +- Prepare the resource +```powershell +$RecommendationConfigDto = Initialize-PSSailpointV2024RecommendationConfigDto -RecommenderFeatures [jobTitle, location, peer_group, department, active] ` + -PeerGroupPercentageThreshold 0.5 ` + -RunAutoSelectOnce false ` + -OnlyTuneThreshold false +``` + +- Convert the resource to JSON +```powershell +$RecommendationConfigDto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RecommendationRequest.md b/PSSailpoint/v2024/docs/RecommendationRequest.md new file mode 100644 index 000000000..418ecbeb3 --- /dev/null +++ b/PSSailpoint/v2024/docs/RecommendationRequest.md @@ -0,0 +1,23 @@ +# RecommendationRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**IdentityId** | **String** | The identity ID | [optional] +**Item** | [**AccessItemRef**](AccessItemRef.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$RecommendationRequest = Initialize-PSSailpointV2024RecommendationRequest -IdentityId 2c938083633d259901633d25c68c00fa ` + -Item null +``` + +- Convert the resource to JSON +```powershell +$RecommendationRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RecommendationRequestDto.md b/PSSailpoint/v2024/docs/RecommendationRequestDto.md new file mode 100644 index 000000000..82bbd4d78 --- /dev/null +++ b/PSSailpoint/v2024/docs/RecommendationRequestDto.md @@ -0,0 +1,29 @@ +# RecommendationRequestDto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Requests** | [**RecommendationRequest[]**](RecommendationRequest.md) | | [optional] +**ExcludeInterpretations** | **Boolean** | Exclude interpretations in the response if ""true"". Return interpretations in the response if this attribute is not specified. | [optional] [default to $false] +**IncludeTranslationMessages** | **Boolean** | When set to true, the calling system uses the translated messages for the specified language | [optional] [default to $false] +**IncludeDebugInformation** | **Boolean** | Returns the recommender calculations if set to true | [optional] [default to $false] +**PrescribeMode** | **Boolean** | When set to true, uses prescribedRulesRecommenderConfig to get identity attributes and peer group threshold instead of standard config. | [optional] [default to $false] + +## Examples + +- Prepare the resource +```powershell +$RecommendationRequestDto = Initialize-PSSailpointV2024RecommendationRequestDto -Requests null ` + -ExcludeInterpretations false ` + -IncludeTranslationMessages false ` + -IncludeDebugInformation true ` + -PrescribeMode false +``` + +- Convert the resource to JSON +```powershell +$RecommendationRequestDto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RecommendationResponse.md b/PSSailpoint/v2024/docs/RecommendationResponse.md new file mode 100644 index 000000000..2850da0bb --- /dev/null +++ b/PSSailpoint/v2024/docs/RecommendationResponse.md @@ -0,0 +1,29 @@ +# RecommendationResponse +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Request** | [**RecommendationRequest**](RecommendationRequest.md) | | [optional] +**Recommendation** | **String** | The recommendation - YES if the access is recommended, NO if not recommended, MAYBE if there is not enough information to make a recommendation, NOT_FOUND if the identity is not found in the system | [optional] +**Interpretations** | **String[]** | The list of interpretations explaining the recommendation. The array is empty if includeInterpretations is false or not present in the request. e.g. - [ ""Not approved in the last 6 months."" ]. Interpretations will be translated using the client's locale as found in the Accept-Language header. If a translation for the client's locale cannot be found, the US English translation will be returned. | [optional] +**TranslationMessages** | [**TranslationMessage[]**](TranslationMessage.md) | The list of translation messages, if they have been requested. | [optional] +**RecommenderCalculations** | [**RecommenderCalculations**](RecommenderCalculations.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$RecommendationResponse = Initialize-PSSailpointV2024RecommendationResponse -Request null ` + -Recommendation true ` + -Interpretations [75% of identities with the same department have this access. This information had a high impact on the overall score., 67% of identities with the same peer group have this access. This information had a low impact on the overall score., 42% of identities with the same location have this access. This information had a low impact on the overall score.] ` + -TranslationMessages [{key=recommender-api.V2_WEIGHT_FEATURE_PRODUCT_INTERPRETATION_HIGH, values=[75, department]}] ` + -RecommenderCalculations null +``` + +- Convert the resource to JSON +```powershell +$RecommendationResponse | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RecommendationResponseDto.md b/PSSailpoint/v2024/docs/RecommendationResponseDto.md new file mode 100644 index 000000000..8640b30b0 --- /dev/null +++ b/PSSailpoint/v2024/docs/RecommendationResponseDto.md @@ -0,0 +1,21 @@ +# RecommendationResponseDto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Response** | [**RecommendationResponse[]**](RecommendationResponse.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$RecommendationResponseDto = Initialize-PSSailpointV2024RecommendationResponseDto -Response null +``` + +- Convert the resource to JSON +```powershell +$RecommendationResponseDto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RecommenderCalculations.md b/PSSailpoint/v2024/docs/RecommenderCalculations.md new file mode 100644 index 000000000..a5d7aef14 --- /dev/null +++ b/PSSailpoint/v2024/docs/RecommenderCalculations.md @@ -0,0 +1,35 @@ +# RecommenderCalculations +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**IdentityId** | **String** | The ID of the identity | [optional] +**EntitlementId** | **String** | The entitlement ID | [optional] +**Recommendation** | **String** | The actual recommendation | [optional] +**OverallWeightedScore** | **Decimal** | The overall weighted score | [optional] +**FeatureWeightedScores** | **System.Collections.Hashtable** | The weighted score of each individual feature | [optional] +**Threshold** | **Decimal** | The configured value against which the overallWeightedScore is compared | [optional] +**IdentityAttributes** | [**System.Collections.Hashtable**](RecommenderCalculationsIdentityAttributesValue.md) | The values for your configured features | [optional] +**FeatureValues** | [**FeatureValueDto**](FeatureValueDto.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$RecommenderCalculations = Initialize-PSSailpointV2024RecommenderCalculations -IdentityId 2c91808457d8f3ab0157e3e62cb4213c ` + -EntitlementId 2c91809050db617d0150e0bf3215385e ` + -Recommendation YES ` + -OverallWeightedScore null ` + -FeatureWeightedScores null ` + -Threshold null ` + -IdentityAttributes null ` + -FeatureValues null +``` + +- Convert the resource to JSON +```powershell +$RecommenderCalculations | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RecommenderCalculationsIdentityAttributesValue.md b/PSSailpoint/v2024/docs/RecommenderCalculationsIdentityAttributesValue.md new file mode 100644 index 000000000..9c425a243 --- /dev/null +++ b/PSSailpoint/v2024/docs/RecommenderCalculationsIdentityAttributesValue.md @@ -0,0 +1,21 @@ +# RecommenderCalculationsIdentityAttributesValue +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Value** | **String** | | [optional] + +## Examples + +- Prepare the resource +```powershell +$RecommenderCalculationsIdentityAttributesValue = Initialize-PSSailpointV2024RecommenderCalculationsIdentityAttributesValue -Value null +``` + +- Convert the resource to JSON +```powershell +$RecommenderCalculationsIdentityAttributesValue | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Reference.md b/PSSailpoint/v2024/docs/Reference.md new file mode 100644 index 000000000..317f330f6 --- /dev/null +++ b/PSSailpoint/v2024/docs/Reference.md @@ -0,0 +1,25 @@ +# Reference +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | This ID specifies the name of the pre-existing transform which you want to use within your current transform | +**RequiresPeriodicRefresh** | **Boolean** | A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process | [optional] [default to $false] +**VarInput** | [**System.Collections.Hashtable**](AnyType.md) | This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI. | [optional] + +## Examples + +- Prepare the resource +```powershell +$Reference = Initialize-PSSailpointV2024Reference -Id Existing Transform ` + -RequiresPeriodicRefresh false ` + -VarInput {type=accountAttribute, attributes={attributeName=first_name, sourceName=Source}} +``` + +- Convert the resource to JSON +```powershell +$Reference | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Reference1.md b/PSSailpoint/v2024/docs/Reference1.md new file mode 100644 index 000000000..281c468de --- /dev/null +++ b/PSSailpoint/v2024/docs/Reference1.md @@ -0,0 +1,23 @@ +# Reference1 +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The unique ID of the referenced object. | [optional] +**Name** | **String** | The human readable name of the referenced object. | [optional] + +## Examples + +- Prepare the resource +```powershell +$Reference1 = Initialize-PSSailpointV2024Reference1 -Id 2c91808568c529c60168cca6f90c1313 ` + -Name John Doe +``` + +- Convert the resource to JSON +```powershell +$Reference1 | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RemediationItemDetails.md b/PSSailpoint/v2024/docs/RemediationItemDetails.md new file mode 100644 index 000000000..6418f09c3 --- /dev/null +++ b/PSSailpoint/v2024/docs/RemediationItemDetails.md @@ -0,0 +1,37 @@ +# RemediationItemDetails +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The ID of the certification | [optional] +**TargetId** | **String** | The ID of the certification target | [optional] +**TargetName** | **String** | The name of the certification target | [optional] +**TargetDisplayName** | **String** | The display name of the certification target | [optional] +**ApplicationName** | **String** | The name of the application/source | [optional] +**AttributeName** | **String** | The name of the attribute being certified | [optional] +**AttributeOperation** | **String** | The operation of the certification on the attribute | [optional] +**AttributeValue** | **String** | The value of the attribute being certified | [optional] +**NativeIdentity** | **String** | The native identity of the target | [optional] + +## Examples + +- Prepare the resource +```powershell +$RemediationItemDetails = Initialize-PSSailpointV2024RemediationItemDetails -Id 2c9180835d2e5168015d32f890ca1581 ` + -TargetId 2c9180835d2e5168015d32f890ca1581 ` + -TargetName john.smith ` + -TargetDisplayName emailAddress ` + -ApplicationName Active Directory ` + -AttributeName phoneNumber ` + -AttributeOperation update ` + -AttributeValue 512-555-1212 ` + -NativeIdentity jason.smith2 +``` + +- Convert the resource to JSON +```powershell +$RemediationItemDetails | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RemediationItems.md b/PSSailpoint/v2024/docs/RemediationItems.md new file mode 100644 index 000000000..930eb5216 --- /dev/null +++ b/PSSailpoint/v2024/docs/RemediationItems.md @@ -0,0 +1,37 @@ +# RemediationItems +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The ID of the certification | [optional] +**TargetId** | **String** | The ID of the certification target | [optional] +**TargetName** | **String** | The name of the certification target | [optional] +**TargetDisplayName** | **String** | The display name of the certification target | [optional] +**ApplicationName** | **String** | The name of the application/source | [optional] +**AttributeName** | **String** | The name of the attribute being certified | [optional] +**AttributeOperation** | **String** | The operation of the certification on the attribute | [optional] +**AttributeValue** | **String** | The value of the attribute being certified | [optional] +**NativeIdentity** | **String** | The native identity of the target | [optional] + +## Examples + +- Prepare the resource +```powershell +$RemediationItems = Initialize-PSSailpointV2024RemediationItems -Id 2c9180835d2e5168015d32f890ca1581 ` + -TargetId 2c9180835d2e5168015d32f890ca1581 ` + -TargetName john.smith ` + -TargetDisplayName emailAddress ` + -ApplicationName Active Directory ` + -AttributeName phoneNumber ` + -AttributeOperation update ` + -AttributeValue 512-555-1212 ` + -NativeIdentity jason.smith2 +``` + +- Convert the resource to JSON +```powershell +$RemediationItems | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Replace.md b/PSSailpoint/v2024/docs/Replace.md new file mode 100644 index 000000000..97f66ee21 --- /dev/null +++ b/PSSailpoint/v2024/docs/Replace.md @@ -0,0 +1,27 @@ +# Replace +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Regex** | **String** | This can be a string or a regex pattern in which you want to replace. | +**Replacement** | **String** | This is the replacement string that should be substituded wherever the string or pattern is found. | +**RequiresPeriodicRefresh** | **Boolean** | A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process | [optional] [default to $false] +**VarInput** | [**System.Collections.Hashtable**](AnyType.md) | This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI. | [optional] + +## Examples + +- Prepare the resource +```powershell +$Replace = Initialize-PSSailpointV2024Replace -Regex [^a-zA-Z] ` + -Replacement ` + -RequiresPeriodicRefresh false ` + -VarInput {type=accountAttribute, attributes={attributeName=first_name, sourceName=Source}} +``` + +- Convert the resource to JSON +```powershell +$Replace | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ReplaceAll.md b/PSSailpoint/v2024/docs/ReplaceAll.md new file mode 100644 index 000000000..666abeb18 --- /dev/null +++ b/PSSailpoint/v2024/docs/ReplaceAll.md @@ -0,0 +1,25 @@ +# ReplaceAll +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Table** | [**System.Collections.Hashtable**](AnyType.md) | An attribute of key-value pairs. Each pair identifies the pattern to search for as its key, and the replacement string as its value. | +**RequiresPeriodicRefresh** | **Boolean** | A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process | [optional] [default to $false] +**VarInput** | [**System.Collections.Hashtable**](AnyType.md) | This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI. | [optional] + +## Examples + +- Prepare the resource +```powershell +$ReplaceAll = Initialize-PSSailpointV2024ReplaceAll -Table {-= , "=', ñ=n} ` + -RequiresPeriodicRefresh false ` + -VarInput {type=accountAttribute, attributes={attributeName=first_name, sourceName=Source}} +``` + +- Convert the resource to JSON +```powershell +$ReplaceAll | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ReportConfigDTO.md b/PSSailpoint/v2024/docs/ReportConfigDTO.md new file mode 100644 index 000000000..12da924ad --- /dev/null +++ b/PSSailpoint/v2024/docs/ReportConfigDTO.md @@ -0,0 +1,27 @@ +# ReportConfigDTO +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ColumnName** | **String** | Name of column in report | [optional] +**Required** | **Boolean** | If true, column is required in all reports, and this entry is immutable. A 400 error will result from any attempt to modify the column's definition. | [optional] [default to $false] +**Included** | **Boolean** | If true, column is included in the report. A 400 error will be thrown if an attempt is made to set included=false if required==true. | [optional] [default to $false] +**Order** | **Int32** | Relative sort order for the column. Columns will be displayed left-to-right in nondecreasing order. | [optional] + +## Examples + +- Prepare the resource +```powershell +$ReportConfigDTO = Initialize-PSSailpointV2024ReportConfigDTO -ColumnName SOD Business Name ` + -Required true ` + -Included false ` + -Order 2 +``` + +- Convert the resource to JSON +```powershell +$ReportConfigDTO | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ReportDetails.md b/PSSailpoint/v2024/docs/ReportDetails.md new file mode 100644 index 000000000..363886d53 --- /dev/null +++ b/PSSailpoint/v2024/docs/ReportDetails.md @@ -0,0 +1,23 @@ +# ReportDetails +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ReportType** | **String** | Use this property to define what report should be processed in the RDE service. | [optional] +**Arguments** | [**ReportDetailsArguments**](ReportDetailsArguments.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$ReportDetails = Initialize-PSSailpointV2024ReportDetails -ReportType IDENTITIES_DETAILS ` + -Arguments null +``` + +- Convert the resource to JSON +```powershell +$ReportDetails | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ReportDetailsArguments.md b/PSSailpoint/v2024/docs/ReportDetailsArguments.md new file mode 100644 index 000000000..50fe5e0f5 --- /dev/null +++ b/PSSailpoint/v2024/docs/ReportDetailsArguments.md @@ -0,0 +1,39 @@ +# ReportDetailsArguments +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Application** | **String** | Id of the authoritative source to export related accounts e.g. identities | +**SourceName** | **String** | Name of the authoritative source for accounts export | +**CorrelatedOnly** | **Boolean** | Boolean FLAG to specify if only correlated identities should be used in report processing | [default to $false] +**AuthoritativeSource** | **String** | Source Id to be checked on errors of identity profiles aggregation | +**SelectedFormats** | **String[]** | Output report file formats. This are formats for calling get endpoint as a query parameter 'fileFormat'. In case report won't have this argument there will be ['CSV', 'PDF'] as default. | [optional] +**Indices** | [**Index[]**](Index.md) | The names of the Elasticsearch indices in which to search. If none are provided, then all indices will be searched. | [optional] +**Filters** | [**System.Collections.Hashtable**](ModelFilter.md) | The filters to be applied for each filtered field name. | [optional] +**Query** | [**Query**](Query.md) | | +**IncludeNested** | **Boolean** | Indicates whether nested objects from returned search results should be included. | [optional] [default to $true] +**Sort** | **String[]** | The fields to be used to sort the search results. Use + or - to specify the sort direction. | [optional] + +## Examples + +- Prepare the resource +```powershell +$ReportDetailsArguments = Initialize-PSSailpointV2024ReportDetailsArguments -Application 2c9180897eSourceIde781782f705b9 ` + -SourceName DataScienceSourceName ` + -CorrelatedOnly true ` + -AuthoritativeSource 1234sourceId5678902 ` + -SelectedFormats [CSV] ` + -Indices [entitlements] ` + -Filters {source.id={type=TERMS, terms=[2c9180897termsId780bd2920576]}, source.name.exact={type=TERMS, terms=[IdentityNow], exclude=true}} ` + -Query null ` + -IncludeNested true ` + -Sort [displayName, +id] +``` + +- Convert the resource to JSON +```powershell +$ReportDetailsArguments | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ReportResultReference.md b/PSSailpoint/v2024/docs/ReportResultReference.md new file mode 100644 index 000000000..48e774bda --- /dev/null +++ b/PSSailpoint/v2024/docs/ReportResultReference.md @@ -0,0 +1,27 @@ +# ReportResultReference +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | SOD policy violation report result DTO type. | [optional] +**Id** | **String** | SOD policy violation report result ID. | [optional] +**Name** | **String** | Human-readable name of the SOD policy violation report result. | [optional] +**Status** | **String** | Status of a SOD policy violation report. | [optional] + +## Examples + +- Prepare the resource +```powershell +$ReportResultReference = Initialize-PSSailpointV2024ReportResultReference -Type REPORT_RESULT ` + -Id 2c9180835d191a86015d28455b4b232a ` + -Name SOD Policy 1 Violation ` + -Status PENDING +``` + +- Convert the resource to JSON +```powershell +$ReportResultReference | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ReportResults.md b/PSSailpoint/v2024/docs/ReportResults.md new file mode 100644 index 000000000..4ec4b733b --- /dev/null +++ b/PSSailpoint/v2024/docs/ReportResults.md @@ -0,0 +1,35 @@ +# ReportResults +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ReportType** | **String** | Use this property to define what report should be processed in the RDE service. | [optional] +**TaskDefName** | **String** | Name of the task definition which is started to process requesting report. Usually the same as report name | [optional] +**Id** | **String** | Unique task definition identifier. | [optional] +**Created** | **System.DateTime** | Report processing start date | [optional] +**Status** | **String** | Report current state or result status. | [optional] +**Duration** | **Int64** | Report processing time in ms. | [optional] +**Rows** | **Int64** | Report size in rows. | [optional] +**AvailableFormats** | **String[]** | Output report file formats. This are formats for calling get endpoint as a query parameter 'fileFormat'. In case report won't have this argument there will be ['CSV', 'PDF'] as default. | [optional] + +## Examples + +- Prepare the resource +```powershell +$ReportResults = Initialize-PSSailpointV2024ReportResults -ReportType IDENTITIES_DETAILS ` + -TaskDefName Identities Details Report ` + -Id a248c16fe22222b2bd49615481311111 ` + -Created null ` + -Status SUCCESS ` + -Duration 342 ` + -Rows 37 ` + -AvailableFormats [CSV] +``` + +- Convert the resource to JSON +```powershell +$ReportResults | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ReportType.md b/PSSailpoint/v2024/docs/ReportType.md new file mode 100644 index 000000000..359df775d --- /dev/null +++ b/PSSailpoint/v2024/docs/ReportType.md @@ -0,0 +1,20 @@ +# ReportType +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$ReportType = Initialize-PSSailpointV2024ReportType +``` + +- Convert the resource to JSON +```powershell +$ReportType | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RequestOnBehalfOfConfig.md b/PSSailpoint/v2024/docs/RequestOnBehalfOfConfig.md new file mode 100644 index 000000000..66bb1abb4 --- /dev/null +++ b/PSSailpoint/v2024/docs/RequestOnBehalfOfConfig.md @@ -0,0 +1,23 @@ +# RequestOnBehalfOfConfig +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AllowRequestOnBehalfOfAnyoneByAnyone** | **Boolean** | If this is true, anyone can request access for anyone. | [optional] [default to $false] +**AllowRequestOnBehalfOfEmployeeByManager** | **Boolean** | If this is true, a manager can request access for his or her direct reports. | [optional] [default to $false] + +## Examples + +- Prepare the resource +```powershell +$RequestOnBehalfOfConfig = Initialize-PSSailpointV2024RequestOnBehalfOfConfig -AllowRequestOnBehalfOfAnyoneByAnyone true ` + -AllowRequestOnBehalfOfEmployeeByManager true +``` + +- Convert the resource to JSON +```powershell +$RequestOnBehalfOfConfig | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Requestability.md b/PSSailpoint/v2024/docs/Requestability.md new file mode 100644 index 000000000..f9b211a37 --- /dev/null +++ b/PSSailpoint/v2024/docs/Requestability.md @@ -0,0 +1,25 @@ +# Requestability +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**CommentsRequired** | **Boolean** | Whether the requester of the containing object must provide comments justifying the request | [optional] [default to $false] +**DenialCommentsRequired** | **Boolean** | Whether an approver must provide comments when denying the request | [optional] [default to $false] +**ApprovalSchemes** | [**AccessProfileApprovalScheme[]**](AccessProfileApprovalScheme.md) | List describing the steps in approving the request | [optional] + +## Examples + +- Prepare the resource +```powershell +$Requestability = Initialize-PSSailpointV2024Requestability -CommentsRequired true ` + -DenialCommentsRequired true ` + -ApprovalSchemes null +``` + +- Convert the resource to JSON +```powershell +$Requestability | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RequestabilityForRole.md b/PSSailpoint/v2024/docs/RequestabilityForRole.md new file mode 100644 index 000000000..dbf59c226 --- /dev/null +++ b/PSSailpoint/v2024/docs/RequestabilityForRole.md @@ -0,0 +1,25 @@ +# RequestabilityForRole +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**CommentsRequired** | **Boolean** | Whether the requester of the containing object must provide comments justifying the request | [optional] [default to $false] +**DenialCommentsRequired** | **Boolean** | Whether an approver must provide comments when denying the request | [optional] [default to $false] +**ApprovalSchemes** | [**ApprovalSchemeForRole[]**](ApprovalSchemeForRole.md) | List describing the steps in approving the request | [optional] + +## Examples + +- Prepare the resource +```powershell +$RequestabilityForRole = Initialize-PSSailpointV2024RequestabilityForRole -CommentsRequired true ` + -DenialCommentsRequired true ` + -ApprovalSchemes null +``` + +- Convert the resource to JSON +```powershell +$RequestabilityForRole | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RequestableObject.md b/PSSailpoint/v2024/docs/RequestableObject.md new file mode 100644 index 000000000..4118076aa --- /dev/null +++ b/PSSailpoint/v2024/docs/RequestableObject.md @@ -0,0 +1,39 @@ +# RequestableObject +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Id of the requestable object itself | [optional] +**Name** | **String** | Human-readable display name of the requestable object | [optional] +**Created** | **System.DateTime** | The time when the requestable object was created | [optional] +**Modified** | **System.DateTime** | The time when the requestable object was last modified | [optional] +**Description** | **String** | Description of the requestable object. | [optional] +**Type** | [**RequestableObjectType**](RequestableObjectType.md) | | [optional] +**RequestStatus** | [**RequestableObjectRequestStatus**](RequestableObjectRequestStatus.md) | | [optional] +**IdentityRequestId** | **String** | If *requestStatus* is *PENDING*, indicates the id of the associated account activity. | [optional] +**OwnerRef** | [**IdentityReferenceWithNameAndEmail**](IdentityReferenceWithNameAndEmail.md) | | [optional] +**RequestCommentsRequired** | **Boolean** | Whether the requester must provide comments when requesting the object. | [optional] + +## Examples + +- Prepare the resource +```powershell +$RequestableObject = Initialize-PSSailpointV2024RequestableObject -Id 2c9180835d2e5168015d32f890ca1581 ` + -Name Applied Research Access ` + -Created 2017-07-11T18:45:37.098Z ` + -Modified 2018-06-25T20:22:28.104Z ` + -Description Access to research information, lab results, and schematics. ` + -Type null ` + -RequestStatus null ` + -IdentityRequestId null ` + -OwnerRef null ` + -RequestCommentsRequired false +``` + +- Convert the resource to JSON +```powershell +$RequestableObject | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RequestableObjectReference.md b/PSSailpoint/v2024/docs/RequestableObjectReference.md new file mode 100644 index 000000000..ba2b8ba74 --- /dev/null +++ b/PSSailpoint/v2024/docs/RequestableObjectReference.md @@ -0,0 +1,27 @@ +# RequestableObjectReference +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Id of the object. | [optional] +**Name** | **String** | Name of the object. | [optional] +**Description** | **String** | Description of the object. | [optional] +**Type** | **String** | Type of the object. | [optional] + +## Examples + +- Prepare the resource +```powershell +$RequestableObjectReference = Initialize-PSSailpointV2024RequestableObjectReference -Id 2c9180835d2e5168015d32f890ca1581 ` + -Name Applied Research Access ` + -Description Access to research information, lab results, and schematics ` + -Type ROLE +``` + +- Convert the resource to JSON +```powershell +$RequestableObjectReference | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RequestableObjectRequestStatus.md b/PSSailpoint/v2024/docs/RequestableObjectRequestStatus.md new file mode 100644 index 000000000..dd23b31f7 --- /dev/null +++ b/PSSailpoint/v2024/docs/RequestableObjectRequestStatus.md @@ -0,0 +1,20 @@ +# RequestableObjectRequestStatus +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$RequestableObjectRequestStatus = Initialize-PSSailpointV2024RequestableObjectRequestStatus +``` + +- Convert the resource to JSON +```powershell +$RequestableObjectRequestStatus | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RequestableObjectType.md b/PSSailpoint/v2024/docs/RequestableObjectType.md new file mode 100644 index 000000000..1bb1b9724 --- /dev/null +++ b/PSSailpoint/v2024/docs/RequestableObjectType.md @@ -0,0 +1,20 @@ +# RequestableObjectType +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$RequestableObjectType = Initialize-PSSailpointV2024RequestableObjectType +``` + +- Convert the resource to JSON +```powershell +$RequestableObjectType | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RequestedItemStatus.md b/PSSailpoint/v2024/docs/RequestedItemStatus.md new file mode 100644 index 000000000..c9c26f4e6 --- /dev/null +++ b/PSSailpoint/v2024/docs/RequestedItemStatus.md @@ -0,0 +1,65 @@ +# RequestedItemStatus +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | Human-readable display name of the item being requested. | [optional] +**Type** | **String** | Type of requested object. | [optional] +**CancelledRequestDetails** | [**RequestedItemStatusCancelledRequestDetails**](RequestedItemStatusCancelledRequestDetails.md) | | [optional] +**ErrorMessages** | [**Array[]**](Array.md) | List of list of localized error messages, if any, encountered during the approval/provisioning process. | [optional] +**State** | [**RequestedItemStatusRequestState**](RequestedItemStatusRequestState.md) | | [optional] +**ApprovalDetails** | [**ApprovalStatusDto[]**](ApprovalStatusDto.md) | Approval details for each item. | [optional] +**ManualWorkItemDetails** | [**ManualWorkItemDetails[]**](ManualWorkItemDetails.md) | Manual work items created for provisioning the item. | [optional] +**AccountActivityItemId** | **String** | Id of associated account activity item. | [optional] +**RequestType** | [**AccessRequestType**](AccessRequestType.md) | | [optional] +**Modified** | **System.DateTime** | When the request was last modified. | [optional] +**Created** | **System.DateTime** | When the request was created. | [optional] +**Requester** | [**AccessItemRequester**](AccessItemRequester.md) | | [optional] +**RequestedFor** | [**RequestedItemStatusRequestedFor**](RequestedItemStatusRequestedFor.md) | | [optional] +**RequesterComment** | [**RequestedItemStatusRequesterComment**](RequestedItemStatusRequesterComment.md) | | [optional] +**SodViolationContext** | [**RequestedItemStatusSodViolationContext**](RequestedItemStatusSodViolationContext.md) | | [optional] +**ProvisioningDetails** | [**RequestedItemStatusProvisioningDetails**](RequestedItemStatusProvisioningDetails.md) | | [optional] +**PreApprovalTriggerDetails** | [**RequestedItemStatusPreApprovalTriggerDetails**](RequestedItemStatusPreApprovalTriggerDetails.md) | | [optional] +**AccessRequestPhases** | [**AccessRequestPhases[]**](AccessRequestPhases.md) | A list of Phases that the Access Request has gone through in order, to help determine the status of the request. | [optional] +**Description** | **String** | Description associated to the requested object. | [optional] +**RemoveDate** | **System.DateTime** | When the role access is scheduled for removal. | [optional] +**Cancelable** | **Boolean** | True if the request can be canceled. | [optional] [default to $false] +**AccessRequestId** | **String** | This is the account activity id. | [optional] +**ClientMetadata** | **System.Collections.Hashtable** | Arbitrary key-value pairs, if any were included in the corresponding access request | [optional] + +## Examples + +- Prepare the resource +```powershell +$RequestedItemStatus = Initialize-PSSailpointV2024RequestedItemStatus -Name AccessProfile1 ` + -Type ACCESS_PROFILE ` + -CancelledRequestDetails null ` + -ErrorMessages null ` + -State null ` + -ApprovalDetails null ` + -ManualWorkItemDetails null ` + -AccountActivityItemId 2c9180926cbfbddd016cbfc7c3b10010 ` + -RequestType null ` + -Modified 2019-08-23T18:52:59.162Z ` + -Created 2019-08-23T18:40:35.772Z ` + -Requester null ` + -RequestedFor null ` + -RequesterComment null ` + -SodViolationContext null ` + -ProvisioningDetails null ` + -PreApprovalTriggerDetails null ` + -AccessRequestPhases null ` + -Description This is the Engineering role that engineers are granted. ` + -RemoveDate 2019-10-23T00:00Z ` + -Cancelable true ` + -AccessRequestId 2b838de9-db9b-abcf-e646-d4f274ad4238 ` + -ClientMetadata {key1=value1, key2=value2} +``` + +- Convert the resource to JSON +```powershell +$RequestedItemStatus | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RequestedItemStatusCancelledRequestDetails.md b/PSSailpoint/v2024/docs/RequestedItemStatusCancelledRequestDetails.md new file mode 100644 index 000000000..ae18bc027 --- /dev/null +++ b/PSSailpoint/v2024/docs/RequestedItemStatusCancelledRequestDetails.md @@ -0,0 +1,25 @@ +# RequestedItemStatusCancelledRequestDetails +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Comment** | **String** | Comment made by the owner when cancelling the associated request. | [optional] +**Owner** | [**OwnerDto**](OwnerDto.md) | | [optional] +**Modified** | **System.DateTime** | Date comment was added by the owner when cancelling the associated request. | [optional] + +## Examples + +- Prepare the resource +```powershell +$RequestedItemStatusCancelledRequestDetails = Initialize-PSSailpointV2024RequestedItemStatusCancelledRequestDetails -Comment This request must be cancelled. ` + -Owner null ` + -Modified 2019-12-20T09:17:12.192Z +``` + +- Convert the resource to JSON +```powershell +$RequestedItemStatusCancelledRequestDetails | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RequestedItemStatusPreApprovalTriggerDetails.md b/PSSailpoint/v2024/docs/RequestedItemStatusPreApprovalTriggerDetails.md new file mode 100644 index 000000000..96fa12ecd --- /dev/null +++ b/PSSailpoint/v2024/docs/RequestedItemStatusPreApprovalTriggerDetails.md @@ -0,0 +1,25 @@ +# RequestedItemStatusPreApprovalTriggerDetails +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Comment** | **String** | Comment left for the pre-approval decision | [optional] +**Reviewer** | **String** | The reviewer of the pre-approval decision | [optional] +**Decision** | **String** | The decision of the pre-approval trigger | [optional] + +## Examples + +- Prepare the resource +```powershell +$RequestedItemStatusPreApprovalTriggerDetails = Initialize-PSSailpointV2024RequestedItemStatusPreApprovalTriggerDetails -Comment Access is Approved ` + -Reviewer John Doe ` + -Decision APPROVED +``` + +- Convert the resource to JSON +```powershell +$RequestedItemStatusPreApprovalTriggerDetails | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RequestedItemStatusProvisioningDetails.md b/PSSailpoint/v2024/docs/RequestedItemStatusProvisioningDetails.md new file mode 100644 index 000000000..f48a88e76 --- /dev/null +++ b/PSSailpoint/v2024/docs/RequestedItemStatusProvisioningDetails.md @@ -0,0 +1,21 @@ +# RequestedItemStatusProvisioningDetails +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**OrderedSubPhaseReferences** | **String** | Ordered CSV of sub phase references to objects that contain more information about provisioning. For example, this can contain ""manualWorkItemDetails"" which indicate that there is further information in that object for this phase. | [optional] + +## Examples + +- Prepare the resource +```powershell +$RequestedItemStatusProvisioningDetails = Initialize-PSSailpointV2024RequestedItemStatusProvisioningDetails -OrderedSubPhaseReferences manualWorkItemDetails +``` + +- Convert the resource to JSON +```powershell +$RequestedItemStatusProvisioningDetails | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RequestedItemStatusRequestState.md b/PSSailpoint/v2024/docs/RequestedItemStatusRequestState.md new file mode 100644 index 000000000..22ca0a73e --- /dev/null +++ b/PSSailpoint/v2024/docs/RequestedItemStatusRequestState.md @@ -0,0 +1,20 @@ +# RequestedItemStatusRequestState +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$RequestedItemStatusRequestState = Initialize-PSSailpointV2024RequestedItemStatusRequestState +``` + +- Convert the resource to JSON +```powershell +$RequestedItemStatusRequestState | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RequestedItemStatusRequestedFor.md b/PSSailpoint/v2024/docs/RequestedItemStatusRequestedFor.md new file mode 100644 index 000000000..bdeb51d8d --- /dev/null +++ b/PSSailpoint/v2024/docs/RequestedItemStatusRequestedFor.md @@ -0,0 +1,25 @@ +# RequestedItemStatusRequestedFor +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | Type of the object to which this reference applies | [optional] +**Id** | **String** | ID of the object to which this reference applies | [optional] +**Name** | **String** | Human-readable display name of the object to which this reference applies | [optional] + +## Examples + +- Prepare the resource +```powershell +$RequestedItemStatusRequestedFor = Initialize-PSSailpointV2024RequestedItemStatusRequestedFor -Type IDENTITY ` + -Id 2c9180835d191a86015d28455b4b232a ` + -Name William Wilson +``` + +- Convert the resource to JSON +```powershell +$RequestedItemStatusRequestedFor | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RequestedItemStatusRequesterComment.md b/PSSailpoint/v2024/docs/RequestedItemStatusRequesterComment.md new file mode 100644 index 000000000..866664ed5 --- /dev/null +++ b/PSSailpoint/v2024/docs/RequestedItemStatusRequesterComment.md @@ -0,0 +1,25 @@ +# RequestedItemStatusRequesterComment +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Comment** | **String** | Comment content. | [optional] +**Created** | **System.DateTime** | Date and time comment was created. | [optional] +**Author** | [**CommentDtoAuthor**](CommentDtoAuthor.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$RequestedItemStatusRequesterComment = Initialize-PSSailpointV2024RequestedItemStatusRequesterComment -Comment This is a comment. ` + -Created 2017-07-11T18:45:37.098Z ` + -Author null +``` + +- Convert the resource to JSON +```powershell +$RequestedItemStatusRequesterComment | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RequestedItemStatusSodViolationContext.md b/PSSailpoint/v2024/docs/RequestedItemStatusSodViolationContext.md new file mode 100644 index 000000000..fd6ff984d --- /dev/null +++ b/PSSailpoint/v2024/docs/RequestedItemStatusSodViolationContext.md @@ -0,0 +1,25 @@ +# RequestedItemStatusSodViolationContext +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**State** | **String** | The status of SOD violation check | [optional] +**Uuid** | **String** | The id of the Violation check event | [optional] +**ViolationCheckResult** | [**SodViolationCheckResult**](SodViolationCheckResult.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$RequestedItemStatusSodViolationContext = Initialize-PSSailpointV2024RequestedItemStatusSodViolationContext -State SUCCESS ` + -Uuid f73d16e9-a038-46c5-b217-1246e15fdbdd ` + -ViolationCheckResult null +``` + +- Convert the resource to JSON +```powershell +$RequestedItemStatusSodViolationContext | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ResourceObject.md b/PSSailpoint/v2024/docs/ResourceObject.md new file mode 100644 index 000000000..c40b273e1 --- /dev/null +++ b/PSSailpoint/v2024/docs/ResourceObject.md @@ -0,0 +1,45 @@ +# ResourceObject +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Instance** | **String** | Identifier of the specific instance where this object resides. | [optional] [readonly] +**Identity** | **String** | Native identity of the object in the Source. | [optional] [readonly] +**Uuid** | **String** | Universal unique identifier of the object in the Source. | [optional] [readonly] +**PreviousIdentity** | **String** | Native identity that the object has previously. | [optional] [readonly] +**Name** | **String** | Display name for this object. | [optional] [readonly] +**ObjectType** | **String** | Type of object. | [optional] [readonly] +**Incomplete** | **Boolean** | A flag indicating that this is an incomplete object. Used in special cases where the connector has to return account information in several phases and the objects might not have a complete set of all account attributes. The attributes in this object will replace the corresponding attributes in the Link, but no other Link attributes will be changed. | [optional] [readonly] +**Incremental** | **Boolean** | A flag indicating that this is an incremental change object. This is similar to incomplete but it also means that the values of any multi-valued attributes in this object should be merged with the existing values in the Link rather than replacing the existing Link value. | [optional] [readonly] +**Delete** | **Boolean** | A flag indicating that this object has been deleted. This is set only when doing delta aggregation and the connector supports detection of native deletes. | [optional] [readonly] +**Remove** | **Boolean** | A flag set indicating that the values in the attributes represent things to remove rather than things to add. Setting this implies incremental. The values which are always for multi-valued attributes are removed from the current values. | [optional] [readonly] +**Missing** | **String[]** | A list of attribute names that are not included in this object. This is only used with SMConnector and will only contain ""groups"". | [optional] [readonly] +**Attributes** | [**SystemCollectionsHashtable**](.md) | Attributes of this ResourceObject. | [optional] [readonly] +**FinalUpdate** | **Boolean** | In Aggregation, for sparse object the count for total accounts scanned identities updated is not incremented. | [optional] [readonly] + +## Examples + +- Prepare the resource +```powershell +$ResourceObject = Initialize-PSSailpointV2024ResourceObject -Instance null ` + -Identity CN=Aaron Carr,OU=test1,DC=test2,DC=test ` + -Uuid {abf7bd9b-68b4-4d21-9b70-870c58ebf844} ` + -PreviousIdentity null ` + -Name Aaron Carr ` + -ObjectType account ` + -Incomplete false ` + -Incremental false ` + -Delete false ` + -Remove false ` + -Missing [missFieldOne, missFieldTwo] ` + -Attributes {telephoneNumber=12-(345)678-9012, mail=example@test.com, displayName=Aaron Carr} ` + -FinalUpdate false +``` + +- Convert the resource to JSON +```powershell +$ResourceObject | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ResourceObjectsRequest.md b/PSSailpoint/v2024/docs/ResourceObjectsRequest.md new file mode 100644 index 000000000..44292b1dc --- /dev/null +++ b/PSSailpoint/v2024/docs/ResourceObjectsRequest.md @@ -0,0 +1,23 @@ +# ResourceObjectsRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ObjectType** | **String** | The type of resource objects to iterate over. | [optional] [default to "account"] +**MaxCount** | **Int32** | The maximum number of resource objects to iterate over and return. | [optional] [default to 25] + +## Examples + +- Prepare the resource +```powershell +$ResourceObjectsRequest = Initialize-PSSailpointV2024ResourceObjectsRequest -ObjectType group ` + -MaxCount 100 +``` + +- Convert the resource to JSON +```powershell +$ResourceObjectsRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ResourceObjectsResponse.md b/PSSailpoint/v2024/docs/ResourceObjectsResponse.md new file mode 100644 index 000000000..1cfdf2027 --- /dev/null +++ b/PSSailpoint/v2024/docs/ResourceObjectsResponse.md @@ -0,0 +1,29 @@ +# ResourceObjectsResponse +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | ID of the source | [optional] [readonly] +**Name** | **String** | Name of the source | [optional] [readonly] +**ObjectCount** | **Int32** | The number of objects that were fetched by the connector. | [optional] [readonly] +**ElapsedMillis** | **Int32** | The number of milliseconds spent on the entire request. | [optional] [readonly] +**ResourceObjects** | [**ResourceObject[]**](ResourceObject.md) | Fetched objects from the source connector. | [optional] [readonly] + +## Examples + +- Prepare the resource +```powershell +$ResourceObjectsResponse = Initialize-PSSailpointV2024ResourceObjectsResponse -Id 2c91808568c529c60168cca6f90c1313 ` + -Name ODS-AD-Test [source-999999] ` + -ObjectCount 25 ` + -ElapsedMillis 1055 ` + -ResourceObjects null +``` + +- Convert the resource to JSON +```powershell +$ResourceObjectsResponse | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ReviewDecision.md b/PSSailpoint/v2024/docs/ReviewDecision.md new file mode 100644 index 000000000..c757be9e8 --- /dev/null +++ b/PSSailpoint/v2024/docs/ReviewDecision.md @@ -0,0 +1,31 @@ +# ReviewDecision +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The id of the review decision | +**Decision** | [**CertificationDecision**](CertificationDecision.md) | | +**ProposedEndDate** | **System.DateTime** | The date at which a user's access should be taken away. Should only be set for `REVOKE` decisions. | [optional] +**Bulk** | **Boolean** | Indicates whether decision should be marked as part of a larger bulk decision | +**Recommendation** | [**ReviewRecommendation**](ReviewRecommendation.md) | | [optional] +**Comments** | **String** | Comments recorded when the decision was made | [optional] + +## Examples + +- Prepare the resource +```powershell +$ReviewDecision = Initialize-PSSailpointV2024ReviewDecision -Id ef38f94347e94562b5bb8424a56397d8 ` + -Decision null ` + -ProposedEndDate 2017-07-11T18:45:37.098Z ` + -Bulk true ` + -Recommendation null ` + -Comments This user no longer needs access to this source +``` + +- Convert the resource to JSON +```powershell +$ReviewDecision | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ReviewReassign.md b/PSSailpoint/v2024/docs/ReviewReassign.md new file mode 100644 index 000000000..83df47efe --- /dev/null +++ b/PSSailpoint/v2024/docs/ReviewReassign.md @@ -0,0 +1,25 @@ +# ReviewReassign +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Reassign** | [**ReassignReference[]**](ReassignReference.md) | | +**ReassignTo** | **String** | The ID of the identity to which the certification is reassigned | +**Reason** | **String** | The reason comment for why the reassign was made | + +## Examples + +- Prepare the resource +```powershell +$ReviewReassign = Initialize-PSSailpointV2024ReviewReassign -Reassign null ` + -ReassignTo ef38f94347e94562b5bb8424a56397d8 ` + -Reason reassigned for some reason +``` + +- Convert the resource to JSON +```powershell +$ReviewReassign | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ReviewRecommendation.md b/PSSailpoint/v2024/docs/ReviewRecommendation.md new file mode 100644 index 000000000..312a48d1c --- /dev/null +++ b/PSSailpoint/v2024/docs/ReviewRecommendation.md @@ -0,0 +1,25 @@ +# ReviewRecommendation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Recommendation** | **String** | The recommendation from IAI at the time of the decision. This field will be null if no recommendation was made. | [optional] +**Reasons** | **String[]** | A list of reasons for the recommendation. | [optional] +**Timestamp** | **System.DateTime** | The time at which the recommendation was recorded. | [optional] + +## Examples + +- Prepare the resource +```powershell +$ReviewRecommendation = Initialize-PSSailpointV2024ReviewRecommendation -Recommendation null ` + -Reasons [Reason 1, Reason 2] ` + -Timestamp 2020-06-01T13:49:37.385Z +``` + +- Convert the resource to JSON +```powershell +$ReviewRecommendation | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ReviewableAccessProfile.md b/PSSailpoint/v2024/docs/ReviewableAccessProfile.md new file mode 100644 index 000000000..f51163786 --- /dev/null +++ b/PSSailpoint/v2024/docs/ReviewableAccessProfile.md @@ -0,0 +1,39 @@ +# ReviewableAccessProfile +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The id of the Access Profile | [optional] +**Name** | **String** | Name of the Access Profile | [optional] +**Description** | **String** | Information about the Access Profile | [optional] +**Privileged** | **Boolean** | Indicates if the entitlement is a privileged entitlement | [optional] +**CloudGoverned** | **Boolean** | True if the entitlement is cloud governed | [optional] +**EndDate** | **System.DateTime** | The date at which a user's access expires | [optional] +**Owner** | [**IdentityReferenceWithNameAndEmail**](IdentityReferenceWithNameAndEmail.md) | | [optional] +**Entitlements** | [**ReviewableEntitlement[]**](ReviewableEntitlement.md) | A list of entitlements associated with this Access Profile | [optional] +**Created** | **System.DateTime** | Date the Access Profile was created. | [optional] +**Modified** | **System.DateTime** | Date the Access Profile was last modified. | [optional] + +## Examples + +- Prepare the resource +```powershell +$ReviewableAccessProfile = Initialize-PSSailpointV2024ReviewableAccessProfile -Id 2c91808a7190d06e01719938fcd20792 ` + -Name Employee-database-read-write ` + -Description Collection of entitlements to read/write the employee database ` + -Privileged false ` + -CloudGoverned false ` + -EndDate 2021-12-25T00:00Z ` + -Owner null ` + -Entitlements null ` + -Created 2021-01-01T22:32:58.104Z ` + -Modified 2021-02-01T22:32:58.104Z +``` + +- Convert the resource to JSON +```powershell +$ReviewableAccessProfile | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ReviewableEntitlement.md b/PSSailpoint/v2024/docs/ReviewableEntitlement.md new file mode 100644 index 000000000..a81137968 --- /dev/null +++ b/PSSailpoint/v2024/docs/ReviewableEntitlement.md @@ -0,0 +1,55 @@ +# ReviewableEntitlement +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The id for the entitlement | [optional] +**Name** | **String** | The name of the entitlement | [optional] +**Description** | **String** | Information about the entitlement | [optional] +**Privileged** | **Boolean** | Indicates if the entitlement is a privileged entitlement | [optional] [default to $false] +**Owner** | [**IdentityReferenceWithNameAndEmail**](IdentityReferenceWithNameAndEmail.md) | | [optional] +**AttributeName** | **String** | The name of the attribute on the source | [optional] +**AttributeValue** | **String** | The value of the attribute on the source | [optional] +**SourceSchemaObjectType** | **String** | The schema object type on the source used to represent the entitlement and its attributes | [optional] +**SourceName** | **String** | The name of the source for which this entitlement belongs | [optional] +**SourceType** | **String** | The type of the source for which the entitlement belongs | [optional] +**SourceId** | **String** | The ID of the source for which the entitlement belongs | [optional] +**HasPermissions** | **Boolean** | Indicates if the entitlement has permissions | [optional] [default to $false] +**IsPermission** | **Boolean** | Indicates if the entitlement is a representation of an account permission | [optional] [default to $false] +**Revocable** | **Boolean** | Indicates whether the entitlement can be revoked | [optional] [default to $false] +**CloudGoverned** | **Boolean** | True if the entitlement is cloud governed | [optional] [default to $false] +**ContainsDataAccess** | **Boolean** | True if the entitlement has DAS data | [optional] [default to $false] +**DataAccess** | [**DataAccess**](DataAccess.md) | | [optional] +**Account** | [**ReviewableEntitlementAccount**](ReviewableEntitlementAccount.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$ReviewableEntitlement = Initialize-PSSailpointV2024ReviewableEntitlement -Id 2c918085718230600171993742c63558 ` + -Name CN=entitlement.bbb7c650 ` + -Description Gives read/write access to the company database ` + -Privileged false ` + -Owner null ` + -AttributeName memberOf ` + -AttributeValue CN=entitlement.bbb7c650 ` + -SourceSchemaObjectType groups ` + -SourceName ODS-AD-Source ` + -SourceType Active Directory - Direct ` + -SourceId 78ca6be511cb41fbb86dba2fcca7780c ` + -HasPermissions false ` + -IsPermission false ` + -Revocable true ` + -CloudGoverned false ` + -ContainsDataAccess true ` + -DataAccess null ` + -Account null +``` + +- Convert the resource to JSON +```powershell +$ReviewableEntitlement | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ReviewableEntitlementAccount.md b/PSSailpoint/v2024/docs/ReviewableEntitlementAccount.md new file mode 100644 index 000000000..0d6b34cc7 --- /dev/null +++ b/PSSailpoint/v2024/docs/ReviewableEntitlementAccount.md @@ -0,0 +1,37 @@ +# ReviewableEntitlementAccount +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**NativeIdentity** | **String** | The native identity for this account | [optional] +**Disabled** | **Boolean** | Indicates whether this account is currently disabled | [optional] [default to $false] +**Locked** | **Boolean** | Indicates whether this account is currently locked | [optional] [default to $false] +**Type** | [**DtoType**](DtoType.md) | | [optional] +**Id** | **String** | The id associated with the account | [optional] +**Name** | **String** | The account name | [optional] +**Created** | **System.DateTime** | When the account was created | [optional] +**Modified** | **System.DateTime** | When the account was last modified | [optional] +**ActivityInsights** | [**ActivityInsights**](ActivityInsights.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$ReviewableEntitlementAccount = Initialize-PSSailpointV2024ReviewableEntitlementAccount -NativeIdentity CN=Alison Ferguso ` + -Disabled false ` + -Locked false ` + -Type null ` + -Id 2c9180857182305e0171993737eb29e6 ` + -Name Alison Ferguso ` + -Created 2020-04-20T20:11:05.067Z ` + -Modified 2020-05-20T18:57:16.987Z ` + -ActivityInsights null +``` + +- Convert the resource to JSON +```powershell +$ReviewableEntitlementAccount | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ReviewableRole.md b/PSSailpoint/v2024/docs/ReviewableRole.md new file mode 100644 index 000000000..5cba044df --- /dev/null +++ b/PSSailpoint/v2024/docs/ReviewableRole.md @@ -0,0 +1,37 @@ +# ReviewableRole +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The id for the Role | [optional] +**Name** | **String** | The name of the Role | [optional] +**Description** | **String** | Information about the Role | [optional] +**Privileged** | **Boolean** | Indicates if the entitlement is a privileged entitlement | [optional] +**Owner** | [**IdentityReferenceWithNameAndEmail**](IdentityReferenceWithNameAndEmail.md) | | [optional] +**Revocable** | **Boolean** | Indicates whether the Role can be revoked or requested | [optional] +**EndDate** | **System.DateTime** | The date when a user's access expires. | [optional] +**AccessProfiles** | [**ReviewableAccessProfile[]**](ReviewableAccessProfile.md) | The list of Access Profiles associated with this Role | [optional] +**Entitlements** | [**ReviewableEntitlement[]**](ReviewableEntitlement.md) | The list of entitlements associated with this Role | [optional] + +## Examples + +- Prepare the resource +```powershell +$ReviewableRole = Initialize-PSSailpointV2024ReviewableRole -Id 2c91808a7190d06e0171993907fd0794 ` + -Name Accounting-Employees ` + -Description Role for members of the accounting department with the necessary Access Profiles ` + -Privileged false ` + -Owner null ` + -Revocable false ` + -EndDate 2021-12-25T00:00Z ` + -AccessProfiles null ` + -Entitlements null +``` + +- Convert the resource to JSON +```powershell +$ReviewableRole | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Reviewer.md b/PSSailpoint/v2024/docs/Reviewer.md new file mode 100644 index 000000000..6f23006fa --- /dev/null +++ b/PSSailpoint/v2024/docs/Reviewer.md @@ -0,0 +1,31 @@ +# Reviewer +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The id of the reviewer. | [optional] +**Name** | **String** | The name of the reviewer. | [optional] +**Email** | **String** | The email of the reviewing identity. | [optional] +**Type** | **String** | The type of the reviewing identity. | [optional] +**Created** | **System.DateTime** | The created date of the reviewing identity. | [optional] +**Modified** | **System.DateTime** | The modified date of the reviewing identity. | [optional] + +## Examples + +- Prepare the resource +```powershell +$Reviewer = Initialize-PSSailpointV2024Reviewer -Id ef38f94347e94562b5bb8424a56397d8 ` + -Name Reviewer Name ` + -Email reviewer@test.com ` + -Type IDENTITY ` + -Created 2018-06-25T20:22:28.104Z ` + -Modified 2018-06-25T20:22:28.104Z +``` + +- Convert the resource to JSON +```powershell +$Reviewer | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Reviewer1.md b/PSSailpoint/v2024/docs/Reviewer1.md new file mode 100644 index 000000000..619e73f83 --- /dev/null +++ b/PSSailpoint/v2024/docs/Reviewer1.md @@ -0,0 +1,27 @@ +# Reviewer1 +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | The reviewer's DTO type. | +**Id** | **String** | The reviewer's ID. | +**Name** | **String** | The reviewer's display name. | +**Email** | **String** | The reviewing identity's email. Only applicable to `IDENTITY`. | [optional] + +## Examples + +- Prepare the resource +```powershell +$Reviewer1 = Initialize-PSSailpointV2024Reviewer1 -Type IDENTITY ` + -Id 2c7180a46faadee4016fb4e018c20642 ` + -Name Michael Michaels ` + -Email reviewer@test.com +``` + +- Convert the resource to JSON +```powershell +$Reviewer1 | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Revocability.md b/PSSailpoint/v2024/docs/Revocability.md new file mode 100644 index 000000000..7dc5bd389 --- /dev/null +++ b/PSSailpoint/v2024/docs/Revocability.md @@ -0,0 +1,21 @@ +# Revocability +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ApprovalSchemes** | [**AccessProfileApprovalScheme[]**](AccessProfileApprovalScheme.md) | List describing the steps in approving the revocation request | [optional] + +## Examples + +- Prepare the resource +```powershell +$Revocability = Initialize-PSSailpointV2024Revocability -ApprovalSchemes null +``` + +- Convert the resource to JSON +```powershell +$Revocability | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RevocabilityForRole.md b/PSSailpoint/v2024/docs/RevocabilityForRole.md new file mode 100644 index 000000000..f724b7276 --- /dev/null +++ b/PSSailpoint/v2024/docs/RevocabilityForRole.md @@ -0,0 +1,25 @@ +# RevocabilityForRole +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**CommentsRequired** | **Boolean** | Whether the requester of the containing object must provide comments justifying the request | [optional] [default to $false] +**DenialCommentsRequired** | **Boolean** | Whether an approver must provide comments when denying the request | [optional] [default to $false] +**ApprovalSchemes** | [**ApprovalSchemeForRole[]**](ApprovalSchemeForRole.md) | List describing the steps in approving the revocation request | [optional] + +## Examples + +- Prepare the resource +```powershell +$RevocabilityForRole = Initialize-PSSailpointV2024RevocabilityForRole -CommentsRequired false ` + -DenialCommentsRequired false ` + -ApprovalSchemes null +``` + +- Convert the resource to JSON +```powershell +$RevocabilityForRole | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RightPad.md b/PSSailpoint/v2024/docs/RightPad.md new file mode 100644 index 000000000..f1230a080 --- /dev/null +++ b/PSSailpoint/v2024/docs/RightPad.md @@ -0,0 +1,27 @@ +# RightPad +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Length** | **String** | An integer value for the desired length of the final output string | +**Padding** | **String** | A string value representing the character that the incoming data should be padded with to get to the desired length If not provided, the transform will default to a single space ("" "") character for padding | [optional] +**RequiresPeriodicRefresh** | **Boolean** | A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process | [optional] [default to $false] +**VarInput** | [**System.Collections.Hashtable**](AnyType.md) | This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI. | [optional] + +## Examples + +- Prepare the resource +```powershell +$RightPad = Initialize-PSSailpointV2024RightPad -Length 4 ` + -Padding 0 ` + -RequiresPeriodicRefresh false ` + -VarInput {type=accountAttribute, attributes={attributeName=first_name, sourceName=Source}} +``` + +- Convert the resource to JSON +```powershell +$RightPad | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Role.md b/PSSailpoint/v2024/docs/Role.md new file mode 100644 index 000000000..f396ec91a --- /dev/null +++ b/PSSailpoint/v2024/docs/Role.md @@ -0,0 +1,53 @@ +# Role +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The id of the Role. This field must be left null when creating an Role, otherwise a 400 Bad Request error will result. | [optional] +**Name** | **String** | The human-readable display name of the Role | +**Created** | **System.DateTime** | Date the Role was created | [optional] [readonly] +**Modified** | **System.DateTime** | Date the Role was last modified. | [optional] [readonly] +**Description** | **String** | A human-readable description of the Role | [optional] +**Owner** | [**OwnerReference**](OwnerReference.md) | | +**AccessProfiles** | [**AccessProfileRef[]**](AccessProfileRef.md) | | [optional] +**Entitlements** | [**EntitlementRef[]**](EntitlementRef.md) | | [optional] +**Membership** | [**RoleMembershipSelector**](RoleMembershipSelector.md) | | [optional] +**LegacyMembershipInfo** | [**System.Collections.Hashtable**](AnyType.md) | This field is not directly modifiable and is generally expected to be *null*. In very rare instances, some Roles may have been created using membership selection criteria that are no longer fully supported. While these Roles will still work, they should be migrated to STANDARD or IDENTITY_LIST selection criteria. This field exists for informational purposes as an aid to such migration. | [optional] +**Enabled** | **Boolean** | Whether the Role is enabled or not. | [optional] [default to $false] +**Requestable** | **Boolean** | Whether the Role can be the target of access requests. | [optional] [default to $false] +**AccessRequestConfig** | [**RequestabilityForRole**](RequestabilityForRole.md) | | [optional] +**RevocationRequestConfig** | [**RevocabilityForRole**](RevocabilityForRole.md) | | [optional] +**Segments** | **String[]** | List of IDs of segments, if any, to which this Role is assigned. | [optional] +**Dimensional** | **Boolean** | | [optional] +**DimensionRefs** | **String** | | [optional] + +## Examples + +- Prepare the resource +```powershell +$Role = Initialize-PSSailpointV2024Role -Id 2c918086749d78830174a1a40e121518 ` + -Name Role 2567 ` + -Created 2021-03-01T22:32:58.104Z ` + -Modified 2021-03-02T20:22:28.104Z ` + -Description Urna amet cursus pellentesque nisl orci maximus lorem nisl euismod fusce morbi placerat adipiscing maecenas nisi tristique et metus et lacus sed morbi nunc nisl maximus magna arcu varius sollicitudin elementum enim maecenas nisi id ipsum tempus fusce diam ipsum tortor. ` + -Owner null ` + -AccessProfiles null ` + -Entitlements null ` + -Membership null ` + -LegacyMembershipInfo {type=IDENTITY_LIST} ` + -Enabled true ` + -Requestable true ` + -AccessRequestConfig null ` + -RevocationRequestConfig null ` + -Segments [f7b1b8a3-5fed-4fd4-ad29-82014e137e19, 29cb6c06-1da8-43ea-8be4-b3125f248f2a] ` + -Dimensional null ` + -DimensionRefs null +``` + +- Convert the resource to JSON +```powershell +$Role | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RoleAssignmentDto.md b/PSSailpoint/v2024/docs/RoleAssignmentDto.md new file mode 100644 index 000000000..b8ad4fe8d --- /dev/null +++ b/PSSailpoint/v2024/docs/RoleAssignmentDto.md @@ -0,0 +1,37 @@ +# RoleAssignmentDto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Assignment Id | [optional] +**Role** | [**BaseReferenceDto1**](BaseReferenceDto1.md) | | [optional] +**Comments** | **String** | Comments added by the user when the assignment was made | [optional] +**AssignmentSource** | **String** | Source describing how this assignment was made | [optional] +**Assigner** | [**BaseReferenceDto1**](BaseReferenceDto1.md) | | [optional] +**AssignedDimensions** | [**BaseReferenceDto1[]**](BaseReferenceDto1.md) | Dimensions assigned related to this role | [optional] +**AssignmentContext** | [**AssignmentContextDto**](AssignmentContextDto.md) | | [optional] +**AccountTargets** | [**RoleTargetDto[]**](RoleTargetDto.md) | | [optional] +**RemoveDate** | **String** | Date that the assignment will be removed | [optional] + +## Examples + +- Prepare the resource +```powershell +$RoleAssignmentDto = Initialize-PSSailpointV2024RoleAssignmentDto -Id 1cbb0705b38c4226b1334eadd8874086 ` + -Role null ` + -Comments I'm a new Engineer and need this role to do my work ` + -AssignmentSource UI ` + -Assigner null ` + -AssignedDimensions [{id=1acc8ffe5fcf457090de28bee2af36ee, type=DIMENSION, name=Northeast region}] ` + -AssignmentContext null ` + -AccountTargets null ` + -RemoveDate Wed Feb 14 10:58:42 +``` + +- Convert the resource to JSON +```powershell +$RoleAssignmentDto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RoleAssignmentRef.md b/PSSailpoint/v2024/docs/RoleAssignmentRef.md new file mode 100644 index 000000000..88f17e17c --- /dev/null +++ b/PSSailpoint/v2024/docs/RoleAssignmentRef.md @@ -0,0 +1,23 @@ +# RoleAssignmentRef +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Assignment Id | [optional] +**Role** | [**BaseReferenceDto1**](BaseReferenceDto1.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$RoleAssignmentRef = Initialize-PSSailpointV2024RoleAssignmentRef -Id 1cbb0705b38c4226b1334eadd8874086 ` + -Role null +``` + +- Convert the resource to JSON +```powershell +$RoleAssignmentRef | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RoleAssignmentSourceType.md b/PSSailpoint/v2024/docs/RoleAssignmentSourceType.md new file mode 100644 index 000000000..5345bb7c1 --- /dev/null +++ b/PSSailpoint/v2024/docs/RoleAssignmentSourceType.md @@ -0,0 +1,20 @@ +# RoleAssignmentSourceType +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$RoleAssignmentSourceType = Initialize-PSSailpointV2024RoleAssignmentSourceType +``` + +- Convert the resource to JSON +```powershell +$RoleAssignmentSourceType | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RoleBulkDeleteRequest.md b/PSSailpoint/v2024/docs/RoleBulkDeleteRequest.md new file mode 100644 index 000000000..0af168b4c --- /dev/null +++ b/PSSailpoint/v2024/docs/RoleBulkDeleteRequest.md @@ -0,0 +1,21 @@ +# RoleBulkDeleteRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**RoleIds** | **String[]** | List of IDs of Roles to be deleted. | + +## Examples + +- Prepare the resource +```powershell +$RoleBulkDeleteRequest = Initialize-PSSailpointV2024RoleBulkDeleteRequest -RoleIds [2c9180847812e0b1017817051919ecca, 2c9180887812e0b201781e129f151816] +``` + +- Convert the resource to JSON +```powershell +$RoleBulkDeleteRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RoleCriteriaKey.md b/PSSailpoint/v2024/docs/RoleCriteriaKey.md new file mode 100644 index 000000000..7ffc09fc4 --- /dev/null +++ b/PSSailpoint/v2024/docs/RoleCriteriaKey.md @@ -0,0 +1,25 @@ +# RoleCriteriaKey +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | [**RoleCriteriaKeyType**](RoleCriteriaKeyType.md) | | +**Property** | **String** | The name of the attribute or entitlement to which the associated criteria applies. | +**SourceId** | **String** | ID of the Source from which an account attribute or entitlement is drawn. Required if type is ACCOUNT or ENTITLEMENT | [optional] + +## Examples + +- Prepare the resource +```powershell +$RoleCriteriaKey = Initialize-PSSailpointV2024RoleCriteriaKey -Type null ` + -Property attribute.email ` + -SourceId 2c9180867427f3a301745aec18211519 +``` + +- Convert the resource to JSON +```powershell +$RoleCriteriaKey | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RoleCriteriaKeyType.md b/PSSailpoint/v2024/docs/RoleCriteriaKeyType.md new file mode 100644 index 000000000..dba3f1bf1 --- /dev/null +++ b/PSSailpoint/v2024/docs/RoleCriteriaKeyType.md @@ -0,0 +1,20 @@ +# RoleCriteriaKeyType +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$RoleCriteriaKeyType = Initialize-PSSailpointV2024RoleCriteriaKeyType +``` + +- Convert the resource to JSON +```powershell +$RoleCriteriaKeyType | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RoleCriteriaLevel1.md b/PSSailpoint/v2024/docs/RoleCriteriaLevel1.md new file mode 100644 index 000000000..dc891edc7 --- /dev/null +++ b/PSSailpoint/v2024/docs/RoleCriteriaLevel1.md @@ -0,0 +1,27 @@ +# RoleCriteriaLevel1 +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Operation** | [**RoleCriteriaOperation**](RoleCriteriaOperation.md) | | [optional] +**Key** | [**RoleCriteriaKey**](RoleCriteriaKey.md) | | [optional] +**StringValue** | **String** | String value to test the Identity attribute, Account attribute, or Entitlement specified in the key w/r/t the specified operation. If this criteria is a leaf node, that is, if the operation is one of EQUALS, NOT_EQUALS, CONTAINS, STARTS_WITH, or ENDS_WITH, this field is required. Otherwise, specifying it is an error. | [optional] +**Children** | [**RoleCriteriaLevel2[]**](RoleCriteriaLevel2.md) | Array of child criteria. Required if the operation is AND or OR, otherwise it must be left null. A maximum of three levels of criteria are supported, including leaf nodes. Additionally, AND nodes can only be children or OR nodes and vice-versa. | [optional] + +## Examples + +- Prepare the resource +```powershell +$RoleCriteriaLevel1 = Initialize-PSSailpointV2024RoleCriteriaLevel1 -Operation null ` + -Key null ` + -StringValue carlee.cert1c9f9b6fd@mailinator.com ` + -Children null +``` + +- Convert the resource to JSON +```powershell +$RoleCriteriaLevel1 | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RoleCriteriaLevel2.md b/PSSailpoint/v2024/docs/RoleCriteriaLevel2.md new file mode 100644 index 000000000..6fc2e84f6 --- /dev/null +++ b/PSSailpoint/v2024/docs/RoleCriteriaLevel2.md @@ -0,0 +1,27 @@ +# RoleCriteriaLevel2 +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Operation** | [**RoleCriteriaOperation**](RoleCriteriaOperation.md) | | [optional] +**Key** | [**RoleCriteriaKey**](RoleCriteriaKey.md) | | [optional] +**StringValue** | **String** | String value to test the Identity attribute, Account attribute, or Entitlement specified in the key w/r/t the specified operation. If this criteria is a leaf node, that is, if the operation is one of EQUALS, NOT_EQUALS, CONTAINS, STARTS_WITH, or ENDS_WITH, this field is required. Otherwise, specifying it is an error. | [optional] +**Children** | [**RoleCriteriaLevel3[]**](RoleCriteriaLevel3.md) | Array of child criteria. Required if the operation is AND or OR, otherwise it must be left null. A maximum of three levels of criteria are supported, including leaf nodes. Additionally, AND nodes can only be children or OR nodes and vice-versa. | [optional] + +## Examples + +- Prepare the resource +```powershell +$RoleCriteriaLevel2 = Initialize-PSSailpointV2024RoleCriteriaLevel2 -Operation null ` + -Key null ` + -StringValue carlee.cert1c9f9b6fd@mailinator.com ` + -Children null +``` + +- Convert the resource to JSON +```powershell +$RoleCriteriaLevel2 | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RoleCriteriaLevel3.md b/PSSailpoint/v2024/docs/RoleCriteriaLevel3.md new file mode 100644 index 000000000..2ef07ee1d --- /dev/null +++ b/PSSailpoint/v2024/docs/RoleCriteriaLevel3.md @@ -0,0 +1,25 @@ +# RoleCriteriaLevel3 +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Operation** | [**RoleCriteriaOperation**](RoleCriteriaOperation.md) | | [optional] +**Key** | [**RoleCriteriaKey**](RoleCriteriaKey.md) | | [optional] +**StringValue** | **String** | String value to test the Identity attribute, Account attribute, or Entitlement specified in the key w/r/t the specified operation. If this criteria is a leaf node, that is, if the operation is one of EQUALS, NOT_EQUALS, CONTAINS, STARTS_WITH, or ENDS_WITH, this field is required. Otherwise, specifying it is an error. | [optional] + +## Examples + +- Prepare the resource +```powershell +$RoleCriteriaLevel3 = Initialize-PSSailpointV2024RoleCriteriaLevel3 -Operation null ` + -Key null ` + -StringValue carlee.cert1c9f9b6fd@mailinator.com +``` + +- Convert the resource to JSON +```powershell +$RoleCriteriaLevel3 | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RoleCriteriaOperation.md b/PSSailpoint/v2024/docs/RoleCriteriaOperation.md new file mode 100644 index 000000000..d5687b4fb --- /dev/null +++ b/PSSailpoint/v2024/docs/RoleCriteriaOperation.md @@ -0,0 +1,20 @@ +# RoleCriteriaOperation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$RoleCriteriaOperation = Initialize-PSSailpointV2024RoleCriteriaOperation +``` + +- Convert the resource to JSON +```powershell +$RoleCriteriaOperation | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RoleDocument.md b/PSSailpoint/v2024/docs/RoleDocument.md new file mode 100644 index 000000000..adb63cd29 --- /dev/null +++ b/PSSailpoint/v2024/docs/RoleDocument.md @@ -0,0 +1,55 @@ +# RoleDocument +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The unique ID of the referenced object. | +**Name** | **String** | The human readable name of the referenced object. | +**Type** | [**DocumentType**](DocumentType.md) | | +**Description** | **String** | Access item's description. | [optional] +**Created** | **System.DateTime** | ISO-8601 date-time referring to the time when the object was created. | [optional] +**Modified** | **System.DateTime** | ISO-8601 date-time referring to the time when the object was last modified. | [optional] +**Synced** | **System.DateTime** | ISO-8601 date-time referring to the date-time when object was queued to be synced into search database for use in the search API. This date-time changes anytime there is an update to the object, which triggers a synchronization event being sent to the search database. There may be some delay between the `synced` time and the time when the updated data is actually available in the search API. | [optional] +**Enabled** | **Boolean** | Indicates whether the access item is currently enabled. | [optional] [default to $false] +**Requestable** | **Boolean** | Indicates whether the access item can be requested. | [optional] [default to $true] +**RequestCommentsRequired** | **Boolean** | Indicates whether comments are required for requests to access the item. | [optional] [default to $false] +**Owner** | [**BaseAccessAllOfOwner**](BaseAccessAllOfOwner.md) | | [optional] +**AccessProfiles** | [**BaseAccessProfile[]**](BaseAccessProfile.md) | Access profiles included with the role. | [optional] +**AccessProfileCount** | **Int32** | Number of access profiles included with the role. | [optional] +**Tags** | **String[]** | Tags that have been applied to the object. | [optional] +**Segments** | [**BaseSegment[]**](BaseSegment.md) | Segments with the role. | [optional] +**SegmentCount** | **Int32** | Number of segments with the role. | [optional] +**Entitlements** | [**BaseEntitlement[]**](BaseEntitlement.md) | Entitlements included with the role. | [optional] +**EntitlementCount** | **Int32** | Number of entitlements included with the role. | [optional] + +## Examples + +- Prepare the resource +```powershell +$RoleDocument = Initialize-PSSailpointV2024RoleDocument -Id 2c91808568c529c60168cca6f90c1313 ` + -Name John Doe ` + -Type null ` + -Description The admin role ` + -Created 2018-06-25T20:22:28.104Z ` + -Modified 2018-06-25T20:22:28.104Z ` + -Synced 2018-06-25T20:22:33.104Z ` + -Enabled true ` + -Requestable true ` + -RequestCommentsRequired false ` + -Owner null ` + -AccessProfiles null ` + -AccessProfileCount 1 ` + -Tags [TAG_1, TAG_2] ` + -Segments null ` + -SegmentCount 1 ` + -Entitlements null ` + -EntitlementCount 3 +``` + +- Convert the resource to JSON +```powershell +$RoleDocument | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RoleIdentity.md b/PSSailpoint/v2024/docs/RoleIdentity.md new file mode 100644 index 000000000..9501b8fa0 --- /dev/null +++ b/PSSailpoint/v2024/docs/RoleIdentity.md @@ -0,0 +1,29 @@ +# RoleIdentity +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The ID of the Identity | [optional] +**AliasName** | **String** | The alias / username of the Identity | [optional] +**Name** | **String** | The human-readable display name of the Identity | [optional] +**Email** | **String** | Email address of the Identity | [optional] +**RoleAssignmentSource** | [**RoleAssignmentSourceType**](RoleAssignmentSourceType.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$RoleIdentity = Initialize-PSSailpointV2024RoleIdentity -Id 2c9180a46faadee4016fb4e018c20639 ` + -AliasName t.edison ` + -Name Thomas Edison ` + -Email t.edison@identitynow.com ` + -RoleAssignmentSource null +``` + +- Convert the resource to JSON +```powershell +$RoleIdentity | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RoleInsight.md b/PSSailpoint/v2024/docs/RoleInsight.md new file mode 100644 index 000000000..ad5626975 --- /dev/null +++ b/PSSailpoint/v2024/docs/RoleInsight.md @@ -0,0 +1,31 @@ +# RoleInsight +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Insight id | [optional] +**NumberOfUpdates** | **Int32** | Total number of updates for this role | [optional] +**CreatedDate** | **System.DateTime** | The date-time insights were last created for this role. | [optional] +**ModifiedDate** | **System.DateTime** | The date-time insights were last modified for this role. | [optional] +**Role** | [**RoleInsightsRole**](RoleInsightsRole.md) | | [optional] +**Insight** | [**RoleInsightsInsight**](RoleInsightsInsight.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$RoleInsight = Initialize-PSSailpointV2024RoleInsight -Id 1467e61e-f284-439c-ba2d-c6cc11cf0941 ` + -NumberOfUpdates 5 ` + -CreatedDate null ` + -ModifiedDate 2020-05-19T13:49:37.385Z ` + -Role null ` + -Insight null +``` + +- Convert the resource to JSON +```powershell +$RoleInsight | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RoleInsightsEntitlement.md b/PSSailpoint/v2024/docs/RoleInsightsEntitlement.md new file mode 100644 index 000000000..0191aa234 --- /dev/null +++ b/PSSailpoint/v2024/docs/RoleInsightsEntitlement.md @@ -0,0 +1,31 @@ +# RoleInsightsEntitlement +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | Name of the entitlement | [optional] +**Id** | **String** | Id of the entitlement | [optional] +**Description** | **String** | Description for the entitlement | [optional] +**Source** | **String** | Source or the application for the entitlement | [optional] +**Attribute** | **String** | Attribute for the entitlement | [optional] +**Value** | **String** | Attribute value for the entitlement | [optional] + +## Examples + +- Prepare the resource +```powershell +$RoleInsightsEntitlement = Initialize-PSSailpointV2024RoleInsightsEntitlement -Name null ` + -Id null ` + -Description null ` + -Source null ` + -Attribute null ` + -Value null +``` + +- Convert the resource to JSON +```powershell +$RoleInsightsEntitlement | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RoleInsightsEntitlementChanges.md b/PSSailpoint/v2024/docs/RoleInsightsEntitlementChanges.md new file mode 100644 index 000000000..99a9562b1 --- /dev/null +++ b/PSSailpoint/v2024/docs/RoleInsightsEntitlementChanges.md @@ -0,0 +1,33 @@ +# RoleInsightsEntitlementChanges +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | Name of the entitlement | [optional] +**Id** | **String** | Id of the entitlement | [optional] +**Description** | **String** | Description for the entitlement | [optional] +**Attribute** | **String** | Attribute for the entitlement | [optional] +**Value** | **String** | Attribute value for the entitlement | [optional] +**Source** | **String** | Source or the application for the entitlement | [optional] +**Insight** | [**RoleInsightsInsight**](RoleInsightsInsight.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$RoleInsightsEntitlementChanges = Initialize-PSSailpointV2024RoleInsightsEntitlementChanges -Name null ` + -Id null ` + -Description null ` + -Attribute null ` + -Value null ` + -Source null ` + -Insight null +``` + +- Convert the resource to JSON +```powershell +$RoleInsightsEntitlementChanges | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RoleInsightsIdentities.md b/PSSailpoint/v2024/docs/RoleInsightsIdentities.md new file mode 100644 index 000000000..d0c9aec09 --- /dev/null +++ b/PSSailpoint/v2024/docs/RoleInsightsIdentities.md @@ -0,0 +1,25 @@ +# RoleInsightsIdentities +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Id for identity | [optional] +**Name** | **String** | Name for identity | [optional] +**Attributes** | **System.Collections.Hashtable** | | [optional] + +## Examples + +- Prepare the resource +```powershell +$RoleInsightsIdentities = Initialize-PSSailpointV2024RoleInsightsIdentities -Id null ` + -Name null ` + -Attributes null +``` + +- Convert the resource to JSON +```powershell +$RoleInsightsIdentities | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RoleInsightsInsight.md b/PSSailpoint/v2024/docs/RoleInsightsInsight.md new file mode 100644 index 000000000..5358f91fd --- /dev/null +++ b/PSSailpoint/v2024/docs/RoleInsightsInsight.md @@ -0,0 +1,29 @@ +# RoleInsightsInsight +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | The number of identities in this role with the entitlement. | [optional] +**IdentitiesWithAccess** | **Int32** | The number of identities in this role with the entitlement. | [optional] +**IdentitiesImpacted** | **Int32** | The number of identities in this role that do not have the specified entitlement. | [optional] +**TotalNumberOfIdentities** | **Int32** | The total number of identities. | [optional] +**ImpactedIdentityNames** | **String** | | [optional] + +## Examples + +- Prepare the resource +```powershell +$RoleInsightsInsight = Initialize-PSSailpointV2024RoleInsightsInsight -Type ADD ` + -IdentitiesWithAccess 850 ` + -IdentitiesImpacted 150 ` + -TotalNumberOfIdentities 1000 ` + -ImpactedIdentityNames null +``` + +- Convert the resource to JSON +```powershell +$RoleInsightsInsight | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RoleInsightsResponse.md b/PSSailpoint/v2024/docs/RoleInsightsResponse.md new file mode 100644 index 000000000..593cb70d6 --- /dev/null +++ b/PSSailpoint/v2024/docs/RoleInsightsResponse.md @@ -0,0 +1,31 @@ +# RoleInsightsResponse +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Request Id for a role insight generation request | [optional] +**CreatedDate** | **System.DateTime** | The date-time role insights request was created. | [optional] +**LastGenerated** | **System.DateTime** | The date-time role insights request was completed. | [optional] +**NumberOfUpdates** | **Int32** | Total number of updates for this request. Starts with 0 and will have correct number when request is COMPLETED. | [optional] +**RoleIds** | **String[]** | The role IDs that are in this request. | [optional] +**Status** | **String** | Request status | [optional] + +## Examples + +- Prepare the resource +```powershell +$RoleInsightsResponse = Initialize-PSSailpointV2024RoleInsightsResponse -Id 8c190e67-87aa-4ed9-a90b-d9d5344523fb ` + -CreatedDate 2020-09-16T18:49:32.150Z ` + -LastGenerated 2020-09-16T18:50:12.150Z ` + -NumberOfUpdates 0 ` + -RoleIds null ` + -Status null +``` + +- Convert the resource to JSON +```powershell +$RoleInsightsResponse | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RoleInsightsRole.md b/PSSailpoint/v2024/docs/RoleInsightsRole.md new file mode 100644 index 000000000..02dfaa6f1 --- /dev/null +++ b/PSSailpoint/v2024/docs/RoleInsightsRole.md @@ -0,0 +1,29 @@ +# RoleInsightsRole +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | Role name | [optional] +**Id** | **String** | Role id | [optional] +**Description** | **String** | Role description | [optional] +**OwnerName** | **String** | Role owner name | [optional] +**OwnerId** | **String** | Role owner id | [optional] + +## Examples + +- Prepare the resource +```powershell +$RoleInsightsRole = Initialize-PSSailpointV2024RoleInsightsRole -Name Software Engineer ` + -Id 1467e61e-f284-439c-ba2d-c6cc11cf0941 ` + -Description Person who develops software ` + -OwnerName Bob ` + -OwnerId 1467e61e-f284-439c-ba2d-c6cc11cf0941 +``` + +- Convert the resource to JSON +```powershell +$RoleInsightsRole | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RoleInsightsSummary.md b/PSSailpoint/v2024/docs/RoleInsightsSummary.md new file mode 100644 index 000000000..76fce0d6c --- /dev/null +++ b/PSSailpoint/v2024/docs/RoleInsightsSummary.md @@ -0,0 +1,31 @@ +# RoleInsightsSummary +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**NumberOfUpdates** | **Int32** | Total number of roles with updates | [optional] +**LastGenerated** | **System.DateTime** | The date-time role insights were last found. | [optional] +**EntitlementsIncludedInRoles** | **Int32** | The number of entitlements included in roles (vs free radicals). | [optional] +**TotalNumberOfEntitlements** | **Int32** | The total number of entitlements. | [optional] +**IdentitiesWithAccessViaRoles** | **Int32** | The number of identities in roles vs. identities with just entitlements and not in roles. | [optional] +**TotalNumberOfIdentities** | **Int32** | The total number of identities. | [optional] + +## Examples + +- Prepare the resource +```powershell +$RoleInsightsSummary = Initialize-PSSailpointV2024RoleInsightsSummary -NumberOfUpdates null ` + -LastGenerated 2020-05-19T13:49:37.385Z ` + -EntitlementsIncludedInRoles 45 ` + -TotalNumberOfEntitlements 250 ` + -IdentitiesWithAccessViaRoles 550 ` + -TotalNumberOfIdentities 980 +``` + +- Convert the resource to JSON +```powershell +$RoleInsightsSummary | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RoleMatchDto.md b/PSSailpoint/v2024/docs/RoleMatchDto.md new file mode 100644 index 000000000..73c925dc3 --- /dev/null +++ b/PSSailpoint/v2024/docs/RoleMatchDto.md @@ -0,0 +1,23 @@ +# RoleMatchDto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**RoleRef** | [**BaseReferenceDto1**](BaseReferenceDto1.md) | | [optional] +**MatchedAttributes** | [**ContextAttributeDto[]**](ContextAttributeDto.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$RoleMatchDto = Initialize-PSSailpointV2024RoleMatchDto -RoleRef null ` + -MatchedAttributes null +``` + +- Convert the resource to JSON +```powershell +$RoleMatchDto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RoleMembershipIdentity.md b/PSSailpoint/v2024/docs/RoleMembershipIdentity.md new file mode 100644 index 000000000..8fa40eec5 --- /dev/null +++ b/PSSailpoint/v2024/docs/RoleMembershipIdentity.md @@ -0,0 +1,27 @@ +# RoleMembershipIdentity +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | [**DtoType**](DtoType.md) | | [optional] +**Id** | **String** | Identity id | [optional] +**Name** | **String** | Human-readable display name of the Identity. | [optional] +**AliasName** | **String** | User name of the Identity | [optional] + +## Examples + +- Prepare the resource +```powershell +$RoleMembershipIdentity = Initialize-PSSailpointV2024RoleMembershipIdentity -Type null ` + -Id 2c9180a46faadee4016fb4e018c20639 ` + -Name Thomas Edison ` + -AliasName t.edison +``` + +- Convert the resource to JSON +```powershell +$RoleMembershipIdentity | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RoleMembershipSelector.md b/PSSailpoint/v2024/docs/RoleMembershipSelector.md new file mode 100644 index 000000000..a600fdb97 --- /dev/null +++ b/PSSailpoint/v2024/docs/RoleMembershipSelector.md @@ -0,0 +1,25 @@ +# RoleMembershipSelector +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | [**RoleMembershipSelectorType**](RoleMembershipSelectorType.md) | | [optional] +**Criteria** | [**RoleCriteriaLevel1**](RoleCriteriaLevel1.md) | | [optional] +**Identities** | [**RoleMembershipIdentity[]**](RoleMembershipIdentity.md) | Defines role membership as being exclusive to the specified Identities, when type is IDENTITY_LIST. | [optional] + +## Examples + +- Prepare the resource +```powershell +$RoleMembershipSelector = Initialize-PSSailpointV2024RoleMembershipSelector -Type null ` + -Criteria null ` + -Identities null +``` + +- Convert the resource to JSON +```powershell +$RoleMembershipSelector | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RoleMembershipSelectorType.md b/PSSailpoint/v2024/docs/RoleMembershipSelectorType.md new file mode 100644 index 000000000..8875c9783 --- /dev/null +++ b/PSSailpoint/v2024/docs/RoleMembershipSelectorType.md @@ -0,0 +1,20 @@ +# RoleMembershipSelectorType +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$RoleMembershipSelectorType = Initialize-PSSailpointV2024RoleMembershipSelectorType +``` + +- Convert the resource to JSON +```powershell +$RoleMembershipSelectorType | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RoleMiningEntitlement.md b/PSSailpoint/v2024/docs/RoleMiningEntitlement.md new file mode 100644 index 000000000..f6f4e45db --- /dev/null +++ b/PSSailpoint/v2024/docs/RoleMiningEntitlement.md @@ -0,0 +1,37 @@ +# RoleMiningEntitlement +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**EntitlementRef** | [**RoleMiningEntitlementRef**](RoleMiningEntitlementRef.md) | | [optional] +**Name** | **String** | Name of the entitlement | [optional] +**ApplicationName** | **String** | Application name of the entitlement | [optional] +**IdentityCount** | **Int32** | The number of identities with this entitlement in a role. | [optional] +**Popularity** | **Double** | The % popularity of this entitlement in a role. | [optional] +**PopularityInOrg** | **Double** | The % popularity of this entitlement in the org. | [optional] +**SourceId** | **String** | The ID of the source/application. | [optional] +**ActivitySourceState** | **String** | The status of activity data for the source. Value is complete or notComplete. | [optional] +**SourceUsagePercent** | **Double** | The percentage of identities in the potential role that have usage of the source/application of this entitlement. | [optional] + +## Examples + +- Prepare the resource +```powershell +$RoleMiningEntitlement = Initialize-PSSailpointV2024RoleMiningEntitlement -EntitlementRef null ` + -Name Add/modify/delete users ` + -ApplicationName AppName ` + -IdentityCount 45 ` + -Popularity 65.2 ` + -PopularityInOrg 35.8 ` + -SourceId 2c9180877620c1460176267f336a106f ` + -ActivitySourceState complete ` + -SourceUsagePercent 65.6 +``` + +- Convert the resource to JSON +```powershell +$RoleMiningEntitlement | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RoleMiningEntitlementRef.md b/PSSailpoint/v2024/docs/RoleMiningEntitlementRef.md new file mode 100644 index 000000000..131da3118 --- /dev/null +++ b/PSSailpoint/v2024/docs/RoleMiningEntitlementRef.md @@ -0,0 +1,27 @@ +# RoleMiningEntitlementRef +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Id of the entitlement | [optional] +**Name** | **String** | Name of the entitlement | [optional] +**Description** | **String** | Description forthe entitlement | [optional] +**Attribute** | **String** | The entitlement attribute | [optional] + +## Examples + +- Prepare the resource +```powershell +$RoleMiningEntitlementRef = Initialize-PSSailpointV2024RoleMiningEntitlementRef -Id 2c91808a7e95e6e0017e96e2086206c8 ` + -Name App.entitlement.1 ` + -Description Entitlement 1 ` + -Attribute groups +``` + +- Convert the resource to JSON +```powershell +$RoleMiningEntitlementRef | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RoleMiningIdentity.md b/PSSailpoint/v2024/docs/RoleMiningIdentity.md new file mode 100644 index 000000000..4fe18b811 --- /dev/null +++ b/PSSailpoint/v2024/docs/RoleMiningIdentity.md @@ -0,0 +1,25 @@ +# RoleMiningIdentity +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Id of the identity | [optional] +**Name** | **String** | Name of the identity | [optional] +**Attributes** | **System.Collections.Hashtable** | | [optional] + +## Examples + +- Prepare the resource +```powershell +$RoleMiningIdentity = Initialize-PSSailpointV2024RoleMiningIdentity -Id null ` + -Name null ` + -Attributes null +``` + +- Convert the resource to JSON +```powershell +$RoleMiningIdentity | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RoleMiningIdentityDistribution.md b/PSSailpoint/v2024/docs/RoleMiningIdentityDistribution.md new file mode 100644 index 000000000..17a6929a6 --- /dev/null +++ b/PSSailpoint/v2024/docs/RoleMiningIdentityDistribution.md @@ -0,0 +1,23 @@ +# RoleMiningIdentityDistribution +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AttributeName** | **String** | Id of the potential role | [optional] +**Distribution** | [**System.Collections.Hashtable[]**](Map.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$RoleMiningIdentityDistribution = Initialize-PSSailpointV2024RoleMiningIdentityDistribution -AttributeName department ` + -Distribution [{attributeValue=NM Tier 3, count=6}] +``` + +- Convert the resource to JSON +```powershell +$RoleMiningIdentityDistribution | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RoleMiningPotentialRole.md b/PSSailpoint/v2024/docs/RoleMiningPotentialRole.md new file mode 100644 index 000000000..0a24a569d --- /dev/null +++ b/PSSailpoint/v2024/docs/RoleMiningPotentialRole.md @@ -0,0 +1,57 @@ +# RoleMiningPotentialRole +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**CreatedBy** | [**RoleMiningSessionResponseCreatedBy**](RoleMiningSessionResponseCreatedBy.md) | | [optional] +**Density** | **Int32** | The density of a potential role. | [optional] +**Description** | **String** | The description of a potential role. | [optional] +**EntitlementCount** | **Int32** | The number of entitlements in a potential role. | [optional] +**ExcludedEntitlements** | **String[]** | The list of entitlement ids to be excluded. | [optional] +**Freshness** | **Int32** | The freshness of a potential role. | [optional] +**IdentityCount** | **Int32** | The number of identities in a potential role. | [optional] +**IdentityDistribution** | [**RoleMiningIdentityDistribution[]**](RoleMiningIdentityDistribution.md) | Identity attribute distribution. | [optional] +**IdentityIds** | **String[]** | The list of ids in a potential role. | [optional] +**Name** | **String** | Name of the potential role. | [optional] +**ProvisionState** | [**RoleMiningPotentialRoleProvisionState**](RoleMiningPotentialRoleProvisionState.md) | | [optional] +**Quality** | **Int32** | The quality of a potential role. | [optional] +**RoleId** | **String** | The roleId of a potential role. | [optional] +**Saved** | **Boolean** | The potential role's saved status. | [optional] +**Session** | [**RoleMiningSessionParametersDto**](RoleMiningSessionParametersDto.md) | | [optional] +**Type** | [**RoleMiningRoleType**](RoleMiningRoleType.md) | | [optional] +**Id** | **String** | Id of the potential role | [optional] +**CreatedDate** | **System.DateTime** | The date-time when this potential role was created. | [optional] +**ModifiedDate** | **System.DateTime** | The date-time when this potential role was modified. | [optional] + +## Examples + +- Prepare the resource +```powershell +$RoleMiningPotentialRole = Initialize-PSSailpointV2024RoleMiningPotentialRole -CreatedBy null ` + -Density 75 ` + -Description Potential Role for Accounting dept ` + -EntitlementCount 25 ` + -ExcludedEntitlements [07a0b4e2, 13b4e2a0] ` + -Freshness 75 ` + -IdentityCount 25 ` + -IdentityDistribution null ` + -IdentityIds [07a0b4e2, 13b4e2a0] ` + -Name Saved Potential Role - 07/10 ` + -ProvisionState null ` + -Quality 100 ` + -RoleId 07a0b4e2-7a76-44fa-bd0b-c64654b66519 ` + -Saved true ` + -Session null ` + -Type null ` + -Id e0cc5d7d-bf7f-4f81-b2af-8885b09d9923 ` + -CreatedDate null ` + -ModifiedDate null +``` + +- Convert the resource to JSON +```powershell +$RoleMiningPotentialRole | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RoleMiningPotentialRoleApplication.md b/PSSailpoint/v2024/docs/RoleMiningPotentialRoleApplication.md new file mode 100644 index 000000000..3e40df161 --- /dev/null +++ b/PSSailpoint/v2024/docs/RoleMiningPotentialRoleApplication.md @@ -0,0 +1,23 @@ +# RoleMiningPotentialRoleApplication +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Id of the potential role | [optional] +**Name** | **String** | Name of the potential role | [optional] + +## Examples + +- Prepare the resource +```powershell +$RoleMiningPotentialRoleApplication = Initialize-PSSailpointV2024RoleMiningPotentialRoleApplication -Id null ` + -Name null +``` + +- Convert the resource to JSON +```powershell +$RoleMiningPotentialRoleApplication | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RoleMiningPotentialRoleEditEntitlements.md b/PSSailpoint/v2024/docs/RoleMiningPotentialRoleEditEntitlements.md new file mode 100644 index 000000000..bebe14da7 --- /dev/null +++ b/PSSailpoint/v2024/docs/RoleMiningPotentialRoleEditEntitlements.md @@ -0,0 +1,23 @@ +# RoleMiningPotentialRoleEditEntitlements +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Ids** | **String[]** | The list of entitlement ids to be edited | [optional] +**Exclude** | **Boolean** | If true, add ids to be exclusion list. If false, remove ids from the exclusion list. | [optional] + +## Examples + +- Prepare the resource +```powershell +$RoleMiningPotentialRoleEditEntitlements = Initialize-PSSailpointV2024RoleMiningPotentialRoleEditEntitlements -Ids null ` + -Exclude null +``` + +- Convert the resource to JSON +```powershell +$RoleMiningPotentialRoleEditEntitlements | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RoleMiningPotentialRoleExportRequest.md b/PSSailpoint/v2024/docs/RoleMiningPotentialRoleExportRequest.md new file mode 100644 index 000000000..dfe6f4830 --- /dev/null +++ b/PSSailpoint/v2024/docs/RoleMiningPotentialRoleExportRequest.md @@ -0,0 +1,23 @@ +# RoleMiningPotentialRoleExportRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**MinEntitlementPopularity** | **Int32** | The minimum popularity among identities in the role which an entitlement must have to be included in the report | [optional] +**IncludeCommonAccess** | **Boolean** | If false, do not include entitlements that are highly popular among the entire orginization | [optional] + +## Examples + +- Prepare the resource +```powershell +$RoleMiningPotentialRoleExportRequest = Initialize-PSSailpointV2024RoleMiningPotentialRoleExportRequest -MinEntitlementPopularity 0 ` + -IncludeCommonAccess true +``` + +- Convert the resource to JSON +```powershell +$RoleMiningPotentialRoleExportRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RoleMiningPotentialRoleExportResponse.md b/PSSailpoint/v2024/docs/RoleMiningPotentialRoleExportResponse.md new file mode 100644 index 000000000..008d72c9a --- /dev/null +++ b/PSSailpoint/v2024/docs/RoleMiningPotentialRoleExportResponse.md @@ -0,0 +1,27 @@ +# RoleMiningPotentialRoleExportResponse +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**MinEntitlementPopularity** | **Int32** | The minimum popularity among identities in the role which an entitlement must have to be included in the report | [optional] +**IncludeCommonAccess** | **Boolean** | If false, do not include entitlements that are highly popular among the entire orginization | [optional] +**ExportId** | **String** | ID used to reference this export | [optional] +**Status** | [**RoleMiningPotentialRoleExportState**](RoleMiningPotentialRoleExportState.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$RoleMiningPotentialRoleExportResponse = Initialize-PSSailpointV2024RoleMiningPotentialRoleExportResponse -MinEntitlementPopularity 0 ` + -IncludeCommonAccess true ` + -ExportId 0c6cdb76-1227-4aaf-af21-192dbdfbfa04 ` + -Status null +``` + +- Convert the resource to JSON +```powershell +$RoleMiningPotentialRoleExportResponse | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RoleMiningPotentialRoleExportState.md b/PSSailpoint/v2024/docs/RoleMiningPotentialRoleExportState.md new file mode 100644 index 000000000..1245248d9 --- /dev/null +++ b/PSSailpoint/v2024/docs/RoleMiningPotentialRoleExportState.md @@ -0,0 +1,20 @@ +# RoleMiningPotentialRoleExportState +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$RoleMiningPotentialRoleExportState = Initialize-PSSailpointV2024RoleMiningPotentialRoleExportState +``` + +- Convert the resource to JSON +```powershell +$RoleMiningPotentialRoleExportState | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RoleMiningPotentialRoleProvisionRequest.md b/PSSailpoint/v2024/docs/RoleMiningPotentialRoleProvisionRequest.md new file mode 100644 index 000000000..5ceb1743f --- /dev/null +++ b/PSSailpoint/v2024/docs/RoleMiningPotentialRoleProvisionRequest.md @@ -0,0 +1,29 @@ +# RoleMiningPotentialRoleProvisionRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**RoleName** | **String** | Name of the new role being created | [optional] +**RoleDescription** | **String** | Short description of the new role being created | [optional] +**OwnerId** | **String** | ID of the identity that will own this role | [optional] +**IncludeIdentities** | **Boolean** | When true, create access requests for the identities associated with the potential role | [optional] [default to $false] +**DirectlyAssignedEntitlements** | **Boolean** | When true, assign entitlements directly to the role; otherwise, create access profiles containing the entitlements | [optional] [default to $false] + +## Examples + +- Prepare the resource +```powershell +$RoleMiningPotentialRoleProvisionRequest = Initialize-PSSailpointV2024RoleMiningPotentialRoleProvisionRequest -RoleName Finance - Accounting ` + -RoleDescription General access for accounting department ` + -OwnerId 2b568c65bc3c4c57a43bd97e3a8e41 ` + -IncludeIdentities true ` + -DirectlyAssignedEntitlements false +``` + +- Convert the resource to JSON +```powershell +$RoleMiningPotentialRoleProvisionRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RoleMiningPotentialRoleProvisionState.md b/PSSailpoint/v2024/docs/RoleMiningPotentialRoleProvisionState.md new file mode 100644 index 000000000..c5be31f7c --- /dev/null +++ b/PSSailpoint/v2024/docs/RoleMiningPotentialRoleProvisionState.md @@ -0,0 +1,20 @@ +# RoleMiningPotentialRoleProvisionState +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$RoleMiningPotentialRoleProvisionState = Initialize-PSSailpointV2024RoleMiningPotentialRoleProvisionState +``` + +- Convert the resource to JSON +```powershell +$RoleMiningPotentialRoleProvisionState | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RoleMiningPotentialRoleRef.md b/PSSailpoint/v2024/docs/RoleMiningPotentialRoleRef.md new file mode 100644 index 000000000..12ac62810 --- /dev/null +++ b/PSSailpoint/v2024/docs/RoleMiningPotentialRoleRef.md @@ -0,0 +1,23 @@ +# RoleMiningPotentialRoleRef +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Id of the potential role | [optional] +**Name** | **String** | Name of the potential role | [optional] + +## Examples + +- Prepare the resource +```powershell +$RoleMiningPotentialRoleRef = Initialize-PSSailpointV2024RoleMiningPotentialRoleRef -Id e0cc5d7d-bf7f-4f81-b2af-8885b09d9923 ` + -Name Potential Role - e0cc5d +``` + +- Convert the resource to JSON +```powershell +$RoleMiningPotentialRoleRef | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RoleMiningPotentialRoleSourceUsage.md b/PSSailpoint/v2024/docs/RoleMiningPotentialRoleSourceUsage.md new file mode 100644 index 000000000..48a1760c7 --- /dev/null +++ b/PSSailpoint/v2024/docs/RoleMiningPotentialRoleSourceUsage.md @@ -0,0 +1,27 @@ +# RoleMiningPotentialRoleSourceUsage +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The identity ID | [optional] +**DisplayName** | **String** | Display name for the identity | [optional] +**Email** | **String** | Email address for the identity | [optional] +**UsageCount** | **Int32** | The number of days there has been usage of the source by the identity. | [optional] + +## Examples + +- Prepare the resource +```powershell +$RoleMiningPotentialRoleSourceUsage = Initialize-PSSailpointV2024RoleMiningPotentialRoleSourceUsage -Id 2c918089762475180176267f894b54dc ` + -DisplayName Kirk Koepp ` + -Email kirk.koepp@testmail.identitynow.com ` + -UsageCount 25 +``` + +- Convert the resource to JSON +```powershell +$RoleMiningPotentialRoleSourceUsage | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RoleMiningPotentialRoleSummary.md b/PSSailpoint/v2024/docs/RoleMiningPotentialRoleSummary.md new file mode 100644 index 000000000..cbd28359f --- /dev/null +++ b/PSSailpoint/v2024/docs/RoleMiningPotentialRoleSummary.md @@ -0,0 +1,53 @@ +# RoleMiningPotentialRoleSummary +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Id of the potential role | [optional] +**Name** | **String** | Name of the potential role | [optional] +**PotentialRoleRef** | [**RoleMiningPotentialRoleRef**](RoleMiningPotentialRoleRef.md) | | [optional] +**IdentityCount** | **Int32** | The number of identities in a potential role. | [optional] +**EntitlementCount** | **Int32** | The number of entitlements in a potential role. | [optional] +**IdentityGroupStatus** | **String** | The status for this identity group which can be ""REQUESTED"" or ""OBTAINED"" | [optional] +**ProvisionState** | [**RoleMiningPotentialRoleProvisionState**](RoleMiningPotentialRoleProvisionState.md) | | [optional] +**RoleId** | **String** | ID of the provisioned role in IIQ or IDN. Null if this potential role has not been provisioned. | [optional] +**Density** | **Int32** | The density metric (0-100) of this potential role. Higher density values indicate higher similarity amongst the identities. | [optional] +**Freshness** | **Int32** | The freshness metric (0-100) of this potential role. Higher freshness values indicate this potential role is more distinctive compared to existing roles. | [optional] +**Quality** | **Int32** | The quality metric (0-100) of this potential role. Higher quality values indicate this potential role has high density and freshness. | [optional] +**Type** | [**RoleMiningRoleType**](RoleMiningRoleType.md) | | [optional] +**CreatedBy** | [**RoleMiningPotentialRoleSummaryCreatedBy**](RoleMiningPotentialRoleSummaryCreatedBy.md) | | [optional] +**CreatedDate** | **System.DateTime** | The date-time when this potential role was created. | [optional] +**Saved** | **Boolean** | The potential role's saved status | [optional] [default to $false] +**Description** | **String** | Description of the potential role | [optional] +**Session** | [**RoleMiningSessionParametersDto**](RoleMiningSessionParametersDto.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$RoleMiningPotentialRoleSummary = Initialize-PSSailpointV2024RoleMiningPotentialRoleSummary -Id e0cc5d7d-bf7f-4f81-b2af-8885b09d9923 ` + -Name Potential Role - e0cc5d ` + -PotentialRoleRef null ` + -IdentityCount 25 ` + -EntitlementCount 15 ` + -IdentityGroupStatus OBTAINED ` + -ProvisionState null ` + -RoleId 2a4be6fbcf3c4e66b95a0c15ffd591 ` + -Density 90 ` + -Freshness 70 ` + -Quality 80 ` + -Type null ` + -CreatedBy null ` + -CreatedDate null ` + -Saved true ` + -Description null ` + -Session null +``` + +- Convert the resource to JSON +```powershell +$RoleMiningPotentialRoleSummary | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RoleMiningPotentialRoleSummaryCreatedBy.md b/PSSailpoint/v2024/docs/RoleMiningPotentialRoleSummaryCreatedBy.md new file mode 100644 index 000000000..e9201080a --- /dev/null +++ b/PSSailpoint/v2024/docs/RoleMiningPotentialRoleSummaryCreatedBy.md @@ -0,0 +1,23 @@ +# RoleMiningPotentialRoleSummaryCreatedBy +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | ID of the creator | [optional] +**DisplayName** | **String** | The display name of the creator | [optional] + +## Examples + +- Prepare the resource +```powershell +$RoleMiningPotentialRoleSummaryCreatedBy = Initialize-PSSailpointV2024RoleMiningPotentialRoleSummaryCreatedBy -Id 2c918090761a5aac0176215c46a62d58 ` + -DisplayName Ashley.Pierce +``` + +- Convert the resource to JSON +```powershell +$RoleMiningPotentialRoleSummaryCreatedBy | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RoleMiningRoleType.md b/PSSailpoint/v2024/docs/RoleMiningRoleType.md new file mode 100644 index 000000000..0deed33e1 --- /dev/null +++ b/PSSailpoint/v2024/docs/RoleMiningRoleType.md @@ -0,0 +1,20 @@ +# RoleMiningRoleType +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$RoleMiningRoleType = Initialize-PSSailpointV2024RoleMiningRoleType +``` + +- Convert the resource to JSON +```powershell +$RoleMiningRoleType | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RoleMiningSessionDraftRoleDto.md b/PSSailpoint/v2024/docs/RoleMiningSessionDraftRoleDto.md new file mode 100644 index 000000000..2ab0a0634 --- /dev/null +++ b/PSSailpoint/v2024/docs/RoleMiningSessionDraftRoleDto.md @@ -0,0 +1,39 @@ +# RoleMiningSessionDraftRoleDto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | Name of the draft role | [optional] +**Description** | **String** | Draft role description | [optional] +**IdentityIds** | **String[]** | The list of identities for this role mining session. | [optional] +**EntitlementIds** | **String[]** | The list of entitlement ids for this role mining session. | [optional] +**ExcludedEntitlements** | **String[]** | The list of excluded entitlement ids. | [optional] +**Modified** | **System.DateTime** | Last modified date | [optional] +**Type** | [**RoleMiningRoleType**](RoleMiningRoleType.md) | | [optional] +**Id** | **String** | Id of the potential draft role | [optional] +**CreatedDate** | **System.DateTime** | The date-time when this potential draft role was created. | [optional] +**ModifiedDate** | **System.DateTime** | The date-time when this potential draft role was modified. | [optional] + +## Examples + +- Prepare the resource +```powershell +$RoleMiningSessionDraftRoleDto = Initialize-PSSailpointV2024RoleMiningSessionDraftRoleDto -Name Saved RM Session - 07/10 ` + -Description Person who develops software ` + -IdentityIds [2c918090761a5aac0176215c46a62d58, 2c918090761a5aac01722015c46a62d42] ` + -EntitlementIds [2c91808a7624751a01762f19d665220d, 2c91808a7624751a01762f19d67c220e] ` + -ExcludedEntitlements [07a0b4e2, 13b4e2a0] ` + -Modified 2020-09-16T18:49:32.150Z ` + -Type null ` + -Id e0cc5d7d-bf7f-4f81-b2af-8885b09d9923 ` + -CreatedDate null ` + -ModifiedDate null +``` + +- Convert the resource to JSON +```powershell +$RoleMiningSessionDraftRoleDto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RoleMiningSessionDto.md b/PSSailpoint/v2024/docs/RoleMiningSessionDto.md new file mode 100644 index 000000000..7bc70a26c --- /dev/null +++ b/PSSailpoint/v2024/docs/RoleMiningSessionDto.md @@ -0,0 +1,41 @@ +# RoleMiningSessionDto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Scope** | [**RoleMiningSessionScope**](RoleMiningSessionScope.md) | | [optional] +**PruneThreshold** | **Int32** | The prune threshold to be used or null to calculate prescribedPruneThreshold | [optional] +**PrescribedPruneThreshold** | **Int32** | The calculated prescribedPruneThreshold | [optional] +**MinNumIdentitiesInPotentialRole** | **Int32** | Minimum number of identities in a potential role | [optional] +**PotentialRoleCount** | **Int32** | Number of potential roles | [optional] +**PotentialRolesReadyCount** | **Int32** | Number of potential roles ready | [optional] +**Type** | [**RoleMiningRoleType**](RoleMiningRoleType.md) | | [optional] +**EmailRecipientId** | **String** | The id of the user who will receive an email about the role mining session | [optional] +**IdentityCount** | **Int32** | Number of identities in the population which meet the search criteria or identity list provided | [optional] +**Saved** | **Boolean** | The session's saved status | [optional] [default to $false] +**Name** | **String** | The session's saved name | [optional] + +## Examples + +- Prepare the resource +```powershell +$RoleMiningSessionDto = Initialize-PSSailpointV2024RoleMiningSessionDto -Scope null ` + -PruneThreshold 50 ` + -PrescribedPruneThreshold 10 ` + -MinNumIdentitiesInPotentialRole 20 ` + -PotentialRoleCount 0 ` + -PotentialRolesReadyCount 0 ` + -Type null ` + -EmailRecipientId 2c918090761a5aac0176215c46a62d58 ` + -IdentityCount 0 ` + -Saved true ` + -Name Saved RM Session - 07/10 +``` + +- Convert the resource to JSON +```powershell +$RoleMiningSessionDto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RoleMiningSessionParametersDto.md b/PSSailpoint/v2024/docs/RoleMiningSessionParametersDto.md new file mode 100644 index 000000000..f34b4cf25 --- /dev/null +++ b/PSSailpoint/v2024/docs/RoleMiningSessionParametersDto.md @@ -0,0 +1,37 @@ +# RoleMiningSessionParametersDto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The ID of the role mining session | [optional] +**Name** | **String** | The session's saved name | [optional] +**MinNumIdentitiesInPotentialRole** | **Int32** | Minimum number of identities in a potential role | [optional] +**PruneThreshold** | **Int32** | The prune threshold to be used or null to calculate prescribedPruneThreshold | [optional] +**Saved** | **Boolean** | The session's saved status | [optional] [default to $true] +**Scope** | [**RoleMiningSessionScope**](RoleMiningSessionScope.md) | | [optional] +**Type** | [**RoleMiningRoleType**](RoleMiningRoleType.md) | | [optional] +**State** | [**RoleMiningSessionState**](RoleMiningSessionState.md) | | [optional] +**ScopingMethod** | [**RoleMiningSessionScopingMethod**](RoleMiningSessionScopingMethod.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$RoleMiningSessionParametersDto = Initialize-PSSailpointV2024RoleMiningSessionParametersDto -Id 9f36f5e5-1e81-4eca-b087-548959d91c71 ` + -Name Saved RM Session - 07/10 ` + -MinNumIdentitiesInPotentialRole 20 ` + -PruneThreshold 5 ` + -Saved true ` + -Scope null ` + -Type null ` + -State null ` + -ScopingMethod null +``` + +- Convert the resource to JSON +```powershell +$RoleMiningSessionParametersDto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RoleMiningSessionResponse.md b/PSSailpoint/v2024/docs/RoleMiningSessionResponse.md new file mode 100644 index 000000000..0c5078294 --- /dev/null +++ b/PSSailpoint/v2024/docs/RoleMiningSessionResponse.md @@ -0,0 +1,55 @@ +# RoleMiningSessionResponse +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Scope** | [**RoleMiningSessionScope**](RoleMiningSessionScope.md) | | [optional] +**MinNumIdentitiesInPotentialRole** | **Int32** | Minimum number of identities in a potential role | [optional] +**ScopingMethod** | **String** | The scoping method of the role mining session | [optional] +**PrescribedPruneThreshold** | **Int32** | The computed (or prescribed) prune threshold for this session | [optional] +**PruneThreshold** | **Int32** | The prune threshold to be used for this role mining session | [optional] +**PotentialRoleCount** | **Int32** | The number of potential roles | [optional] +**PotentialRolesReadyCount** | **Int32** | The number of potential roles which have completed processing | [optional] +**Status** | [**RoleMiningSessionStatus**](RoleMiningSessionStatus.md) | | [optional] +**EmailRecipientId** | **String** | The id of the user who will receive an email about the role mining session | [optional] +**CreatedBy** | [**RoleMiningSessionResponseCreatedBy**](RoleMiningSessionResponseCreatedBy.md) | | [optional] +**IdentityCount** | **Int32** | The number of identities | [optional] +**Saved** | **Boolean** | The session's saved status | [optional] [default to $false] +**Name** | **String** | The session's saved name | [optional] +**DataFilePath** | **String** | The data file path of the role mining session | [optional] +**Id** | **String** | Session Id for this role mining session | [optional] +**CreatedDate** | **System.DateTime** | The date-time when this role mining session was created. | [optional] +**ModifiedDate** | **System.DateTime** | The date-time when this role mining session was completed. | [optional] +**Type** | [**RoleMiningRoleType**](RoleMiningRoleType.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$RoleMiningSessionResponse = Initialize-PSSailpointV2024RoleMiningSessionResponse -Scope null ` + -MinNumIdentitiesInPotentialRole 20 ` + -ScopingMethod AUTO_RM ` + -PrescribedPruneThreshold 83 ` + -PruneThreshold 70 ` + -PotentialRoleCount 8 ` + -PotentialRolesReadyCount 4 ` + -Status null ` + -EmailRecipientId null ` + -CreatedBy null ` + -IdentityCount 39 ` + -Saved true ` + -Name Saved RM Session - 07/10 ` + -DataFilePath null ` + -Id 8c190e67-87aa-4ed9-a90b-d9d5344523fb ` + -CreatedDate null ` + -ModifiedDate null ` + -Type null +``` + +- Convert the resource to JSON +```powershell +$RoleMiningSessionResponse | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RoleMiningSessionResponseCreatedBy.md b/PSSailpoint/v2024/docs/RoleMiningSessionResponseCreatedBy.md new file mode 100644 index 000000000..48a714dbc --- /dev/null +++ b/PSSailpoint/v2024/docs/RoleMiningSessionResponseCreatedBy.md @@ -0,0 +1,23 @@ +# RoleMiningSessionResponseCreatedBy +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | ID of the creator | [optional] +**DisplayName** | **String** | The display name of the creator | [optional] + +## Examples + +- Prepare the resource +```powershell +$RoleMiningSessionResponseCreatedBy = Initialize-PSSailpointV2024RoleMiningSessionResponseCreatedBy -Id 2c918090761a5aac0176215c46a62d58 ` + -DisplayName Ashley.Pierce +``` + +- Convert the resource to JSON +```powershell +$RoleMiningSessionResponseCreatedBy | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RoleMiningSessionScope.md b/PSSailpoint/v2024/docs/RoleMiningSessionScope.md new file mode 100644 index 000000000..bd42cf7ab --- /dev/null +++ b/PSSailpoint/v2024/docs/RoleMiningSessionScope.md @@ -0,0 +1,25 @@ +# RoleMiningSessionScope +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**IdentityIds** | **String[]** | The list of identities for this role mining session. | [optional] +**Criteria** | **String** | The ""search"" criteria that produces the list of identities for this role mining session. | [optional] +**AttributeFilterCriteria** | [**SystemCollectionsHashtable[]**](SystemCollectionsHashtable.md) | The filter criteria for this role mining session. | [optional] + +## Examples + +- Prepare the resource +```powershell +$RoleMiningSessionScope = Initialize-PSSailpointV2024RoleMiningSessionScope -IdentityIds [2c918090761a5aac0176215c46a62d58, 2c918090761a5aac01722015c46a62d42] ` + -Criteria source.name:DataScienceDataset ` + -AttributeFilterCriteria {displayName={untranslated=Location: Miami}, ariaLabel={untranslated=Location: Miami}, data={displayName={translateKey=IDN.IDENTITY_ATTRIBUTES.LOCATION}, name=location, operator=EQUALS, values=[Miami]}} +``` + +- Convert the resource to JSON +```powershell +$RoleMiningSessionScope | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RoleMiningSessionScopingMethod.md b/PSSailpoint/v2024/docs/RoleMiningSessionScopingMethod.md new file mode 100644 index 000000000..b50e55712 --- /dev/null +++ b/PSSailpoint/v2024/docs/RoleMiningSessionScopingMethod.md @@ -0,0 +1,20 @@ +# RoleMiningSessionScopingMethod +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$RoleMiningSessionScopingMethod = Initialize-PSSailpointV2024RoleMiningSessionScopingMethod +``` + +- Convert the resource to JSON +```powershell +$RoleMiningSessionScopingMethod | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RoleMiningSessionState.md b/PSSailpoint/v2024/docs/RoleMiningSessionState.md new file mode 100644 index 000000000..c218f0f75 --- /dev/null +++ b/PSSailpoint/v2024/docs/RoleMiningSessionState.md @@ -0,0 +1,20 @@ +# RoleMiningSessionState +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$RoleMiningSessionState = Initialize-PSSailpointV2024RoleMiningSessionState +``` + +- Convert the resource to JSON +```powershell +$RoleMiningSessionState | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RoleMiningSessionStatus.md b/PSSailpoint/v2024/docs/RoleMiningSessionStatus.md new file mode 100644 index 000000000..011e9bd72 --- /dev/null +++ b/PSSailpoint/v2024/docs/RoleMiningSessionStatus.md @@ -0,0 +1,21 @@ +# RoleMiningSessionStatus +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**State** | [**RoleMiningSessionState**](RoleMiningSessionState.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$RoleMiningSessionStatus = Initialize-PSSailpointV2024RoleMiningSessionStatus -State null +``` + +- Convert the resource to JSON +```powershell +$RoleMiningSessionStatus | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RoleSummary.md b/PSSailpoint/v2024/docs/RoleSummary.md new file mode 100644 index 000000000..e0f45b9ba --- /dev/null +++ b/PSSailpoint/v2024/docs/RoleSummary.md @@ -0,0 +1,35 @@ +# RoleSummary +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The unique ID of the referenced object. | [optional] +**Name** | **String** | The human readable name of the referenced object. | [optional] +**DisplayName** | **String** | | [optional] +**Type** | [**DtoType**](DtoType.md) | | [optional] +**Description** | **String** | | [optional] +**Owner** | [**DisplayReference**](DisplayReference.md) | | [optional] +**Disabled** | **Boolean** | | [optional] +**Revocable** | **Boolean** | | [optional] + +## Examples + +- Prepare the resource +```powershell +$RoleSummary = Initialize-PSSailpointV2024RoleSummary -Id 2c91808568c529c60168cca6f90c1313 ` + -Name John Doe ` + -DisplayName John Q. Doe ` + -Type null ` + -Description null ` + -Owner null ` + -Disabled null ` + -Revocable null +``` + +- Convert the resource to JSON +```powershell +$RoleSummary | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/RoleTargetDto.md b/PSSailpoint/v2024/docs/RoleTargetDto.md new file mode 100644 index 000000000..a3933d805 --- /dev/null +++ b/PSSailpoint/v2024/docs/RoleTargetDto.md @@ -0,0 +1,25 @@ +# RoleTargetDto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Source** | [**BaseReferenceDto1**](BaseReferenceDto1.md) | | [optional] +**AccountInfo** | [**AccountInfoDto**](AccountInfoDto.md) | | [optional] +**RoleName** | **String** | Specific role name for this target if using multiple accounts | [optional] + +## Examples + +- Prepare the resource +```powershell +$RoleTargetDto = Initialize-PSSailpointV2024RoleTargetDto -Source null ` + -AccountInfo null ` + -RoleName Marketing +``` + +- Convert the resource to JSON +```powershell +$RoleTargetDto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Rule.md b/PSSailpoint/v2024/docs/Rule.md new file mode 100644 index 000000000..14ccb1da5 --- /dev/null +++ b/PSSailpoint/v2024/docs/Rule.md @@ -0,0 +1,33 @@ +# Rule +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | This must always be set to ""Cloud Services Deployment Utility"" | +**RequiresPeriodicRefresh** | **Boolean** | A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process | [optional] +**Operation** | **String** | The operation to perform `getReferenceIdentityAttribute` | +**IncludeNumbers** | **Boolean** | This must be either ""true"" or ""false"" to indicate whether the generator logic should include numbers | +**IncludeSpecialChars** | **Boolean** | This must be either ""true"" or ""false"" to indicate whether the generator logic should include special characters | +**Length** | **String** | This specifies how long the randomly generated string needs to be >NOTE Due to identity attribute data constraints, the maximum allowable value is 450 characters | +**Uid** | **String** | This is the SailPoint User Name (uid) value of the identity whose attribute is desired As a convenience feature, you can use the `manager` keyword to dynamically look up the user's manager and then get that manager's identity attribute. | + +## Examples + +- Prepare the resource +```powershell +$Rule = Initialize-PSSailpointV2024Rule -Name Cloud Services Deployment Utility ` + -RequiresPeriodicRefresh false ` + -Operation getReferenceIdentityAttribute ` + -IncludeNumbers true ` + -IncludeSpecialChars true ` + -Length 10 ` + -Uid 2c91808570313110017040b06f344ec9 +``` + +- Convert the resource to JSON +```powershell +$Rule | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SavedSearch.md b/PSSailpoint/v2024/docs/SavedSearch.md new file mode 100644 index 000000000..5a9dc1866 --- /dev/null +++ b/PSSailpoint/v2024/docs/SavedSearch.md @@ -0,0 +1,49 @@ +# SavedSearch +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | The name of the saved search. | [optional] +**Description** | **String** | The description of the saved search. | [optional] +**Created** | **System.DateTime** | A date-time in ISO-8601 format | [optional] +**Modified** | **System.DateTime** | A date-time in ISO-8601 format | [optional] +**Indices** | [**Index[]**](Index.md) | The names of the Elasticsearch indices in which to search. | +**Columns** | [**System.Collections.Hashtable**](Array.md) | The columns to be returned (specifies the order in which they will be presented) for each document type. The currently supported document types are: _accessprofile_, _accountactivity_, _account_, _aggregation_, _entitlement_, _event_, _identity_, and _role_. | [optional] +**Query** | **String** | The search query using Elasticsearch [Query String Query](https://www.elastic.co/guide/en/elasticsearch/reference/5.2/query-dsl-query-string-query.html#query-string) syntax from the Query DSL. | +**Fields** | **String[]** | The fields to be searched against in a multi-field query. | [optional] +**OrderBy** | [**System.Collections.Hashtable**](Array.md) | Sort by index. This takes precedence over the `sort` property. | [optional] +**Sort** | **String[]** | The fields to be used to sort the search results. | [optional] +**Filters** | [**SavedSearchDetailFilters**](SavedSearchDetailFilters.md) | | [optional] +**Id** | **String** | The saved search ID. | [optional] +**Owner** | [**TypedReference**](TypedReference.md) | | [optional] +**OwnerId** | **String** | The ID of the identity that owns this saved search. | [optional] +**Public** | **Boolean** | Whether this saved search is visible to anyone but the owner. This field will always be false as there is no way to set a saved search as public at this time. | [optional] [default to $false] + +## Examples + +- Prepare the resource +```powershell +$SavedSearch = Initialize-PSSailpointV2024SavedSearch -Name Disabled accounts ` + -Description Disabled accounts ` + -Created 2018-06-25T20:22:28.104Z ` + -Modified 2018-06-25T20:22:28.104Z ` + -Indices [identities] ` + -Columns {identity=[{field=displayName, header=Display Name}, {field=e-mail, header=Work Email}]} ` + -Query @accounts(disabled:true) ` + -Fields [disabled] ` + -OrderBy {identity=[lastName, firstName], role=[name]} ` + -Sort [displayName] ` + -Filters null ` + -Id 0de46054-fe90-434a-b84e-c6b3359d0c64 ` + -Owner null ` + -OwnerId 2c91808568c529c60168cca6f90c1313 ` + -Public false +``` + +- Convert the resource to JSON +```powershell +$SavedSearch | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SavedSearchComplete.md b/PSSailpoint/v2024/docs/SavedSearchComplete.md new file mode 100644 index 000000000..ed5172d7f --- /dev/null +++ b/PSSailpoint/v2024/docs/SavedSearchComplete.md @@ -0,0 +1,33 @@ +# SavedSearchComplete +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**FileName** | **String** | A name for the report file. | +**OwnerEmail** | **String** | The email address of the identity that owns the saved search. | +**OwnerName** | **String** | The name of the identity that owns the saved search. | +**Query** | **String** | The search query that was used to generate the report. | +**SearchName** | **String** | The name of the saved search. | +**SearchResults** | [**SavedSearchCompleteSearchResults**](SavedSearchCompleteSearchResults.md) | | +**SignedS3Url** | **String** | The Amazon S3 URL to download the report from. | + +## Examples + +- Prepare the resource +```powershell +$SavedSearchComplete = Initialize-PSSailpointV2024SavedSearchComplete -FileName Modified.zip ` + -OwnerEmail test@sailpoint.com ` + -OwnerName Cloud Support ` + -Query modified:[now-7y/d TO now] ` + -SearchName Modified Activity ` + -SearchResults null ` + -SignedS3Url https://sptcbu-org-data-useast1.s3.amazonaws.com/arsenal-john/reports/Events%20Export.2020-05-06%2018%2759%20GMT.3e580592-86e4-4953-8aea-49e6ef20a086.zip?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20200506T185919Z&X-Amz-SignedHeaders=host&X-Amz-Expires=899&X-Amz-Credential=AKIAV5E54XOGTS4Q4L7A%2F20200506%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Signature=2e732bb97a12a1fd8a215613e3c31fcdae8ba1fb6a25916843ab5b51d2ddefbc +``` + +- Convert the resource to JSON +```powershell +$SavedSearchComplete | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SavedSearchCompleteSearchResults.md b/PSSailpoint/v2024/docs/SavedSearchCompleteSearchResults.md new file mode 100644 index 000000000..91366b06b --- /dev/null +++ b/PSSailpoint/v2024/docs/SavedSearchCompleteSearchResults.md @@ -0,0 +1,25 @@ +# SavedSearchCompleteSearchResults +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Account** | [**SavedSearchCompleteSearchResultsAccount**](SavedSearchCompleteSearchResultsAccount.md) | | [optional] +**Entitlement** | [**SavedSearchCompleteSearchResultsEntitlement**](SavedSearchCompleteSearchResultsEntitlement.md) | | [optional] +**Identity** | [**SavedSearchCompleteSearchResultsIdentity**](SavedSearchCompleteSearchResultsIdentity.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$SavedSearchCompleteSearchResults = Initialize-PSSailpointV2024SavedSearchCompleteSearchResults -Account null ` + -Entitlement null ` + -Identity null +``` + +- Convert the resource to JSON +```powershell +$SavedSearchCompleteSearchResults | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SavedSearchCompleteSearchResultsAccount.md b/PSSailpoint/v2024/docs/SavedSearchCompleteSearchResultsAccount.md new file mode 100644 index 000000000..7e227d16f --- /dev/null +++ b/PSSailpoint/v2024/docs/SavedSearchCompleteSearchResultsAccount.md @@ -0,0 +1,25 @@ +# SavedSearchCompleteSearchResultsAccount +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Count** | **String** | The number of rows in the table. | +**Noun** | **String** | The type of object represented in the table. | +**Preview** | [**String[][]**](Array.md) | A sample of the data in the table. | + +## Examples + +- Prepare the resource +```powershell +$SavedSearchCompleteSearchResultsAccount = Initialize-PSSailpointV2024SavedSearchCompleteSearchResultsAccount -Count 3 ` + -Noun accounts ` + -Preview null +``` + +- Convert the resource to JSON +```powershell +$SavedSearchCompleteSearchResultsAccount | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SavedSearchCompleteSearchResultsEntitlement.md b/PSSailpoint/v2024/docs/SavedSearchCompleteSearchResultsEntitlement.md new file mode 100644 index 000000000..e4de7cc7c --- /dev/null +++ b/PSSailpoint/v2024/docs/SavedSearchCompleteSearchResultsEntitlement.md @@ -0,0 +1,25 @@ +# SavedSearchCompleteSearchResultsEntitlement +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Count** | **String** | The number of rows in the table. | +**Noun** | **String** | The type of object represented in the table. | +**Preview** | [**String[][]**](Array.md) | A sample of the data in the table. | + +## Examples + +- Prepare the resource +```powershell +$SavedSearchCompleteSearchResultsEntitlement = Initialize-PSSailpointV2024SavedSearchCompleteSearchResultsEntitlement -Count 2 ` + -Noun entitlements ` + -Preview null +``` + +- Convert the resource to JSON +```powershell +$SavedSearchCompleteSearchResultsEntitlement | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SavedSearchCompleteSearchResultsIdentity.md b/PSSailpoint/v2024/docs/SavedSearchCompleteSearchResultsIdentity.md new file mode 100644 index 000000000..a6b4191ea --- /dev/null +++ b/PSSailpoint/v2024/docs/SavedSearchCompleteSearchResultsIdentity.md @@ -0,0 +1,25 @@ +# SavedSearchCompleteSearchResultsIdentity +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Count** | **String** | The number of rows in the table. | +**Noun** | **String** | The type of object represented in the table. | +**Preview** | [**String[][]**](Array.md) | A sample of the data in the table. | + +## Examples + +- Prepare the resource +```powershell +$SavedSearchCompleteSearchResultsIdentity = Initialize-PSSailpointV2024SavedSearchCompleteSearchResultsIdentity -Count 2 ` + -Noun identities ` + -Preview null +``` + +- Convert the resource to JSON +```powershell +$SavedSearchCompleteSearchResultsIdentity | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SavedSearchDetail.md b/PSSailpoint/v2024/docs/SavedSearchDetail.md new file mode 100644 index 000000000..9496aa536 --- /dev/null +++ b/PSSailpoint/v2024/docs/SavedSearchDetail.md @@ -0,0 +1,37 @@ +# SavedSearchDetail +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Created** | **System.DateTime** | A date-time in ISO-8601 format | [optional] +**Modified** | **System.DateTime** | A date-time in ISO-8601 format | [optional] +**Indices** | [**Index[]**](Index.md) | The names of the Elasticsearch indices in which to search. | +**Columns** | [**System.Collections.Hashtable**](Array.md) | The columns to be returned (specifies the order in which they will be presented) for each document type. The currently supported document types are: _accessprofile_, _accountactivity_, _account_, _aggregation_, _entitlement_, _event_, _identity_, and _role_. | [optional] +**Query** | **String** | The search query using Elasticsearch [Query String Query](https://www.elastic.co/guide/en/elasticsearch/reference/5.2/query-dsl-query-string-query.html#query-string) syntax from the Query DSL. | +**Fields** | **String[]** | The fields to be searched against in a multi-field query. | [optional] +**OrderBy** | [**System.Collections.Hashtable**](Array.md) | Sort by index. This takes precedence over the `sort` property. | [optional] +**Sort** | **String[]** | The fields to be used to sort the search results. | [optional] +**Filters** | [**SavedSearchDetailFilters**](SavedSearchDetailFilters.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$SavedSearchDetail = Initialize-PSSailpointV2024SavedSearchDetail -Created 2018-06-25T20:22:28.104Z ` + -Modified 2018-06-25T20:22:28.104Z ` + -Indices [identities] ` + -Columns {identity=[{field=displayName, header=Display Name}, {field=e-mail, header=Work Email}]} ` + -Query @accounts(disabled:true) ` + -Fields [disabled] ` + -OrderBy {identity=[lastName, firstName], role=[name]} ` + -Sort [displayName] ` + -Filters null +``` + +- Convert the resource to JSON +```powershell +$SavedSearchDetail | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SavedSearchDetailFilters.md b/PSSailpoint/v2024/docs/SavedSearchDetailFilters.md new file mode 100644 index 000000000..34cff37cc --- /dev/null +++ b/PSSailpoint/v2024/docs/SavedSearchDetailFilters.md @@ -0,0 +1,27 @@ +# SavedSearchDetailFilters +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | [**FilterType**](FilterType.md) | | [optional] +**Range** | [**Range**](Range.md) | | [optional] +**Terms** | **String[]** | The terms to be filtered. | [optional] +**Exclude** | **Boolean** | Indicates if the filter excludes results. | [optional] [default to $false] + +## Examples + +- Prepare the resource +```powershell +$SavedSearchDetailFilters = Initialize-PSSailpointV2024SavedSearchDetailFilters -Type null ` + -Range null ` + -Terms null ` + -Exclude false +``` + +- Convert the resource to JSON +```powershell +$SavedSearchDetailFilters | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SavedSearchName.md b/PSSailpoint/v2024/docs/SavedSearchName.md new file mode 100644 index 000000000..cd056cc0f --- /dev/null +++ b/PSSailpoint/v2024/docs/SavedSearchName.md @@ -0,0 +1,23 @@ +# SavedSearchName +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | The name of the saved search. | [optional] +**Description** | **String** | The description of the saved search. | [optional] + +## Examples + +- Prepare the resource +```powershell +$SavedSearchName = Initialize-PSSailpointV2024SavedSearchName -Name Disabled accounts ` + -Description Disabled accounts +``` + +- Convert the resource to JSON +```powershell +$SavedSearchName | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Schedule.md b/PSSailpoint/v2024/docs/Schedule.md new file mode 100644 index 000000000..94afe78d7 --- /dev/null +++ b/PSSailpoint/v2024/docs/Schedule.md @@ -0,0 +1,31 @@ +# Schedule +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | Determines the overall schedule cadence. In general, all time period fields smaller than the chosen type can be configured. For example, a DAILY schedule can have 'hours' set, but not 'days'; a WEEKLY schedule can have both 'hours' and 'days' set. | +**Months** | [**ScheduleMonths**](ScheduleMonths.md) | | [optional] +**Days** | [**ScheduleDays**](ScheduleDays.md) | | [optional] +**Hours** | [**ScheduleHours**](ScheduleHours.md) | | +**Expiration** | **System.DateTime** | Specifies the time after which this schedule will no longer occur. | [optional] +**TimeZoneId** | **String** | The time zone to use when running the schedule. For instance, if the schedule is scheduled to run at 1AM, and this field is set to ""CST"", the schedule will run at 1AM CST. | [optional] + +## Examples + +- Prepare the resource +```powershell +$Schedule = Initialize-PSSailpointV2024Schedule -Type WEEKLY ` + -Months null ` + -Days null ` + -Hours null ` + -Expiration null ` + -TimeZoneId CST +``` + +- Convert the resource to JSON +```powershell +$Schedule | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Schedule1.md b/PSSailpoint/v2024/docs/Schedule1.md new file mode 100644 index 000000000..b6fa1d334 --- /dev/null +++ b/PSSailpoint/v2024/docs/Schedule1.md @@ -0,0 +1,31 @@ +# Schedule1 +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | [**ScheduleType**](ScheduleType.md) | | +**Months** | [**Schedule1Months**](Schedule1Months.md) | | [optional] +**Days** | [**Schedule1Days**](Schedule1Days.md) | | [optional] +**Hours** | [**Schedule1Hours**](Schedule1Hours.md) | | +**Expiration** | **System.DateTime** | A date-time in ISO-8601 format | [optional] +**TimeZoneId** | **String** | The canonical TZ identifier the schedule will run in (ex. America/New_York). If no timezone is specified, the org's default timezone is used. | [optional] + +## Examples + +- Prepare the resource +```powershell +$Schedule1 = Initialize-PSSailpointV2024Schedule1 -Type null ` + -Months null ` + -Days null ` + -Hours null ` + -Expiration 2018-06-25T20:22:28.104Z ` + -TimeZoneId America/Chicago +``` + +- Convert the resource to JSON +```powershell +$Schedule1 | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Schedule1Days.md b/PSSailpoint/v2024/docs/Schedule1Days.md new file mode 100644 index 000000000..a7013a014 --- /dev/null +++ b/PSSailpoint/v2024/docs/Schedule1Days.md @@ -0,0 +1,25 @@ +# Schedule1Days +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | [**SelectorType**](SelectorType.md) | | +**Values** | **String[]** | The selected values. | +**Interval** | **Int32** | The selected interval for RANGE selectors. | [optional] + +## Examples + +- Prepare the resource +```powershell +$Schedule1Days = Initialize-PSSailpointV2024Schedule1Days -Type null ` + -Values [MON, WED] ` + -Interval 3 +``` + +- Convert the resource to JSON +```powershell +$Schedule1Days | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Schedule1Hours.md b/PSSailpoint/v2024/docs/Schedule1Hours.md new file mode 100644 index 000000000..220416c8a --- /dev/null +++ b/PSSailpoint/v2024/docs/Schedule1Hours.md @@ -0,0 +1,25 @@ +# Schedule1Hours +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | [**SelectorType**](SelectorType.md) | | +**Values** | **String[]** | The selected values. | +**Interval** | **Int32** | The selected interval for RANGE selectors. | [optional] + +## Examples + +- Prepare the resource +```powershell +$Schedule1Hours = Initialize-PSSailpointV2024Schedule1Hours -Type null ` + -Values [MON, WED] ` + -Interval 3 +``` + +- Convert the resource to JSON +```powershell +$Schedule1Hours | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Schedule1Months.md b/PSSailpoint/v2024/docs/Schedule1Months.md new file mode 100644 index 000000000..9121f8531 --- /dev/null +++ b/PSSailpoint/v2024/docs/Schedule1Months.md @@ -0,0 +1,25 @@ +# Schedule1Months +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | [**SelectorType**](SelectorType.md) | | +**Values** | **String[]** | The selected values. | +**Interval** | **Int32** | The selected interval for RANGE selectors. | [optional] + +## Examples + +- Prepare the resource +```powershell +$Schedule1Months = Initialize-PSSailpointV2024Schedule1Months -Type null ` + -Values [MON, WED] ` + -Interval 3 +``` + +- Convert the resource to JSON +```powershell +$Schedule1Months | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ScheduleDays.md b/PSSailpoint/v2024/docs/ScheduleDays.md new file mode 100644 index 000000000..6b63ae767 --- /dev/null +++ b/PSSailpoint/v2024/docs/ScheduleDays.md @@ -0,0 +1,25 @@ +# ScheduleDays +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | Enum type to specify days value | +**Values** | **String[]** | Values of the days based on the enum type mentioned above | +**Interval** | **Int64** | Interval between the cert generations | [optional] + +## Examples + +- Prepare the resource +```powershell +$ScheduleDays = Initialize-PSSailpointV2024ScheduleDays -Type LIST ` + -Values [1] ` + -Interval 2 +``` + +- Convert the resource to JSON +```powershell +$ScheduleDays | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ScheduleHours.md b/PSSailpoint/v2024/docs/ScheduleHours.md new file mode 100644 index 000000000..f6e460aad --- /dev/null +++ b/PSSailpoint/v2024/docs/ScheduleHours.md @@ -0,0 +1,25 @@ +# ScheduleHours +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | Enum type to specify hours value | +**Values** | **String[]** | Values of the days based on the enum type mentioned above | +**Interval** | **Int64** | Interval between the cert generations | [optional] + +## Examples + +- Prepare the resource +```powershell +$ScheduleHours = Initialize-PSSailpointV2024ScheduleHours -Type LIST ` + -Values [1] ` + -Interval 2 +``` + +- Convert the resource to JSON +```powershell +$ScheduleHours | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ScheduleMonths.md b/PSSailpoint/v2024/docs/ScheduleMonths.md new file mode 100644 index 000000000..4440e2e36 --- /dev/null +++ b/PSSailpoint/v2024/docs/ScheduleMonths.md @@ -0,0 +1,25 @@ +# ScheduleMonths +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | Enum type to specify months value | +**Values** | **String[]** | Values of the months based on the enum type mentioned above | +**Interval** | **Int64** | Interval between the cert generations | [optional] + +## Examples + +- Prepare the resource +```powershell +$ScheduleMonths = Initialize-PSSailpointV2024ScheduleMonths -Type LIST ` + -Values [1] ` + -Interval 2 +``` + +- Convert the resource to JSON +```powershell +$ScheduleMonths | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ScheduleType.md b/PSSailpoint/v2024/docs/ScheduleType.md new file mode 100644 index 000000000..932a436e0 --- /dev/null +++ b/PSSailpoint/v2024/docs/ScheduleType.md @@ -0,0 +1,20 @@ +# ScheduleType +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$ScheduleType = Initialize-PSSailpointV2024ScheduleType +``` + +- Convert the resource to JSON +```powershell +$ScheduleType | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ScheduledAttributes.md b/PSSailpoint/v2024/docs/ScheduledAttributes.md new file mode 100644 index 000000000..7dab55269 --- /dev/null +++ b/PSSailpoint/v2024/docs/ScheduledAttributes.md @@ -0,0 +1,29 @@ +# ScheduledAttributes +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**CronString** | **String** | A valid CRON expression | [optional] +**Frequency** | **String** | Frequency of execution | +**TimeZone** | **String** | Time zone identifier | [optional] +**WeeklyDays** | **String[]** | Scheduled days of the week for execution | [optional] +**WeeklyTimes** | **String[]** | Scheduled execution times | [optional] + +## Examples + +- Prepare the resource +```powershell +$ScheduledAttributes = Initialize-PSSailpointV2024ScheduledAttributes -CronString 0 9 * * 1 ` + -Frequency null ` + -TimeZone America/Chicago ` + -WeeklyDays Monday ` + -WeeklyTimes Monday +``` + +- Convert the resource to JSON +```powershell +$ScheduledAttributes | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ScheduledSearch.md b/PSSailpoint/v2024/docs/ScheduledSearch.md new file mode 100644 index 000000000..a847cecad --- /dev/null +++ b/PSSailpoint/v2024/docs/ScheduledSearch.md @@ -0,0 +1,45 @@ +# ScheduledSearch +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | The name of the scheduled search. | [optional] +**Description** | **String** | The description of the scheduled search. | [optional] +**SavedSearchId** | **String** | The ID of the saved search that will be executed. | +**Created** | **System.DateTime** | A date-time in ISO-8601 format | [optional] [readonly] +**Modified** | **System.DateTime** | A date-time in ISO-8601 format | [optional] [readonly] +**Schedule** | [**Schedule1**](Schedule1.md) | | +**Recipients** | [**SearchScheduleRecipientsInner[]**](SearchScheduleRecipientsInner.md) | A list of identities that should receive the scheduled search report via email. | +**Enabled** | **Boolean** | Indicates if the scheduled search is enabled. | [optional] [default to $false] +**EmailEmptyResults** | **Boolean** | Indicates if email generation should occur when search returns no results. | [optional] [default to $false] +**DisplayQueryDetails** | **Boolean** | Indicates if the generated email should include the query and search results preview (which could include PII). | [optional] [default to $false] +**Id** | **String** | The scheduled search ID. | [readonly] +**Owner** | [**ScheduledSearchAllOfOwner**](ScheduledSearchAllOfOwner.md) | | +**OwnerId** | **String** | The ID of the scheduled search owner. Please use the `id` in the `owner` object instead. | [readonly] + +## Examples + +- Prepare the resource +```powershell +$ScheduledSearch = Initialize-PSSailpointV2024ScheduledSearch -Name Daily disabled accounts ` + -Description Daily disabled accounts ` + -SavedSearchId 554f1511-f0a1-4744-ab14-599514d3e57c ` + -Created 2018-06-25T20:22:28.104Z ` + -Modified 2018-06-25T20:22:28.104Z ` + -Schedule null ` + -Recipients null ` + -Enabled false ` + -EmailEmptyResults false ` + -DisplayQueryDetails false ` + -Id 0de46054-fe90-434a-b84e-c6b3359d0c64 ` + -Owner null ` + -OwnerId 2c9180867624cbd7017642d8c8c81f67 +``` + +- Convert the resource to JSON +```powershell +$ScheduledSearch | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ScheduledSearchAllOfOwner.md b/PSSailpoint/v2024/docs/ScheduledSearchAllOfOwner.md new file mode 100644 index 000000000..01a4352f9 --- /dev/null +++ b/PSSailpoint/v2024/docs/ScheduledSearchAllOfOwner.md @@ -0,0 +1,23 @@ +# ScheduledSearchAllOfOwner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | The type of object being referenced | +**Id** | **String** | The ID of the referenced object | + +## Examples + +- Prepare the resource +```powershell +$ScheduledSearchAllOfOwner = Initialize-PSSailpointV2024ScheduledSearchAllOfOwner -Type IDENTITY ` + -Id 2c9180867624cbd7017642d8c8c81f67 +``` + +- Convert the resource to JSON +```powershell +$ScheduledSearchAllOfOwner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ScheduledSearchName.md b/PSSailpoint/v2024/docs/ScheduledSearchName.md new file mode 100644 index 000000000..0205a4e2d --- /dev/null +++ b/PSSailpoint/v2024/docs/ScheduledSearchName.md @@ -0,0 +1,23 @@ +# ScheduledSearchName +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | The name of the scheduled search. | [optional] +**Description** | **String** | The description of the scheduled search. | [optional] + +## Examples + +- Prepare the resource +```powershell +$ScheduledSearchName = Initialize-PSSailpointV2024ScheduledSearchName -Name Daily disabled accounts ` + -Description Daily disabled accounts +``` + +- Convert the resource to JSON +```powershell +$ScheduledSearchName | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Schema.md b/PSSailpoint/v2024/docs/Schema.md new file mode 100644 index 000000000..5f6cd72b3 --- /dev/null +++ b/PSSailpoint/v2024/docs/Schema.md @@ -0,0 +1,43 @@ +# Schema +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The id of the Schema. | [optional] +**Name** | **String** | The name of the Schema. | [optional] +**NativeObjectType** | **String** | The name of the object type on the native system that the schema represents. | [optional] +**IdentityAttribute** | **String** | The name of the attribute used to calculate the unique identifier for an object in the schema. | [optional] +**DisplayAttribute** | **String** | The name of the attribute used to calculate the display value for an object in the schema. | [optional] +**HierarchyAttribute** | **String** | The name of the attribute whose values represent other objects in a hierarchy. Only relevant to group schemas. | [optional] +**IncludePermissions** | **Boolean** | Flag indicating whether or not the include permissions with the object data when aggregating the schema. | [optional] +**Features** | **String[]** | Optional features that can be supported by a source. Modifying the features array may cause source configuration errors that are unsupportable. It is recommended to not modify this array for SailPoint supported connectors. * AUTHENTICATE: The source supports pass-through authentication. * COMPOSITE: The source supports composite source creation. * DIRECT_PERMISSIONS: The source supports returning DirectPermissions. * DISCOVER_SCHEMA: The source supports discovering schemas for users and groups. * ENABLE The source supports reading if an account is enabled or disabled. * MANAGER_LOOKUP: The source supports looking up managers as they are encountered in a feed. This is the opposite of NO_RANDOM_ACCESS. * NO_RANDOM_ACCESS: The source does not support random access and the getObject() methods should not be called and expected to perform. * PROXY: The source can serve as a proxy for another source. When an source has a proxy, all connector calls made with that source are redirected through the connector for the proxy source. * SEARCH * TEMPLATE * UNLOCK: The source supports reading if an account is locked or unlocked. * UNSTRUCTURED_TARGETS: The source supports returning unstructured Targets. * SHAREPOINT_TARGET: The source supports returning unstructured Target data for SharePoint. It will be typically used by AD, LDAP sources. * PROVISIONING: The source can both read and write accounts. Having this feature implies that the provision() method is implemented. It also means that direct and target permissions can also be provisioned if they can be returned by aggregation. * GROUP_PROVISIONING: The source can both read and write groups. Having this feature implies that the provision() method is implemented. * SYNC_PROVISIONING: The source can provision accounts synchronously. * PASSWORD: The source can provision password changes. Since sources can never read passwords, this is should only be used in conjunction with the PROVISIONING feature. * CURRENT_PASSWORD: Some source types support verification of the current password * ACCOUNT_ONLY_REQUEST: The source supports requesting accounts without entitlements. * ADDITIONAL_ACCOUNT_REQUEST: The source supports requesting additional accounts. * NO_AGGREGATION: A source that does not support aggregation. * GROUPS_HAVE_MEMBERS: The source models group memberships with a member attribute on the group object rather than a groups attribute on the account object. This effects the implementation of delta account aggregation. * NO_PERMISSIONS_PROVISIONING: Indicates that the connector cannot provision direct or target permissions for accounts. When DIRECT_PERMISSIONS and PROVISIONING features are present, it is assumed that the connector can also provision direct permissions. This feature disables that assumption and causes permission request to be converted to work items for accounts. * NO_GROUP_PERMISSIONS_PROVISIONING: Indicates that the connector cannot provision direct or target permissions for groups. When DIRECT_PERMISSIONS and PROVISIONING features are present, it is assumed that the connector can also provision direct permissions. This feature disables that assumption and causes permission request to be converted to work items for groups. * NO_UNSTRUCTURED_TARGETS_PROVISIONING: This string will be replaced by NO_GROUP_PERMISSIONS_PROVISIONING and NO_PERMISSIONS_PROVISIONING. * NO_DIRECT_PERMISSIONS_PROVISIONING: This string will be replaced by NO_GROUP_PERMISSIONS_PROVISIONING and NO_PERMISSIONS_PROVISIONING. * USES_UUID: Connectivity 2.0 flag used to indicate that the connector supports a compound naming structure. * PREFER_UUID: Used in ISC Provisioning AND Aggregation to decide if it should prefer account.uuid to account.nativeIdentity when data is read in through aggregation OR pushed out through provisioning. * ARM_SECURITY_EXTRACT: Indicates the application supports Security extracts for ARM * ARM_UTILIZATION_EXTRACT: Indicates the application supports Utilization extracts for ARM * ARM_CHANGELOG_EXTRACT: Indicates the application supports Change-log extracts for ARM | [optional] +**Configuration** | [**SystemCollectionsHashtable**](.md) | Holds any extra configuration data that the schema may require. | [optional] +**Attributes** | [**AttributeDefinition[]**](AttributeDefinition.md) | The attribute definitions which form the schema. | [optional] +**Created** | **System.DateTime** | The date the Schema was created. | [optional] +**Modified** | **System.DateTime** | The date the Schema was last modified. | [optional] + +## Examples + +- Prepare the resource +```powershell +$Schema = Initialize-PSSailpointV2024Schema -Id 2c9180835d191a86015d28455b4a2329 ` + -Name account ` + -NativeObjectType User ` + -IdentityAttribute sAMAccountName ` + -DisplayAttribute distinguishedName ` + -HierarchyAttribute memberOf ` + -IncludePermissions false ` + -Features [PROVISIONING, NO_PERMISSIONS_PROVISIONING, GROUPS_HAVE_MEMBERS] ` + -Configuration {groupMemberAttribute=member} ` + -Attributes [{name=sAMAccountName, type=STRING, isMultiValued=false, isEntitlement=false, isGroup=false}, {name=memberOf, type=STRING, schema={type=CONNECTOR_SCHEMA, id=2c9180887671ff8c01767b4671fc7d60, name=group}, description=Group membership, isMultiValued=true, isEntitlement=true, isGroup=true}] ` + -Created 2019-12-24T22:32:58.104Z ` + -Modified 2019-12-31T20:22:28.104Z +``` + +- Convert the resource to JSON +```powershell +$Schema | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Search.md b/PSSailpoint/v2024/docs/Search.md new file mode 100644 index 000000000..613036f88 --- /dev/null +++ b/PSSailpoint/v2024/docs/Search.md @@ -0,0 +1,51 @@ +# Search +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Indices** | [**Index[]**](Index.md) | The names of the Elasticsearch indices in which to search. If none are provided, then all indices will be searched. | [optional] +**QueryType** | [**QueryType**](QueryType.md) | | [optional] +**QueryVersion** | **String** | | [optional] +**Query** | [**Query**](Query.md) | | [optional] +**QueryDsl** | [**SystemCollectionsHashtable**](.md) | The search query using the Elasticsearch [Query DSL](https://www.elastic.co/guide/en/elasticsearch/reference/7.10/query-dsl.html) syntax. | [optional] +**TextQuery** | [**TextQuery**](TextQuery.md) | | [optional] +**TypeAheadQuery** | [**TypeAheadQuery**](TypeAheadQuery.md) | | [optional] +**IncludeNested** | **Boolean** | Indicates whether nested objects from returned search results should be included. | [optional] [default to $true] +**QueryResultFilter** | [**QueryResultFilter**](QueryResultFilter.md) | | [optional] +**AggregationType** | [**AggregationType**](AggregationType.md) | | [optional] +**AggregationsVersion** | **String** | | [optional] +**AggregationsDsl** | [**SystemCollectionsHashtable**](.md) | The aggregation search query using Elasticsearch [Aggregations](https://www.elastic.co/guide/en/elasticsearch/reference/5.2/search-aggregations.html) syntax. | [optional] +**Aggregations** | [**SearchAggregationSpecification**](SearchAggregationSpecification.md) | | [optional] +**Sort** | **String[]** | The fields to be used to sort the search results. Use + or - to specify the sort direction. | [optional] +**SearchAfter** | **String[]** | Used to begin the search window at the values specified. This parameter consists of the last values of the sorted fields in the current record set. This is used to expand the Elasticsearch limit of 10K records by shifting the 10K window to begin at this value. It is recommended that you always include the ID of the object in addition to any other fields on this parameter in order to ensure you don't get duplicate results while paging. For example, when searching for identities, if you are sorting by displayName you will also want to include ID, for example [""displayName"", ""id""]. If the last identity ID in the search result is 2c91808375d8e80a0175e1f88a575221 and the last displayName is ""John Doe"", then using that displayName and ID will start a new search after this identity. The searchAfter value will look like [""John Doe"",""2c91808375d8e80a0175e1f88a575221""] | [optional] +**Filters** | [**System.Collections.Hashtable**](ModelFilter.md) | The filters to be applied for each filtered field name. | [optional] + +## Examples + +- Prepare the resource +```powershell +$Search = Initialize-PSSailpointV2024Search -Indices [identities] ` + -QueryType null ` + -QueryVersion null ` + -Query null ` + -QueryDsl {match={name=john.doe}} ` + -TextQuery null ` + -TypeAheadQuery null ` + -IncludeNested true ` + -QueryResultFilter null ` + -AggregationType null ` + -AggregationsVersion null ` + -AggregationsDsl {} ` + -Aggregations null ` + -Sort [displayName, +id] ` + -SearchAfter [John Doe, 2c91808375d8e80a0175e1f88a575221] ` + -Filters {} +``` + +- Convert the resource to JSON +```powershell +$Search | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SearchAggregationSpecification.md b/PSSailpoint/v2024/docs/SearchAggregationSpecification.md new file mode 100644 index 000000000..9570c6389 --- /dev/null +++ b/PSSailpoint/v2024/docs/SearchAggregationSpecification.md @@ -0,0 +1,29 @@ +# SearchAggregationSpecification +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Nested** | [**NestedAggregation**](NestedAggregation.md) | | [optional] +**Metric** | [**MetricAggregation**](MetricAggregation.md) | | [optional] +**VarFilter** | [**FilterAggregation**](FilterAggregation.md) | | [optional] +**Bucket** | [**BucketAggregation**](BucketAggregation.md) | | [optional] +**SubAggregation** | [**SubSearchAggregationSpecification**](SubSearchAggregationSpecification.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$SearchAggregationSpecification = Initialize-PSSailpointV2024SearchAggregationSpecification -Nested null ` + -Metric null ` + -VarFilter null ` + -Bucket null ` + -SubAggregation null +``` + +- Convert the resource to JSON +```powershell +$SearchAggregationSpecification | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SearchArguments.md b/PSSailpoint/v2024/docs/SearchArguments.md new file mode 100644 index 000000000..be5d49f4e --- /dev/null +++ b/PSSailpoint/v2024/docs/SearchArguments.md @@ -0,0 +1,25 @@ +# SearchArguments +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ScheduleId** | **String** | The ID of the scheduled search that triggered the saved search execution. | [optional] +**Owner** | [**TypedReference**](TypedReference.md) | | [optional] +**Recipients** | [**TypedReference[]**](TypedReference.md) | The email recipients of the scheduled search being tested. | [optional] + +## Examples + +- Prepare the resource +```powershell +$SearchArguments = Initialize-PSSailpointV2024SearchArguments -ScheduleId 7a724640-0c17-4ce9-a8c3-4a89738459c8 ` + -Owner null ` + -Recipients null +``` + +- Convert the resource to JSON +```powershell +$SearchArguments | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SearchAttributeConfig.md b/PSSailpoint/v2024/docs/SearchAttributeConfig.md new file mode 100644 index 000000000..0f5c2b94b --- /dev/null +++ b/PSSailpoint/v2024/docs/SearchAttributeConfig.md @@ -0,0 +1,25 @@ +# SearchAttributeConfig +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | Name of the new attribute | [optional] +**DisplayName** | **String** | The display name of the new attribute | [optional] +**ApplicationAttributes** | [**SystemCollectionsHashtable**](.md) | Map of application id and their associated attribute. | [optional] + +## Examples + +- Prepare the resource +```powershell +$SearchAttributeConfig = Initialize-PSSailpointV2024SearchAttributeConfig -Name newMailAttribute ` + -DisplayName New Mail Attribute ` + -ApplicationAttributes {2c91808b79fd2422017a0b35d30f3968=employeeNumber, 2c91808b79fd2422017a0b36008f396b=employeeNumber} +``` + +- Convert the resource to JSON +```powershell +$SearchAttributeConfig | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SearchExportReportArguments.md b/PSSailpoint/v2024/docs/SearchExportReportArguments.md new file mode 100644 index 000000000..7993f3fbc --- /dev/null +++ b/PSSailpoint/v2024/docs/SearchExportReportArguments.md @@ -0,0 +1,29 @@ +# SearchExportReportArguments +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Indices** | [**Index[]**](Index.md) | The names of the Elasticsearch indices in which to search. If none are provided, then all indices will be searched. | [optional] +**Filters** | [**System.Collections.Hashtable**](ModelFilter.md) | The filters to be applied for each filtered field name. | [optional] +**Query** | [**Query**](Query.md) | | +**IncludeNested** | **Boolean** | Indicates whether nested objects from returned search results should be included. | [optional] [default to $true] +**Sort** | **String[]** | The fields to be used to sort the search results. Use + or - to specify the sort direction. | [optional] + +## Examples + +- Prepare the resource +```powershell +$SearchExportReportArguments = Initialize-PSSailpointV2024SearchExportReportArguments -Indices [entitlements] ` + -Filters {source.id={type=TERMS, terms=[2c9180897termsId780bd2920576]}, source.name.exact={type=TERMS, terms=[IdentityNow], exclude=true}} ` + -Query null ` + -IncludeNested true ` + -Sort [displayName, +id] +``` + +- Convert the resource to JSON +```powershell +$SearchExportReportArguments | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SearchFilterType.md b/PSSailpoint/v2024/docs/SearchFilterType.md new file mode 100644 index 000000000..4ed5fffed --- /dev/null +++ b/PSSailpoint/v2024/docs/SearchFilterType.md @@ -0,0 +1,20 @@ +# SearchFilterType +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$SearchFilterType = Initialize-PSSailpointV2024SearchFilterType +``` + +- Convert the resource to JSON +```powershell +$SearchFilterType | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SearchFormDefinitionsByTenant400Response.md b/PSSailpoint/v2024/docs/SearchFormDefinitionsByTenant400Response.md new file mode 100644 index 000000000..00f88b223 --- /dev/null +++ b/PSSailpoint/v2024/docs/SearchFormDefinitionsByTenant400Response.md @@ -0,0 +1,27 @@ +# SearchFormDefinitionsByTenant400Response +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**DetailCode** | **String** | | [optional] +**Messages** | [**ErrorMessage[]**](ErrorMessage.md) | | [optional] +**StatusCode** | **Int64** | | [optional] +**TrackingId** | **String** | | [optional] + +## Examples + +- Prepare the resource +```powershell +$SearchFormDefinitionsByTenant400Response = Initialize-PSSailpointV2024SearchFormDefinitionsByTenant400Response -DetailCode null ` + -Messages null ` + -StatusCode null ` + -TrackingId null +``` + +- Convert the resource to JSON +```powershell +$SearchFormDefinitionsByTenant400Response | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SearchSchedule.md b/PSSailpoint/v2024/docs/SearchSchedule.md new file mode 100644 index 000000000..a6a67d9fa --- /dev/null +++ b/PSSailpoint/v2024/docs/SearchSchedule.md @@ -0,0 +1,35 @@ +# SearchSchedule +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**SavedSearchId** | **String** | The ID of the saved search that will be executed. | +**Created** | **System.DateTime** | A date-time in ISO-8601 format | [optional] [readonly] +**Modified** | **System.DateTime** | A date-time in ISO-8601 format | [optional] [readonly] +**Schedule** | [**Schedule1**](Schedule1.md) | | +**Recipients** | [**SearchScheduleRecipientsInner[]**](SearchScheduleRecipientsInner.md) | A list of identities that should receive the scheduled search report via email. | +**Enabled** | **Boolean** | Indicates if the scheduled search is enabled. | [optional] [default to $false] +**EmailEmptyResults** | **Boolean** | Indicates if email generation should occur when search returns no results. | [optional] [default to $false] +**DisplayQueryDetails** | **Boolean** | Indicates if the generated email should include the query and search results preview (which could include PII). | [optional] [default to $false] + +## Examples + +- Prepare the resource +```powershell +$SearchSchedule = Initialize-PSSailpointV2024SearchSchedule -SavedSearchId 554f1511-f0a1-4744-ab14-599514d3e57c ` + -Created 2018-06-25T20:22:28.104Z ` + -Modified 2018-06-25T20:22:28.104Z ` + -Schedule null ` + -Recipients null ` + -Enabled false ` + -EmailEmptyResults false ` + -DisplayQueryDetails false +``` + +- Convert the resource to JSON +```powershell +$SearchSchedule | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SearchScheduleRecipientsInner.md b/PSSailpoint/v2024/docs/SearchScheduleRecipientsInner.md new file mode 100644 index 000000000..fac4b8aaf --- /dev/null +++ b/PSSailpoint/v2024/docs/SearchScheduleRecipientsInner.md @@ -0,0 +1,23 @@ +# SearchScheduleRecipientsInner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | The type of object being referenced | +**Id** | **String** | The ID of the referenced object | + +## Examples + +- Prepare the resource +```powershell +$SearchScheduleRecipientsInner = Initialize-PSSailpointV2024SearchScheduleRecipientsInner -Type IDENTITY ` + -Id 2c9180867624cbd7017642d8c8c81f67 +``` + +- Convert the resource to JSON +```powershell +$SearchScheduleRecipientsInner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SectionDetails.md b/PSSailpoint/v2024/docs/SectionDetails.md new file mode 100644 index 000000000..0561754be --- /dev/null +++ b/PSSailpoint/v2024/docs/SectionDetails.md @@ -0,0 +1,25 @@ +# SectionDetails +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | Name of the FormItem | [optional] +**Label** | **String** | Label of the section | [optional] +**FormItems** | [**SystemCollectionsHashtable[]**](SystemCollectionsHashtable.md) | List of FormItems. FormItems can be SectionDetails and/or FieldDetails | [optional] + +## Examples + +- Prepare the resource +```powershell +$SectionDetails = Initialize-PSSailpointV2024SectionDetails -Name Field1 ` + -Label Section 1 ` + -FormItems [] +``` + +- Convert the resource to JSON +```powershell +$SectionDetails | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Sed.md b/PSSailpoint/v2024/docs/Sed.md new file mode 100644 index 000000000..7d8e90232 --- /dev/null +++ b/PSSailpoint/v2024/docs/Sed.md @@ -0,0 +1,47 @@ +# Sed +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | name of the entitlement | [optional] +**ApprovedBy** | **String** | entitlement approved by | [optional] +**ApprovedType** | **String** | entitlement approved type | [optional] +**ApprovedWhen** | **System.DateTime** | entitlement approved then | [optional] +**Attribute** | **String** | entitlement attribute | [optional] +**Description** | **String** | description of entitlement | [optional] +**DisplayName** | **String** | entitlement display name | [optional] +**Id** | **String** | sed id | [optional] +**SourceId** | **String** | entitlement source id | [optional] +**SourceName** | **String** | entitlement source name | [optional] +**Status** | **String** | entitlement status | [optional] +**SuggestedDescription** | **String** | llm suggested entitlement description | [optional] +**Type** | **String** | entitlement type | [optional] +**Value** | **String** | entitlement value | [optional] + +## Examples + +- Prepare the resource +```powershell +$Sed = Initialize-PSSailpointV2024Sed -Name BatchInvoiceProcessing ` + -ApprovedBy 2c918086-76de-afbf-0176-f6d28f65565a ` + -ApprovedType admin ` + -ApprovedWhen null ` + -Attribute Role ` + -Description This entitlement allows automated processing of invoices in batches on a scheduled basis to streamline accounts payable procedures. ` + -DisplayName AWS-Cloud-Billing ` + -Id ead281ee-12a9-40ac-9534-36b5d7d65d53 ` + -SourceId 103f567b93ee49b991c40f9412f87643 ` + -SourceName IDN Salesforce ` + -Status suggested ` + -SuggestedDescription This entitlement allows automated processing of invoices in batches on a scheduled basis to streamline accounts payable ` + -Type group ` + -Value group +``` + +- Convert the resource to JSON +```powershell +$Sed | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SedApproval.md b/PSSailpoint/v2024/docs/SedApproval.md new file mode 100644 index 000000000..e80cca125 --- /dev/null +++ b/PSSailpoint/v2024/docs/SedApproval.md @@ -0,0 +1,21 @@ +# SedApproval +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Items** | **String[]** | List of SED id's | [optional] + +## Examples + +- Prepare the resource +```powershell +$SedApproval = Initialize-PSSailpointV2024SedApproval -Items 016629d1-1d25-463f-97f3-c6686846650 +``` + +- Convert the resource to JSON +```powershell +$SedApproval | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SedApprovalStatus.md b/PSSailpoint/v2024/docs/SedApprovalStatus.md new file mode 100644 index 000000000..f0ccb675e --- /dev/null +++ b/PSSailpoint/v2024/docs/SedApprovalStatus.md @@ -0,0 +1,25 @@ +# SedApprovalStatus +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**FailedReason** | **String** | failed reason will be display if status is failed | [optional] +**Id** | **String** | Sed id | [optional] +**Status** | **String** | SUCCESS | FAILED | [optional] + +## Examples + +- Prepare the resource +```powershell +$SedApprovalStatus = Initialize-PSSailpointV2024SedApprovalStatus -FailedReason invalid status ` + -Id 016629d1-1d25-463f-97f3-0c6686846650 ` + -Status SUCCESS +``` + +- Convert the resource to JSON +```powershell +$SedApprovalStatus | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SedAssignee.md b/PSSailpoint/v2024/docs/SedAssignee.md new file mode 100644 index 000000000..cd8a08974 --- /dev/null +++ b/PSSailpoint/v2024/docs/SedAssignee.md @@ -0,0 +1,23 @@ +# SedAssignee +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | Type of assignment When value is PERSONA, the value MUST be SOURCE_OWNER or ENTITLEMENT_OWNER IDENTITY SED_ASSIGNEE_IDENTITY_TYPE GROUP SED_ASSIGNEE_GROUP_TYPE SOURCE_OWNER SED_ASSIGNEE_SOURCE_OWNER_TYPE ENTITLEMENT_OWNER SED_ASSIGNEE_ENTITLEMENT_OWNER_TYPE | +**Value** | **String** | Identity or Group identifier Empty when using source/entitlement owner personas | [optional] + +## Examples + +- Prepare the resource +```powershell +$SedAssignee = Initialize-PSSailpointV2024SedAssignee -Type SOURCE_OWNER ` + -Value 016629d1-1d25-463f-97f3-c6686846650 +``` + +- Convert the resource to JSON +```powershell +$SedAssignee | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SedAssignment.md b/PSSailpoint/v2024/docs/SedAssignment.md new file mode 100644 index 000000000..e06e945ac --- /dev/null +++ b/PSSailpoint/v2024/docs/SedAssignment.md @@ -0,0 +1,23 @@ +# SedAssignment +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Assignee** | [**SedAssignee**](SedAssignee.md) | | [optional] +**Items** | **String[]** | List of SED id's | [optional] + +## Examples + +- Prepare the resource +```powershell +$SedAssignment = Initialize-PSSailpointV2024SedAssignment -Assignee null ` + -Items null +``` + +- Convert the resource to JSON +```powershell +$SedAssignment | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SedAssignmentResponse.md b/PSSailpoint/v2024/docs/SedAssignmentResponse.md new file mode 100644 index 000000000..f9f7938ff --- /dev/null +++ b/PSSailpoint/v2024/docs/SedAssignmentResponse.md @@ -0,0 +1,21 @@ +# SedAssignmentResponse +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**BatchId** | **String** | BatchId that groups all the ids together | [optional] + +## Examples + +- Prepare the resource +```powershell +$SedAssignmentResponse = Initialize-PSSailpointV2024SedAssignmentResponse -BatchId 016629d1-1d25-463f-97f3-0c6686846650 +``` + +- Convert the resource to JSON +```powershell +$SedAssignmentResponse | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SedBatchRequest.md b/PSSailpoint/v2024/docs/SedBatchRequest.md new file mode 100644 index 000000000..310be859f --- /dev/null +++ b/PSSailpoint/v2024/docs/SedBatchRequest.md @@ -0,0 +1,21 @@ +# SedBatchRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Entitlements** | **String[]** | list of entitlement ids | [optional] + +## Examples + +- Prepare the resource +```powershell +$SedBatchRequest = Initialize-PSSailpointV2024SedBatchRequest -Entitlements null +``` + +- Convert the resource to JSON +```powershell +$SedBatchRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SedBatchResponse.md b/PSSailpoint/v2024/docs/SedBatchResponse.md new file mode 100644 index 000000000..13caaf923 --- /dev/null +++ b/PSSailpoint/v2024/docs/SedBatchResponse.md @@ -0,0 +1,21 @@ +# SedBatchResponse +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**BatchId** | **String** | BatchId that groups all the ids together | [optional] + +## Examples + +- Prepare the resource +```powershell +$SedBatchResponse = Initialize-PSSailpointV2024SedBatchResponse -BatchId 016629d1-1d25-463f-97f3-0c6686846650 +``` + +- Convert the resource to JSON +```powershell +$SedBatchResponse | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SedBatchStats.md b/PSSailpoint/v2024/docs/SedBatchStats.md new file mode 100644 index 000000000..afa76c7a2 --- /dev/null +++ b/PSSailpoint/v2024/docs/SedBatchStats.md @@ -0,0 +1,29 @@ +# SedBatchStats +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**BatchComplete** | **Boolean** | batch complete | [optional] [default to $false] +**BatchId** | **String** | batch Id | [optional] +**DiscoveredCount** | **Int64** | discovered count | [optional] +**DiscoveryComplete** | **Boolean** | discovery complete | [optional] [default to $false] +**ProcessedCount** | **Int64** | processed count | [optional] + +## Examples + +- Prepare the resource +```powershell +$SedBatchStats = Initialize-PSSailpointV2024SedBatchStats -BatchComplete true ` + -BatchId 016629d1-1d25-463f-97f3-0c6686846650 ` + -DiscoveredCount 100 ` + -DiscoveryComplete true ` + -ProcessedCount 100 +``` + +- Convert the resource to JSON +```powershell +$SedBatchStats | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SedBatchStatus.md b/PSSailpoint/v2024/docs/SedBatchStatus.md new file mode 100644 index 000000000..d383b3565 --- /dev/null +++ b/PSSailpoint/v2024/docs/SedBatchStatus.md @@ -0,0 +1,21 @@ +# SedBatchStatus +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | **String** | status of batch | [optional] + +## Examples + +- Prepare the resource +```powershell +$SedBatchStatus = Initialize-PSSailpointV2024SedBatchStatus -Status OK +``` + +- Convert the resource to JSON +```powershell +$SedBatchStatus | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SedPatch.md b/PSSailpoint/v2024/docs/SedPatch.md new file mode 100644 index 000000000..58b81ac64 --- /dev/null +++ b/PSSailpoint/v2024/docs/SedPatch.md @@ -0,0 +1,25 @@ +# SedPatch +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Op** | **String** | desired operation | [optional] +**Path** | **String** | field to be patched | [optional] +**Value** | [**SystemCollectionsHashtable**](.md) | value to replace with | [optional] + +## Examples + +- Prepare the resource +```powershell +$SedPatch = Initialize-PSSailpointV2024SedPatch -Op replace ` + -Path status ` + -Value approved +``` + +- Convert the resource to JSON +```powershell +$SedPatch | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Segment.md b/PSSailpoint/v2024/docs/Segment.md new file mode 100644 index 000000000..e4c66a614 --- /dev/null +++ b/PSSailpoint/v2024/docs/Segment.md @@ -0,0 +1,35 @@ +# Segment +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The segment's ID. | [optional] +**Name** | **String** | The segment's business name. | [optional] +**Created** | **System.DateTime** | The time when the segment is created. | [optional] +**Modified** | **System.DateTime** | The time when the segment is modified. | [optional] +**Description** | **String** | The segment's optional description. | [optional] +**Owner** | [**OwnerReferenceSegments**](OwnerReferenceSegments.md) | | [optional] +**VisibilityCriteria** | [**SegmentVisibilityCriteria**](SegmentVisibilityCriteria.md) | | [optional] +**Active** | **Boolean** | This boolean indicates whether the segment is currently active. Inactive segments have no effect. | [optional] [default to $false] + +## Examples + +- Prepare the resource +```powershell +$Segment = Initialize-PSSailpointV2024Segment -Id 0f11f2a4-7c94-4bf3-a2bd-742580fe3bde ` + -Name segment-xyz ` + -Created 2020-01-01T00:00Z ` + -Modified 2020-01-01T00:00Z ` + -Description This segment represents xyz ` + -Owner null ` + -VisibilityCriteria null ` + -Active true +``` + +- Convert the resource to JSON +```powershell +$Segment | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SegmentVisibilityCriteria.md b/PSSailpoint/v2024/docs/SegmentVisibilityCriteria.md new file mode 100644 index 000000000..9cc49ddaf --- /dev/null +++ b/PSSailpoint/v2024/docs/SegmentVisibilityCriteria.md @@ -0,0 +1,21 @@ +# SegmentVisibilityCriteria +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Expression** | [**Expression**](Expression.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$SegmentVisibilityCriteria = Initialize-PSSailpointV2024SegmentVisibilityCriteria -Expression null +``` + +- Convert the resource to JSON +```powershell +$SegmentVisibilityCriteria | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Selector.md b/PSSailpoint/v2024/docs/Selector.md new file mode 100644 index 000000000..7a0dc2e04 --- /dev/null +++ b/PSSailpoint/v2024/docs/Selector.md @@ -0,0 +1,25 @@ +# Selector +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | [**SelectorType**](SelectorType.md) | | +**Values** | **String[]** | The selected values. | +**Interval** | **Int32** | The selected interval for RANGE selectors. | [optional] + +## Examples + +- Prepare the resource +```powershell +$Selector = Initialize-PSSailpointV2024Selector -Type null ` + -Values [MON, WED] ` + -Interval 3 +``` + +- Convert the resource to JSON +```powershell +$Selector | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SelectorType.md b/PSSailpoint/v2024/docs/SelectorType.md new file mode 100644 index 000000000..1f8c29def --- /dev/null +++ b/PSSailpoint/v2024/docs/SelectorType.md @@ -0,0 +1,20 @@ +# SelectorType +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$SelectorType = Initialize-PSSailpointV2024SelectorType +``` + +- Convert the resource to JSON +```powershell +$SelectorType | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SelfImportExportDto.md b/PSSailpoint/v2024/docs/SelfImportExportDto.md new file mode 100644 index 000000000..f5f3533f6 --- /dev/null +++ b/PSSailpoint/v2024/docs/SelfImportExportDto.md @@ -0,0 +1,25 @@ +# SelfImportExportDto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | Imported/exported object's DTO type. Import is currently only possible with the IDENTITY_OBJECT_CONFIG, IDENTITY_PROFILE, RULE, SOURCE, TRANSFORM, and TRIGGER_SUBSCRIPTION object types. | [optional] +**Id** | **String** | Imported/exported object's ID. | [optional] +**Name** | **String** | Imported/exported object's display name. | [optional] + +## Examples + +- Prepare the resource +```powershell +$SelfImportExportDto = Initialize-PSSailpointV2024SelfImportExportDto -Type SOURCE ` + -Id 2c9180835d191a86015d28455b4b232a ` + -Name HR Active Directory +``` + +- Convert the resource to JSON +```powershell +$SelfImportExportDto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SendTestNotificationRequestDto.md b/PSSailpoint/v2024/docs/SendTestNotificationRequestDto.md new file mode 100644 index 000000000..d630265a8 --- /dev/null +++ b/PSSailpoint/v2024/docs/SendTestNotificationRequestDto.md @@ -0,0 +1,25 @@ +# SendTestNotificationRequestDto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Key** | **String** | The template notification key. | [optional] +**Medium** | **String** | The notification medium. Has to be one of the following enum values. | [optional] +**Context** | [**SystemCollectionsHashtable**](.md) | A Json object that denotes the context specific to the template. | [optional] + +## Examples + +- Prepare the resource +```powershell +$SendTestNotificationRequestDto = Initialize-PSSailpointV2024SendTestNotificationRequestDto -Key cloud_manual_work_item_summary ` + -Medium null ` + -Context null +``` + +- Convert the resource to JSON +```powershell +$SendTestNotificationRequestDto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ServiceDeskIntegrationDto.md b/PSSailpoint/v2024/docs/ServiceDeskIntegrationDto.md new file mode 100644 index 000000000..5db5e5ee7 --- /dev/null +++ b/PSSailpoint/v2024/docs/ServiceDeskIntegrationDto.md @@ -0,0 +1,45 @@ +# ServiceDeskIntegrationDto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Unique identifier for the Service Desk integration | [optional] +**Name** | **String** | Service Desk integration's name. The name must be unique. | +**Created** | **System.DateTime** | The date and time the Service Desk integration was created | [optional] +**Modified** | **System.DateTime** | The date and time the Service Desk integration was last modified | [optional] +**Description** | **String** | Service Desk integration's description. | +**Type** | **String** | Service Desk integration types: - ServiceNowSDIM - ServiceNow | [default to "ServiceNowSDIM"] +**OwnerRef** | [**OwnerDto**](OwnerDto.md) | | [optional] +**ClusterRef** | [**SourceClusterDto**](SourceClusterDto.md) | | [optional] +**Cluster** | **String** | Cluster ID for the Service Desk integration (replaced by clusterRef, retained for backward compatibility). | [optional] +**ManagedSources** | **String[]** | Source IDs for the Service Desk integration (replaced by provisioningConfig.managedSResourceRefs, but retained here for backward compatibility). | [optional] +**ProvisioningConfig** | [**ProvisioningConfig**](ProvisioningConfig.md) | | [optional] +**Attributes** | [**System.Collections.Hashtable**](AnyType.md) | Service Desk integration's attributes. Validation constraints enforced by the implementation. | +**BeforeProvisioningRule** | [**BeforeProvisioningRuleDto**](BeforeProvisioningRuleDto.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$ServiceDeskIntegrationDto = Initialize-PSSailpointV2024ServiceDeskIntegrationDto -Id 62945a496ef440189b1f03e3623411c8 ` + -Name Service Desk Integration Name ` + -Created 2024-01-17T18:45:25.994Z ` + -Modified 2024-02-18T18:45:25.994Z ` + -Description A very nice Service Desk integration ` + -Type ServiceNowSDIM ` + -OwnerRef null ` + -ClusterRef null ` + -Cluster xyzzy999 ` + -ManagedSources [2c9180835d191a86015d28455b4a2329, 2c5680835d191a85765d28455b4a9823] ` + -ProvisioningConfig null ` + -Attributes {property=value, key=value} ` + -BeforeProvisioningRule null +``` + +- Convert the resource to JSON +```powershell +$ServiceDeskIntegrationDto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ServiceDeskIntegrationDto1.md b/PSSailpoint/v2024/docs/ServiceDeskIntegrationDto1.md new file mode 100644 index 000000000..914ffe12f --- /dev/null +++ b/PSSailpoint/v2024/docs/ServiceDeskIntegrationDto1.md @@ -0,0 +1,39 @@ +# ServiceDeskIntegrationDto1 +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | Service Desk integration's name. The name must be unique. | +**Description** | **String** | Service Desk integration's description. | +**Type** | **String** | Service Desk integration types: - ServiceNowSDIM - ServiceNow | [default to "ServiceNowSDIM"] +**OwnerRef** | [**OwnerDto**](OwnerDto.md) | | [optional] +**ClusterRef** | [**SourceClusterDto**](SourceClusterDto.md) | | [optional] +**Cluster** | **String** | Cluster ID for the Service Desk integration (replaced by clusterRef, retained for backward compatibility). | [optional] +**ManagedSources** | **String[]** | Source IDs for the Service Desk integration (replaced by provisioningConfig.managedSResourceRefs, but retained here for backward compatibility). | [optional] +**ProvisioningConfig** | [**ProvisioningConfig1**](ProvisioningConfig1.md) | | [optional] +**Attributes** | [**System.Collections.Hashtable**](AnyType.md) | Service Desk integration's attributes. Validation constraints enforced by the implementation. | +**BeforeProvisioningRule** | [**BeforeProvisioningRuleDto**](BeforeProvisioningRuleDto.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$ServiceDeskIntegrationDto1 = Initialize-PSSailpointV2024ServiceDeskIntegrationDto1 -Name Service Desk Integration Name ` + -Description A very nice Service Desk integration ` + -Type ServiceNowSDIM ` + -OwnerRef null ` + -ClusterRef null ` + -Cluster xyzzy999 ` + -ManagedSources [2c9180835d191a86015d28455b4a2329, 2c5680835d191a85765d28455b4a9823] ` + -ProvisioningConfig null ` + -Attributes {property=value, key=value} ` + -BeforeProvisioningRule null +``` + +- Convert the resource to JSON +```powershell +$ServiceDeskIntegrationDto1 | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ServiceDeskIntegrationTemplateDto.md b/PSSailpoint/v2024/docs/ServiceDeskIntegrationTemplateDto.md new file mode 100644 index 000000000..d4858d08c --- /dev/null +++ b/PSSailpoint/v2024/docs/ServiceDeskIntegrationTemplateDto.md @@ -0,0 +1,33 @@ +# ServiceDeskIntegrationTemplateDto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | System-generated unique ID of the Object | [optional] [readonly] +**Name** | **String** | Name of the Object | +**Created** | **System.DateTime** | Creation date of the Object | [optional] [readonly] +**Modified** | **System.DateTime** | Last modification date of the Object | [optional] [readonly] +**Type** | **String** | The 'type' property specifies the type of the Service Desk integration template. | [default to "Web Service SDIM"] +**Attributes** | [**System.Collections.Hashtable**](AnyType.md) | The 'attributes' property value is a map of attributes available for integrations using this Service Desk integration template. | +**ProvisioningConfig** | [**ProvisioningConfig**](ProvisioningConfig.md) | | + +## Examples + +- Prepare the resource +```powershell +$ServiceDeskIntegrationTemplateDto = Initialize-PSSailpointV2024ServiceDeskIntegrationTemplateDto -Id id12345 ` + -Name aName ` + -Created 2015-05-28T14:07:17Z ` + -Modified 2015-05-28T14:07:17Z ` + -Type Web Service SDIM ` + -Attributes {property=value, key=value} ` + -ProvisioningConfig null +``` + +- Convert the resource to JSON +```powershell +$ServiceDeskIntegrationTemplateDto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ServiceDeskIntegrationTemplateType.md b/PSSailpoint/v2024/docs/ServiceDeskIntegrationTemplateType.md new file mode 100644 index 000000000..ae914711c --- /dev/null +++ b/PSSailpoint/v2024/docs/ServiceDeskIntegrationTemplateType.md @@ -0,0 +1,25 @@ +# ServiceDeskIntegrationTemplateType +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | This is the name of the type. | [optional] +**Type** | **String** | This is the type value for the type. | +**ScriptName** | **String** | This is the scriptName attribute value for the type. | + +## Examples + +- Prepare the resource +```powershell +$ServiceDeskIntegrationTemplateType = Initialize-PSSailpointV2024ServiceDeskIntegrationTemplateType -Name aName ` + -Type aType ` + -ScriptName aScriptName +``` + +- Convert the resource to JSON +```powershell +$ServiceDeskIntegrationTemplateType | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ServiceDeskSource.md b/PSSailpoint/v2024/docs/ServiceDeskSource.md new file mode 100644 index 000000000..70682230e --- /dev/null +++ b/PSSailpoint/v2024/docs/ServiceDeskSource.md @@ -0,0 +1,25 @@ +# ServiceDeskSource +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | DTO type of source for service desk integration template. | [optional] +**Id** | **String** | ID of source for service desk integration template. | [optional] +**Name** | **String** | Human-readable name of source for service desk integration template. | [optional] + +## Examples + +- Prepare the resource +```powershell +$ServiceDeskSource = Initialize-PSSailpointV2024ServiceDeskSource -Type SOURCE ` + -Id 2c9180835d191a86015d28455b4b232a ` + -Name HR Active Directory +``` + +- Convert the resource to JSON +```powershell +$ServiceDeskSource | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SetIcon200Response.md b/PSSailpoint/v2024/docs/SetIcon200Response.md new file mode 100644 index 000000000..67b9a737e --- /dev/null +++ b/PSSailpoint/v2024/docs/SetIcon200Response.md @@ -0,0 +1,21 @@ +# SetIcon200Response +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Icon** | **String** | url to file with icon | [optional] + +## Examples + +- Prepare the resource +```powershell +$SetIcon200Response = Initialize-PSSailpointV2024SetIcon200Response -Icon +``` + +- Convert the resource to JSON +```powershell +$SetIcon200Response | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SetIconRequest.md b/PSSailpoint/v2024/docs/SetIconRequest.md new file mode 100644 index 000000000..067b5884e --- /dev/null +++ b/PSSailpoint/v2024/docs/SetIconRequest.md @@ -0,0 +1,21 @@ +# SetIconRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Image** | **System.IO.FileInfo** | file with icon. Allowed mime-types ['image/png', 'image/jpeg'] | + +## Examples + +- Prepare the resource +```powershell +$SetIconRequest = Initialize-PSSailpointV2024SetIconRequest -Image \x00\x00\x00\x02 +``` + +- Convert the resource to JSON +```powershell +$SetIconRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SetLifecycleState200Response.md b/PSSailpoint/v2024/docs/SetLifecycleState200Response.md new file mode 100644 index 000000000..a14dd5a3e --- /dev/null +++ b/PSSailpoint/v2024/docs/SetLifecycleState200Response.md @@ -0,0 +1,21 @@ +# SetLifecycleState200Response +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AccountActivityId** | **String** | ID of the IdentityRequest object that is generated when the workflow launches. To follow the IdentityRequest, you can provide this ID with a [Get Account Activity request](https://developer.sailpoint.com/docs/api/v3/get-account-activity/). The response will contain relevant information about the IdentityRequest, such as its status. | [optional] + +## Examples + +- Prepare the resource +```powershell +$SetLifecycleState200Response = Initialize-PSSailpointV2024SetLifecycleState200Response -AccountActivityId 2c9180837ab5b716017ab7c6c9ef1e20 +``` + +- Convert the resource to JSON +```powershell +$SetLifecycleState200Response | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SetLifecycleStateRequest.md b/PSSailpoint/v2024/docs/SetLifecycleStateRequest.md new file mode 100644 index 000000000..8c7eb3572 --- /dev/null +++ b/PSSailpoint/v2024/docs/SetLifecycleStateRequest.md @@ -0,0 +1,21 @@ +# SetLifecycleStateRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**LifecycleStateId** | **String** | ID of the lifecycle state to set. | [optional] + +## Examples + +- Prepare the resource +```powershell +$SetLifecycleStateRequest = Initialize-PSSailpointV2024SetLifecycleStateRequest -LifecycleStateId 2c9180877a86e408017a8c19fefe046c +``` + +- Convert the resource to JSON +```powershell +$SetLifecycleStateRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SimIntegrationDetails.md b/PSSailpoint/v2024/docs/SimIntegrationDetails.md new file mode 100644 index 000000000..588999fdf --- /dev/null +++ b/PSSailpoint/v2024/docs/SimIntegrationDetails.md @@ -0,0 +1,43 @@ +# SimIntegrationDetails +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | System-generated unique ID of the Object | [optional] [readonly] +**Name** | **String** | Name of the Object | +**Created** | **System.DateTime** | Creation date of the Object | [optional] [readonly] +**Modified** | **System.DateTime** | Last modification date of the Object | [optional] [readonly] +**Description** | **String** | The description of the integration | [optional] +**Type** | **String** | The integration type | [optional] +**Attributes** | [**SystemCollectionsHashtable**](.md) | The attributes map containing the credentials used to configure the integration. | [optional] +**Sources** | **String[]** | The list of sources (managed resources) | [optional] +**Cluster** | **String** | The cluster/proxy | [optional] +**StatusMap** | [**SystemCollectionsHashtable**](.md) | Custom mapping between the integration result and the provisioning result | [optional] +**Request** | [**SystemCollectionsHashtable**](.md) | Request data to customize desc and body of the created ticket | [optional] +**BeforeProvisioningRule** | [**SimIntegrationDetailsAllOfBeforeProvisioningRule**](SimIntegrationDetailsAllOfBeforeProvisioningRule.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$SimIntegrationDetails = Initialize-PSSailpointV2024SimIntegrationDetails -Id id12345 ` + -Name aName ` + -Created 2023-01-03T21:16:22.432Z ` + -Modified 2023-01-03T21:16:22.432Z ` + -Description Integration description ` + -Type ServiceNow Service Desk ` + -Attributes {"uid":"Walter White","firstname":"walter","cloudStatus":"UNREGISTERED","displayName":"Walter White","identificationNumber":"942","lastSyncDate":1470348809380,"email":"walter@gmail.com","lastname":"white"} ` + -Sources [2c9180835d191a86015d28455b4a2329, 2c5680835d191a85765d28455b4a9823] ` + -Cluster xyzzy999 ` + -StatusMap {closed_cancelled=Failed, closed_complete=Committed, closed_incomplete=Failed, closed_rejected=Failed, in_process=Queued, requested=Queued} ` + -Request {description=SailPoint Access Request,, req_description=The Service Request created by SailPoint ServiceNow Service Integration Module (SIM).,, req_short_description=SailPoint New Access Request Created from IdentityNow,, short_description=SailPoint Access Request $!plan.arguments.identityRequestId} ` + -BeforeProvisioningRule null +``` + +- Convert the resource to JSON +```powershell +$SimIntegrationDetails | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SimIntegrationDetailsAllOfBeforeProvisioningRule.md b/PSSailpoint/v2024/docs/SimIntegrationDetailsAllOfBeforeProvisioningRule.md new file mode 100644 index 000000000..0e6638bba --- /dev/null +++ b/PSSailpoint/v2024/docs/SimIntegrationDetailsAllOfBeforeProvisioningRule.md @@ -0,0 +1,25 @@ +# SimIntegrationDetailsAllOfBeforeProvisioningRule +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | [**DtoType**](DtoType.md) | | [optional] +**Id** | **String** | ID of the rule | [optional] +**Name** | **String** | Human-readable display name of the rule | [optional] + +## Examples + +- Prepare the resource +```powershell +$SimIntegrationDetailsAllOfBeforeProvisioningRule = Initialize-PSSailpointV2024SimIntegrationDetailsAllOfBeforeProvisioningRule -Type null ` + -Id 2c918085708c274401708c2a8a760001 ` + -Name Example Rule +``` + +- Convert the resource to JSON +```powershell +$SimIntegrationDetailsAllOfBeforeProvisioningRule | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SlimCampaign.md b/PSSailpoint/v2024/docs/SlimCampaign.md new file mode 100644 index 000000000..d5e3ba8ed --- /dev/null +++ b/PSSailpoint/v2024/docs/SlimCampaign.md @@ -0,0 +1,47 @@ +# SlimCampaign +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Id of the campaign | [optional] [readonly] +**Name** | **String** | The campaign name. If this object is part of a template, special formatting applies; see the `/campaign-templates/{id}/generate` endpoint documentation for details. | +**Description** | **String** | The campaign description. If this object is part of a template, special formatting applies; see the `/campaign-templates/{id}/generate` endpoint documentation for details. | +**Deadline** | **System.DateTime** | The campaign's completion deadline. This date must be in the future in order to activate the campaign. If you try to activate a campaign with a deadline of today or in the past, you will receive a 400 error response. | [optional] +**Type** | **String** | The type of campaign. Could be extended in the future. | +**EmailNotificationEnabled** | **Boolean** | Enables email notification for this campaign | [optional] [default to $false] +**AutoRevokeAllowed** | **Boolean** | Allows auto revoke for this campaign | [optional] [default to $false] +**RecommendationsEnabled** | **Boolean** | Enables IAI for this campaign. Accepts true even if the IAI product feature is off. If IAI is turned off then campaigns generated from this template will indicate false. The real value will then be returned if IAI is ever enabled for the org in the future. | [optional] [default to $false] +**Status** | **String** | The campaign's current status. | [optional] [readonly] +**CorrelatedStatus** | **String** | The correlatedStatus of the campaign. Only SOURCE_OWNER campaigns can be Uncorrelated. An Uncorrelated certification campaign only includes Uncorrelated identities (An identity is uncorrelated if it has no accounts on an authoritative source). | [optional] +**Created** | **System.DateTime** | Created time of the campaign | [optional] [readonly] +**TotalCertifications** | **Int32** | The total number of certifications in this campaign. | [optional] [readonly] +**CompletedCertifications** | **Int32** | The number of completed certifications in this campaign. | [optional] [readonly] +**Alerts** | [**CampaignAlert[]**](CampaignAlert.md) | A list of errors and warnings that have accumulated. | [optional] [readonly] + +## Examples + +- Prepare the resource +```powershell +$SlimCampaign = Initialize-PSSailpointV2024SlimCampaign -Id 2c9079b270a266a60170a2779fcb0007 ` + -Name Manager Campaign ` + -Description Everyone needs to be reviewed by their manager ` + -Deadline 2020-03-15T10:00:01.456Z ` + -Type MANAGER ` + -EmailNotificationEnabled false ` + -AutoRevokeAllowed false ` + -RecommendationsEnabled true ` + -Status ACTIVE ` + -CorrelatedStatus CORRELATED ` + -Created 2020-03-03T22:15:13.611Z ` + -TotalCertifications 100 ` + -CompletedCertifications 10 ` + -Alerts null +``` + +- Convert the resource to JSON +```powershell +$SlimCampaign | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SodExemptCriteria.md b/PSSailpoint/v2024/docs/SodExemptCriteria.md new file mode 100644 index 000000000..0c1faa3c8 --- /dev/null +++ b/PSSailpoint/v2024/docs/SodExemptCriteria.md @@ -0,0 +1,27 @@ +# SodExemptCriteria +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Existing** | **Boolean** | If the entitlement already belonged to the user or not. | [optional] [default to $false] +**Type** | [**DtoType**](DtoType.md) | | [optional] +**Id** | **String** | Entitlement ID | [optional] +**Name** | **String** | Entitlement name | [optional] + +## Examples + +- Prepare the resource +```powershell +$SodExemptCriteria = Initialize-PSSailpointV2024SodExemptCriteria -Existing true ` + -Type null ` + -Id 2c918085771e9d3301773b3cb66f6398 ` + -Name My HR Entitlement +``` + +- Convert the resource to JSON +```powershell +$SodExemptCriteria | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SodPolicy.md b/PSSailpoint/v2024/docs/SodPolicy.md new file mode 100644 index 000000000..a53a8fbb6 --- /dev/null +++ b/PSSailpoint/v2024/docs/SodPolicy.md @@ -0,0 +1,55 @@ +# SodPolicy +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Policy id | [optional] [readonly] +**Name** | **String** | Policy Business Name | [optional] +**Created** | **System.DateTime** | The time when this SOD policy is created. | [optional] [readonly] +**Modified** | **System.DateTime** | The time when this SOD policy is modified. | [optional] [readonly] +**Description** | **String** | Optional description of the SOD policy | [optional] +**OwnerRef** | [**SodPolicyOwnerRef**](SodPolicyOwnerRef.md) | | [optional] +**ExternalPolicyReference** | **String** | Optional External Policy Reference | [optional] +**PolicyQuery** | **String** | Search query of the SOD policy | [optional] +**CompensatingControls** | **String** | Optional compensating controls(Mitigating Controls) | [optional] +**CorrectionAdvice** | **String** | Optional correction advice | [optional] +**State** | **String** | whether the policy is enforced or not | [optional] +**Tags** | **String[]** | tags for this policy object | [optional] +**CreatorId** | **String** | Policy's creator ID | [optional] [readonly] +**ModifierId** | **String** | Policy's modifier ID | [optional] [readonly] +**ViolationOwnerAssignmentConfig** | [**ViolationOwnerAssignmentConfig**](ViolationOwnerAssignmentConfig.md) | | [optional] +**Scheduled** | **Boolean** | defines whether a policy has been scheduled or not | [optional] [default to $false] +**Type** | **String** | whether a policy is query based or conflicting access based | [optional] [default to "GENERAL"] +**ConflictingAccessCriteria** | [**SodPolicyConflictingAccessCriteria**](SodPolicyConflictingAccessCriteria.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$SodPolicy = Initialize-PSSailpointV2024SodPolicy -Id 0f11f2a4-7c94-4bf3-a2bd-742580fe3bde ` + -Name policy-xyz ` + -Created 2020-01-01T00:00Z ` + -Modified 2020-01-01T00:00Z ` + -Description This policy ensures compliance of xyz ` + -OwnerRef null ` + -ExternalPolicyReference XYZ policy ` + -PolicyQuery @access(id:0f11f2a4-7c94-4bf3-a2bd-742580fe3bdg) AND @access(id:0f11f2a4-7c94-4bf3-a2bd-742580fe3bdf) ` + -CompensatingControls Have a manager review the transaction decisions for their "out of compliance" employee ` + -CorrectionAdvice Based on the role of the employee, managers should remove access that is not required for their job function. ` + -State ENFORCED ` + -Tags [TAG1, TAG2] ` + -CreatorId 0f11f2a4-7c94-4bf3-a2bd-742580fe3bde ` + -ModifierId 0f11f2a4-7c94-4bf3-a2bd-742580fe3bde ` + -ViolationOwnerAssignmentConfig null ` + -Scheduled true ` + -Type GENERAL ` + -ConflictingAccessCriteria null +``` + +- Convert the resource to JSON +```powershell +$SodPolicy | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SodPolicyConflictingAccessCriteria.md b/PSSailpoint/v2024/docs/SodPolicyConflictingAccessCriteria.md new file mode 100644 index 000000000..83289a73a --- /dev/null +++ b/PSSailpoint/v2024/docs/SodPolicyConflictingAccessCriteria.md @@ -0,0 +1,23 @@ +# SodPolicyConflictingAccessCriteria +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**LeftCriteria** | [**AccessCriteria**](AccessCriteria.md) | | [optional] +**RightCriteria** | [**AccessCriteria**](AccessCriteria.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$SodPolicyConflictingAccessCriteria = Initialize-PSSailpointV2024SodPolicyConflictingAccessCriteria -LeftCriteria null ` + -RightCriteria null +``` + +- Convert the resource to JSON +```powershell +$SodPolicyConflictingAccessCriteria | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SodPolicyDto.md b/PSSailpoint/v2024/docs/SodPolicyDto.md new file mode 100644 index 000000000..896fa05e4 --- /dev/null +++ b/PSSailpoint/v2024/docs/SodPolicyDto.md @@ -0,0 +1,25 @@ +# SodPolicyDto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | SOD policy DTO type. | [optional] +**Id** | **String** | SOD policy ID. | [optional] +**Name** | **String** | SOD policy display name. | [optional] + +## Examples + +- Prepare the resource +```powershell +$SodPolicyDto = Initialize-PSSailpointV2024SodPolicyDto -Type SOD_POLICY ` + -Id 0f11f2a4-7c94-4bf3-a2bd-742580fe3bde ` + -Name Business SOD Policy +``` + +- Convert the resource to JSON +```powershell +$SodPolicyDto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SodPolicyOwnerRef.md b/PSSailpoint/v2024/docs/SodPolicyOwnerRef.md new file mode 100644 index 000000000..07e7d8a6f --- /dev/null +++ b/PSSailpoint/v2024/docs/SodPolicyOwnerRef.md @@ -0,0 +1,25 @@ +# SodPolicyOwnerRef +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | Owner type. | [optional] +**Id** | **String** | Owner's ID. | [optional] +**Name** | **String** | Owner's name. | [optional] + +## Examples + +- Prepare the resource +```powershell +$SodPolicyOwnerRef = Initialize-PSSailpointV2024SodPolicyOwnerRef -Type IDENTITY ` + -Id 2c9180a46faadee4016fb4e018c20639 ` + -Name Support +``` + +- Convert the resource to JSON +```powershell +$SodPolicyOwnerRef | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SodPolicySchedule.md b/PSSailpoint/v2024/docs/SodPolicySchedule.md new file mode 100644 index 000000000..f022fe530 --- /dev/null +++ b/PSSailpoint/v2024/docs/SodPolicySchedule.md @@ -0,0 +1,37 @@ +# SodPolicySchedule +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | SOD Policy schedule name | [optional] +**Created** | **System.DateTime** | The time when this SOD policy schedule is created. | [optional] [readonly] +**Modified** | **System.DateTime** | The time when this SOD policy schedule is modified. | [optional] [readonly] +**Description** | **String** | SOD Policy schedule description | [optional] +**Schedule** | [**Schedule1**](Schedule1.md) | | [optional] +**Recipients** | [**SodRecipient[]**](SodRecipient.md) | | [optional] +**EmailEmptyResults** | **Boolean** | Indicates if empty results need to be emailed | [optional] [default to $false] +**CreatorId** | **String** | Policy's creator ID | [optional] [readonly] +**ModifierId** | **String** | Policy's modifier ID | [optional] [readonly] + +## Examples + +- Prepare the resource +```powershell +$SodPolicySchedule = Initialize-PSSailpointV2024SodPolicySchedule -Name SCH-1584312283015 ` + -Created 2020-01-01T00:00Z ` + -Modified 2020-01-01T00:00Z ` + -Description Schedule for policy xyz ` + -Schedule null ` + -Recipients null ` + -EmailEmptyResults false ` + -CreatorId 0f11f2a47c944bf3a2bd742580fe3bde ` + -ModifierId 0f11f2a47c944bf3a2bd742580fe3bde +``` + +- Convert the resource to JSON +```powershell +$SodPolicySchedule | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SodRecipient.md b/PSSailpoint/v2024/docs/SodRecipient.md new file mode 100644 index 000000000..16eb14357 --- /dev/null +++ b/PSSailpoint/v2024/docs/SodRecipient.md @@ -0,0 +1,25 @@ +# SodRecipient +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | SOD policy recipient DTO type. | [optional] +**Id** | **String** | SOD policy recipient's identity ID. | [optional] +**Name** | **String** | SOD policy recipient's display name. | [optional] + +## Examples + +- Prepare the resource +```powershell +$SodRecipient = Initialize-PSSailpointV2024SodRecipient -Type IDENTITY ` + -Id 2c7180a46faadee4016fb4e018c20642 ` + -Name Michael Michaels +``` + +- Convert the resource to JSON +```powershell +$SodRecipient | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SodReportResultDto.md b/PSSailpoint/v2024/docs/SodReportResultDto.md new file mode 100644 index 000000000..49765ee23 --- /dev/null +++ b/PSSailpoint/v2024/docs/SodReportResultDto.md @@ -0,0 +1,25 @@ +# SodReportResultDto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | SOD policy violation report result DTO type. | [optional] +**Id** | **String** | SOD policy violation report result ID. | [optional] +**Name** | **String** | Human-readable name of the SOD policy violation report result. | [optional] + +## Examples + +- Prepare the resource +```powershell +$SodReportResultDto = Initialize-PSSailpointV2024SodReportResultDto -Type REPORT_RESULT ` + -Id 2c9180835d191a86015d28455b4b232a ` + -Name SOD Policy 1 Violation +``` + +- Convert the resource to JSON +```powershell +$SodReportResultDto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SodViolationCheck.md b/PSSailpoint/v2024/docs/SodViolationCheck.md new file mode 100644 index 000000000..9c1ee16c9 --- /dev/null +++ b/PSSailpoint/v2024/docs/SodViolationCheck.md @@ -0,0 +1,23 @@ +# SodViolationCheck +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**RequestId** | **String** | The id of the original request | +**Created** | **System.DateTime** | The date-time when this request was created. | [optional] [readonly] + +## Examples + +- Prepare the resource +```powershell +$SodViolationCheck = Initialize-PSSailpointV2024SodViolationCheck -RequestId 089899f13a8f4da7824996191587bab9 ` + -Created 2020-01-01T00:00Z +``` + +- Convert the resource to JSON +```powershell +$SodViolationCheck | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SodViolationCheckResult.md b/PSSailpoint/v2024/docs/SodViolationCheckResult.md new file mode 100644 index 000000000..6e474f7ad --- /dev/null +++ b/PSSailpoint/v2024/docs/SodViolationCheckResult.md @@ -0,0 +1,27 @@ +# SodViolationCheckResult +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Message** | [**ErrorMessageDto**](ErrorMessageDto.md) | | [optional] +**ClientMetadata** | **System.Collections.Hashtable** | Arbitrary key-value pairs. They will never be processed by the IdentityNow system but will be returned on completion of the violation check. | [optional] +**ViolationContexts** | [**SodViolationContext[]**](SodViolationContext.md) | | [optional] +**ViolatedPolicies** | [**SodPolicyDto[]**](SodPolicyDto.md) | A list of the SOD policies that were violated. | [optional] + +## Examples + +- Prepare the resource +```powershell +$SodViolationCheckResult = Initialize-PSSailpointV2024SodViolationCheckResult -Message null ` + -ClientMetadata {requestedAppName=test-app, requestedAppId=2c91808f7892918f0178b78da4a305a1} ` + -ViolationContexts null ` + -ViolatedPolicies null +``` + +- Convert the resource to JSON +```powershell +$SodViolationCheckResult | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SodViolationContext.md b/PSSailpoint/v2024/docs/SodViolationContext.md new file mode 100644 index 000000000..a0b1f3687 --- /dev/null +++ b/PSSailpoint/v2024/docs/SodViolationContext.md @@ -0,0 +1,23 @@ +# SodViolationContext +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Policy** | [**SodPolicyDto**](SodPolicyDto.md) | | [optional] +**ConflictingAccessCriteria** | [**SodViolationContextConflictingAccessCriteria**](SodViolationContextConflictingAccessCriteria.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$SodViolationContext = Initialize-PSSailpointV2024SodViolationContext -Policy null ` + -ConflictingAccessCriteria null +``` + +- Convert the resource to JSON +```powershell +$SodViolationContext | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SodViolationContextCheckCompleted.md b/PSSailpoint/v2024/docs/SodViolationContextCheckCompleted.md new file mode 100644 index 000000000..a31e87782 --- /dev/null +++ b/PSSailpoint/v2024/docs/SodViolationContextCheckCompleted.md @@ -0,0 +1,25 @@ +# SodViolationContextCheckCompleted +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**State** | **String** | The status of SOD violation check | [optional] +**Uuid** | **String** | The id of the Violation check event | [optional] +**ViolationCheckResult** | [**SodViolationCheckResult**](SodViolationCheckResult.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$SodViolationContextCheckCompleted = Initialize-PSSailpointV2024SodViolationContextCheckCompleted -State SUCCESS ` + -Uuid f73d16e9-a038-46c5-b217-1246e15fdbdd ` + -ViolationCheckResult null +``` + +- Convert the resource to JSON +```powershell +$SodViolationContextCheckCompleted | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SodViolationContextConflictingAccessCriteria.md b/PSSailpoint/v2024/docs/SodViolationContextConflictingAccessCriteria.md new file mode 100644 index 000000000..f8fd7e392 --- /dev/null +++ b/PSSailpoint/v2024/docs/SodViolationContextConflictingAccessCriteria.md @@ -0,0 +1,23 @@ +# SodViolationContextConflictingAccessCriteria +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**LeftCriteria** | [**SodViolationContextConflictingAccessCriteriaLeftCriteria**](SodViolationContextConflictingAccessCriteriaLeftCriteria.md) | | [optional] +**RightCriteria** | [**SodViolationContextConflictingAccessCriteriaLeftCriteria**](SodViolationContextConflictingAccessCriteriaLeftCriteria.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$SodViolationContextConflictingAccessCriteria = Initialize-PSSailpointV2024SodViolationContextConflictingAccessCriteria -LeftCriteria null ` + -RightCriteria null +``` + +- Convert the resource to JSON +```powershell +$SodViolationContextConflictingAccessCriteria | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SodViolationContextConflictingAccessCriteriaLeftCriteria.md b/PSSailpoint/v2024/docs/SodViolationContextConflictingAccessCriteriaLeftCriteria.md new file mode 100644 index 000000000..ee4fd9799 --- /dev/null +++ b/PSSailpoint/v2024/docs/SodViolationContextConflictingAccessCriteriaLeftCriteria.md @@ -0,0 +1,21 @@ +# SodViolationContextConflictingAccessCriteriaLeftCriteria +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**CriteriaList** | [**SodExemptCriteria[]**](SodExemptCriteria.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$SodViolationContextConflictingAccessCriteriaLeftCriteria = Initialize-PSSailpointV2024SodViolationContextConflictingAccessCriteriaLeftCriteria -CriteriaList null +``` + +- Convert the resource to JSON +```powershell +$SodViolationContextConflictingAccessCriteriaLeftCriteria | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Source.md b/PSSailpoint/v2024/docs/Source.md new file mode 100644 index 000000000..98e9c2adb --- /dev/null +++ b/PSSailpoint/v2024/docs/Source.md @@ -0,0 +1,81 @@ +# Source +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Source ID. | [optional] [readonly] +**Name** | **String** | Source's human-readable name. | +**Description** | **String** | Source's human-readable description. | [optional] +**Owner** | [**SourceOwner**](SourceOwner.md) | | +**Cluster** | [**SourceCluster**](SourceCluster.md) | | [optional] +**AccountCorrelationConfig** | [**SourceAccountCorrelationConfig**](SourceAccountCorrelationConfig.md) | | [optional] +**AccountCorrelationRule** | [**SourceAccountCorrelationRule**](SourceAccountCorrelationRule.md) | | [optional] +**ManagerCorrelationMapping** | [**SourceManagerCorrelationMapping**](SourceManagerCorrelationMapping.md) | | [optional] +**ManagerCorrelationRule** | [**SourceManagerCorrelationRule**](SourceManagerCorrelationRule.md) | | [optional] +**BeforeProvisioningRule** | [**SourceBeforeProvisioningRule**](SourceBeforeProvisioningRule.md) | | [optional] +**Schemas** | [**SourceSchemasInner[]**](SourceSchemasInner.md) | List of references to schema objects. | [optional] +**PasswordPolicies** | [**SourcePasswordPoliciesInner[]**](SourcePasswordPoliciesInner.md) | List of references to the associated PasswordPolicy objects. | [optional] +**Features** | **String[]** | Optional features that can be supported by a source. Modifying the features array may cause source configuration errors that are unsupportable. It is recommended to not modify this array for SailPoint supported connectors. * AUTHENTICATE: The source supports pass-through authentication. * COMPOSITE: The source supports composite source creation. * DIRECT_PERMISSIONS: The source supports returning DirectPermissions. * DISCOVER_SCHEMA: The source supports discovering schemas for users and groups. * ENABLE The source supports reading if an account is enabled or disabled. * MANAGER_LOOKUP: The source supports looking up managers as they are encountered in a feed. This is the opposite of NO_RANDOM_ACCESS. * NO_RANDOM_ACCESS: The source does not support random access and the getObject() methods should not be called and expected to perform. * PROXY: The source can serve as a proxy for another source. When an source has a proxy, all connector calls made with that source are redirected through the connector for the proxy source. * SEARCH * TEMPLATE * UNLOCK: The source supports reading if an account is locked or unlocked. * UNSTRUCTURED_TARGETS: The source supports returning unstructured Targets. * SHAREPOINT_TARGET: The source supports returning unstructured Target data for SharePoint. It will be typically used by AD, LDAP sources. * PROVISIONING: The source can both read and write accounts. Having this feature implies that the provision() method is implemented. It also means that direct and target permissions can also be provisioned if they can be returned by aggregation. * GROUP_PROVISIONING: The source can both read and write groups. Having this feature implies that the provision() method is implemented. * SYNC_PROVISIONING: The source can provision accounts synchronously. * PASSWORD: The source can provision password changes. Since sources can never read passwords, this is should only be used in conjunction with the PROVISIONING feature. * CURRENT_PASSWORD: Some source types support verification of the current password * ACCOUNT_ONLY_REQUEST: The source supports requesting accounts without entitlements. * ADDITIONAL_ACCOUNT_REQUEST: The source supports requesting additional accounts. * NO_AGGREGATION: A source that does not support aggregation. * GROUPS_HAVE_MEMBERS: The source models group memberships with a member attribute on the group object rather than a groups attribute on the account object. This effects the implementation of delta account aggregation. * NO_PERMISSIONS_PROVISIONING: Indicates that the connector cannot provision direct or target permissions for accounts. When DIRECT_PERMISSIONS and PROVISIONING features are present, it is assumed that the connector can also provision direct permissions. This feature disables that assumption and causes permission request to be converted to work items for accounts. * NO_GROUP_PERMISSIONS_PROVISIONING: Indicates that the connector cannot provision direct or target permissions for groups. When DIRECT_PERMISSIONS and PROVISIONING features are present, it is assumed that the connector can also provision direct permissions. This feature disables that assumption and causes permission request to be converted to work items for groups. * NO_UNSTRUCTURED_TARGETS_PROVISIONING: This string will be replaced by NO_GROUP_PERMISSIONS_PROVISIONING and NO_PERMISSIONS_PROVISIONING. * NO_DIRECT_PERMISSIONS_PROVISIONING: This string will be replaced by NO_GROUP_PERMISSIONS_PROVISIONING and NO_PERMISSIONS_PROVISIONING. * USES_UUID: Connectivity 2.0 flag used to indicate that the connector supports a compound naming structure. * PREFER_UUID: Used in ISC Provisioning AND Aggregation to decide if it should prefer account.uuid to account.nativeIdentity when data is read in through aggregation OR pushed out through provisioning. * ARM_SECURITY_EXTRACT: Indicates the application supports Security extracts for ARM * ARM_UTILIZATION_EXTRACT: Indicates the application supports Utilization extracts for ARM * ARM_CHANGELOG_EXTRACT: Indicates the application supports Change-log extracts for ARM | [optional] +**Type** | **String** | Specifies the type of system being managed e.g. Active Directory, Workday, etc.. If you are creating a delimited file source, you must set the `provisionasCsv` query parameter to `true`. | [optional] +**Connector** | **String** | Connector script name. | +**ConnectorClass** | **String** | Fully qualified name of the Java class that implements the connector interface. | [optional] +**ConnectorAttributes** | [**SystemCollectionsHashtable**](.md) | Connector specific configuration. This configuration will differ from type to type. | [optional] +**DeleteThreshold** | **Int32** | Number from 0 to 100 that specifies when to skip the delete phase. | [optional] +**Authoritative** | **Boolean** | When this is true, it indicates that the source is referenced by an identity profile. | [optional] [default to $false] +**ManagementWorkgroup** | [**SourceManagementWorkgroup**](SourceManagementWorkgroup.md) | | [optional] +**Healthy** | **Boolean** | When this is true, it indicates that the source is healthy. | [optional] [default to $false] +**Status** | **String** | Status identifier that gives specific information about why a source is or isn't healthy. | [optional] +**Since** | **String** | Timestamp that shows when a source health check was last performed. | [optional] +**ConnectorId** | **String** | Connector ID | [optional] +**ConnectorName** | **String** | Name of the connector that was chosen during source creation. | [optional] +**ConnectionType** | **String** | Type of connection (direct or file). | [optional] +**ConnectorImplementationId** | **String** | Connector implementation ID. | [optional] +**Created** | **System.DateTime** | Date-time when the source was created | [optional] +**Modified** | **System.DateTime** | Date-time when the source was last modified. | [optional] +**CredentialProviderEnabled** | **Boolean** | If this is true, it enables a credential provider for the source. If credentialProvider is turned on, then the source can use credential provider(s) to fetch credentials. | [optional] [default to $false] +**Category** | **String** | Source category (e.g. null, CredentialProvider). | [optional] + +## Examples + +- Prepare the resource +```powershell +$Source = Initialize-PSSailpointV2024Source -Id 2c91808568c529c60168cca6f90c1324 ` + -Name My Source ` + -Description This is the corporate directory. ` + -Owner null ` + -Cluster null ` + -AccountCorrelationConfig null ` + -AccountCorrelationRule null ` + -ManagerCorrelationMapping null ` + -ManagerCorrelationRule null ` + -BeforeProvisioningRule null ` + -Schemas [{type=CONNECTOR_SCHEMA, id=2c9180835d191a86015d28455b4b232a, name=account}, {type=CONNECTOR_SCHEMA, id=2c9180835d191a86015d28455b4b232b, name=group}] ` + -PasswordPolicies [{type=PASSWORD_POLICY, id=2c9180855d191c59015d291ceb053980, name=Corporate Password Policy}, {type=PASSWORD_POLICY, id=2c9180855d191c59015d291ceb057777, name=Vendor Password Policy}] ` + -Features [PROVISIONING, NO_PERMISSIONS_PROVISIONING, GROUPS_HAVE_MEMBERS] ` + -Type OpenLDAP - Direct ` + -Connector active-directory ` + -ConnectorClass sailpoint.connector.LDAPConnector ` + -ConnectorAttributes {healthCheckTimeout=30, authSearchAttributes=[cn, uid, mail]} ` + -DeleteThreshold 10 ` + -Authoritative false ` + -ManagementWorkgroup null ` + -Healthy true ` + -Status SOURCE_STATE_HEALTHY ` + -Since 2021-09-28T15:48:29.3801666300Z ` + -ConnectorId active-directory ` + -ConnectorName Active Directory ` + -ConnectionType file ` + -ConnectorImplementationId delimited-file ` + -Created 2022-02-08T14:50:03.827Z ` + -Modified 2024-01-23T18:08:50.897Z ` + -CredentialProviderEnabled false ` + -Category CredentialProvider +``` + +- Convert the resource to JSON +```powershell +$Source | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Source1.md b/PSSailpoint/v2024/docs/Source1.md new file mode 100644 index 000000000..f66bb4b36 --- /dev/null +++ b/PSSailpoint/v2024/docs/Source1.md @@ -0,0 +1,23 @@ +# Source1 +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | Attribute mapping type. | [optional] +**Properties** | [**SystemCollectionsHashtable**](.md) | Attribute mapping properties. | [optional] + +## Examples + +- Prepare the resource +```powershell +$Source1 = Initialize-PSSailpointV2024Source1 -Type rule ` + -Properties {ruleType=IdentityAttribute, ruleName=Cloud Promote Identity Attribute} +``` + +- Convert the resource to JSON +```powershell +$Source1 | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SourceAccountCorrelationConfig.md b/PSSailpoint/v2024/docs/SourceAccountCorrelationConfig.md new file mode 100644 index 000000000..a2e905ec2 --- /dev/null +++ b/PSSailpoint/v2024/docs/SourceAccountCorrelationConfig.md @@ -0,0 +1,25 @@ +# SourceAccountCorrelationConfig +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | Type of object being referenced. | [optional] +**Id** | **String** | Account correlation config ID. | [optional] +**Name** | **String** | Account correlation config's human-readable display name. | [optional] + +## Examples + +- Prepare the resource +```powershell +$SourceAccountCorrelationConfig = Initialize-PSSailpointV2024SourceAccountCorrelationConfig -Type ACCOUNT_CORRELATION_CONFIG ` + -Id 2c9180855d191c59015d28583727245a ` + -Name Directory [source-62867] Account Correlation +``` + +- Convert the resource to JSON +```powershell +$SourceAccountCorrelationConfig | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SourceAccountCorrelationRule.md b/PSSailpoint/v2024/docs/SourceAccountCorrelationRule.md new file mode 100644 index 000000000..b07b016b6 --- /dev/null +++ b/PSSailpoint/v2024/docs/SourceAccountCorrelationRule.md @@ -0,0 +1,25 @@ +# SourceAccountCorrelationRule +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | Type of object being referenced. | [optional] +**Id** | **String** | Rule ID. | [optional] +**Name** | **String** | Rule's human-readable display name. | [optional] + +## Examples + +- Prepare the resource +```powershell +$SourceAccountCorrelationRule = Initialize-PSSailpointV2024SourceAccountCorrelationRule -Type RULE ` + -Id 2c918085708c274401708c2a8a760001 ` + -Name Example Rule +``` + +- Convert the resource to JSON +```powershell +$SourceAccountCorrelationRule | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SourceAccountCreated.md b/PSSailpoint/v2024/docs/SourceAccountCreated.md new file mode 100644 index 000000000..91a8f68b0 --- /dev/null +++ b/PSSailpoint/v2024/docs/SourceAccountCreated.md @@ -0,0 +1,35 @@ +# SourceAccountCreated +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Uuid** | **String** | Source unique identifier for the identity. UUID is generated by the source system. | [optional] +**Id** | **String** | SailPoint generated unique identifier. | +**NativeIdentifier** | **String** | Unique ID of the account on the source. | +**SourceId** | **String** | The ID of the source. | +**SourceName** | **String** | The name of the source. | +**IdentityId** | **String** | The ID of the identity that is correlated with this account. | +**IdentityName** | **String** | The name of the identity that is correlated with this account. | +**Attributes** | [**System.Collections.Hashtable**](AnyType.md) | The attributes of the account. The contents of attributes depends on the account schema for the source. | + +## Examples + +- Prepare the resource +```powershell +$SourceAccountCreated = Initialize-PSSailpointV2024SourceAccountCreated -Uuid b7264868-7201-415f-9118-b581d431c688 ` + -Id ee769173319b41d19ccec35ba52f237b ` + -NativeIdentifier E009 ` + -SourceId 2c918082814e693601816e09471b29b6 ` + -SourceName Active Directory ` + -IdentityId ee769173319b41d19ccec6c235423237b ` + -IdentityName john.doe ` + -Attributes {firstname=John, lastname=Doe, email=john.doe@gmail.com, department=Sales, displayName=John Doe, created=2020-04-27T16:48:33.597Z, employeeNumber=E009, uid=E009, inactive=true, phone=null, identificationNumber=E009} +``` + +- Convert the resource to JSON +```powershell +$SourceAccountCreated | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SourceAccountDeleted.md b/PSSailpoint/v2024/docs/SourceAccountDeleted.md new file mode 100644 index 000000000..ac15b7534 --- /dev/null +++ b/PSSailpoint/v2024/docs/SourceAccountDeleted.md @@ -0,0 +1,35 @@ +# SourceAccountDeleted +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Uuid** | **String** | Source unique identifier for the identity. UUID is generated by the source system. | [optional] +**Id** | **String** | SailPoint generated unique identifier. | +**NativeIdentifier** | **String** | Unique ID of the account on the source. | +**SourceId** | **String** | The ID of the source. | +**SourceName** | **String** | The name of the source. | +**IdentityId** | **String** | The ID of the identity that is correlated with this account. | +**IdentityName** | **String** | The name of the identity that is correlated with this account. | +**Attributes** | [**System.Collections.Hashtable**](AnyType.md) | The attributes of the account. The contents of attributes depends on the account schema for the source. | + +## Examples + +- Prepare the resource +```powershell +$SourceAccountDeleted = Initialize-PSSailpointV2024SourceAccountDeleted -Uuid b7264868-7201-415f-9118-b581d431c688 ` + -Id ee769173319b41d19ccec35ba52f237b ` + -NativeIdentifier E009 ` + -SourceId 2c918082814e693601816e09471b29b6 ` + -SourceName Active Directory ` + -IdentityId ee769173319b41d19ccec6c235423237b ` + -IdentityName john.doe ` + -Attributes {firstname=John, lastname=Doe, email=john.doe@gmail.com, department=Sales, displayName=John Doe, created=2020-04-27T16:48:33.597Z, employeeNumber=E009, uid=E009, inactive=true, phone=null, identificationNumber=E009} +``` + +- Convert the resource to JSON +```powershell +$SourceAccountDeleted | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SourceAccountUpdated.md b/PSSailpoint/v2024/docs/SourceAccountUpdated.md new file mode 100644 index 000000000..fbed07840 --- /dev/null +++ b/PSSailpoint/v2024/docs/SourceAccountUpdated.md @@ -0,0 +1,35 @@ +# SourceAccountUpdated +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Uuid** | **String** | Source unique identifier for the identity. UUID is generated by the source system. | [optional] +**Id** | **String** | SailPoint generated unique identifier. | +**NativeIdentifier** | **String** | Unique ID of the account on the source. | +**SourceId** | **String** | The ID of the source. | +**SourceName** | **String** | The name of the source. | +**IdentityId** | **String** | The ID of the identity that is correlated with this account. | +**IdentityName** | **String** | The name of the identity that is correlated with this account. | +**Attributes** | [**System.Collections.Hashtable**](AnyType.md) | The attributes of the account. The contents of attributes depends on the account schema for the source. | + +## Examples + +- Prepare the resource +```powershell +$SourceAccountUpdated = Initialize-PSSailpointV2024SourceAccountUpdated -Uuid b7264868-7201-415f-9118-b581d431c688 ` + -Id ee769173319b41d19ccec35ba52f237b ` + -NativeIdentifier E009 ` + -SourceId 2c918082814e693601816e09471b29b6 ` + -SourceName Active Directory ` + -IdentityId ee769173319b41d19ccec6c235423237b ` + -IdentityName john.doe ` + -Attributes {firstname=John, lastname=Doe, email=john.doe@gmail.com, department=Sales, displayName=John Doe, created=2020-04-27T16:48:33.597Z, employeeNumber=E009, uid=E009, inactive=true, phone=null, identificationNumber=E009} +``` + +- Convert the resource to JSON +```powershell +$SourceAccountUpdated | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SourceBeforeProvisioningRule.md b/PSSailpoint/v2024/docs/SourceBeforeProvisioningRule.md new file mode 100644 index 000000000..3da76b53a --- /dev/null +++ b/PSSailpoint/v2024/docs/SourceBeforeProvisioningRule.md @@ -0,0 +1,25 @@ +# SourceBeforeProvisioningRule +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | Type of object being referenced. | [optional] +**Id** | **String** | Rule ID. | [optional] +**Name** | **String** | Rule's human-readable display name. | [optional] + +## Examples + +- Prepare the resource +```powershell +$SourceBeforeProvisioningRule = Initialize-PSSailpointV2024SourceBeforeProvisioningRule -Type RULE ` + -Id 2c918085708c274401708c2a8a760001 ` + -Name Example Rule +``` + +- Convert the resource to JSON +```powershell +$SourceBeforeProvisioningRule | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SourceCluster.md b/PSSailpoint/v2024/docs/SourceCluster.md new file mode 100644 index 000000000..e0eb5e8f2 --- /dev/null +++ b/PSSailpoint/v2024/docs/SourceCluster.md @@ -0,0 +1,25 @@ +# SourceCluster +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | Type of object being referenced. | +**Id** | **String** | Cluster ID. | +**Name** | **String** | Cluster's human-readable display name. | + +## Examples + +- Prepare the resource +```powershell +$SourceCluster = Initialize-PSSailpointV2024SourceCluster -Type CLUSTER ` + -Id 2c9180866166b5b0016167c32ef31a66 ` + -Name Corporate Cluster +``` + +- Convert the resource to JSON +```powershell +$SourceCluster | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SourceClusterDto.md b/PSSailpoint/v2024/docs/SourceClusterDto.md new file mode 100644 index 000000000..0d8c967d1 --- /dev/null +++ b/PSSailpoint/v2024/docs/SourceClusterDto.md @@ -0,0 +1,25 @@ +# SourceClusterDto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | Source cluster DTO type. | [optional] +**Id** | **String** | Source cluster ID. | [optional] +**Name** | **String** | Source cluster display name. | [optional] + +## Examples + +- Prepare the resource +```powershell +$SourceClusterDto = Initialize-PSSailpointV2024SourceClusterDto -Type CLUSTER ` + -Id 2c9180847a7fccdd017aa5896f9f4f6f ` + -Name Training VA +``` + +- Convert the resource to JSON +```powershell +$SourceClusterDto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SourceCode.md b/PSSailpoint/v2024/docs/SourceCode.md new file mode 100644 index 000000000..891a2e81d --- /dev/null +++ b/PSSailpoint/v2024/docs/SourceCode.md @@ -0,0 +1,23 @@ +# SourceCode +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Version** | **String** | the version of the code | +**Script** | **String** | The code | + +## Examples + +- Prepare the resource +```powershell +$SourceCode = Initialize-PSSailpointV2024SourceCode -Version 1.0 ` + -Script return "Mr. " + firstName; +``` + +- Convert the resource to JSON +```powershell +$SourceCode | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SourceCreated.md b/PSSailpoint/v2024/docs/SourceCreated.md new file mode 100644 index 000000000..e18eb5194 --- /dev/null +++ b/PSSailpoint/v2024/docs/SourceCreated.md @@ -0,0 +1,31 @@ +# SourceCreated +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The unique ID of the source. | +**Name** | **String** | Human friendly name of the source. | +**Type** | **String** | The connection type. | +**Created** | **System.DateTime** | The date and time the source was created. | +**Connector** | **String** | The connector type used to connect to the source. | +**Actor** | [**SourceCreatedActor**](SourceCreatedActor.md) | | + +## Examples + +- Prepare the resource +```powershell +$SourceCreated = Initialize-PSSailpointV2024SourceCreated -Id 2c9180866166b5b0016167c32ef31a66 ` + -Name Test source ` + -Type DIRECT_CONNECT ` + -Created 2021-03-29T22:01:50.474Z ` + -Connector active-directory ` + -Actor null +``` + +- Convert the resource to JSON +```powershell +$SourceCreated | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SourceCreatedActor.md b/PSSailpoint/v2024/docs/SourceCreatedActor.md new file mode 100644 index 000000000..6eef56ac4 --- /dev/null +++ b/PSSailpoint/v2024/docs/SourceCreatedActor.md @@ -0,0 +1,25 @@ +# SourceCreatedActor +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | DTO type of identity who created the source. | +**Id** | **String** | ID of identity who created the source. | +**Name** | **String** | Display name of identity who created the source. | + +## Examples + +- Prepare the resource +```powershell +$SourceCreatedActor = Initialize-PSSailpointV2024SourceCreatedActor -Type IDENTITY ` + -Id 2c7180a46faadee4016fb4e018c20648 ` + -Name William Wilson +``` + +- Convert the resource to JSON +```powershell +$SourceCreatedActor | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SourceDeleted.md b/PSSailpoint/v2024/docs/SourceDeleted.md new file mode 100644 index 000000000..56d89d76b --- /dev/null +++ b/PSSailpoint/v2024/docs/SourceDeleted.md @@ -0,0 +1,31 @@ +# SourceDeleted +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The unique ID of the source. | +**Name** | **String** | Human friendly name of the source. | +**Type** | **String** | The connection type. | +**Deleted** | **System.DateTime** | The date and time the source was deleted. | +**Connector** | **String** | The connector type used to connect to the source. | +**Actor** | [**SourceDeletedActor**](SourceDeletedActor.md) | | + +## Examples + +- Prepare the resource +```powershell +$SourceDeleted = Initialize-PSSailpointV2024SourceDeleted -Id 2c9180866166b5b0016167c32ef31a66 ` + -Name Test source ` + -Type DIRECT_CONNECT ` + -Deleted 2021-03-29T22:01:50.474Z ` + -Connector active-directory ` + -Actor null +``` + +- Convert the resource to JSON +```powershell +$SourceDeleted | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SourceDeletedActor.md b/PSSailpoint/v2024/docs/SourceDeletedActor.md new file mode 100644 index 000000000..699d23ab3 --- /dev/null +++ b/PSSailpoint/v2024/docs/SourceDeletedActor.md @@ -0,0 +1,25 @@ +# SourceDeletedActor +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | DTO type of identity who deleted the source. | +**Id** | **String** | ID of identity who deleted the source. | +**Name** | **String** | Display name of identity who deleted the source. | + +## Examples + +- Prepare the resource +```powershell +$SourceDeletedActor = Initialize-PSSailpointV2024SourceDeletedActor -Type IDENTITY ` + -Id 2c7180a46faadee4016fb4e018c20648 ` + -Name William Wilson +``` + +- Convert the resource to JSON +```powershell +$SourceDeletedActor | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SourceEntitlementRequestConfig.md b/PSSailpoint/v2024/docs/SourceEntitlementRequestConfig.md new file mode 100644 index 000000000..d1cf21d4b --- /dev/null +++ b/PSSailpoint/v2024/docs/SourceEntitlementRequestConfig.md @@ -0,0 +1,21 @@ +# SourceEntitlementRequestConfig +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AccessRequestConfig** | [**EntitlementAccessRequestConfig**](EntitlementAccessRequestConfig.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$SourceEntitlementRequestConfig = Initialize-PSSailpointV2024SourceEntitlementRequestConfig -AccessRequestConfig null +``` + +- Convert the resource to JSON +```powershell +$SourceEntitlementRequestConfig | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SourceHealthDto.md b/PSSailpoint/v2024/docs/SourceHealthDto.md new file mode 100644 index 000000000..0fcfcb4ee --- /dev/null +++ b/PSSailpoint/v2024/docs/SourceHealthDto.md @@ -0,0 +1,39 @@ +# SourceHealthDto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | the id of the Source | [optional] [readonly] +**Type** | **String** | Specifies the type of system being managed e.g. Active Directory, Workday, etc.. If you are creating a Delimited File source, you must set the `provisionasCsv` query parameter to `true`. | [optional] +**Name** | **String** | the name of the source | [optional] +**Org** | **String** | source's org | [optional] +**IsAuthoritative** | **Boolean** | Is the source authoritative | [optional] +**IsCluster** | **Boolean** | Is the source in a cluster | [optional] +**Hostname** | **String** | source's hostname | [optional] +**Pod** | **String** | source's pod | [optional] +**IqServiceVersion** | **String** | The version of the iqService | [optional] +**Status** | **String** | connection test result | [optional] + +## Examples + +- Prepare the resource +```powershell +$SourceHealthDto = Initialize-PSSailpointV2024SourceHealthDto -Id 2c91808568c529c60168cca6f90c1324 ` + -Type OpenLDAP - Direct ` + -Name Source1234 ` + -Org denali-cjh ` + -IsAuthoritative false ` + -IsCluster false ` + -Hostname megapod-useast1-secret-hostname.sailpoint.com ` + -Pod megapod-useast1 ` + -IqServiceVersion iqVersion123 ` + -Status SOURCE_STATE_UNCHECKED_SOURCE +``` + +- Convert the resource to JSON +```powershell +$SourceHealthDto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SourceManagementWorkgroup.md b/PSSailpoint/v2024/docs/SourceManagementWorkgroup.md new file mode 100644 index 000000000..12df21fa2 --- /dev/null +++ b/PSSailpoint/v2024/docs/SourceManagementWorkgroup.md @@ -0,0 +1,25 @@ +# SourceManagementWorkgroup +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | Type of object being referenced. | [optional] +**Id** | **String** | Management workgroup ID. | [optional] +**Name** | **String** | Management workgroup's human-readable display name. | [optional] + +## Examples + +- Prepare the resource +```powershell +$SourceManagementWorkgroup = Initialize-PSSailpointV2024SourceManagementWorkgroup -Type GOVERNANCE_GROUP ` + -Id 2c91808568c529c60168cca6f90c2222 ` + -Name My Management Workgroup +``` + +- Convert the resource to JSON +```powershell +$SourceManagementWorkgroup | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SourceManagerCorrelationMapping.md b/PSSailpoint/v2024/docs/SourceManagerCorrelationMapping.md new file mode 100644 index 000000000..1f5a82e15 --- /dev/null +++ b/PSSailpoint/v2024/docs/SourceManagerCorrelationMapping.md @@ -0,0 +1,23 @@ +# SourceManagerCorrelationMapping +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AccountAttributeName** | **String** | Name of the attribute to use for manager correlation. The value found on the account attribute will be used to lookup the manager's identity. | [optional] +**IdentityAttributeName** | **String** | Name of the identity attribute to search when trying to find a manager using the value from the accountAttribute. | [optional] + +## Examples + +- Prepare the resource +```powershell +$SourceManagerCorrelationMapping = Initialize-PSSailpointV2024SourceManagerCorrelationMapping -AccountAttributeName manager ` + -IdentityAttributeName manager +``` + +- Convert the resource to JSON +```powershell +$SourceManagerCorrelationMapping | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SourceManagerCorrelationRule.md b/PSSailpoint/v2024/docs/SourceManagerCorrelationRule.md new file mode 100644 index 000000000..1854556ab --- /dev/null +++ b/PSSailpoint/v2024/docs/SourceManagerCorrelationRule.md @@ -0,0 +1,25 @@ +# SourceManagerCorrelationRule +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | Type of object being referenced. | [optional] +**Id** | **String** | Rule ID. | [optional] +**Name** | **String** | Rule's human-readable display name. | [optional] + +## Examples + +- Prepare the resource +```powershell +$SourceManagerCorrelationRule = Initialize-PSSailpointV2024SourceManagerCorrelationRule -Type RULE ` + -Id 2c918085708c274401708c2a8a760001 ` + -Name Example Rule +``` + +- Convert the resource to JSON +```powershell +$SourceManagerCorrelationRule | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SourceOwner.md b/PSSailpoint/v2024/docs/SourceOwner.md new file mode 100644 index 000000000..7015be4e6 --- /dev/null +++ b/PSSailpoint/v2024/docs/SourceOwner.md @@ -0,0 +1,25 @@ +# SourceOwner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | Type of object being referenced. | [optional] +**Id** | **String** | Owner identity's ID. | [optional] +**Name** | **String** | Owner identity's human-readable display name. | [optional] + +## Examples + +- Prepare the resource +```powershell +$SourceOwner = Initialize-PSSailpointV2024SourceOwner -Type IDENTITY ` + -Id 2c91808568c529c60168cca6f90c1313 ` + -Name MyName +``` + +- Convert the resource to JSON +```powershell +$SourceOwner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SourcePasswordPoliciesInner.md b/PSSailpoint/v2024/docs/SourcePasswordPoliciesInner.md new file mode 100644 index 000000000..6db307860 --- /dev/null +++ b/PSSailpoint/v2024/docs/SourcePasswordPoliciesInner.md @@ -0,0 +1,25 @@ +# SourcePasswordPoliciesInner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | Type of object being referenced. | [optional] +**Id** | **String** | Policy ID. | [optional] +**Name** | **String** | Policy's human-readable display name. | [optional] + +## Examples + +- Prepare the resource +```powershell +$SourcePasswordPoliciesInner = Initialize-PSSailpointV2024SourcePasswordPoliciesInner -Type PASSWORD_POLICY ` + -Id 2c91808568c529c60168cca6f90c1777 ` + -Name My Password Policy +``` + +- Convert the resource to JSON +```powershell +$SourcePasswordPoliciesInner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SourceSchemasInner.md b/PSSailpoint/v2024/docs/SourceSchemasInner.md new file mode 100644 index 000000000..5ba3abcbd --- /dev/null +++ b/PSSailpoint/v2024/docs/SourceSchemasInner.md @@ -0,0 +1,25 @@ +# SourceSchemasInner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | Type of object being referenced. | [optional] +**Id** | **String** | Schema ID. | [optional] +**Name** | **String** | Schema's human-readable display name. | [optional] + +## Examples + +- Prepare the resource +```powershell +$SourceSchemasInner = Initialize-PSSailpointV2024SourceSchemasInner -Type CONNECTOR_SCHEMA ` + -Id 2c91808568c529c60168cca6f90c1777 ` + -Name MySchema +``` + +- Convert the resource to JSON +```powershell +$SourceSchemasInner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SourceSyncJob.md b/PSSailpoint/v2024/docs/SourceSyncJob.md new file mode 100644 index 000000000..95f59be5d --- /dev/null +++ b/PSSailpoint/v2024/docs/SourceSyncJob.md @@ -0,0 +1,25 @@ +# SourceSyncJob +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Job ID. | +**Status** | **String** | The job status. | +**Payload** | [**SourceSyncPayload**](SourceSyncPayload.md) | | + +## Examples + +- Prepare the resource +```powershell +$SourceSyncJob = Initialize-PSSailpointV2024SourceSyncJob -Id 0f11f2a4-7c94-4bf3-a2bd-742580fe3bde ` + -Status IN_PROGRESS ` + -Payload null +``` + +- Convert the resource to JSON +```powershell +$SourceSyncJob | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SourceSyncPayload.md b/PSSailpoint/v2024/docs/SourceSyncPayload.md new file mode 100644 index 000000000..7648dd6b2 --- /dev/null +++ b/PSSailpoint/v2024/docs/SourceSyncPayload.md @@ -0,0 +1,23 @@ +# SourceSyncPayload +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | Payload type. | +**DataJson** | **String** | Payload type. | + +## Examples + +- Prepare the resource +```powershell +$SourceSyncPayload = Initialize-PSSailpointV2024SourceSyncPayload -Type SYNCHRONIZE_SOURCE_ATTRIBUTES ` + -DataJson {"sourceId":"2c918083746f642c01746f990884012a"} +``` + +- Convert the resource to JSON +```powershell +$SourceSyncPayload | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SourceUpdated.md b/PSSailpoint/v2024/docs/SourceUpdated.md new file mode 100644 index 000000000..27427d597 --- /dev/null +++ b/PSSailpoint/v2024/docs/SourceUpdated.md @@ -0,0 +1,31 @@ +# SourceUpdated +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The unique ID of the source. | +**Name** | **String** | The user friendly name of the source. | +**Type** | **String** | The connection type of the source. | +**Modified** | **System.DateTime** | The date and time the source was modified. | +**Connector** | **String** | The connector type used to connect to the source. | +**Actor** | [**SourceUpdatedActor**](SourceUpdatedActor.md) | | + +## Examples + +- Prepare the resource +```powershell +$SourceUpdated = Initialize-PSSailpointV2024SourceUpdated -Id 2c9180866166b5b0016167c32ef31a66 ` + -Name Corporate Active Directory ` + -Type DIRECT_CONNECT ` + -Modified 2021-03-29T22:01:50.474Z ` + -Connector active-directory ` + -Actor null +``` + +- Convert the resource to JSON +```powershell +$SourceUpdated | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SourceUpdatedActor.md b/PSSailpoint/v2024/docs/SourceUpdatedActor.md new file mode 100644 index 000000000..13571924e --- /dev/null +++ b/PSSailpoint/v2024/docs/SourceUpdatedActor.md @@ -0,0 +1,25 @@ +# SourceUpdatedActor +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | DTO type of identity who updated the source. | +**Id** | **String** | ID of identity who updated the source. | [optional] +**Name** | **String** | Display name of identity who updated the source. | + +## Examples + +- Prepare the resource +```powershell +$SourceUpdatedActor = Initialize-PSSailpointV2024SourceUpdatedActor -Type IDENTITY ` + -Id 2c7180a46faadee4016fb4e018c20648 ` + -Name William Wilson +``` + +- Convert the resource to JSON +```powershell +$SourceUpdatedActor | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SourceUsage.md b/PSSailpoint/v2024/docs/SourceUsage.md new file mode 100644 index 000000000..784edb4bd --- /dev/null +++ b/PSSailpoint/v2024/docs/SourceUsage.md @@ -0,0 +1,23 @@ +# SourceUsage +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Date** | **System.DateTime** | The first day of the month for which activity is aggregated. | [optional] +**Count** | **Double** | The average number of days that accounts were active within this source, for the month. | [optional] + +## Examples + +- Prepare the resource +```powershell +$SourceUsage = Initialize-PSSailpointV2024SourceUsage -Date Thu Apr 20 20:00:00 EDT 2023 ` + -Count 10.45 +``` + +- Convert the resource to JSON +```powershell +$SourceUsage | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SourceUsageStatus.md b/PSSailpoint/v2024/docs/SourceUsageStatus.md new file mode 100644 index 000000000..863f397f6 --- /dev/null +++ b/PSSailpoint/v2024/docs/SourceUsageStatus.md @@ -0,0 +1,21 @@ +# SourceUsageStatus +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | **String** | Source Usage Status. Acceptable values are: - COMPLETE - This status means that an activity data source has been setup and usage insights are available for the source. - INCOMPLETE - This status means that an activity data source has not been setup and usage insights are not available for the source. | [optional] + +## Examples + +- Prepare the resource +```powershell +$SourceUsageStatus = Initialize-PSSailpointV2024SourceUsageStatus -Status COMPLETE +``` + +- Convert the resource to JSON +```powershell +$SourceUsageStatus | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SpConfigExportJob.md b/PSSailpoint/v2024/docs/SpConfigExportJob.md new file mode 100644 index 000000000..c041b92ca --- /dev/null +++ b/PSSailpoint/v2024/docs/SpConfigExportJob.md @@ -0,0 +1,33 @@ +# SpConfigExportJob +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**JobId** | **String** | Unique id assigned to this job. | +**Status** | **String** | Status of the job. | +**Type** | **String** | Type of the job, either export or import. | +**Expiration** | **System.DateTime** | The time until which the artifacts will be available for download. | +**Created** | **System.DateTime** | The time the job was started. | +**Modified** | **System.DateTime** | The time of the last update to the job. | +**Description** | **String** | Optional user defined description/name for export job. | + +## Examples + +- Prepare the resource +```powershell +$SpConfigExportJob = Initialize-PSSailpointV2024SpConfigExportJob -JobId 3469b87d-48ca-439a-868f-2160001da8c1 ` + -Status COMPLETE ` + -Type IMPORT ` + -Expiration 2021-05-11T22:23:16Z ` + -Created 2021-05-11T22:23:16Z ` + -Modified 2021-05-11T22:23:16Z ` + -Description ETS configuration objects from Acme-Solar sandbox +``` + +- Convert the resource to JSON +```powershell +$SpConfigExportJob | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SpConfigExportJobStatus.md b/PSSailpoint/v2024/docs/SpConfigExportJobStatus.md new file mode 100644 index 000000000..1f4f116bd --- /dev/null +++ b/PSSailpoint/v2024/docs/SpConfigExportJobStatus.md @@ -0,0 +1,35 @@ +# SpConfigExportJobStatus +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**JobId** | **String** | Unique id assigned to this job. | +**Status** | **String** | Status of the job. | +**Type** | **String** | Type of the job, either export or import. | +**Expiration** | **System.DateTime** | The time until which the artifacts will be available for download. | +**Created** | **System.DateTime** | The time the job was started. | +**Modified** | **System.DateTime** | The time of the last update to the job. | +**Description** | **String** | Optional user defined description/name for export job. | +**Completed** | **System.DateTime** | The time the job was completed. | + +## Examples + +- Prepare the resource +```powershell +$SpConfigExportJobStatus = Initialize-PSSailpointV2024SpConfigExportJobStatus -JobId 3469b87d-48ca-439a-868f-2160001da8c1 ` + -Status COMPLETE ` + -Type IMPORT ` + -Expiration 2021-05-11T22:23:16Z ` + -Created 2021-05-11T22:23:16Z ` + -Modified 2021-05-11T22:23:16Z ` + -Description ETS configuration objects from Acme-Solar sandbox ` + -Completed 2021-05-11T22:23:16Z +``` + +- Convert the resource to JSON +```powershell +$SpConfigExportJobStatus | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SpConfigExportResults.md b/PSSailpoint/v2024/docs/SpConfigExportResults.md new file mode 100644 index 000000000..eb61d71b7 --- /dev/null +++ b/PSSailpoint/v2024/docs/SpConfigExportResults.md @@ -0,0 +1,31 @@ +# SpConfigExportResults +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Version** | **Int32** | Current version of the export results object. | [optional] +**Timestamp** | **System.DateTime** | Time the export was completed. | [optional] +**Tenant** | **String** | Name of the tenant where this export originated. | [optional] +**Description** | **String** | Optional user defined description/name for export job. | [optional] +**Options** | [**ExportOptions**](ExportOptions.md) | | [optional] +**Objects** | [**ConfigObject[]**](ConfigObject.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$SpConfigExportResults = Initialize-PSSailpointV2024SpConfigExportResults -Version 1 ` + -Timestamp 2021-05-11T22:23:16Z ` + -Tenant sample-tenant ` + -Description Export Job 1 Test ` + -Options null ` + -Objects null +``` + +- Convert the resource to JSON +```powershell +$SpConfigExportResults | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SpConfigImportJobStatus.md b/PSSailpoint/v2024/docs/SpConfigImportJobStatus.md new file mode 100644 index 000000000..499290806 --- /dev/null +++ b/PSSailpoint/v2024/docs/SpConfigImportJobStatus.md @@ -0,0 +1,35 @@ +# SpConfigImportJobStatus +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**JobId** | **String** | Unique id assigned to this job. | +**Status** | **String** | Status of the job. | +**Type** | **String** | Type of the job, either export or import. | +**Expiration** | **System.DateTime** | The time until which the artifacts will be available for download. | +**Created** | **System.DateTime** | The time the job was started. | +**Modified** | **System.DateTime** | The time of the last update to the job. | +**Message** | **String** | This message contains additional information about the overall status of the job. | +**Completed** | **System.DateTime** | The time the job was completed. | + +## Examples + +- Prepare the resource +```powershell +$SpConfigImportJobStatus = Initialize-PSSailpointV2024SpConfigImportJobStatus -JobId 3469b87d-48ca-439a-868f-2160001da8c1 ` + -Status COMPLETE ` + -Type IMPORT ` + -Expiration 2021-05-11T22:23:16Z ` + -Created 2021-05-11T22:23:16Z ` + -Modified 2021-05-11T22:23:16Z ` + -Message Download import results for details. ` + -Completed 2021-05-11T22:23:16Z +``` + +- Convert the resource to JSON +```powershell +$SpConfigImportJobStatus | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SpConfigImportResults.md b/PSSailpoint/v2024/docs/SpConfigImportResults.md new file mode 100644 index 000000000..8e6ec223e --- /dev/null +++ b/PSSailpoint/v2024/docs/SpConfigImportResults.md @@ -0,0 +1,23 @@ +# SpConfigImportResults +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Results** | [**System.Collections.Hashtable**](ObjectImportResult1.md) | The results of an object configuration import job. | +**ExportJobId** | **String** | If a backup was performed before the import, this will contain the jobId of the backup job. This id can be used to retrieve the json file of the backup export. | [optional] + +## Examples + +- Prepare the resource +```powershell +$SpConfigImportResults = Initialize-PSSailpointV2024SpConfigImportResults -Results {results={TRIGGER_SUBSCRIPTION={infos=[{key=IMPORT_PREVIEW, text=Object to be imported: [c953134c-2224-42f2-a84e-fa5cbb395904, Test 2], detail=null}, {key=IMPORT_PREVIEW, text=Object to be imported: [be9e116d-08e1-49fc-ab7f-fa585e96c9e4, Test 1], detail=null}], warnings=[], errors=[], importedObjects=[]}}} ` + -ExportJobId be9e116d-08e1-49fc-ab7f-fa585e96c9e4 +``` + +- Convert the resource to JSON +```powershell +$SpConfigImportResults | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SpConfigJob.md b/PSSailpoint/v2024/docs/SpConfigJob.md new file mode 100644 index 000000000..a36e44b46 --- /dev/null +++ b/PSSailpoint/v2024/docs/SpConfigJob.md @@ -0,0 +1,31 @@ +# SpConfigJob +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**JobId** | **String** | Unique id assigned to this job. | +**Status** | **String** | Status of the job. | +**Type** | **String** | Type of the job, either export or import. | +**Expiration** | **System.DateTime** | The time until which the artifacts will be available for download. | +**Created** | **System.DateTime** | The time the job was started. | +**Modified** | **System.DateTime** | The time of the last update to the job. | + +## Examples + +- Prepare the resource +```powershell +$SpConfigJob = Initialize-PSSailpointV2024SpConfigJob -JobId 3469b87d-48ca-439a-868f-2160001da8c1 ` + -Status COMPLETE ` + -Type IMPORT ` + -Expiration 2021-05-11T22:23:16Z ` + -Created 2021-05-11T22:23:16Z ` + -Modified 2021-05-11T22:23:16Z +``` + +- Convert the resource to JSON +```powershell +$SpConfigJob | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SpConfigMessage.md b/PSSailpoint/v2024/docs/SpConfigMessage.md new file mode 100644 index 000000000..b89439352 --- /dev/null +++ b/PSSailpoint/v2024/docs/SpConfigMessage.md @@ -0,0 +1,25 @@ +# SpConfigMessage +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Key** | **String** | Message key. | +**Text** | **String** | Message text. | +**Details** | [**System.Collections.Hashtable**](AnyType.md) | Message details if any, in key:value pairs. | + +## Examples + +- Prepare the resource +```powershell +$SpConfigMessage = Initialize-PSSailpointV2024SpConfigMessage -Key UNKNOWN_REFERENCE_RESOLVER ` + -Text Unable to resolve reference for object [type: IDENTITY, id: 2c91808c746e9c9601747d6507332ecz, name: random identity] ` + -Details {details=message details} +``` + +- Convert the resource to JSON +```powershell +$SpConfigMessage | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SpConfigMessage1.md b/PSSailpoint/v2024/docs/SpConfigMessage1.md new file mode 100644 index 000000000..e38a37f42 --- /dev/null +++ b/PSSailpoint/v2024/docs/SpConfigMessage1.md @@ -0,0 +1,25 @@ +# SpConfigMessage1 +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Key** | **String** | Message key. | +**Text** | **String** | Message text. | +**Details** | [**System.Collections.Hashtable**](SystemCollectionsHashtable.md) | Message details if any, in key:value pairs. | + +## Examples + +- Prepare the resource +```powershell +$SpConfigMessage1 = Initialize-PSSailpointV2024SpConfigMessage1 -Key UNKNOWN_REFERENCE_RESOLVER ` + -Text Unable to resolve reference for object [type: IDENTITY, id: 2c91808c746e9c9601747d6507332ecz, name: random identity] ` + -Details {details=message details} +``` + +- Convert the resource to JSON +```powershell +$SpConfigMessage1 | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SpConfigObject.md b/PSSailpoint/v2024/docs/SpConfigObject.md new file mode 100644 index 000000000..e0dfa2720 --- /dev/null +++ b/PSSailpoint/v2024/docs/SpConfigObject.md @@ -0,0 +1,45 @@ +# SpConfigObject +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ObjectType** | **String** | The object type this configuration is for. | [optional] +**ResolveByIdUrl** | [**SpConfigUrl**](SpConfigUrl.md) | | [optional] +**ResolveByNameUrl** | [**SpConfigUrl[]**](SpConfigUrl.md) | Url and query parameters to be used to resolve this type of object by name. | [optional] +**ExportUrl** | [**SpConfigUrl**](SpConfigUrl.md) | | [optional] +**ExportRight** | **String** | Rights needed by the invoker of sp-config/export in order to export this type of object. | [optional] +**ExportLimit** | **Int32** | Pagination limit imposed by the target service for this object type. | [optional] +**ImportUrl** | [**SpConfigUrl**](SpConfigUrl.md) | | [optional] +**ImportRight** | **String** | Rights needed by the invoker of sp-config/import in order to import this type of object. | [optional] +**ImportLimit** | **Int32** | Pagination limit imposed by the target service for this object type. | [optional] +**ReferenceExtractors** | **String[]** | List of json paths within an exported object of this type that represent references that need to be resolved. | [optional] +**SignatureRequired** | **Boolean** | If true, this type of object will be JWS signed and cannot be modified before import. | [optional] [default to $false] +**LegacyObject** | **Boolean** | | [optional] [default to $false] +**OnePerTenant** | **Boolean** | | [optional] [default to $false] + +## Examples + +- Prepare the resource +```powershell +$SpConfigObject = Initialize-PSSailpointV2024SpConfigObject -ObjectType TRIGGER_SUBSCRIPTION ` + -ResolveByIdUrl null ` + -ResolveByNameUrl null ` + -ExportUrl null ` + -ExportRight idn:trigger-service-subscriptions:read ` + -ExportLimit 10 ` + -ImportUrl null ` + -ImportRight idn:trigger-service-subscriptions:create ` + -ImportLimit 10 ` + -ReferenceExtractors [$.owner] ` + -SignatureRequired false ` + -LegacyObject false ` + -OnePerTenant false +``` + +- Convert the resource to JSON +```powershell +$SpConfigObject | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SpConfigUrl.md b/PSSailpoint/v2024/docs/SpConfigUrl.md new file mode 100644 index 000000000..9eb781801 --- /dev/null +++ b/PSSailpoint/v2024/docs/SpConfigUrl.md @@ -0,0 +1,23 @@ +# SpConfigUrl +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Url** | **String** | URL for the target object endpoint. | [optional] +**Query** | [**SystemCollectionsHashtable**](.md) | Any query parameters that are needed for the URL. | [optional] + +## Examples + +- Prepare the resource +```powershell +$SpConfigUrl = Initialize-PSSailpointV2024SpConfigUrl -Url ets://trigger-subscriptions/$id ` + -Query null +``` + +- Convert the resource to JSON +```powershell +$SpConfigUrl | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Split.md b/PSSailpoint/v2024/docs/Split.md new file mode 100644 index 000000000..1503e1ed0 --- /dev/null +++ b/PSSailpoint/v2024/docs/Split.md @@ -0,0 +1,29 @@ +# Split +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Delimiter** | **String** | This can be either a single character or a regex expression, and is used by the transform to identify the break point between two substrings in the incoming data | +**Index** | **String** | An integer value for the desired array element after the incoming data has been split into a list; the array is a 0-based object, so the first array element would be index 0, the second element would be index 1, etc. | +**Throws** | **Boolean** | A boolean (true/false) value which indicates whether an exception should be thrown and returned as an output when an index is out of bounds with the resultant array (i.e., the provided index value is larger than the size of the array) `true` - The transform should return ""IndexOutOfBoundsException"" `false` - The transform should return null If not provided, the transform will default to false and return a null | [optional] [default to $false] +**RequiresPeriodicRefresh** | **Boolean** | A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process | [optional] [default to $false] +**VarInput** | [**System.Collections.Hashtable**](AnyType.md) | This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI. | [optional] + +## Examples + +- Prepare the resource +```powershell +$Split = Initialize-PSSailpointV2024Split -Delimiter , ` + -Index 5 ` + -Throws true ` + -RequiresPeriodicRefresh false ` + -VarInput {type=accountAttribute, attributes={attributeName=first_name, sourceName=Source}} +``` + +- Convert the resource to JSON +```powershell +$Split | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/StandardLevel.md b/PSSailpoint/v2024/docs/StandardLevel.md new file mode 100644 index 000000000..6c66d4a79 --- /dev/null +++ b/PSSailpoint/v2024/docs/StandardLevel.md @@ -0,0 +1,20 @@ +# StandardLevel +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$StandardLevel = Initialize-PSSailpointV2024StandardLevel +``` + +- Convert the resource to JSON +```powershell +$StandardLevel | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/StartInvocationInput.md b/PSSailpoint/v2024/docs/StartInvocationInput.md new file mode 100644 index 000000000..b96a2d080 --- /dev/null +++ b/PSSailpoint/v2024/docs/StartInvocationInput.md @@ -0,0 +1,25 @@ +# StartInvocationInput +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**TriggerId** | **String** | Trigger ID | [optional] +**VarInput** | [**SystemCollectionsHashtable**](.md) | Trigger input payload. Its schema is defined in the trigger definition. | [optional] +**ContentJson** | [**SystemCollectionsHashtable**](.md) | JSON map of invocation metadata | [optional] + +## Examples + +- Prepare the resource +```powershell +$StartInvocationInput = Initialize-PSSailpointV2024StartInvocationInput -TriggerId idn:access-requested ` + -VarInput {identityId=201327fda1c44704ac01181e963d463c} ` + -ContentJson {workflowId=1234} +``` + +- Convert the resource to JSON +```powershell +$StartInvocationInput | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Static.md b/PSSailpoint/v2024/docs/Static.md new file mode 100644 index 000000000..e0de6847d --- /dev/null +++ b/PSSailpoint/v2024/docs/Static.md @@ -0,0 +1,23 @@ +# Static +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Values** | **String** | This must evaluate to a JSON string, either through a fixed value or through conditional logic using the Apache Velocity Template Language. | +**RequiresPeriodicRefresh** | **Boolean** | A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process | [optional] [default to $false] + +## Examples + +- Prepare the resource +```powershell +$Static = Initialize-PSSailpointV2024Static -Values string$variable ` + -RequiresPeriodicRefresh false +``` + +- Convert the resource to JSON +```powershell +$Static | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/StatusResponse.md b/PSSailpoint/v2024/docs/StatusResponse.md new file mode 100644 index 000000000..63f3b9017 --- /dev/null +++ b/PSSailpoint/v2024/docs/StatusResponse.md @@ -0,0 +1,29 @@ +# StatusResponse +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | ID of the source | [optional] [readonly] +**Name** | **String** | Name of the source | [optional] [readonly] +**Status** | **String** | The status of the health check. | [optional] [readonly] +**ElapsedMillis** | **Int32** | The number of milliseconds spent on the entire request. | [optional] [readonly] +**Details** | [**SystemCollectionsHashtable**](.md) | The document contains the results of the health check. The schema of this document depends on the type of source used. | [optional] [readonly] + +## Examples + +- Prepare the resource +```powershell +$StatusResponse = Initialize-PSSailpointV2024StatusResponse -Id 2c91808568c529c60168cca6f90c1313 ` + -Name ODS-AD-Test [source-999999] ` + -Status SUCCESS ` + -ElapsedMillis 1000 ` + -Details {useTLSForIQService=false, IQService={TLS Port=0, .NET CLR Version=4.0.30319.42000, SecondaryServiceStatus=Running, Port=5050, Host=AUTOMATION-AD, Name=IQService, IQServiceStatus=Running, SecondaryService=IQService-Instance1-Secondary, Version=IQService Sep-2020, secondaryPort=5051, OS Architecture=AMD64, Operating System=Microsoft Windows Server 2012 R2 Standard, highestDotNetVersion=4.8 or later, Build Time=09/22/2020 06:34 AM -0500}, IQServiceClientAuthEnabled=false, requestProcessedOn=1/19/2021 1:47:14 PM} +``` + +- Convert the resource to JSON +```powershell +$StatusResponse | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SubSearchAggregationSpecification.md b/PSSailpoint/v2024/docs/SubSearchAggregationSpecification.md new file mode 100644 index 000000000..ec38fd84a --- /dev/null +++ b/PSSailpoint/v2024/docs/SubSearchAggregationSpecification.md @@ -0,0 +1,29 @@ +# SubSearchAggregationSpecification +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Nested** | [**NestedAggregation**](NestedAggregation.md) | | [optional] +**Metric** | [**MetricAggregation**](MetricAggregation.md) | | [optional] +**VarFilter** | [**FilterAggregation**](FilterAggregation.md) | | [optional] +**Bucket** | [**BucketAggregation**](BucketAggregation.md) | | [optional] +**SubAggregation** | [**Aggregations**](Aggregations.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$SubSearchAggregationSpecification = Initialize-PSSailpointV2024SubSearchAggregationSpecification -Nested null ` + -Metric null ` + -VarFilter null ` + -Bucket null ` + -SubAggregation null +``` + +- Convert the resource to JSON +```powershell +$SubSearchAggregationSpecification | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Subscription.md b/PSSailpoint/v2024/docs/Subscription.md new file mode 100644 index 000000000..d983e30e7 --- /dev/null +++ b/PSSailpoint/v2024/docs/Subscription.md @@ -0,0 +1,41 @@ +# Subscription +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Subscription ID. | +**Name** | **String** | Subscription name. | +**Description** | **String** | Subscription description. | [optional] +**TriggerId** | **String** | ID of trigger subscribed to. | +**TriggerName** | **String** | Trigger name of trigger subscribed to. | +**Type** | [**SubscriptionType**](SubscriptionType.md) | | +**ResponseDeadline** | **String** | Deadline for completing REQUEST_RESPONSE trigger invocation, represented in ISO-8601 duration format. | [optional] [default to "PT1H"] +**HttpConfig** | [**HttpConfig**](HttpConfig.md) | | [optional] +**EventBridgeConfig** | [**EventBridgeConfig**](EventBridgeConfig.md) | | [optional] +**Enabled** | **Boolean** | Whether subscription should receive real-time trigger invocations or not. Test trigger invocations are always enabled regardless of this option. | [default to $true] +**VarFilter** | **String** | JSONPath filter to conditionally invoke trigger when expression evaluates to true. | [optional] + +## Examples + +- Prepare the resource +```powershell +$Subscription = Initialize-PSSailpointV2024Subscription -Id 0f11f2a4-7c94-4bf3-a2bd-742580fe3bde ` + -Name Access request subscription ` + -Description Access requested to site xyz ` + -TriggerId idn:access-request-post-approval ` + -TriggerName Access Requested ` + -Type null ` + -ResponseDeadline PT1H ` + -HttpConfig null ` + -EventBridgeConfig null ` + -Enabled true ` + -VarFilter $[?($.identityId == "201327fda1c44704ac01181e963d463c")] +``` + +- Convert the resource to JSON +```powershell +$Subscription | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SubscriptionPatchRequestInner.md b/PSSailpoint/v2024/docs/SubscriptionPatchRequestInner.md new file mode 100644 index 000000000..85429b5de --- /dev/null +++ b/PSSailpoint/v2024/docs/SubscriptionPatchRequestInner.md @@ -0,0 +1,25 @@ +# SubscriptionPatchRequestInner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Op** | **String** | The operation to be performed | +**Path** | **String** | A string JSON Pointer representing the target path to an element to be affected by the operation | +**Value** | [**SubscriptionPatchRequestInnerValue**](SubscriptionPatchRequestInnerValue.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$SubscriptionPatchRequestInner = Initialize-PSSailpointV2024SubscriptionPatchRequestInner -Op replace ` + -Path /description ` + -Value null +``` + +- Convert the resource to JSON +```powershell +$SubscriptionPatchRequestInner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SubscriptionPatchRequestInnerValue.md b/PSSailpoint/v2024/docs/SubscriptionPatchRequestInnerValue.md new file mode 100644 index 000000000..565908821 --- /dev/null +++ b/PSSailpoint/v2024/docs/SubscriptionPatchRequestInnerValue.md @@ -0,0 +1,20 @@ +# SubscriptionPatchRequestInnerValue +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$SubscriptionPatchRequestInnerValue = Initialize-PSSailpointV2024SubscriptionPatchRequestInnerValue +``` + +- Convert the resource to JSON +```powershell +$SubscriptionPatchRequestInnerValue | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SubscriptionPatchRequestInnerValueAnyOfInner.md b/PSSailpoint/v2024/docs/SubscriptionPatchRequestInnerValueAnyOfInner.md new file mode 100644 index 000000000..6e64d6a32 --- /dev/null +++ b/PSSailpoint/v2024/docs/SubscriptionPatchRequestInnerValueAnyOfInner.md @@ -0,0 +1,20 @@ +# SubscriptionPatchRequestInnerValueAnyOfInner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$SubscriptionPatchRequestInnerValueAnyOfInner = Initialize-PSSailpointV2024SubscriptionPatchRequestInnerValueAnyOfInner +``` + +- Convert the resource to JSON +```powershell +$SubscriptionPatchRequestInnerValueAnyOfInner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SubscriptionPostRequest.md b/PSSailpoint/v2024/docs/SubscriptionPostRequest.md new file mode 100644 index 000000000..8fad417fd --- /dev/null +++ b/PSSailpoint/v2024/docs/SubscriptionPostRequest.md @@ -0,0 +1,37 @@ +# SubscriptionPostRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | Subscription name. | +**Description** | **String** | Subscription description. | [optional] +**TriggerId** | **String** | ID of trigger subscribed to. | +**Type** | [**SubscriptionType**](SubscriptionType.md) | | +**ResponseDeadline** | **String** | Deadline for completing REQUEST_RESPONSE trigger invocation, represented in ISO-8601 duration format. | [optional] [default to "PT1H"] +**HttpConfig** | [**HttpConfig**](HttpConfig.md) | | [optional] +**EventBridgeConfig** | [**EventBridgeConfig**](EventBridgeConfig.md) | | [optional] +**Enabled** | **Boolean** | Whether subscription should receive real-time trigger invocations or not. Test trigger invocations are always enabled regardless of this option. | [optional] [default to $true] +**VarFilter** | **String** | JSONPath filter to conditionally invoke trigger when expression evaluates to true. | [optional] + +## Examples + +- Prepare the resource +```powershell +$SubscriptionPostRequest = Initialize-PSSailpointV2024SubscriptionPostRequest -Name Access request subscription ` + -Description Access requested to site xyz ` + -TriggerId idn:access-requested ` + -Type null ` + -ResponseDeadline PT1H ` + -HttpConfig null ` + -EventBridgeConfig null ` + -Enabled true ` + -VarFilter $[?($.identityId == "201327fda1c44704ac01181e963d463c")] +``` + +- Convert the resource to JSON +```powershell +$SubscriptionPostRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SubscriptionPutRequest.md b/PSSailpoint/v2024/docs/SubscriptionPutRequest.md new file mode 100644 index 000000000..008ac4871 --- /dev/null +++ b/PSSailpoint/v2024/docs/SubscriptionPutRequest.md @@ -0,0 +1,35 @@ +# SubscriptionPutRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | Subscription name. | [optional] +**Description** | **String** | Subscription description. | [optional] +**Type** | [**SubscriptionType**](SubscriptionType.md) | | [optional] +**ResponseDeadline** | **String** | Deadline for completing REQUEST_RESPONSE trigger invocation, represented in ISO-8601 duration format. | [optional] [default to "PT1H"] +**HttpConfig** | [**HttpConfig**](HttpConfig.md) | | [optional] +**EventBridgeConfig** | [**EventBridgeConfig**](EventBridgeConfig.md) | | [optional] +**Enabled** | **Boolean** | Whether subscription should receive real-time trigger invocations or not. Test trigger invocations are always enabled regardless of this option. | [optional] [default to $true] +**VarFilter** | **String** | JSONPath filter to conditionally invoke trigger when expression evaluates to true. | [optional] + +## Examples + +- Prepare the resource +```powershell +$SubscriptionPutRequest = Initialize-PSSailpointV2024SubscriptionPutRequest -Name Access request subscription ` + -Description Access requested to site xyz ` + -Type null ` + -ResponseDeadline PT1H ` + -HttpConfig null ` + -EventBridgeConfig null ` + -Enabled true ` + -VarFilter $[?($.identityId == "201327fda1c44704ac01181e963d463c")] +``` + +- Convert the resource to JSON +```powershell +$SubscriptionPutRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/SubscriptionType.md b/PSSailpoint/v2024/docs/SubscriptionType.md new file mode 100644 index 000000000..f742ae7d5 --- /dev/null +++ b/PSSailpoint/v2024/docs/SubscriptionType.md @@ -0,0 +1,20 @@ +# SubscriptionType +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$SubscriptionType = Initialize-PSSailpointV2024SubscriptionType +``` + +- Convert the resource to JSON +```powershell +$SubscriptionType | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Substring.md b/PSSailpoint/v2024/docs/Substring.md new file mode 100644 index 000000000..c789d267a --- /dev/null +++ b/PSSailpoint/v2024/docs/Substring.md @@ -0,0 +1,31 @@ +# Substring +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**VarBegin** | **Int32** | The index of the first character to include in the returned substring. If `begin` is set to -1, the transform will begin at character 0 of the input data | +**BeginOffset** | **Int32** | This integer value is the number of characters to add to the begin attribute when returning a substring. This attribute is only used if begin is not -1. | [optional] +**VarEnd** | **Int32** | The index of the first character to exclude from the returned substring. If end is -1 or not provided at all, the substring transform will return everything up to the end of the input string. | [optional] +**EndOffset** | **Int32** | This integer value is the number of characters to add to the end attribute when returning a substring. This attribute is only used if end is provided and is not -1. | [optional] +**RequiresPeriodicRefresh** | **Boolean** | A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process | [optional] [default to $false] +**VarInput** | [**System.Collections.Hashtable**](AnyType.md) | This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI. | [optional] + +## Examples + +- Prepare the resource +```powershell +$Substring = Initialize-PSSailpointV2024Substring -VarBegin 1 ` + -BeginOffset 3 ` + -VarEnd 6 ` + -EndOffset 1 ` + -RequiresPeriodicRefresh false ` + -VarInput {type=accountAttribute, attributes={attributeName=first_name, sourceName=Source}} +``` + +- Convert the resource to JSON +```powershell +$Substring | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/TaggedObject.md b/PSSailpoint/v2024/docs/TaggedObject.md new file mode 100644 index 000000000..126f5471b --- /dev/null +++ b/PSSailpoint/v2024/docs/TaggedObject.md @@ -0,0 +1,23 @@ +# TaggedObject +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ObjectRef** | [**TaggedObjectDto**](TaggedObjectDto.md) | | [optional] +**Tags** | **String[]** | Labels to be applied to an Object | [optional] + +## Examples + +- Prepare the resource +```powershell +$TaggedObject = Initialize-PSSailpointV2024TaggedObject -ObjectRef null ` + -Tags [BU_FINANCE, PCI] +``` + +- Convert the resource to JSON +```powershell +$TaggedObject | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/TaggedObjectDto.md b/PSSailpoint/v2024/docs/TaggedObjectDto.md new file mode 100644 index 000000000..8d2d36310 --- /dev/null +++ b/PSSailpoint/v2024/docs/TaggedObjectDto.md @@ -0,0 +1,25 @@ +# TaggedObjectDto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | DTO type | [optional] +**Id** | **String** | ID of the object this reference applies to | [optional] +**Name** | **String** | Human-readable display name of the object this reference applies to | [optional] + +## Examples + +- Prepare the resource +```powershell +$TaggedObjectDto = Initialize-PSSailpointV2024TaggedObjectDto -Type IDENTITY ` + -Id 2c91808568c529c60168cca6f90c1313 ` + -Name William Wilson +``` + +- Convert the resource to JSON +```powershell +$TaggedObjectDto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Target.md b/PSSailpoint/v2024/docs/Target.md new file mode 100644 index 000000000..4085f048b --- /dev/null +++ b/PSSailpoint/v2024/docs/Target.md @@ -0,0 +1,25 @@ +# Target +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Target ID | [optional] +**Type** | **String** | Target type | [optional] +**Name** | **String** | Target name | [optional] + +## Examples + +- Prepare the resource +```powershell +$Target = Initialize-PSSailpointV2024Target -Id c6dc37bf508149b28ce5b7d90ca4bbf9 ` + -Type APPLICATION ` + -Name Active Directory [source] +``` + +- Convert the resource to JSON +```powershell +$Target | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/TaskDefinitionSummary.md b/PSSailpoint/v2024/docs/TaskDefinitionSummary.md new file mode 100644 index 000000000..5366bcec5 --- /dev/null +++ b/PSSailpoint/v2024/docs/TaskDefinitionSummary.md @@ -0,0 +1,31 @@ +# TaskDefinitionSummary +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | System-generated unique ID of the TaskDefinition | +**UniqueName** | **String** | Name of the TaskDefinition | +**Description** | **String** | Description of the TaskDefinition | +**ParentName** | **String** | Name of the parent of the TaskDefinition | +**Executor** | **String** | Executor of the TaskDefinition | +**Arguments** | [**System.Collections.Hashtable**](AnyType.md) | Formal parameters of the TaskDefinition, without values | + +## Examples + +- Prepare the resource +```powershell +$TaskDefinitionSummary = Initialize-PSSailpointV2024TaskDefinitionSummary -Id 2c91808475b4334b0175e1dff64b63c5 ` + -UniqueName Cloud Account Aggregation ` + -Description Aggregates from the specified application. ` + -ParentName Cloud Account Aggregation ` + -Executor sailpoint.task.ServiceTaskExecutor ` + -Arguments null +``` + +- Convert the resource to JSON +```powershell +$TaskDefinitionSummary | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/TaskResultDetails.md b/PSSailpoint/v2024/docs/TaskResultDetails.md new file mode 100644 index 000000000..8bdecc340 --- /dev/null +++ b/PSSailpoint/v2024/docs/TaskResultDetails.md @@ -0,0 +1,47 @@ +# TaskResultDetails +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | Type of the job or task underlying in the report processing. It could be a quartz task, QPOC or MENTOS jobs or a refresh/sync task. | [optional] +**Id** | **String** | Unique task definition identifier. | [optional] +**ReportType** | [**SystemCollectionsHashtable**](.md) | Use this property to define what report should be processed in the RDE service. | [optional] +**Description** | **String** | Description of the report purpose and/or contents. | [optional] +**ParentName** | **String** | Name of the parent task/report if exists. | [optional] +**Launcher** | **String** | Name of the report processing initiator. | [optional] +**Created** | **System.DateTime** | Report creation date | [optional] +**Launched** | **System.DateTime** | Report start date | [optional] +**Completed** | **System.DateTime** | Report completion date | [optional] +**CompletionStatus** | **String** | Report completion status. | [optional] +**Messages** | [**TaskResultDetailsMessagesInner[]**](TaskResultDetailsMessagesInner.md) | List of the messages dedicated to the report. From task definition perspective here usually should be warnings or errors. | [optional] +**Returns** | [**TaskResultDetailsReturnsInner[]**](TaskResultDetailsReturnsInner.md) | Task definition results, if necessary. | [optional] +**Attributes** | [**System.Collections.Hashtable**](SystemCollectionsHashtable.md) | Extra attributes map(dictionary) needed for the report. | [optional] +**Progress** | **String** | Current report state. | [optional] + +## Examples + +- Prepare the resource +```powershell +$TaskResultDetails = Initialize-PSSailpointV2024TaskResultDetails -Type MENTOS ` + -Id a248c16fe22222b2bd49615481311111 ` + -ReportType IDENTITIES_DETAILS ` + -Description A detailed view of the identities in the system. ` + -ParentName Audit Report ` + -Launcher cloudadmin ` + -Created null ` + -Launched null ` + -Completed null ` + -CompletionStatus Success ` + -Messages [] ` + -Returns [] ` + -Attributes {org=an-org} ` + -Progress Initializing... +``` + +- Convert the resource to JSON +```powershell +$TaskResultDetails | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/TaskResultDetailsMessagesInner.md b/PSSailpoint/v2024/docs/TaskResultDetailsMessagesInner.md new file mode 100644 index 000000000..6faef9174 --- /dev/null +++ b/PSSailpoint/v2024/docs/TaskResultDetailsMessagesInner.md @@ -0,0 +1,29 @@ +# TaskResultDetailsMessagesInner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | Type of the message. | [optional] +**VarError** | **Boolean** | Flag whether message is an error. | [optional] [default to $false] +**Warning** | **Boolean** | Flag whether message is a warning. | [optional] [default to $false] +**Key** | **String** | Message string identifier. | [optional] +**LocalizedText** | **String** | Message context with the locale based language. | [optional] + +## Examples + +- Prepare the resource +```powershell +$TaskResultDetailsMessagesInner = Initialize-PSSailpointV2024TaskResultDetailsMessagesInner -Type WARN ` + -VarError false ` + -Warning true ` + -Key The following account(s) failed to correlate: A,B,C ` + -LocalizedText The following account(s) failed to correlate: A,B,C +``` + +- Convert the resource to JSON +```powershell +$TaskResultDetailsMessagesInner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/TaskResultDetailsReturnsInner.md b/PSSailpoint/v2024/docs/TaskResultDetailsReturnsInner.md new file mode 100644 index 000000000..8946c453b --- /dev/null +++ b/PSSailpoint/v2024/docs/TaskResultDetailsReturnsInner.md @@ -0,0 +1,23 @@ +# TaskResultDetailsReturnsInner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**DisplayLabel** | **String** | Attribute description. | [optional] +**AttributeName** | **String** | System or database attribute name. | [optional] + +## Examples + +- Prepare the resource +```powershell +$TaskResultDetailsReturnsInner = Initialize-PSSailpointV2024TaskResultDetailsReturnsInner -DisplayLabel ` + -AttributeName +``` + +- Convert the resource to JSON +```powershell +$TaskResultDetailsReturnsInner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/TaskResultDto.md b/PSSailpoint/v2024/docs/TaskResultDto.md new file mode 100644 index 000000000..1bfa7cd80 --- /dev/null +++ b/PSSailpoint/v2024/docs/TaskResultDto.md @@ -0,0 +1,25 @@ +# TaskResultDto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | Task result DTO type. | [optional] +**Id** | **String** | Task result ID. | [optional] +**Name** | **String** | Task result display name. | [optional] + +## Examples + +- Prepare the resource +```powershell +$TaskResultDto = Initialize-PSSailpointV2024TaskResultDto -Type TASK_RESULT ` + -Id 464ae7bf791e49fdb74606a2e4a89635 ` + -Name null +``` + +- Convert the resource to JSON +```powershell +$TaskResultDto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/TaskResultResponse.md b/PSSailpoint/v2024/docs/TaskResultResponse.md new file mode 100644 index 000000000..877710fc5 --- /dev/null +++ b/PSSailpoint/v2024/docs/TaskResultResponse.md @@ -0,0 +1,25 @@ +# TaskResultResponse +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | the type of response reference | [optional] +**Id** | **String** | the task ID | [optional] +**Name** | **String** | the task name (not used in this endpoint, always null) | [optional] + +## Examples + +- Prepare the resource +```powershell +$TaskResultResponse = Initialize-PSSailpointV2024TaskResultResponse -Type TASK_RESULT ` + -Id 78733556-9ea3-4f59-bf69-e5cd92b011b4 ` + -Name null +``` + +- Convert the resource to JSON +```powershell +$TaskResultResponse | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/TaskResultSimplified.md b/PSSailpoint/v2024/docs/TaskResultSimplified.md new file mode 100644 index 000000000..ccf967847 --- /dev/null +++ b/PSSailpoint/v2024/docs/TaskResultSimplified.md @@ -0,0 +1,33 @@ +# TaskResultSimplified +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Task identifier | [optional] +**Name** | **String** | Task name | [optional] +**Description** | **String** | Task description | [optional] +**Launcher** | **String** | User or process who launched the task | [optional] +**Completed** | **System.DateTime** | Date time of completion | [optional] +**Launched** | **System.DateTime** | Date time when the task was launched | [optional] +**CompletionStatus** | **String** | Task result status | [optional] + +## Examples + +- Prepare the resource +```powershell +$TaskResultSimplified = Initialize-PSSailpointV2024TaskResultSimplified -Id ff8081814d977c21014da056804a0af3 ` + -Name Background Object Terminator c8f030f2-b1a6-4e33-99e8-6935bc18735d ` + -Description Generic task for terminating data in the overlay, used by the TerminationService. ` + -Launcher support ` + -Completed null ` + -Launched null ` + -CompletionStatus Success +``` + +- Convert the resource to JSON +```powershell +$TaskResultSimplified | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/TaskReturnDetails.md b/PSSailpoint/v2024/docs/TaskReturnDetails.md new file mode 100644 index 000000000..e6d4c287e --- /dev/null +++ b/PSSailpoint/v2024/docs/TaskReturnDetails.md @@ -0,0 +1,23 @@ +# TaskReturnDetails +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | Display name of the TaskReturnDetails | +**AttributeName** | **String** | Attribute the TaskReturnDetails is for | + +## Examples + +- Prepare the resource +```powershell +$TaskReturnDetails = Initialize-PSSailpointV2024TaskReturnDetails -Name label ` + -AttributeName identityCount +``` + +- Convert the resource to JSON +```powershell +$TaskReturnDetails | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/TaskStatus.md b/PSSailpoint/v2024/docs/TaskStatus.md new file mode 100644 index 000000000..986c1e172 --- /dev/null +++ b/PSSailpoint/v2024/docs/TaskStatus.md @@ -0,0 +1,55 @@ +# TaskStatus +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | System-generated unique ID of the task this TaskStatus represents | +**Type** | **String** | Type of task this TaskStatus represents | +**UniqueName** | **String** | Name of the task this TaskStatus represents | +**Description** | **String** | Description of the task this TaskStatus represents | +**ParentName** | **String** | Name of the parent of the task this TaskStatus represents | +**Launcher** | **String** | Service to execute the task this TaskStatus represents | +**Target** | [**Target**](Target.md) | | [optional] +**Created** | **System.DateTime** | Creation date of the task this TaskStatus represents | +**Modified** | **System.DateTime** | Last modification date of the task this TaskStatus represents | +**Launched** | **System.DateTime** | Launch date of the task this TaskStatus represents | +**Completed** | **System.DateTime** | Completion date of the task this TaskStatus represents | +**CompletionStatus** | **String** | Completion status of the task this TaskStatus represents | +**Messages** | [**TaskStatusMessage[]**](TaskStatusMessage.md) | Messages associated with the task this TaskStatus represents | +**Returns** | [**TaskReturnDetails[]**](TaskReturnDetails.md) | Return values from the task this TaskStatus represents | +**Attributes** | [**System.Collections.Hashtable**](AnyType.md) | Attributes of the task this TaskStatus represents | +**Progress** | **String** | Current progress of the task this TaskStatus represents | +**PercentComplete** | **Int32** | Current percentage completion of the task this TaskStatus represents | +**TaskDefinitionSummary** | [**TaskDefinitionSummary**](TaskDefinitionSummary.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$TaskStatus = Initialize-PSSailpointV2024TaskStatus -Id id12345 ` + -Type QUARTZ ` + -UniqueName Big Task ` + -Description A Really Big Task ` + -ParentName Parent Task ` + -Launcher sweep ` + -Target null ` + -Created 2020-07-11T21:23:15Z ` + -Modified 2020-07-11T21:23:15Z ` + -Launched 2020-07-11T21:23:15Z ` + -Completed 2020-07-11T21:23:15Z ` + -CompletionStatus SUCCESS ` + -Messages null ` + -Returns null ` + -Attributes {identityCount=0} ` + -Progress Started ` + -PercentComplete 100 ` + -TaskDefinitionSummary null +``` + +- Convert the resource to JSON +```powershell +$TaskStatus | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/TaskStatusMessage.md b/PSSailpoint/v2024/docs/TaskStatusMessage.md new file mode 100644 index 000000000..1933ddd66 --- /dev/null +++ b/PSSailpoint/v2024/docs/TaskStatusMessage.md @@ -0,0 +1,27 @@ +# TaskStatusMessage +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | Type of the message | +**LocalizedText** | [**LocalizedMessage**](LocalizedMessage.md) | | +**Key** | **String** | Key of the message | +**Parameters** | [**SystemCollectionsHashtable[]**](SystemCollectionsHashtable.md) | Message parameters for internationalization | + +## Examples + +- Prepare the resource +```powershell +$TaskStatusMessage = Initialize-PSSailpointV2024TaskStatusMessage -Type INFO ` + -LocalizedText null ` + -Key akey ` + -Parameters [{name=value}] +``` + +- Convert the resource to JSON +```powershell +$TaskStatusMessage | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/TemplateBulkDeleteDto.md b/PSSailpoint/v2024/docs/TemplateBulkDeleteDto.md new file mode 100644 index 000000000..d8ebefcf1 --- /dev/null +++ b/PSSailpoint/v2024/docs/TemplateBulkDeleteDto.md @@ -0,0 +1,25 @@ +# TemplateBulkDeleteDto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Key** | **String** | | +**Medium** | **String** | | [optional] +**Locale** | **String** | The locale for the message text, a BCP 47 language tag. | [optional] + +## Examples + +- Prepare the resource +```powershell +$TemplateBulkDeleteDto = Initialize-PSSailpointV2024TemplateBulkDeleteDto -Key cloud_manual_work_item_summary ` + -Medium EMAIL ` + -Locale en +``` + +- Convert the resource to JSON +```powershell +$TemplateBulkDeleteDto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/TemplateDto.md b/PSSailpoint/v2024/docs/TemplateDto.md new file mode 100644 index 000000000..623442821 --- /dev/null +++ b/PSSailpoint/v2024/docs/TemplateDto.md @@ -0,0 +1,51 @@ +# TemplateDto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Key** | **String** | The key of the template | +**Name** | **String** | The name of the Task Manager Subscription | [optional] +**Medium** | **String** | The message medium. More mediums may be added in the future. | +**Locale** | **String** | The locale for the message text, a BCP 47 language tag. | +**Subject** | **String** | The subject line in the template | [optional] +**Header** | **String** | The header value is now located within the body field. If included with non-null values, will result in a 400. | [optional] +**Body** | **String** | The body in the template | [optional] +**Footer** | **String** | The footer value is now located within the body field. If included with non-null values, will result in a 400. | [optional] +**VarFrom** | **String** | The ""From:"" address in the template | [optional] +**ReplyTo** | **String** | The ""Reply To"" line in the template | [optional] +**Description** | **String** | The description in the template | [optional] +**Id** | **String** | This is auto-generated. | [optional] +**Created** | **System.DateTime** | The time when this template is created. This is auto-generated. | [optional] +**Modified** | **System.DateTime** | The time when this template was last modified. This is auto-generated. | [optional] +**SlackTemplate** | **String** | | [optional] +**TeamsTemplate** | **String** | | [optional] + +## Examples + +- Prepare the resource +```powershell +$TemplateDto = Initialize-PSSailpointV2024TemplateDto -Key cloud_manual_work_item_summary ` + -Name Task Manager Subscription ` + -Medium EMAIL ` + -Locale en ` + -Subject You have $numberOfPendingTasks $taskTasks to complete in ${__global.productName}. ` + -Header null ` + -Body Please go to the task manager ` + -Footer null ` + -VarFrom $__global.emailFromAddress ` + -ReplyTo $__global.emailFromAddress ` + -Description Daily digest - sent if number of outstanding tasks for task owner > 0 ` + -Id c17bea3a-574d-453c-9e04-4365fbf5af0b ` + -Created 2020-01-01T00:00Z ` + -Modified 2020-01-01T00:00Z ` + -SlackTemplate null ` + -TeamsTemplate null +``` + +- Convert the resource to JSON +```powershell +$TemplateDto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/TemplateDtoDefault.md b/PSSailpoint/v2024/docs/TemplateDtoDefault.md new file mode 100644 index 000000000..3cc3d67cf --- /dev/null +++ b/PSSailpoint/v2024/docs/TemplateDtoDefault.md @@ -0,0 +1,45 @@ +# TemplateDtoDefault +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Key** | **String** | The key of the default template | [optional] +**Name** | **String** | The name of the default template | [optional] +**Medium** | **String** | The message medium. More mediums may be added in the future. | [optional] +**Locale** | **String** | The locale for the message text, a BCP 47 language tag. | [optional] +**Subject** | **String** | The subject of the default template | [optional] +**Header** | **String** | The header value is now located within the body field. If included with non-null values, will result in a 400. | [optional] +**Body** | **String** | The body of the default template | [optional] +**Footer** | **String** | The footer value is now located within the body field. If included with non-null values, will result in a 400. | [optional] +**VarFrom** | **String** | The ""From:"" address of the default template | [optional] +**ReplyTo** | **String** | The ""Reply To"" field of the default template | [optional] +**Description** | **String** | The description of the default template | [optional] +**SlackTemplate** | [**TemplateSlack**](TemplateSlack.md) | | [optional] +**TeamsTemplate** | [**TemplateTeams**](TemplateTeams.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$TemplateDtoDefault = Initialize-PSSailpointV2024TemplateDtoDefault -Key cloud_manual_work_item_summary ` + -Name Task Manager Subscription ` + -Medium EMAIL ` + -Locale en ` + -Subject You have $numberOfPendingTasks $taskTasks to complete in ${__global.productName}. ` + -Header null ` + -Body Please go to the task manager ` + -Footer null ` + -VarFrom $__global.emailFromAddress ` + -ReplyTo $__global.emailFromAddress ` + -Description Daily digest - sent if number of outstanding tasks for task owner > 0 ` + -SlackTemplate null ` + -TeamsTemplate null +``` + +- Convert the resource to JSON +```powershell +$TemplateDtoDefault | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/TemplateSlack.md b/PSSailpoint/v2024/docs/TemplateSlack.md new file mode 100644 index 000000000..3958d37b0 --- /dev/null +++ b/PSSailpoint/v2024/docs/TemplateSlack.md @@ -0,0 +1,41 @@ +# TemplateSlack +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Key** | **String** | | [optional] +**Text** | **String** | | [optional] +**Blocks** | **String** | | [optional] +**Attachments** | **String** | | [optional] +**NotificationType** | **String** | | [optional] +**ApprovalId** | **String** | | [optional] +**RequestId** | **String** | | [optional] +**RequestedById** | **String** | | [optional] +**IsSubscription** | **Boolean** | | [optional] +**AutoApprovalData** | [**TemplateSlackAutoApprovalData**](TemplateSlackAutoApprovalData.md) | | [optional] +**CustomFields** | [**TemplateSlackCustomFields**](TemplateSlackCustomFields.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$TemplateSlack = Initialize-PSSailpointV2024TemplateSlack -Key null ` + -Text null ` + -Blocks null ` + -Attachments null ` + -NotificationType null ` + -ApprovalId null ` + -RequestId null ` + -RequestedById null ` + -IsSubscription null ` + -AutoApprovalData null ` + -CustomFields null +``` + +- Convert the resource to JSON +```powershell +$TemplateSlack | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/TemplateSlackAutoApprovalData.md b/PSSailpoint/v2024/docs/TemplateSlackAutoApprovalData.md new file mode 100644 index 000000000..620355a3b --- /dev/null +++ b/PSSailpoint/v2024/docs/TemplateSlackAutoApprovalData.md @@ -0,0 +1,29 @@ +# TemplateSlackAutoApprovalData +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**IsAutoApproved** | **String** | | [optional] +**ItemId** | **String** | | [optional] +**ItemType** | **String** | | [optional] +**AutoApprovalMessageJSON** | **String** | | [optional] +**AutoApprovalTitle** | **String** | | [optional] + +## Examples + +- Prepare the resource +```powershell +$TemplateSlackAutoApprovalData = Initialize-PSSailpointV2024TemplateSlackAutoApprovalData -IsAutoApproved null ` + -ItemId null ` + -ItemType null ` + -AutoApprovalMessageJSON null ` + -AutoApprovalTitle null +``` + +- Convert the resource to JSON +```powershell +$TemplateSlackAutoApprovalData | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/TemplateSlackCustomFields.md b/PSSailpoint/v2024/docs/TemplateSlackCustomFields.md new file mode 100644 index 000000000..1b36afe24 --- /dev/null +++ b/PSSailpoint/v2024/docs/TemplateSlackCustomFields.md @@ -0,0 +1,27 @@ +# TemplateSlackCustomFields +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**RequestType** | **String** | | [optional] +**ContainsDeny** | **String** | | [optional] +**CampaignId** | **String** | | [optional] +**CampaignStatus** | **String** | | [optional] + +## Examples + +- Prepare the resource +```powershell +$TemplateSlackCustomFields = Initialize-PSSailpointV2024TemplateSlackCustomFields -RequestType null ` + -ContainsDeny null ` + -CampaignId null ` + -CampaignStatus null +``` + +- Convert the resource to JSON +```powershell +$TemplateSlackCustomFields | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/TemplateTeams.md b/PSSailpoint/v2024/docs/TemplateTeams.md new file mode 100644 index 000000000..a7d222f00 --- /dev/null +++ b/PSSailpoint/v2024/docs/TemplateTeams.md @@ -0,0 +1,41 @@ +# TemplateTeams +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Key** | **String** | | [optional] +**Title** | **String** | | [optional] +**Text** | **String** | | [optional] +**MessageJSON** | **String** | | [optional] +**IsSubscription** | **Boolean** | | [optional] +**ApprovalId** | **String** | | [optional] +**RequestId** | **String** | | [optional] +**RequestedById** | **String** | | [optional] +**NotificationType** | **String** | | [optional] +**AutoApprovalData** | [**TemplateSlackAutoApprovalData**](TemplateSlackAutoApprovalData.md) | | [optional] +**CustomFields** | [**TemplateSlackCustomFields**](TemplateSlackCustomFields.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$TemplateTeams = Initialize-PSSailpointV2024TemplateTeams -Key null ` + -Title null ` + -Text null ` + -MessageJSON null ` + -IsSubscription null ` + -ApprovalId null ` + -RequestId null ` + -RequestedById null ` + -NotificationType null ` + -AutoApprovalData null ` + -CustomFields null +``` + +- Convert the resource to JSON +```powershell +$TemplateTeams | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Tenant.md b/PSSailpoint/v2024/docs/Tenant.md new file mode 100644 index 000000000..0e243895f --- /dev/null +++ b/PSSailpoint/v2024/docs/Tenant.md @@ -0,0 +1,33 @@ +# Tenant +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The unique identifier for the Tenant | [optional] [readonly] +**Name** | **String** | Abbreviated name of the Tenant | [optional] +**FullName** | **String** | Human-readable name of the Tenant | [optional] +**Pod** | **String** | Deployment pod for the Tenant | [optional] +**Region** | **String** | Deployment region for the Tenant | [optional] +**Description** | **String** | Description of the Tenant | [optional] +**Products** | [**Product[]**](Product.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$Tenant = Initialize-PSSailpointV2024Tenant -Id 2c91808568c529c60168cca6f90c1324 ` + -Name acme ` + -FullName Acme, Inc ` + -Pod example-pod ` + -Region us-east-1 ` + -Description Description of the Tenant ` + -Products null +``` + +- Convert the resource to JSON +```powershell +$Tenant | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/TenantConfigurationDetails.md b/PSSailpoint/v2024/docs/TenantConfigurationDetails.md new file mode 100644 index 000000000..099a5f47f --- /dev/null +++ b/PSSailpoint/v2024/docs/TenantConfigurationDetails.md @@ -0,0 +1,21 @@ +# TenantConfigurationDetails +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Disabled** | **Boolean** | Flag to determine if Reassignment Configuration is enabled or disabled for a tenant. When this flag is set to true, Reassignment Configuration is disabled. | [optional] [default to $false] + +## Examples + +- Prepare the resource +```powershell +$TenantConfigurationDetails = Initialize-PSSailpointV2024TenantConfigurationDetails -Disabled true +``` + +- Convert the resource to JSON +```powershell +$TenantConfigurationDetails | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/TenantConfigurationRequest.md b/PSSailpoint/v2024/docs/TenantConfigurationRequest.md new file mode 100644 index 000000000..33a3d6cd2 --- /dev/null +++ b/PSSailpoint/v2024/docs/TenantConfigurationRequest.md @@ -0,0 +1,21 @@ +# TenantConfigurationRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ConfigDetails** | [**TenantConfigurationDetails**](TenantConfigurationDetails.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$TenantConfigurationRequest = Initialize-PSSailpointV2024TenantConfigurationRequest -ConfigDetails null +``` + +- Convert the resource to JSON +```powershell +$TenantConfigurationRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/TenantConfigurationResponse.md b/PSSailpoint/v2024/docs/TenantConfigurationResponse.md new file mode 100644 index 000000000..806f35e4f --- /dev/null +++ b/PSSailpoint/v2024/docs/TenantConfigurationResponse.md @@ -0,0 +1,23 @@ +# TenantConfigurationResponse +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AuditDetails** | [**AuditDetails**](AuditDetails.md) | | [optional] +**ConfigDetails** | [**TenantConfigurationDetails**](TenantConfigurationDetails.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$TenantConfigurationResponse = Initialize-PSSailpointV2024TenantConfigurationResponse -AuditDetails null ` + -ConfigDetails null +``` + +- Convert the resource to JSON +```powershell +$TenantConfigurationResponse | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/TenantUiMetadataItemResponse.md b/PSSailpoint/v2024/docs/TenantUiMetadataItemResponse.md new file mode 100644 index 000000000..29335ca3a --- /dev/null +++ b/PSSailpoint/v2024/docs/TenantUiMetadataItemResponse.md @@ -0,0 +1,25 @@ +# TenantUiMetadataItemResponse +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**IframeWhiteList** | **String** | Parameter that organizational administrators can adjust to permit another domain to encapsulate IDN within an iframe. If you would like to reset the value use ""null"". It will only allow include into iframe non authenticated portions of the product, such as password reset. | [optional] +**UsernameLabel** | **String** | Descriptor for the username input field. If you would like to reset the value use ""null"". | [optional] +**UsernameEmptyText** | **String** | Placeholder text displayed in the username input field. If you would like to reset the value use ""null"". | [optional] + +## Examples + +- Prepare the resource +```powershell +$TenantUiMetadataItemResponse = Initialize-PSSailpointV2024TenantUiMetadataItemResponse -IframeWhiteList http://example.com http://example2.com ` + -UsernameLabel Email ` + -UsernameEmptyText Please provide your work email address... +``` + +- Convert the resource to JSON +```powershell +$TenantUiMetadataItemResponse | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/TenantUiMetadataItemUpdateRequest.md b/PSSailpoint/v2024/docs/TenantUiMetadataItemUpdateRequest.md new file mode 100644 index 000000000..50cdc89c7 --- /dev/null +++ b/PSSailpoint/v2024/docs/TenantUiMetadataItemUpdateRequest.md @@ -0,0 +1,25 @@ +# TenantUiMetadataItemUpdateRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**IframeWhiteList** | **String** | Parameter that organizational administrators can adjust to permit another domain to encapsulate IDN within an iframe. If you would like to reset the value use ""null"". It will only allow include into iframe non authenticated portions of the product, such as password reset. | [optional] +**UsernameLabel** | **String** | Descriptor for the username input field. If you would like to reset the value use ""null"". | [optional] +**UsernameEmptyText** | **String** | Placeholder text displayed in the username input field. If you would like to reset the value use ""null"". | [optional] + +## Examples + +- Prepare the resource +```powershell +$TenantUiMetadataItemUpdateRequest = Initialize-PSSailpointV2024TenantUiMetadataItemUpdateRequest -IframeWhiteList http://example.com http://example2.com ` + -UsernameLabel Email ` + -UsernameEmptyText Please provide your work email address... +``` + +- Convert the resource to JSON +```powershell +$TenantUiMetadataItemUpdateRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/TestExternalExecuteWorkflow200Response.md b/PSSailpoint/v2024/docs/TestExternalExecuteWorkflow200Response.md new file mode 100644 index 000000000..deb88596d --- /dev/null +++ b/PSSailpoint/v2024/docs/TestExternalExecuteWorkflow200Response.md @@ -0,0 +1,21 @@ +# TestExternalExecuteWorkflow200Response +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Payload** | [**SystemCollectionsHashtable**](.md) | The input that was received | [optional] + +## Examples + +- Prepare the resource +```powershell +$TestExternalExecuteWorkflow200Response = Initialize-PSSailpointV2024TestExternalExecuteWorkflow200Response -Payload {test=hello world} +``` + +- Convert the resource to JSON +```powershell +$TestExternalExecuteWorkflow200Response | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/TestExternalExecuteWorkflowRequest.md b/PSSailpoint/v2024/docs/TestExternalExecuteWorkflowRequest.md new file mode 100644 index 000000000..15f5a3688 --- /dev/null +++ b/PSSailpoint/v2024/docs/TestExternalExecuteWorkflowRequest.md @@ -0,0 +1,21 @@ +# TestExternalExecuteWorkflowRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**VarInput** | [**SystemCollectionsHashtable**](.md) | The test input for the workflow | [optional] + +## Examples + +- Prepare the resource +```powershell +$TestExternalExecuteWorkflowRequest = Initialize-PSSailpointV2024TestExternalExecuteWorkflowRequest -VarInput {test=hello world} +``` + +- Convert the resource to JSON +```powershell +$TestExternalExecuteWorkflowRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/TestInvocation.md b/PSSailpoint/v2024/docs/TestInvocation.md new file mode 100644 index 000000000..510c35bc2 --- /dev/null +++ b/PSSailpoint/v2024/docs/TestInvocation.md @@ -0,0 +1,27 @@ +# TestInvocation +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**TriggerId** | **String** | Trigger ID | +**VarInput** | [**SystemCollectionsHashtable**](.md) | Mock input to use for test invocation. This must adhere to the input schema defined in the trigger being invoked. If this property is omitted, then the default trigger sample payload will be sent. | [optional] +**ContentJson** | [**SystemCollectionsHashtable**](.md) | JSON map of invocation metadata. | +**SubscriptionIds** | **String[]** | Only send the test event to the subscription IDs listed. If omitted, the test event will be sent to all subscribers. | [optional] + +## Examples + +- Prepare the resource +```powershell +$TestInvocation = Initialize-PSSailpointV2024TestInvocation -TriggerId idn:access-request-post-approval ` + -VarInput {identityId=201327fda1c44704ac01181e963d463c} ` + -ContentJson {workflowId=1234} ` + -SubscriptionIds [0f11f2a4-7c94-4bf3-a2bd-742580fe3bde] +``` + +- Convert the resource to JSON +```powershell +$TestInvocation | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/TestWorkflow200Response.md b/PSSailpoint/v2024/docs/TestWorkflow200Response.md new file mode 100644 index 000000000..0ae3d0a44 --- /dev/null +++ b/PSSailpoint/v2024/docs/TestWorkflow200Response.md @@ -0,0 +1,21 @@ +# TestWorkflow200Response +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**WorkflowExecutionId** | **String** | The workflow execution id | [optional] + +## Examples + +- Prepare the resource +```powershell +$TestWorkflow200Response = Initialize-PSSailpointV2024TestWorkflow200Response -WorkflowExecutionId 0e11cefa-96e7-4b67-90d0-065bc1da5753 +``` + +- Convert the resource to JSON +```powershell +$TestWorkflow200Response | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/TestWorkflowRequest.md b/PSSailpoint/v2024/docs/TestWorkflowRequest.md new file mode 100644 index 000000000..e6eecf057 --- /dev/null +++ b/PSSailpoint/v2024/docs/TestWorkflowRequest.md @@ -0,0 +1,21 @@ +# TestWorkflowRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**VarInput** | [**SystemCollectionsHashtable**](.md) | The test input for the workflow. | + +## Examples + +- Prepare the resource +```powershell +$TestWorkflowRequest = Initialize-PSSailpointV2024TestWorkflowRequest -VarInput null +``` + +- Convert the resource to JSON +```powershell +$TestWorkflowRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/TextQuery.md b/PSSailpoint/v2024/docs/TextQuery.md new file mode 100644 index 000000000..04dbc9711 --- /dev/null +++ b/PSSailpoint/v2024/docs/TextQuery.md @@ -0,0 +1,27 @@ +# TextQuery +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Terms** | **String[]** | Words or characters that specify a particular thing to be searched for. | +**Fields** | **String[]** | The fields to be searched. | +**MatchAny** | **Boolean** | Indicates that at least one of the terms must be found in the specified fields; otherwise, all terms must be found. | [optional] [default to $false] +**Contains** | **Boolean** | Indicates that the terms can be located anywhere in the specified fields; otherwise, the fields must begin with the terms. | [optional] [default to $false] + +## Examples + +- Prepare the resource +```powershell +$TextQuery = Initialize-PSSailpointV2024TextQuery -Terms [The quick brown fox, 3141592, 7] ` + -Fields [displayName, employeeNumber, roleCount] ` + -MatchAny false ` + -Contains true +``` + +- Convert the resource to JSON +```powershell +$TextQuery | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Transform.md b/PSSailpoint/v2024/docs/Transform.md new file mode 100644 index 000000000..761559496 --- /dev/null +++ b/PSSailpoint/v2024/docs/Transform.md @@ -0,0 +1,25 @@ +# Transform +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | Unique name of this transform | +**Type** | **String** | The type of transform operation | +**Attributes** | [**TransformAttributes**](TransformAttributes.md) | | + +## Examples + +- Prepare the resource +```powershell +$Transform = Initialize-PSSailpointV2024Transform -Name Timestamp To Date ` + -Type dateFormat ` + -Attributes null +``` + +- Convert the resource to JSON +```powershell +$Transform | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/TransformAttributes.md b/PSSailpoint/v2024/docs/TransformAttributes.md new file mode 100644 index 000000000..c2e061851 --- /dev/null +++ b/PSSailpoint/v2024/docs/TransformAttributes.md @@ -0,0 +1,101 @@ +# TransformAttributes +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**SourceName** | **String** | A reference to the source to search for the account | +**AttributeName** | **String** | The name of the attribute on the account to return. This should match the name of the account attribute name visible in the user interface, or on the source schema. | +**AccountSortAttribute** | **String** | The value of this configuration is a string name of the attribute to use when determining the ordering of returned accounts when there are multiple entries | [optional] [default to "created"] +**AccountSortDescending** | **Boolean** | The value of this configuration is a boolean (true/false). Controls the order of the sort when there are multiple accounts. If not defined, the transform will default to false (ascending order) | [optional] [default to $false] +**AccountReturnFirstLink** | **Boolean** | The value of this configuration is a boolean (true/false). Controls which account to source a value from for an attribute. If this flag is set to true, the transform returns the value from the first account in the list, even if it is null. If it is set to false, the transform returns the first non-null value. If not defined, the transform will default to false | [optional] [default to $false] +**AccountFilter** | **String** | This expression queries the database to narrow search results. The value of this configuration is a sailpoint.object.Filter expression and used when searching against the database. The default filter will always include the source and identity, and any subsequent expressions will be combined in an AND operation to the existing search criteria. Only certain searchable attributes are available: - `nativeIdentity` - the Account ID - `displayName` - the Account Name - `entitlements` - a boolean value to determine if the account has entitlements | [optional] +**AccountPropertyFilter** | **String** | This expression is used to search and filter accounts in memory. The value of this configuration is a sailpoint.object.Filter expression and used when searching against the returned resultset. All account attributes are available for filtering as this operation is performed in memory. | [optional] +**RequiresPeriodicRefresh** | **Boolean** | A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process | [optional] [default to $false] +**VarInput** | [**System.Collections.Hashtable**](AnyType.md) | This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI. | [optional] +**Values** | **String** | This must evaluate to a JSON string, either through a fixed value or through conditional logic using the Apache Velocity Template Language. | +**Expression** | **String** | A string value of the date and time components to operation on, along with the math operations to execute. | +**PositiveCondition** | **String** | The output of the transform if the expression evalutes to true | +**NegativeCondition** | **String** | The output of the transform if the expression evalutes to false | +**FirstDate** | [**DateCompareFirstDate**](DateCompareFirstDate.md) | | +**SecondDate** | [**DateCompareSecondDate**](DateCompareSecondDate.md) | | +**Operator** | **String** | This is the comparison to perform. | Operation | Description | | --------- | ------- | | LT | Strictly less than: firstDate < secondDate | | LTE | Less than or equal to: firstDate <= secondDate | | GT | Strictly greater than: firstDate > secondDate | | GTE | Greater than or equal to: firstDate >= secondDate | | +**InputFormat** | [**DateFormatInputFormat**](DateFormatInputFormat.md) | | [optional] +**OutputFormat** | [**DateFormatOutputFormat**](DateFormatOutputFormat.md) | | [optional] +**RoundUp** | **Boolean** | A boolean value to indicate whether the transform should round up or down when a rounding `/` operation is defined in the expression. If not provided, the transform will default to `false` `true` indicates the transform should round up (i.e., truncate the fractional date/time component indicated and then add one unit of that component) `false` indicates the transform should round down (i.e., truncate the fractional date/time component indicated) | [optional] [default to $false] +**DefaultRegion** | **String** | This is an optional attribute that can be used to define the region of the phone number to format into. If defaultRegion is not provided, it will take US as the default country. The format of the country code should be in [ISO 3166-1 alpha-2 format](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) | [optional] +**IgnoreErrors** | **Boolean** | a true or false value representing to move on to the next option if an error (like an Null Pointer Exception) were to occur. | [optional] [default to $false] +**Name** | **String** | The system (camel-cased) name of the identity attribute to bring in | +**Operation** | **String** | The operation to perform `getReferenceIdentityAttribute` | +**IncludeNumbers** | **Boolean** | This must be either ""true"" or ""false"" to indicate whether the generator logic should include numbers | +**IncludeSpecialChars** | **Boolean** | This must be either ""true"" or ""false"" to indicate whether the generator logic should include special characters | +**Length** | **String** | An integer value for the desired length of the final output string | +**Uid** | **String** | This is the SailPoint User Name (uid) value of the identity whose attribute is desired As a convenience feature, you can use the `manager` keyword to dynamically look up the user's manager and then get that manager's identity attribute. | +**Substring** | **String** | A substring to search for, searches the entire calling string, and returns the index of the first occurrence of the specified substring. | +**Format** | **String** | An optional value to denote which ISO 3166 format to return. Valid values are: `alpha2` - Two-character country code (e.g., ""US""); this is the default value if no format is supplied `alpha3` - Three-character country code (e.g., ""USA"") `numeric` - The numeric country code (e.g., ""840"") | [optional] +**Padding** | **String** | A string value representing the character that the incoming data should be padded with to get to the desired length If not provided, the transform will default to a single space ("" "") character for padding | [optional] +**Table** | [**System.Collections.Hashtable**](AnyType.md) | An attribute of key-value pairs. Each pair identifies the pattern to search for as its key, and the replacement string as its value. | +**Id** | **String** | This ID specifies the name of the pre-existing transform which you want to use within your current transform | +**Regex** | **String** | This can be a string or a regex pattern in which you want to replace. | +**Replacement** | **String** | This is the replacement string that should be substituded wherever the string or pattern is found. | +**Delimiter** | **String** | This can be either a single character or a regex expression, and is used by the transform to identify the break point between two substrings in the incoming data | +**Index** | **String** | An integer value for the desired array element after the incoming data has been split into a list; the array is a 0-based object, so the first array element would be index 0, the second element would be index 1, etc. | +**Throws** | **Boolean** | A boolean (true/false) value which indicates whether an exception should be thrown and returned as an output when an index is out of bounds with the resultant array (i.e., the provided index value is larger than the size of the array) `true` - The transform should return ""IndexOutOfBoundsException"" `false` - The transform should return null If not provided, the transform will default to false and return a null | [optional] [default to $false] +**VarBegin** | **Int32** | The index of the first character to include in the returned substring. If `begin` is set to -1, the transform will begin at character 0 of the input data | +**BeginOffset** | **Int32** | This integer value is the number of characters to add to the begin attribute when returning a substring. This attribute is only used if begin is not -1. | [optional] +**VarEnd** | **Int32** | The index of the first character to exclude from the returned substring. If end is -1 or not provided at all, the substring transform will return everything up to the end of the input string. | [optional] +**EndOffset** | **Int32** | This integer value is the number of characters to add to the end attribute when returning a substring. This attribute is only used if end is provided and is not -1. | [optional] + +## Examples + +- Prepare the resource +```powershell +$TransformAttributes = Initialize-PSSailpointV2024TransformAttributes -SourceName Workday ` + -AttributeName DEPARTMENT ` + -AccountSortAttribute created ` + -AccountSortDescending false ` + -AccountReturnFirstLink false ` + -AccountFilter !(nativeIdentity.startsWith("*DELETED*")) ` + -AccountPropertyFilter (groups.containsAll({'Admin'}) || location == 'Austin') ` + -RequiresPeriodicRefresh false ` + -VarInput {type=accountAttribute, attributes={attributeName=first_name, sourceName=Source}} ` + -Values string$variable ` + -Expression now+1w ` + -PositiveCondition true ` + -NegativeCondition false ` + -FirstDate null ` + -SecondDate null ` + -Operator LT ` + -InputFormat null ` + -OutputFormat null ` + -RoundUp false ` + -DefaultRegion US ` + -IgnoreErrors false ` + -Name email ` + -Operation getReferenceIdentityAttribute ` + -IncludeNumbers true ` + -IncludeSpecialChars true ` + -Length 4 ` + -Uid 2c91808570313110017040b06f344ec9 ` + -Substring admin_ ` + -Format alpha2 ` + -Padding 0 ` + -Table {-= , "=', ñ=n} ` + -Id Existing Transform ` + -Regex [^a-zA-Z] ` + -Replacement ` + -Delimiter , ` + -Index 5 ` + -Throws true ` + -VarBegin 1 ` + -BeginOffset 3 ` + -VarEnd 6 ` + -EndOffset 1 +``` + +- Convert the resource to JSON +```powershell +$TransformAttributes | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/TransformDefinition.md b/PSSailpoint/v2024/docs/TransformDefinition.md new file mode 100644 index 000000000..7fd21dc23 --- /dev/null +++ b/PSSailpoint/v2024/docs/TransformDefinition.md @@ -0,0 +1,23 @@ +# TransformDefinition +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | The type of the transform definition. | [optional] +**Attributes** | [**System.Collections.Hashtable**](TransformDefinitionAttributesValue.md) | Arbitrary key-value pairs to store any metadata for the object | [optional] + +## Examples + +- Prepare the resource +```powershell +$TransformDefinition = Initialize-PSSailpointV2024TransformDefinition -Type accountAttribute ` + -Attributes {attributeName=e-mail, sourceName=MySource, sourceId=2c9180877a826e68017a8c0b03da1a53} +``` + +- Convert the resource to JSON +```powershell +$TransformDefinition | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/TransformDefinitionAttributesValue.md b/PSSailpoint/v2024/docs/TransformDefinitionAttributesValue.md new file mode 100644 index 000000000..9f5e21122 --- /dev/null +++ b/PSSailpoint/v2024/docs/TransformDefinitionAttributesValue.md @@ -0,0 +1,20 @@ +# TransformDefinitionAttributesValue +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$TransformDefinitionAttributesValue = Initialize-PSSailpointV2024TransformDefinitionAttributesValue +``` + +- Convert the resource to JSON +```powershell +$TransformDefinitionAttributesValue | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/TransformRead.md b/PSSailpoint/v2024/docs/TransformRead.md new file mode 100644 index 000000000..f7d9ada69 --- /dev/null +++ b/PSSailpoint/v2024/docs/TransformRead.md @@ -0,0 +1,29 @@ +# TransformRead +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | Unique name of this transform | +**Type** | **String** | The type of transform operation | +**Attributes** | [**TransformAttributes**](TransformAttributes.md) | | +**Id** | **String** | Unique ID of this transform | +**Internal** | **Boolean** | Indicates whether this is an internal SailPoint-created transform or a customer-created transform | [default to $false] + +## Examples + +- Prepare the resource +```powershell +$TransformRead = Initialize-PSSailpointV2024TransformRead -Name Timestamp To Date ` + -Type dateFormat ` + -Attributes null ` + -Id 2cd78adghjkja34jh2b1hkjhasuecd ` + -Internal false +``` + +- Convert the resource to JSON +```powershell +$TransformRead | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/TransformRule.md b/PSSailpoint/v2024/docs/TransformRule.md new file mode 100644 index 000000000..987616130 --- /dev/null +++ b/PSSailpoint/v2024/docs/TransformRule.md @@ -0,0 +1,23 @@ +# TransformRule +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | This is the name of the Transform rule that needs to be invoked by the transform | +**RequiresPeriodicRefresh** | **Boolean** | A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process | [optional] [default to $false] + +## Examples + +- Prepare the resource +```powershell +$TransformRule = Initialize-PSSailpointV2024TransformRule -Name Transform Calculation Rule ` + -RequiresPeriodicRefresh false +``` + +- Convert the resource to JSON +```powershell +$TransformRule | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/TranslationMessage.md b/PSSailpoint/v2024/docs/TranslationMessage.md new file mode 100644 index 000000000..eb9996948 --- /dev/null +++ b/PSSailpoint/v2024/docs/TranslationMessage.md @@ -0,0 +1,23 @@ +# TranslationMessage +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Key** | **String** | The key of the translation message | [optional] +**Values** | **String[]** | The values corresponding to the translation messages | [optional] + +## Examples + +- Prepare the resource +```powershell +$TranslationMessage = Initialize-PSSailpointV2024TranslationMessage -Key recommender-api.V2_WEIGHT_FEATURE_PRODUCT_INTERPRETATION_HIGH ` + -Values [75, department] +``` + +- Convert the resource to JSON +```powershell +$TranslationMessage | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Trigger.md b/PSSailpoint/v2024/docs/Trigger.md new file mode 100644 index 000000000..9f716c91a --- /dev/null +++ b/PSSailpoint/v2024/docs/Trigger.md @@ -0,0 +1,35 @@ +# Trigger +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Unique identifier of the trigger. | +**Name** | **String** | Trigger Name. | +**Type** | [**TriggerType**](TriggerType.md) | | +**Description** | **String** | Trigger Description. | [optional] +**InputSchema** | **String** | The JSON schema of the payload that will be sent by the trigger to the subscribed service. | +**ExampleInput** | [**TriggerExampleInput**](TriggerExampleInput.md) | | +**OutputSchema** | **String** | The JSON schema of the response that will be sent by the subscribed service to the trigger in response to an event. This only applies to a trigger type of `REQUEST_RESPONSE`. | [optional] +**ExampleOutput** | [**TriggerExampleOutput**](TriggerExampleOutput.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$Trigger = Initialize-PSSailpointV2024Trigger -Id idn:access-request-dynamic-approver ` + -Name Access Request Dynamic Approver ` + -Type null ` + -Description Trigger for getting a dynamic approver. ` + -InputSchema {"definitions":{"record:AccessRequestDynamicApproverInput":{"type":"object","required":["accessRequestId","requestedFor","requestedItems","requestedBy"],"additionalProperties":true,"properties":{"accessRequestId":{"type":"string"},"requestedFor":{"$ref":"#/definitions/record:requestedForIdentityRef"},"requestedItems":{"type":"array","items":{"$ref":"#/definitions/record:requestedObjectRef"}},"requestedBy":{"$ref":"#/definitions/record:requestedByIdentityRef"}}},"record:requestedForIdentityRef":{"type":"object","required":["id","name","type"],"additionalProperties":true,"properties":{"id":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"}}},"record:requestedObjectRef":{"type":"object","optional":["description","comment"],"required":["id","name","type","operation"],"additionalProperties":true,"properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"oneOf":[{"type":"null"},{"type":"string"}]},"type":{"type":"string"},"operation":{"type":"string"},"comment":{"oneOf":[{"type":"null"},{"type":"string"}]}}},"record:requestedByIdentityRef":{"type":"object","required":["type","id","name"],"additionalProperties":true,"properties":{"type":{"type":"string"},"id":{"type":"string"},"name":{"type":"string"}}}},"$ref":"#/definitions/record:AccessRequestDynamicApproverInput"} ` + -ExampleInput null ` + -OutputSchema {"definitions":{"record:AccessRequestDynamicApproverOutput":{"type":["null","object"],"required":["id","name","type"],"additionalProperties":true,"properties":{"id":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"}}}},"$ref":"#/definitions/record:AccessRequestDynamicApproverOutput"} ` + -ExampleOutput null +``` + +- Convert the resource to JSON +```powershell +$Trigger | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/TriggerExampleInput.md b/PSSailpoint/v2024/docs/TriggerExampleInput.md new file mode 100644 index 000000000..c26f9c839 --- /dev/null +++ b/PSSailpoint/v2024/docs/TriggerExampleInput.md @@ -0,0 +1,117 @@ +# TriggerExampleInput +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AccessRequestId** | **String** | The unique ID of the access request. | +**RequestedFor** | [**AccessItemRequestedForDto[]**](AccessItemRequestedForDto.md) | Identities access was requested for. | +**RequestedItems** | [**AccessRequestPreApprovalRequestedItemsInner[]**](AccessRequestPreApprovalRequestedItemsInner.md) | Details of the access items being requested. | +**RequestedBy** | [**AccessItemRequesterDto**](AccessItemRequesterDto.md) | | +**RequestedItemsStatus** | [**AccessRequestPostApprovalRequestedItemsStatusInner[]**](AccessRequestPostApprovalRequestedItemsStatusInner.md) | Details on the outcome of each access item. | +**Source** | [**AccountUncorrelatedSource**](AccountUncorrelatedSource.md) | | +**Status** | [**SystemCollectionsHashtable**](.md) | The overall status of the collection. | +**Started** | **System.DateTime** | The date and time when the account collection started. | +**Completed** | **System.DateTime** | The date and time when the account collection finished. | +**Errors** | **String[]** | A list of any accumulated error messages that occurred during provisioning. | +**Warnings** | **String[]** | A list of any accumulated warning messages that occurred during provisioning. | +**Stats** | [**AccountsCollectedForAggregationStats**](AccountsCollectedForAggregationStats.md) | | +**Identity** | [**IdentityDeletedIdentity**](IdentityDeletedIdentity.md) | | +**Account** | [**AccountUncorrelatedAccount**](AccountUncorrelatedAccount.md) | | +**Changes** | [**IdentityAttributesChangedChangesInner[]**](IdentityAttributesChangedChangesInner.md) | A list of one or more identity attributes that changed on the identity. | +**Attributes** | [**System.Collections.Hashtable**](AnyType.md) | The attributes of the account. The contents of attributes depends on the account schema for the source. | +**EntitlementCount** | **Int32** | The number of entitlements associated with this account. | [optional] +**Campaign** | [**CampaignGeneratedCampaign**](CampaignGeneratedCampaign.md) | | +**Certification** | [**CertificationSignedOffCertification**](CertificationSignedOffCertification.md) | | +**TrackingNumber** | **String** | The reference number of the provisioning request. Useful for tracking status in the Account Activity search interface. | +**Sources** | **String** | One or more sources that the provisioning transaction(s) were done against. Sources are comma separated. | +**Action** | **String** | Origin of where the provisioning request came from. | [optional] +**Recipient** | [**ProvisioningCompletedRecipient**](ProvisioningCompletedRecipient.md) | | +**Requester** | [**ProvisioningCompletedRequester**](ProvisioningCompletedRequester.md) | | [optional] +**AccountRequests** | [**ProvisioningCompletedAccountRequestsInner[]**](ProvisioningCompletedAccountRequestsInner.md) | A list of provisioning instructions to perform on an account-by-account basis. | +**FileName** | **String** | A name for the report file. | +**OwnerEmail** | **String** | The email address of the identity that owns the saved search. | +**OwnerName** | **String** | The name of the identity that owns the saved search. | +**Query** | **String** | The search query that was used to generate the report. | +**SearchName** | **String** | The name of the saved search. | +**SearchResults** | [**SavedSearchCompleteSearchResults**](SavedSearchCompleteSearchResults.md) | | +**SignedS3Url** | **String** | The Amazon S3 URL to download the report from. | +**Uuid** | **String** | Source unique identifier for the identity. UUID is generated by the source system. | [optional] +**Id** | **String** | The unique ID of the source. | +**NativeIdentifier** | **String** | Unique ID of the account on the source. | +**SourceId** | **String** | The ID of the source. | +**SourceName** | **String** | The name of the source. | +**IdentityId** | **String** | The ID of the identity that is correlated with this account. | +**IdentityName** | **String** | The name of the identity that is correlated with this account. | +**Name** | **String** | The user friendly name of the source. | +**Type** | **String** | The connection type of the source. | +**Created** | **System.DateTime** | The date and time the status change occurred. | +**Connector** | **String** | The connector type used to connect to the source. | +**Actor** | [**SourceUpdatedActor**](SourceUpdatedActor.md) | | +**Deleted** | **System.DateTime** | The date and time the source was deleted. | +**Modified** | **System.DateTime** | The date and time the source was modified. | +**Application** | [**VAClusterStatusChangeEventApplication**](VAClusterStatusChangeEventApplication.md) | | +**HealthCheckResult** | [**VAClusterStatusChangeEventHealthCheckResult**](VAClusterStatusChangeEventHealthCheckResult.md) | | +**PreviousHealthCheckResult** | [**VAClusterStatusChangeEventPreviousHealthCheckResult**](VAClusterStatusChangeEventPreviousHealthCheckResult.md) | | + +## Examples + +- Prepare the resource +```powershell +$TriggerExampleInput = Initialize-PSSailpointV2024TriggerExampleInput -AccessRequestId 2c91808b6ef1d43e016efba0ce470904 ` + -RequestedFor null ` + -RequestedItems null ` + -RequestedBy null ` + -RequestedItemsStatus null ` + -Source null ` + -Status Success ` + -Started 2020-06-29T22:01:50.474Z ` + -Completed 2020-06-29T22:02:04.090Z ` + -Errors null ` + -Warnings null ` + -Stats null ` + -Identity null ` + -Account null ` + -Changes null ` + -Attributes {firstname=John, lastname=Doe, email=john.doe@gmail.com, department=Sales, displayName=John Doe, created=2020-04-27T16:48:33.597Z, employeeNumber=E009, uid=E009, inactive=true, phone=null, identificationNumber=E009} ` + -EntitlementCount 0 ` + -Campaign null ` + -Certification null ` + -TrackingNumber 4b4d982dddff4267ab12f0f1e72b5a6d ` + -Sources Corp AD, Corp LDAP, Corp Salesforce ` + -Action IdentityRefresh ` + -Recipient null ` + -Requester null ` + -AccountRequests null ` + -FileName Modified.zip ` + -OwnerEmail test@sailpoint.com ` + -OwnerName Cloud Support ` + -Query modified:[now-7y/d TO now] ` + -SearchName Modified Activity ` + -SearchResults null ` + -SignedS3Url https://sptcbu-org-data-useast1.s3.amazonaws.com/arsenal-john/reports/Events%20Export.2020-05-06%2018%2759%20GMT.3e580592-86e4-4953-8aea-49e6ef20a086.zip?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20200506T185919Z&X-Amz-SignedHeaders=host&X-Amz-Expires=899&X-Amz-Credential=AKIAV5E54XOGTS4Q4L7A%2F20200506%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Signature=2e732bb97a12a1fd8a215613e3c31fcdae8ba1fb6a25916843ab5b51d2ddefbc ` + -Uuid b7264868-7201-415f-9118-b581d431c688 ` + -Id 2c9180866166b5b0016167c32ef31a66 ` + -NativeIdentifier E009 ` + -SourceId 2c918082814e693601816e09471b29b6 ` + -SourceName Active Directory ` + -IdentityId ee769173319b41d19ccec6c235423237b ` + -IdentityName john.doe ` + -Name Corporate Active Directory ` + -Type DIRECT_CONNECT ` + -Created 2020-06-29T22:01:50.474Z ` + -Connector active-directory ` + -Actor null ` + -Deleted 2021-03-29T22:01:50.474Z ` + -Modified 2021-03-29T22:01:50.474Z ` + -Application null ` + -HealthCheckResult null ` + -PreviousHealthCheckResult null +``` + +- Convert the resource to JSON +```powershell +$TriggerExampleInput | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/TriggerExampleOutput.md b/PSSailpoint/v2024/docs/TriggerExampleOutput.md new file mode 100644 index 000000000..a02c87efd --- /dev/null +++ b/PSSailpoint/v2024/docs/TriggerExampleOutput.md @@ -0,0 +1,31 @@ +# TriggerExampleOutput +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The unique ID of the identity to add to the approver list for the access request. | +**Name** | **String** | The name of the identity to add to the approver list for the access request. | +**Type** | [**SystemCollectionsHashtable**](.md) | The type of object being referenced. | +**Approved** | **Boolean** | Whether or not to approve the access request. | +**Comment** | **String** | A comment about the decision to approve or deny the request. | +**Approver** | **String** | The name of the entity that approved or denied the request. | + +## Examples + +- Prepare the resource +```powershell +$TriggerExampleOutput = Initialize-PSSailpointV2024TriggerExampleOutput -Id 2c91808b6ef1d43e016efba0ce470906 ` + -Name Adam Adams ` + -Type IDENTITY ` + -Approved false ` + -Comment This access should be denied, because this will cause an SOD violation. ` + -Approver AcmeCorpExternalIntegration +``` + +- Convert the resource to JSON +```powershell +$TriggerExampleOutput | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/TriggerType.md b/PSSailpoint/v2024/docs/TriggerType.md new file mode 100644 index 000000000..c6af8da62 --- /dev/null +++ b/PSSailpoint/v2024/docs/TriggerType.md @@ -0,0 +1,20 @@ +# TriggerType +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$TriggerType = Initialize-PSSailpointV2024TriggerType +``` + +- Convert the resource to JSON +```powershell +$TriggerType | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Trim.md b/PSSailpoint/v2024/docs/Trim.md new file mode 100644 index 000000000..fc2b0bfed --- /dev/null +++ b/PSSailpoint/v2024/docs/Trim.md @@ -0,0 +1,23 @@ +# Trim +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**RequiresPeriodicRefresh** | **Boolean** | A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process | [optional] [default to $false] +**VarInput** | [**System.Collections.Hashtable**](AnyType.md) | This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI. | [optional] + +## Examples + +- Prepare the resource +```powershell +$Trim = Initialize-PSSailpointV2024Trim -RequiresPeriodicRefresh false ` + -VarInput {type=accountAttribute, attributes={attributeName=first_name, sourceName=Source}} +``` + +- Convert the resource to JSON +```powershell +$Trim | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/TypeAheadQuery.md b/PSSailpoint/v2024/docs/TypeAheadQuery.md new file mode 100644 index 000000000..66ee150b7 --- /dev/null +++ b/PSSailpoint/v2024/docs/TypeAheadQuery.md @@ -0,0 +1,33 @@ +# TypeAheadQuery +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Query** | **String** | The type ahead query string used to construct a phrase prefix match query. | +**Field** | **String** | The field on which to perform the type ahead search. | +**NestedType** | **String** | The nested type. | [optional] +**MaxExpansions** | **Int32** | The number of suffixes the last term will be expanded into. Influences the performance of the query and the number results returned. Valid values: 1 to 1000. | [optional] [default to 10] +**Size** | **Int32** | The max amount of records the search will return. | [optional] [default to 100] +**Sort** | **String** | The sort order of the returned records. | [optional] [default to "desc"] +**SortByValue** | **Boolean** | The flag that defines the sort type, by count or value. | [optional] [default to $false] + +## Examples + +- Prepare the resource +```powershell +$TypeAheadQuery = Initialize-PSSailpointV2024TypeAheadQuery -Query Work ` + -Field source.name ` + -NestedType access ` + -MaxExpansions 10 ` + -Size 100 ` + -Sort asc ` + -SortByValue true +``` + +- Convert the resource to JSON +```powershell +$TypeAheadQuery | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/TypedReference.md b/PSSailpoint/v2024/docs/TypedReference.md new file mode 100644 index 000000000..238434827 --- /dev/null +++ b/PSSailpoint/v2024/docs/TypedReference.md @@ -0,0 +1,23 @@ +# TypedReference +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | [**DtoType**](DtoType.md) | | +**Id** | **String** | The id of the object. | + +## Examples + +- Prepare the resource +```powershell +$TypedReference = Initialize-PSSailpointV2024TypedReference -Type null ` + -Id 2c91808568c529c60168cca6f90c1313 +``` + +- Convert the resource to JSON +```powershell +$TypedReference | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/UUIDGenerator.md b/PSSailpoint/v2024/docs/UUIDGenerator.md new file mode 100644 index 000000000..fd3ac0fc3 --- /dev/null +++ b/PSSailpoint/v2024/docs/UUIDGenerator.md @@ -0,0 +1,21 @@ +# UUIDGenerator +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**RequiresPeriodicRefresh** | **Boolean** | A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process | [optional] [default to $false] + +## Examples + +- Prepare the resource +```powershell +$UUIDGenerator = Initialize-PSSailpointV2024UUIDGenerator -RequiresPeriodicRefresh false +``` + +- Convert the resource to JSON +```powershell +$UUIDGenerator | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/UpdateAccessProfilesInBulk412Response.md b/PSSailpoint/v2024/docs/UpdateAccessProfilesInBulk412Response.md new file mode 100644 index 000000000..c090ce54b --- /dev/null +++ b/PSSailpoint/v2024/docs/UpdateAccessProfilesInBulk412Response.md @@ -0,0 +1,21 @@ +# UpdateAccessProfilesInBulk412Response +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Message** | [**SystemCollectionsHashtable**](.md) | A message describing the error | [optional] + +## Examples + +- Prepare the resource +```powershell +$UpdateAccessProfilesInBulk412Response = Initialize-PSSailpointV2024UpdateAccessProfilesInBulk412Response -Message API/Feature not enabled for your organization. +``` + +- Convert the resource to JSON +```powershell +$UpdateAccessProfilesInBulk412Response | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/UpdateDetail.md b/PSSailpoint/v2024/docs/UpdateDetail.md new file mode 100644 index 000000000..62c919f5a --- /dev/null +++ b/PSSailpoint/v2024/docs/UpdateDetail.md @@ -0,0 +1,27 @@ +# UpdateDetail +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Message** | **String** | The detailed message for an update. Typically the relevent error message when status is error. | [optional] +**ScriptName** | **String** | The connector script name | [optional] +**UpdatedFiles** | **String[]** | The list of updated files supported by the connector | [optional] +**Status** | **String** | The connector update status | [optional] + +## Examples + +- Prepare the resource +```powershell +$UpdateDetail = Initialize-PSSailpointV2024UpdateDetail -Message unsupported xsd version, please ensure latest xsd version http://www.sailpoint.com/xsd/sailpoint_form_2_0.xsd is used for source config ` + -ScriptName servicenow ` + -UpdatedFiles [pod/org/connectorFiles/testconnector/test1.jar] ` + -Status ERROR +``` + +- Convert the resource to JSON +```powershell +$UpdateDetail | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/UploadsRequest.md b/PSSailpoint/v2024/docs/UploadsRequest.md new file mode 100644 index 000000000..6e5f7c6b8 --- /dev/null +++ b/PSSailpoint/v2024/docs/UploadsRequest.md @@ -0,0 +1,43 @@ +# UploadsRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**JobId** | **String** | Unique id assigned to this job. | +**Status** | **String** | Status of the job. | +**Type** | **String** | Type of the job, either Backup or Draft. | +**Tenant** | **String** | The name of the tenant performing the upload | [optional] +**RequesterName** | **String** | The name of the requester. | [optional] +**Created** | **System.DateTime** | The time the job was started. | +**Modified** | **System.DateTime** | The time of the last update to the job. | +**Name** | **String** | The name assigned to the upload file in the request body. | [optional] +**UserCanDelete** | **Boolean** | Is the job a regular backup job, if so is the user allowed to delete the backup file. Since this is an upload job it remains as false. | [optional] [default to $true] +**IsPartial** | **Boolean** | Is the job a regular backup job, if so is it partial. Since this is an upload job it remains as false. | [optional] [default to $false] +**BackupType** | **String** | What kind of backup is this being treated as. | [optional] +**HydrationStatus** | **String** | have the objects contained in the upload file been hydrated. | [optional] + +## Examples + +- Prepare the resource +```powershell +$UploadsRequest = Initialize-PSSailpointV2024UploadsRequest -JobId 3469b87d-48ca-439a-868f-2160001da8c1 ` + -Status COMPLETE ` + -Type BACKUP ` + -Tenant uploaderTenant ` + -RequesterName support ` + -Created 2021-05-11T22:23:16Z ` + -Modified 2021-05-11T22:23:16Z ` + -Name A_NEW_UPLOADED_BACKUP ` + -UserCanDelete false ` + -IsPartial false ` + -BackupType UPLOADED ` + -HydrationStatus NOT_HYDRATED +``` + +- Convert the resource to JSON +```powershell +$UploadsRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/UploadsResponse.md b/PSSailpoint/v2024/docs/UploadsResponse.md new file mode 100644 index 000000000..9e8988340 --- /dev/null +++ b/PSSailpoint/v2024/docs/UploadsResponse.md @@ -0,0 +1,43 @@ +# UploadsResponse +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**JobId** | **String** | Unique id assigned to this job. | +**Status** | **String** | Status of the job. | +**Type** | **String** | Type of the job, either Backup or Draft. | +**Tenant** | **String** | The name of the tenant performing the upload | [optional] +**RequesterName** | **String** | The name of the requester. | [optional] +**Created** | **System.DateTime** | The time the job was started. | +**Modified** | **System.DateTime** | The time of the last update to the job. | +**Name** | **String** | The name assigned to the upload file in the request body. | [optional] +**UserCanDelete** | **Boolean** | Is the job a regular backup job, if so is the user allowed to delete the backup file. Since this is an upload job it remains as false. | [optional] [default to $true] +**IsPartial** | **Boolean** | Is the job a regular backup job, if so is it partial. Since this is an upload job it remains as false. | [optional] [default to $false] +**BackupType** | **String** | What kind of backup is this being treated as. | [optional] +**HydrationStatus** | **String** | have the objects contained in the upload file been hydrated. | [optional] + +## Examples + +- Prepare the resource +```powershell +$UploadsResponse = Initialize-PSSailpointV2024UploadsResponse -JobId 3469b87d-48ca-439a-868f-2160001da8c1 ` + -Status COMPLETE ` + -Type BACKUP ` + -Tenant uploaderTenant ` + -RequesterName support ` + -Created 2021-05-11T22:23:16Z ` + -Modified 2021-05-11T22:23:16Z ` + -Name A_NEW_UPLOADED_BACKUP ` + -UserCanDelete false ` + -IsPartial false ` + -BackupType UPLOADED ` + -HydrationStatus NOT_HYDRATED +``` + +- Convert the resource to JSON +```powershell +$UploadsResponse | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Upper.md b/PSSailpoint/v2024/docs/Upper.md new file mode 100644 index 000000000..080a60f35 --- /dev/null +++ b/PSSailpoint/v2024/docs/Upper.md @@ -0,0 +1,23 @@ +# Upper +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**RequiresPeriodicRefresh** | **Boolean** | A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process | [optional] [default to $false] +**VarInput** | [**System.Collections.Hashtable**](AnyType.md) | This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI. | [optional] + +## Examples + +- Prepare the resource +```powershell +$Upper = Initialize-PSSailpointV2024Upper -RequiresPeriodicRefresh false ` + -VarInput {type=accountAttribute, attributes={attributeName=first_name, sourceName=Source}} +``` + +- Convert the resource to JSON +```powershell +$Upper | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/UsageType.md b/PSSailpoint/v2024/docs/UsageType.md new file mode 100644 index 000000000..5739215d5 --- /dev/null +++ b/PSSailpoint/v2024/docs/UsageType.md @@ -0,0 +1,20 @@ +# UsageType +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$UsageType = Initialize-PSSailpointV2024UsageType +``` + +- Convert the resource to JSON +```powershell +$UsageType | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024AccessModelMetadataApi.md b/PSSailpoint/v2024/docs/V2024AccessModelMetadataApi.md new file mode 100644 index 000000000..8a699e39d --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024AccessModelMetadataApi.md @@ -0,0 +1,231 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024AccessModelMetadataApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**Get-V2024AccessModelMetadataAttribute**](V2024AccessModelMetadataApi.md#Get-V2024AccessModelMetadataAttribute) | **GET** /access-model-metadata/attributes/{key} | Get Access Model Metadata Attribute +[**Get-V2024AccessModelMetadataAttributeValue**](V2024AccessModelMetadataApi.md#Get-V2024AccessModelMetadataAttributeValue) | **GET** /access-model-metadata/attributes/{key}/values/{value} | Get Access Model Metadata Value +[**Get-V2024AccessModelMetadataAttribute**](V2024AccessModelMetadataApi.md#Get-V2024AccessModelMetadataAttribute) | **GET** /access-model-metadata/attributes | List Access Model Metadata Attributes +[**Get-V2024AccessModelMetadataAttributeValue**](V2024AccessModelMetadataApi.md#Get-V2024AccessModelMetadataAttributeValue) | **GET** /access-model-metadata/attributes/{key}/values | List Access Model Metadata Values + + + +# **Get-V2024AccessModelMetadataAttribute** +> AttributeDTO Get-V2024AccessModelMetadataAttribute
+>         [-Key]
+>         [-XSailPointExperimental]
+ +Get Access Model Metadata Attribute + +Get single Access Model Metadata Attribute + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Key = "iscPrivacy" # String | Technical name of the Attribute. +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Get Access Model Metadata Attribute +try { + $Result = Get-V2024AccessModelMetadataAttribute -Key $Key -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Get-V2024AccessModelMetadataAttribute: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Key** | **String**| Technical name of the Attribute. | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**AttributeDTO**](AttributeDTO.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024AccessModelMetadataAttributeValue** +> AttributeValueDTO Get-V2024AccessModelMetadataAttributeValue
+>         [-Key]
+>         [-Value]
+>         [-XSailPointExperimental]
+ +Get Access Model Metadata Value + +Get single Access Model Metadata Attribute Value + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Key = "iscPrivacy" # String | Technical name of the Attribute. +$Value = "public" # String | Technical name of the Attribute value. +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Get Access Model Metadata Value +try { + $Result = Get-V2024AccessModelMetadataAttributeValue -Key $Key -Value $Value -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Get-V2024AccessModelMetadataAttributeValue: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Key** | **String**| Technical name of the Attribute. | + **Value** | **String**| Technical name of the Attribute value. | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**AttributeValueDTO**](AttributeValueDTO.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024AccessModelMetadataAttribute** +> AttributeDTO[] Get-V2024AccessModelMetadataAttribute
+>         [-XSailPointExperimental]
+>         [-Filters]
+ +List Access Model Metadata Attributes + +Get a list of Access Model Metadata Attributes + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Filters = "name eq "Privacy"" # 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: **name**: *eq* **type**: *eq* **status**: *eq* **objectTypes**: *eq* Supported composite operators: *and* (optional) + +# List Access Model Metadata Attributes +try { + $Result = Get-V2024AccessModelMetadataAttribute -XSailPointExperimental $XSailPointExperimental -Filters $Filters +} catch { + Write-Host ("Exception occurred when calling Get-V2024AccessModelMetadataAttribute: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Filters** | **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: **name**: *eq* **type**: *eq* **status**: *eq* **objectTypes**: *eq* Supported composite operators: *and* | [optional] + +### Return type + +[**AttributeDTO[]**](AttributeDTO.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024AccessModelMetadataAttributeValue** +> AttributeValueDTO[] Get-V2024AccessModelMetadataAttributeValue
+>         [-Key]
+>         [-XSailPointExperimental]
+ +List Access Model Metadata Values + +Get a list of Access Model Metadata Attribute Values + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Key = "iscPrivacy" # String | Technical name of the Attribute. +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# List Access Model Metadata Values +try { + $Result = Get-V2024AccessModelMetadataAttributeValue -Key $Key -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Get-V2024AccessModelMetadataAttributeValue: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Key** | **String**| Technical name of the Attribute. | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**AttributeValueDTO[]**](AttributeValueDTO.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024AccessProfilesApi.md b/PSSailpoint/v2024/docs/V2024AccessProfilesApi.md new file mode 100644 index 000000000..e9b65ba66 --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024AccessProfilesApi.md @@ -0,0 +1,481 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024AccessProfilesApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**New-V2024AccessProfile**](V2024AccessProfilesApi.md#New-V2024AccessProfile) | **POST** /access-profiles | Create Access Profile +[**Remove-V2024AccessProfile**](V2024AccessProfilesApi.md#Remove-V2024AccessProfile) | **DELETE** /access-profiles/{id} | Delete the specified Access Profile +[**Remove-V2024AccessProfilesInBulk**](V2024AccessProfilesApi.md#Remove-V2024AccessProfilesInBulk) | **POST** /access-profiles/bulk-delete | Delete Access Profile(s) +[**Get-V2024AccessProfile**](V2024AccessProfilesApi.md#Get-V2024AccessProfile) | **GET** /access-profiles/{id} | Get an Access Profile +[**Get-V2024AccessProfileEntitlements**](V2024AccessProfilesApi.md#Get-V2024AccessProfileEntitlements) | **GET** /access-profiles/{id}/entitlements | List Access Profile's Entitlements +[**Get-V2024AccessProfiles**](V2024AccessProfilesApi.md#Get-V2024AccessProfiles) | **GET** /access-profiles | List Access Profiles +[**Update-V2024AccessProfile**](V2024AccessProfilesApi.md#Update-V2024AccessProfile) | **PATCH** /access-profiles/{id} | Patch a specified Access Profile +[**Update-V2024AccessProfilesInBulk**](V2024AccessProfilesApi.md#Update-V2024AccessProfilesInBulk) | **POST** /access-profiles/bulk-update-requestable | Update Access Profile(s) requestable field. + + + +# **New-V2024AccessProfile** +> AccessProfile New-V2024AccessProfile
+>         [-AccessProfile]
+ +Create Access Profile + +Use this API to create an access profile. A token with API, ORG_ADMIN, ROLE_ADMIN, ROLE_SUBADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API. In addition, a token with only ROLE_SUBADMIN or SOURCE_SUBADMIN authority must be associated with the access profile's Source. The maximum supported length for the description field is 2000 characters. Longer descriptions will be preserved for existing access profiles. However, any new access profiles as well as any updates to existing descriptions are limited to 2000 characters. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$OwnerReference = Initialize-OwnerReference -Type "IDENTITY" -Id "2c9180a46faadee4016fb4e018c20639" -Name "support" +$AccessProfileSourceRef = Initialize-AccessProfileSourceRef -Id "2c91809773dee3610173fdb0b6061ef4" -Type "SOURCE" -Name "ODS-AD-SOURCE" +$EntitlementRef = Initialize-EntitlementRef -Type "ENTITLEMENT" -Id "2c91809773dee32014e13e122092014e" -Name "CN=entitlement.490efde5,OU=OrgCo,OU=ServiceDept,DC=HQAD,DC=local" + +$AccessProfileApprovalScheme = Initialize-AccessProfileApprovalScheme -ApproverType "APP_OWNER" -ApproverId "46c79819-a69f-49a2-becb-12c971ae66c6" +$Requestability = Initialize-Requestability -CommentsRequired $true -DenialCommentsRequired $true -ApprovalSchemes $AccessProfileApprovalScheme + +$Revocability = Initialize-Revocability -ApprovalSchemes $AccessProfileApprovalScheme + +$ProvisioningCriteriaLevel3 = Initialize-ProvisioningCriteriaLevel3 -Operation "EQUALS" -Attribute "email" -Value "carlee.cert1c9f9b6fd@mailinator.com" -Children "MyChildren" +$ProvisioningCriteriaLevel2 = Initialize-ProvisioningCriteriaLevel2 -Operation "EQUALS" -Attribute "email" -Value "carlee.cert1c9f9b6fd@mailinator.com" -Children $ProvisioningCriteriaLevel3 + +$ProvisioningCriteriaLevel1 = Initialize-ProvisioningCriteriaLevel1 -Operation "EQUALS" -Attribute "email" -Value "carlee.cert1c9f9b6fd@mailinator.com" -Children $ProvisioningCriteriaLevel2 + +$AccessProfile = Initialize-AccessProfile -Id "2c91808a7190d06e01719938fcd20792" -Name "Employee-database-read-write" -Description "Collection of entitlements to read/write the employee database" -Created (Get-Date) -Modified (Get-Date) -Enabled $true -Owner $OwnerReference -Source $AccessProfileSourceRef -Entitlements $EntitlementRef -Requestable $true -AccessRequestConfig $Requestability -RevocationRequestConfig $Revocability -Segments "MySegments" -ProvisioningCriteria $ProvisioningCriteriaLevel1 # AccessProfile | + +# Create Access Profile +try { + $Result = New-V2024AccessProfile -AccessProfile $AccessProfile +} catch { + Write-Host ("Exception occurred when calling New-V2024AccessProfile: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **AccessProfile** | [**AccessProfile**](AccessProfile.md)| | + +### Return type + +[**AccessProfile**](AccessProfile.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Remove-V2024AccessProfile** +> void Remove-V2024AccessProfile
+>         [-Id]
+ +Delete the specified Access Profile + +This API deletes an existing Access Profile. The Access Profile must not be in use, for example, Access Profile can not be deleted if they belong to an Application, Life Cycle State or a Role. If it is, a 400 error is returned. A token with API, ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to invoke this API. In addition, a SOURCE_SUBADMIN token must be able to administer the Source associated with the Access Profile. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "2c91808a7813090a017814121919ecca" # String | ID of the Access Profile to delete + +# Delete the specified Access Profile +try { + $Result = Remove-V2024AccessProfile -Id $Id +} catch { + Write-Host ("Exception occurred when calling Remove-V2024AccessProfile: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| ID of the Access Profile to delete | + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Remove-V2024AccessProfilesInBulk** +> AccessProfileBulkDeleteResponse Remove-V2024AccessProfilesInBulk
+>         [-AccessProfileBulkDeleteRequest]
+ +Delete Access Profile(s) + +This endpoint initiates a bulk deletion of one or more access profiles. When the request is successful, the endpoint returns the bulk delete's task result ID. To follow the task, you can use [Get Task Status by ID](https://developer.sailpoint.com/docs/api/beta/get-task-status), which will return the task result's status and information. This endpoint can only bulk delete up to a limit of 50 access profiles per request. By default, if any of the indicated access profiles are in use, no deletions will be performed and the **inUse** field of the response indicates the usages that must be removed first. If the request field **bestEffortOnly** is **true**, however, usages are reported in the **inUse** response field but all other indicated access profiles will be deleted. A token with API, ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this endpoint. In addition, a SOURCE_SUBADMIN can only use this endpoint to delete access profiles associated with sources they're able to administer. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$AccessProfileBulkDeleteRequest = Initialize-AccessProfileBulkDeleteRequest -AccessProfileIds "MyAccessProfileIds" -BestEffortOnly $true # AccessProfileBulkDeleteRequest | + +# Delete Access Profile(s) +try { + $Result = Remove-V2024AccessProfilesInBulk -AccessProfileBulkDeleteRequest $AccessProfileBulkDeleteRequest +} catch { + Write-Host ("Exception occurred when calling Remove-V2024AccessProfilesInBulk: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **AccessProfileBulkDeleteRequest** | [**AccessProfileBulkDeleteRequest**](AccessProfileBulkDeleteRequest.md)| | + +### Return type + +[**AccessProfileBulkDeleteResponse**](AccessProfileBulkDeleteResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024AccessProfile** +> AccessProfile Get-V2024AccessProfile
+>         [-Id]
+ +Get an Access Profile + +This API returns an Access Profile by its ID. A token with API, ORG_ADMIN, ROLE_ADMIN, ROLE_SUBADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "2c9180837ca6693d017ca8d097500149" # String | ID of the Access Profile + +# Get an Access Profile +try { + $Result = Get-V2024AccessProfile -Id $Id +} catch { + Write-Host ("Exception occurred when calling Get-V2024AccessProfile: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| ID of the Access Profile | + +### Return type + +[**AccessProfile**](AccessProfile.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024AccessProfileEntitlements** +> Entitlement[] Get-V2024AccessProfileEntitlements
+>         [-Id]
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+>         [-Filters]
+>         [-Sorters]
+ +List Access Profile's Entitlements + +Use this API to get a list of an access profile's entitlements. A token with API, ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API. In addition, a token with SOURCE_SUBADMIN authority must have access to the source associated with the specified access profile. >**Note:** When you filter for access profiles that have the '+' symbol in their names, the response is blank. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "2c91808a7813090a017814121919ecca" # String | ID of the access profile containing the entitlements. +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) +$Filters = "attribute eq "memberOf"" # 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, in* **name**: *eq, sw* **attribute**: *eq, sw* **value**: *eq, sw* **created**: *gt, lt, ge, le* **modified**: *gt, lt, ge, le* **owner.id**: *eq, in* **source.id**: *eq, in* Filtering is not supported for access profiles and entitlements that have the '+' symbol in their names. (optional) +$Sorters = "name,-modified" # String | 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: **name, attribute, value, created, modified** (optional) + +# List Access Profile's Entitlements +try { + $Result = Get-V2024AccessProfileEntitlements -Id $Id -Limit $Limit -Offset $Offset -Count $Count -Filters $Filters -Sorters $Sorters +} catch { + Write-Host ("Exception occurred when calling Get-V2024AccessProfileEntitlements: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| ID of the access profile containing the entitlements. | + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **Filters** | **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, in* **name**: *eq, sw* **attribute**: *eq, sw* **value**: *eq, sw* **created**: *gt, lt, ge, le* **modified**: *gt, lt, ge, le* **owner.id**: *eq, in* **source.id**: *eq, in* Filtering is not supported for access profiles and entitlements that have the '+' symbol in their names. | [optional] + **Sorters** | **String**| 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: **name, attribute, value, created, modified** | [optional] + +### Return type + +[**Entitlement[]**](Entitlement.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024AccessProfiles** +> AccessProfile[] Get-V2024AccessProfiles
+>         [-ForSubadmin]
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+>         [-Filters]
+>         [-Sorters]
+>         [-ForSegmentIds]
+>         [-IncludeUnsegmented]
+ +List Access Profiles + +Use this API to get a list of access profiles. A token with API, ORG_ADMIN, ROLE_ADMIN, ROLE_SUBADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API. >**Note:** When you filter for access profiles that have the '+' symbol in their names, the response is blank. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$ForSubadmin = "8c190e6787aa4ed9a90bd9d5344523fb" # String | If provided, filters the returned list according to what is visible to the indicated ROLE_SUBADMIN or SOURCE_SUBADMIN identity. The value of the parameter is either an identity ID, or the special value **me**, which is shorthand for the calling identity's ID. A 400 Bad Request error is returned if the **for-subadmin** parameter is specified for an identity that is not a subadmin. (optional) +$Limit = 50 # Int32 | Note that for this API the maximum value for limit is 50. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 50) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) +$Filters = "name eq "SailPoint Support"" # 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, in* **name**: *eq, sw* **created**: *gt, lt, ge, le* **modified**: *gt, lt, ge, le* **owner.id**: *eq, in* **requestable**: *eq* **source.id**: *eq, in* Composite operators supported: *and, or* Filtering is not supported for access profiles and entitlements that have the '+' symbol in their names. (optional) +$Sorters = "name,-modified" # String | 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: **name, created, modified** (optional) +$ForSegmentIds = "0b5c9f25-83c6-4762-9073-e38f7bb2ae26,2e8d8180-24bc-4d21-91c6-7affdb473b0d" # String | If present and not empty, additionally filters access profiles to those which are assigned to the segment(s) with the specified IDs. If segmentation is currently unavailable, specifying this parameter results in an error. (optional) +$IncludeUnsegmented = $false # Boolean | Indicates whether the response list should contain unsegmented access profiles. If *for-segment-ids* is absent or empty, specifying *include-unsegmented* as false results in an error. (optional) (default to $true) + +# List Access Profiles +try { + $Result = Get-V2024AccessProfiles -ForSubadmin $ForSubadmin -Limit $Limit -Offset $Offset -Count $Count -Filters $Filters -Sorters $Sorters -ForSegmentIds $ForSegmentIds -IncludeUnsegmented $IncludeUnsegmented +} catch { + Write-Host ("Exception occurred when calling Get-V2024AccessProfiles: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ForSubadmin** | **String**| If provided, filters the returned list according to what is visible to the indicated ROLE_SUBADMIN or SOURCE_SUBADMIN identity. The value of the parameter is either an identity ID, or the special value **me**, which is shorthand for the calling identity's ID. A 400 Bad Request error is returned if the **for-subadmin** parameter is specified for an identity that is not a subadmin. | [optional] + **Limit** | **Int32**| Note that for this API the maximum value for limit is 50. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 50] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **Filters** | **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, in* **name**: *eq, sw* **created**: *gt, lt, ge, le* **modified**: *gt, lt, ge, le* **owner.id**: *eq, in* **requestable**: *eq* **source.id**: *eq, in* Composite operators supported: *and, or* Filtering is not supported for access profiles and entitlements that have the '+' symbol in their names. | [optional] + **Sorters** | **String**| 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: **name, created, modified** | [optional] + **ForSegmentIds** | **String**| If present and not empty, additionally filters access profiles to those which are assigned to the segment(s) with the specified IDs. If segmentation is currently unavailable, specifying this parameter results in an error. | [optional] + **IncludeUnsegmented** | **Boolean**| Indicates whether the response list should contain unsegmented access profiles. If *for-segment-ids* is absent or empty, specifying *include-unsegmented* as false results in an error. | [optional] [default to $true] + +### Return type + +[**AccessProfile[]**](AccessProfile.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Update-V2024AccessProfile** +> AccessProfile Update-V2024AccessProfile
+>         [-Id]
+>         [-JsonPatchOperation]
+ +Patch a specified Access Profile + +This API updates an existing Access Profile. The following fields are patchable: **name** **description** **enabled** **owner** **requestable** **accessRequestConfig** **revokeRequestConfig** **segments** **entitlements** **provisioningCriteria** **source** (must be updated with entitlements belonging to new source in the same API call) If you need to change the `source` of the access profile, you can do so only if you update the `entitlements` in the same API call. The new entitlements can only come from the target source that you want to change to. Look for the example ""Replace Source"" in the examples dropdown. A token with API, ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API. In addition, a SOURCE_SUBADMIN may only use this API to patch Access Profiles which are associated with Sources they are able to administer. > The maximum supported length for the description field is 2000 characters. Longer descriptions will be preserved for existing access profiles, however, any new access profiles as well as any updates to existing descriptions will be limited to 2000 characters. > You can only add or replace **entitlements** that exist on the source that the access profile is attached to. You can use the **list entitlements** endpoint with the **filters** query parameter to get a list of available entitlements on the access profile's source. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "2c91808a7813090a017814121919ecca" # String | ID of the Access Profile to patch +$JsonPatchOperationValue = Initialize-JsonPatchOperationValue +$JsonPatchOperation = Initialize-JsonPatchOperation -Op "add" -Path "/description" -Value $JsonPatchOperationValue # JsonPatchOperation[] | + +# Patch a specified Access Profile +try { + $Result = Update-V2024AccessProfile -Id $Id -JsonPatchOperation $JsonPatchOperation +} catch { + Write-Host ("Exception occurred when calling Update-V2024AccessProfile: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| ID of the Access Profile to patch | + **JsonPatchOperation** | [**JsonPatchOperation[]**](JsonPatchOperation.md)| | + +### Return type + +[**AccessProfile**](AccessProfile.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Update-V2024AccessProfilesInBulk** +> AccessProfileUpdateItem[] Update-V2024AccessProfilesInBulk
+>         [-XSailPointExperimental]
+>         [-AccessProfileBulkUpdateRequestInner]
+ +Update Access Profile(s) requestable field. + +This API initiates a bulk update of field requestable for one or more Access Profiles. > If any of the indicated Access Profiles is exists in Organization,then those Access Profiles will be added in **updated** list of the response.Requestable field of these Access Profiles marked as **true** or **false**. > If any of the indicated Access Profiles is not does not exists in Organization,then those Access Profiles will be added in **notFound** list of the response. Access Profiles marked as **notFound** will not be updated. > A token with API, ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API. In addition, a SOURCE_SUBADMIN may only use this API to update Access Profiles which are associated with Sources they are able to administer. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$AccessProfileBulkUpdateRequestInner = Initialize-AccessProfileBulkUpdateRequestInner -Id "464ae7bf-791e-49fd-b746-06a2e4a8" -Requestable $false # AccessProfileBulkUpdateRequestInner[] | + +# Update Access Profile(s) requestable field. +try { + $Result = Update-V2024AccessProfilesInBulk -XSailPointExperimental $XSailPointExperimental -AccessProfileBulkUpdateRequestInner $AccessProfileBulkUpdateRequestInner +} catch { + Write-Host ("Exception occurred when calling Update-V2024AccessProfilesInBulk: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **AccessProfileBulkUpdateRequestInner** | [**AccessProfileBulkUpdateRequestInner[]**](AccessProfileBulkUpdateRequestInner.md)| | + +### Return type + +[**AccessProfileUpdateItem[]**](AccessProfileUpdateItem.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024AccessRequestApprovalsApi.md b/PSSailpoint/v2024/docs/V2024AccessRequestApprovalsApi.md new file mode 100644 index 000000000..7590e78a3 --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024AccessRequestApprovalsApi.md @@ -0,0 +1,364 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024AccessRequestApprovalsApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**Approve-V2024AccessRequest**](V2024AccessRequestApprovalsApi.md#Approve-V2024AccessRequest) | **POST** /access-request-approvals/{approvalId}/approve | Approve Access Request Approval +[**Invoke-V2024ForwardAccessRequest**](V2024AccessRequestApprovalsApi.md#Invoke-V2024ForwardAccessRequest) | **POST** /access-request-approvals/{approvalId}/forward | Forward Access Request Approval +[**Get-V2024AccessRequestApprovalSummary**](V2024AccessRequestApprovalsApi.md#Get-V2024AccessRequestApprovalSummary) | **GET** /access-request-approvals/approval-summary | Get Access Requests Approvals Number +[**Get-V2024CompletedApprovals**](V2024AccessRequestApprovalsApi.md#Get-V2024CompletedApprovals) | **GET** /access-request-approvals/completed | Completed Access Request Approvals List +[**Get-V2024PendingApprovals**](V2024AccessRequestApprovalsApi.md#Get-V2024PendingApprovals) | **GET** /access-request-approvals/pending | Pending Access Request Approvals List +[**Deny-V2024AccessRequest**](V2024AccessRequestApprovalsApi.md#Deny-V2024AccessRequest) | **POST** /access-request-approvals/{approvalId}/reject | Reject Access Request Approval + + + +# **Approve-V2024AccessRequest** +> SystemCollectionsHashtable Approve-V2024AccessRequest
+>         [-ApprovalId]
+>         [-CommentDto]
+ +Approve Access Request Approval + +Use this endpoint to approve an access request approval. Only the owner of the approval and ORG_ADMIN users are allowed to perform this action. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$ApprovalId = "2c91808b7294bea301729568c68c002e" # String | Approval ID. +$CommentDtoAuthor = Initialize-CommentDtoAuthor -Type "IDENTITY" -Id "2c9180847e25f377017e2ae8cae4650b" -Name "john.doe" +$CommentDto = Initialize-CommentDto -Comment "This is a comment." -Created (Get-Date) -Author $CommentDtoAuthor # CommentDto | Reviewer's comment. + +# Approve Access Request Approval +try { + $Result = Approve-V2024AccessRequest -ApprovalId $ApprovalId -CommentDto $CommentDto +} catch { + Write-Host ("Exception occurred when calling Approve-V2024AccessRequest: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ApprovalId** | **String**| Approval ID. | + **CommentDto** | [**CommentDto**](CommentDto.md)| Reviewer's comment. | + +### Return type + +[**SystemCollectionsHashtable**](SystemCollectionsHashtable.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Invoke-V2024ForwardAccessRequest** +> SystemCollectionsHashtable Invoke-V2024ForwardAccessRequest
+>         [-ApprovalId]
+>         [-ForwardApprovalDto]
+ +Forward Access Request Approval + +Use this API to forward an access request approval to a new owner. Only the owner of the approval and ORG_ADMIN users are allowed to perform this action. Only the owner of the approval and ORG_ADMIN users are allowed to perform this action. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$ApprovalId = "2c91808b7294bea301729568c68c002e" # String | Approval ID. +$ForwardApprovalDto = Initialize-ForwardApprovalDto -NewOwnerId "2c91808568c529c60168cca6f90c1314" -Comment "2c91808568c529c60168cca6f90c1313" # ForwardApprovalDto | Information about the forwarded approval. + +# Forward Access Request Approval +try { + $Result = Invoke-V2024ForwardAccessRequest -ApprovalId $ApprovalId -ForwardApprovalDto $ForwardApprovalDto +} catch { + Write-Host ("Exception occurred when calling Invoke-V2024ForwardAccessRequest: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ApprovalId** | **String**| Approval ID. | + **ForwardApprovalDto** | [**ForwardApprovalDto**](ForwardApprovalDto.md)| Information about the forwarded approval. | + +### Return type + +[**SystemCollectionsHashtable**](SystemCollectionsHashtable.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024AccessRequestApprovalSummary** +> ApprovalSummary Get-V2024AccessRequestApprovalSummary
+>         [-OwnerId]
+>         [-FromDate]
+ +Get Access Requests Approvals Number + +Use this API to return the number of pending, approved and rejected access requests approvals. See the ""owner-id"" query parameter for authorization information. info. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$OwnerId = "2c91808568c529c60168cca6f90c1313" # String | The ID of the owner or approver identity of the approvals. If present, the value returns approval summary for the specified identity. * ORG_ADMIN users can call this with any identity ID value. * ORG_ADMIN user can also fetch all the approvals in the org, when owner-id is not used. * Non ORG_ADMIN users can only specify *me* or pass their own identity ID value. (optional) +$FromDate = "from-date=2020-03-19T19:59:11Z" # String | This is the date and time the results will be shown from. It must be in a valid ISO-8601 format. (optional) + +# Get Access Requests Approvals Number +try { + $Result = Get-V2024AccessRequestApprovalSummary -OwnerId $OwnerId -FromDate $FromDate +} catch { + Write-Host ("Exception occurred when calling Get-V2024AccessRequestApprovalSummary: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **OwnerId** | **String**| The ID of the owner or approver identity of the approvals. If present, the value returns approval summary for the specified identity. * ORG_ADMIN users can call this with any identity ID value. * ORG_ADMIN user can also fetch all the approvals in the org, when owner-id is not used. * Non ORG_ADMIN users can only specify *me* or pass their own identity ID value. | [optional] + **FromDate** | **String**| This is the date and time the results will be shown from. It must be in a valid ISO-8601 format. | [optional] + +### Return type + +[**ApprovalSummary**](ApprovalSummary.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024CompletedApprovals** +> CompletedApproval[] Get-V2024CompletedApprovals
+>         [-OwnerId]
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+>         [-Filters]
+>         [-Sorters]
+ +Completed Access Request Approvals List + +This endpoint returns list of completed approvals. See *owner-id* query parameter below for authorization info. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$OwnerId = "2c91808568c529c60168cca6f90c1313" # String | If present, the value returns only completed approvals for the specified identity. * ORG_ADMIN users can call this with any identity ID value. * ORG_ADMIN users can also fetch all the approvals in the org, when owner-id is not used. * Non-ORG_ADMIN users can only specify *me* or pass their own identity ID value. (optional) +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) +$Filters = "id eq "2c91808568c529c60168cca6f90c1313"" # 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, in, ge, gt, le, lt, ne, isnull, sw* **requestedFor.id**: *eq, in, ge, gt, le, lt, ne, isnull, sw* **modified**: *gt, lt, ge, le, eq, in, ne, sw* (optional) +$Sorters = "modified" # String | 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: **created, modified** (optional) + +# Completed Access Request Approvals List +try { + $Result = Get-V2024CompletedApprovals -OwnerId $OwnerId -Limit $Limit -Offset $Offset -Count $Count -Filters $Filters -Sorters $Sorters +} catch { + Write-Host ("Exception occurred when calling Get-V2024CompletedApprovals: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **OwnerId** | **String**| If present, the value returns only completed approvals for the specified identity. * ORG_ADMIN users can call this with any identity ID value. * ORG_ADMIN users can also fetch all the approvals in the org, when owner-id is not used. * Non-ORG_ADMIN users can only specify *me* or pass their own identity ID value. | [optional] + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **Filters** | **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, in, ge, gt, le, lt, ne, isnull, sw* **requestedFor.id**: *eq, in, ge, gt, le, lt, ne, isnull, sw* **modified**: *gt, lt, ge, le, eq, in, ne, sw* | [optional] + **Sorters** | **String**| 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: **created, modified** | [optional] + +### Return type + +[**CompletedApproval[]**](CompletedApproval.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024PendingApprovals** +> PendingApproval[] Get-V2024PendingApprovals
+>         [-OwnerId]
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+>         [-Filters]
+>         [-Sorters]
+ +Pending Access Request Approvals List + +This endpoint returns a list of pending approvals. See ""owner-id"" query parameter below for authorization info. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$OwnerId = "2c91808568c529c60168cca6f90c1313" # String | If present, the value returns only pending approvals for the specified identity. * ORG_ADMIN users can call this with any identity ID value. * ORG_ADMIN users can also fetch all the approvals in the org, when owner-id is not used. * Non-ORG_ADMIN users can only specify *me* or pass their own identity ID value. (optional) +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) +$Filters = "id eq "2c91808568c529c60168cca6f90c1313"" # 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, in* **requestedFor.id**: *eq, in* **modified**: *gt, lt, ge, le, eq, in* (optional) +$Sorters = "modified" # String | 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: **created, modified** (optional) + +# Pending Access Request Approvals List +try { + $Result = Get-V2024PendingApprovals -OwnerId $OwnerId -Limit $Limit -Offset $Offset -Count $Count -Filters $Filters -Sorters $Sorters +} catch { + Write-Host ("Exception occurred when calling Get-V2024PendingApprovals: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **OwnerId** | **String**| If present, the value returns only pending approvals for the specified identity. * ORG_ADMIN users can call this with any identity ID value. * ORG_ADMIN users can also fetch all the approvals in the org, when owner-id is not used. * Non-ORG_ADMIN users can only specify *me* or pass their own identity ID value. | [optional] + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **Filters** | **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, in* **requestedFor.id**: *eq, in* **modified**: *gt, lt, ge, le, eq, in* | [optional] + **Sorters** | **String**| 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: **created, modified** | [optional] + +### Return type + +[**PendingApproval[]**](PendingApproval.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Deny-V2024AccessRequest** +> SystemCollectionsHashtable Deny-V2024AccessRequest
+>         [-ApprovalId]
+>         [-CommentDto]
+ +Reject Access Request Approval + +Use this API to reject an access request approval. Only the owner of the approval and admin users are allowed to perform this action. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$ApprovalId = "2c91808b7294bea301729568c68c002e" # String | Approval ID. +$CommentDtoAuthor = Initialize-CommentDtoAuthor -Type "IDENTITY" -Id "2c9180847e25f377017e2ae8cae4650b" -Name "john.doe" +$CommentDto = Initialize-CommentDto -Comment "This is a comment." -Created (Get-Date) -Author $CommentDtoAuthor # CommentDto | Reviewer's comment. + +# Reject Access Request Approval +try { + $Result = Deny-V2024AccessRequest -ApprovalId $ApprovalId -CommentDto $CommentDto +} catch { + Write-Host ("Exception occurred when calling Deny-V2024AccessRequest: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ApprovalId** | **String**| Approval ID. | + **CommentDto** | [**CommentDto**](CommentDto.md)| Reviewer's comment. | + +### Return type + +[**SystemCollectionsHashtable**](SystemCollectionsHashtable.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024AccessRequestIdentityMetricsApi.md b/PSSailpoint/v2024/docs/V2024AccessRequestIdentityMetricsApi.md new file mode 100644 index 000000000..2bb2cabeb --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024AccessRequestIdentityMetricsApi.md @@ -0,0 +1,69 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024AccessRequestIdentityMetricsApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**Get-V2024AccessRequestIdentityMetrics**](V2024AccessRequestIdentityMetricsApi.md#Get-V2024AccessRequestIdentityMetrics) | **GET** /access-request-identity-metrics/{identityId}/requested-objects/{requestedObjectId}/type/{type} | Return access request identity metrics + + + +# **Get-V2024AccessRequestIdentityMetrics** +> SystemCollectionsHashtable Get-V2024AccessRequestIdentityMetrics
+>         [-IdentityId]
+>         [-RequestedObjectId]
+>         [-Type]
+>         [-XSailPointExperimental]
+ +Return access request identity metrics + +Use this API to return information access metrics. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$IdentityId = "7025c863-c270-4ba6-beea-edf3cb091573" # String | Manager's identity ID. +$RequestedObjectId = "2db501be-f0fb-4cc5-a695-334133c52891" # String | Requested access item's ID. +$Type = "ENTITLEMENT" # String | Requested access item's type. +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Return access request identity metrics +try { + $Result = Get-V2024AccessRequestIdentityMetrics -IdentityId $IdentityId -RequestedObjectId $RequestedObjectId -Type $Type -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Get-V2024AccessRequestIdentityMetrics: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **IdentityId** | **String**| Manager's identity ID. | + **RequestedObjectId** | **String**| Requested access item's ID. | + **Type** | **String**| Requested access item's type. | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**SystemCollectionsHashtable**](SystemCollectionsHashtable.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024AccessRequestsApi.md b/PSSailpoint/v2024/docs/V2024AccessRequestsApi.md new file mode 100644 index 000000000..e579c02b7 --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024AccessRequestsApi.md @@ -0,0 +1,349 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024AccessRequestsApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**Suspend-V2024AccessRequest**](V2024AccessRequestsApi.md#Suspend-V2024AccessRequest) | **POST** /access-requests/cancel | Cancel Access Request +[**Close-V2024AccessRequest**](V2024AccessRequestsApi.md#Close-V2024AccessRequest) | **POST** /access-requests/close | Close Access Request +[**New-V2024AccessRequest**](V2024AccessRequestsApi.md#New-V2024AccessRequest) | **POST** /access-requests | Submit Access Request +[**Get-V2024AccessRequestConfig**](V2024AccessRequestsApi.md#Get-V2024AccessRequestConfig) | **GET** /access-request-config | Get Access Request Configuration +[**Get-V2024AccessRequestStatus**](V2024AccessRequestsApi.md#Get-V2024AccessRequestStatus) | **GET** /access-request-status | Access Request Status +[**Set-V2024AccessRequestConfig**](V2024AccessRequestsApi.md#Set-V2024AccessRequestConfig) | **PUT** /access-request-config | Update Access Request Configuration + + + +# **Suspend-V2024AccessRequest** +> SystemCollectionsHashtable Suspend-V2024AccessRequest
+>         [-CancelAccessRequest]
+ +Cancel Access Request + +This API endpoint cancels a pending access request. An access request can be cancelled only if it has not passed the approval step. Any token with ORG_ADMIN authority or token of the user who originally requested the access request is required to cancel it. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$CancelAccessRequest = Initialize-CancelAccessRequest -AccountActivityId "2c9180835d2e5168015d32f890ca1581" -Comment "I requested this role by mistake." # CancelAccessRequest | + +# Cancel Access Request +try { + $Result = Suspend-V2024AccessRequest -CancelAccessRequest $CancelAccessRequest +} catch { + Write-Host ("Exception occurred when calling Suspend-V2024AccessRequest: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **CancelAccessRequest** | [**CancelAccessRequest**](CancelAccessRequest.md)| | + +### Return type + +[**SystemCollectionsHashtable**](SystemCollectionsHashtable.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Close-V2024AccessRequest** +> SystemCollectionsHashtable Close-V2024AccessRequest
+>         [-XSailPointExperimental]
+>         [-CloseAccessRequest]
+ +Close Access Request + +This endpoint closes access requests that are stuck in a pending state. It can be used throughout a request's lifecycle even after the approval state, unlike the [Cancel Access Request endpoint](https://developer.sailpoint.com/idn/api/v3/cancel-access-request/). A token with ORG_ADMIN authority is required. To find pending access requests with the UI, navigate to Search and use this query: status: Pending AND ""Access Request"". Use the Column Chooser to select 'Tracking Number', and use the 'Download' button to export a CSV containing the tracking numbers. To find pending access requests with the API, use the [List Account Activities endpoint](https://developer.sailpoint.com/idn/api/v3/list-account-activities/). Input the IDs from either source. To track the status of endpoint requests, navigate to Search and use this query: name:""Close Identity Requests"". Search will include ""Close Identity Requests Started"" audits when requests are initiated and ""Close Identity Requests Completed"" audits when requests are completed. The completion audit will list the identity request IDs that finished in error. This API triggers the [Provisioning Completed event trigger](https://developer.sailpoint.com/idn/docs/event-triggers/triggers/provisioning-completed/) for each access request that is closed. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$CloseAccessRequest = Initialize-CloseAccessRequest -AccessRequestIds "MyAccessRequestIds" -Message "The IdentityNow Administrator manually closed this request." -ExecutionStatus "Terminated" -CompletionStatus "Success" # CloseAccessRequest | + +# Close Access Request +try { + $Result = Close-V2024AccessRequest -XSailPointExperimental $XSailPointExperimental -CloseAccessRequest $CloseAccessRequest +} catch { + Write-Host ("Exception occurred when calling Close-V2024AccessRequest: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **CloseAccessRequest** | [**CloseAccessRequest**](CloseAccessRequest.md)| | + +### Return type + +[**SystemCollectionsHashtable**](SystemCollectionsHashtable.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **New-V2024AccessRequest** +> SystemCollectionsHashtable New-V2024AccessRequest
+>         [-AccessRequest]
+ +Submit Access Request + +Use this API to submit an access request in Identity Security Cloud (ISC), where it follows any ISC approval processes. Access requests are processed asynchronously by ISC. A successful response from this endpoint means that the request has been submitted to ISC and is queued for processing. Because this endpoint is asynchronous, it doesn't return an error if you submit duplicate access requests in quick succession or submit an access request for access that is already in progress, approved, or rejected. It's best practice to check for any existing access requests that reference the same access items before submitting a new access request. This can be accomplished by using the [List Access Request Status](https://developer.sailpoint.com/idn/api/v3/list-access-request-status) or the [Pending Access Request Approvals](https://developer.sailpoint.com/idn/api/v3/list-pending-approvals) APIs. You can also use the [Search API](https://developer.sailpoint.com/idn/api/v3/search) to check the existing access items an identity has before submitting an access request to ensure that you aren't requesting access that is already granted. If you use this API to request access that an identity already has, the API will ignore the request. These ignored requests do not display when you use the [List Access Request Status](https://developer.sailpoint.com/idn/api/v3/list-access-request-status) API. There are two types of access request: __GRANT_ACCESS__ * Can be requested for multiple identities in a single request. * Supports self request and request on behalf of other users. Refer to the [Get Access Request Configuration](https://developer.sailpoint.com/idn/api/v3/get-access-request-config) endpoint for request configuration options. * Allows any authenticated token (except API) to call this endpoint to request to grant access to themselves. Depending on the configuration, a user can request access for others. * Roles, access profiles and entitlements can be requested. * While requesting entitlements, maximum of 25 entitlements and 10 recipients are allowed in a request. __REVOKE_ACCESS__ * Can only be requested for a single identity at a time. * You cannot use an access request to revoke access from an identity if that access has been granted by role membership or by birthright provisioning. * Does not support self request. Only manager can request to revoke access for their directly managed employees. * If a `removeDate` is specified, then the access will be removed on that date and time only for roles, access profiles and entitlements. * Roles, access profiles, and entitlements can be requested for revocation. * Revoke requests for entitlements are limited to 1 entitlement per access request currently. * You can specify a `removeDate` if the access doesn't already have a sunset date. The `removeDate` must be a future date, in the UTC timezone. * Allows a manager to request to revoke access for direct employees. A token with ORG_ADMIN authority can also request to revoke access from anyone. A token with API authority cannot be used to call this endpoint. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$AccessRequestItem = Initialize-AccessRequestItem -Type "ACCESS_PROFILE" -Id "2c9180835d2e5168015d32f890ca1581" -Comment "Requesting access profile for John Doe" -ClientMetadata @{ key_example = "{requestedAppId=2c91808f7892918f0178b78da4a305a1, requestedAppName=test-app}" } -RemoveDate (Get-Date) +$AccessRequest = Initialize-AccessRequest -RequestedFor "2c918084660f45d6016617daa9210584" -RequestType "GRANT_ACCESS" -RequestedItems $AccessRequestItem -ClientMetadata @{ key_example = "{requestedAppId=2c91808f7892918f0178b78da4a305a1, requestedAppName=test-app}" } # AccessRequest | + +# Submit Access Request +try { + $Result = New-V2024AccessRequest -AccessRequest $AccessRequest +} catch { + Write-Host ("Exception occurred when calling New-V2024AccessRequest: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **AccessRequest** | [**AccessRequest**](AccessRequest.md)| | + +### Return type + +[**SystemCollectionsHashtable**](SystemCollectionsHashtable.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024AccessRequestConfig** +> AccessRequestConfig Get-V2024AccessRequestConfig
+ +Get Access Request Configuration + +This endpoint returns the current access-request configuration. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + + +# Get Access Request Configuration +try { + $Result = Get-V2024AccessRequestConfig +} catch { + Write-Host ("Exception occurred when calling Get-V2024AccessRequestConfig: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**AccessRequestConfig**](AccessRequestConfig.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024AccessRequestStatus** +> RequestedItemStatus[] Get-V2024AccessRequestStatus
+>         [-RequestedFor]
+>         [-RequestedBy]
+>         [-RegardingIdentity]
+>         [-AssignedTo]
+>         [-Count]
+>         [-Limit]
+>         [-Offset]
+>         [-Filters]
+>         [-Sorters]
+ +Access Request Status + +Use this API to return a list of access request statuses based on the specified query parameters. If an access request was made for access that an identity already has, the API ignores the access request. These ignored requests do not display in the list of access request statuses. Any token with any authority can request their own status. A token with ORG_ADMIN authority is required to call this API to get a list of statuses for other users. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$RequestedFor = "2c9180877b2b6ea4017b2c545f971429" # String | Filter the results by the identity the requests were made for. *me* indicates the current user. Mutually exclusive with *regarding-identity*. (optional) +$RequestedBy = "2c9180877b2b6ea4017b2c545f971429" # String | Filter the results by the identity twho made the requests. *me* indicates the current user. Mutually exclusive with *regarding-identity*. (optional) +$RegardingIdentity = "2c9180877b2b6ea4017b2c545f971429" # String | Filter the results by the specified identity who is either the requester or target of the requests. *me* indicates the current user. Mutually exclusive with *requested-for* and *requested-by*. (optional) +$AssignedTo = "2c9180877b2b6ea4017b2c545f971429" # String | Filter the results by the specified identity who is the owner of the Identity Request Work Item. *me* indicates the current user. (optional) +$Count = $false # Boolean | If this is true, the *X-Total-Count* response header populates with the number of results that would be returned if limit and offset were ignored. (optional) (default to $false) +$Limit = 100 # Int32 | Max number of results to return. (optional) (default to 250) +$Offset = 10 # Int32 | Offset into the full result set. Usually specified with *limit* to paginate through the results. Defaults to 0 if not specified. (optional) +$Filters = "accountActivityItemId eq "2c918086771c86df0177401efcdf54c0"" # 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: **accountActivityItemId**: *eq, in, ge, gt, le, lt, ne, isnull, sw* (optional) +$Sorters = "created" # String | 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: **created, modified, accountActivityItemId, name** (optional) + +# Access Request Status +try { + $Result = Get-V2024AccessRequestStatus -RequestedFor $RequestedFor -RequestedBy $RequestedBy -RegardingIdentity $RegardingIdentity -AssignedTo $AssignedTo -Count $Count -Limit $Limit -Offset $Offset -Filters $Filters -Sorters $Sorters +} catch { + Write-Host ("Exception occurred when calling Get-V2024AccessRequestStatus: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **RequestedFor** | **String**| Filter the results by the identity the requests were made for. *me* indicates the current user. Mutually exclusive with *regarding-identity*. | [optional] + **RequestedBy** | **String**| Filter the results by the identity twho made the requests. *me* indicates the current user. Mutually exclusive with *regarding-identity*. | [optional] + **RegardingIdentity** | **String**| Filter the results by the specified identity who is either the requester or target of the requests. *me* indicates the current user. Mutually exclusive with *requested-for* and *requested-by*. | [optional] + **AssignedTo** | **String**| Filter the results by the specified identity who is the owner of the Identity Request Work Item. *me* indicates the current user. | [optional] + **Count** | **Boolean**| If this is true, the *X-Total-Count* response header populates with the number of results that would be returned if limit and offset were ignored. | [optional] [default to $false] + **Limit** | **Int32**| Max number of results to return. | [optional] [default to 250] + **Offset** | **Int32**| Offset into the full result set. Usually specified with *limit* to paginate through the results. Defaults to 0 if not specified. | [optional] + **Filters** | **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: **accountActivityItemId**: *eq, in, ge, gt, le, lt, ne, isnull, sw* | [optional] + **Sorters** | **String**| 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: **created, modified, accountActivityItemId, name** | [optional] + +### Return type + +[**RequestedItemStatus[]**](RequestedItemStatus.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Set-V2024AccessRequestConfig** +> AccessRequestConfig Set-V2024AccessRequestConfig
+>         [-AccessRequestConfig]
+ +Update Access Request Configuration + +This endpoint replaces the current access-request configuration. A token with ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$RequestOnBehalfOfConfig = Initialize-RequestOnBehalfOfConfig -AllowRequestOnBehalfOfAnyoneByAnyone $true -AllowRequestOnBehalfOfEmployeeByManager $true + +$IdentityReferenceWithNameAndEmail = Initialize-IdentityReferenceWithNameAndEmail -Type "IDENTITY" -Id "5168015d32f890ca15812c9180835d2e" -Name "Alison Ferguso" -Email "alison.ferguso@identitysoon.com" +$ApprovalReminderAndEscalationConfig = Initialize-ApprovalReminderAndEscalationConfig -DaysUntilEscalation 0 -DaysBetweenReminders 0 -MaxReminders 1 -FallbackApproverRef $IdentityReferenceWithNameAndEmail + +$EntitlementRequestConfig1 = Initialize-EntitlementRequestConfig1 -AllowEntitlementRequest $true -RequestCommentsRequired $false -DeniedCommentsRequired $false -GrantRequestApprovalSchemes "entitlementOwner, sourceOwner, manager, workgroup:2c918084660f45d6016617daa9210584" +$AccessRequestConfig = Initialize-AccessRequestConfig -ApprovalsMustBeExternal $true -AutoApprovalEnabled $true -RequestOnBehalfOfConfig $RequestOnBehalfOfConfig -ApprovalReminderAndEscalationConfig $ApprovalReminderAndEscalationConfig -EntitlementRequestConfig $EntitlementRequestConfig1 # AccessRequestConfig | + +# Update Access Request Configuration +try { + $Result = Set-V2024AccessRequestConfig -AccessRequestConfig $AccessRequestConfig +} catch { + Write-Host ("Exception occurred when calling Set-V2024AccessRequestConfig: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **AccessRequestConfig** | [**AccessRequestConfig**](AccessRequestConfig.md)| | + +### Return type + +[**AccessRequestConfig**](AccessRequestConfig.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024AccountActivitiesApi.md b/PSSailpoint/v2024/docs/V2024AccountActivitiesApi.md new file mode 100644 index 000000000..bac67f68a --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024AccountActivitiesApi.md @@ -0,0 +1,133 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024AccountActivitiesApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**Get-V2024AccountActivity**](V2024AccountActivitiesApi.md#Get-V2024AccountActivity) | **GET** /account-activities/{id} | Get an Account Activity +[**Get-V2024AccountActivities**](V2024AccountActivitiesApi.md#Get-V2024AccountActivities) | **GET** /account-activities | List Account Activities + + + +# **Get-V2024AccountActivity** +> AccountActivity Get-V2024AccountActivity
+>         [-Id]
+ +Get an Account Activity + +This gets a single account activity by its id. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f94347e94562b5bb8424a56397d8" # String | The account activity id + +# Get an Account Activity +try { + $Result = Get-V2024AccountActivity -Id $Id +} catch { + Write-Host ("Exception occurred when calling Get-V2024AccountActivity: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The account activity id | + +### Return type + +[**AccountActivity**](AccountActivity.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024AccountActivities** +> AccountActivity[] Get-V2024AccountActivities
+>         [-RequestedFor]
+>         [-RequestedBy]
+>         [-RegardingIdentity]
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+>         [-Filters]
+>         [-Sorters]
+ +List Account Activities + +This gets a collection of account activities that satisfy the given query parameters. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$RequestedFor = "2c91808568c529c60168cca6f90c1313" # String | The identity that the activity was requested for. *me* indicates the current user. Mutually exclusive with *regarding-identity*. (optional) +$RequestedBy = "2c91808568c529c60168cca6f90c1313" # String | The identity that requested the activity. *me* indicates the current user. Mutually exclusive with *regarding-identity*. (optional) +$RegardingIdentity = "2c91808568c529c60168cca6f90c1313" # String | The specified identity will be either the requester or target of the account activity. *me* indicates the current user. Mutually exclusive with *requested-for* and *requested-by*. (optional) +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) +$Filters = "type eq "Identity Refresh"" # 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: **type**: *eq, in, ge, gt, le, lt, ne, isnull, sw* **created**: *gt, lt, ge, le, eq, in, ne, isnull, sw* **modified**: *gt, lt, ge, le, eq, in, ne, isnull, sw* (optional) +$Sorters = "created" # String | 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: **type, created, modified** (optional) + +# List Account Activities +try { + $Result = Get-V2024AccountActivities -RequestedFor $RequestedFor -RequestedBy $RequestedBy -RegardingIdentity $RegardingIdentity -Limit $Limit -Offset $Offset -Count $Count -Filters $Filters -Sorters $Sorters +} catch { + Write-Host ("Exception occurred when calling Get-V2024AccountActivities: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **RequestedFor** | **String**| The identity that the activity was requested for. *me* indicates the current user. Mutually exclusive with *regarding-identity*. | [optional] + **RequestedBy** | **String**| The identity that requested the activity. *me* indicates the current user. Mutually exclusive with *regarding-identity*. | [optional] + **RegardingIdentity** | **String**| The specified identity will be either the requester or target of the account activity. *me* indicates the current user. Mutually exclusive with *requested-for* and *requested-by*. | [optional] + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **Filters** | **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: **type**: *eq, in, ge, gt, le, lt, ne, isnull, sw* **created**: *gt, lt, ge, le, eq, in, ne, isnull, sw* **modified**: *gt, lt, ge, le, eq, in, ne, isnull, sw* | [optional] + **Sorters** | **String**| 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: **type, created, modified** | [optional] + +### Return type + +[**AccountActivity[]**](AccountActivity.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024AccountAggregationsApi.md b/PSSailpoint/v2024/docs/V2024AccountAggregationsApi.md new file mode 100644 index 000000000..6980165d9 --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024AccountAggregationsApi.md @@ -0,0 +1,63 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024AccountAggregationsApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**Get-V2024AccountAggregationStatus**](V2024AccountAggregationsApi.md#Get-V2024AccountAggregationStatus) | **GET** /account-aggregations/{id}/status | In-progress Account Aggregation status + + + +# **Get-V2024AccountAggregationStatus** +> AccountAggregationStatus Get-V2024AccountAggregationStatus
+>         [-Id]
+>         [-XSailPointExperimental]
+ +In-progress Account Aggregation status + +This API returns the status of an *in-progress* account aggregation, along with the total number of **NEW**, **CHANGED** and **DELETED** accounts found since the previous aggregation, and the number of those accounts that have been processed so far. Accounts that have not changed since the previous aggregation are not included in **totalAccounts** and **processedAccounts** counts returned by this API. This is distinct from **Accounts Scanned** shown in the Aggregation UI, which indicates total accounts scanned regardless of whether they changed or not. Since this endpoint reports on the status of an *in-progress* account aggregation, totalAccounts and processedAccounts may change between calls to this endpoint. *Only available up to an hour after the aggregation completes. May respond with *404 Not Found* after that.* A token with ORG_ADMIN, SOURCE_ADMIN, SOURCE_SUBADMIN or DASHBOARD authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "2c91808477a6b0c60177a81146b8110b" # String | The account aggregation id +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# In-progress Account Aggregation status +try { + $Result = Get-V2024AccountAggregationStatus -Id $Id -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Get-V2024AccountAggregationStatus: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The account aggregation id | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**AccountAggregationStatus**](AccountAggregationStatus.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024AccountUsagesApi.md b/PSSailpoint/v2024/docs/V2024AccountUsagesApi.md new file mode 100644 index 000000000..dc2a29d70 --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024AccountUsagesApi.md @@ -0,0 +1,72 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024AccountUsagesApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**Get-V2024UsagesByAccountId**](V2024AccountUsagesApi.md#Get-V2024UsagesByAccountId) | **GET** /account-usages/{accountId}/summaries | Returns account usage insights + + + +# **Get-V2024UsagesByAccountId** +> AccountUsage[] Get-V2024UsagesByAccountId
+>         [-AccountId]
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+>         [-Sorters]
+ +Returns account usage insights + +This API returns a summary of account usage insights for past 12 months. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$AccountId = "ef38f94347e94562b5bb8424a56397d8" # String | ID of IDN account +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) +$Sorters = "-date" # String | 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: **date** (optional) + +# Returns account usage insights +try { + $Result = Get-V2024UsagesByAccountId -AccountId $AccountId -Limit $Limit -Offset $Offset -Count $Count -Sorters $Sorters +} catch { + Write-Host ("Exception occurred when calling Get-V2024UsagesByAccountId: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **AccountId** | **String**| ID of IDN account | + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **Sorters** | **String**| 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: **date** | [optional] + +### Return type + +[**AccountUsage[]**](AccountUsage.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024AccountsApi.md b/PSSailpoint/v2024/docs/V2024AccountsApi.md new file mode 100644 index 000000000..5ec16a282 --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024AccountsApi.md @@ -0,0 +1,891 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024AccountsApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**New-V2024Account**](V2024AccountsApi.md#New-V2024Account) | **POST** /accounts | Create Account +[**Remove-V2024Account**](V2024AccountsApi.md#Remove-V2024Account) | **DELETE** /accounts/{id} | Delete Account +[**Remove-V2024AccountAsync**](V2024AccountsApi.md#Remove-V2024AccountAsync) | **POST** /accounts/{id}/remove | Remove Account +[**Disable-V2024Account**](V2024AccountsApi.md#Disable-V2024Account) | **POST** /accounts/{id}/disable | Disable Account +[**Disable-V2024AccountForIdentity**](V2024AccountsApi.md#Disable-V2024AccountForIdentity) | **POST** /identities-accounts/{id}/disable | Disable IDN Account for Identity +[**Disable-V2024AccountsForIdentities**](V2024AccountsApi.md#Disable-V2024AccountsForIdentities) | **POST** /identities-accounts/disable | Disable IDN Accounts for Identities +[**Enable-V2024Account**](V2024AccountsApi.md#Enable-V2024Account) | **POST** /accounts/{id}/enable | Enable Account +[**Enable-V2024AccountForIdentity**](V2024AccountsApi.md#Enable-V2024AccountForIdentity) | **POST** /identities-accounts/{id}/enable | Enable IDN Account for Identity +[**Enable-V2024AccountsForIdentities**](V2024AccountsApi.md#Enable-V2024AccountsForIdentities) | **POST** /identities-accounts/enable | Enable IDN Accounts for Identities +[**Get-V2024Account**](V2024AccountsApi.md#Get-V2024Account) | **GET** /accounts/{id} | Account Details +[**Get-V2024AccountEntitlements**](V2024AccountsApi.md#Get-V2024AccountEntitlements) | **GET** /accounts/{id}/entitlements | Account Entitlements +[**Get-V2024Accounts**](V2024AccountsApi.md#Get-V2024Accounts) | **GET** /accounts | Accounts List +[**Send-V2024Account**](V2024AccountsApi.md#Send-V2024Account) | **PUT** /accounts/{id} | Update Account +[**Submit-V2024ReloadAccount**](V2024AccountsApi.md#Submit-V2024ReloadAccount) | **POST** /accounts/{id}/reload | Reload Account +[**Unlock-V2024Account**](V2024AccountsApi.md#Unlock-V2024Account) | **POST** /accounts/{id}/unlock | Unlock Account +[**Update-V2024Account**](V2024AccountsApi.md#Update-V2024Account) | **PATCH** /accounts/{id} | Update Account + + + +# **New-V2024Account** +> AccountsAsyncResult New-V2024Account
+>         [-AccountAttributesCreate]
+ +Create Account + +This API submits an account creation task and returns the task ID. You must include the `sourceId` where the account will be created in the `attributes` object. This endpoint creates an account on the source record in your ISC tenant. This is useful for Flat File (`DelimitedFile`) type sources because it allows you to aggregate new accounts without needing to import a new CSV file every time. However, if you use this endpoint to create an account for a Direct Connection type source, you must ensure that the account also exists on the target source. The endpoint doesn't actually provision the account on the target source, which means that if the account doesn't also exist on the target source, an aggregation between the source and your tenant will remove it from your tenant. A token with ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$AccountAttributesCreate = Initialize-AccountAttributesCreate -Attributes # AccountAttributesCreate | + +# Create Account +try { + $Result = New-V2024Account -AccountAttributesCreate $AccountAttributesCreate +} catch { + Write-Host ("Exception occurred when calling New-V2024Account: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **AccountAttributesCreate** | [**AccountAttributesCreate**](AccountAttributesCreate.md)| | + +### Return type + +[**AccountsAsyncResult**](AccountsAsyncResult.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Remove-V2024Account** +> AccountsAsyncResult Remove-V2024Account
+>         [-Id]
+ +Delete Account + +Use this API to delete an account. This endpoint submits an account delete task and returns the task ID. This endpoint only deletes the account from IdentityNow, not the source itself, which can result in the account's returning with the next aggregation between the source and IdentityNow. To avoid this scenario, it is recommended that you [disable accounts](https://developer.sailpoint.com/idn/api/v3/disable-account) rather than delete them. This will also allow you to reenable the accounts in the future. A token with ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API. >**NOTE: You can only delete accounts from sources of the ""DelimitedFile"" type.** + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f94347e94562b5bb8424a56397d8" # String | Account ID. + +# Delete Account +try { + $Result = Remove-V2024Account -Id $Id +} catch { + Write-Host ("Exception occurred when calling Remove-V2024Account: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| Account ID. | + +### Return type + +[**AccountsAsyncResult**](AccountsAsyncResult.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Remove-V2024AccountAsync** +> TaskResultDto Remove-V2024AccountAsync
+>         [-Id]
+>         [-XSailPointExperimental]
+ +Remove Account + +Use this endpoint to remove accounts from the system without provisioning changes to the source. Accounts that are removed could be re-created during the next aggregation. This endpoint is good for: * Removing accounts that no longer exist on the source. * Removing accounts that won't be aggregated following updates to the source configuration. * Forcing accounts to be re-created following the next aggregation to re-run account processing, support testing, etc. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "c350d6aa4f104c61b062cb632421ad10" # String | The account id +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Remove Account +try { + $Result = Remove-V2024AccountAsync -Id $Id -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Remove-V2024AccountAsync: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The account id | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**TaskResultDto**](TaskResultDto.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Disable-V2024Account** +> AccountsAsyncResult Disable-V2024Account
+>         [-Id]
+>         [-AccountToggleRequest]
+ +Disable Account + +This API submits a task to disable the account and returns the task ID. A token with ORG_ADMIN, SOURCE_ADMIN, SOURCE_SUBADMIN, or HELPDESK authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f94347e94562b5bb8424a56397d8" # String | The account id +$AccountToggleRequest = Initialize-AccountToggleRequest -ExternalVerificationId "3f9180835d2e5168015d32f890ca1581" -ForceProvisioning $false # AccountToggleRequest | + +# Disable Account +try { + $Result = Disable-V2024Account -Id $Id -AccountToggleRequest $AccountToggleRequest +} catch { + Write-Host ("Exception occurred when calling Disable-V2024Account: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The account id | + **AccountToggleRequest** | [**AccountToggleRequest**](AccountToggleRequest.md)| | + +### Return type + +[**AccountsAsyncResult**](AccountsAsyncResult.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Disable-V2024AccountForIdentity** +> SystemCollectionsHashtable Disable-V2024AccountForIdentity
+>         [-Id]
+>         [-XSailPointExperimental]
+ +Disable IDN Account for Identity + +This API submits a task to disable IDN account for a single identity. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "2c91808384203c2d018437e631158309" # String | The identity id. +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Disable IDN Account for Identity +try { + $Result = Disable-V2024AccountForIdentity -Id $Id -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Disable-V2024AccountForIdentity: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The identity id. | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**SystemCollectionsHashtable**](SystemCollectionsHashtable.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Disable-V2024AccountsForIdentities** +> BulkIdentitiesAccountsResponse[] Disable-V2024AccountsForIdentities
+>         [-XSailPointExperimental]
+>         [-IdentitiesAccountsBulkRequest]
+ +Disable IDN Accounts for Identities + +This API submits tasks to disable IDN account for each identity provided in the request body. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$IdentitiesAccountsBulkRequest = Initialize-IdentitiesAccountsBulkRequest -IdentityIds "MyIdentityIds" # IdentitiesAccountsBulkRequest | + +# Disable IDN Accounts for Identities +try { + $Result = Disable-V2024AccountsForIdentities -XSailPointExperimental $XSailPointExperimental -IdentitiesAccountsBulkRequest $IdentitiesAccountsBulkRequest +} catch { + Write-Host ("Exception occurred when calling Disable-V2024AccountsForIdentities: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **IdentitiesAccountsBulkRequest** | [**IdentitiesAccountsBulkRequest**](IdentitiesAccountsBulkRequest.md)| | + +### Return type + +[**BulkIdentitiesAccountsResponse[]**](BulkIdentitiesAccountsResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Enable-V2024Account** +> AccountsAsyncResult Enable-V2024Account
+>         [-Id]
+>         [-AccountToggleRequest]
+ +Enable Account + +This API submits a task to enable account and returns the task ID. A token with ORG_ADMIN, SOURCE_ADMIN, SOURCE_SUBADMIN, or HELPDESK authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f94347e94562b5bb8424a56397d8" # String | The account id +$AccountToggleRequest = Initialize-AccountToggleRequest -ExternalVerificationId "3f9180835d2e5168015d32f890ca1581" -ForceProvisioning $false # AccountToggleRequest | + +# Enable Account +try { + $Result = Enable-V2024Account -Id $Id -AccountToggleRequest $AccountToggleRequest +} catch { + Write-Host ("Exception occurred when calling Enable-V2024Account: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The account id | + **AccountToggleRequest** | [**AccountToggleRequest**](AccountToggleRequest.md)| | + +### Return type + +[**AccountsAsyncResult**](AccountsAsyncResult.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Enable-V2024AccountForIdentity** +> SystemCollectionsHashtable Enable-V2024AccountForIdentity
+>         [-Id]
+>         [-XSailPointExperimental]
+ +Enable IDN Account for Identity + +This API submits a task to enable IDN account for a single identity. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "2c91808384203c2d018437e631158309" # String | The identity id. +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Enable IDN Account for Identity +try { + $Result = Enable-V2024AccountForIdentity -Id $Id -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Enable-V2024AccountForIdentity: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The identity id. | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**SystemCollectionsHashtable**](SystemCollectionsHashtable.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Enable-V2024AccountsForIdentities** +> BulkIdentitiesAccountsResponse[] Enable-V2024AccountsForIdentities
+>         [-XSailPointExperimental]
+>         [-IdentitiesAccountsBulkRequest]
+ +Enable IDN Accounts for Identities + +This API submits tasks to enable IDN account for each identity provided in the request body. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$IdentitiesAccountsBulkRequest = Initialize-IdentitiesAccountsBulkRequest -IdentityIds "MyIdentityIds" # IdentitiesAccountsBulkRequest | + +# Enable IDN Accounts for Identities +try { + $Result = Enable-V2024AccountsForIdentities -XSailPointExperimental $XSailPointExperimental -IdentitiesAccountsBulkRequest $IdentitiesAccountsBulkRequest +} catch { + Write-Host ("Exception occurred when calling Enable-V2024AccountsForIdentities: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **IdentitiesAccountsBulkRequest** | [**IdentitiesAccountsBulkRequest**](IdentitiesAccountsBulkRequest.md)| | + +### Return type + +[**BulkIdentitiesAccountsResponse[]**](BulkIdentitiesAccountsResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024Account** +> Account Get-V2024Account
+>         [-Id]
+ +Account Details + +Use this API to return the details for a single account by its ID. A token with ORG_ADMIN, SOURCE_ADMIN, SOURCE_SUBADMIN, or HELPDESK authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f94347e94562b5bb8424a56397d8" # String | Account ID. + +# Account Details +try { + $Result = Get-V2024Account -Id $Id +} catch { + Write-Host ("Exception occurred when calling Get-V2024Account: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| Account ID. | + +### Return type + +[**Account**](Account.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024AccountEntitlements** +> EntitlementDto[] Get-V2024AccountEntitlements
+>         [-Id]
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+ +Account Entitlements + +This API returns entitlements of the account. A token with ORG_ADMIN, SOURCE_ADMIN, SOURCE_SUBADMIN, or HELPDESK authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f94347e94562b5bb8424a56397d8" # String | The account id +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) + +# Account Entitlements +try { + $Result = Get-V2024AccountEntitlements -Id $Id -Limit $Limit -Offset $Offset -Count $Count +} catch { + Write-Host ("Exception occurred when calling Get-V2024AccountEntitlements: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The account id | + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + +### Return type + +[**EntitlementDto[]**](EntitlementDto.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024Accounts** +> Account[] Get-V2024Accounts
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+>         [-Filters]
+>         [-Sorters]
+ +Accounts List + +This returns a list of accounts. A token with ORG_ADMIN, SOURCE_ADMIN, SOURCE_SUBADMIN, or HELPDESK authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) +$Filters = "identityId eq "2c9180858082150f0180893dbaf44201"" # 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, in, sw* **identityId**: *eq, in, sw* **name**: *eq, in, sw* **nativeIdentity**: *eq, in, sw* **sourceId**: *eq, in, sw* **uncorrelated**: *eq* **entitlements**: *eq* **origin**: *eq, in* **manuallyCorrelated**: *eq* **identity.name**: *eq, in, sw* **identity.correlated**: *eq* **identity.identityState**: *eq, in* **source.displayableName**: *eq, in* **source.authoritative**: *eq* **source.connectionType**: *eq, in* (optional) +$Sorters = "id,name" # String | 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, created, modified, sourceId, identityId, identity.id, nativeIdentity, uuid, manuallyCorrelated, entitlements, origin, identity.name, identity.identityState, identity.correlated, source.displayableName, source.authoritative, source.connectionType** (optional) + +# Accounts List +try { + $Result = Get-V2024Accounts -Limit $Limit -Offset $Offset -Count $Count -Filters $Filters -Sorters $Sorters +} catch { + Write-Host ("Exception occurred when calling Get-V2024Accounts: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **Filters** | **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, in, sw* **identityId**: *eq, in, sw* **name**: *eq, in, sw* **nativeIdentity**: *eq, in, sw* **sourceId**: *eq, in, sw* **uncorrelated**: *eq* **entitlements**: *eq* **origin**: *eq, in* **manuallyCorrelated**: *eq* **identity.name**: *eq, in, sw* **identity.correlated**: *eq* **identity.identityState**: *eq, in* **source.displayableName**: *eq, in* **source.authoritative**: *eq* **source.connectionType**: *eq, in* | [optional] + **Sorters** | **String**| 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, created, modified, sourceId, identityId, identity.id, nativeIdentity, uuid, manuallyCorrelated, entitlements, origin, identity.name, identity.identityState, identity.correlated, source.displayableName, source.authoritative, source.connectionType** | [optional] + +### Return type + +[**Account[]**](Account.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Send-V2024Account** +> AccountsAsyncResult Send-V2024Account
+>         [-Id]
+>         [-AccountAttributes]
+ +Update Account + +Use this API to update an account with a PUT request. This endpoint submits an account update task and returns the task ID. A token with ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API. >**NOTE: You can only use this PUT endpoint to update accounts from sources of the ""DelimitedFile"" type.** + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f94347e94562b5bb8424a56397d8" # String | Account ID. +$AccountAttributes = Initialize-AccountAttributes -Attributes @{ key_example = } # AccountAttributes | + +# Update Account +try { + $Result = Send-V2024Account -Id $Id -AccountAttributes $AccountAttributes +} catch { + Write-Host ("Exception occurred when calling Send-V2024Account: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| Account ID. | + **AccountAttributes** | [**AccountAttributes**](AccountAttributes.md)| | + +### Return type + +[**AccountsAsyncResult**](AccountsAsyncResult.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Submit-V2024ReloadAccount** +> AccountsAsyncResult Submit-V2024ReloadAccount
+>         [-Id]
+ +Reload Account + +This API asynchronously reloads the account directly from the connector and performs a one-time aggregation process. A token with ORG_ADMIN, SOURCE_ADMIN, SOURCE_SUBADMIN, or HELPDESK authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f94347e94562b5bb8424a56397d8" # String | The account id + +# Reload Account +try { + $Result = Submit-V2024ReloadAccount -Id $Id +} catch { + Write-Host ("Exception occurred when calling Submit-V2024ReloadAccount: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The account id | + +### Return type + +[**AccountsAsyncResult**](AccountsAsyncResult.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Unlock-V2024Account** +> AccountsAsyncResult Unlock-V2024Account
+>         [-Id]
+>         [-AccountUnlockRequest]
+ +Unlock Account + +This API submits a task to unlock an account and returns the task ID. To use this endpoint to unlock an account that has the `forceProvisioning` option set to true, the `idn:accounts-provisioning:manage` scope is required. A token with ORG_ADMIN, SOURCE_ADMIN, SOURCE_SUBADMIN, or HELPDESK authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f94347e94562b5bb8424a56397d8" # String | The account ID. +$AccountUnlockRequest = Initialize-AccountUnlockRequest -ExternalVerificationId "3f9180835d2e5168015d32f890ca1581" -UnlockIDNAccount $false -ForceProvisioning $false # AccountUnlockRequest | + +# Unlock Account +try { + $Result = Unlock-V2024Account -Id $Id -AccountUnlockRequest $AccountUnlockRequest +} catch { + Write-Host ("Exception occurred when calling Unlock-V2024Account: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The account ID. | + **AccountUnlockRequest** | [**AccountUnlockRequest**](AccountUnlockRequest.md)| | + +### Return type + +[**AccountsAsyncResult**](AccountsAsyncResult.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Update-V2024Account** +> SystemCollectionsHashtable Update-V2024Account
+>         [-Id]
+>         [-RequestBody]
+ +Update Account + +Use this API to update account details. A token with ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API. This API supports updating an account's correlation. You can modify only the `identityId` and `manuallyCorrelated` fields for any flat file account. To reassign an account from one identity to another, replace the current `identityId` with a new value. If the account you're assigning was provisioned by Identity Security Cloud (ISC), it's possible for ISC to create a new account for the previous identity as soon as the account is moved. If the account you're assigning is authoritative, this causes the previous identity to become uncorrelated and can even result in its deletion. All accounts that are reassigned will be set to `manuallyCorrelated: true` unless you specify otherwise. >**Note:** The `attributes` field can only be modified for flat file accounts. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f94347e94562b5bb8424a56397d8" # String | Account ID. +$RequestBody = # SystemCollectionsHashtable[] | A list of account update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. + +# Update Account +try { + $Result = Update-V2024Account -Id $Id -RequestBody $RequestBody +} catch { + Write-Host ("Exception occurred when calling Update-V2024Account: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| Account ID. | + **RequestBody** | [**SystemCollectionsHashtable[]**](SystemCollectionsHashtable.md)| A list of account update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. | + +### Return type + +[**SystemCollectionsHashtable**](SystemCollectionsHashtable.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024ApplicationDiscoveryApi.md b/PSSailpoint/v2024/docs/V2024ApplicationDiscoveryApi.md new file mode 100644 index 000000000..daeff5a09 --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024ApplicationDiscoveryApi.md @@ -0,0 +1,215 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024ApplicationDiscoveryApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**Get-V2024DiscoveredApplications**](V2024ApplicationDiscoveryApi.md#Get-V2024DiscoveredApplications) | **GET** /discovered-applications | Retrieve discovered applications for tenant +[**Get-V2024ManualDiscoverApplicationsCsvTemplate**](V2024ApplicationDiscoveryApi.md#Get-V2024ManualDiscoverApplicationsCsvTemplate) | **GET** /manual-discover-applications-template | CSV template download for discovery +[**Get-V2024VendorConnectorMappings**](V2024ApplicationDiscoveryApi.md#Get-V2024VendorConnectorMappings) | **GET** /vendor-connector-mappings | List vendor connector mappings +[**Send-V2024ManualDiscoverApplicationsCsvTemplate**](V2024ApplicationDiscoveryApi.md#Send-V2024ManualDiscoverApplicationsCsvTemplate) | **POST** /manual-discover-applications | CSV Upload to discover applications + + + +# **Get-V2024DiscoveredApplications** +> Array[] Get-V2024DiscoveredApplications
+>         [-Limit]
+>         [-Offset]
+>         [-Filter]
+>         [-Sorters]
+ +Retrieve discovered applications for tenant + +Fetches a list of applications that have been identified within the environment. This includes details such as application names, discovery dates, potential correlated saas_vendors and related suggested connectors. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Filter = "name eq "Okta" and description co "Okta"" # 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: **name**: *eq, sw, co* **description**: *eq, sw, co* (optional) +$Sorters = "name" # String | 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: **name, description, discoveredAt, discoverySource** (optional) + +# Retrieve discovered applications for tenant +try { + $Result = Get-V2024DiscoveredApplications -Limit $Limit -Offset $Offset -Filter $Filter -Sorters $Sorters +} catch { + Write-Host ("Exception occurred when calling Get-V2024DiscoveredApplications: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Filter** | **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: **name**: *eq, sw, co* **description**: *eq, sw, co* | [optional] + **Sorters** | **String**| 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: **name, description, discoveredAt, discoverySource** | [optional] + +### Return type + +[**Array[]**](Array.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024ManualDiscoverApplicationsCsvTemplate** +> ManualDiscoverApplicationsTemplate Get-V2024ManualDiscoverApplicationsCsvTemplate
+ +CSV template download for discovery + +This endpoint allows the user to download an example CSV file with two columns `application_name` and `description`. The CSV file contains a single row with the values 'Example Application' and 'Example Description'. The downloaded template is specifically designed for use with the `/manual-discover-applications` endpoint. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + + +# CSV template download for discovery +try { + $Result = Get-V2024ManualDiscoverApplicationsCsvTemplate +} catch { + Write-Host ("Exception occurred when calling Get-V2024ManualDiscoverApplicationsCsvTemplate: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**ManualDiscoverApplicationsTemplate**](ManualDiscoverApplicationsTemplate.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: text/csv, application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024VendorConnectorMappings** +> VendorConnectorMapping[] Get-V2024VendorConnectorMappings
+ +List vendor connector mappings + +Retrieves a list of mappings between SaaS vendors and IDN connectors, detailing the connections established for correlation. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + + +# List vendor connector mappings +try { + $Result = Get-V2024VendorConnectorMappings +} catch { + Write-Host ("Exception occurred when calling Get-V2024VendorConnectorMappings: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**VendorConnectorMapping[]**](VendorConnectorMapping.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Send-V2024ManualDiscoverApplicationsCsvTemplate** +> void Send-V2024ManualDiscoverApplicationsCsvTemplate
+>         [-File]
+ +CSV Upload to discover applications + +This endpoint supports uploading a CSV file with application data for manual correlation to specific IDN connectors. If a suitable IDN connector is unavailable, the system will recommend generic connectors instead. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$File = # System.IO.FileInfo | The CSV file to upload containing `application_name` and `description` columns. Each row represents an application to be discovered. + +# CSV Upload to discover applications +try { + $Result = Send-V2024ManualDiscoverApplicationsCsvTemplate -File $File +} catch { + Write-Host ("Exception occurred when calling Send-V2024ManualDiscoverApplicationsCsvTemplate: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **File** | **System.IO.FileInfo****System.IO.FileInfo**| The CSV file to upload containing `application_name` and `description` columns. Each row represents an application to be discovered. | + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: multipart/form-data + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024ApprovalsApi.md b/PSSailpoint/v2024/docs/V2024ApprovalsApi.md new file mode 100644 index 000000000..a3bab3880 --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024ApprovalsApi.md @@ -0,0 +1,180 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024ApprovalsApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**Get-V2024Approval**](V2024ApprovalsApi.md#Get-V2024Approval) | **GET** /generic-approvals/{id} | Get an approval +[**Get-V2024Approvals**](V2024ApprovalsApi.md#Get-V2024Approvals) | **GET** /generic-approvals | Get Approvals +[**Update-V2024Approval**](V2024ApprovalsApi.md#Update-V2024Approval) | **PATCH** /generic-approvals/{id} | Change an approval + + + +# **Get-V2024Approval** +> Approval Get-V2024Approval
+>         [-Id]
+>         [-XSailPointExperimental]
+ +Get an approval + +Retrieve a single approval for a given approval ID. This endpoint is for generic approvals, different than the access-request-approval endpoint and does not include access-request-approvals. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "38453251-6be2-5f8f-df93-5ce19e295837" # String | ID of the approval that is to be returned +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Get an approval +try { + $Result = Get-V2024Approval -Id $Id -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Get-V2024Approval: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| ID of the approval that is to be returned | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**Approval**](Approval.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024Approvals** +> Approval[] Get-V2024Approvals
+>         [-XSailPointExperimental]
+>         [-Mine]
+>         [-RequesterId]
+>         [-Filters]
+ +Get Approvals + +Retrieve a list of approvals, which can be filtered by requester ID, status, or reference type. ""Mine"" query parameter can be used and it will return all approvals for the current approver. This endpoint is for generic approvals, different than the access-request-approval endpoint and does not include access-request-approvals. Absence of all query parameters will will default to mine=true. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Mine = $true # Boolean | Returns the list of approvals for the current caller (optional) +$RequesterId = "17e633e7d57e481569df76323169deb6a" # String | Returns the list of approvals for a given requester ID (optional) +$Filters = "filters=status eq PENDING" # 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: **status**: *eq* **referenceType**: *eq* (optional) + +# Get Approvals +try { + $Result = Get-V2024Approvals -XSailPointExperimental $XSailPointExperimental -Mine $Mine -RequesterId $RequesterId -Filters $Filters +} catch { + Write-Host ("Exception occurred when calling Get-V2024Approvals: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Mine** | **Boolean**| Returns the list of approvals for the current caller | [optional] + **RequesterId** | **String**| Returns the list of approvals for a given requester ID | [optional] + **Filters** | **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: **status**: *eq* **referenceType**: *eq* | [optional] + +### Return type + +[**Approval[]**](Approval.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Update-V2024Approval** +> Approval Update-V2024Approval
+>         [-XSailPointExperimental]
+>         [-ApprovalDto]
+ +Change an approval + +Change the values of a given approval + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$ApprovalIdentity = Initialize-ApprovalIdentity -Id "85d173e7d57e496569df763231d6deb6a" -Type "IDENTITY" -Name "John Doe" +$ApprovalDto = Initialize-ApprovalDto -Comments -ApprovedBy $ApprovalIdentity -RejectedBy $ApprovalIdentity -ReassignFrom $ApprovalIdentity -ReassignTo $ApprovalIdentity -AdditionalAttributes # ApprovalDto | + +# Change an approval +try { + $Result = Update-V2024Approval -XSailPointExperimental $XSailPointExperimental -ApprovalDto $ApprovalDto +} catch { + Write-Host ("Exception occurred when calling Update-V2024Approval: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **ApprovalDto** | [**ApprovalDto**](ApprovalDto.md)| | + +### Return type + +[**Approval**](Approval.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024AuthProfileApi.md b/PSSailpoint/v2024/docs/V2024AuthProfileApi.md new file mode 100644 index 000000000..15ba8e1ef --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024AuthProfileApi.md @@ -0,0 +1,171 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024AuthProfileApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**Get-V2024ProfileConfig**](V2024AuthProfileApi.md#Get-V2024ProfileConfig) | **GET** /auth-profiles/{id} | Get Auth Profile. +[**Get-V2024ProfileConfigList**](V2024AuthProfileApi.md#Get-V2024ProfileConfigList) | **GET** /auth-profiles | Get list of Auth Profiles. +[**Update-V2024ProfileConfig**](V2024AuthProfileApi.md#Update-V2024ProfileConfig) | **PATCH** /auth-profiles/{id} | Patch a specified Auth Profile + + + +# **Get-V2024ProfileConfig** +> AuthProfile Get-V2024ProfileConfig
+>         [-XSailPointExperimental]
+ +Get Auth Profile. + +This API returns auth profile information. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Get Auth Profile. +try { + $Result = Get-V2024ProfileConfig -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Get-V2024ProfileConfig: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**AuthProfile**](AuthProfile.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024ProfileConfigList** +> AuthProfileSummary Get-V2024ProfileConfigList
+>         [-XSailPointExperimental]
+ +Get list of Auth Profiles. + +This API returns a list of auth profiles. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Get list of Auth Profiles. +try { + $Result = Get-V2024ProfileConfigList -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Get-V2024ProfileConfigList: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**AuthProfileSummary**](AuthProfileSummary.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Update-V2024ProfileConfig** +> AuthProfile Update-V2024ProfileConfig
+>         [-Id]
+>         [-XSailPointExperimental]
+>         [-JsonPatchOperation]
+ +Patch a specified Auth Profile + +This API updates an existing Auth Profile. The following fields are patchable: **offNetwork**, **untrustedGeography**, **applicationId**, **applicationName**, **type** + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "2c91808a7813090a017814121919ecca" # String | ID of the Auth Profile to patch. +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$JsonPatchOperationValue = Initialize-JsonPatchOperationValue +$JsonPatchOperation = Initialize-JsonPatchOperation -Op "add" -Path "/description" -Value $JsonPatchOperationValue # JsonPatchOperation[] | + +# Patch a specified Auth Profile +try { + $Result = Update-V2024ProfileConfig -Id $Id -XSailPointExperimental $XSailPointExperimental -JsonPatchOperation $JsonPatchOperation +} catch { + Write-Host ("Exception occurred when calling Update-V2024ProfileConfig: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| ID of the Auth Profile to patch. | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **JsonPatchOperation** | [**JsonPatchOperation[]**](JsonPatchOperation.md)| | + +### Return type + +[**AuthProfile**](AuthProfile.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024AuthUsersApi.md b/PSSailpoint/v2024/docs/V2024AuthUsersApi.md new file mode 100644 index 000000000..9a89b60d6 --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024AuthUsersApi.md @@ -0,0 +1,116 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024AuthUsersApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**Get-V2024AuthUser**](V2024AuthUsersApi.md#Get-V2024AuthUser) | **GET** /auth-users/{id} | Auth User Details +[**Update-V2024AuthUser**](V2024AuthUsersApi.md#Update-V2024AuthUser) | **PATCH** /auth-users/{id} | Auth User Update + + + +# **Get-V2024AuthUser** +> AuthUser Get-V2024AuthUser
+>         [-Id]
+ +Auth User Details + +Return the specified user's authentication system details. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f94347e94562b5bb8424a56397d8" # String | Identity ID + +# Auth User Details +try { + $Result = Get-V2024AuthUser -Id $Id +} catch { + Write-Host ("Exception occurred when calling Get-V2024AuthUser: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| Identity ID | + +### Return type + +[**AuthUser**](AuthUser.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Update-V2024AuthUser** +> AuthUser Update-V2024AuthUser
+>         [-Id]
+>         [-JsonPatchOperation]
+ +Auth User Update + +Use a PATCH request to update an existing user in the authentication system. Use this endpoint to modify these fields: * `capabilities` A '400.1.1 Illegal update attempt' detail code indicates that you attempted to PATCH a field that is not allowed. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f94347e94562b5bb8424a56397d8" # String | Identity ID +$JsonPatchOperationValue = Initialize-JsonPatchOperationValue +$JsonPatchOperation = Initialize-JsonPatchOperation -Op "add" -Path "/description" -Value $JsonPatchOperationValue # JsonPatchOperation[] | A list of auth user update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. + +# Auth User Update +try { + $Result = Update-V2024AuthUser -Id $Id -JsonPatchOperation $JsonPatchOperation +} catch { + Write-Host ("Exception occurred when calling Update-V2024AuthUser: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| Identity ID | + **JsonPatchOperation** | [**JsonPatchOperation[]**](JsonPatchOperation.md)| A list of auth user update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. | + +### Return type + +[**AuthUser**](AuthUser.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024BrandingApi.md b/PSSailpoint/v2024/docs/V2024BrandingApi.md new file mode 100644 index 000000000..de4c48e68 --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024BrandingApi.md @@ -0,0 +1,308 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024BrandingApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**New-V2024BrandingItem**](V2024BrandingApi.md#New-V2024BrandingItem) | **POST** /brandings | Create a branding item +[**Remove-V2024Branding**](V2024BrandingApi.md#Remove-V2024Branding) | **DELETE** /brandings/{name} | Delete a branding item +[**Get-V2024Branding**](V2024BrandingApi.md#Get-V2024Branding) | **GET** /brandings/{name} | Get a branding item +[**Get-V2024BrandingList**](V2024BrandingApi.md#Get-V2024BrandingList) | **GET** /brandings | List of branding items +[**Set-V2024BrandingItem**](V2024BrandingApi.md#Set-V2024BrandingItem) | **PUT** /brandings/{name} | Update a branding item + + + +# **New-V2024BrandingItem** +> BrandingItem New-V2024BrandingItem
+>         [-Name]
+>         [-ProductName]
+>         [-ActionButtonColor]
+>         [-ActiveLinkColor]
+>         [-NavigationColor]
+>         [-EmailFromAddress]
+>         [-LoginInformationalMessage]
+>         [-FileStandard]
+ +Create a branding item + +This API endpoint creates a branding item. A token with API, ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Name = "MyName" # String | name of branding item +$ProductName = "MyProductName" # String | product name +$ActionButtonColor = "MyActionButtonColor" # String | hex value of color for action button (optional) +$ActiveLinkColor = "MyActiveLinkColor" # String | hex value of color for link (optional) +$NavigationColor = "MyNavigationColor" # String | hex value of color for navigation bar (optional) +$EmailFromAddress = "MyEmailFromAddress" # String | email from address (optional) +$LoginInformationalMessage = "MyLoginInformationalMessage" # String | login information message (optional) +$FileStandard = # System.IO.FileInfo | png file with logo (optional) + +# Create a branding item +try { + $Result = New-V2024BrandingItem -Name $Name -ProductName $ProductName -ActionButtonColor $ActionButtonColor -ActiveLinkColor $ActiveLinkColor -NavigationColor $NavigationColor -EmailFromAddress $EmailFromAddress -LoginInformationalMessage $LoginInformationalMessage -FileStandard $FileStandard +} catch { + Write-Host ("Exception occurred when calling New-V2024BrandingItem: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Name** | **String**| name of branding item | + **ProductName** | **String**| product name | + **ActionButtonColor** | **String**| hex value of color for action button | [optional] + **ActiveLinkColor** | **String**| hex value of color for link | [optional] + **NavigationColor** | **String**| hex value of color for navigation bar | [optional] + **EmailFromAddress** | **String**| email from address | [optional] + **LoginInformationalMessage** | **String**| login information message | [optional] + **FileStandard** | **System.IO.FileInfo****System.IO.FileInfo**| png file with logo | [optional] + +### Return type + +[**BrandingItem**](BrandingItem.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: multipart/form-data + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Remove-V2024Branding** +> void Remove-V2024Branding
+>         [-Name]
+ +Delete a branding item + +This API endpoint delete information for an existing branding item by name. A token with API, ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Name = "default" # String | The name of the branding item to be deleted + +# Delete a branding item +try { + $Result = Remove-V2024Branding -Name $Name +} catch { + Write-Host ("Exception occurred when calling Remove-V2024Branding: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Name** | **String**| The name of the branding item to be deleted | + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024Branding** +> BrandingItem Get-V2024Branding
+>         [-Name]
+ +Get a branding item + +This API endpoint retrieves information for an existing branding item by name. A token with API, ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Name = "default" # String | The name of the branding item to be retrieved + +# Get a branding item +try { + $Result = Get-V2024Branding -Name $Name +} catch { + Write-Host ("Exception occurred when calling Get-V2024Branding: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Name** | **String**| The name of the branding item to be retrieved | + +### Return type + +[**BrandingItem**](BrandingItem.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024BrandingList** +> BrandingItem[] Get-V2024BrandingList
+ +List of branding items + +This API endpoint returns a list of branding items. A token with API, ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + + +# List of branding items +try { + $Result = Get-V2024BrandingList +} catch { + Write-Host ("Exception occurred when calling Get-V2024BrandingList: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**BrandingItem[]**](BrandingItem.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Set-V2024BrandingItem** +> BrandingItem Set-V2024BrandingItem
+>         [-Name]
+>         [-Name2]
+>         [-ProductName]
+>         [-ActionButtonColor]
+>         [-ActiveLinkColor]
+>         [-NavigationColor]
+>         [-EmailFromAddress]
+>         [-LoginInformationalMessage]
+>         [-FileStandard]
+ +Update a branding item + +This API endpoint updates information for an existing branding item. A token with API, ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Name = "default" # String | The name of the branding item to be retrieved +$Name2 = "Name_example" # String | name of branding item +$ProductName = "MyProductName" # String | product name +$ActionButtonColor = "MyActionButtonColor" # String | hex value of color for action button (optional) +$ActiveLinkColor = "MyActiveLinkColor" # String | hex value of color for link (optional) +$NavigationColor = "MyNavigationColor" # String | hex value of color for navigation bar (optional) +$EmailFromAddress = "MyEmailFromAddress" # String | email from address (optional) +$LoginInformationalMessage = "MyLoginInformationalMessage" # String | login information message (optional) +$FileStandard = # System.IO.FileInfo | png file with logo (optional) + +# Update a branding item +try { + $Result = Set-V2024BrandingItem -Name $Name -Name2 $Name2 -ProductName $ProductName -ActionButtonColor $ActionButtonColor -ActiveLinkColor $ActiveLinkColor -NavigationColor $NavigationColor -EmailFromAddress $EmailFromAddress -LoginInformationalMessage $LoginInformationalMessage -FileStandard $FileStandard +} catch { + Write-Host ("Exception occurred when calling Set-V2024BrandingItem: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Name** | **String**| The name of the branding item to be retrieved | + **Name2** | **String**| name of branding item | + **ProductName** | **String**| product name | + **ActionButtonColor** | **String**| hex value of color for action button | [optional] + **ActiveLinkColor** | **String**| hex value of color for link | [optional] + **NavigationColor** | **String**| hex value of color for navigation bar | [optional] + **EmailFromAddress** | **String**| email from address | [optional] + **LoginInformationalMessage** | **String**| login information message | [optional] + **FileStandard** | **System.IO.FileInfo****System.IO.FileInfo**| png file with logo | [optional] + +### Return type + +[**BrandingItem**](BrandingItem.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: multipart/form-data + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024CertificationCampaignFiltersApi.md b/PSSailpoint/v2024/docs/V2024CertificationCampaignFiltersApi.md new file mode 100644 index 000000000..56c8a42fd --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024CertificationCampaignFiltersApi.md @@ -0,0 +1,283 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024CertificationCampaignFiltersApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**New-V2024CampaignFilter**](V2024CertificationCampaignFiltersApi.md#New-V2024CampaignFilter) | **POST** /campaign-filters | Create Campaign Filter +[**Remove-V2024CampaignFilters**](V2024CertificationCampaignFiltersApi.md#Remove-V2024CampaignFilters) | **POST** /campaign-filters/delete | Deletes Campaign Filters +[**Get-V2024CampaignFilterById**](V2024CertificationCampaignFiltersApi.md#Get-V2024CampaignFilterById) | **GET** /campaign-filters/{id} | Get Campaign Filter by ID +[**Get-V2024CampaignFilters**](V2024CertificationCampaignFiltersApi.md#Get-V2024CampaignFilters) | **GET** /campaign-filters | List Campaign Filters +[**Update-V2024CampaignFilter**](V2024CertificationCampaignFiltersApi.md#Update-V2024CampaignFilter) | **POST** /campaign-filters/{id} | Updates a Campaign Filter + + + +# **New-V2024CampaignFilter** +> CampaignFilterDetails New-V2024CampaignFilter
+>         [-CampaignFilterDetails]
+ +Create Campaign Filter + +Use this API to create a campaign filter based on filter details and criteria. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Operation = Initialize-Operation +$CampaignFilterDetailsCriteriaListInner = Initialize-CampaignFilterDetailsCriteriaListInner -Type "COMPOSITE" -Operation $Operation -Property "displayName" -Value "Allie" + +$CampaignFilterDetails = Initialize-CampaignFilterDetails -Name "Identity Attribute Campaign Filter" -Description "Campaign filter to certify data based on an identity attribute's specified property." -Owner "SailPoint Support" -Mode "INCLUSION" -CriteriaList $CampaignFilterDetailsCriteriaListInner # CampaignFilterDetails | + +# Create Campaign Filter +try { + $Result = New-V2024CampaignFilter -CampaignFilterDetails $CampaignFilterDetails +} catch { + Write-Host ("Exception occurred when calling New-V2024CampaignFilter: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **CampaignFilterDetails** | [**CampaignFilterDetails**](CampaignFilterDetails.md)| | + +### Return type + +[**CampaignFilterDetails**](CampaignFilterDetails.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Remove-V2024CampaignFilters** +> void Remove-V2024CampaignFilters
+>         [-RequestBody]
+ +Deletes Campaign Filters + +Deletes campaign filters whose Ids are specified in the provided list of campaign filter Ids. Authorized callers must be an ORG_ADMIN or a CERT_ADMIN. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$RequestBody = "MyRequestBody" # String[] | A json list of IDs of campaign filters to delete. + +# Deletes Campaign Filters +try { + $Result = Remove-V2024CampaignFilters -RequestBody $RequestBody +} catch { + Write-Host ("Exception occurred when calling Remove-V2024CampaignFilters: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **RequestBody** | [**String[]**](String.md)| A json list of IDs of campaign filters to delete. | + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024CampaignFilterById** +> CampaignFilterDetails[] Get-V2024CampaignFilterById
+>         [-FilterId]
+ +Get Campaign Filter by ID + +Retrieves information for an existing campaign filter using the filter's ID. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$FilterId = "e9f9a1397b842fd5a65842087040d3ac" # String | The ID of the campaign filter to be retrieved. + +# Get Campaign Filter by ID +try { + $Result = Get-V2024CampaignFilterById -FilterId $FilterId +} catch { + Write-Host ("Exception occurred when calling Get-V2024CampaignFilterById: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **FilterId** | **String**| The ID of the campaign filter to be retrieved. | + +### Return type + +[**CampaignFilterDetails[]**](CampaignFilterDetails.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024CampaignFilters** +> ListCampaignFilters200Response Get-V2024CampaignFilters
+>         [-Limit]
+>         [-Start]
+>         [-IncludeSystemFilters]
+ +List Campaign Filters + +Use this API to list all campaign filters. You can reduce scope with standard V3 query parameters. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Start = 0 # Int32 | Start/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. (optional) (default to 0) +$IncludeSystemFilters = $true # Boolean | If this is true, the API includes system filters in the count and results. Otherwise it excludes them. If no value is provided, the default is true. (optional) (default to $true) + +# List Campaign Filters +try { + $Result = Get-V2024CampaignFilters -Limit $Limit -Start $Start -IncludeSystemFilters $IncludeSystemFilters +} catch { + Write-Host ("Exception occurred when calling Get-V2024CampaignFilters: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Start** | **Int32**| Start/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. | [optional] [default to 0] + **IncludeSystemFilters** | **Boolean**| If this is true, the API includes system filters in the count and results. Otherwise it excludes them. If no value is provided, the default is true. | [optional] [default to $true] + +### Return type + +[**ListCampaignFilters200Response**](ListCampaignFilters200Response.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Update-V2024CampaignFilter** +> CampaignFilterDetails Update-V2024CampaignFilter
+>         [-FilterId]
+>         [-CampaignFilterDetails]
+ +Updates a Campaign Filter + +Updates an existing campaign filter using the filter's ID. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$FilterId = "e9f9a1397b842fd5a65842087040d3ac" # String | The ID of the campaign filter being modified. +$Operation = Initialize-Operation +$CampaignFilterDetailsCriteriaListInner = Initialize-CampaignFilterDetailsCriteriaListInner -Type "COMPOSITE" -Operation $Operation -Property "displayName" -Value "Allie" + +$CampaignFilterDetails = Initialize-CampaignFilterDetails -Name "Identity Attribute Campaign Filter" -Description "Campaign filter to certify data based on an identity attribute's specified property." -Owner "SailPoint Support" -Mode "INCLUSION" -CriteriaList $CampaignFilterDetailsCriteriaListInner # CampaignFilterDetails | A campaign filter details with updated field values. + +# Updates a Campaign Filter +try { + $Result = Update-V2024CampaignFilter -FilterId $FilterId -CampaignFilterDetails $CampaignFilterDetails +} catch { + Write-Host ("Exception occurred when calling Update-V2024CampaignFilter: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **FilterId** | **String**| The ID of the campaign filter being modified. | + **CampaignFilterDetails** | [**CampaignFilterDetails**](CampaignFilterDetails.md)| A campaign filter details with updated field values. | + +### Return type + +[**CampaignFilterDetails**](CampaignFilterDetails.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024CertificationCampaignsApi.md b/PSSailpoint/v2024/docs/V2024CertificationCampaignsApi.md new file mode 100644 index 000000000..3ca8cd2a7 --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024CertificationCampaignsApi.md @@ -0,0 +1,1219 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024CertificationCampaignsApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**Complete-V2024Campaign**](V2024CertificationCampaignsApi.md#Complete-V2024Campaign) | **POST** /campaigns/{id}/complete | Complete a Campaign +[**New-V2024Campaign**](V2024CertificationCampaignsApi.md#New-V2024Campaign) | **POST** /campaigns | Create a campaign +[**New-V2024CampaignTemplate**](V2024CertificationCampaignsApi.md#New-V2024CampaignTemplate) | **POST** /campaign-templates | Create a Campaign Template +[**Remove-V2024CampaignTemplate**](V2024CertificationCampaignsApi.md#Remove-V2024CampaignTemplate) | **DELETE** /campaign-templates/{id} | Delete a Campaign Template +[**Remove-V2024CampaignTemplateSchedule**](V2024CertificationCampaignsApi.md#Remove-V2024CampaignTemplateSchedule) | **DELETE** /campaign-templates/{id}/schedule | Delete Campaign Template Schedule +[**Remove-V2024Campaigns**](V2024CertificationCampaignsApi.md#Remove-V2024Campaigns) | **POST** /campaigns/delete | Delete Campaigns +[**Get-V2024ActiveCampaigns**](V2024CertificationCampaignsApi.md#Get-V2024ActiveCampaigns) | **GET** /campaigns | List Campaigns +[**Get-V2024Campaign**](V2024CertificationCampaignsApi.md#Get-V2024Campaign) | **GET** /campaigns/{id} | Get Campaign +[**Get-V2024CampaignReports**](V2024CertificationCampaignsApi.md#Get-V2024CampaignReports) | **GET** /campaigns/{id}/reports | Get Campaign Reports +[**Get-V2024CampaignReportsConfig**](V2024CertificationCampaignsApi.md#Get-V2024CampaignReportsConfig) | **GET** /campaigns/reports-configuration | Get Campaign Reports Configuration +[**Get-V2024CampaignTemplate**](V2024CertificationCampaignsApi.md#Get-V2024CampaignTemplate) | **GET** /campaign-templates/{id} | Get a Campaign Template +[**Get-V2024CampaignTemplateSchedule**](V2024CertificationCampaignsApi.md#Get-V2024CampaignTemplateSchedule) | **GET** /campaign-templates/{id}/schedule | Get Campaign Template Schedule +[**Get-V2024CampaignTemplates**](V2024CertificationCampaignsApi.md#Get-V2024CampaignTemplates) | **GET** /campaign-templates | List Campaign Templates +[**Move-V2024**](V2024CertificationCampaignsApi.md#Move-V2024) | **POST** /campaigns/{id}/reassign | Reassign Certifications +[**Update-V2024CampaignTemplate**](V2024CertificationCampaignsApi.md#Update-V2024CampaignTemplate) | **PATCH** /campaign-templates/{id} | Update a Campaign Template +[**Set-V2024CampaignReportsConfig**](V2024CertificationCampaignsApi.md#Set-V2024CampaignReportsConfig) | **PUT** /campaigns/reports-configuration | Set Campaign Reports Configuration +[**Set-V2024CampaignTemplateSchedule**](V2024CertificationCampaignsApi.md#Set-V2024CampaignTemplateSchedule) | **PUT** /campaign-templates/{id}/schedule | Set Campaign Template Schedule +[**Start-V2024Campaign**](V2024CertificationCampaignsApi.md#Start-V2024Campaign) | **POST** /campaigns/{id}/activate | Activate a Campaign +[**Start-V2024CampaignRemediationScan**](V2024CertificationCampaignsApi.md#Start-V2024CampaignRemediationScan) | **POST** /campaigns/{id}/run-remediation-scan | Run Campaign Remediation Scan +[**Start-V2024CampaignReport**](V2024CertificationCampaignsApi.md#Start-V2024CampaignReport) | **POST** /campaigns/{id}/run-report/{type} | Run Campaign Report +[**Start-V2024GenerateCampaignTemplate**](V2024CertificationCampaignsApi.md#Start-V2024GenerateCampaignTemplate) | **POST** /campaign-templates/{id}/generate | Generate a Campaign from Template +[**Update-V2024Campaign**](V2024CertificationCampaignsApi.md#Update-V2024Campaign) | **PATCH** /campaigns/{id} | Update a Campaign + + + +# **Complete-V2024Campaign** +> SystemCollectionsHashtable Complete-V2024Campaign
+>         [-Id]
+>         [-CampaignCompleteOptions]
+ +Complete a Campaign + +:::caution This endpoint will run successfully for any campaigns that are **past due**. This endpoint will return a content error if the campaign is **not past due**. ::: Use this API to complete a certification campaign. This functionality is provided to admins so that they can complete a certification even if all items have not been completed. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f94347e94562b5bb8424a56397d8" # String | Campaign ID. +$CampaignCompleteOptions = Initialize-CampaignCompleteOptions -AutoCompleteAction "APPROVE" # CampaignCompleteOptions | Optional. Default behavior is for the campaign to auto-approve upon completion, unless autoCompleteAction=REVOKE (optional) + +# Complete a Campaign +try { + $Result = Complete-V2024Campaign -Id $Id -CampaignCompleteOptions $CampaignCompleteOptions +} catch { + Write-Host ("Exception occurred when calling Complete-V2024Campaign: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| Campaign ID. | + **CampaignCompleteOptions** | [**CampaignCompleteOptions**](CampaignCompleteOptions.md)| Optional. Default behavior is for the campaign to auto-approve upon completion, unless autoCompleteAction=REVOKE | [optional] + +### Return type + +[**SystemCollectionsHashtable**](SystemCollectionsHashtable.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **New-V2024Campaign** +> Campaign New-V2024Campaign
+>         [-Campaign]
+ +Create a campaign + +Use this API to create a certification campaign with the information provided in the request body. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$ErrorMessageDto = Initialize-ErrorMessageDto -Locale "en-US" -LocaleOrigin "DEFAULT" -Text "The request was syntactically correct but its content is semantically invalid." +$CampaignAlert = Initialize-CampaignAlert -Level "ERROR" -Localizations $ErrorMessageDto + +$CampaignAllOfFilter = Initialize-CampaignAllOfFilter -Id "0fbe863c063c4c88a35fd7f17e8a3df5" -Type "CAMPAIGN_FILTER" -Name "Test Filter" +$CampaignAllOfSourceOwnerCampaignInfo = Initialize-CampaignAllOfSourceOwnerCampaignInfo -SourceIds "MySourceIds" + +$CampaignAllOfSearchCampaignInfoReviewer = Initialize-CampaignAllOfSearchCampaignInfoReviewer -Type "GOVERNANCE_GROUP" -Id "2c91808568c529c60168cca6f90c1313" -Name "William Wilson" +$AccessConstraint = Initialize-AccessConstraint -Type "ENTITLEMENT" -Ids "MyIds" -Operator "ALL" +$CampaignAllOfSearchCampaignInfo = Initialize-CampaignAllOfSearchCampaignInfo -Type "IDENTITY" -Description "Search Campaign description" -Reviewer $CampaignAllOfSearchCampaignInfoReviewer -Query "Search Campaign query description" -IdentityIds "MyIdentityIds" -AccessConstraints $AccessConstraint + +$CampaignAllOfRoleCompositionCampaignInfoRemediatorRef = Initialize-CampaignAllOfRoleCompositionCampaignInfoRemediatorRef -Type "IDENTITY" -Id "2c90ad2a70ace7d50170acf22ca90010" -Name "Role Admin" +$CampaignAllOfRoleCompositionCampaignInfo = Initialize-CampaignAllOfRoleCompositionCampaignInfo -Reviewer $CampaignAllOfSearchCampaignInfoReviewer -RoleIds "MyRoleIds" -RemediatorRef $CampaignAllOfRoleCompositionCampaignInfoRemediatorRef -Query "Search Query" -Description "Role Composition Description" + +$CampaignAllOfSourcesWithOrphanEntitlements = Initialize-CampaignAllOfSourcesWithOrphanEntitlements -Id "2c90ad2a70ace7d50170acf22ca90010" -Type "SOURCE" -Name "Source with orphan entitlements" +$Campaign = Initialize-Campaign -Id "2c9079b270a266a60170a2779fcb0007" -Name "Manager Campaign" -Description "Everyone needs to be reviewed by their manager" -Deadline (Get-Date) -Type "MANAGER" -EmailNotificationEnabled $false -AutoRevokeAllowed $false -RecommendationsEnabled $true -Status "PENDING" -CorrelatedStatus "CORRELATED" -Created (Get-Date) -TotalCertifications 100 -CompletedCertifications 10 -Alerts $CampaignAlert -Modified (Get-Date) -VarFilter $CampaignAllOfFilter -SunsetCommentsRequired $true -SourceOwnerCampaignInfo $CampaignAllOfSourceOwnerCampaignInfo -SearchCampaignInfo $CampaignAllOfSearchCampaignInfo -RoleCompositionCampaignInfo $CampaignAllOfRoleCompositionCampaignInfo -SourcesWithOrphanEntitlements $CampaignAllOfSourcesWithOrphanEntitlements -MandatoryCommentRequirement "ALL_DECISIONS" # Campaign | + +# Create a campaign +try { + $Result = New-V2024Campaign -Campaign $Campaign +} catch { + Write-Host ("Exception occurred when calling New-V2024Campaign: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Campaign** | [**Campaign**](Campaign.md)| | + +### Return type + +[**Campaign**](Campaign.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **New-V2024CampaignTemplate** +> CampaignTemplate New-V2024CampaignTemplate
+>         [-CampaignTemplate]
+ +Create a Campaign Template + +Use this API to create a certification campaign template based on campaign. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$CampaignTemplateOwnerRef = Initialize-CampaignTemplateOwnerRef -Id "2c918086676d3e0601677611dbde220f" -Type "IDENTITY" -Name "Mister Manager" -Email "mr.manager@example.com" +$CampaignTemplate = Initialize-CampaignTemplate -Id "2c9079b270a266a60170a277bb960008" -Name "Manager Campaign Template" -Description "Template for the annual manager campaign." -Created (Get-Date) -Modified (Get-Date) -Scheduled $false -OwnerRef $CampaignTemplateOwnerRef -DeadlineDuration "P2W" -Campaign # CampaignTemplate | + +# Create a Campaign Template +try { + $Result = New-V2024CampaignTemplate -CampaignTemplate $CampaignTemplate +} catch { + Write-Host ("Exception occurred when calling New-V2024CampaignTemplate: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **CampaignTemplate** | [**CampaignTemplate**](CampaignTemplate.md)| | + +### Return type + +[**CampaignTemplate**](CampaignTemplate.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Remove-V2024CampaignTemplate** +> void Remove-V2024CampaignTemplate
+>         [-Id]
+ +Delete a Campaign Template + +Use this API to delete a certification campaign template by ID. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "2c9180835d191a86015d28455b4a2329" # String | ID of the campaign template being deleted. + +# Delete a Campaign Template +try { + $Result = Remove-V2024CampaignTemplate -Id $Id +} catch { + Write-Host ("Exception occurred when calling Remove-V2024CampaignTemplate: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| ID of the campaign template being deleted. | + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Remove-V2024CampaignTemplateSchedule** +> void Remove-V2024CampaignTemplateSchedule
+>         [-Id]
+ +Delete Campaign Template Schedule + +Use this API to delete the schedule for a certification campaign template. The API returns a 404 if there is no schedule set. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "04bedce387bd47b2ae1f86eb0bb36dee" # String | ID of the campaign template whose schedule is being deleted. + +# Delete Campaign Template Schedule +try { + $Result = Remove-V2024CampaignTemplateSchedule -Id $Id +} catch { + Write-Host ("Exception occurred when calling Remove-V2024CampaignTemplateSchedule: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| ID of the campaign template whose schedule is being deleted. | + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Remove-V2024Campaigns** +> SystemCollectionsHashtable Remove-V2024Campaigns
+>         [-CampaignsDeleteRequest]
+ +Delete Campaigns + +Use this API to delete certification campaigns whose IDs are specified in the provided list of campaign IDs. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$CampaignsDeleteRequest = Initialize-CampaignsDeleteRequest -Ids "MyIds" # CampaignsDeleteRequest | IDs of the campaigns to delete. + +# Delete Campaigns +try { + $Result = Remove-V2024Campaigns -CampaignsDeleteRequest $CampaignsDeleteRequest +} catch { + Write-Host ("Exception occurred when calling Remove-V2024Campaigns: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **CampaignsDeleteRequest** | [**CampaignsDeleteRequest**](CampaignsDeleteRequest.md)| IDs of the campaigns to delete. | + +### Return type + +[**SystemCollectionsHashtable**](SystemCollectionsHashtable.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024ActiveCampaigns** +> GetActiveCampaigns200ResponseInner[] Get-V2024ActiveCampaigns
+>         [-Detail]
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+>         [-Filters]
+>         [-Sorters]
+ +List Campaigns + +Use this API to get a list of campaigns. This API can provide increased level of detail for each campaign for the correct provided query. A token with ORG_ADMIN, CERT_ADMIN or REPORT_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Detail = "SLIM" # String | Determines whether slim, or increased level of detail is provided for each campaign in the returned list. Slim is the default behavior. (optional) +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) +$Filters = "name eq "Manager Campaign"" # 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, in* **name**: *eq, sw* **status**: *eq, in* (optional) +$Sorters = "name" # String | 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: **name, created** (optional) + +# List Campaigns +try { + $Result = Get-V2024ActiveCampaigns -Detail $Detail -Limit $Limit -Offset $Offset -Count $Count -Filters $Filters -Sorters $Sorters +} catch { + Write-Host ("Exception occurred when calling Get-V2024ActiveCampaigns: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Detail** | **String**| Determines whether slim, or increased level of detail is provided for each campaign in the returned list. Slim is the default behavior. | [optional] + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **Filters** | **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, in* **name**: *eq, sw* **status**: *eq, in* | [optional] + **Sorters** | **String**| 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: **name, created** | [optional] + +### Return type + +[**GetActiveCampaigns200ResponseInner[]**](GetActiveCampaigns200ResponseInner.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024Campaign** +> GetActiveCampaigns200ResponseInner Get-V2024Campaign
+>         [-Id]
+>         [-Detail]
+ +Get Campaign + +Use this API to get information for an existing certification campaign by the campaign's ID. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "2c91808571bcfcf80171c23e4b4221fc" # String | ID of the campaign to be retrieved. +$Detail = "SLIM" # String | Determines whether slim, or increased level of detail is provided for each campaign in the returned list. Slim is the default behavior. (optional) + +# Get Campaign +try { + $Result = Get-V2024Campaign -Id $Id -Detail $Detail +} catch { + Write-Host ("Exception occurred when calling Get-V2024Campaign: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| ID of the campaign to be retrieved. | + **Detail** | **String**| Determines whether slim, or increased level of detail is provided for each campaign in the returned list. Slim is the default behavior. | [optional] + +### Return type + +[**GetActiveCampaigns200ResponseInner**](GetActiveCampaigns200ResponseInner.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024CampaignReports** +> CampaignReport[] Get-V2024CampaignReports
+>         [-Id]
+ +Get Campaign Reports + +Use this API to fetch all reports for a certification campaign by campaign ID. A token with ORG_ADMIN, CERT_ADMIN or REPORT_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "2c91808571bcfcf80171c23e4b4221fc" # String | ID of the campaign whose reports are being fetched. + +# Get Campaign Reports +try { + $Result = Get-V2024CampaignReports -Id $Id +} catch { + Write-Host ("Exception occurred when calling Get-V2024CampaignReports: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| ID of the campaign whose reports are being fetched. | + +### Return type + +[**CampaignReport[]**](CampaignReport.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024CampaignReportsConfig** +> CampaignReportsConfig Get-V2024CampaignReportsConfig
+ +Get Campaign Reports Configuration + +Use this API to fetch the configuration for certification campaign reports. The configuration includes only one element - identity attributes defined as custom report columns. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + + +# Get Campaign Reports Configuration +try { + $Result = Get-V2024CampaignReportsConfig +} catch { + Write-Host ("Exception occurred when calling Get-V2024CampaignReportsConfig: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**CampaignReportsConfig**](CampaignReportsConfig.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024CampaignTemplate** +> CampaignTemplate Get-V2024CampaignTemplate
+>         [-Id]
+ +Get a Campaign Template + +Use this API to fetch a certification campaign template by ID. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "2c9180835d191a86015d28455b4a2329" # String | Requested campaign template's ID. + +# Get a Campaign Template +try { + $Result = Get-V2024CampaignTemplate -Id $Id +} catch { + Write-Host ("Exception occurred when calling Get-V2024CampaignTemplate: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| Requested campaign template's ID. | + +### Return type + +[**CampaignTemplate**](CampaignTemplate.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024CampaignTemplateSchedule** +> Schedule Get-V2024CampaignTemplateSchedule
+>         [-Id]
+ +Get Campaign Template Schedule + +Use this API to get the schedule for a certification campaign template. The API returns a 404 if there is no schedule set. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "04bedce387bd47b2ae1f86eb0bb36dee" # String | ID of the campaign template whose schedule is being fetched. + +# Get Campaign Template Schedule +try { + $Result = Get-V2024CampaignTemplateSchedule -Id $Id +} catch { + Write-Host ("Exception occurred when calling Get-V2024CampaignTemplateSchedule: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| ID of the campaign template whose schedule is being fetched. | + +### Return type + +[**Schedule**](Schedule.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024CampaignTemplates** +> CampaignTemplate[] Get-V2024CampaignTemplates
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+>         [-Sorters]
+>         [-Filters]
+ +List Campaign Templates + +Use this API to get a list of all campaign templates. Scope can be reduced through standard V3 query params. The API returns all campaign templates matching the query parameters. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) +$Sorters = "name" # String | 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: **name, created, modified** (optional) +$Filters = "name eq "manager template"" # 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: **name**: *eq, ge, gt, in, le, lt, ne, sw* **id**: *eq, ge, gt, in, le, lt, ne, sw* (optional) + +# List Campaign Templates +try { + $Result = Get-V2024CampaignTemplates -Limit $Limit -Offset $Offset -Count $Count -Sorters $Sorters -Filters $Filters +} catch { + Write-Host ("Exception occurred when calling Get-V2024CampaignTemplates: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **Sorters** | **String**| 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: **name, created, modified** | [optional] + **Filters** | **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: **name**: *eq, ge, gt, in, le, lt, ne, sw* **id**: *eq, ge, gt, in, le, lt, ne, sw* | [optional] + +### Return type + +[**CampaignTemplate[]**](CampaignTemplate.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Move-V2024** +> CertificationTask Move-V2024
+>         [-Id]
+>         [-AdminReviewReassign]
+ +Reassign Certifications + +This API reassigns the specified certifications from one identity to another. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f94347e94562b5bb8424a56397d8" # String | The certification campaign ID +$AdminReviewReassignReassignTo = Initialize-AdminReviewReassignReassignTo -Id "ef38f94347e94562b5bb8424a56397d8" -Type "IDENTITY" +$AdminReviewReassign = Initialize-AdminReviewReassign -CertificationIds "MyCertificationIds" -ReassignTo $AdminReviewReassignReassignTo -Reason "reassigned for some reason" # AdminReviewReassign | + +# Reassign Certifications +try { + $Result = Move-V2024 -Id $Id -AdminReviewReassign $AdminReviewReassign +} catch { + Write-Host ("Exception occurred when calling Move-V2024: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The certification campaign ID | + **AdminReviewReassign** | [**AdminReviewReassign**](AdminReviewReassign.md)| | + +### Return type + +[**CertificationTask**](CertificationTask.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Update-V2024CampaignTemplate** +> CampaignTemplate Update-V2024CampaignTemplate
+>         [-Id]
+>         [-JsonPatchOperation]
+ +Update a Campaign Template + +Use this API to update individual fields on a certification campaign template, using the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "2c9180835d191a86015d28455b4a2329" # String | ID of the campaign template being modified. +$JsonPatchOperationValue = Initialize-JsonPatchOperationValue +$JsonPatchOperation = Initialize-JsonPatchOperation -Op "add" -Path "/description" -Value $JsonPatchOperationValue # JsonPatchOperation[] | A list of campaign update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. The following fields are patchable: * name * description * deadlineDuration * campaign (all fields that are allowed during create) + +# Update a Campaign Template +try { + $Result = Update-V2024CampaignTemplate -Id $Id -JsonPatchOperation $JsonPatchOperation +} catch { + Write-Host ("Exception occurred when calling Update-V2024CampaignTemplate: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| ID of the campaign template being modified. | + **JsonPatchOperation** | [**JsonPatchOperation[]**](JsonPatchOperation.md)| A list of campaign update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. The following fields are patchable: * name * description * deadlineDuration * campaign (all fields that are allowed during create) | + +### Return type + +[**CampaignTemplate**](CampaignTemplate.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Set-V2024CampaignReportsConfig** +> CampaignReportsConfig Set-V2024CampaignReportsConfig
+>         [-CampaignReportsConfig]
+ +Set Campaign Reports Configuration + +Use this API to overwrite the configuration for campaign reports. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$CampaignReportsConfig = Initialize-CampaignReportsConfig -IdentityAttributeColumns "MyIdentityAttributeColumns" # CampaignReportsConfig | Campaign report configuration. + +# Set Campaign Reports Configuration +try { + $Result = Set-V2024CampaignReportsConfig -CampaignReportsConfig $CampaignReportsConfig +} catch { + Write-Host ("Exception occurred when calling Set-V2024CampaignReportsConfig: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **CampaignReportsConfig** | [**CampaignReportsConfig**](CampaignReportsConfig.md)| Campaign report configuration. | + +### Return type + +[**CampaignReportsConfig**](CampaignReportsConfig.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Set-V2024CampaignTemplateSchedule** +> void Set-V2024CampaignTemplateSchedule
+>         [-Id]
+>         [-Schedule]
+ +Set Campaign Template Schedule + +Use this API to set the schedule for a certification campaign template. If a schedule already exists, the API overwrites it with the new one. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "04bedce387bd47b2ae1f86eb0bb36dee" # String | ID of the campaign template being scheduled. +$ScheduleMonths = Initialize-ScheduleMonths -Type "LIST" -Values "MyValues" -Interval 2 +$ScheduleDays = Initialize-ScheduleDays -Type "LIST" -Values "MyValues" -Interval 2 +$ScheduleHours = Initialize-ScheduleHours -Type "LIST" -Values "MyValues" -Interval 2 +$Schedule = Initialize-Schedule -Type "WEEKLY" -Months $ScheduleMonths -Days $ScheduleDays -Hours $ScheduleHours -Expiration (Get-Date) -TimeZoneId "CST" # Schedule | (optional) + +# Set Campaign Template Schedule +try { + $Result = Set-V2024CampaignTemplateSchedule -Id $Id -Schedule $Schedule +} catch { + Write-Host ("Exception occurred when calling Set-V2024CampaignTemplateSchedule: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| ID of the campaign template being scheduled. | + **Schedule** | [**Schedule**](Schedule.md)| | [optional] + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Start-V2024Campaign** +> SystemCollectionsHashtable Start-V2024Campaign
+>         [-Id]
+>         [-ActivateCampaignOptions]
+ +Activate a Campaign + +Use this API to submit a job to activate the certified campaign with the specified ID. The campaign must be staged. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f94347e94562b5bb8424a56397d8" # String | Campaign ID. +$ActivateCampaignOptions = Initialize-ActivateCampaignOptions -TimeZone "-05:00" # ActivateCampaignOptions | Optional. If no timezone is specified, the standard UTC timezone is used (i.e. UTC+00:00). Although this can take any timezone, the intended value is the caller's timezone. The activation time calculated from the given timezone may cause the campaign deadline time to be modified, but it will remain within the original date. The timezone must be in a valid ISO 8601 format. (optional) + +# Activate a Campaign +try { + $Result = Start-V2024Campaign -Id $Id -ActivateCampaignOptions $ActivateCampaignOptions +} catch { + Write-Host ("Exception occurred when calling Start-V2024Campaign: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| Campaign ID. | + **ActivateCampaignOptions** | [**ActivateCampaignOptions**](ActivateCampaignOptions.md)| Optional. If no timezone is specified, the standard UTC timezone is used (i.e. UTC+00:00). Although this can take any timezone, the intended value is the caller's timezone. The activation time calculated from the given timezone may cause the campaign deadline time to be modified, but it will remain within the original date. The timezone must be in a valid ISO 8601 format. | [optional] + +### Return type + +[**SystemCollectionsHashtable**](SystemCollectionsHashtable.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Start-V2024CampaignRemediationScan** +> SystemCollectionsHashtable Start-V2024CampaignRemediationScan
+>         [-Id]
+ +Run Campaign Remediation Scan + +Use this API to run a remediation scan task for a certification campaign. A token with ORG_ADMIN, CERT_ADMIN or REPORT_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "2c91808571bcfcf80171c23e4b4221fc" # String | ID of the campaign the remediation scan is being run for. + +# Run Campaign Remediation Scan +try { + $Result = Start-V2024CampaignRemediationScan -Id $Id +} catch { + Write-Host ("Exception occurred when calling Start-V2024CampaignRemediationScan: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| ID of the campaign the remediation scan is being run for. | + +### Return type + +[**SystemCollectionsHashtable**](SystemCollectionsHashtable.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Start-V2024CampaignReport** +> SystemCollectionsHashtable Start-V2024CampaignReport
+>         [-Id]
+>         [-Type]
+ +Run Campaign Report + +Use this API to run a report for a certification campaign. A token with ORG_ADMIN, CERT_ADMIN or REPORT_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "2c91808571bcfcf80171c23e4b4221fc" # String | ID of the campaign the report is being run for. +$Type = "CAMPAIGN_COMPOSITION_REPORT" # ReportType | Type of the report to run. + +# Run Campaign Report +try { + $Result = Start-V2024CampaignReport -Id $Id -Type $Type +} catch { + Write-Host ("Exception occurred when calling Start-V2024CampaignReport: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| ID of the campaign the report is being run for. | + **Type** | [**ReportType**](ReportType.md)| Type of the report to run. | + +### Return type + +[**SystemCollectionsHashtable**](SystemCollectionsHashtable.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Start-V2024GenerateCampaignTemplate** +> CampaignReference Start-V2024GenerateCampaignTemplate
+>         [-Id]
+ +Generate a Campaign from Template + +Use this API to generate a new certification campaign from a campaign template. The campaign object contained in the template has special formatting applied to its name and description fields that determine the generated campaign's name/description. Placeholders in those fields are formatted with the current date and time upon generation. Placeholders consist of a percent sign followed by a letter indicating what should be inserted. For example, ""%Y"" inserts the current year, and a campaign template named ""Campaign for %y"" generates a campaign called ""Campaign for 2020"" (assuming the year at generation time is 2020). Valid placeholders are the date/time conversion suffix characters supported by [java.util.Formatter](https://docs.oracle.com/javase/8/docs/api/java/util/Formatter.html). A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "2c9180835d191a86015d28455b4a2329" # String | ID of the campaign template to use for generation. + +# Generate a Campaign from Template +try { + $Result = Start-V2024GenerateCampaignTemplate -Id $Id +} catch { + Write-Host ("Exception occurred when calling Start-V2024GenerateCampaignTemplate: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| ID of the campaign template to use for generation. | + +### Return type + +[**CampaignReference**](CampaignReference.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Update-V2024Campaign** +> SlimCampaign Update-V2024Campaign
+>         [-Id]
+>         [-JsonPatchOperation]
+ +Update a Campaign + +Use this API to update individual fields on a certification campaign, using the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "2c91808571bcfcf80171c23e4b4221fc" # String | ID of the campaign template being modified. +$JsonPatchOperationValue = Initialize-JsonPatchOperationValue +$JsonPatchOperation = Initialize-JsonPatchOperation -Op "add" -Path "/description" -Value $JsonPatchOperationValue # JsonPatchOperation[] | A list of campaign update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. The fields that can be patched differ based on the status of the campaign. When the campaign is in the *STAGED* status, you can patch these fields: * name * description * recommendationsEnabled * deadline * emailNotificationEnabled * autoRevokeAllowed When the campaign is in the *ACTIVE* status, you can patch these fields: * deadline + +# Update a Campaign +try { + $Result = Update-V2024Campaign -Id $Id -JsonPatchOperation $JsonPatchOperation +} catch { + Write-Host ("Exception occurred when calling Update-V2024Campaign: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| ID of the campaign template being modified. | + **JsonPatchOperation** | [**JsonPatchOperation[]**](JsonPatchOperation.md)| A list of campaign update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. The fields that can be patched differ based on the status of the campaign. When the campaign is in the *STAGED* status, you can patch these fields: * name * description * recommendationsEnabled * deadline * emailNotificationEnabled * autoRevokeAllowed When the campaign is in the *ACTIVE* status, you can patch these fields: * deadline | + +### Return type + +[**SlimCampaign**](SlimCampaign.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024CertificationSummariesApi.md b/PSSailpoint/v2024/docs/V2024CertificationSummariesApi.md new file mode 100644 index 000000000..3c0125850 --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024CertificationSummariesApi.md @@ -0,0 +1,255 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024CertificationSummariesApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**Get-V2024IdentityAccessSummaries**](V2024CertificationSummariesApi.md#Get-V2024IdentityAccessSummaries) | **GET** /certifications/{id}/access-summaries/{type} | Access Summaries +[**Get-V2024IdentityDecisionSummary**](V2024CertificationSummariesApi.md#Get-V2024IdentityDecisionSummary) | **GET** /certifications/{id}/decision-summary | Summary of Certification Decisions +[**Get-V2024IdentitySummaries**](V2024CertificationSummariesApi.md#Get-V2024IdentitySummaries) | **GET** /certifications/{id}/identity-summaries | Identity Summaries for Campaign Certification +[**Get-V2024IdentitySummary**](V2024CertificationSummariesApi.md#Get-V2024IdentitySummary) | **GET** /certifications/{id}/identity-summaries/{identitySummaryId} | Summary for Identity + + + +# **Get-V2024IdentityAccessSummaries** +> AccessSummary[] Get-V2024IdentityAccessSummaries
+>         [-Id]
+>         [-Type]
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+>         [-Filters]
+>         [-Sorters]
+ +Access Summaries + +This API returns a list of access summaries for the specified identity campaign certification and type. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. Reviewers for this certification can also call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f94347e94562b5bb8424a56397d8" # String | The identity campaign certification ID +$Type = "ROLE" # String | The type of access review item to retrieve summaries for +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) +$Filters = "access.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: **completed**: *eq, ne* **access.id**: *eq, in* **access.name**: *eq, sw* **entitlement.sourceName**: *eq, sw* **accessProfile.sourceName**: *eq, sw* (optional) +$Sorters = "access.name" # String | 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: **access.name** (optional) + +# Access Summaries +try { + $Result = Get-V2024IdentityAccessSummaries -Id $Id -Type $Type -Limit $Limit -Offset $Offset -Count $Count -Filters $Filters -Sorters $Sorters +} catch { + Write-Host ("Exception occurred when calling Get-V2024IdentityAccessSummaries: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The identity campaign certification ID | + **Type** | **String**| The type of access review item to retrieve summaries for | + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **Filters** | **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: **completed**: *eq, ne* **access.id**: *eq, in* **access.name**: *eq, sw* **entitlement.sourceName**: *eq, sw* **accessProfile.sourceName**: *eq, sw* | [optional] + **Sorters** | **String**| 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: **access.name** | [optional] + +### Return type + +[**AccessSummary[]**](AccessSummary.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024IdentityDecisionSummary** +> IdentityCertDecisionSummary Get-V2024IdentityDecisionSummary
+>         [-Id]
+>         [-Filters]
+ +Summary of Certification Decisions + +This API returns a summary of the decisions made on an identity campaign certification. The decisions are summarized by type. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. Reviewers for this certification can also call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f94347e94562b5bb8424a56397d8" # String | The certification ID +$Filters = "identitySummary.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: **identitySummary.id**: *eq, in* (optional) + +# Summary of Certification Decisions +try { + $Result = Get-V2024IdentityDecisionSummary -Id $Id -Filters $Filters +} catch { + Write-Host ("Exception occurred when calling Get-V2024IdentityDecisionSummary: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The certification ID | + **Filters** | **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: **identitySummary.id**: *eq, in* | [optional] + +### Return type + +[**IdentityCertDecisionSummary**](IdentityCertDecisionSummary.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024IdentitySummaries** +> CertificationIdentitySummary[] Get-V2024IdentitySummaries
+>         [-Id]
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+>         [-Filters]
+>         [-Sorters]
+ +Identity Summaries for Campaign Certification + +This API returns a list of the identity summaries for a specific identity campaign certification. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. Reviewers for this certification can also call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f94347e94562b5bb8424a56397d8" # String | The identity campaign certification ID +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) +$Filters = "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, in* **completed**: *eq, ne* **name**: *eq, sw* (optional) +$Sorters = "name" # String | 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: **name** (optional) + +# Identity Summaries for Campaign Certification +try { + $Result = Get-V2024IdentitySummaries -Id $Id -Limit $Limit -Offset $Offset -Count $Count -Filters $Filters -Sorters $Sorters +} catch { + Write-Host ("Exception occurred when calling Get-V2024IdentitySummaries: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The identity campaign certification ID | + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **Filters** | **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, in* **completed**: *eq, ne* **name**: *eq, sw* | [optional] + **Sorters** | **String**| 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: **name** | [optional] + +### Return type + +[**CertificationIdentitySummary[]**](CertificationIdentitySummary.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024IdentitySummary** +> CertificationIdentitySummary Get-V2024IdentitySummary
+>         [-Id]
+>         [-IdentitySummaryId]
+ +Summary for Identity + +This API returns the summary for an identity on a specified identity campaign certification. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. Reviewers for this certification can also call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f94347e94562b5bb8424a56397d8" # String | The identity campaign certification ID +$IdentitySummaryId = "2c91808772a504f50172a9540e501ba8" # String | The identity summary ID + +# Summary for Identity +try { + $Result = Get-V2024IdentitySummary -Id $Id -IdentitySummaryId $IdentitySummaryId +} catch { + Write-Host ("Exception occurred when calling Get-V2024IdentitySummary: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The identity campaign certification ID | + **IdentitySummaryId** | **String**| The identity summary ID | + +### Return type + +[**CertificationIdentitySummary**](CertificationIdentitySummary.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024CertificationsApi.md b/PSSailpoint/v2024/docs/V2024CertificationsApi.md new file mode 100644 index 000000000..050ad75fe --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024CertificationsApi.md @@ -0,0 +1,673 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024CertificationsApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**Get-V2024CertificationTask**](V2024CertificationsApi.md#Get-V2024CertificationTask) | **GET** /certification-tasks/{id} | Certification Task by ID +[**Get-V2024IdentityCertification**](V2024CertificationsApi.md#Get-V2024IdentityCertification) | **GET** /certifications/{id} | Identity Certification by ID +[**Get-V2024IdentityCertificationItemPermissions**](V2024CertificationsApi.md#Get-V2024IdentityCertificationItemPermissions) | **GET** /certifications/{certificationId}/access-review-items/{itemId}/permissions | Permissions for Entitlement Certification Item +[**Get-V2024PendingCertificationTasks**](V2024CertificationsApi.md#Get-V2024PendingCertificationTasks) | **GET** /certification-tasks | List of Pending Certification Tasks +[**Get-V2024CertificationReviewers**](V2024CertificationsApi.md#Get-V2024CertificationReviewers) | **GET** /certifications/{id}/reviewers | List of Reviewers for certification +[**Get-V2024IdentityAccessReviewItems**](V2024CertificationsApi.md#Get-V2024IdentityAccessReviewItems) | **GET** /certifications/{id}/access-review-items | List of Access Review Items +[**Get-V2024IdentityCertifications**](V2024CertificationsApi.md#Get-V2024IdentityCertifications) | **GET** /certifications | List Identity Campaign Certifications +[**Select-V2024IdentityDecision**](V2024CertificationsApi.md#Select-V2024IdentityDecision) | **POST** /certifications/{id}/decide | Decide on a Certification Item +[**Invoke-V2024ReassignIdentityCertifications**](V2024CertificationsApi.md#Invoke-V2024ReassignIdentityCertifications) | **POST** /certifications/{id}/reassign | Reassign Identities or Items +[**Invoke-V2024SignOffIdentityCertification**](V2024CertificationsApi.md#Invoke-V2024SignOffIdentityCertification) | **POST** /certifications/{id}/sign-off | Finalize Identity Certification Decisions +[**Submit-V2024ReassignCertsAsync**](V2024CertificationsApi.md#Submit-V2024ReassignCertsAsync) | **POST** /certifications/{id}/reassign-async | Reassign Certifications Asynchronously + + + +# **Get-V2024CertificationTask** +> CertificationTask Get-V2024CertificationTask
+>         [-Id]
+ +Certification Task by ID + +This API returns the certification task for the specified ID. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. Reviewers for the specified certification can also call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "63b32151-26c0-42f4-9299-8898dc1c9daa" # String | The task ID + +# Certification Task by ID +try { + $Result = Get-V2024CertificationTask -Id $Id +} catch { + Write-Host ("Exception occurred when calling Get-V2024CertificationTask: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The task ID | + +### Return type + +[**CertificationTask**](CertificationTask.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024IdentityCertification** +> IdentityCertificationDto Get-V2024IdentityCertification
+>         [-Id]
+ +Identity Certification by ID + +This API returns a single identity campaign certification by its ID. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. Reviewers for this certification can also call this API. This API does not support requests for certifications assigned to Governance Groups. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f94347e94562b5bb8424a56397d8" # String | The certification id + +# Identity Certification by ID +try { + $Result = Get-V2024IdentityCertification -Id $Id +} catch { + Write-Host ("Exception occurred when calling Get-V2024IdentityCertification: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The certification id | + +### Return type + +[**IdentityCertificationDto**](IdentityCertificationDto.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024IdentityCertificationItemPermissions** +> PermissionDto[] Get-V2024IdentityCertificationItemPermissions
+>         [-CertificationId]
+>         [-ItemId]
+>         [-Filters]
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+ +Permissions for Entitlement Certification Item + +This API returns the permissions associated with an entitlement certification item based on the certification item's ID. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. Reviewers for this certification can also call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$CertificationId = "ef38f94347e94562b5bb8424a56397d8" # String | The certification ID +$ItemId = "2c91808671bcbab40171bd945d961227" # String | The certification item ID +$Filters = "target eq "SYS.OBJAUTH2"" # 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: **target**: *eq, sw* **rights**: *ca* Supported composite operators: *and, or* All field values (second filter operands) are case-insensitive for this API. Only a single *and* or *or* composite filter operator may be used. It must also be used between a target filter and a rights filter, not between 2 filters for the same field. For example, the following is valid: `?filters=rights+ca+(%22CREATE%22)+and+target+eq+%22SYS.OBJAUTH2%22` The following is invalid: 1?filters=rights+ca+(%22CREATE%22)+and+rights+ca+(%SELECT%22)1 (optional) +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) + +# Permissions for Entitlement Certification Item +try { + $Result = Get-V2024IdentityCertificationItemPermissions -CertificationId $CertificationId -ItemId $ItemId -Filters $Filters -Limit $Limit -Offset $Offset -Count $Count +} catch { + Write-Host ("Exception occurred when calling Get-V2024IdentityCertificationItemPermissions: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **CertificationId** | **String**| The certification ID | + **ItemId** | **String**| The certification item ID | + **Filters** | **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: **target**: *eq, sw* **rights**: *ca* Supported composite operators: *and, or* All field values (second filter operands) are case-insensitive for this API. Only a single *and* or *or* composite filter operator may be used. It must also be used between a target filter and a rights filter, not between 2 filters for the same field. For example, the following is valid: `?filters=rights+ca+(%22CREATE%22)+and+target+eq+%22SYS.OBJAUTH2%22` The following is invalid: 1?filters=rights+ca+(%22CREATE%22)+and+rights+ca+(%SELECT%22)1 | [optional] + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + +### Return type + +[**PermissionDto[]**](PermissionDto.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024PendingCertificationTasks** +> CertificationTask[] Get-V2024PendingCertificationTasks
+>         [-ReviewerIdentity]
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+>         [-Filters]
+ +List of Pending Certification Tasks + +This API returns a list of pending (`QUEUED` or `IN_PROGRESS`) certification tasks. Any authenticated token can call this API, but only certification tasks you are authorized to review will be returned. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$ReviewerIdentity = "Ada.1de82e55078344" # String | The ID of reviewer identity. *me* indicates the current user. (optional) +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) +$Filters = "type eq "ADMIN_REASSIGN"" # 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, in* **targetId**: *eq, in* **type**: *eq, in* (optional) + +# List of Pending Certification Tasks +try { + $Result = Get-V2024PendingCertificationTasks -ReviewerIdentity $ReviewerIdentity -Limit $Limit -Offset $Offset -Count $Count -Filters $Filters +} catch { + Write-Host ("Exception occurred when calling Get-V2024PendingCertificationTasks: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ReviewerIdentity** | **String**| The ID of reviewer identity. *me* indicates the current user. | [optional] + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **Filters** | **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, in* **targetId**: *eq, in* **type**: *eq, in* | [optional] + +### Return type + +[**CertificationTask[]**](CertificationTask.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024CertificationReviewers** +> IdentityReferenceWithNameAndEmail[] Get-V2024CertificationReviewers
+>         [-Id]
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+>         [-Filters]
+>         [-Sorters]
+ +List of Reviewers for certification + +This API returns a list of reviewers for the certification. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. Reviewers for this certification can also call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f94347e94562b5bb8424a56397d8" # String | The certification ID +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) +$Filters = "name eq "Bob"" # 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, in* **name**: *eq, sw* **email**: *eq, sw* (optional) +$Sorters = "name" # String | 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: **name, email** (optional) + +# List of Reviewers for certification +try { + $Result = Get-V2024CertificationReviewers -Id $Id -Limit $Limit -Offset $Offset -Count $Count -Filters $Filters -Sorters $Sorters +} catch { + Write-Host ("Exception occurred when calling Get-V2024CertificationReviewers: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The certification ID | + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **Filters** | **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, in* **name**: *eq, sw* **email**: *eq, sw* | [optional] + **Sorters** | **String**| 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: **name, email** | [optional] + +### Return type + +[**IdentityReferenceWithNameAndEmail[]**](IdentityReferenceWithNameAndEmail.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024IdentityAccessReviewItems** +> AccessReviewItem[] Get-V2024IdentityAccessReviewItems
+>         [-Id]
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+>         [-Filters]
+>         [-Sorters]
+>         [-Entitlements]
+>         [-AccessProfiles]
+>         [-Roles]
+ +List of Access Review Items + +This API returns a list of access review items for an identity campaign certification. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. Reviewers for this certification can also call this API. This API does not support requests for certifications assigned to Governance Groups. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f94347e94562b5bb8424a56397d8" # String | The identity campaign certification ID +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) +$Filters = "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, in* **type**: *eq* **access.type**: *eq* **completed**: *eq, ne* **identitySummary.id**: *eq, in* **identitySummary.name**: *eq, sw* **access.id**: *eq, in* **access.name**: *eq, sw* **entitlement.sourceName**: *eq, sw* **accessProfile.sourceName**: *eq, sw* (optional) +$Sorters = "access.name,-accessProfile.sourceName" # String | 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: **identitySummary.name, access.name, access.type, entitlement.sourceName, accessProfile.sourceName** (optional) +$Entitlements = "identityEntitlement" # String | Filter results to view access review items that pertain to any of the specified comma-separated entitlement IDs. An error will occur if this param is used with **access-profiles** or **roles** as only one of these query params can be used at a time. (optional) +$AccessProfiles = "accessProfile1" # String | Filter results to view access review items that pertain to any of the specified comma-separated access-profle IDs. An error will occur if this param is used with **entitlements** or **roles** as only one of these query params can be used at a time. (optional) +$Roles = "userRole" # String | Filter results to view access review items that pertain to any of the specified comma-separated role IDs. An error will occur if this param is used with **entitlements** or **access-profiles** as only one of these query params can be used at a time. (optional) + +# List of Access Review Items +try { + $Result = Get-V2024IdentityAccessReviewItems -Id $Id -Limit $Limit -Offset $Offset -Count $Count -Filters $Filters -Sorters $Sorters -Entitlements $Entitlements -AccessProfiles $AccessProfiles -Roles $Roles +} catch { + Write-Host ("Exception occurred when calling Get-V2024IdentityAccessReviewItems: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The identity campaign certification ID | + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **Filters** | **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, in* **type**: *eq* **access.type**: *eq* **completed**: *eq, ne* **identitySummary.id**: *eq, in* **identitySummary.name**: *eq, sw* **access.id**: *eq, in* **access.name**: *eq, sw* **entitlement.sourceName**: *eq, sw* **accessProfile.sourceName**: *eq, sw* | [optional] + **Sorters** | **String**| 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: **identitySummary.name, access.name, access.type, entitlement.sourceName, accessProfile.sourceName** | [optional] + **Entitlements** | **String**| Filter results to view access review items that pertain to any of the specified comma-separated entitlement IDs. An error will occur if this param is used with **access-profiles** or **roles** as only one of these query params can be used at a time. | [optional] + **AccessProfiles** | **String**| Filter results to view access review items that pertain to any of the specified comma-separated access-profle IDs. An error will occur if this param is used with **entitlements** or **roles** as only one of these query params can be used at a time. | [optional] + **Roles** | **String**| Filter results to view access review items that pertain to any of the specified comma-separated role IDs. An error will occur if this param is used with **entitlements** or **access-profiles** as only one of these query params can be used at a time. | [optional] + +### Return type + +[**AccessReviewItem[]**](AccessReviewItem.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024IdentityCertifications** +> IdentityCertificationDto[] Get-V2024IdentityCertifications
+>         [-ReviewerIdentity]
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+>         [-Filters]
+>         [-Sorters]
+ +List Identity Campaign Certifications + +Use this API to get a list of identity campaign certifications for the specified query parameters. Any authenticated token can call this API, but only certifications you are authorized to review will be returned. This API does not support requests for certifications assigned to governance groups. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$ReviewerIdentity = "me" # String | Reviewer's identity. *me* indicates the current user. (optional) +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) +$Filters = "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, in* **campaign.id**: *eq, in* **phase**: *eq* **completed**: *eq, ne* (optional) +$Sorters = "name,due" # String | 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: **name, due, signed** (optional) + +# List Identity Campaign Certifications +try { + $Result = Get-V2024IdentityCertifications -ReviewerIdentity $ReviewerIdentity -Limit $Limit -Offset $Offset -Count $Count -Filters $Filters -Sorters $Sorters +} catch { + Write-Host ("Exception occurred when calling Get-V2024IdentityCertifications: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ReviewerIdentity** | **String**| Reviewer's identity. *me* indicates the current user. | [optional] + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **Filters** | **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, in* **campaign.id**: *eq, in* **phase**: *eq* **completed**: *eq, ne* | [optional] + **Sorters** | **String**| 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: **name, due, signed** | [optional] + +### Return type + +[**IdentityCertificationDto[]**](IdentityCertificationDto.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Select-V2024IdentityDecision** +> IdentityCertificationDto Select-V2024IdentityDecision
+>         [-Id]
+>         [-ReviewDecision]
+ +Decide on a Certification Item + +The API makes a decision to approve or revoke one or more identity campaign certification items. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. Reviewers for this certification can also call this API. This API does not support requests for certifications assigned to Governance Groups. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f94347e94562b5bb8424a56397d8" # String | The ID of the identity campaign certification on which to make decisions +$ReviewRecommendation = Initialize-ReviewRecommendation -Recommendation "MyRecommendation" -Reasons "MyReasons" -Timestamp (Get-Date) +$ReviewDecision = Initialize-ReviewDecision -Id "ef38f94347e94562b5bb8424a56397d8" -Decision "APPROVE" -ProposedEndDate (Get-Date) -Bulk $true -Recommendation $ReviewRecommendation -Comments "This user no longer needs access to this source" # ReviewDecision[] | A non-empty array of decisions to be made. + +# Decide on a Certification Item +try { + $Result = Select-V2024IdentityDecision -Id $Id -ReviewDecision $ReviewDecision +} catch { + Write-Host ("Exception occurred when calling Select-V2024IdentityDecision: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The ID of the identity campaign certification on which to make decisions | + **ReviewDecision** | [**ReviewDecision[]**](ReviewDecision.md)| A non-empty array of decisions to be made. | + +### Return type + +[**IdentityCertificationDto**](IdentityCertificationDto.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Invoke-V2024ReassignIdentityCertifications** +> IdentityCertificationDto Invoke-V2024ReassignIdentityCertifications
+>         [-Id]
+>         [-ReviewReassign]
+ +Reassign Identities or Items + +This API reassigns up to 50 identities or items in an identity campaign certification to another reviewer. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. Reviewers for this certification can also call this API. This API does not support requests for certifications assigned to Governance Groups. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f94347e94562b5bb8424a56397d8" # String | The identity campaign certification ID +$ReassignReference = Initialize-ReassignReference -Id "ef38f94347e94562b5bb8424a56397d8" -Type "TARGET_SUMMARY" +$ReviewReassign = Initialize-ReviewReassign -Reassign $ReassignReference -ReassignTo "ef38f94347e94562b5bb8424a56397d8" -Reason "reassigned for some reason" # ReviewReassign | + +# Reassign Identities or Items +try { + $Result = Invoke-V2024ReassignIdentityCertifications -Id $Id -ReviewReassign $ReviewReassign +} catch { + Write-Host ("Exception occurred when calling Invoke-V2024ReassignIdentityCertifications: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The identity campaign certification ID | + **ReviewReassign** | [**ReviewReassign**](ReviewReassign.md)| | + +### Return type + +[**IdentityCertificationDto**](IdentityCertificationDto.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Invoke-V2024SignOffIdentityCertification** +> IdentityCertificationDto Invoke-V2024SignOffIdentityCertification
+>         [-Id]
+ +Finalize Identity Certification Decisions + +This API finalizes all decisions made on an identity campaign certification and initiates any remediations required. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. Reviewers for this certification can also call this API. This API does not support requests for certifications assigned to Governance Groups. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f94347e94562b5bb8424a56397d8" # String | The identity campaign certification ID + +# Finalize Identity Certification Decisions +try { + $Result = Invoke-V2024SignOffIdentityCertification -Id $Id +} catch { + Write-Host ("Exception occurred when calling Invoke-V2024SignOffIdentityCertification: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The identity campaign certification ID | + +### Return type + +[**IdentityCertificationDto**](IdentityCertificationDto.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Submit-V2024ReassignCertsAsync** +> CertificationTask Submit-V2024ReassignCertsAsync
+>         [-Id]
+>         [-ReviewReassign]
+ +Reassign Certifications Asynchronously + +This API initiates a task to reassign up to 500 identities or items in an identity campaign certification to another reviewer. The `certification-tasks` API can be used to get an updated status on the task and determine when the reassignment is complete. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. Reviewers for this certification can also call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f94347e94562b5bb8424a56397d8" # String | The identity campaign certification ID +$ReassignReference = Initialize-ReassignReference -Id "ef38f94347e94562b5bb8424a56397d8" -Type "TARGET_SUMMARY" +$ReviewReassign = Initialize-ReviewReassign -Reassign $ReassignReference -ReassignTo "ef38f94347e94562b5bb8424a56397d8" -Reason "reassigned for some reason" # ReviewReassign | + +# Reassign Certifications Asynchronously +try { + $Result = Submit-V2024ReassignCertsAsync -Id $Id -ReviewReassign $ReviewReassign +} catch { + Write-Host ("Exception occurred when calling Submit-V2024ReassignCertsAsync: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The identity campaign certification ID | + **ReviewReassign** | [**ReviewReassign**](ReviewReassign.md)| | + +### Return type + +[**CertificationTask**](CertificationTask.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024ConfigurationHubApi.md b/PSSailpoint/v2024/docs/V2024ConfigurationHubApi.md new file mode 100644 index 000000000..8042b87f0 --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024ConfigurationHubApi.md @@ -0,0 +1,495 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024ConfigurationHubApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**New-V2024ObjectMapping**](V2024ConfigurationHubApi.md#New-V2024ObjectMapping) | **POST** /configuration-hub/object-mappings/{sourceOrg} | Creates an object mapping +[**New-V2024ObjectMappings**](V2024ConfigurationHubApi.md#New-V2024ObjectMappings) | **POST** /configuration-hub/object-mappings/{sourceOrg}/bulk-create | Bulk creates object mappings +[**Remove-V2024ObjectMapping**](V2024ConfigurationHubApi.md#Remove-V2024ObjectMapping) | **DELETE** /configuration-hub/object-mappings/{sourceOrg}/{objectMappingId} | Deletes an object mapping +[**Remove-V2024UploadedBackup**](V2024ConfigurationHubApi.md#Remove-V2024UploadedBackup) | **DELETE** /configuration-hub/backups/uploads/{id} | Deletes an uploaded backup file +[**Get-V2024ObjectMappings**](V2024ConfigurationHubApi.md#Get-V2024ObjectMappings) | **GET** /configuration-hub/object-mappings/{sourceOrg} | Gets list of object mappings +[**Get-V2024UploadedBackup**](V2024ConfigurationHubApi.md#Get-V2024UploadedBackup) | **GET** /configuration-hub/backups/uploads/{id} | Get an uploaded backup's information +[**Get-V2024UploadedBackups**](V2024ConfigurationHubApi.md#Get-V2024UploadedBackups) | **GET** /configuration-hub/backups/uploads | Gets list of Uploaded backups +[**Import-V2024UploadedBackup**](V2024ConfigurationHubApi.md#Import-V2024UploadedBackup) | **POST** /configuration-hub/backups/uploads | Uploads a backup file +[**Update-V2024ObjectMappings**](V2024ConfigurationHubApi.md#Update-V2024ObjectMappings) | **POST** /configuration-hub/object-mappings/{sourceOrg}/bulk-patch | Bulk updates object mappings + + + +# **New-V2024ObjectMapping** +> ObjectMappingResponse New-V2024ObjectMapping
+>         [-SourceOrg]
+>         [-ObjectMappingRequest]
+ +Creates an object mapping + +This creates an object mapping between current org and source org. Source org should be ""default"" when creating an object mapping that is not to be associated to any particular org. The request will need the following security scope: - sp:config-object-mapping:manage + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$SourceOrg = "source-org" # String | The name of the source org. +$ObjectMappingRequest = Initialize-ObjectMappingRequest -ObjectType "ACCESS_PROFILE" -JsonPath "$.name" -SourceValue "My Governance Group Name" -TargetValue "My New Governance Group Name" -Enabled $false # ObjectMappingRequest | The object mapping request body. + +# Creates an object mapping +try { + $Result = New-V2024ObjectMapping -SourceOrg $SourceOrg -ObjectMappingRequest $ObjectMappingRequest +} catch { + Write-Host ("Exception occurred when calling New-V2024ObjectMapping: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **SourceOrg** | **String**| The name of the source org. | + **ObjectMappingRequest** | [**ObjectMappingRequest**](ObjectMappingRequest.md)| The object mapping request body. | + +### Return type + +[**ObjectMappingResponse**](ObjectMappingResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **New-V2024ObjectMappings** +> ObjectMappingBulkCreateResponse New-V2024ObjectMappings
+>         [-SourceOrg]
+>         [-ObjectMappingBulkCreateRequest]
+ +Bulk creates object mappings + +This creates a set of object mappings (Max 25) between current org and source org. Source org should be ""default"" when creating object mappings that are not to be associated to any particular org. The request will need the following security scope: - sp:config-object-mapping:manage + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$SourceOrg = "source-org" # String | The name of the source org. +$ObjectMappingRequest = Initialize-ObjectMappingRequest -ObjectType "ACCESS_PROFILE" -JsonPath "$.name" -SourceValue "My Governance Group Name" -TargetValue "My New Governance Group Name" -Enabled $false +$ObjectMappingBulkCreateRequest = Initialize-ObjectMappingBulkCreateRequest -NewObjectMappings $ObjectMappingRequest # ObjectMappingBulkCreateRequest | The bulk create object mapping request body. + +# Bulk creates object mappings +try { + $Result = New-V2024ObjectMappings -SourceOrg $SourceOrg -ObjectMappingBulkCreateRequest $ObjectMappingBulkCreateRequest +} catch { + Write-Host ("Exception occurred when calling New-V2024ObjectMappings: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **SourceOrg** | **String**| The name of the source org. | + **ObjectMappingBulkCreateRequest** | [**ObjectMappingBulkCreateRequest**](ObjectMappingBulkCreateRequest.md)| The bulk create object mapping request body. | + +### Return type + +[**ObjectMappingBulkCreateResponse**](ObjectMappingBulkCreateResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Remove-V2024ObjectMapping** +> void Remove-V2024ObjectMapping
+>         [-SourceOrg]
+>         [-ObjectMappingId]
+ +Deletes an object mapping + +This deletes an existing object mapping. Source org should be ""default"" when deleting an object mapping that is not associated to any particular org. The request will need the following security scope: - sp:config-object-mapping:manage + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$SourceOrg = "source-org" # String | The name of the source org. +$ObjectMappingId = "3d6e0144-963f-4bd6-8d8d-d77b4e507ce4" # String | The id of the object mapping to be deleted. + +# Deletes an object mapping +try { + $Result = Remove-V2024ObjectMapping -SourceOrg $SourceOrg -ObjectMappingId $ObjectMappingId +} catch { + Write-Host ("Exception occurred when calling Remove-V2024ObjectMapping: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **SourceOrg** | **String**| The name of the source org. | + **ObjectMappingId** | **String**| The id of the object mapping to be deleted. | + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Remove-V2024UploadedBackup** +> void Remove-V2024UploadedBackup
+>         [-Id]
+ +Deletes an uploaded backup file + +This deletes an Uploaded backup based on job ID. On success, this endpoint will return an empty response. The job id can be obtained from the response after a successful upload, or the list uploads endpoint. The following scopes are required to access this endpoint: sp:config:manage + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "3d0fe04b-57df-4a46-a83b-8f04b0f9d10b" # String | The id of the uploaded backup. + +# Deletes an uploaded backup file +try { + $Result = Remove-V2024UploadedBackup -Id $Id +} catch { + Write-Host ("Exception occurred when calling Remove-V2024UploadedBackup: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The id of the uploaded backup. | + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024ObjectMappings** +> ObjectMappingResponse[] Get-V2024ObjectMappings
+>         [-SourceOrg]
+ +Gets list of object mappings + +This gets a list of existing object mappings between current org and source org. Source org should be ""default"" when getting object mappings that are not associated to any particular org. The request will need the following security scope: - sp:config-object-mapping:read + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$SourceOrg = "source-org" # String | The name of the source org. + +# Gets list of object mappings +try { + $Result = Get-V2024ObjectMappings -SourceOrg $SourceOrg +} catch { + Write-Host ("Exception occurred when calling Get-V2024ObjectMappings: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **SourceOrg** | **String**| The name of the source org. | + +### Return type + +[**ObjectMappingResponse[]**](ObjectMappingResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024UploadedBackup** +> SystemCollectionsHashtable Get-V2024UploadedBackup
+>         [-Id]
+ +Get an uploaded backup's information + +Returns all the information and status of an upload job. - sp:config-backups:read + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "3d0fe04b-57df-4a46-a83b-8f04b0f9d10b" # String | The id of the uploaded backup. + +# Get an uploaded backup's information +try { + $Result = Get-V2024UploadedBackup -Id $Id +} catch { + Write-Host ("Exception occurred when calling Get-V2024UploadedBackup: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The id of the uploaded backup. | + +### Return type + +[**SystemCollectionsHashtable**](SystemCollectionsHashtable.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024UploadedBackups** +> UploadsResponse[] Get-V2024UploadedBackups
+>         [-Status]
+ +Gets list of Uploaded backups + +Returns a list of the current uploaded backups associated with the current tenant. A filter ""status"" can be added to only return the Completed, Failed, or Successful uploads + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Status = "COMPLETE" # String | Filter listed uploaded backups by status of operation (optional) + +# Gets list of Uploaded backups +try { + $Result = Get-V2024UploadedBackups -Status $Status +} catch { + Write-Host ("Exception occurred when calling Get-V2024UploadedBackups: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Status** | **String**| Filter listed uploaded backups by status of operation | [optional] + +### Return type + +[**UploadsResponse[]**](UploadsResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Import-V2024UploadedBackup** +> UploadsRequest Import-V2024UploadedBackup
+>         [-Data]
+>         [-Name]
+ +Uploads a backup file + +This post will upload a JSON backup file into a tenant. Configuration files can be managed and deployed via Configuration Hub by uploading a json file which contains configuration data. The JSON file should be the same as the one used by our import endpoints. The object types that currently support by upload file functionality are the same as the ones supported by our regular backup functionality. here: [SaaS Configuration](https://developer.sailpoint.com/idn/docs/saas-configuration/#supported-objects). The request will need the following security scope: - sp:config:manage + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Data = # System.IO.FileInfo | JSON file containing the objects to be imported. +$Name = "MyName" # String | Name that will be assigned to the uploaded file. + +# Uploads a backup file +try { + $Result = Import-V2024UploadedBackup -Data $Data -Name $Name +} catch { + Write-Host ("Exception occurred when calling Import-V2024UploadedBackup: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Data** | **System.IO.FileInfo****System.IO.FileInfo**| JSON file containing the objects to be imported. | + **Name** | **String**| Name that will be assigned to the uploaded file. | + +### Return type + +[**UploadsRequest**](UploadsRequest.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: multipart/form-data + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Update-V2024ObjectMappings** +> ObjectMappingBulkPatchResponse Update-V2024ObjectMappings
+>         [-SourceOrg]
+>         [-ObjectMappingBulkPatchRequest]
+ +Bulk updates object mappings + +This updates a set of object mappings, only enabled and targetValue fields can be updated. Source org should be ""default"" when updating object mappings that are not associated to any particular org. The request will need the following security scope: - sp:config-object-mapping:manage + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$SourceOrg = "source-org" # String | The name of the source org. +$ObjectMappingBulkPatchRequest = Initialize-ObjectMappingBulkPatchRequest -Patches @{ key_example = +$JsonPatchOperationValue = Initialize-JsonPatchOperationValue +$JsonPatchOperation = Initialize-JsonPatchOperation -Op "add" -Path "/description" -Value $JsonPatchOperationValue + } # ObjectMappingBulkPatchRequest | The object mapping request body. + +# Bulk updates object mappings +try { + $Result = Update-V2024ObjectMappings -SourceOrg $SourceOrg -ObjectMappingBulkPatchRequest $ObjectMappingBulkPatchRequest +} catch { + Write-Host ("Exception occurred when calling Update-V2024ObjectMappings: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **SourceOrg** | **String**| The name of the source org. | + **ObjectMappingBulkPatchRequest** | [**ObjectMappingBulkPatchRequest**](ObjectMappingBulkPatchRequest.md)| The object mapping request body. | + +### Return type + +[**ObjectMappingBulkPatchResponse**](ObjectMappingBulkPatchResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024ConnectorRuleManagementApi.md b/PSSailpoint/v2024/docs/V2024ConnectorRuleManagementApi.md new file mode 100644 index 000000000..532fea7df --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024ConnectorRuleManagementApi.md @@ -0,0 +1,346 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024ConnectorRuleManagementApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**New-V2024ConnectorRule**](V2024ConnectorRuleManagementApi.md#New-V2024ConnectorRule) | **POST** /connector-rules | Create Connector Rule +[**Remove-V2024ConnectorRule**](V2024ConnectorRuleManagementApi.md#Remove-V2024ConnectorRule) | **DELETE** /connector-rules/{id} | Delete a Connector-Rule +[**Get-V2024ConnectorRule**](V2024ConnectorRuleManagementApi.md#Get-V2024ConnectorRule) | **GET** /connector-rules/{id} | Connector-Rule by ID +[**Get-V2024ConnectorRuleList**](V2024ConnectorRuleManagementApi.md#Get-V2024ConnectorRuleList) | **GET** /connector-rules | List Connector Rules +[**Update-V2024ConnectorRule**](V2024ConnectorRuleManagementApi.md#Update-V2024ConnectorRule) | **PUT** /connector-rules/{id} | Update a Connector Rule +[**Confirm-V2024ConnectorRule**](V2024ConnectorRuleManagementApi.md#Confirm-V2024ConnectorRule) | **POST** /connector-rules/validate | Validate Connector Rule + + + +# **New-V2024ConnectorRule** +> ConnectorRuleResponse New-V2024ConnectorRule
+>         [-XSailPointExperimental]
+>         [-ConnectorRuleCreateRequest]
+ +Create Connector Rule + +Creates a new connector rule. A token with ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Argument = Initialize-Argument -Name "firstName" -Description "the first name of the identity" -Type "String" +$ConnectorRuleCreateRequestSignature = Initialize-ConnectorRuleCreateRequestSignature -VarInput $Argument -Output $Argument + +$SourceCode = Initialize-SourceCode -Version "1.0" -Script "return "Mr. " + firstName;" +$ConnectorRuleCreateRequest = Initialize-ConnectorRuleCreateRequest -Name "WebServiceBeforeOperationRule" -Description "This rule does that" -Type "BuildMap" -Signature $ConnectorRuleCreateRequestSignature -SourceCode $SourceCode -Attributes # ConnectorRuleCreateRequest | The connector rule to create + +# Create Connector Rule +try { + $Result = New-V2024ConnectorRule -XSailPointExperimental $XSailPointExperimental -ConnectorRuleCreateRequest $ConnectorRuleCreateRequest +} catch { + Write-Host ("Exception occurred when calling New-V2024ConnectorRule: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **ConnectorRuleCreateRequest** | [**ConnectorRuleCreateRequest**](ConnectorRuleCreateRequest.md)| The connector rule to create | + +### Return type + +[**ConnectorRuleResponse**](ConnectorRuleResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Remove-V2024ConnectorRule** +> void Remove-V2024ConnectorRule
+>         [-Id]
+>         [-XSailPointExperimental]
+ +Delete a Connector-Rule + +Deletes the connector rule specified by the given ID. A token with ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "8c190e6787aa4ed9a90bd9d5344523fb" # String | ID of the connector rule to delete +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Delete a Connector-Rule +try { + $Result = Remove-V2024ConnectorRule -Id $Id -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Remove-V2024ConnectorRule: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| ID of the connector rule to delete | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024ConnectorRule** +> ConnectorRuleResponse Get-V2024ConnectorRule
+>         [-Id]
+>         [-XSailPointExperimental]
+ +Connector-Rule by ID + +Returns the connector rule specified by ID. A token with ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "8c190e6787aa4ed9a90bd9d5344523fb" # String | ID of the connector rule to retrieve +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Connector-Rule by ID +try { + $Result = Get-V2024ConnectorRule -Id $Id -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Get-V2024ConnectorRule: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| ID of the connector rule to retrieve | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**ConnectorRuleResponse**](ConnectorRuleResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024ConnectorRuleList** +> ConnectorRuleResponse[] Get-V2024ConnectorRuleList
+>         [-XSailPointExperimental]
+ +List Connector Rules + +Returns the list of connector rules. A token with ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# List Connector Rules +try { + $Result = Get-V2024ConnectorRuleList -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Get-V2024ConnectorRuleList: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**ConnectorRuleResponse[]**](ConnectorRuleResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Update-V2024ConnectorRule** +> ConnectorRuleResponse Update-V2024ConnectorRule
+>         [-Id]
+>         [-XSailPointExperimental]
+>         [-ConnectorRuleUpdateRequest]
+ +Update a Connector Rule + +Updates an existing connector rule with the one provided in the request body. Note that the fields 'id', 'name', and 'type' are immutable. A token with ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "8c190e6787aa4ed9a90bd9d5344523fb" # String | ID of the connector rule to update +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Argument = Initialize-Argument -Name "firstName" -Description "the first name of the identity" -Type "String" +$ConnectorRuleCreateRequestSignature = Initialize-ConnectorRuleCreateRequestSignature -VarInput $Argument -Output $Argument + +$SourceCode = Initialize-SourceCode -Version "1.0" -Script "return "Mr. " + firstName;" +$ConnectorRuleUpdateRequest = Initialize-ConnectorRuleUpdateRequest -Name "WebServiceBeforeOperationRule" -Description "This rule does that" -Type "BuildMap" -Signature $ConnectorRuleCreateRequestSignature -SourceCode $SourceCode -Attributes -Id "8113d48c0b914f17b4c6072d4dcb9dfe" # ConnectorRuleUpdateRequest | The connector rule with updated data (optional) + +# Update a Connector Rule +try { + $Result = Update-V2024ConnectorRule -Id $Id -XSailPointExperimental $XSailPointExperimental -ConnectorRuleUpdateRequest $ConnectorRuleUpdateRequest +} catch { + Write-Host ("Exception occurred when calling Update-V2024ConnectorRule: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| ID of the connector rule to update | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **ConnectorRuleUpdateRequest** | [**ConnectorRuleUpdateRequest**](ConnectorRuleUpdateRequest.md)| The connector rule with updated data | [optional] + +### Return type + +[**ConnectorRuleResponse**](ConnectorRuleResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Confirm-V2024ConnectorRule** +> ConnectorRuleValidationResponse Confirm-V2024ConnectorRule
+>         [-XSailPointExperimental]
+>         [-SourceCode]
+ +Validate Connector Rule + +Returns a list of issues within the code to fix, if any. A token with ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$SourceCode = Initialize-SourceCode -Version "1.0" -Script "return "Mr. " + firstName;" # SourceCode | The code to validate + +# Validate Connector Rule +try { + $Result = Confirm-V2024ConnectorRule -XSailPointExperimental $XSailPointExperimental -SourceCode $SourceCode +} catch { + Write-Host ("Exception occurred when calling Confirm-V2024ConnectorRule: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **SourceCode** | [**SourceCode**](SourceCode.md)| The code to validate | + +### Return type + +[**ConnectorRuleValidationResponse**](ConnectorRuleValidationResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024ConnectorsApi.md b/PSSailpoint/v2024/docs/V2024ConnectorsApi.md new file mode 100644 index 000000000..baa20bdde --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024ConnectorsApi.md @@ -0,0 +1,710 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024ConnectorsApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**New-V2024CustomConnector**](V2024ConnectorsApi.md#New-V2024CustomConnector) | **POST** /connectors | Create custom connector +[**Remove-V2024CustomConnector**](V2024ConnectorsApi.md#Remove-V2024CustomConnector) | **DELETE** /connectors/{scriptName} | Deletes connector by script name +[**Get-V2024Connector**](V2024ConnectorsApi.md#Get-V2024Connector) | **GET** /connectors/{scriptName} | Gets connector by script name +[**Get-V2024ConnectorCorrelationConfig**](V2024ConnectorsApi.md#Get-V2024ConnectorCorrelationConfig) | **GET** /connectors/{scriptName}/correlation-config | +[**Get-V2024ConnectorList**](V2024ConnectorsApi.md#Get-V2024ConnectorList) | **GET** /connectors | Gets connector list +[**Get-V2024ConnectorSourceConfig**](V2024ConnectorsApi.md#Get-V2024ConnectorSourceConfig) | **GET** /connectors/{scriptName}/source-config | +[**Get-V2024ConnectorSourceTemplate**](V2024ConnectorsApi.md#Get-V2024ConnectorSourceTemplate) | **GET** /connectors/{scriptName}/source-template | +[**Get-V2024ConnectorTranslations**](V2024ConnectorsApi.md#Get-V2024ConnectorTranslations) | **GET** /connectors/{scriptName}/translations/{locale} | +[**Send-V2024CorrelationConfig**](V2024ConnectorsApi.md#Send-V2024CorrelationConfig) | **PUT** /connectors/{scriptName}/correlation-config | +[**Send-V2024SourceConfig**](V2024ConnectorsApi.md#Send-V2024SourceConfig) | **PUT** /connectors/{scriptName}/source-config | +[**Send-V2024SourceTemplate**](V2024ConnectorsApi.md#Send-V2024SourceTemplate) | **PUT** /connectors/{scriptName}/source-template | +[**Send-V2024Translations**](V2024ConnectorsApi.md#Send-V2024Translations) | **PUT** /connectors/{scriptName}/translations/{locale} | +[**Update-V2024Connector**](V2024ConnectorsApi.md#Update-V2024Connector) | **PATCH** /connectors/{scriptName} | Update connector by script name + + + +# **New-V2024CustomConnector** +> V3ConnectorDto New-V2024CustomConnector
+>         [-V3CreateConnectorDto]
+ +Create custom connector + +Create custom connector. A token with ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$V3CreateConnectorDto = Initialize-V3CreateConnectorDto -Name "custom connector" -Type "custom connector type" -ClassName "sailpoint.connector.OpenConnectorAdapter" -DirectConnect $true -Status "DEVELOPMENT" # V3CreateConnectorDto | + +# Create custom connector +try { + $Result = New-V2024CustomConnector -V3CreateConnectorDto $V3CreateConnectorDto +} catch { + Write-Host ("Exception occurred when calling New-V2024CustomConnector: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **V3CreateConnectorDto** | [**V3CreateConnectorDto**](V3CreateConnectorDto.md)| | + +### Return type + +[**V3ConnectorDto**](V3ConnectorDto.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Remove-V2024CustomConnector** +> void Remove-V2024CustomConnector
+>         [-ScriptName]
+ +Deletes connector by script name + +Delete a custom connector that using its script name. A token with ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$ScriptName = "aScriptName" # String | The scriptName value of the connector. Scriptname is the unique id generated at connector creation. + +# Deletes connector by script name +try { + $Result = Remove-V2024CustomConnector -ScriptName $ScriptName +} catch { + Write-Host ("Exception occurred when calling Remove-V2024CustomConnector: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ScriptName** | **String**| The scriptName value of the connector. Scriptname is the unique id generated at connector creation. | + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024Connector** +> ConnectorDetail Get-V2024Connector
+>         [-ScriptName]
+>         [-Locale]
+ +Gets connector by script name + +Fetches a connector that using its script name. A token with ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$ScriptName = "aScriptName" # String | The scriptName value of the connector. Scriptname is the unique id generated at connector creation. +$Locale = "de" # String | The locale to apply to the config. If no viable locale is given, it will default to ""en"" (optional) + +# Gets connector by script name +try { + $Result = Get-V2024Connector -ScriptName $ScriptName -Locale $Locale +} catch { + Write-Host ("Exception occurred when calling Get-V2024Connector: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ScriptName** | **String**| The scriptName value of the connector. Scriptname is the unique id generated at connector creation. | + **Locale** | **String**| The locale to apply to the config. If no viable locale is given, it will default to ""en"" | [optional] + +### Return type + +[**ConnectorDetail**](ConnectorDetail.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024ConnectorCorrelationConfig** +> String Get-V2024ConnectorCorrelationConfig
+>         [-ScriptName]
+ + + +Fetches a connector's correlation config using its script name. A token with ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$ScriptName = "aScriptName" # String | The scriptName value of the connector. Scriptname is the unique id generated at connector creation. + +try { + $Result = Get-V2024ConnectorCorrelationConfig -ScriptName $ScriptName +} catch { + Write-Host ("Exception occurred when calling Get-V2024ConnectorCorrelationConfig: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ScriptName** | **String**| The scriptName value of the connector. Scriptname is the unique id generated at connector creation. | + +### Return type + +**String** + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/xml, application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024ConnectorList** +> V3ConnectorDto[] Get-V2024ConnectorList
+>         [-Filters]
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+>         [-Locale]
+ +Gets connector list + +Fetches list of connectors that have 'RELEASED' status using filtering and pagination. A token with ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Filters = "directConnect eq "true"" # 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: **name**: *sw, co* **type**: *sw, co, eq* **directConnect**: *eq* **category**: *eq* **features**: *ca* **labels**: *ca* (optional) +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) +$Locale = "de" # String | The locale to apply to the config. If no viable locale is given, it will default to ""en"" (optional) + +# Gets connector list +try { + $Result = Get-V2024ConnectorList -Filters $Filters -Limit $Limit -Offset $Offset -Count $Count -Locale $Locale +} catch { + Write-Host ("Exception occurred when calling Get-V2024ConnectorList: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Filters** | **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: **name**: *sw, co* **type**: *sw, co, eq* **directConnect**: *eq* **category**: *eq* **features**: *ca* **labels**: *ca* | [optional] + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **Locale** | **String**| The locale to apply to the config. If no viable locale is given, it will default to ""en"" | [optional] + +### Return type + +[**V3ConnectorDto[]**](V3ConnectorDto.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024ConnectorSourceConfig** +> String Get-V2024ConnectorSourceConfig
+>         [-ScriptName]
+ + + +Fetches a connector's source config using its script name. A token with ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$ScriptName = "aScriptName" # String | The scriptName value of the connector. Scriptname is the unique id generated at connector creation. + +try { + $Result = Get-V2024ConnectorSourceConfig -ScriptName $ScriptName +} catch { + Write-Host ("Exception occurred when calling Get-V2024ConnectorSourceConfig: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ScriptName** | **String**| The scriptName value of the connector. Scriptname is the unique id generated at connector creation. | + +### Return type + +**String** + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/xml, application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024ConnectorSourceTemplate** +> String Get-V2024ConnectorSourceTemplate
+>         [-ScriptName]
+ + + +Fetches a connector's source template using its script name. A token with ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$ScriptName = "aScriptName" # String | The scriptName value of the connector. Scriptname is the unique id generated at connector creation. + +try { + $Result = Get-V2024ConnectorSourceTemplate -ScriptName $ScriptName +} catch { + Write-Host ("Exception occurred when calling Get-V2024ConnectorSourceTemplate: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ScriptName** | **String**| The scriptName value of the connector. Scriptname is the unique id generated at connector creation. | + +### Return type + +**String** + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/xml, application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024ConnectorTranslations** +> String Get-V2024ConnectorTranslations
+>         [-ScriptName]
+>         [-Locale]
+ + + +Fetches a connector's translations using its script name. A token with ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$ScriptName = "aScriptName" # String | The scriptName value of the connector. Scriptname is the unique id generated at connector creation. +$Locale = "de" # String | The locale to apply to the config. If no viable locale is given, it will default to ""en"" + +try { + $Result = Get-V2024ConnectorTranslations -ScriptName $ScriptName -Locale $Locale +} catch { + Write-Host ("Exception occurred when calling Get-V2024ConnectorTranslations: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ScriptName** | **String**| The scriptName value of the connector. Scriptname is the unique id generated at connector creation. | + **Locale** | **String**| The locale to apply to the config. If no viable locale is given, it will default to ""en"" | + +### Return type + +**String** + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: text/plain, application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Send-V2024CorrelationConfig** +> UpdateDetail Send-V2024CorrelationConfig
+>         [-ScriptName]
+>         [-File]
+ + + +Update a connector's correlation config using its script name. A token with ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$ScriptName = "aScriptName" # String | The scriptName value of the connector. Scriptname is the unique id generated at connector creation. +$File = # System.IO.FileInfo | connector correlation config xml file + +try { + $Result = Send-V2024CorrelationConfig -ScriptName $ScriptName -File $File +} catch { + Write-Host ("Exception occurred when calling Send-V2024CorrelationConfig: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ScriptName** | **String**| The scriptName value of the connector. Scriptname is the unique id generated at connector creation. | + **File** | **System.IO.FileInfo****System.IO.FileInfo**| connector correlation config xml file | + +### Return type + +[**UpdateDetail**](UpdateDetail.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: multipart/form-data + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Send-V2024SourceConfig** +> UpdateDetail Send-V2024SourceConfig
+>         [-ScriptName]
+>         [-File]
+ + + +Update a connector's source config using its script name. A token with ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$ScriptName = "aScriptName" # String | The scriptName value of the connector. Scriptname is the unique id generated at connector creation. +$File = # System.IO.FileInfo | connector source config xml file + +try { + $Result = Send-V2024SourceConfig -ScriptName $ScriptName -File $File +} catch { + Write-Host ("Exception occurred when calling Send-V2024SourceConfig: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ScriptName** | **String**| The scriptName value of the connector. Scriptname is the unique id generated at connector creation. | + **File** | **System.IO.FileInfo****System.IO.FileInfo**| connector source config xml file | + +### Return type + +[**UpdateDetail**](UpdateDetail.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: multipart/form-data + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Send-V2024SourceTemplate** +> UpdateDetail Send-V2024SourceTemplate
+>         [-ScriptName]
+>         [-File]
+ + + +Update a connector's source template using its script name. A token with ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$ScriptName = "aScriptName" # String | The scriptName value of the connector. Scriptname is the unique id generated at connector creation. +$File = # System.IO.FileInfo | connector source template xml file + +try { + $Result = Send-V2024SourceTemplate -ScriptName $ScriptName -File $File +} catch { + Write-Host ("Exception occurred when calling Send-V2024SourceTemplate: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ScriptName** | **String**| The scriptName value of the connector. Scriptname is the unique id generated at connector creation. | + **File** | **System.IO.FileInfo****System.IO.FileInfo**| connector source template xml file | + +### Return type + +[**UpdateDetail**](UpdateDetail.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: multipart/form-data + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Send-V2024Translations** +> UpdateDetail Send-V2024Translations
+>         [-ScriptName]
+>         [-Locale]
+ + + +Update a connector's translations using its script name. A token with ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$ScriptName = "aScriptName" # String | The scriptName value of the connector. Scriptname is the unique id generated at connector creation. +$Locale = "de" # String | The locale to apply to the config. If no viable locale is given, it will default to ""en"" + +try { + $Result = Send-V2024Translations -ScriptName $ScriptName -Locale $Locale +} catch { + Write-Host ("Exception occurred when calling Send-V2024Translations: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ScriptName** | **String**| The scriptName value of the connector. Scriptname is the unique id generated at connector creation. | + **Locale** | **String**| The locale to apply to the config. If no viable locale is given, it will default to ""en"" | + +### Return type + +[**UpdateDetail**](UpdateDetail.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: multipart/form-data + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Update-V2024Connector** +> ConnectorDetail Update-V2024Connector
+>         [-ScriptName]
+>         [-JsonPatchOperation]
+ +Update connector by script name + +Patch a custom connector that using its script name. A token with ORG_ADMIN authority is required to call this API. The following fields are patchable: * connectorMetadata * applicationXml * correlationConfigXml * sourceConfigXml + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$ScriptName = "aScriptName" # String | The scriptName value of the connector. Scriptname is the unique id generated at connector creation. +$JsonPatchOperationValue = Initialize-JsonPatchOperationValue +$JsonPatchOperation = Initialize-JsonPatchOperation -Op "add" -Path "/description" -Value $JsonPatchOperationValue # JsonPatchOperation[] | A list of connector detail update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. + +# Update connector by script name +try { + $Result = Update-V2024Connector -ScriptName $ScriptName -JsonPatchOperation $JsonPatchOperation +} catch { + Write-Host ("Exception occurred when calling Update-V2024Connector: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ScriptName** | **String**| The scriptName value of the connector. Scriptname is the unique id generated at connector creation. | + **JsonPatchOperation** | [**JsonPatchOperation[]**](JsonPatchOperation.md)| A list of connector detail update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. | + +### Return type + +[**ConnectorDetail**](ConnectorDetail.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024CustomFormsApi.md b/PSSailpoint/v2024/docs/V2024CustomFormsApi.md new file mode 100644 index 000000000..187633a48 --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024CustomFormsApi.md @@ -0,0 +1,1070 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024CustomFormsApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**New-V2024FormDefinition**](V2024CustomFormsApi.md#New-V2024FormDefinition) | **POST** /form-definitions | Creates a form definition. +[**New-V2024FormDefinitionDynamicSchema**](V2024CustomFormsApi.md#New-V2024FormDefinitionDynamicSchema) | **POST** /form-definitions/forms-action-dynamic-schema | Generate JSON Schema dynamically. +[**New-V2024FormDefinitionFileRequest**](V2024CustomFormsApi.md#New-V2024FormDefinitionFileRequest) | **POST** /form-definitions/{formDefinitionID}/upload | Upload new form definition file. +[**New-V2024FormInstance**](V2024CustomFormsApi.md#New-V2024FormInstance) | **POST** /form-instances | Creates a form instance. +[**Remove-V2024FormDefinition**](V2024CustomFormsApi.md#Remove-V2024FormDefinition) | **DELETE** /form-definitions/{formDefinitionID} | Deletes a form definition. +[**Export-V2024FormDefinitionsByTenant**](V2024CustomFormsApi.md#Export-V2024FormDefinitionsByTenant) | **GET** /form-definitions/export | List form definitions by tenant. +[**Get-V2024FileFromS3**](V2024CustomFormsApi.md#Get-V2024FileFromS3) | **GET** /form-definitions/{formDefinitionID}/file/{fileID} | Download definition file by fileId. +[**Get-V2024FormDefinitionByKey**](V2024CustomFormsApi.md#Get-V2024FormDefinitionByKey) | **GET** /form-definitions/{formDefinitionID} | Return a form definition. +[**Get-V2024FormInstanceByKey**](V2024CustomFormsApi.md#Get-V2024FormInstanceByKey) | **GET** /form-instances/{formInstanceID} | Returns a form instance. +[**Get-V2024FormInstanceFile**](V2024CustomFormsApi.md#Get-V2024FormInstanceFile) | **GET** /form-instances/{formInstanceID}/file/{fileID} | Download instance file by fileId. +[**Import-V2024FormDefinitions**](V2024CustomFormsApi.md#Import-V2024FormDefinitions) | **POST** /form-definitions/import | Import form definitions from export. +[**Update-V2024FormDefinition**](V2024CustomFormsApi.md#Update-V2024FormDefinition) | **PATCH** /form-definitions/{formDefinitionID} | Patch a form definition. +[**Update-V2024FormInstance**](V2024CustomFormsApi.md#Update-V2024FormInstance) | **PATCH** /form-instances/{formInstanceID} | Patch a form instance. +[**Search-V2024FormDefinitionsByTenant**](V2024CustomFormsApi.md#Search-V2024FormDefinitionsByTenant) | **GET** /form-definitions | Export form definitions by tenant. +[**Search-V2024FormElementDataByElementID**](V2024CustomFormsApi.md#Search-V2024FormElementDataByElementID) | **GET** /form-instances/{formInstanceID}/data-source/{formElementID} | Retrieves dynamic data by element. +[**Search-V2024FormInstancesByTenant**](V2024CustomFormsApi.md#Search-V2024FormInstancesByTenant) | **GET** /form-instances | List form instances by tenant. +[**Search-V2024PreDefinedSelectOptions**](V2024CustomFormsApi.md#Search-V2024PreDefinedSelectOptions) | **GET** /form-definitions/predefined-select-options | List predefined select options. +[**Show-V2024PreviewDataSource**](V2024CustomFormsApi.md#Show-V2024PreviewDataSource) | **POST** /form-definitions/{formDefinitionID}/data-source | Preview form definition data source. + + + +# **New-V2024FormDefinition** +> FormDefinitionResponse New-V2024FormDefinition
+>         [-XSailPointExperimental]
+>         [-Body]
+ +Creates a form definition. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$ConditionRule = Initialize-ConditionRule -SourceType "INPUT" -Source "department" -Operator "EQ" -ValueType "STRING" -Value + +$ConditionEffectConfig = Initialize-ConditionEffectConfig -DefaultValueLabel "Access to Remove" -Element "8110662963316867" +$ConditionEffect = Initialize-ConditionEffect -EffectType "HIDE" -Config $ConditionEffectConfig + +$FormCondition = Initialize-FormCondition -RuleOperator "AND" -Rules $ConditionRule -Effects $ConditionEffect + +$FormElementValidationsSet = Initialize-FormElementValidationsSet -ValidationType "REQUIRED" +$FormElement = Initialize-FormElement -Id "00000000-0000-0000-0000-000000000000" -ElementType "TEXT" -Config @{ key_example = } -Key "department" -Validations $FormElementValidationsSet + +$FormDefinitionInput = Initialize-FormDefinitionInput -Id "00000000-0000-0000-0000-000000000000" -Type "STRING" -Label "input1" -Description "A single dynamic scalar value (i.e. number, string, date, etc.) that can be passed into the form for use in conditional logic" +$FormOwner = Initialize-FormOwner -Type "IDENTITY" -Id "2c9180867624cbd7017642d8c8c81f67" -Name "Grant Smith" +$FormUsedBy = Initialize-FormUsedBy -Type "WORKFLOW" -Id "61940a92-5484-42bc-bc10-b9982b218cdf" -Name "Access Request Form" +$CreateFormDefinitionRequest = Initialize-CreateFormDefinitionRequest -Description "My form description" -FormConditions $FormCondition -FormElements $FormElement -FormInput $FormDefinitionInput -Name "My form" -Owner $FormOwner -UsedBy $FormUsedBy # CreateFormDefinitionRequest | Body is the request payload to create form definition request (optional) + +# Creates a form definition. +try { + $Result = New-V2024FormDefinition -XSailPointExperimental $XSailPointExperimental -Body $Body +} catch { + Write-Host ("Exception occurred when calling New-V2024FormDefinition: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Body** | [**CreateFormDefinitionRequest**](CreateFormDefinitionRequest.md)| Body is the request payload to create form definition request | [optional] + +### Return type + +[**FormDefinitionResponse**](FormDefinitionResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **New-V2024FormDefinitionDynamicSchema** +> FormDefinitionDynamicSchemaResponse New-V2024FormDefinitionDynamicSchema
+>         [-XSailPointExperimental]
+>         [-Body]
+ +Generate JSON Schema dynamically. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$FormDefinitionDynamicSchemaRequestAttributes = Initialize-FormDefinitionDynamicSchemaRequestAttributes -FormDefinitionId "00000000-0000-0000-0000-000000000000" +$FormDefinitionDynamicSchemaRequest = Initialize-FormDefinitionDynamicSchemaRequest -Attributes $FormDefinitionDynamicSchemaRequestAttributes -Description "A description" -Id "00000000-0000-0000-0000-000000000000" -Type "action" -VersionNumber 1 # FormDefinitionDynamicSchemaRequest | Body is the request payload to create a form definition dynamic schema (optional) + +# Generate JSON Schema dynamically. +try { + $Result = New-V2024FormDefinitionDynamicSchema -XSailPointExperimental $XSailPointExperimental -Body $Body +} catch { + Write-Host ("Exception occurred when calling New-V2024FormDefinitionDynamicSchema: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Body** | [**FormDefinitionDynamicSchemaRequest**](FormDefinitionDynamicSchemaRequest.md)| Body is the request payload to create a form definition dynamic schema | [optional] + +### Return type + +[**FormDefinitionDynamicSchemaResponse**](FormDefinitionDynamicSchemaResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **New-V2024FormDefinitionFileRequest** +> FormDefinitionFileUploadResponse New-V2024FormDefinitionFileRequest
+>         [-FormDefinitionID]
+>         [-XSailPointExperimental]
+>         [-File]
+ +Upload new form definition file. + +Parameter `{formDefinitionID}` should match a form definition ID. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$FormDefinitionID = "00000000-0000-0000-0000-000000000000" # String | FormDefinitionID String specifying FormDefinitionID +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$File = # System.IO.FileInfo | File specifying the multipart + +# Upload new form definition file. +try { + $Result = New-V2024FormDefinitionFileRequest -FormDefinitionID $FormDefinitionID -XSailPointExperimental $XSailPointExperimental -File $File +} catch { + Write-Host ("Exception occurred when calling New-V2024FormDefinitionFileRequest: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **FormDefinitionID** | **String**| FormDefinitionID String specifying FormDefinitionID | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **File** | **System.IO.FileInfo****System.IO.FileInfo**| File specifying the multipart | + +### Return type + +[**FormDefinitionFileUploadResponse**](FormDefinitionFileUploadResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: multipart/form-data + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **New-V2024FormInstance** +> FormInstanceResponse New-V2024FormInstance
+>         [-XSailPointExperimental]
+>         [-Body]
+ +Creates a form instance. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$FormInstanceCreatedBy = Initialize-FormInstanceCreatedBy -Id "00000000-0000-0000-0000-000000000000" -Type "WORKFLOW_EXECUTION" +$FormInstanceRecipient = Initialize-FormInstanceRecipient -Id "00000000-0000-0000-0000-000000000000" -Type "IDENTITY" +$CreateFormInstanceRequest = Initialize-CreateFormInstanceRequest -CreatedBy $FormInstanceCreatedBy -Expire "2023-08-12T20:14:57.74486Z" -FormDefinitionId "00000000-0000-0000-0000-000000000000" -FormInput @{ key_example = } -Recipients $FormInstanceRecipient -StandAloneForm $false -State "ASSIGNED" -Ttl 1571827560 # CreateFormInstanceRequest | Body is the request payload to create a form instance (optional) + +# Creates a form instance. +try { + $Result = New-V2024FormInstance -XSailPointExperimental $XSailPointExperimental -Body $Body +} catch { + Write-Host ("Exception occurred when calling New-V2024FormInstance: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Body** | [**CreateFormInstanceRequest**](CreateFormInstanceRequest.md)| Body is the request payload to create a form instance | [optional] + +### Return type + +[**FormInstanceResponse**](FormInstanceResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Remove-V2024FormDefinition** +> SystemCollectionsHashtable Remove-V2024FormDefinition
+>         [-FormDefinitionID]
+>         [-XSailPointExperimental]
+ +Deletes a form definition. + +Parameter `{formDefinitionID}` should match a form definition ID. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$FormDefinitionID = "00000000-0000-0000-0000-000000000000" # String | Form definition ID +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Deletes a form definition. +try { + $Result = Remove-V2024FormDefinition -FormDefinitionID $FormDefinitionID -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Remove-V2024FormDefinition: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **FormDefinitionID** | **String**| Form definition ID | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**SystemCollectionsHashtable**](SystemCollectionsHashtable.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Export-V2024FormDefinitionsByTenant** +> ExportFormDefinitionsByTenant200ResponseInner[] Export-V2024FormDefinitionsByTenant
+>         [-XSailPointExperimental]
+>         [-Offset]
+>         [-Limit]
+>         [-Filters]
+>         [-Sorters]
+ +List form definitions by tenant. + +No parameters required. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Offset = 0 # Int64 | Offset Integer specifying the offset of the first result from the beginning of the collection. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). The offset value is record-based, not page-based, and the index starts at 0. (optional) (default to 0) +$Limit = 250 # Int64 | Limit Integer specifying the maximum number of records to return in a single API call. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). If it is not specified, a default limit is used. (optional) (default to 250) +$Filters = "name sw "my form"" # 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: **name**: *eq, gt, sw, in* **description**: *eq, gt, sw, in* **created**: *eq, gt, sw, in* **modified**: *eq, gt, sw, in* (optional) +$Sorters = "name" # String | 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: **name, description, created, modified** (optional) (default to "name") + +# List form definitions by tenant. +try { + $Result = Export-V2024FormDefinitionsByTenant -XSailPointExperimental $XSailPointExperimental -Offset $Offset -Limit $Limit -Filters $Filters -Sorters $Sorters +} catch { + Write-Host ("Exception occurred when calling Export-V2024FormDefinitionsByTenant: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Offset** | **Int64**| Offset Integer specifying the offset of the first result from the beginning of the collection. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). The offset value is record-based, not page-based, and the index starts at 0. | [optional] [default to 0] + **Limit** | **Int64**| Limit Integer specifying the maximum number of records to return in a single API call. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). If it is not specified, a default limit is used. | [optional] [default to 250] + **Filters** | **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: **name**: *eq, gt, sw, in* **description**: *eq, gt, sw, in* **created**: *eq, gt, sw, in* **modified**: *eq, gt, sw, in* | [optional] + **Sorters** | **String**| 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: **name, description, created, modified** | [optional] [default to "name"] + +### Return type + +[**ExportFormDefinitionsByTenant200ResponseInner[]**](ExportFormDefinitionsByTenant200ResponseInner.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024FileFromS3** +> System.IO.FileInfo Get-V2024FileFromS3
+>         [-FormDefinitionID]
+>         [-FileID]
+>         [-XSailPointExperimental]
+ +Download definition file by fileId. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$FormDefinitionID = "00000000-0000-0000-0000-000000000000" # String | FormDefinitionID Form definition ID +$FileID = "00000031N0J7R2B57M8YG73J7M.png" # String | FileID String specifying the hashed name of the uploaded file we are retrieving. +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Download definition file by fileId. +try { + $Result = Get-V2024FileFromS3 -FormDefinitionID $FormDefinitionID -FileID $FileID -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Get-V2024FileFromS3: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **FormDefinitionID** | **String**| FormDefinitionID Form definition ID | + **FileID** | **String**| FileID String specifying the hashed name of the uploaded file we are retrieving. | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +**System.IO.FileInfo** + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, image/jpeg, image/png, application/octet-stream + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024FormDefinitionByKey** +> FormDefinitionResponse Get-V2024FormDefinitionByKey
+>         [-FormDefinitionID]
+>         [-XSailPointExperimental]
+ +Return a form definition. + +Parameter `{formDefinitionID}` should match a form definition ID. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$FormDefinitionID = "00000000-0000-0000-0000-000000000000" # String | Form definition ID +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Return a form definition. +try { + $Result = Get-V2024FormDefinitionByKey -FormDefinitionID $FormDefinitionID -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Get-V2024FormDefinitionByKey: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **FormDefinitionID** | **String**| Form definition ID | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**FormDefinitionResponse**](FormDefinitionResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024FormInstanceByKey** +> FormInstanceResponse Get-V2024FormInstanceByKey
+>         [-FormInstanceID]
+>         [-XSailPointExperimental]
+ +Returns a form instance. + +Parameter `{formInstanceID}` should match a form instance ID. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$FormInstanceID = "00000000-0000-0000-0000-000000000000" # String | Form instance ID +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Returns a form instance. +try { + $Result = Get-V2024FormInstanceByKey -FormInstanceID $FormInstanceID -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Get-V2024FormInstanceByKey: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **FormInstanceID** | **String**| Form instance ID | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**FormInstanceResponse**](FormInstanceResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024FormInstanceFile** +> System.IO.FileInfo Get-V2024FormInstanceFile
+>         [-FormInstanceID]
+>         [-FileID]
+>         [-XSailPointExperimental]
+ +Download instance file by fileId. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$FormInstanceID = "00000000-0000-0000-0000-000000000000" # String | FormInstanceID Form instance ID +$FileID = "00000031N0J7R2B57M8YG73J7M.png" # String | FileID String specifying the hashed name of the uploaded file we are retrieving. +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Download instance file by fileId. +try { + $Result = Get-V2024FormInstanceFile -FormInstanceID $FormInstanceID -FileID $FileID -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Get-V2024FormInstanceFile: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **FormInstanceID** | **String**| FormInstanceID Form instance ID | + **FileID** | **String**| FileID String specifying the hashed name of the uploaded file we are retrieving. | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +**System.IO.FileInfo** + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, image/jpeg, image/png, application/octet-stream + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Import-V2024FormDefinitions** +> ImportFormDefinitions202Response Import-V2024FormDefinitions
+>         [-XSailPointExperimental]
+>         [-Body]
+ +Import form definitions from export. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$FormOwner = Initialize-FormOwner -Type "IDENTITY" -Id "2c9180867624cbd7017642d8c8c81f67" -Name "Grant Smith" +$FormUsedBy = Initialize-FormUsedBy -Type "WORKFLOW" -Id "61940a92-5484-42bc-bc10-b9982b218cdf" -Name "Access Request Form" +$FormDefinitionInput = Initialize-FormDefinitionInput -Id "00000000-0000-0000-0000-000000000000" -Type "STRING" -Label "input1" -Description "A single dynamic scalar value (i.e. number, string, date, etc.) that can be passed into the form for use in conditional logic" + +$FormElementValidationsSet = Initialize-FormElementValidationsSet -ValidationType "REQUIRED" +$FormElement = Initialize-FormElement -Id "00000000-0000-0000-0000-000000000000" -ElementType "TEXT" -Config @{ key_example = } -Key "department" -Validations $FormElementValidationsSet + +$ConditionRule = Initialize-ConditionRule -SourceType "INPUT" -Source "department" -Operator "EQ" -ValueType "STRING" -Value + +$ConditionEffectConfig = Initialize-ConditionEffectConfig -DefaultValueLabel "Access to Remove" -Element "8110662963316867" +$ConditionEffect = Initialize-ConditionEffect -EffectType "HIDE" -Config $ConditionEffectConfig + +$FormCondition = Initialize-FormCondition -RuleOperator "AND" -Rules $ConditionRule -Effects $ConditionEffect + +$FormDefinitionResponse = Initialize-FormDefinitionResponse -Id "00000000-0000-0000-0000-000000000000" -Name "My form" -Description "My form description" -Owner $FormOwner -UsedBy $FormUsedBy -FormInput $FormDefinitionInput -FormElements $FormElement -FormConditions $FormCondition -Created (Get-Date) -Modified (Get-Date) + +$ExportFormDefinitionsByTenant200ResponseInner = Initialize-ExportFormDefinitionsByTenant200ResponseInner -Object $FormDefinitionResponse -Self "MySelf" -Version 0 # ExportFormDefinitionsByTenant200ResponseInner[] | Body is the request payload to import form definitions (optional) + +# Import form definitions from export. +try { + $Result = Import-V2024FormDefinitions -XSailPointExperimental $XSailPointExperimental -Body $Body +} catch { + Write-Host ("Exception occurred when calling Import-V2024FormDefinitions: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Body** | [**ExportFormDefinitionsByTenant200ResponseInner[]**](ExportFormDefinitionsByTenant200ResponseInner.md)| Body is the request payload to import form definitions | [optional] + +### Return type + +[**ImportFormDefinitions202Response**](ImportFormDefinitions202Response.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Update-V2024FormDefinition** +> FormDefinitionResponse Update-V2024FormDefinition
+>         [-FormDefinitionID]
+>         [-XSailPointExperimental]
+>         [-Body]
+ +Patch a form definition. + +Parameter `{formDefinitionID}` should match a form definition ID. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$FormDefinitionID = "00000000-0000-0000-0000-000000000000" # String | Form definition ID +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Body = @{ key_example = } # Map[] | Body is the request payload to patch a form definition, check: https://jsonpatch.com (optional) + +# Patch a form definition. +try { + $Result = Update-V2024FormDefinition -FormDefinitionID $FormDefinitionID -XSailPointExperimental $XSailPointExperimental -Body $Body +} catch { + Write-Host ("Exception occurred when calling Update-V2024FormDefinition: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **FormDefinitionID** | **String**| Form definition ID | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Body** | [**Map[]**](Map.md)| Body is the request payload to patch a form definition, check: https://jsonpatch.com | [optional] + +### Return type + +[**FormDefinitionResponse**](FormDefinitionResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Update-V2024FormInstance** +> FormInstanceResponse Update-V2024FormInstance
+>         [-FormInstanceID]
+>         [-XSailPointExperimental]
+>         [-Body]
+ +Patch a form instance. + +Parameter `{formInstanceID}` should match a form instance ID. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$FormInstanceID = "00000000-0000-0000-0000-000000000000" # String | Form instance ID +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Body = @{ key_example = } # Map[] | Body is the request payload to patch a form instance, check: https://jsonpatch.com (optional) + +# Patch a form instance. +try { + $Result = Update-V2024FormInstance -FormInstanceID $FormInstanceID -XSailPointExperimental $XSailPointExperimental -Body $Body +} catch { + Write-Host ("Exception occurred when calling Update-V2024FormInstance: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **FormInstanceID** | **String**| Form instance ID | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Body** | [**Map[]**](Map.md)| Body is the request payload to patch a form instance, check: https://jsonpatch.com | [optional] + +### Return type + +[**FormInstanceResponse**](FormInstanceResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Search-V2024FormDefinitionsByTenant** +> ListFormDefinitionsByTenantResponse Search-V2024FormDefinitionsByTenant
+>         [-XSailPointExperimental]
+>         [-Offset]
+>         [-Limit]
+>         [-Filters]
+>         [-Sorters]
+ +Export form definitions by tenant. + +No parameters required. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Offset = 250 # Int64 | Offset Integer specifying the offset of the first result from the beginning of the collection. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). The offset value is record-based, not page-based, and the index starts at 0. (optional) (default to 0) +$Limit = 250 # Int64 | Limit Integer specifying the maximum number of records to return in a single API call. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). If it is not specified, a default limit is used. (optional) (default to 250) +$Filters = "name sw "my form"" # 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: **name**: *eq, gt, sw, in* **description**: *eq, gt, sw, in* **created**: *eq, gt, sw, in* **modified**: *eq, gt, sw, in* (optional) +$Sorters = "name" # String | 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: **name, description, created, modified** (optional) (default to "name") + +# Export form definitions by tenant. +try { + $Result = Search-V2024FormDefinitionsByTenant -XSailPointExperimental $XSailPointExperimental -Offset $Offset -Limit $Limit -Filters $Filters -Sorters $Sorters +} catch { + Write-Host ("Exception occurred when calling Search-V2024FormDefinitionsByTenant: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Offset** | **Int64**| Offset Integer specifying the offset of the first result from the beginning of the collection. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). The offset value is record-based, not page-based, and the index starts at 0. | [optional] [default to 0] + **Limit** | **Int64**| Limit Integer specifying the maximum number of records to return in a single API call. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). If it is not specified, a default limit is used. | [optional] [default to 250] + **Filters** | **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: **name**: *eq, gt, sw, in* **description**: *eq, gt, sw, in* **created**: *eq, gt, sw, in* **modified**: *eq, gt, sw, in* | [optional] + **Sorters** | **String**| 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: **name, description, created, modified** | [optional] [default to "name"] + +### Return type + +[**ListFormDefinitionsByTenantResponse**](ListFormDefinitionsByTenantResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Search-V2024FormElementDataByElementID** +> ListFormElementDataByElementIDResponse Search-V2024FormElementDataByElementID
+>         [-FormInstanceID]
+>         [-FormElementID]
+>         [-XSailPointExperimental]
+>         [-Limit]
+>         [-Filters]
+>         [-Query]
+ +Retrieves dynamic data by element. + +Parameter `{formInstanceID}` should match a form instance ID. Parameter `{formElementID}` should match a form element ID at the data source configuration. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$FormInstanceID = "00000000-0000-0000-0000-000000000000" # String | Form instance ID +$FormElementID = "1" # String | Form element ID +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Limit = 250 # Int64 | Limit Integer specifying the maximum number of records to return in a single API call. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). If it is not specified, a default limit is used. (optional) (default to 250) +$Filters = "value eq "ID01"" # 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: **value**: *eq, ne, in* Supported composite operators: *not* Only a single *not* may be used, and it can only be used with the `in` operator. The `not` composite operator must be used in front of the field. For example, the following is valid: `not value in (""ID01"")` (optional) +$Query = "support" # String | String that is passed to the underlying API to filter other (non-ID) fields. For example, for access profile data sources, this string will be passed to the access profile api and used with a ""starts with"" filter against several fields. (optional) + +# Retrieves dynamic data by element. +try { + $Result = Search-V2024FormElementDataByElementID -FormInstanceID $FormInstanceID -FormElementID $FormElementID -XSailPointExperimental $XSailPointExperimental -Limit $Limit -Filters $Filters -Query $Query +} catch { + Write-Host ("Exception occurred when calling Search-V2024FormElementDataByElementID: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **FormInstanceID** | **String**| Form instance ID | + **FormElementID** | **String**| Form element ID | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Limit** | **Int64**| Limit Integer specifying the maximum number of records to return in a single API call. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). If it is not specified, a default limit is used. | [optional] [default to 250] + **Filters** | **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: **value**: *eq, ne, in* Supported composite operators: *not* Only a single *not* may be used, and it can only be used with the `in` operator. The `not` composite operator must be used in front of the field. For example, the following is valid: `not value in (""ID01"")` | [optional] + **Query** | **String**| String that is passed to the underlying API to filter other (non-ID) fields. For example, for access profile data sources, this string will be passed to the access profile api and used with a ""starts with"" filter against several fields. | [optional] + +### Return type + +[**ListFormElementDataByElementIDResponse**](ListFormElementDataByElementIDResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Search-V2024FormInstancesByTenant** +> ListFormInstancesByTenantResponse Search-V2024FormInstancesByTenant
+>         [-XSailPointExperimental]
+ +List form instances by tenant. + +No parameters required. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# List form instances by tenant. +try { + $Result = Search-V2024FormInstancesByTenant -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Search-V2024FormInstancesByTenant: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**ListFormInstancesByTenantResponse**](ListFormInstancesByTenantResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Search-V2024PreDefinedSelectOptions** +> ListPredefinedSelectOptionsResponse Search-V2024PreDefinedSelectOptions
+>         [-XSailPointExperimental]
+ +List predefined select options. + +No parameters required. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# List predefined select options. +try { + $Result = Search-V2024PreDefinedSelectOptions -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Search-V2024PreDefinedSelectOptions: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**ListPredefinedSelectOptionsResponse**](ListPredefinedSelectOptionsResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Show-V2024PreviewDataSource** +> PreviewDataSourceResponse Show-V2024PreviewDataSource
+>         [-FormDefinitionID]
+>         [-XSailPointExperimental]
+>         [-Limit]
+>         [-Filters]
+>         [-Query]
+>         [-FormElementPreviewRequest]
+ +Preview form definition data source. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$FormDefinitionID = "00000000-0000-0000-0000-000000000000" # String | Form definition ID +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Limit = 10 # Int64 | Limit Integer specifying the maximum number of records to return in a single API call. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). If it is not specified, a default limit is used. (optional) (default to 10) +$Filters = "value eq "ID01"" # 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: **value**: *eq, ne, in* Supported composite operators: *not* Only a single *not* may be used, and it can only be used with the `in` operator. The `not` composite operator must be used in front of the field. For example, the following is valid: `not value in (""ID01"")` (optional) +$Query = "ac" # String | String that is passed to the underlying API to filter other (non-ID) fields. For example, for access profile data sources, this string will be passed to the access profile api and used with a ""starts with"" filter against several fields. (optional) +"accessprofiles"$FormElementDynamicDataSourceConfig = Initialize-FormElementDynamicDataSourceConfig -AggregationBucketField "attributes.cloudStatus.exact" -Indices "accessprofiles" -ObjectType "IDENTITY" -Query "*" +$FormElementDynamicDataSource = Initialize-FormElementDynamicDataSource -Config $FormElementDynamicDataSourceConfig -DataSourceType "STATIC" + +$FormElementPreviewRequest = Initialize-FormElementPreviewRequest -DataSource $FormElementDynamicDataSource # FormElementPreviewRequest | Body is the request payload to create a form definition dynamic schema (optional) + +# Preview form definition data source. +try { + $Result = Show-V2024PreviewDataSource -FormDefinitionID $FormDefinitionID -XSailPointExperimental $XSailPointExperimental -Limit $Limit -Filters $Filters -Query $Query -FormElementPreviewRequest $FormElementPreviewRequest +} catch { + Write-Host ("Exception occurred when calling Show-V2024PreviewDataSource: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **FormDefinitionID** | **String**| Form definition ID | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Limit** | **Int64**| Limit Integer specifying the maximum number of records to return in a single API call. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). If it is not specified, a default limit is used. | [optional] [default to 10] + **Filters** | **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: **value**: *eq, ne, in* Supported composite operators: *not* Only a single *not* may be used, and it can only be used with the `in` operator. The `not` composite operator must be used in front of the field. For example, the following is valid: `not value in (""ID01"")` | [optional] + **Query** | **String**| String that is passed to the underlying API to filter other (non-ID) fields. For example, for access profile data sources, this string will be passed to the access profile api and used with a ""starts with"" filter against several fields. | [optional] + **FormElementPreviewRequest** | [**FormElementPreviewRequest**](FormElementPreviewRequest.md)| Body is the request payload to create a form definition dynamic schema | [optional] + +### Return type + +[**PreviewDataSourceResponse**](PreviewDataSourceResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024CustomPasswordInstructionsApi.md b/PSSailpoint/v2024/docs/V2024CustomPasswordInstructionsApi.md new file mode 100644 index 000000000..ded39f450 --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024CustomPasswordInstructionsApi.md @@ -0,0 +1,179 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024CustomPasswordInstructionsApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**New-V2024CustomPasswordInstructions**](V2024CustomPasswordInstructionsApi.md#New-V2024CustomPasswordInstructions) | **POST** /custom-password-instructions | Create Custom Password Instructions +[**Remove-V2024CustomPasswordInstructions**](V2024CustomPasswordInstructionsApi.md#Remove-V2024CustomPasswordInstructions) | **DELETE** /custom-password-instructions/{pageId} | Delete Custom Password Instructions by page ID +[**Get-V2024CustomPasswordInstructions**](V2024CustomPasswordInstructionsApi.md#Get-V2024CustomPasswordInstructions) | **GET** /custom-password-instructions/{pageId} | Get Custom Password Instructions by Page ID + + + +# **New-V2024CustomPasswordInstructions** +> CustomPasswordInstruction New-V2024CustomPasswordInstructions
+>         [-XSailPointExperimental]
+>         [-CustomPasswordInstruction]
+ +Create Custom Password Instructions + +This API creates the custom password instructions for the specified page ID. A token with ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$CustomPasswordInstruction = Initialize-CustomPasswordInstruction -PageId "change-password:enter-password" -PageContent "MyPageContent" -Locale "en" # CustomPasswordInstruction | + +# Create Custom Password Instructions +try { + $Result = New-V2024CustomPasswordInstructions -XSailPointExperimental $XSailPointExperimental -CustomPasswordInstruction $CustomPasswordInstruction +} catch { + Write-Host ("Exception occurred when calling New-V2024CustomPasswordInstructions: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **CustomPasswordInstruction** | [**CustomPasswordInstruction**](CustomPasswordInstruction.md)| | + +### Return type + +[**CustomPasswordInstruction**](CustomPasswordInstruction.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Remove-V2024CustomPasswordInstructions** +> void Remove-V2024CustomPasswordInstructions
+>         [-PageId]
+>         [-XSailPointExperimental]
+>         [-Locale]
+ +Delete Custom Password Instructions by page ID + +This API delete the custom password instructions for the specified page ID. A token with ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$PageId = "change-password:enter-password" # String | The page ID of custom password instructions to delete. +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Locale = "MyLocale" # String | The locale for the custom instructions, a BCP47 language tag. The default value is \""default\"". (optional) + +# Delete Custom Password Instructions by page ID +try { + $Result = Remove-V2024CustomPasswordInstructions -PageId $PageId -XSailPointExperimental $XSailPointExperimental -Locale $Locale +} catch { + Write-Host ("Exception occurred when calling Remove-V2024CustomPasswordInstructions: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **PageId** | **String**| The page ID of custom password instructions to delete. | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Locale** | **String**| The locale for the custom instructions, a BCP47 language tag. The default value is \""default\"". | [optional] + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024CustomPasswordInstructions** +> CustomPasswordInstruction Get-V2024CustomPasswordInstructions
+>         [-PageId]
+>         [-XSailPointExperimental]
+>         [-Locale]
+ +Get Custom Password Instructions by Page ID + +This API returns the custom password instructions for the specified page ID. A token with ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$PageId = "change-password:enter-password" # String | The page ID of custom password instructions to query. +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Locale = "MyLocale" # String | The locale for the custom instructions, a BCP47 language tag. The default value is \""default\"". (optional) + +# Get Custom Password Instructions by Page ID +try { + $Result = Get-V2024CustomPasswordInstructions -PageId $PageId -XSailPointExperimental $XSailPointExperimental -Locale $Locale +} catch { + Write-Host ("Exception occurred when calling Get-V2024CustomPasswordInstructions: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **PageId** | **String**| The page ID of custom password instructions to query. | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Locale** | **String**| The locale for the custom instructions, a BCP47 language tag. The default value is \""default\"". | [optional] + +### Return type + +[**CustomPasswordInstruction**](CustomPasswordInstruction.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024EntitlementsApi.md b/PSSailpoint/v2024/docs/V2024EntitlementsApi.md new file mode 100644 index 000000000..d466d7040 --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024EntitlementsApi.md @@ -0,0 +1,750 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024EntitlementsApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**New-V2024AccessModelMetadataForEntitlement**](V2024EntitlementsApi.md#New-V2024AccessModelMetadataForEntitlement) | **POST** /entitlements/{id}/access-model-metadata/{attributeKey}/values/{attributeValue} | Add metadata to an entitlement. +[**Remove-V2024AccessModelMetadataFromEntitlement**](V2024EntitlementsApi.md#Remove-V2024AccessModelMetadataFromEntitlement) | **DELETE** /entitlements/{id}/access-model-metadata/{attributeKey}/values/{attributeValue} | Remove metadata from an entitlement. +[**Get-V2024Entitlement**](V2024EntitlementsApi.md#Get-V2024Entitlement) | **GET** /entitlements/{id} | Get an entitlement +[**Get-V2024EntitlementRequestConfig**](V2024EntitlementsApi.md#Get-V2024EntitlementRequestConfig) | **GET** /entitlements/{id}/entitlement-request-config | Get Entitlement Request Config +[**Import-V2024EntitlementsBySource**](V2024EntitlementsApi.md#Import-V2024EntitlementsBySource) | **POST** /entitlements/aggregate/sources/{id} | Aggregate Entitlements +[**Get-V2024EntitlementChildren**](V2024EntitlementsApi.md#Get-V2024EntitlementChildren) | **GET** /entitlements/{id}/children | List of entitlements children +[**Get-V2024EntitlementParents**](V2024EntitlementsApi.md#Get-V2024EntitlementParents) | **GET** /entitlements/{id}/parents | List of entitlements parents +[**Get-V2024Entitlements**](V2024EntitlementsApi.md#Get-V2024Entitlements) | **GET** /entitlements | Gets a list of entitlements. +[**Update-V2024Entitlement**](V2024EntitlementsApi.md#Update-V2024Entitlement) | **PATCH** /entitlements/{id} | Patch an entitlement +[**Send-V2024EntitlementRequestConfig**](V2024EntitlementsApi.md#Send-V2024EntitlementRequestConfig) | **PUT** /entitlements/{id}/entitlement-request-config | Replace Entitlement Request Config +[**Reset-V2024SourceEntitlements**](V2024EntitlementsApi.md#Reset-V2024SourceEntitlements) | **POST** /entitlements/reset/sources/{id} | Reset Source Entitlements +[**Update-V2024EntitlementsInBulk**](V2024EntitlementsApi.md#Update-V2024EntitlementsInBulk) | **POST** /entitlements/bulk-update | Bulk update an entitlement list + + + +# **New-V2024AccessModelMetadataForEntitlement** +> Entitlement1 New-V2024AccessModelMetadataForEntitlement
+>         [-Id]
+>         [-AttributeKey]
+>         [-AttributeValue]
+>         [-XSailPointExperimental]
+ +Add metadata to an entitlement. + +Add single Access Model Metadata to an entitlement. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "2c91808c74ff913f0175097daa9d59cd" # String | The entitlement id. +$AttributeKey = "iscPrivacy" # String | Technical name of the Attribute. +$AttributeValue = "public" # String | Technical name of the Attribute Value. +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Add metadata to an entitlement. +try { + $Result = New-V2024AccessModelMetadataForEntitlement -Id $Id -AttributeKey $AttributeKey -AttributeValue $AttributeValue -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling New-V2024AccessModelMetadataForEntitlement: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The entitlement id. | + **AttributeKey** | **String**| Technical name of the Attribute. | + **AttributeValue** | **String**| Technical name of the Attribute Value. | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**Entitlement1**](Entitlement1.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Remove-V2024AccessModelMetadataFromEntitlement** +> void Remove-V2024AccessModelMetadataFromEntitlement
+>         [-Id]
+>         [-AttributeKey]
+>         [-AttributeValue]
+>         [-XSailPointExperimental]
+ +Remove metadata from an entitlement. + +Remove single Access Model Metadata from an entitlement. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "2c91808c74ff913f0175097daa9d59cd" # String | The entitlement id. +$AttributeKey = "iscPrivacy" # String | Technical name of the Attribute. +$AttributeValue = "public" # String | Technical name of the Attribute Value. +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Remove metadata from an entitlement. +try { + $Result = Remove-V2024AccessModelMetadataFromEntitlement -Id $Id -AttributeKey $AttributeKey -AttributeValue $AttributeValue -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Remove-V2024AccessModelMetadataFromEntitlement: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The entitlement id. | + **AttributeKey** | **String**| Technical name of the Attribute. | + **AttributeValue** | **String**| Technical name of the Attribute Value. | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024Entitlement** +> Entitlement1 Get-V2024Entitlement
+>         [-Id]
+>         [-XSailPointExperimental]
+ +Get an entitlement + +This API returns an entitlement by its ID. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "2c91808874ff91550175097daaec161c" # String | The entitlement ID +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Get an entitlement +try { + $Result = Get-V2024Entitlement -Id $Id -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Get-V2024Entitlement: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The entitlement ID | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**Entitlement1**](Entitlement1.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024EntitlementRequestConfig** +> EntitlementRequestConfig Get-V2024EntitlementRequestConfig
+>         [-Id]
+>         [-XSailPointExperimental]
+ +Get Entitlement Request Config + +This API returns the entitlement request config for a specified entitlement. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "2c91808874ff91550175097daaec161c" # String | Entitlement Id +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Get Entitlement Request Config +try { + $Result = Get-V2024EntitlementRequestConfig -Id $Id -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Get-V2024EntitlementRequestConfig: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| Entitlement Id | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**EntitlementRequestConfig**](EntitlementRequestConfig.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Import-V2024EntitlementsBySource** +> LoadEntitlementTask Import-V2024EntitlementsBySource
+>         [-Id]
+>         [-XSailPointExperimental]
+>         [-CsvFile]
+ +Aggregate Entitlements + +Starts an entitlement aggregation on the specified source. Though this endpoint has been deprecated, you can find its Beta equivalent [here](https://developer.sailpoint.com/docs/api/beta/import-entitlements). If the target source is a direct connection, then the request body must be empty. You will also need to make sure the Content-Type header is not set. If you set the Content-Type header without specifying a body, then you will receive a 500 error. If the target source is a delimited file source, then the CSV file needs to be included in the request body. You will also need to set the Content-Type header to `multipart/form-data`. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f94347e94562b5bb8424a56397d8" # String | Source Id +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$CsvFile = # System.IO.FileInfo | The CSV file containing the source entitlements to aggregate. (optional) + +# Aggregate Entitlements +try { + $Result = Import-V2024EntitlementsBySource -Id $Id -XSailPointExperimental $XSailPointExperimental -CsvFile $CsvFile +} catch { + Write-Host ("Exception occurred when calling Import-V2024EntitlementsBySource: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| Source Id | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **CsvFile** | **System.IO.FileInfo****System.IO.FileInfo**| The CSV file containing the source entitlements to aggregate. | [optional] + +### Return type + +[**LoadEntitlementTask**](LoadEntitlementTask.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: multipart/form-data + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024EntitlementChildren** +> Entitlement1[] Get-V2024EntitlementChildren
+>         [-Id]
+>         [-XSailPointExperimental]
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+>         [-Sorters]
+>         [-Filters]
+ +List of entitlements children + +This API returns a list of all child entitlements of a given entitlement. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "2c91808874ff91550175097daaec161c" # String | Entitlement Id +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) +$Sorters = "name,-modified" # String | 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, created, modified, type, attribute, value, source.id** (optional) +$Filters = "attribute eq "memberOf"" # 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, in* **name**: *eq, in, sw* **type**: *eq, in* **attribute**: *eq, in* **value**: *eq, in, sw* **source.id**: *eq, in* **requestable**: *eq* **created**: *gt, lt, ge, le* **modified**: *gt, lt, ge, le* (optional) + +# List of entitlements children +try { + $Result = Get-V2024EntitlementChildren -Id $Id -XSailPointExperimental $XSailPointExperimental -Limit $Limit -Offset $Offset -Count $Count -Sorters $Sorters -Filters $Filters +} catch { + Write-Host ("Exception occurred when calling Get-V2024EntitlementChildren: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| Entitlement Id | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **Sorters** | **String**| 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, created, modified, type, attribute, value, source.id** | [optional] + **Filters** | **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, in* **name**: *eq, in, sw* **type**: *eq, in* **attribute**: *eq, in* **value**: *eq, in, sw* **source.id**: *eq, in* **requestable**: *eq* **created**: *gt, lt, ge, le* **modified**: *gt, lt, ge, le* | [optional] + +### Return type + +[**Entitlement1[]**](Entitlement1.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024EntitlementParents** +> Entitlement1[] Get-V2024EntitlementParents
+>         [-Id]
+>         [-XSailPointExperimental]
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+>         [-Sorters]
+>         [-Filters]
+ +List of entitlements parents + +This API returns a list of all parent entitlements of a given entitlement. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "2c91808c74ff913f0175097daa9d59cd" # String | Entitlement Id +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) +$Sorters = "name,-modified" # String | 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, created, modified, type, attribute, value, source.id** (optional) +$Filters = "attribute eq "memberOf"" # 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, in* **name**: *eq, in, sw* **type**: *eq, in* **attribute**: *eq, in* **value**: *eq, in, sw* **source.id**: *eq, in* **requestable**: *eq* **created**: *gt, lt, ge, le* **modified**: *gt, lt, ge, le* (optional) + +# List of entitlements parents +try { + $Result = Get-V2024EntitlementParents -Id $Id -XSailPointExperimental $XSailPointExperimental -Limit $Limit -Offset $Offset -Count $Count -Sorters $Sorters -Filters $Filters +} catch { + Write-Host ("Exception occurred when calling Get-V2024EntitlementParents: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| Entitlement Id | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **Sorters** | **String**| 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, created, modified, type, attribute, value, source.id** | [optional] + **Filters** | **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, in* **name**: *eq, in, sw* **type**: *eq, in* **attribute**: *eq, in* **value**: *eq, in, sw* **source.id**: *eq, in* **requestable**: *eq* **created**: *gt, lt, ge, le* **modified**: *gt, lt, ge, le* | [optional] + +### Return type + +[**Entitlement1[]**](Entitlement1.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024Entitlements** +> Entitlement1[] Get-V2024Entitlements
+>         [-XSailPointExperimental]
+>         [-AccountId]
+>         [-SegmentedForIdentity]
+>         [-ForSegmentIds]
+>         [-IncludeUnsegmented]
+>         [-Offset]
+>         [-Limit]
+>         [-Count]
+>         [-Sorters]
+>         [-Filters]
+ +Gets a list of entitlements. + +This API returns a list of entitlements. This API can be used in one of the two following ways: either getting entitlements for a specific **account-id**, or getting via use of **filters** (those two options are exclusive). Any authenticated token can call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$AccountId = "ef38f94347e94562b5bb8424a56397d8" # String | The account ID. If specified, returns only entitlements associated with the given Account. Cannot be specified with the **filters**, **segmented-for-identity**, **for-segment-ids**, or **include-unsegmented** param(s). (optional) +$SegmentedForIdentity = "me" # String | If present and not empty, additionally filters Entitlements to those which are assigned to the Segment(s) which are visible to the Identity with the specified ID. By convention, the value **me** can stand in for the current user's Identity ID. Cannot be specified with the **account-id** or **for-segment-ids** param(s). It is also illegal to specify a value that refers to a different user's Identity. (optional) +$ForSegmentIds = "041727d4-7d95-4779-b891-93cf41e98249,a378c9fa-bae5-494c-804e-a1e30f69f649" # String | If present and not empty, additionally filters Access Profiles to those which are assigned to the Segment(s) with the specified IDs. Cannot be specified with the **account-id** or **segmented-for-identity** param(s). (optional) +$IncludeUnsegmented = $true # Boolean | Whether or not the response list should contain unsegmented Entitlements. If **for-segment-ids** and **segmented-for-identity** are both absent or empty, specifying **include-unsegmented=false** results in an error. (optional) (default to $true) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Count = $true # Boolean | 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. (optional) (default to $false) +$Sorters = "name,-modified" # String | 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, created, modified, type, attribute, value, source.id, requestable** (optional) +$Filters = "attribute eq "memberOf"" # 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, in* **name**: *eq, in, sw* **type**: *eq, in* **attribute**: *eq, in* **value**: *eq, in, sw* **source.id**: *eq, in* **requestable**: *eq* **created**: *gt, lt, ge, le* **modified**: *gt, lt, ge, le* **owner.id**: *eq, in* (optional) + +# Gets a list of entitlements. +try { + $Result = Get-V2024Entitlements -XSailPointExperimental $XSailPointExperimental -AccountId $AccountId -SegmentedForIdentity $SegmentedForIdentity -ForSegmentIds $ForSegmentIds -IncludeUnsegmented $IncludeUnsegmented -Offset $Offset -Limit $Limit -Count $Count -Sorters $Sorters -Filters $Filters +} catch { + Write-Host ("Exception occurred when calling Get-V2024Entitlements: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **AccountId** | **String**| The account ID. If specified, returns only entitlements associated with the given Account. Cannot be specified with the **filters**, **segmented-for-identity**, **for-segment-ids**, or **include-unsegmented** param(s). | [optional] + **SegmentedForIdentity** | **String**| If present and not empty, additionally filters Entitlements to those which are assigned to the Segment(s) which are visible to the Identity with the specified ID. By convention, the value **me** can stand in for the current user's Identity ID. Cannot be specified with the **account-id** or **for-segment-ids** param(s). It is also illegal to specify a value that refers to a different user's Identity. | [optional] + **ForSegmentIds** | **String**| If present and not empty, additionally filters Access Profiles to those which are assigned to the Segment(s) with the specified IDs. Cannot be specified with the **account-id** or **segmented-for-identity** param(s). | [optional] + **IncludeUnsegmented** | **Boolean**| Whether or not the response list should contain unsegmented Entitlements. If **for-segment-ids** and **segmented-for-identity** are both absent or empty, specifying **include-unsegmented=false** results in an error. | [optional] [default to $true] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **Sorters** | **String**| 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, created, modified, type, attribute, value, source.id, requestable** | [optional] + **Filters** | **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, in* **name**: *eq, in, sw* **type**: *eq, in* **attribute**: *eq, in* **value**: *eq, in, sw* **source.id**: *eq, in* **requestable**: *eq* **created**: *gt, lt, ge, le* **modified**: *gt, lt, ge, le* **owner.id**: *eq, in* | [optional] + +### Return type + +[**Entitlement1[]**](Entitlement1.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Update-V2024Entitlement** +> Entitlement1 Update-V2024Entitlement
+>         [-Id]
+>         [-XSailPointExperimental]
+>         [-JsonPatchOperation]
+ +Patch an entitlement + +This API updates an existing entitlement using [JSON Patch](https://tools.ietf.org/html/rfc6902) syntax. The following fields are patchable: **requestable**, **privileged**, **segments**, **owner**, **name**, **description**, and **manuallyUpdatedFields** When you're patching owner, only owner type and owner id must be provided. Owner name is optional, and it won't be modified. If the owner name is provided, it should correspond to the real name. The only owner type currently supported is IDENTITY. A token with ORG_ADMIN or SOURCE_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "2c91808a7813090a017814121e121518" # String | ID of the entitlement to patch +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$JsonPatchOperationValue = Initialize-JsonPatchOperationValue +$JsonPatchOperation = Initialize-JsonPatchOperation -Op "add" -Path "/description" -Value $JsonPatchOperationValue # JsonPatchOperation[] | (optional) + +# Patch an entitlement +try { + $Result = Update-V2024Entitlement -Id $Id -XSailPointExperimental $XSailPointExperimental -JsonPatchOperation $JsonPatchOperation +} catch { + Write-Host ("Exception occurred when calling Update-V2024Entitlement: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| ID of the entitlement to patch | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **JsonPatchOperation** | [**JsonPatchOperation[]**](JsonPatchOperation.md)| | [optional] + +### Return type + +[**Entitlement1**](Entitlement1.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Send-V2024EntitlementRequestConfig** +> EntitlementRequestConfig Send-V2024EntitlementRequestConfig
+>         [-Id]
+>         [-XSailPointExperimental]
+>         [-EntitlementRequestConfig]
+ +Replace Entitlement Request Config + +This API replaces the entitlement request config for a specified entitlement. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "2c91808a7813090a017814121e121518" # String | Entitlement ID +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$EntitlementApprovalScheme = Initialize-EntitlementApprovalScheme -ApproverType "ENTITLEMENT_OWNER" -ApproverId "e3eab852-8315-467f-9de7-70eda97f63c8" +$EntitlementAccessRequestConfig = Initialize-EntitlementAccessRequestConfig -ApprovalSchemes $EntitlementApprovalScheme -RequestCommentRequired $true -DenialCommentRequired $false + +$EntitlementRequestConfig = Initialize-EntitlementRequestConfig -AccessRequestConfig $EntitlementAccessRequestConfig # EntitlementRequestConfig | + +# Replace Entitlement Request Config +try { + $Result = Send-V2024EntitlementRequestConfig -Id $Id -XSailPointExperimental $XSailPointExperimental -EntitlementRequestConfig $EntitlementRequestConfig +} catch { + Write-Host ("Exception occurred when calling Send-V2024EntitlementRequestConfig: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| Entitlement ID | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **EntitlementRequestConfig** | [**EntitlementRequestConfig**](EntitlementRequestConfig.md)| | + +### Return type + +[**EntitlementRequestConfig**](EntitlementRequestConfig.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Reset-V2024SourceEntitlements** +> EntitlementSourceResetBaseReferenceDto Reset-V2024SourceEntitlements
+>         [-Id]
+>         [-XSailPointExperimental]
+ +Reset Source Entitlements + +Removes all entitlements on a specific source. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "2c91808a7813090a017814121919ecca" # String | ID of source for the entitlement reset +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Reset Source Entitlements +try { + $Result = Reset-V2024SourceEntitlements -Id $Id -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Reset-V2024SourceEntitlements: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| ID of source for the entitlement reset | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**EntitlementSourceResetBaseReferenceDto**](EntitlementSourceResetBaseReferenceDto.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Update-V2024EntitlementsInBulk** +> void Update-V2024EntitlementsInBulk
+>         [-XSailPointExperimental]
+>         [-EntitlementBulkUpdateRequest]
+ +Bulk update an entitlement list + +This API applies an update to every entitlement of the list. The number of entitlements to update is limited to 50 items maximum. The JsonPatch update follows the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. allowed operations : **{ ""op"": ""replace"", ""path"": ""/privileged"", ""value"": boolean }** **{ ""op"": ""replace"", ""path"": ""/requestable"",""value"": boolean }** A token with ORG_ADMIN or API authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$JsonPatchOperationValue = Initialize-JsonPatchOperationValue +$JsonPatchOperation = Initialize-JsonPatchOperation -Op "add" -Path "/description" -Value $JsonPatchOperationValue + +$EntitlementBulkUpdateRequest = Initialize-EntitlementBulkUpdateRequest -EntitlementIds "MyEntitlementIds" -JsonPatch $JsonPatchOperation # EntitlementBulkUpdateRequest | + +# Bulk update an entitlement list +try { + $Result = Update-V2024EntitlementsInBulk -XSailPointExperimental $XSailPointExperimental -EntitlementBulkUpdateRequest $EntitlementBulkUpdateRequest +} catch { + Write-Host ("Exception occurred when calling Update-V2024EntitlementsInBulk: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **EntitlementBulkUpdateRequest** | [**EntitlementBulkUpdateRequest**](EntitlementBulkUpdateRequest.md)| | + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024GlobalTenantSecuritySettingsApi.md b/PSSailpoint/v2024/docs/V2024GlobalTenantSecuritySettingsApi.md new file mode 100644 index 000000000..cb38d9f78 --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024GlobalTenantSecuritySettingsApi.md @@ -0,0 +1,160 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024GlobalTenantSecuritySettingsApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**New-V2024AuthOrgNetworkConfig**](V2024GlobalTenantSecuritySettingsApi.md#New-V2024AuthOrgNetworkConfig) | **POST** /auth-org/network-config | Create security network configuration. +[**Get-V2024AuthOrgNetworkConfig**](V2024GlobalTenantSecuritySettingsApi.md#Get-V2024AuthOrgNetworkConfig) | **GET** /auth-org/network-config | Get security network configuration. +[**Update-V2024AuthOrgNetworkConfig**](V2024GlobalTenantSecuritySettingsApi.md#Update-V2024AuthOrgNetworkConfig) | **PATCH** /auth-org/network-config | Update security network configuration. + + + +# **New-V2024AuthOrgNetworkConfig** +> NetworkConfiguration New-V2024AuthOrgNetworkConfig
+>         [-NetworkConfiguration]
+ +Create security network configuration. + +This API returns the details of an org's network auth configuration. Requires security scope of: 'sp:auth-org:create' + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$NetworkConfiguration = Initialize-NetworkConfiguration -Range "MyRange" -Geolocation "MyGeolocation" -Whitelisted $true # NetworkConfiguration | Network configuration creation request body. The following constraints ensure the request body conforms to certain logical guidelines, which are: 1. Each string element in the range array must be a valid ip address or ip subnet mask. 2. Each string element in the geolocation array must be 2 characters, and they can only be uppercase letters. + +# Create security network configuration. +try { + $Result = New-V2024AuthOrgNetworkConfig -NetworkConfiguration $NetworkConfiguration +} catch { + Write-Host ("Exception occurred when calling New-V2024AuthOrgNetworkConfig: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **NetworkConfiguration** | [**NetworkConfiguration**](NetworkConfiguration.md)| Network configuration creation request body. The following constraints ensure the request body conforms to certain logical guidelines, which are: 1. Each string element in the range array must be a valid ip address or ip subnet mask. 2. Each string element in the geolocation array must be 2 characters, and they can only be uppercase letters. | + +### Return type + +[**NetworkConfiguration**](NetworkConfiguration.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024AuthOrgNetworkConfig** +> NetworkConfiguration Get-V2024AuthOrgNetworkConfig
+ +Get security network configuration. + +This API returns the details of an org's network auth configuration. Requires security scope of: 'sp:auth-org:read' + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + + +# Get security network configuration. +try { + $Result = Get-V2024AuthOrgNetworkConfig +} catch { + Write-Host ("Exception occurred when calling Get-V2024AuthOrgNetworkConfig: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**NetworkConfiguration**](NetworkConfiguration.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Update-V2024AuthOrgNetworkConfig** +> NetworkConfiguration Update-V2024AuthOrgNetworkConfig
+>         [-JsonPatchOperation]
+ +Update security network configuration. + +This API updates an existing network configuration for an org using PATCH Requires security scope of: 'sp:auth-org:update' + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$JsonPatchOperationValue = Initialize-JsonPatchOperationValue +$JsonPatchOperation = Initialize-JsonPatchOperation -Op "add" -Path "/description" -Value $JsonPatchOperationValue # JsonPatchOperation[] | A list of auth org network configuration update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. Ensures that the patched Network Config conforms to certain logical guidelines, which are: 1. Each string element in the range array must be a valid ip address or ip subnet mask. 2. Each string element in the geolocation array must be 2 characters, and they can only be uppercase letters. + +# Update security network configuration. +try { + $Result = Update-V2024AuthOrgNetworkConfig -JsonPatchOperation $JsonPatchOperation +} catch { + Write-Host ("Exception occurred when calling Update-V2024AuthOrgNetworkConfig: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **JsonPatchOperation** | [**JsonPatchOperation[]**](JsonPatchOperation.md)| A list of auth org network configuration update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. Ensures that the patched Network Config conforms to certain logical guidelines, which are: 1. Each string element in the range array must be a valid ip address or ip subnet mask. 2. Each string element in the geolocation array must be 2 characters, and they can only be uppercase letters. | + +### Return type + +[**NetworkConfiguration**](NetworkConfiguration.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024GovernanceGroupsApi.md b/PSSailpoint/v2024/docs/V2024GovernanceGroupsApi.md new file mode 100644 index 000000000..67ee9005b --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024GovernanceGroupsApi.md @@ -0,0 +1,605 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024GovernanceGroupsApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**New-V2024Workgroup**](V2024GovernanceGroupsApi.md#New-V2024Workgroup) | **POST** /workgroups | Create a new Governance Group. +[**Remove-V2024Workgroup**](V2024GovernanceGroupsApi.md#Remove-V2024Workgroup) | **DELETE** /workgroups/{id} | Delete a Governance Group +[**Remove-V2024WorkgroupMembers**](V2024GovernanceGroupsApi.md#Remove-V2024WorkgroupMembers) | **POST** /workgroups/{workgroupId}/members/bulk-delete | Remove members from Governance Group +[**Remove-V2024WorkgroupsInBulk**](V2024GovernanceGroupsApi.md#Remove-V2024WorkgroupsInBulk) | **POST** /workgroups/bulk-delete | Delete Governance Group(s) +[**Get-V2024Workgroup**](V2024GovernanceGroupsApi.md#Get-V2024Workgroup) | **GET** /workgroups/{id} | Get Governance Group by Id +[**Get-V2024Connections**](V2024GovernanceGroupsApi.md#Get-V2024Connections) | **GET** /workgroups/{workgroupId}/connections | List connections for Governance Group +[**Get-V2024WorkgroupMembers**](V2024GovernanceGroupsApi.md#Get-V2024WorkgroupMembers) | **GET** /workgroups/{workgroupId}/members | List Governance Group Members +[**Get-V2024Workgroups**](V2024GovernanceGroupsApi.md#Get-V2024Workgroups) | **GET** /workgroups | List Governance Groups +[**Update-V2024Workgroup**](V2024GovernanceGroupsApi.md#Update-V2024Workgroup) | **PATCH** /workgroups/{id} | Patch a Governance Group +[**Update-V2024WorkgroupMembers**](V2024GovernanceGroupsApi.md#Update-V2024WorkgroupMembers) | **POST** /workgroups/{workgroupId}/members/bulk-add | Add members to Governance Group + + + +# **New-V2024Workgroup** +> WorkgroupDto New-V2024Workgroup
+>         [-XSailPointExperimental]
+>         [-WorkgroupDto]
+ +Create a new Governance Group. + +This API creates a new Governance Group. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$WorkgroupDtoOwner = Initialize-WorkgroupDtoOwner -Type "IDENTITY" -Id "2c9180a46faadee4016fb4e018c20639" -Name "Support" -DisplayName "Support" -EmailAddress "support@sailpoint.com" +$WorkgroupDto = Initialize-WorkgroupDto -Owner $WorkgroupDtoOwner -Id "2c91808568c529c60168cca6f90c1313" -Name "DB Access Governance Group" -Description "Description of the Governance Group" -MemberCount 1641498673000 -ConnectionCount 1641498673000 -Created (Get-Date) -Modified (Get-Date) # WorkgroupDto | + +# Create a new Governance Group. +try { + $Result = New-V2024Workgroup -XSailPointExperimental $XSailPointExperimental -WorkgroupDto $WorkgroupDto +} catch { + Write-Host ("Exception occurred when calling New-V2024Workgroup: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **WorkgroupDto** | [**WorkgroupDto**](WorkgroupDto.md)| | + +### Return type + +[**WorkgroupDto**](WorkgroupDto.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Remove-V2024Workgroup** +> void Remove-V2024Workgroup
+>         [-Id]
+>         [-XSailPointExperimental]
+ +Delete a Governance Group + +This API deletes a Governance Group by its ID. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "2c9180837ca6693d017ca8d097500149" # String | ID of the Governance Group +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Delete a Governance Group +try { + $Result = Remove-V2024Workgroup -Id $Id -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Remove-V2024Workgroup: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| ID of the Governance Group | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Remove-V2024WorkgroupMembers** +> WorkgroupMemberDeleteItem[] Remove-V2024WorkgroupMembers
+>         [-WorkgroupId]
+>         [-XSailPointExperimental]
+>         [-IdentityPreviewResponseIdentity]
+ +Remove members from Governance Group + +This API removes one or more members from a Governance Group. A token with API, ORG_ADMIN authority is required to call this API. > **Following field of Identity is an optional field in the request.** > **name** + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$WorkgroupId = "2c91808a7813090a017814121919ecca" # String | ID of the Governance Group. +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$IdentityPreviewResponseIdentity = Initialize-IdentityPreviewResponseIdentity -Type "IDENTITY" -Id "2c7180a46faadee4016fb4e018c20642" -Name "Michael Michaels" # IdentityPreviewResponseIdentity[] | List of identities to be removed from a Governance Group members list. + +# Remove members from Governance Group +try { + $Result = Remove-V2024WorkgroupMembers -WorkgroupId $WorkgroupId -XSailPointExperimental $XSailPointExperimental -IdentityPreviewResponseIdentity $IdentityPreviewResponseIdentity +} catch { + Write-Host ("Exception occurred when calling Remove-V2024WorkgroupMembers: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **WorkgroupId** | **String**| ID of the Governance Group. | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **IdentityPreviewResponseIdentity** | [**IdentityPreviewResponseIdentity[]**](IdentityPreviewResponseIdentity.md)| List of identities to be removed from a Governance Group members list. | + +### Return type + +[**WorkgroupMemberDeleteItem[]**](WorkgroupMemberDeleteItem.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Remove-V2024WorkgroupsInBulk** +> WorkgroupDeleteItem[] Remove-V2024WorkgroupsInBulk
+>         [-XSailPointExperimental]
+>         [-WorkgroupBulkDeleteRequest]
+ +Delete Governance Group(s) + + This API initiates a bulk deletion of one or more Governance Groups. > If any of the indicated Governance Groups have one or more connections associated with it,then those Governance Groups will be added in **inUse** list of the response. Governance Group(s) marked as **inUse** can not be deleted. > If any of the indicated Governance Groups is not does not exists in Organization,then those Governance Groups will be added in **notFound** list of the response. Governance Groups marked as **notFound** will not be deleted. > If any of the indicated Governance Groups does not have any connections associated with it,then those Governance Groups will be added in **deleted** list of the response. A Governance Group marked as **deleted** will be deleted from current Organization. > If the request contains any **inUse** or **notFound** Governance Group IDs then it skips only these Governance Groups for deletion and deletes the rest of Governance Groups which have no connections associated with it. > **This API has limit number of Governance Groups can be deleted at one time. If the request contains more then 100 Governance Groups IDs to be deleted then the API will throw an exception.** + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$WorkgroupBulkDeleteRequest = Initialize-WorkgroupBulkDeleteRequest -Ids "MyIds" # WorkgroupBulkDeleteRequest | + +# Delete Governance Group(s) +try { + $Result = Remove-V2024WorkgroupsInBulk -XSailPointExperimental $XSailPointExperimental -WorkgroupBulkDeleteRequest $WorkgroupBulkDeleteRequest +} catch { + Write-Host ("Exception occurred when calling Remove-V2024WorkgroupsInBulk: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **WorkgroupBulkDeleteRequest** | [**WorkgroupBulkDeleteRequest**](WorkgroupBulkDeleteRequest.md)| | + +### Return type + +[**WorkgroupDeleteItem[]**](WorkgroupDeleteItem.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024Workgroup** +> WorkgroupDto Get-V2024Workgroup
+>         [-Id]
+>         [-XSailPointExperimental]
+ +Get Governance Group by Id + +This API returns a Governance Groups by its ID. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "2c9180837ca6693d017ca8d097500149" # String | ID of the Governance Group +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Get Governance Group by Id +try { + $Result = Get-V2024Workgroup -Id $Id -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Get-V2024Workgroup: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| ID of the Governance Group | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**WorkgroupDto**](WorkgroupDto.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024Connections** +> WorkgroupConnectionDto[] Get-V2024Connections
+>         [-WorkgroupId]
+>         [-XSailPointExperimental]
+>         [-Offset]
+>         [-Limit]
+>         [-Count]
+>         [-Sorters]
+ +List connections for Governance Group + +This API returns list of connections associated with a Governance Group. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$WorkgroupId = "2c91808a7813090a017814121919ecca" # String | ID of the Governance Group. +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Limit = 50 # Int32 | Note that for this API the maximum value for limit is 50. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 50) +$Count = $true # Boolean | 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. (optional) (default to $false) +$Sorters = "name,-modified" # String | 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: **name, created, modified** (optional) + +# List connections for Governance Group +try { + $Result = Get-V2024Connections -WorkgroupId $WorkgroupId -XSailPointExperimental $XSailPointExperimental -Offset $Offset -Limit $Limit -Count $Count -Sorters $Sorters +} catch { + Write-Host ("Exception occurred when calling Get-V2024Connections: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **WorkgroupId** | **String**| ID of the Governance Group. | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Limit** | **Int32**| Note that for this API the maximum value for limit is 50. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 50] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **Sorters** | **String**| 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: **name, created, modified** | [optional] + +### Return type + +[**WorkgroupConnectionDto[]**](WorkgroupConnectionDto.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024WorkgroupMembers** +> ListWorkgroupMembers200ResponseInner[] Get-V2024WorkgroupMembers
+>         [-WorkgroupId]
+>         [-XSailPointExperimental]
+>         [-Offset]
+>         [-Limit]
+>         [-Count]
+>         [-Sorters]
+ +List Governance Group Members + +This API returns list of members associated with a Governance Group. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$WorkgroupId = "2c91808a7813090a017814121919ecca" # String | ID of the Governance Group. +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Limit = 50 # Int32 | Note that for this API the maximum value for limit is 50. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 50) +$Count = $true # Boolean | 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. (optional) (default to $false) +$Sorters = "name,-modified" # String | 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: **name, created, modified** (optional) + +# List Governance Group Members +try { + $Result = Get-V2024WorkgroupMembers -WorkgroupId $WorkgroupId -XSailPointExperimental $XSailPointExperimental -Offset $Offset -Limit $Limit -Count $Count -Sorters $Sorters +} catch { + Write-Host ("Exception occurred when calling Get-V2024WorkgroupMembers: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **WorkgroupId** | **String**| ID of the Governance Group. | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Limit** | **Int32**| Note that for this API the maximum value for limit is 50. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 50] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **Sorters** | **String**| 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: **name, created, modified** | [optional] + +### Return type + +[**ListWorkgroupMembers200ResponseInner[]**](ListWorkgroupMembers200ResponseInner.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024Workgroups** +> WorkgroupDto[] Get-V2024Workgroups
+>         [-XSailPointExperimental]
+>         [-Offset]
+>         [-Limit]
+>         [-Count]
+>         [-Filters]
+>         [-Sorters]
+ +List Governance Groups + +This API returns list of Governance Groups + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Limit = 50 # Int32 | Note that for this API the maximum value for limit is 50. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 50) +$Count = $true # Boolean | 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. (optional) (default to $false) +$Filters = "name sw "Test"" # 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, in, sw* **name**: *eq, sw, in* **memberships.identityId**: *eq, in* (optional) +$Sorters = "name,-modified" # String | 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: **name, created, modified, id, description** (optional) + +# List Governance Groups +try { + $Result = Get-V2024Workgroups -XSailPointExperimental $XSailPointExperimental -Offset $Offset -Limit $Limit -Count $Count -Filters $Filters -Sorters $Sorters +} catch { + Write-Host ("Exception occurred when calling Get-V2024Workgroups: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Limit** | **Int32**| Note that for this API the maximum value for limit is 50. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 50] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **Filters** | **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, in, sw* **name**: *eq, sw, in* **memberships.identityId**: *eq, in* | [optional] + **Sorters** | **String**| 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: **name, created, modified, id, description** | [optional] + +### Return type + +[**WorkgroupDto[]**](WorkgroupDto.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Update-V2024Workgroup** +> WorkgroupDto Update-V2024Workgroup
+>         [-Id]
+>         [-XSailPointExperimental]
+>         [-JsonPatchOperation]
+ +Patch a Governance Group + +This API updates an existing governance group by ID. The following fields and objects are patchable: * name * description * owner A token with API or ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "2c9180837ca6693d017ca8d097500149" # String | ID of the Governance Group +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$JsonPatchOperationValue = Initialize-JsonPatchOperationValue +$JsonPatchOperation = Initialize-JsonPatchOperation -Op "add" -Path "/description" -Value $JsonPatchOperationValue # JsonPatchOperation[] | (optional) + +# Patch a Governance Group +try { + $Result = Update-V2024Workgroup -Id $Id -XSailPointExperimental $XSailPointExperimental -JsonPatchOperation $JsonPatchOperation +} catch { + Write-Host ("Exception occurred when calling Update-V2024Workgroup: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| ID of the Governance Group | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **JsonPatchOperation** | [**JsonPatchOperation[]**](JsonPatchOperation.md)| | [optional] + +### Return type + +[**WorkgroupDto**](WorkgroupDto.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Update-V2024WorkgroupMembers** +> WorkgroupMemberAddItem[] Update-V2024WorkgroupMembers
+>         [-WorkgroupId]
+>         [-XSailPointExperimental]
+>         [-IdentityPreviewResponseIdentity]
+ +Add members to Governance Group + +This API adds one or more members to a Governance Group. A token with API, ORG_ADMIN authority is required to call this API. > **Following field of Identity is an optional field in the request.** > **name** + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$WorkgroupId = "2c91808a7813090a017814121919ecca" # String | ID of the Governance Group. +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$IdentityPreviewResponseIdentity = Initialize-IdentityPreviewResponseIdentity -Type "IDENTITY" -Id "2c7180a46faadee4016fb4e018c20642" -Name "Michael Michaels" # IdentityPreviewResponseIdentity[] | List of identities to be added to a Governance Group members list. + +# Add members to Governance Group +try { + $Result = Update-V2024WorkgroupMembers -WorkgroupId $WorkgroupId -XSailPointExperimental $XSailPointExperimental -IdentityPreviewResponseIdentity $IdentityPreviewResponseIdentity +} catch { + Write-Host ("Exception occurred when calling Update-V2024WorkgroupMembers: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **WorkgroupId** | **String**| ID of the Governance Group. | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **IdentityPreviewResponseIdentity** | [**IdentityPreviewResponseIdentity[]**](IdentityPreviewResponseIdentity.md)| List of identities to be added to a Governance Group members list. | + +### Return type + +[**WorkgroupMemberAddItem[]**](WorkgroupMemberAddItem.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024IAIAccessRequestRecommendationsApi.md b/PSSailpoint/v2024/docs/V2024IAIAccessRequestRecommendationsApi.md new file mode 100644 index 000000000..e89097ec4 --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024IAIAccessRequestRecommendationsApi.md @@ -0,0 +1,506 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024IAIAccessRequestRecommendationsApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**Add-V2024AccessRequestRecommendationsIgnoredItem**](V2024IAIAccessRequestRecommendationsApi.md#Add-V2024AccessRequestRecommendationsIgnoredItem) | **POST** /ai-access-request-recommendations/ignored-items | Notification of Ignored Access Request Recommendations +[**Add-V2024AccessRequestRecommendationsRequestedItem**](V2024IAIAccessRequestRecommendationsApi.md#Add-V2024AccessRequestRecommendationsRequestedItem) | **POST** /ai-access-request-recommendations/requested-items | Notification of Requested Access Request Recommendations +[**Add-V2024AccessRequestRecommendationsViewedItem**](V2024IAIAccessRequestRecommendationsApi.md#Add-V2024AccessRequestRecommendationsViewedItem) | **POST** /ai-access-request-recommendations/viewed-items | Notification of Viewed Access Request Recommendations +[**Add-V2024AccessRequestRecommendationsViewedItems**](V2024IAIAccessRequestRecommendationsApi.md#Add-V2024AccessRequestRecommendationsViewedItems) | **POST** /ai-access-request-recommendations/viewed-items/bulk-create | Notification of Viewed Access Request Recommendations in Bulk +[**Get-V2024AccessRequestRecommendations**](V2024IAIAccessRequestRecommendationsApi.md#Get-V2024AccessRequestRecommendations) | **GET** /ai-access-request-recommendations | Identity Access Request Recommendations +[**Get-V2024AccessRequestRecommendationsIgnoredItems**](V2024IAIAccessRequestRecommendationsApi.md#Get-V2024AccessRequestRecommendationsIgnoredItems) | **GET** /ai-access-request-recommendations/ignored-items | List of Ignored Access Request Recommendations +[**Get-V2024AccessRequestRecommendationsRequestedItems**](V2024IAIAccessRequestRecommendationsApi.md#Get-V2024AccessRequestRecommendationsRequestedItems) | **GET** /ai-access-request-recommendations/requested-items | List of Requested Access Request Recommendations +[**Get-V2024AccessRequestRecommendationsViewedItems**](V2024IAIAccessRequestRecommendationsApi.md#Get-V2024AccessRequestRecommendationsViewedItems) | **GET** /ai-access-request-recommendations/viewed-items | List of Viewed Access Request Recommendations + + + +# **Add-V2024AccessRequestRecommendationsIgnoredItem** +> AccessRequestRecommendationActionItemResponseDto Add-V2024AccessRequestRecommendationsIgnoredItem
+>         [-XSailPointExperimental]
+>         [-AccessRequestRecommendationActionItemDto]
+ +Notification of Ignored Access Request Recommendations + +This API ignores a recommended access request item. Once an item is ignored, it will be marked as ignored=true if it is still a recommended item. The consumer can decide to hide ignored recommendations. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$AccessRequestRecommendationItem = Initialize-AccessRequestRecommendationItem -Id "2c9180835d2e5168015d32f890ca1581" -Type "ACCESS_PROFILE" +$AccessRequestRecommendationActionItemDto = Initialize-AccessRequestRecommendationActionItemDto -IdentityId "2c91808570313110017040b06f344ec9" -Access $AccessRequestRecommendationItem # AccessRequestRecommendationActionItemDto | The recommended access item to ignore for an identity. + +# Notification of Ignored Access Request Recommendations +try { + $Result = Add-V2024AccessRequestRecommendationsIgnoredItem -XSailPointExperimental $XSailPointExperimental -AccessRequestRecommendationActionItemDto $AccessRequestRecommendationActionItemDto +} catch { + Write-Host ("Exception occurred when calling Add-V2024AccessRequestRecommendationsIgnoredItem: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **AccessRequestRecommendationActionItemDto** | [**AccessRequestRecommendationActionItemDto**](AccessRequestRecommendationActionItemDto.md)| The recommended access item to ignore for an identity. | + +### Return type + +[**AccessRequestRecommendationActionItemResponseDto**](AccessRequestRecommendationActionItemResponseDto.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Add-V2024AccessRequestRecommendationsRequestedItem** +> AccessRequestRecommendationActionItemResponseDto Add-V2024AccessRequestRecommendationsRequestedItem
+>         [-XSailPointExperimental]
+>         [-AccessRequestRecommendationActionItemDto]
+ +Notification of Requested Access Request Recommendations + +This API consumes a notification that a recommended access request item was requested. This API does not actually make the request, it is just a notification. This will help provide feedback in order to improve our recommendations. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$AccessRequestRecommendationItem = Initialize-AccessRequestRecommendationItem -Id "2c9180835d2e5168015d32f890ca1581" -Type "ACCESS_PROFILE" +$AccessRequestRecommendationActionItemDto = Initialize-AccessRequestRecommendationActionItemDto -IdentityId "2c91808570313110017040b06f344ec9" -Access $AccessRequestRecommendationItem # AccessRequestRecommendationActionItemDto | The recommended access item that was requested for an identity. + +# Notification of Requested Access Request Recommendations +try { + $Result = Add-V2024AccessRequestRecommendationsRequestedItem -XSailPointExperimental $XSailPointExperimental -AccessRequestRecommendationActionItemDto $AccessRequestRecommendationActionItemDto +} catch { + Write-Host ("Exception occurred when calling Add-V2024AccessRequestRecommendationsRequestedItem: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **AccessRequestRecommendationActionItemDto** | [**AccessRequestRecommendationActionItemDto**](AccessRequestRecommendationActionItemDto.md)| The recommended access item that was requested for an identity. | + +### Return type + +[**AccessRequestRecommendationActionItemResponseDto**](AccessRequestRecommendationActionItemResponseDto.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Add-V2024AccessRequestRecommendationsViewedItem** +> AccessRequestRecommendationActionItemResponseDto Add-V2024AccessRequestRecommendationsViewedItem
+>         [-XSailPointExperimental]
+>         [-AccessRequestRecommendationActionItemDto]
+ +Notification of Viewed Access Request Recommendations + +This API consumes a notification that a recommended access request item was viewed. Future recommendations with this item will be marked with viewed=true. This can be useful for the consumer to determine if there are any new/unviewed recommendations. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$AccessRequestRecommendationItem = Initialize-AccessRequestRecommendationItem -Id "2c9180835d2e5168015d32f890ca1581" -Type "ACCESS_PROFILE" +$AccessRequestRecommendationActionItemDto = Initialize-AccessRequestRecommendationActionItemDto -IdentityId "2c91808570313110017040b06f344ec9" -Access $AccessRequestRecommendationItem # AccessRequestRecommendationActionItemDto | The recommended access that was viewed for an identity. + +# Notification of Viewed Access Request Recommendations +try { + $Result = Add-V2024AccessRequestRecommendationsViewedItem -XSailPointExperimental $XSailPointExperimental -AccessRequestRecommendationActionItemDto $AccessRequestRecommendationActionItemDto +} catch { + Write-Host ("Exception occurred when calling Add-V2024AccessRequestRecommendationsViewedItem: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **AccessRequestRecommendationActionItemDto** | [**AccessRequestRecommendationActionItemDto**](AccessRequestRecommendationActionItemDto.md)| The recommended access that was viewed for an identity. | + +### Return type + +[**AccessRequestRecommendationActionItemResponseDto**](AccessRequestRecommendationActionItemResponseDto.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Add-V2024AccessRequestRecommendationsViewedItems** +> AccessRequestRecommendationActionItemResponseDto[] Add-V2024AccessRequestRecommendationsViewedItems
+>         [-XSailPointExperimental]
+>         [-AccessRequestRecommendationActionItemDto]
+ +Notification of Viewed Access Request Recommendations in Bulk + +This API consumes a notification that a set of recommended access request item were viewed. Future recommendations with these items will be marked with viewed=true. This can be useful for the consumer to determine if there are any new/unviewed recommendations. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$AccessRequestRecommendationItem = Initialize-AccessRequestRecommendationItem -Id "2c9180835d2e5168015d32f890ca1581" -Type "ACCESS_PROFILE" +$AccessRequestRecommendationActionItemDto = Initialize-AccessRequestRecommendationActionItemDto -IdentityId "2c91808570313110017040b06f344ec9" -Access $AccessRequestRecommendationItem # AccessRequestRecommendationActionItemDto[] | The recommended access items that were viewed for an identity. + +# Notification of Viewed Access Request Recommendations in Bulk +try { + $Result = Add-V2024AccessRequestRecommendationsViewedItems -XSailPointExperimental $XSailPointExperimental -AccessRequestRecommendationActionItemDto $AccessRequestRecommendationActionItemDto +} catch { + Write-Host ("Exception occurred when calling Add-V2024AccessRequestRecommendationsViewedItems: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **AccessRequestRecommendationActionItemDto** | [**AccessRequestRecommendationActionItemDto[]**](AccessRequestRecommendationActionItemDto.md)| The recommended access items that were viewed for an identity. | + +### Return type + +[**AccessRequestRecommendationActionItemResponseDto[]**](AccessRequestRecommendationActionItemResponseDto.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024AccessRequestRecommendations** +> AccessRequestRecommendationItemDetail[] Get-V2024AccessRequestRecommendations
+>         [-XSailPointExperimental]
+>         [-IdentityId]
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+>         [-IncludeTranslationMessages]
+>         [-Filters]
+>         [-Sorters]
+ +Identity Access Request Recommendations + +This API returns the access request recommendations for the specified identity. The default identity is *me* which indicates the current user. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$IdentityId = "2c91808570313110017040b06f344ec9" # String | Get access request recommendations for an identityId. *me* indicates the current user. (optional) (default to "me") +$Limit = 56 # Int32 | Max number of results to return. (optional) (default to 15) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) +$IncludeTranslationMessages = $false # Boolean | If *true* it will populate a list of translation messages in the response. (optional) (default to $false) +$Filters = "access.name co "admin"" # 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: **access.name**: *co* **access.type**: *eq, in* **access.description**: *co, eq, in* (optional) +$Sorters = "MySorters" # String | 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: **access.name, access.type** By default the recommendations are sorted by highest confidence first. (optional) + +# Identity Access Request Recommendations +try { + $Result = Get-V2024AccessRequestRecommendations -XSailPointExperimental $XSailPointExperimental -IdentityId $IdentityId -Limit $Limit -Offset $Offset -Count $Count -IncludeTranslationMessages $IncludeTranslationMessages -Filters $Filters -Sorters $Sorters +} catch { + Write-Host ("Exception occurred when calling Get-V2024AccessRequestRecommendations: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **IdentityId** | **String**| Get access request recommendations for an identityId. *me* indicates the current user. | [optional] [default to "me"] + **Limit** | **Int32**| Max number of results to return. | [optional] [default to 15] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **IncludeTranslationMessages** | **Boolean**| If *true* it will populate a list of translation messages in the response. | [optional] [default to $false] + **Filters** | **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: **access.name**: *co* **access.type**: *eq, in* **access.description**: *co, eq, in* | [optional] + **Sorters** | **String**| 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: **access.name, access.type** By default the recommendations are sorted by highest confidence first. | [optional] + +### Return type + +[**AccessRequestRecommendationItemDetail[]**](AccessRequestRecommendationItemDetail.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024AccessRequestRecommendationsIgnoredItems** +> AccessRequestRecommendationActionItemResponseDto[] Get-V2024AccessRequestRecommendationsIgnoredItems
+>         [-XSailPointExperimental]
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+>         [-Filters]
+>         [-Sorters]
+ +List of Ignored Access Request Recommendations + +This API returns the list of ignored access request recommendations. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) +$Filters = "identityId eq "2c9180846b0a0583016b299f210c1314"" # 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: **access.id**: *eq, in* **access.type**: *eq, in* **identityId**: *eq, in* (optional) +$Sorters = "access.id" # String | 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: **access.id, access.type, identityId, timestamp** (optional) + +# List of Ignored Access Request Recommendations +try { + $Result = Get-V2024AccessRequestRecommendationsIgnoredItems -XSailPointExperimental $XSailPointExperimental -Limit $Limit -Offset $Offset -Count $Count -Filters $Filters -Sorters $Sorters +} catch { + Write-Host ("Exception occurred when calling Get-V2024AccessRequestRecommendationsIgnoredItems: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **Filters** | **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: **access.id**: *eq, in* **access.type**: *eq, in* **identityId**: *eq, in* | [optional] + **Sorters** | **String**| 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: **access.id, access.type, identityId, timestamp** | [optional] + +### Return type + +[**AccessRequestRecommendationActionItemResponseDto[]**](AccessRequestRecommendationActionItemResponseDto.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024AccessRequestRecommendationsRequestedItems** +> AccessRequestRecommendationActionItemResponseDto[] Get-V2024AccessRequestRecommendationsRequestedItems
+>         [-XSailPointExperimental]
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+>         [-Filters]
+>         [-Sorters]
+ +List of Requested Access Request Recommendations + +This API returns a list of requested access request recommendations. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) +$Filters = "access.id eq "2c9180846b0a0583016b299f210c1314"" # 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: **access.id**: *eq, in* **access.type**: *eq, in* **identityId**: *eq, in* (optional) +$Sorters = "MySorters" # String | 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: **access.id, access.type, identityId, timestamp** (optional) + +# List of Requested Access Request Recommendations +try { + $Result = Get-V2024AccessRequestRecommendationsRequestedItems -XSailPointExperimental $XSailPointExperimental -Limit $Limit -Offset $Offset -Count $Count -Filters $Filters -Sorters $Sorters +} catch { + Write-Host ("Exception occurred when calling Get-V2024AccessRequestRecommendationsRequestedItems: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **Filters** | **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: **access.id**: *eq, in* **access.type**: *eq, in* **identityId**: *eq, in* | [optional] + **Sorters** | **String**| 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: **access.id, access.type, identityId, timestamp** | [optional] + +### Return type + +[**AccessRequestRecommendationActionItemResponseDto[]**](AccessRequestRecommendationActionItemResponseDto.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024AccessRequestRecommendationsViewedItems** +> AccessRequestRecommendationActionItemResponseDto[] Get-V2024AccessRequestRecommendationsViewedItems
+>         [-XSailPointExperimental]
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+>         [-Filters]
+>         [-Sorters]
+ +List of Viewed Access Request Recommendations + +This API returns the list of viewed access request recommendations. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) +$Filters = "access.id eq "2c9180846b0a0583016b299f210c1314"" # 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: **access.id**: *eq, in* **access.type**: *eq, in* **identityId**: *eq, in* (optional) +$Sorters = "MySorters" # String | 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: **access.id, access.type, identityId, timestamp** (optional) + +# List of Viewed Access Request Recommendations +try { + $Result = Get-V2024AccessRequestRecommendationsViewedItems -XSailPointExperimental $XSailPointExperimental -Limit $Limit -Offset $Offset -Count $Count -Filters $Filters -Sorters $Sorters +} catch { + Write-Host ("Exception occurred when calling Get-V2024AccessRequestRecommendationsViewedItems: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **Filters** | **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: **access.id**: *eq, in* **access.type**: *eq, in* **identityId**: *eq, in* | [optional] + **Sorters** | **String**| 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: **access.id, access.type, identityId, timestamp** | [optional] + +### Return type + +[**AccessRequestRecommendationActionItemResponseDto[]**](AccessRequestRecommendationActionItemResponseDto.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024IAICommonAccessApi.md b/PSSailpoint/v2024/docs/V2024IAICommonAccessApi.md new file mode 100644 index 000000000..96775393f --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024IAICommonAccessApi.md @@ -0,0 +1,186 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024IAICommonAccessApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**New-V2024CommonAccess**](V2024IAICommonAccessApi.md#New-V2024CommonAccess) | **POST** /common-access | Create common access items +[**Get-V2024CommonAccess**](V2024IAICommonAccessApi.md#Get-V2024CommonAccess) | **GET** /common-access | Get a paginated list of common access +[**Update-V2024CommonAccessStatusInBulk**](V2024IAICommonAccessApi.md#Update-V2024CommonAccessStatusInBulk) | **POST** /common-access/update-status | Bulk update common access status + + + +# **New-V2024CommonAccess** +> CommonAccessItemResponse New-V2024CommonAccess
+>         [-XSailPointExperimental]
+>         [-CommonAccessItemRequest]
+ +Create common access items + +This API is used to add roles/access profiles to the list of common access for a customer. Requires authorization scope of iai:access-modeling:create + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$CommonAccessItemAccess = Initialize-CommonAccessItemAccess -Id "MyId" -Type "ACCESS_PROFILE" -Name "MyName" -Description "MyDescription" -OwnerName "MyOwnerName" -OwnerId "MyOwnerId" +$CommonAccessItemRequest = Initialize-CommonAccessItemRequest -Access $CommonAccessItemAccess -Status "CONFIRMED" # CommonAccessItemRequest | + +# Create common access items +try { + $Result = New-V2024CommonAccess -XSailPointExperimental $XSailPointExperimental -CommonAccessItemRequest $CommonAccessItemRequest +} catch { + Write-Host ("Exception occurred when calling New-V2024CommonAccess: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **CommonAccessItemRequest** | [**CommonAccessItemRequest**](CommonAccessItemRequest.md)| | + +### Return type + +[**CommonAccessItemResponse**](CommonAccessItemResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024CommonAccess** +> CommonAccessResponse[] Get-V2024CommonAccess
+>         [-XSailPointExperimental]
+>         [-Offset]
+>         [-Limit]
+>         [-Count]
+>         [-Filters]
+>         [-Sorters]
+ +Get a paginated list of common access + +This endpoint returns the current common access for a customer. The returned items can be filtered and sorted. Requires authorization scope of iai:access-modeling:read + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Count = $true # Boolean | 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. (optional) (default to $false) +$Filters = "access.type eq "ROLE"" # 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: **status**: *eq, sw* **reviewedByUser** *eq* **access.id**: *eq, sw* **access.type**: *eq* **access.name**: *sw, eq* **access.description**: *sw, eq* (optional) +$Sorters = "access.name" # String | 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: **access.name, status** By default the common access items are sorted by name, ascending. (optional) + +# Get a paginated list of common access +try { + $Result = Get-V2024CommonAccess -XSailPointExperimental $XSailPointExperimental -Offset $Offset -Limit $Limit -Count $Count -Filters $Filters -Sorters $Sorters +} catch { + Write-Host ("Exception occurred when calling Get-V2024CommonAccess: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **Filters** | **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: **status**: *eq, sw* **reviewedByUser** *eq* **access.id**: *eq, sw* **access.type**: *eq* **access.name**: *sw, eq* **access.description**: *sw, eq* | [optional] + **Sorters** | **String**| 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: **access.name, status** By default the common access items are sorted by name, ascending. | [optional] + +### Return type + +[**CommonAccessResponse[]**](CommonAccessResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Update-V2024CommonAccessStatusInBulk** +> SystemCollectionsHashtable Update-V2024CommonAccessStatusInBulk
+>         [-XSailPointExperimental]
+>         [-CommonAccessIDStatus]
+ +Bulk update common access status + +This submits an update request to the common access application. At this time there are no parameters. Requires authorization scope of iai:access-modeling:update + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$CommonAccessIDStatus = Initialize-CommonAccessIDStatus -ConfirmedIds "MyConfirmedIds" -DeniedIds "MyDeniedIds" # CommonAccessIDStatus[] | Confirm or deny in bulk the common access ids that are (or aren't) common access + +# Bulk update common access status +try { + $Result = Update-V2024CommonAccessStatusInBulk -XSailPointExperimental $XSailPointExperimental -CommonAccessIDStatus $CommonAccessIDStatus +} catch { + Write-Host ("Exception occurred when calling Update-V2024CommonAccessStatusInBulk: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **CommonAccessIDStatus** | [**CommonAccessIDStatus[]**](CommonAccessIDStatus.md)| Confirm or deny in bulk the common access ids that are (or aren't) common access | + +### Return type + +[**SystemCollectionsHashtable**](SystemCollectionsHashtable.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024IAIOutliersApi.md b/PSSailpoint/v2024/docs/V2024IAIOutliersApi.md new file mode 100644 index 000000000..f66201af7 --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024IAIOutliersApi.md @@ -0,0 +1,563 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024IAIOutliersApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**Export-V2024OutliersZip**](V2024IAIOutliersApi.md#Export-V2024OutliersZip) | **GET** /outliers/export | IAI Identity Outliers Export +[**Get-V2024IdentityOutlierSnapshots**](V2024IAIOutliersApi.md#Get-V2024IdentityOutlierSnapshots) | **GET** /outlier-summaries | IAI Identity Outliers Summary +[**Get-V2024IdentityOutliers**](V2024IAIOutliersApi.md#Get-V2024IdentityOutliers) | **GET** /outliers | IAI Get Identity Outliers +[**Get-V2024LatestIdentityOutlierSnapshots**](V2024IAIOutliersApi.md#Get-V2024LatestIdentityOutlierSnapshots) | **GET** /outlier-summaries/latest | IAI Identity Outliers Latest Summary +[**Get-V2024OutlierContributingFeatureSummary**](V2024IAIOutliersApi.md#Get-V2024OutlierContributingFeatureSummary) | **GET** /outlier-feature-summaries/{outlierFeatureId} | Get identity outlier contibuting feature summary +[**Get-V2024PeerGroupOutliersContributingFeatures**](V2024IAIOutliersApi.md#Get-V2024PeerGroupOutliersContributingFeatures) | **GET** /outliers/{outlierId}/contributing-features | Get identity outlier's contibuting features +[**Invoke-V2024IgnoreIdentityOutliers**](V2024IAIOutliersApi.md#Invoke-V2024IgnoreIdentityOutliers) | **POST** /outliers/ignore | IAI Identity Outliers Ignore +[**Get-V2024OutliersContributingFeatureAccessItems**](V2024IAIOutliersApi.md#Get-V2024OutliersContributingFeatureAccessItems) | **GET** /outliers/{outlierId}/feature-details/{contributingFeatureName}/access-items | Gets a list of access items associated with each identity outlier contributing feature +[**Invoke-V2024UnIgnoreIdentityOutliers**](V2024IAIOutliersApi.md#Invoke-V2024UnIgnoreIdentityOutliers) | **POST** /outliers/unignore | IAI Identity Outliers Unignore + + + +# **Export-V2024OutliersZip** +> System.IO.FileInfo Export-V2024OutliersZip
+>         [-XSailPointExperimental]
+>         [-Type]
+ +IAI Identity Outliers Export + +This API exports a list of ignored outliers to a CSV as well as list of non-ignored outliers to a CSV. These two CSVs will be zipped and exported Columns will include: identityID, type, firstDetectionDate, latestDetectionDate, ignored, & attributes (defined set of identity attributes) Requires authorization scope of 'iai:outliers-management:read' + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Type = "LOW_SIMILARITY" # String | Type of the identity outliers snapshot to filter on (optional) + +# IAI Identity Outliers Export +try { + $Result = Export-V2024OutliersZip -XSailPointExperimental $XSailPointExperimental -Type $Type +} catch { + Write-Host ("Exception occurred when calling Export-V2024OutliersZip: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Type** | **String**| Type of the identity outliers snapshot to filter on | [optional] + +### Return type + +**System.IO.FileInfo** + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/zip, application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024IdentityOutlierSnapshots** +> OutlierSummary[] Get-V2024IdentityOutlierSnapshots
+>         [-XSailPointExperimental]
+>         [-Limit]
+>         [-Offset]
+>         [-Type]
+>         [-Filters]
+>         [-Sorters]
+ +IAI Identity Outliers Summary + +This API receives a summary containing: the number of identities that customer has, the number of outliers, and the type of outlier Requires authorization scope of 'iai:outliers-management:read' + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Type = "LOW_SIMILARITY" # String | Type of the identity outliers snapshot to filter on (optional) +$Filters = "snapshotDate ge "2022-02-07T20:13:29.356648026Z"" # 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: **snapshotDate**: *ge, le* (optional) +$Sorters = "snapshotDate" # String | 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: **snapshotDate** (optional) + +# IAI Identity Outliers Summary +try { + $Result = Get-V2024IdentityOutlierSnapshots -XSailPointExperimental $XSailPointExperimental -Limit $Limit -Offset $Offset -Type $Type -Filters $Filters -Sorters $Sorters +} catch { + Write-Host ("Exception occurred when calling Get-V2024IdentityOutlierSnapshots: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Type** | **String**| Type of the identity outliers snapshot to filter on | [optional] + **Filters** | **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: **snapshotDate**: *ge, le* | [optional] + **Sorters** | **String**| 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: **snapshotDate** | [optional] + +### Return type + +[**OutlierSummary[]**](OutlierSummary.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024IdentityOutliers** +> Outlier[] Get-V2024IdentityOutliers
+>         [-XSailPointExperimental]
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+>         [-Type]
+>         [-Filters]
+>         [-Sorters]
+ +IAI Get Identity Outliers + +This API receives a list of outliers, containing data such as: identityId, outlier type, detection dates, identity attributes, if identity is ignore, and certification information Requires authorization scope of 'iai:outliers-management:read' + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) +$Type = "LOW_SIMILARITY" # String | Type of the identity outliers snapshot to filter on (optional) +$Filters = "attributes.displayName sw "John" and certStatus eq "false"" # 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: **attributes**: *eq, sw, co, in* **firstDetectionDate**: *ge, le* **certStatus**: *eq* **ignored**: *eq* **score**: *ge, le* (optional) +$Sorters = "attributes.displayName,firstDetectionDate,-score" # String | 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: **firstDetectionDate, attributes, score** (optional) + +# IAI Get Identity Outliers +try { + $Result = Get-V2024IdentityOutliers -XSailPointExperimental $XSailPointExperimental -Limit $Limit -Offset $Offset -Count $Count -Type $Type -Filters $Filters -Sorters $Sorters +} catch { + Write-Host ("Exception occurred when calling Get-V2024IdentityOutliers: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **Type** | **String**| Type of the identity outliers snapshot to filter on | [optional] + **Filters** | **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: **attributes**: *eq, sw, co, in* **firstDetectionDate**: *ge, le* **certStatus**: *eq* **ignored**: *eq* **score**: *ge, le* | [optional] + **Sorters** | **String**| 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: **firstDetectionDate, attributes, score** | [optional] + +### Return type + +[**Outlier[]**](Outlier.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024LatestIdentityOutlierSnapshots** +> LatestOutlierSummary[] Get-V2024LatestIdentityOutlierSnapshots
+>         [-XSailPointExperimental]
+>         [-Type]
+ +IAI Identity Outliers Latest Summary + +This API returns a most recent snapshot of each outlier type, each containing: the number of identities that customer has, the number of outliers, and the type of outlier Requires authorization scope of 'iai:outliers-management:read' + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Type = "LOW_SIMILARITY" # String | Type of the identity outliers snapshot to filter on (optional) + +# IAI Identity Outliers Latest Summary +try { + $Result = Get-V2024LatestIdentityOutlierSnapshots -XSailPointExperimental $XSailPointExperimental -Type $Type +} catch { + Write-Host ("Exception occurred when calling Get-V2024LatestIdentityOutlierSnapshots: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Type** | **String**| Type of the identity outliers snapshot to filter on | [optional] + +### Return type + +[**LatestOutlierSummary[]**](LatestOutlierSummary.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024OutlierContributingFeatureSummary** +> OutlierFeatureSummary Get-V2024OutlierContributingFeatureSummary
+>         [-OutlierFeatureId]
+>         [-XSailPointExperimental]
+ +Get identity outlier contibuting feature summary + +This API returns a summary of a contributing feature for an identity outlier. The object contains: contributing feature name (translated text or message key), identity outlier display name, feature values, feature definition and explanation (translated text or message key), peer display name and identityId, access item reference, translation messages object Requires authorization scope of 'iai:outliers-management:read' + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$OutlierFeatureId = "04654b66-7561-4090-94f9-abee0722a1af" # String | Contributing feature id +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Get identity outlier contibuting feature summary +try { + $Result = Get-V2024OutlierContributingFeatureSummary -OutlierFeatureId $OutlierFeatureId -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Get-V2024OutlierContributingFeatureSummary: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **OutlierFeatureId** | **String**| Contributing feature id | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**OutlierFeatureSummary**](OutlierFeatureSummary.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024PeerGroupOutliersContributingFeatures** +> OutlierContributingFeature[] Get-V2024PeerGroupOutliersContributingFeatures
+>         [-OutlierId]
+>         [-XSailPointExperimental]
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+>         [-IncludeTranslationMessages]
+>         [-Sorters]
+ +Get identity outlier's contibuting features + +This API returns a list of contributing feature objects for a single outlier. The object contains: feature name, feature value type, value, importance, display name (translated text or message key), description (translated text or message key), translation messages object Requires authorization scope of 'iai:outliers-management:read' + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$OutlierId = "2c918085842e69ae018432d22ccb212f" # String | The outlier id +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) +$IncludeTranslationMessages = "include-translation-messages=" # String | Whether or not to include translation messages object in returned response (optional) +$Sorters = "importance" # String | 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: **importance** (optional) + +# Get identity outlier's contibuting features +try { + $Result = Get-V2024PeerGroupOutliersContributingFeatures -OutlierId $OutlierId -XSailPointExperimental $XSailPointExperimental -Limit $Limit -Offset $Offset -Count $Count -IncludeTranslationMessages $IncludeTranslationMessages -Sorters $Sorters +} catch { + Write-Host ("Exception occurred when calling Get-V2024PeerGroupOutliersContributingFeatures: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **OutlierId** | **String**| The outlier id | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **IncludeTranslationMessages** | **String**| Whether or not to include translation messages object in returned response | [optional] + **Sorters** | **String**| 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: **importance** | [optional] + +### Return type + +[**OutlierContributingFeature[]**](OutlierContributingFeature.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Invoke-V2024IgnoreIdentityOutliers** +> void Invoke-V2024IgnoreIdentityOutliers
+>         [-XSailPointExperimental]
+>         [-RequestBody]
+ +IAI Identity Outliers Ignore + +This API receives a list of IdentityIDs in the request, changes the outliers to be ignored--returning a 204 if successful. Requires authorization scope of 'iai:outliers-management:update' + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$RequestBody = "MyRequestBody" # String[] | + +# IAI Identity Outliers Ignore +try { + $Result = Invoke-V2024IgnoreIdentityOutliers -XSailPointExperimental $XSailPointExperimental -RequestBody $RequestBody +} catch { + Write-Host ("Exception occurred when calling Invoke-V2024IgnoreIdentityOutliers: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **RequestBody** | [**String[]**](String.md)| | + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024OutliersContributingFeatureAccessItems** +> OutliersContributingFeatureAccessItems[] Get-V2024OutliersContributingFeatureAccessItems
+>         [-OutlierId]
+>         [-ContributingFeatureName]
+>         [-XSailPointExperimental]
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+>         [-AccessType]
+>         [-Sorters]
+ +Gets a list of access items associated with each identity outlier contributing feature + +This API returns a list of the enriched access items associated with each feature filtered by the access item type The object contains: accessItemId, display name (translated text or message key), description (translated text or message key), accessType, sourceName, extremelyRare Requires authorization scope of 'iai:outliers-management:read' + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$OutlierId = "2c918085842e69ae018432d22ccb212f" # String | The outlier id +$ContributingFeatureName = "radical_entitlement_count" # String | The name of contributing feature +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) +$AccessType = "ENTITLEMENT" # String | The type of access item for the identity outlier contributing feature. If not provided, it returns all (optional) +$Sorters = "displayName" # String | 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: **displayName** (optional) + +# Gets a list of access items associated with each identity outlier contributing feature +try { + $Result = Get-V2024OutliersContributingFeatureAccessItems -OutlierId $OutlierId -ContributingFeatureName $ContributingFeatureName -XSailPointExperimental $XSailPointExperimental -Limit $Limit -Offset $Offset -Count $Count -AccessType $AccessType -Sorters $Sorters +} catch { + Write-Host ("Exception occurred when calling Get-V2024OutliersContributingFeatureAccessItems: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **OutlierId** | **String**| The outlier id | + **ContributingFeatureName** | **String**| The name of contributing feature | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **AccessType** | **String**| The type of access item for the identity outlier contributing feature. If not provided, it returns all | [optional] + **Sorters** | **String**| 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: **displayName** | [optional] + +### Return type + +[**OutliersContributingFeatureAccessItems[]**](OutliersContributingFeatureAccessItems.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Invoke-V2024UnIgnoreIdentityOutliers** +> void Invoke-V2024UnIgnoreIdentityOutliers
+>         [-XSailPointExperimental]
+>         [-RequestBody]
+ +IAI Identity Outliers Unignore + +This API receives a list of IdentityIDs in the request, changes the outliers to be un-ignored--returning a 204 if successful. Requires authorization scope of 'iai:outliers-management:update' + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$RequestBody = "MyRequestBody" # String[] | + +# IAI Identity Outliers Unignore +try { + $Result = Invoke-V2024UnIgnoreIdentityOutliers -XSailPointExperimental $XSailPointExperimental -RequestBody $RequestBody +} catch { + Write-Host ("Exception occurred when calling Invoke-V2024UnIgnoreIdentityOutliers: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **RequestBody** | [**String[]**](String.md)| | + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024IAIPeerGroupStrategiesApi.md b/PSSailpoint/v2024/docs/V2024IAIPeerGroupStrategiesApi.md new file mode 100644 index 000000000..aa3305b8b --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024IAIPeerGroupStrategiesApi.md @@ -0,0 +1,72 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024IAIPeerGroupStrategiesApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**Get-V2024PeerGroupOutliers**](V2024IAIPeerGroupStrategiesApi.md#Get-V2024PeerGroupOutliers) | **GET** /peer-group-strategies/{strategy}/identity-outliers | Identity Outliers List + + + +# **Get-V2024PeerGroupOutliers** +> PeerGroupMember[] Get-V2024PeerGroupOutliers
+>         [-Strategy]
+>         [-XSailPointExperimental]
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+ +Identity Outliers List + +-- Deprecated : See 'IAI Outliers' This API will be used by Identity Governance systems to identify identities that are not included in an organization's peer groups. By default, 250 identities are returned. You can specify between 1 and 1000 number of identities that can be returned. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Strategy = "entitlement" # String | The strategy used to create peer groups. Currently, 'entitlement' is supported. +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) + +# Identity Outliers List +try { + $Result = Get-V2024PeerGroupOutliers -Strategy $Strategy -XSailPointExperimental $XSailPointExperimental -Limit $Limit -Offset $Offset -Count $Count +} catch { + Write-Host ("Exception occurred when calling Get-V2024PeerGroupOutliers: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Strategy** | **String**| The strategy used to create peer groups. Currently, 'entitlement' is supported. | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + +### Return type + +[**PeerGroupMember[]**](PeerGroupMember.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024IAIRecommendationsApi.md b/PSSailpoint/v2024/docs/V2024IAIRecommendationsApi.md new file mode 100644 index 000000000..0b6846858 --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024IAIRecommendationsApi.md @@ -0,0 +1,173 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024IAIRecommendationsApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**Get-V2024Recommendations**](V2024IAIRecommendationsApi.md#Get-V2024Recommendations) | **POST** /recommendations/request | Returns a Recommendation Based on Object +[**Get-V2024RecommendationsConfig**](V2024IAIRecommendationsApi.md#Get-V2024RecommendationsConfig) | **GET** /recommendations/config | Get certification recommendation config values +[**Update-V2024RecommendationsConfig**](V2024IAIRecommendationsApi.md#Update-V2024RecommendationsConfig) | **PUT** /recommendations/config | Update certification recommendation config values + + + +# **Get-V2024Recommendations** +> RecommendationResponseDto Get-V2024Recommendations
+>         [-XSailPointExperimental]
+>         [-RecommendationRequestDto]
+ +Returns a Recommendation Based on Object + +The getRecommendations API returns recommendations based on the requested object. The recommendations are invoked by IdentityIQ and IdentityNow plug-ins that retrieve recommendations based on the performed calculations. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$AccessItemRef = Initialize-AccessItemRef -Id "2c938083633d259901633d2623ec0375" -Type "ENTITLEMENT" +$RecommendationRequest = Initialize-RecommendationRequest -IdentityId "2c938083633d259901633d25c68c00fa" -Item $AccessItemRef + +$RecommendationRequestDto = Initialize-RecommendationRequestDto -Requests $RecommendationRequest -ExcludeInterpretations $false -IncludeTranslationMessages $false -IncludeDebugInformation $true -PrescribeMode $false # RecommendationRequestDto | + +# Returns a Recommendation Based on Object +try { + $Result = Get-V2024Recommendations -XSailPointExperimental $XSailPointExperimental -RecommendationRequestDto $RecommendationRequestDto +} catch { + Write-Host ("Exception occurred when calling Get-V2024Recommendations: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **RecommendationRequestDto** | [**RecommendationRequestDto**](RecommendationRequestDto.md)| | + +### Return type + +[**RecommendationResponseDto**](RecommendationResponseDto.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024RecommendationsConfig** +> RecommendationConfigDto Get-V2024RecommendationsConfig
+>         [-XSailPointExperimental]
+ +Get certification recommendation config values + +Retrieves configuration attributes used by certification recommendations. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Get certification recommendation config values +try { + $Result = Get-V2024RecommendationsConfig -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Get-V2024RecommendationsConfig: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**RecommendationConfigDto**](RecommendationConfigDto.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Update-V2024RecommendationsConfig** +> RecommendationConfigDto Update-V2024RecommendationsConfig
+>         [-XSailPointExperimental]
+>         [-RecommendationConfigDto]
+ +Update certification recommendation config values + +Updates configuration attributes used by certification recommendations. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$RecommendationConfigDto = Initialize-RecommendationConfigDto -RecommenderFeatures "MyRecommenderFeatures" -PeerGroupPercentageThreshold 0.5 -RunAutoSelectOnce $false -OnlyTuneThreshold $false # RecommendationConfigDto | + +# Update certification recommendation config values +try { + $Result = Update-V2024RecommendationsConfig -XSailPointExperimental $XSailPointExperimental -RecommendationConfigDto $RecommendationConfigDto +} catch { + Write-Host ("Exception occurred when calling Update-V2024RecommendationsConfig: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **RecommendationConfigDto** | [**RecommendationConfigDto**](RecommendationConfigDto.md)| | + +### Return type + +[**RecommendationConfigDto**](RecommendationConfigDto.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024IAIRoleMiningApi.md b/PSSailpoint/v2024/docs/V2024IAIRoleMiningApi.md new file mode 100644 index 000000000..21f9cc1c8 --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024IAIRoleMiningApi.md @@ -0,0 +1,1527 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024IAIRoleMiningApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**New-V2024PotentialRoleProvisionRequest**](V2024IAIRoleMiningApi.md#New-V2024PotentialRoleProvisionRequest) | **POST** /role-mining-sessions/{sessionId}/potential-roles/{potentialRoleId}/provision | Create request to provision a potential role into an actual role. +[**New-V2024RoleMiningSessions**](V2024IAIRoleMiningApi.md#New-V2024RoleMiningSessions) | **POST** /role-mining-sessions | Create a role mining session +[**Invoke-V2024DownloadRoleMiningPotentialRoleZip**](V2024IAIRoleMiningApi.md#Invoke-V2024DownloadRoleMiningPotentialRoleZip) | **GET** /role-mining-sessions/{sessionId}/potential-roles/{potentialRoleId}/export-async/{exportId}/download | Export (download) details for a potential role in a role mining session +[**Export-V2024RoleMiningPotentialRole**](V2024IAIRoleMiningApi.md#Export-V2024RoleMiningPotentialRole) | **GET** /role-mining-sessions/{sessionId}/potential-roles/{potentialRoleId}/export | Export (download) details for a potential role in a role mining session +[**Export-V2024RoleMiningPotentialRoleAsync**](V2024IAIRoleMiningApi.md#Export-V2024RoleMiningPotentialRoleAsync) | **POST** /role-mining-sessions/{sessionId}/potential-roles/{potentialRoleId}/export-async | Asynchronously export details for a potential role in a role mining session and upload to S3 +[**Export-V2024RoleMiningPotentialRoleStatus**](V2024IAIRoleMiningApi.md#Export-V2024RoleMiningPotentialRoleStatus) | **GET** /role-mining-sessions/{sessionId}/potential-roles/{potentialRoleId}/export-async/{exportId} | Retrieve status of a potential role export job +[**Get-V2024AllPotentialRoleSummaries**](V2024IAIRoleMiningApi.md#Get-V2024AllPotentialRoleSummaries) | **GET** /role-mining-potential-roles | Retrieves all potential role summaries +[**Get-V2024EntitlementDistributionPotentialRole**](V2024IAIRoleMiningApi.md#Get-V2024EntitlementDistributionPotentialRole) | **GET** /role-mining-sessions/{sessionId}/potential-roles/{potentialRoleId}/entitlement-popularity-distribution | Retrieves entitlement popularity distribution for a potential role in a role mining session +[**Get-V2024EntitlementsPotentialRole**](V2024IAIRoleMiningApi.md#Get-V2024EntitlementsPotentialRole) | **GET** /role-mining-sessions/{sessionId}/potential-roles/{potentialRoleId}/entitlement-popularities | Retrieves entitlements for a potential role in a role mining session +[**Get-V2024ExcludedEntitlementsPotentialRole**](V2024IAIRoleMiningApi.md#Get-V2024ExcludedEntitlementsPotentialRole) | **GET** /role-mining-sessions/{sessionId}/potential-roles/{potentialRoleId}/excluded-entitlements | Retrieves excluded entitlements for a potential role in a role mining session +[**Get-V2024IdentitiesPotentialRole**](V2024IAIRoleMiningApi.md#Get-V2024IdentitiesPotentialRole) | **GET** /role-mining-sessions/{sessionId}/potential-roles/{potentialRoleId}/identities | Retrieves identities for a potential role in a role mining session +[**Get-V2024PotentialRole**](V2024IAIRoleMiningApi.md#Get-V2024PotentialRole) | **GET** /role-mining-sessions/{sessionId}/potential-role-summaries/{potentialRoleId} | Retrieves a specific potential role +[**Get-V2024PotentialRoleApplications**](V2024IAIRoleMiningApi.md#Get-V2024PotentialRoleApplications) | **GET** /role-mining-sessions/{sessionId}/potential-role-summaries/{potentialRoleId}/applications | Retrieves the applications of a potential role for a role mining session +[**Get-V2024PotentialRoleSourceIdentityUsage**](V2024IAIRoleMiningApi.md#Get-V2024PotentialRoleSourceIdentityUsage) | **GET** /role-mining-potential-roles/{potentialRoleId}/sources/{sourceId}/identityUsage | Retrieves potential role source usage +[**Get-V2024PotentialRoleSummaries**](V2024IAIRoleMiningApi.md#Get-V2024PotentialRoleSummaries) | **GET** /role-mining-sessions/{sessionId}/potential-role-summaries | Retrieves all potential role summaries +[**Get-V2024RoleMiningPotentialRole**](V2024IAIRoleMiningApi.md#Get-V2024RoleMiningPotentialRole) | **GET** /role-mining-potential-roles/{potentialRoleId} | Retrieves a specific potential role +[**Get-V2024RoleMiningSession**](V2024IAIRoleMiningApi.md#Get-V2024RoleMiningSession) | **GET** /role-mining-sessions/{sessionId} | Get a role mining session +[**Get-V2024RoleMiningSessionStatus**](V2024IAIRoleMiningApi.md#Get-V2024RoleMiningSessionStatus) | **GET** /role-mining-sessions/{sessionId}/status | Get role mining session status state +[**Get-V2024RoleMiningSessions**](V2024IAIRoleMiningApi.md#Get-V2024RoleMiningSessions) | **GET** /role-mining-sessions | Retrieves all role mining sessions +[**Get-V2024SavedPotentialRoles**](V2024IAIRoleMiningApi.md#Get-V2024SavedPotentialRoles) | **GET** /role-mining-potential-roles/saved | Retrieves all saved potential roles +[**Update-V2024PotentialRole**](V2024IAIRoleMiningApi.md#Update-V2024PotentialRole) | **PATCH** /role-mining-sessions/{sessionId}/potential-role-summaries/{potentialRoleId} | Update a potential role +[**Update-V2024PotentialRole0**](V2024IAIRoleMiningApi.md#Update-V2024PotentialRole0) | **PATCH** /role-mining-potential-roles/{potentialRoleId} | Update a potential role +[**Update-V2024RoleMiningSession**](V2024IAIRoleMiningApi.md#Update-V2024RoleMiningSession) | **PATCH** /role-mining-sessions/{sessionId} | Patch a role mining session +[**Update-V2024EntitlementsPotentialRole**](V2024IAIRoleMiningApi.md#Update-V2024EntitlementsPotentialRole) | **POST** /role-mining-sessions/{sessionId}/potential-roles/{potentialRoleId}/edit-entitlements | Edit entitlements for a potential role to exclude some entitlements + + + +# **New-V2024PotentialRoleProvisionRequest** +> RoleMiningPotentialRoleSummary New-V2024PotentialRoleProvisionRequest
+>         [-SessionId]
+>         [-PotentialRoleId]
+>         [-XSailPointExperimental]
+>         [-MinEntitlementPopularity]
+>         [-IncludeCommonAccess]
+>         [-RoleMiningPotentialRoleProvisionRequest]
+ +Create request to provision a potential role into an actual role. + +This method starts a job to provision a potential role + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$SessionId = "8c190e67-87aa-4ed9-a90b-d9d5344523fb" # String | The role mining session id +$PotentialRoleId = "8c190e67-87aa-4ed9-a90b-d9d5344523fb" # String | A potential role id in a role mining session +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$MinEntitlementPopularity = 56 # Int32 | Minimum popularity required for an entitlement to be included in the provisioned role. (optional) (default to 0) +$IncludeCommonAccess = $true # Boolean | Boolean determining whether common access entitlements will be included in the provisioned role. (optional) (default to $true) +$RoleMiningPotentialRoleProvisionRequest = Initialize-RoleMiningPotentialRoleProvisionRequest -RoleName "Finance - Accounting" -RoleDescription "General access for accounting department" -OwnerId "2b568c65bc3c4c57a43bd97e3a8e41" -IncludeIdentities $true -DirectlyAssignedEntitlements $false # RoleMiningPotentialRoleProvisionRequest | Required information to create a new role (optional) + +# Create request to provision a potential role into an actual role. +try { + $Result = New-V2024PotentialRoleProvisionRequest -SessionId $SessionId -PotentialRoleId $PotentialRoleId -XSailPointExperimental $XSailPointExperimental -MinEntitlementPopularity $MinEntitlementPopularity -IncludeCommonAccess $IncludeCommonAccess -RoleMiningPotentialRoleProvisionRequest $RoleMiningPotentialRoleProvisionRequest +} catch { + Write-Host ("Exception occurred when calling New-V2024PotentialRoleProvisionRequest: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **SessionId** | **String**| The role mining session id | + **PotentialRoleId** | **String**| A potential role id in a role mining session | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **MinEntitlementPopularity** | **Int32**| Minimum popularity required for an entitlement to be included in the provisioned role. | [optional] [default to 0] + **IncludeCommonAccess** | **Boolean**| Boolean determining whether common access entitlements will be included in the provisioned role. | [optional] [default to $true] + **RoleMiningPotentialRoleProvisionRequest** | [**RoleMiningPotentialRoleProvisionRequest**](RoleMiningPotentialRoleProvisionRequest.md)| Required information to create a new role | [optional] + +### Return type + +[**RoleMiningPotentialRoleSummary**](RoleMiningPotentialRoleSummary.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **New-V2024RoleMiningSessions** +> RoleMiningSessionResponse New-V2024RoleMiningSessions
+>         [-XSailPointExperimental]
+>         [-RoleMiningSessionDto]
+ +Create a role mining session + +This submits a create role mining session request to the role mining application. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$RoleMiningSessionScope = Initialize-RoleMiningSessionScope -IdentityIds "MyIdentityIds" -Criteria "source.name:DataScienceDataset" -AttributeFilterCriteria +$RoleMiningSessionDto = Initialize-RoleMiningSessionDto -Scope $RoleMiningSessionScope -PruneThreshold 50 -PrescribedPruneThreshold 10 -MinNumIdentitiesInPotentialRole 20 -PotentialRoleCount 0 -PotentialRolesReadyCount 0 -Type "SPECIALIZED" -EmailRecipientId "2c918090761a5aac0176215c46a62d58" -IdentityCount 0 -Saved $true -Name "Saved RM Session - 07/10" # RoleMiningSessionDto | Role mining session parameters + +# Create a role mining session +try { + $Result = New-V2024RoleMiningSessions -XSailPointExperimental $XSailPointExperimental -RoleMiningSessionDto $RoleMiningSessionDto +} catch { + Write-Host ("Exception occurred when calling New-V2024RoleMiningSessions: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **RoleMiningSessionDto** | [**RoleMiningSessionDto**](RoleMiningSessionDto.md)| Role mining session parameters | + +### Return type + +[**RoleMiningSessionResponse**](RoleMiningSessionResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Invoke-V2024DownloadRoleMiningPotentialRoleZip** +> System.IO.FileInfo Invoke-V2024DownloadRoleMiningPotentialRoleZip
+>         [-SessionId]
+>         [-PotentialRoleId]
+>         [-ExportId]
+>         [-XSailPointExperimental]
+ +Export (download) details for a potential role in a role mining session + +This endpoint downloads a completed export of information for a potential role in a role mining session. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$SessionId = "8c190e67-87aa-4ed9-a90b-d9d5344523fb" # String | The role mining session id +$PotentialRoleId = "278359a6-04b7-4669-9468-924cf580964a" # String | A potential role id in a role mining session +$ExportId = "4940ffd4-836f-48a3-b2b0-6d498c3fdf40" # String | The id of a previously run export job for this potential role +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Export (download) details for a potential role in a role mining session +try { + $Result = Invoke-V2024DownloadRoleMiningPotentialRoleZip -SessionId $SessionId -PotentialRoleId $PotentialRoleId -ExportId $ExportId -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Invoke-V2024DownloadRoleMiningPotentialRoleZip: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **SessionId** | **String**| The role mining session id | + **PotentialRoleId** | **String**| A potential role id in a role mining session | + **ExportId** | **String**| The id of a previously run export job for this potential role | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +**System.IO.FileInfo** + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/zip, application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Export-V2024RoleMiningPotentialRole** +> System.IO.FileInfo Export-V2024RoleMiningPotentialRole
+>         [-SessionId]
+>         [-PotentialRoleId]
+>         [-XSailPointExperimental]
+ +Export (download) details for a potential role in a role mining session + +This endpoint downloads all the information for a potential role in a role mining session. Includes identities and entitlements in the potential role. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$SessionId = "8c190e67-87aa-4ed9-a90b-d9d5344523fb" # String | The role mining session id +$PotentialRoleId = "8c190e67-87aa-4ed9-a90b-d9d5344523fb" # String | A potential role id in a role mining session +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Export (download) details for a potential role in a role mining session +try { + $Result = Export-V2024RoleMiningPotentialRole -SessionId $SessionId -PotentialRoleId $PotentialRoleId -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Export-V2024RoleMiningPotentialRole: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **SessionId** | **String**| The role mining session id | + **PotentialRoleId** | **String**| A potential role id in a role mining session | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +**System.IO.FileInfo** + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/zip, application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Export-V2024RoleMiningPotentialRoleAsync** +> RoleMiningPotentialRoleExportResponse Export-V2024RoleMiningPotentialRoleAsync
+>         [-SessionId]
+>         [-PotentialRoleId]
+>         [-XSailPointExperimental]
+>         [-RoleMiningPotentialRoleExportRequest]
+ +Asynchronously export details for a potential role in a role mining session and upload to S3 + +This endpoint uploads all the information for a potential role in a role mining session to S3 as a downloadable zip archive. Includes identities and entitlements in the potential role. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$SessionId = "8c190e67-87aa-4ed9-a90b-d9d5344523fb" # String | The role mining session id +$PotentialRoleId = "278359a6-04b7-4669-9468-924cf580964a" # String | A potential role id in a role mining session +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$RoleMiningPotentialRoleExportRequest = Initialize-RoleMiningPotentialRoleExportRequest -MinEntitlementPopularity 0 -IncludeCommonAccess $true # RoleMiningPotentialRoleExportRequest | (optional) + +# Asynchronously export details for a potential role in a role mining session and upload to S3 +try { + $Result = Export-V2024RoleMiningPotentialRoleAsync -SessionId $SessionId -PotentialRoleId $PotentialRoleId -XSailPointExperimental $XSailPointExperimental -RoleMiningPotentialRoleExportRequest $RoleMiningPotentialRoleExportRequest +} catch { + Write-Host ("Exception occurred when calling Export-V2024RoleMiningPotentialRoleAsync: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **SessionId** | **String**| The role mining session id | + **PotentialRoleId** | **String**| A potential role id in a role mining session | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **RoleMiningPotentialRoleExportRequest** | [**RoleMiningPotentialRoleExportRequest**](RoleMiningPotentialRoleExportRequest.md)| | [optional] + +### Return type + +[**RoleMiningPotentialRoleExportResponse**](RoleMiningPotentialRoleExportResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Export-V2024RoleMiningPotentialRoleStatus** +> RoleMiningPotentialRoleExportResponse Export-V2024RoleMiningPotentialRoleStatus
+>         [-SessionId]
+>         [-PotentialRoleId]
+>         [-ExportId]
+>         [-XSailPointExperimental]
+ +Retrieve status of a potential role export job + +This endpoint retrieves information about the current status of a potential role export. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$SessionId = "8c190e67-87aa-4ed9-a90b-d9d5344523fb" # String | The role mining session id +$PotentialRoleId = "278359a6-04b7-4669-9468-924cf580964a" # String | A potential role id in a role mining session +$ExportId = "4940ffd4-836f-48a3-b2b0-6d498c3fdf40" # String | The id of a previously run export job for this potential role +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Retrieve status of a potential role export job +try { + $Result = Export-V2024RoleMiningPotentialRoleStatus -SessionId $SessionId -PotentialRoleId $PotentialRoleId -ExportId $ExportId -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Export-V2024RoleMiningPotentialRoleStatus: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **SessionId** | **String**| The role mining session id | + **PotentialRoleId** | **String**| A potential role id in a role mining session | + **ExportId** | **String**| The id of a previously run export job for this potential role | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**RoleMiningPotentialRoleExportResponse**](RoleMiningPotentialRoleExportResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024AllPotentialRoleSummaries** +> RoleMiningPotentialRoleSummary[] Get-V2024AllPotentialRoleSummaries
+>         [-XSailPointExperimental]
+>         [-Sorters]
+>         [-Filters]
+>         [-Offset]
+>         [-Limit]
+>         [-Count]
+ +Retrieves all potential role summaries + +Returns all potential role summaries that match the query parameters + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Sorters = "createdDate" # String | 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: **createdDate, identityCount, entitlementCount, freshness, quality** (optional) +$Filters = "(createdByName co "int") and (createdById sw "2c9180907") and (type eq "COMMON") and ((name co "entt") or (saved eq true))" # 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: **createdById**: *eq, sw, co* **createdByName**: *eq, sw, co* **description**: *sw, co* **endDate**: *le, lt* **freshness**: *eq, ge, gt, le, lt* **name**: *eq, sw, co, ge, gt, le, lt* **quality**: *eq, ge, gt, le, lt* **startDate**: *ge, gt* **saved**: *eq* **type**: *eq, ge, gt, le, lt* **scopingMethod**: *eq* **sessionState**: *eq* **identityAttribute**: *co* (optional) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Count = $true # Boolean | 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. (optional) (default to $false) + +# Retrieves all potential role summaries +try { + $Result = Get-V2024AllPotentialRoleSummaries -XSailPointExperimental $XSailPointExperimental -Sorters $Sorters -Filters $Filters -Offset $Offset -Limit $Limit -Count $Count +} catch { + Write-Host ("Exception occurred when calling Get-V2024AllPotentialRoleSummaries: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Sorters** | **String**| 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: **createdDate, identityCount, entitlementCount, freshness, quality** | [optional] + **Filters** | **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: **createdById**: *eq, sw, co* **createdByName**: *eq, sw, co* **description**: *sw, co* **endDate**: *le, lt* **freshness**: *eq, ge, gt, le, lt* **name**: *eq, sw, co, ge, gt, le, lt* **quality**: *eq, ge, gt, le, lt* **startDate**: *ge, gt* **saved**: *eq* **type**: *eq, ge, gt, le, lt* **scopingMethod**: *eq* **sessionState**: *eq* **identityAttribute**: *co* | [optional] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Count** | **Boolean**| 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. | [optional] [default to $false] + +### Return type + +[**RoleMiningPotentialRoleSummary[]**](RoleMiningPotentialRoleSummary.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024EntitlementDistributionPotentialRole** +> System.Collections.Hashtable Get-V2024EntitlementDistributionPotentialRole
+>         [-SessionId]
+>         [-PotentialRoleId]
+>         [-XSailPointExperimental]
+>         [-IncludeCommonAccess]
+ +Retrieves entitlement popularity distribution for a potential role in a role mining session + +This method returns entitlement popularity distribution for a potential role in a role mining session. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$SessionId = "8c190e67-87aa-4ed9-a90b-d9d5344523fb" # String | The role mining session id +$PotentialRoleId = "8c190e67-87aa-4ed9-a90b-d9d5344523fb" # String | A potential role id in a role mining session +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$IncludeCommonAccess = $true # Boolean | Boolean determining whether common access entitlements will be included or not (optional) + +# Retrieves entitlement popularity distribution for a potential role in a role mining session +try { + $Result = Get-V2024EntitlementDistributionPotentialRole -SessionId $SessionId -PotentialRoleId $PotentialRoleId -XSailPointExperimental $XSailPointExperimental -IncludeCommonAccess $IncludeCommonAccess +} catch { + Write-Host ("Exception occurred when calling Get-V2024EntitlementDistributionPotentialRole: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **SessionId** | **String**| The role mining session id | + **PotentialRoleId** | **String**| A potential role id in a role mining session | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **IncludeCommonAccess** | **Boolean**| Boolean determining whether common access entitlements will be included or not | [optional] + +### Return type + +**System.Collections.Hashtable** + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024EntitlementsPotentialRole** +> RoleMiningEntitlement[] Get-V2024EntitlementsPotentialRole
+>         [-SessionId]
+>         [-PotentialRoleId]
+>         [-XSailPointExperimental]
+>         [-IncludeCommonAccess]
+>         [-Sorters]
+>         [-Filters]
+>         [-Offset]
+>         [-Limit]
+>         [-Count]
+ +Retrieves entitlements for a potential role in a role mining session + +This method returns entitlements for a potential role in a role mining session. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$SessionId = "8c190e67-87aa-4ed9-a90b-d9d5344523fb" # String | The role mining session id +$PotentialRoleId = "8c190e67-87aa-4ed9-a90b-d9d5344523fb" # String | A potential role id in a role mining session +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$IncludeCommonAccess = $true # Boolean | Boolean determining whether common access entitlements will be included or not (optional) (default to $true) +$Sorters = "popularity" # String | 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: **popularity, entitlementName, applicationName** The default sort is **popularity** in descending order. (optional) +$Filters = "applicationName sw "AD"" # 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: **applicationName**: *sw* **entitlementRef.name**: *sw* (optional) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Count = $true # Boolean | 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. (optional) (default to $false) + +# Retrieves entitlements for a potential role in a role mining session +try { + $Result = Get-V2024EntitlementsPotentialRole -SessionId $SessionId -PotentialRoleId $PotentialRoleId -XSailPointExperimental $XSailPointExperimental -IncludeCommonAccess $IncludeCommonAccess -Sorters $Sorters -Filters $Filters -Offset $Offset -Limit $Limit -Count $Count +} catch { + Write-Host ("Exception occurred when calling Get-V2024EntitlementsPotentialRole: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **SessionId** | **String**| The role mining session id | + **PotentialRoleId** | **String**| A potential role id in a role mining session | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **IncludeCommonAccess** | **Boolean**| Boolean determining whether common access entitlements will be included or not | [optional] [default to $true] + **Sorters** | **String**| 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: **popularity, entitlementName, applicationName** The default sort is **popularity** in descending order. | [optional] + **Filters** | **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: **applicationName**: *sw* **entitlementRef.name**: *sw* | [optional] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Count** | **Boolean**| 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. | [optional] [default to $false] + +### Return type + +[**RoleMiningEntitlement[]**](RoleMiningEntitlement.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024ExcludedEntitlementsPotentialRole** +> RoleMiningEntitlement[] Get-V2024ExcludedEntitlementsPotentialRole
+>         [-SessionId]
+>         [-PotentialRoleId]
+>         [-XSailPointExperimental]
+>         [-Sorters]
+>         [-Filters]
+>         [-Offset]
+>         [-Limit]
+>         [-Count]
+ +Retrieves excluded entitlements for a potential role in a role mining session + +This method returns excluded entitlements for a potential role in a role mining session. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$SessionId = "8c190e67-87aa-4ed9-a90b-d9d5344523fb" # String | The role mining session id +$PotentialRoleId = "8c190e67-87aa-4ed9-a90b-d9d5344523fb" # String | A potential role id in a role mining session +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Sorters = "populariity" # String | 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: **popularity** (optional) +$Filters = "applicationName sw "AD"" # 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: **applicationName**: *sw* **entitlementRef.name**: *sw* (optional) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Count = $true # Boolean | 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. (optional) (default to $false) + +# Retrieves excluded entitlements for a potential role in a role mining session +try { + $Result = Get-V2024ExcludedEntitlementsPotentialRole -SessionId $SessionId -PotentialRoleId $PotentialRoleId -XSailPointExperimental $XSailPointExperimental -Sorters $Sorters -Filters $Filters -Offset $Offset -Limit $Limit -Count $Count +} catch { + Write-Host ("Exception occurred when calling Get-V2024ExcludedEntitlementsPotentialRole: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **SessionId** | **String**| The role mining session id | + **PotentialRoleId** | **String**| A potential role id in a role mining session | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Sorters** | **String**| 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: **popularity** | [optional] + **Filters** | **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: **applicationName**: *sw* **entitlementRef.name**: *sw* | [optional] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Count** | **Boolean**| 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. | [optional] [default to $false] + +### Return type + +[**RoleMiningEntitlement[]**](RoleMiningEntitlement.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024IdentitiesPotentialRole** +> RoleMiningIdentity[] Get-V2024IdentitiesPotentialRole
+>         [-SessionId]
+>         [-PotentialRoleId]
+>         [-XSailPointExperimental]
+>         [-Sorters]
+>         [-Filters]
+>         [-Offset]
+>         [-Limit]
+>         [-Count]
+ +Retrieves identities for a potential role in a role mining session + +This method returns identities for a potential role in a role mining session. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$SessionId = "8c190e67-87aa-4ed9-a90b-d9d5344523fb" # String | The role mining session id +$PotentialRoleId = "8c190e67-87aa-4ed9-a90b-d9d5344523fb" # String | A potential role id in a role mining session +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Sorters = "name" # String | 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: **name** (optional) +$Filters = "MyFilters" # 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: **name**: *sw* (optional) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Count = $true # Boolean | 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. (optional) (default to $false) + +# Retrieves identities for a potential role in a role mining session +try { + $Result = Get-V2024IdentitiesPotentialRole -SessionId $SessionId -PotentialRoleId $PotentialRoleId -XSailPointExperimental $XSailPointExperimental -Sorters $Sorters -Filters $Filters -Offset $Offset -Limit $Limit -Count $Count +} catch { + Write-Host ("Exception occurred when calling Get-V2024IdentitiesPotentialRole: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **SessionId** | **String**| The role mining session id | + **PotentialRoleId** | **String**| A potential role id in a role mining session | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Sorters** | **String**| 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: **name** | [optional] + **Filters** | **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: **name**: *sw* | [optional] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Count** | **Boolean**| 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. | [optional] [default to $false] + +### Return type + +[**RoleMiningIdentity[]**](RoleMiningIdentity.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024PotentialRole** +> RoleMiningPotentialRole Get-V2024PotentialRole
+>         [-SessionId]
+>         [-PotentialRoleId]
+>         [-XSailPointExperimental]
+ +Retrieves a specific potential role + +This method returns a specific potential role for a role mining session. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$SessionId = "8c190e67-87aa-4ed9-a90b-d9d5344523fb" # String | The role mining session id +$PotentialRoleId = "8c190e67-87aa-4ed9-a90b-d9d5344523fb" # String | A potential role id in a role mining session +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Retrieves a specific potential role +try { + $Result = Get-V2024PotentialRole -SessionId $SessionId -PotentialRoleId $PotentialRoleId -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Get-V2024PotentialRole: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **SessionId** | **String**| The role mining session id | + **PotentialRoleId** | **String**| A potential role id in a role mining session | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**RoleMiningPotentialRole**](RoleMiningPotentialRole.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024PotentialRoleApplications** +> RoleMiningPotentialRoleApplication[] Get-V2024PotentialRoleApplications
+>         [-SessionId]
+>         [-PotentialRoleId]
+>         [-XSailPointExperimental]
+>         [-Offset]
+>         [-Limit]
+>         [-Count]
+ +Retrieves the applications of a potential role for a role mining session + +This method returns the applications of a potential role for a role mining session. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$SessionId = "8c190e67-87aa-4ed9-a90b-d9d5344523fb" # String | The role mining session id +$PotentialRoleId = "8c190e67-87aa-4ed9-a90b-d9d5344523fb" # String | A potential role id in a role mining session +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Count = $true # Boolean | 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. (optional) (default to $false) + +# Retrieves the applications of a potential role for a role mining session +try { + $Result = Get-V2024PotentialRoleApplications -SessionId $SessionId -PotentialRoleId $PotentialRoleId -XSailPointExperimental $XSailPointExperimental -Offset $Offset -Limit $Limit -Count $Count +} catch { + Write-Host ("Exception occurred when calling Get-V2024PotentialRoleApplications: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **SessionId** | **String**| The role mining session id | + **PotentialRoleId** | **String**| A potential role id in a role mining session | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Count** | **Boolean**| 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. | [optional] [default to $false] + +### Return type + +[**RoleMiningPotentialRoleApplication[]**](RoleMiningPotentialRoleApplication.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024PotentialRoleSourceIdentityUsage** +> RoleMiningPotentialRoleSourceUsage[] Get-V2024PotentialRoleSourceIdentityUsage
+>         [-PotentialRoleId]
+>         [-SourceId]
+>         [-XSailPointExperimental]
+>         [-Sorters]
+>         [-Offset]
+>         [-Limit]
+>         [-Count]
+ +Retrieves potential role source usage + +This method returns source usageCount (as number of days in the last 90 days) for each identity in a potential role. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$PotentialRoleId = "e0cc5d7d-bf7f-4f81-b2af-8885b09d9923" # String | A potential role id +$SourceId = "2c9180877620c1460176267f336a106f" # String | A source id +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Sorters = "-usageCount" # String | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters/) Sorting is supported for the following fields: **displayName, email, usageCount** (optional) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Count = $true # Boolean | 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. (optional) (default to $false) + +# Retrieves potential role source usage +try { + $Result = Get-V2024PotentialRoleSourceIdentityUsage -PotentialRoleId $PotentialRoleId -SourceId $SourceId -XSailPointExperimental $XSailPointExperimental -Sorters $Sorters -Offset $Offset -Limit $Limit -Count $Count +} catch { + Write-Host ("Exception occurred when calling Get-V2024PotentialRoleSourceIdentityUsage: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **PotentialRoleId** | **String**| A potential role id | + **SourceId** | **String**| A source id | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Sorters** | **String**| Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters/) Sorting is supported for the following fields: **displayName, email, usageCount** | [optional] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Count** | **Boolean**| 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. | [optional] [default to $false] + +### Return type + +[**RoleMiningPotentialRoleSourceUsage[]**](RoleMiningPotentialRoleSourceUsage.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024PotentialRoleSummaries** +> RoleMiningPotentialRoleSummary[] Get-V2024PotentialRoleSummaries
+>         [-SessionId]
+>         [-XSailPointExperimental]
+>         [-Sorters]
+>         [-Filters]
+>         [-Offset]
+>         [-Limit]
+>         [-Count]
+ +Retrieves all potential role summaries + +This method returns the potential role summaries for a role mining session. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$SessionId = "8c190e67-87aa-4ed9-a90b-d9d5344523fb" # String | The role mining session id +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Sorters = "createdDate" # String | 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: **createdDate** (optional) +$Filters = "(createdByName co "int")and (createdById sw "2c9180907")and (type eq "COMMON")and ((name co "entt")or (saved eq true))" # 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: **createdById**: *eq, sw, co* **createdByName**: *eq, sw, co* **description**: *sw, co* **endDate**: *le, lt* **freshness**: *eq, ge, gt, le, lt* **name**: *eq, sw, co* **quality**: *eq, ge, gt, le, lt* **startDate**: *ge, gt* **saved**: *eq* **type**: *eq* (optional) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Count = $true # Boolean | 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. (optional) (default to $false) + +# Retrieves all potential role summaries +try { + $Result = Get-V2024PotentialRoleSummaries -SessionId $SessionId -XSailPointExperimental $XSailPointExperimental -Sorters $Sorters -Filters $Filters -Offset $Offset -Limit $Limit -Count $Count +} catch { + Write-Host ("Exception occurred when calling Get-V2024PotentialRoleSummaries: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **SessionId** | **String**| The role mining session id | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Sorters** | **String**| 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: **createdDate** | [optional] + **Filters** | **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: **createdById**: *eq, sw, co* **createdByName**: *eq, sw, co* **description**: *sw, co* **endDate**: *le, lt* **freshness**: *eq, ge, gt, le, lt* **name**: *eq, sw, co* **quality**: *eq, ge, gt, le, lt* **startDate**: *ge, gt* **saved**: *eq* **type**: *eq* | [optional] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Count** | **Boolean**| 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. | [optional] [default to $false] + +### Return type + +[**RoleMiningPotentialRoleSummary[]**](RoleMiningPotentialRoleSummary.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024RoleMiningPotentialRole** +> RoleMiningPotentialRole Get-V2024RoleMiningPotentialRole
+>         [-PotentialRoleId]
+>         [-XSailPointExperimental]
+ +Retrieves a specific potential role + +This method returns a specific potential role. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$PotentialRoleId = "8c190e67-87aa-4ed9-a90b-d9d5344523fb" # String | A potential role id +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Retrieves a specific potential role +try { + $Result = Get-V2024RoleMiningPotentialRole -PotentialRoleId $PotentialRoleId -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Get-V2024RoleMiningPotentialRole: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **PotentialRoleId** | **String**| A potential role id | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**RoleMiningPotentialRole**](RoleMiningPotentialRole.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024RoleMiningSession** +> RoleMiningSessionResponse Get-V2024RoleMiningSession
+>         [-SessionId]
+>         [-XSailPointExperimental]
+ +Get a role mining session + +The method retrieves a role mining session. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$SessionId = "8c190e67-87aa-4ed9-a90b-d9d5344523fb" # String | The role mining session id to be retrieved. +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Get a role mining session +try { + $Result = Get-V2024RoleMiningSession -SessionId $SessionId -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Get-V2024RoleMiningSession: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **SessionId** | **String**| The role mining session id to be retrieved. | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**RoleMiningSessionResponse**](RoleMiningSessionResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024RoleMiningSessionStatus** +> RoleMiningSessionStatus Get-V2024RoleMiningSessionStatus
+>         [-SessionId]
+>         [-XSailPointExperimental]
+ +Get role mining session status state + +This method returns a role mining session status for a customer. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$SessionId = "8c190e67-87aa-4ed9-a90b-d9d5344523fb" # String | The role mining session id +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Get role mining session status state +try { + $Result = Get-V2024RoleMiningSessionStatus -SessionId $SessionId -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Get-V2024RoleMiningSessionStatus: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **SessionId** | **String**| The role mining session id | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**RoleMiningSessionStatus**](RoleMiningSessionStatus.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024RoleMiningSessions** +> RoleMiningSessionDto[] Get-V2024RoleMiningSessions
+>         [-XSailPointExperimental]
+>         [-Filters]
+>         [-Sorters]
+>         [-Offset]
+>         [-Limit]
+>         [-Count]
+ +Retrieves all role mining sessions + +Returns all role mining sessions that match the query parameters + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Filters = "saved eq "true" and name sw "RM Session"" # 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: **saved**: *eq* **name**: *eq, sw* (optional) +$Sorters = "createdBy,createdDate" # String | 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: **createdBy, createdDate** (optional) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Count = $true # Boolean | 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. (optional) (default to $false) + +# Retrieves all role mining sessions +try { + $Result = Get-V2024RoleMiningSessions -XSailPointExperimental $XSailPointExperimental -Filters $Filters -Sorters $Sorters -Offset $Offset -Limit $Limit -Count $Count +} catch { + Write-Host ("Exception occurred when calling Get-V2024RoleMiningSessions: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Filters** | **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: **saved**: *eq* **name**: *eq, sw* | [optional] + **Sorters** | **String**| 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: **createdBy, createdDate** | [optional] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Count** | **Boolean**| 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. | [optional] [default to $false] + +### Return type + +[**RoleMiningSessionDto[]**](RoleMiningSessionDto.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024SavedPotentialRoles** +> RoleMiningSessionDraftRoleDto[] Get-V2024SavedPotentialRoles
+>         [-XSailPointExperimental]
+>         [-Sorters]
+>         [-Offset]
+>         [-Limit]
+>         [-Count]
+ +Retrieves all saved potential roles + +This method returns all saved potential roles (draft roles). + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Sorters = "modified" # String | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters/) Sorting is supported for the following fields: **modified** (optional) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Count = $true # Boolean | 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. (optional) (default to $false) + +# Retrieves all saved potential roles +try { + $Result = Get-V2024SavedPotentialRoles -XSailPointExperimental $XSailPointExperimental -Sorters $Sorters -Offset $Offset -Limit $Limit -Count $Count +} catch { + Write-Host ("Exception occurred when calling Get-V2024SavedPotentialRoles: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Sorters** | **String**| Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters/) Sorting is supported for the following fields: **modified** | [optional] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Count** | **Boolean**| 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. | [optional] [default to $false] + +### Return type + +[**RoleMiningSessionDraftRoleDto[]**](RoleMiningSessionDraftRoleDto.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Update-V2024PotentialRole** +> SystemCollectionsHashtable Update-V2024PotentialRole
+>         [-SessionId]
+>         [-PotentialRoleId]
+>         [-XSailPointExperimental]
+>         [-PatchPotentialRoleRequestInner]
+ +Update a potential role + +The method updates an existing potential role using. The following fields can be modified: * `description` * `name` * `saved` >**NOTE: All other fields cannot be modified.** + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$SessionId = "8c190e67-87aa-4ed9-a90b-d9d5344523fb" # String | The role mining session id +$PotentialRoleId = "8c190e67-87aa-4ed9-a90b-d9d5344523fb" # String | The potential role summary id +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$JsonPatchOperationValue = Initialize-JsonPatchOperationValue +$PatchPotentialRoleRequestInner = Initialize-PatchPotentialRoleRequestInner -Op "remove" -Path "/description" -Value $JsonPatchOperationValue # PatchPotentialRoleRequestInner[] | + +# Update a potential role +try { + $Result = Update-V2024PotentialRole -SessionId $SessionId -PotentialRoleId $PotentialRoleId -XSailPointExperimental $XSailPointExperimental -PatchPotentialRoleRequestInner $PatchPotentialRoleRequestInner +} catch { + Write-Host ("Exception occurred when calling Update-V2024PotentialRole: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **SessionId** | **String**| The role mining session id | + **PotentialRoleId** | **String**| The potential role summary id | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **PatchPotentialRoleRequestInner** | [**PatchPotentialRoleRequestInner[]**](PatchPotentialRoleRequestInner.md)| | + +### Return type + +[**SystemCollectionsHashtable**](SystemCollectionsHashtable.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Update-V2024PotentialRole0** +> SystemCollectionsHashtable Update-V2024PotentialRole0
+>         [-SessionId]
+>         [-PotentialRoleId]
+>         [-XSailPointExperimental]
+>         [-PatchPotentialRoleRequestInner]
+ +Update a potential role + +The method updates an existing potential role using. The following fields can be modified: * `description` * `name` * `saved` >**NOTE: All other fields cannot be modified.** + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$SessionId = "8c190e67-87aa-4ed9-a90b-d9d5344523fb" # String | The role mining session id +$PotentialRoleId = "8c190e67-87aa-4ed9-a90b-d9d5344523fb" # String | The potential role summary id +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$JsonPatchOperationValue = Initialize-JsonPatchOperationValue +$PatchPotentialRoleRequestInner = Initialize-PatchPotentialRoleRequestInner -Op "remove" -Path "/description" -Value $JsonPatchOperationValue # PatchPotentialRoleRequestInner[] | + +# Update a potential role +try { + $Result = Update-V2024PotentialRole0 -SessionId $SessionId -PotentialRoleId $PotentialRoleId -XSailPointExperimental $XSailPointExperimental -PatchPotentialRoleRequestInner $PatchPotentialRoleRequestInner +} catch { + Write-Host ("Exception occurred when calling Update-V2024PotentialRole0: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **SessionId** | **String**| The role mining session id | + **PotentialRoleId** | **String**| The potential role summary id | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **PatchPotentialRoleRequestInner** | [**PatchPotentialRoleRequestInner[]**](PatchPotentialRoleRequestInner.md)| | + +### Return type + +[**SystemCollectionsHashtable**](SystemCollectionsHashtable.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Update-V2024RoleMiningSession** +> SystemCollectionsHashtable Update-V2024RoleMiningSession
+>         [-SessionId]
+>         [-XSailPointExperimental]
+>         [-JsonPatchOperation]
+ +Patch a role mining session + +The method updates an existing role mining session using PATCH. Supports op in {""replace""} and changes to pruneThreshold and/or minNumIdentitiesInPotentialRole. The potential roles in this role mining session is then re-calculated. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$SessionId = "8c190e67-87aa-4ed9-a90b-d9d5344523fb" # String | The role mining session id to be patched +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$JsonPatchOperationValue = Initialize-JsonPatchOperationValue +$JsonPatchOperation = Initialize-JsonPatchOperation -Op "add" -Path "/description" -Value $JsonPatchOperationValue # JsonPatchOperation[] | Replace pruneThreshold and/or minNumIdentitiesInPotentialRole in role mining session. Update saved status or saved name for a role mining session. + +# Patch a role mining session +try { + $Result = Update-V2024RoleMiningSession -SessionId $SessionId -XSailPointExperimental $XSailPointExperimental -JsonPatchOperation $JsonPatchOperation +} catch { + Write-Host ("Exception occurred when calling Update-V2024RoleMiningSession: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **SessionId** | **String**| The role mining session id to be patched | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **JsonPatchOperation** | [**JsonPatchOperation[]**](JsonPatchOperation.md)| Replace pruneThreshold and/or minNumIdentitiesInPotentialRole in role mining session. Update saved status or saved name for a role mining session. | + +### Return type + +[**SystemCollectionsHashtable**](SystemCollectionsHashtable.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Update-V2024EntitlementsPotentialRole** +> RoleMiningPotentialRole Update-V2024EntitlementsPotentialRole
+>         [-SessionId]
+>         [-PotentialRoleId]
+>         [-XSailPointExperimental]
+>         [-RoleMiningPotentialRoleEditEntitlements]
+ +Edit entitlements for a potential role to exclude some entitlements + +This endpoint adds or removes entitlements from an exclusion list for a potential role. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$SessionId = "8c190e67-87aa-4ed9-a90b-d9d5344523fb" # String | The role mining session id +$PotentialRoleId = "8c190e67-87aa-4ed9-a90b-d9d5344523fb" # String | A potential role id in a role mining session +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$RoleMiningPotentialRoleEditEntitlements = Initialize-RoleMiningPotentialRoleEditEntitlements -Ids "MyIds" -Exclude $false # RoleMiningPotentialRoleEditEntitlements | Role mining session parameters + +# Edit entitlements for a potential role to exclude some entitlements +try { + $Result = Update-V2024EntitlementsPotentialRole -SessionId $SessionId -PotentialRoleId $PotentialRoleId -XSailPointExperimental $XSailPointExperimental -RoleMiningPotentialRoleEditEntitlements $RoleMiningPotentialRoleEditEntitlements +} catch { + Write-Host ("Exception occurred when calling Update-V2024EntitlementsPotentialRole: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **SessionId** | **String**| The role mining session id | + **PotentialRoleId** | **String**| A potential role id in a role mining session | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **RoleMiningPotentialRoleEditEntitlements** | [**RoleMiningPotentialRoleEditEntitlements**](RoleMiningPotentialRoleEditEntitlements.md)| Role mining session parameters | + +### Return type + +[**RoleMiningPotentialRole**](RoleMiningPotentialRole.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024IconsApi.md b/PSSailpoint/v2024/docs/V2024IconsApi.md new file mode 100644 index 000000000..1802a6ec2 --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024IconsApi.md @@ -0,0 +1,127 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024IconsApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**Remove-V2024Icon**](V2024IconsApi.md#Remove-V2024Icon) | **DELETE** /icons/{objectType}/{objectId} | Delete an icon +[**Set-V2024Icon**](V2024IconsApi.md#Set-V2024Icon) | **PUT** /icons/{objectType}/{objectId} | Update an icon + + + +# **Remove-V2024Icon** +> void Remove-V2024Icon
+>         [-ObjectType]
+>         [-ObjectId]
+>         [-XSailPointExperimental]
+ +Delete an icon + +This API endpoint delete an icon by object type and object id. A token with ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$ObjectType = "application" # String | Object type. Available options ['application'] +$ObjectId = "a291e870-48c3-4953-b656-fb5ce2a93169" # String | Object id. +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Delete an icon +try { + $Result = Remove-V2024Icon -ObjectType $ObjectType -ObjectId $ObjectId -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Remove-V2024Icon: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ObjectType** | **String**| Object type. Available options ['application'] | + **ObjectId** | **String**| Object id. | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Set-V2024Icon** +> SetIcon200Response Set-V2024Icon
+>         [-ObjectType]
+>         [-ObjectId]
+>         [-XSailPointExperimental]
+>         [-Image]
+ +Update an icon + +This API endpoint updates an icon by object type and object id. A token with ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$ObjectType = "application" # String | Object type. Available options ['application'] +$ObjectId = "a291e870-48c3-4953-b656-fb5ce2a93169" # String | Object id. +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Image = # System.IO.FileInfo | file with icon. Allowed mime-types ['image/png', 'image/jpeg'] + +# Update an icon +try { + $Result = Set-V2024Icon -ObjectType $ObjectType -ObjectId $ObjectId -XSailPointExperimental $XSailPointExperimental -Image $Image +} catch { + Write-Host ("Exception occurred when calling Set-V2024Icon: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ObjectType** | **String**| Object type. Available options ['application'] | + **ObjectId** | **String**| Object id. | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Image** | **System.IO.FileInfo****System.IO.FileInfo**| file with icon. Allowed mime-types ['image/png', 'image/jpeg'] | + +### Return type + +[**SetIcon200Response**](SetIcon200Response.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: multipart/form-data + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024IdentitiesApi.md b/PSSailpoint/v2024/docs/V2024IdentitiesApi.md new file mode 100644 index 000000000..27049490a --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024IdentitiesApi.md @@ -0,0 +1,525 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024IdentitiesApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**Remove-V2024Identity**](V2024IdentitiesApi.md#Remove-V2024Identity) | **DELETE** /identities/{id} | Delete identity +[**Get-V2024Identity**](V2024IdentitiesApi.md#Get-V2024Identity) | **GET** /identities/{id} | Identity Details +[**Get-V2024IdentityOwnershipDetails**](V2024IdentitiesApi.md#Get-V2024IdentityOwnershipDetails) | **GET** /identities/{identityId}/ownership | Get ownership details +[**Get-V2024RoleAssignment**](V2024IdentitiesApi.md#Get-V2024RoleAssignment) | **GET** /identities/{identityId}/role-assignments/{assignmentId} | Role assignment details +[**Get-V2024RoleAssignments**](V2024IdentitiesApi.md#Get-V2024RoleAssignments) | **GET** /identities/{identityId}/role-assignments | List role assignments +[**Get-V2024Identities**](V2024IdentitiesApi.md#Get-V2024Identities) | **GET** /identities | List Identities +[**Reset-V2024Identity**](V2024IdentitiesApi.md#Reset-V2024Identity) | **POST** /identities/{id}/reset | Reset an identity +[**Start-V2024IdentityProcessing**](V2024IdentitiesApi.md#Start-V2024IdentityProcessing) | **POST** /identities/process | Process a list of identityIds +[**Sync-V2024hronizeAttributesForIdentity**](V2024IdentitiesApi.md#Sync-V2024hronizeAttributesForIdentity) | **POST** /identities/{identityId}/synchronize-attributes | Attribute synchronization for single identity. + + + +# **Remove-V2024Identity** +> void Remove-V2024Identity
+>         [-Id]
+>         [-XSailPointExperimental]
+ +Delete identity + +The API returns successful response if the requested identity was deleted. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f94347e94562b5bb8424a56397d8" # String | Identity Id +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Delete identity +try { + $Result = Remove-V2024Identity -Id $Id -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Remove-V2024Identity: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| Identity Id | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024Identity** +> Identity Get-V2024Identity
+>         [-Id]
+>         [-XSailPointExperimental]
+ +Identity Details + +This API returns a single identity using the Identity ID. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f94347e94562b5bb8424a56397d8" # String | Identity Id +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Identity Details +try { + $Result = Get-V2024Identity -Id $Id -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Get-V2024Identity: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| Identity Id | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**Identity**](Identity.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024IdentityOwnershipDetails** +> IdentityOwnershipAssociationDetails Get-V2024IdentityOwnershipDetails
+>         [-IdentityId]
+>         [-XSailPointExperimental]
+ +Get ownership details + +Use this API to return an identity's owned objects that will cause problems for deleting the identity. Use this API as a checklist of objects that you need to reassign to a different identity before you can delete the identity. For a full list of objects owned by an identity, use the [Search API](https://developer.sailpoint.com/docs/api/v3/search-post/). When you search for identities, the returned identities have a property, `owns`, that contains a more comprehensive list of identity's owned objects. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$IdentityId = "ff8081814d2a8036014d701f3fbf53fa" # String | Identity ID. +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Get ownership details +try { + $Result = Get-V2024IdentityOwnershipDetails -IdentityId $IdentityId -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Get-V2024IdentityOwnershipDetails: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **IdentityId** | **String**| Identity ID. | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**IdentityOwnershipAssociationDetails**](IdentityOwnershipAssociationDetails.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024RoleAssignment** +> RoleAssignmentDto Get-V2024RoleAssignment
+>         [-IdentityId]
+>         [-AssignmentId]
+>         [-XSailPointExperimental]
+ +Role assignment details + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$IdentityId = "ef38f94347e94562b5bb8424a56397d8" # String | Identity Id +$AssignmentId = "1cbb0705b38c4226b1334eadd8874086" # String | Assignment Id +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Role assignment details +try { + $Result = Get-V2024RoleAssignment -IdentityId $IdentityId -AssignmentId $AssignmentId -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Get-V2024RoleAssignment: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **IdentityId** | **String**| Identity Id | + **AssignmentId** | **String**| Assignment Id | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**RoleAssignmentDto**](RoleAssignmentDto.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024RoleAssignments** +> GetRoleAssignments200ResponseInner[] Get-V2024RoleAssignments
+>         [-IdentityId]
+>         [-XSailPointExperimental]
+>         [-RoleId]
+>         [-RoleName]
+ +List role assignments + +This returns either a list of Role Assignments when querying with either a Role Id or Role Name, or a list of Role Assignment References if querying with only identity Id. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$IdentityId = "ef38f94347e94562b5bb8424a56397d8" # String | Identity Id to get the role assignments for +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$RoleId = "e7697a1e96d04db1ac7b0f4544915d2c" # String | Role Id to filter the role assignments with (optional) +$RoleName = "Engineer" # String | Role name to filter the role assignments with (optional) + +# List role assignments +try { + $Result = Get-V2024RoleAssignments -IdentityId $IdentityId -XSailPointExperimental $XSailPointExperimental -RoleId $RoleId -RoleName $RoleName +} catch { + Write-Host ("Exception occurred when calling Get-V2024RoleAssignments: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **IdentityId** | **String**| Identity Id to get the role assignments for | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **RoleId** | **String**| Role Id to filter the role assignments with | [optional] + **RoleName** | **String**| Role name to filter the role assignments with | [optional] + +### Return type + +[**GetRoleAssignments200ResponseInner[]**](GetRoleAssignments200ResponseInner.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024Identities** +> Identity[] Get-V2024Identities
+>         [-XSailPointExperimental]
+>         [-Filters]
+>         [-Sorters]
+>         [-DefaultFilter]
+>         [-Count]
+>         [-Limit]
+>         [-Offset]
+ +List Identities + +This API returns a list of identities. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Filters = "id eq "6c9079b270a266a60170a2779fcb0006" or correlated eq false" # 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, in* **name**: *eq, sw* **alias**: *eq, sw* **firstname**: *eq, sw* **lastname**: *eq, sw* **email**: *eq, sw* **cloudStatus**: *eq* **processingState**: *eq* **correlated**: *eq* **protected**: *eq* (optional) +$Sorters = "name,-cloudStatus" # String | 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: **name, alias, cloudStatus** (optional) +$DefaultFilter = "CORRELATED_ONLY" # String | Adds additional filter to filters query parameter. CORRELATED_ONLY adds correlated=true and returns only identities that are correlated. NONE does not add any and returns all identities that satisfy filters query parameter. (optional) (default to "CORRELATED_ONLY") +$Count = $true # Boolean | 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. (optional) (default to $false) +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) + +# List Identities +try { + $Result = Get-V2024Identities -XSailPointExperimental $XSailPointExperimental -Filters $Filters -Sorters $Sorters -DefaultFilter $DefaultFilter -Count $Count -Limit $Limit -Offset $Offset +} catch { + Write-Host ("Exception occurred when calling Get-V2024Identities: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Filters** | **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, in* **name**: *eq, sw* **alias**: *eq, sw* **firstname**: *eq, sw* **lastname**: *eq, sw* **email**: *eq, sw* **cloudStatus**: *eq* **processingState**: *eq* **correlated**: *eq* **protected**: *eq* | [optional] + **Sorters** | **String**| 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: **name, alias, cloudStatus** | [optional] + **DefaultFilter** | **String**| Adds additional filter to filters query parameter. CORRELATED_ONLY adds correlated=true and returns only identities that are correlated. NONE does not add any and returns all identities that satisfy filters query parameter. | [optional] [default to "CORRELATED_ONLY"] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + +### Return type + +[**Identity[]**](Identity.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Reset-V2024Identity** +> void Reset-V2024Identity
+>         [-IdentityId]
+>         [-XSailPointExperimental]
+ +Reset an identity + +Use this endpoint to reset a user's identity if they have forgotten their authentication information like their answers to knowledge-based questions. Resetting an identity de-registers the user and removes any elevated user levels they have. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$IdentityId = "ef38f94347e94562b5bb8424a56397d8" # String | Identity Id +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Reset an identity +try { + $Result = Reset-V2024Identity -IdentityId $IdentityId -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Reset-V2024Identity: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **IdentityId** | **String**| Identity Id | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Start-V2024IdentityProcessing** +> TaskResultResponse Start-V2024IdentityProcessing
+>         [-XSailPointExperimental]
+>         [-ProcessIdentitiesRequest]
+ +Process a list of identityIds + +This operation should not be used to schedule your own identity processing or to perform system wide identity refreshes. The system will use a combination of [event-based processing](https://documentation.sailpoint.com/saas/help/setup/identity_processing.html?h=process#event-based-processing) and [scheduled processing](https://documentation.sailpoint.com/saas/help/setup/identity_processing.html?h=process#scheduled-processing) that runs every day at 8:00 AM and 8:00 PM in the tenant's timezone to keep your identities synchronized. This endpoint will perform the following tasks: 1. Calculate identity attributes, including applying or running any rules or transforms (e.g. calculate Lifecycle State at a point-in-time it's expected to change). 2. Evaluate role assignments, leading to assignment of new roles and removal of existing roles. 3. Enforce provisioning for any assigned accesses that haven't been fulfilled (e.g. failure due to source health). 4. Recalculate manager relationships. 5. Potentially clean-up identity processing errors, assuming the error has been resolved. A token with ORG_ADMIN or HELPDESK authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$ProcessIdentitiesRequest = Initialize-ProcessIdentitiesRequest -IdentityIds "ef38f94347e94562b5bb8424a56397d8" # ProcessIdentitiesRequest | + +# Process a list of identityIds +try { + $Result = Start-V2024IdentityProcessing -XSailPointExperimental $XSailPointExperimental -ProcessIdentitiesRequest $ProcessIdentitiesRequest +} catch { + Write-Host ("Exception occurred when calling Start-V2024IdentityProcessing: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **ProcessIdentitiesRequest** | [**ProcessIdentitiesRequest**](ProcessIdentitiesRequest.md)| | + +### Return type + +[**TaskResultResponse**](TaskResultResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Sync-V2024hronizeAttributesForIdentity** +> IdentitySyncJob Sync-V2024hronizeAttributesForIdentity
+>         [-IdentityId]
+>         [-XSailPointExperimental]
+ +Attribute synchronization for single identity. + +This end-point performs attribute synchronization for a selected identity. The endpoint can be called once in 10 seconds per identity. A token with ORG_ADMIN or API authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$IdentityId = "MyIdentityId" # String | The Identity id +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Attribute synchronization for single identity. +try { + $Result = Sync-V2024hronizeAttributesForIdentity -IdentityId $IdentityId -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Sync-V2024hronizeAttributesForIdentity: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **IdentityId** | **String**| The Identity id | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**IdentitySyncJob**](IdentitySyncJob.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024IdentityAttributesApi.md b/PSSailpoint/v2024/docs/V2024IdentityAttributesApi.md new file mode 100644 index 000000000..9b9f32422 --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024IdentityAttributesApi.md @@ -0,0 +1,352 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024IdentityAttributesApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**New-V2024IdentityAttribute**](V2024IdentityAttributesApi.md#New-V2024IdentityAttribute) | **POST** /identity-attributes | Create Identity Attribute +[**Remove-V2024IdentityAttribute**](V2024IdentityAttributesApi.md#Remove-V2024IdentityAttribute) | **DELETE** /identity-attributes/{name} | Delete Identity Attribute +[**Remove-V2024IdentityAttributesInBulk**](V2024IdentityAttributesApi.md#Remove-V2024IdentityAttributesInBulk) | **DELETE** /identity-attributes/bulk-delete | Bulk delete Identity Attributes +[**Get-V2024IdentityAttribute**](V2024IdentityAttributesApi.md#Get-V2024IdentityAttribute) | **GET** /identity-attributes/{name} | Get Identity Attribute +[**Get-V2024IdentityAttributes**](V2024IdentityAttributesApi.md#Get-V2024IdentityAttributes) | **GET** /identity-attributes | List Identity Attributes +[**Send-V2024IdentityAttribute**](V2024IdentityAttributesApi.md#Send-V2024IdentityAttribute) | **PUT** /identity-attributes/{name} | Update Identity Attribute + + + +# **New-V2024IdentityAttribute** +> IdentityAttribute New-V2024IdentityAttribute
+>         [-XSailPointExperimental]
+>         [-IdentityAttribute]
+ +Create Identity Attribute + +Use this API to create a new identity attribute. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Source1 = Initialize-Source1 -Type "rule" -Properties +$IdentityAttribute = Initialize-IdentityAttribute -Name "costCenter" -DisplayName "Cost Center" -Standard $false -Type "string" -Multi $false -Searchable $false -System $false -Sources $Source1 # IdentityAttribute | + +# Create Identity Attribute +try { + $Result = New-V2024IdentityAttribute -XSailPointExperimental $XSailPointExperimental -IdentityAttribute $IdentityAttribute +} catch { + Write-Host ("Exception occurred when calling New-V2024IdentityAttribute: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **IdentityAttribute** | [**IdentityAttribute**](IdentityAttribute.md)| | + +### Return type + +[**IdentityAttribute**](IdentityAttribute.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Remove-V2024IdentityAttribute** +> void Remove-V2024IdentityAttribute
+>         [-Name]
+>         [-XSailPointExperimental]
+ +Delete Identity Attribute + +This deletes an identity attribute with the given name. The `system` and `standard` properties must be set to false before you can delete an identity attribute. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Name = "displayName" # String | The attribute's technical name. +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Delete Identity Attribute +try { + $Result = Remove-V2024IdentityAttribute -Name $Name -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Remove-V2024IdentityAttribute: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Name** | **String**| The attribute's technical name. | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Remove-V2024IdentityAttributesInBulk** +> void Remove-V2024IdentityAttributesInBulk
+>         [-XSailPointExperimental]
+>         [-IdentityAttributeNames]
+ +Bulk delete Identity Attributes + +Use this API to bulk delete identity attributes for a given set of names. Attributes that are currently mapped in an identity profile cannot be deleted. The `system` and `standard` properties must be set to 'false' before you can delete an identity attribute. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$IdentityAttributeNames = Initialize-IdentityAttributeNames -Ids "name" # IdentityAttributeNames | + +# Bulk delete Identity Attributes +try { + $Result = Remove-V2024IdentityAttributesInBulk -XSailPointExperimental $XSailPointExperimental -IdentityAttributeNames $IdentityAttributeNames +} catch { + Write-Host ("Exception occurred when calling Remove-V2024IdentityAttributesInBulk: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **IdentityAttributeNames** | [**IdentityAttributeNames**](IdentityAttributeNames.md)| | + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024IdentityAttribute** +> IdentityAttribute Get-V2024IdentityAttribute
+>         [-Name]
+>         [-XSailPointExperimental]
+ +Get Identity Attribute + +This gets an identity attribute for a given technical name. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Name = "displayName" # String | The attribute's technical name. +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Get Identity Attribute +try { + $Result = Get-V2024IdentityAttribute -Name $Name -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Get-V2024IdentityAttribute: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Name** | **String**| The attribute's technical name. | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**IdentityAttribute**](IdentityAttribute.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024IdentityAttributes** +> IdentityAttribute[] Get-V2024IdentityAttributes
+>         [-XSailPointExperimental]
+>         [-IncludeSystem]
+>         [-IncludeSilent]
+>         [-SearchableOnly]
+>         [-Count]
+ +List Identity Attributes + +Use this API to get a collection of identity attributes. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$IncludeSystem = $false # Boolean | Include 'system' attributes in the response. (optional) (default to $false) +$IncludeSilent = $false # Boolean | Include 'silent' attributes in the response. (optional) (default to $false) +$SearchableOnly = $false # Boolean | Include only 'searchable' attributes in the response. (optional) (default to $false) +$Count = $true # Boolean | 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. (optional) (default to $false) + +# List Identity Attributes +try { + $Result = Get-V2024IdentityAttributes -XSailPointExperimental $XSailPointExperimental -IncludeSystem $IncludeSystem -IncludeSilent $IncludeSilent -SearchableOnly $SearchableOnly -Count $Count +} catch { + Write-Host ("Exception occurred when calling Get-V2024IdentityAttributes: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **IncludeSystem** | **Boolean**| Include 'system' attributes in the response. | [optional] [default to $false] + **IncludeSilent** | **Boolean**| Include 'silent' attributes in the response. | [optional] [default to $false] + **SearchableOnly** | **Boolean**| Include only 'searchable' attributes in the response. | [optional] [default to $false] + **Count** | **Boolean**| 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. | [optional] [default to $false] + +### Return type + +[**IdentityAttribute[]**](IdentityAttribute.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Send-V2024IdentityAttribute** +> IdentityAttribute Send-V2024IdentityAttribute
+>         [-Name]
+>         [-XSailPointExperimental]
+>         [-IdentityAttribute]
+ +Update Identity Attribute + +This updates an existing identity attribute. Making an attribute searchable requires that the `system`, `standard`, and `multi` properties be set to false. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Name = "displayName" # String | The attribute's technical name. +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Source1 = Initialize-Source1 -Type "rule" -Properties +$IdentityAttribute = Initialize-IdentityAttribute -Name "costCenter" -DisplayName "Cost Center" -Standard $false -Type "string" -Multi $false -Searchable $false -System $false -Sources $Source1 # IdentityAttribute | + +# Update Identity Attribute +try { + $Result = Send-V2024IdentityAttribute -Name $Name -XSailPointExperimental $XSailPointExperimental -IdentityAttribute $IdentityAttribute +} catch { + Write-Host ("Exception occurred when calling Send-V2024IdentityAttribute: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Name** | **String**| The attribute's technical name. | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **IdentityAttribute** | [**IdentityAttribute**](IdentityAttribute.md)| | + +### Return type + +[**IdentityAttribute**](IdentityAttribute.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024IdentityHistoryApi.md b/PSSailpoint/v2024/docs/V2024IdentityHistoryApi.md new file mode 100644 index 000000000..dcc7f4250 --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024IdentityHistoryApi.md @@ -0,0 +1,727 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024IdentityHistoryApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**Compare-V2024IdentitySnapshots**](V2024IdentityHistoryApi.md#Compare-V2024IdentitySnapshots) | **GET** /historical-identities/{id}/compare | Gets a difference of count for each access item types for the given identity between 2 snapshots +[**Compare-V2024IdentitySnapshotsAccessType**](V2024IdentityHistoryApi.md#Compare-V2024IdentitySnapshotsAccessType) | **GET** /historical-identities/{id}/compare/{access-type} | Gets a list of differences of specific accessType for the given identity between 2 snapshots +[**Get-V2024HistoricalIdentity**](V2024IdentityHistoryApi.md#Get-V2024HistoricalIdentity) | **GET** /historical-identities/{id} | Get latest snapshot of identity +[**Get-V2024HistoricalIdentityEvents**](V2024IdentityHistoryApi.md#Get-V2024HistoricalIdentityEvents) | **GET** /historical-identities/{id}/events | Lists all events for the given identity +[**Get-V2024IdentitySnapshot**](V2024IdentityHistoryApi.md#Get-V2024IdentitySnapshot) | **GET** /historical-identities/{id}/snapshots/{date} | Gets an identity snapshot at a given date +[**Get-V2024IdentitySnapshotSummary**](V2024IdentityHistoryApi.md#Get-V2024IdentitySnapshotSummary) | **GET** /historical-identities/{id}/snapshot-summary | Gets the summary for the event count for a specific identity +[**Get-V2024IdentityStartDate**](V2024IdentityHistoryApi.md#Get-V2024IdentityStartDate) | **GET** /historical-identities/{id}/start-date | Gets the start date of the identity +[**Get-V2024HistoricalIdentities**](V2024IdentityHistoryApi.md#Get-V2024HistoricalIdentities) | **GET** /historical-identities | Lists all the identities +[**Get-V2024IdentityAccessItems**](V2024IdentityHistoryApi.md#Get-V2024IdentityAccessItems) | **GET** /historical-identities/{id}/access-items | Gets a list of access items for the identity filtered by item type +[**Get-V2024IdentitySnapshotAccessItems**](V2024IdentityHistoryApi.md#Get-V2024IdentitySnapshotAccessItems) | **GET** /historical-identities/{id}/snapshots/{date}/access-items | Gets the list of identity access items at a given date filterd by item type +[**Get-V2024IdentitySnapshots**](V2024IdentityHistoryApi.md#Get-V2024IdentitySnapshots) | **GET** /historical-identities/{id}/snapshots | Lists all the snapshots for the identity + + + +# **Compare-V2024IdentitySnapshots** +> IdentityCompareResponse[] Compare-V2024IdentitySnapshots
+>         [-Id]
+>         [-XSailPointExperimental]
+>         [-Snapshot1]
+>         [-Snapshot2]
+>         [-AccessItemTypes]
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+ +Gets a difference of count for each access item types for the given identity between 2 snapshots + +This method gets a difference of count for each access item types for the given identity between 2 snapshots Requires authorization scope of 'idn:identity-history:read' + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "8c190e6787aa4ed9a90bd9d5344523fb" # String | The identity id +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Snapshot1 = "2007-03-01T13:00:00Z" # String | The snapshot 1 of identity (optional) +$Snapshot2 = "2008-03-01T13:00:00Z" # String | The snapshot 2 of identity (optional) +$AccessItemTypes = "MyAccessItemTypes" # String[] | An optional list of access item types (app, account, entitlement, etc...) to return. If null or empty, all access items types are returned (optional) +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) + +# Gets a difference of count for each access item types for the given identity between 2 snapshots +try { + $Result = Compare-V2024IdentitySnapshots -Id $Id -XSailPointExperimental $XSailPointExperimental -Snapshot1 $Snapshot1 -Snapshot2 $Snapshot2 -AccessItemTypes $AccessItemTypes -Limit $Limit -Offset $Offset -Count $Count +} catch { + Write-Host ("Exception occurred when calling Compare-V2024IdentitySnapshots: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The identity id | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Snapshot1** | **String**| The snapshot 1 of identity | [optional] + **Snapshot2** | **String**| The snapshot 2 of identity | [optional] + **AccessItemTypes** | [**String[]**](String.md)| An optional list of access item types (app, account, entitlement, etc...) to return. If null or empty, all access items types are returned | [optional] + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + +### Return type + +[**IdentityCompareResponse[]**](IdentityCompareResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Compare-V2024IdentitySnapshotsAccessType** +> AccessItemDiff[] Compare-V2024IdentitySnapshotsAccessType
+>         [-Id]
+>         [-AccessType]
+>         [-XSailPointExperimental]
+>         [-AccessAssociated]
+>         [-Snapshot1]
+>         [-Snapshot2]
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+ +Gets a list of differences of specific accessType for the given identity between 2 snapshots + +This method gets a list of differences of specific accessType for the given identity between 2 snapshots Requires authorization scope of 'idn:identity-history:read' + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "8c190e6787aa4ed9a90bd9d5344523fb" # String | The identity id +$AccessType = "role" # String | The specific type which needs to be compared +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$AccessAssociated = $false # Boolean | Indicates if added or removed access needs to be returned. true - added, false - removed, null - both added & removed (optional) +$Snapshot1 = "2008-03-01T13:00:00Z" # String | The snapshot 1 of identity (optional) +$Snapshot2 = "2009-03-01T13:00:00Z" # String | The snapshot 2 of identity (optional) +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) + +# Gets a list of differences of specific accessType for the given identity between 2 snapshots +try { + $Result = Compare-V2024IdentitySnapshotsAccessType -Id $Id -AccessType $AccessType -XSailPointExperimental $XSailPointExperimental -AccessAssociated $AccessAssociated -Snapshot1 $Snapshot1 -Snapshot2 $Snapshot2 -Limit $Limit -Offset $Offset -Count $Count +} catch { + Write-Host ("Exception occurred when calling Compare-V2024IdentitySnapshotsAccessType: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The identity id | + **AccessType** | **String**| The specific type which needs to be compared | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **AccessAssociated** | **Boolean**| Indicates if added or removed access needs to be returned. true - added, false - removed, null - both added & removed | [optional] + **Snapshot1** | **String**| The snapshot 1 of identity | [optional] + **Snapshot2** | **String**| The snapshot 2 of identity | [optional] + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + +### Return type + +[**AccessItemDiff[]**](AccessItemDiff.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024HistoricalIdentity** +> IdentityHistoryResponse Get-V2024HistoricalIdentity
+>         [-Id]
+>         [-XSailPointExperimental]
+ +Get latest snapshot of identity + +This method retrieves a specified identity Requires authorization scope of 'idn:identity-history:read' + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "8c190e6787aa4ed9a90bd9d5344523fb" # String | The identity id +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Get latest snapshot of identity +try { + $Result = Get-V2024HistoricalIdentity -Id $Id -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Get-V2024HistoricalIdentity: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The identity id | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**IdentityHistoryResponse**](IdentityHistoryResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024HistoricalIdentityEvents** +> GetHistoricalIdentityEvents200ResponseInner[] Get-V2024HistoricalIdentityEvents
+>         [-Id]
+>         [-XSailPointExperimental]
+>         [-From]
+>         [-EventTypes]
+>         [-AccessItemTypes]
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+ +Lists all events for the given identity + +This method retrieves all access events for the identity Requires authorization scope of 'idn:identity-history:read' + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "8c190e6787aa4ed9a90bd9d5344523fb" # String | The identity id +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$From = "2024-03-01T13:00:00Z" # String | The optional instant until which access events are returned (optional) +$EventTypes = "MyEventTypes" # String[] | An optional list of event types to return. If null or empty, all events are returned (optional) +$AccessItemTypes = "MyAccessItemTypes" # String[] | An optional list of access item types (app, account, entitlement, etc...) to return. If null or empty, all access items types are returned (optional) +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) + +# Lists all events for the given identity +try { + $Result = Get-V2024HistoricalIdentityEvents -Id $Id -XSailPointExperimental $XSailPointExperimental -From $From -EventTypes $EventTypes -AccessItemTypes $AccessItemTypes -Limit $Limit -Offset $Offset -Count $Count +} catch { + Write-Host ("Exception occurred when calling Get-V2024HistoricalIdentityEvents: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The identity id | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **From** | **String**| The optional instant until which access events are returned | [optional] + **EventTypes** | [**String[]**](String.md)| An optional list of event types to return. If null or empty, all events are returned | [optional] + **AccessItemTypes** | [**String[]**](String.md)| An optional list of access item types (app, account, entitlement, etc...) to return. If null or empty, all access items types are returned | [optional] + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + +### Return type + +[**GetHistoricalIdentityEvents200ResponseInner[]**](GetHistoricalIdentityEvents200ResponseInner.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024IdentitySnapshot** +> IdentityHistoryResponse Get-V2024IdentitySnapshot
+>         [-Id]
+>         [-Date]
+>         [-XSailPointExperimental]
+ +Gets an identity snapshot at a given date + +This method retrieves a specified identity snapshot at a given date Requires authorization scope of 'idn:identity-history:read' + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "8c190e6787aa4ed9a90bd9d5344523fb" # String | The identity id +$Date = "2007-03-01T13:00:00Z" # String | The specified date +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Gets an identity snapshot at a given date +try { + $Result = Get-V2024IdentitySnapshot -Id $Id -Date $Date -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Get-V2024IdentitySnapshot: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The identity id | + **Date** | **String**| The specified date | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**IdentityHistoryResponse**](IdentityHistoryResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024IdentitySnapshotSummary** +> MetricResponse[] Get-V2024IdentitySnapshotSummary
+>         [-Id]
+>         [-XSailPointExperimental]
+>         [-Before]
+>         [-Interval]
+>         [-TimeZone]
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+ +Gets the summary for the event count for a specific identity + +This method gets the summary for the event count for a specific identity by month/day Requires authorization scope of 'idn:identity-history:read' + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "8c190e6787aa4ed9a90bd9d5344523fb" # String | The identity id +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Before = "2007-03-01T13:00:00Z" # String | The date before which snapshot summary is required (optional) +$Interval = "day" # String | The interval indicating day or month. Defaults to month if not specified (optional) +$TimeZone = "UTC" # String | The time zone. Defaults to UTC if not provided (optional) +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) + +# Gets the summary for the event count for a specific identity +try { + $Result = Get-V2024IdentitySnapshotSummary -Id $Id -XSailPointExperimental $XSailPointExperimental -Before $Before -Interval $Interval -TimeZone $TimeZone -Limit $Limit -Offset $Offset -Count $Count +} catch { + Write-Host ("Exception occurred when calling Get-V2024IdentitySnapshotSummary: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The identity id | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Before** | **String**| The date before which snapshot summary is required | [optional] + **Interval** | **String**| The interval indicating day or month. Defaults to month if not specified | [optional] + **TimeZone** | **String**| The time zone. Defaults to UTC if not provided | [optional] + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + +### Return type + +[**MetricResponse[]**](MetricResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024IdentityStartDate** +> String Get-V2024IdentityStartDate
+>         [-Id]
+>         [-XSailPointExperimental]
+ +Gets the start date of the identity + +This method retrieves start date of the identity Requires authorization scope of 'idn:identity-history:read' + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "8c190e6787aa4ed9a90bd9d5344523fb" # String | The identity id +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Gets the start date of the identity +try { + $Result = Get-V2024IdentityStartDate -Id $Id -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Get-V2024IdentityStartDate: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The identity id | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +**String** + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024HistoricalIdentities** +> IdentityListItem[] Get-V2024HistoricalIdentities
+>         [-XSailPointExperimental]
+>         [-StartsWithQuery]
+>         [-IsDeleted]
+>         [-IsActive]
+>         [-Limit]
+>         [-Offset]
+ +Lists all the identities + +This gets the list of identities for the customer. This list end point does not support count=true request param. The total count of identities would never be returned even if the count param is specified in the request Requires authorization scope of 'idn:identity-history:read' + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$StartsWithQuery = "Ada" # String | This param is used for starts-with search for first, last and display name of the identity (optional) +$IsDeleted = $true # Boolean | Indicates if we want to only list down deleted identities or not. (optional) +$IsActive = $true # Boolean | Indicates if we want to only list active or inactive identities. (optional) +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) + +# Lists all the identities +try { + $Result = Get-V2024HistoricalIdentities -XSailPointExperimental $XSailPointExperimental -StartsWithQuery $StartsWithQuery -IsDeleted $IsDeleted -IsActive $IsActive -Limit $Limit -Offset $Offset +} catch { + Write-Host ("Exception occurred when calling Get-V2024HistoricalIdentities: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **StartsWithQuery** | **String**| This param is used for starts-with search for first, last and display name of the identity | [optional] + **IsDeleted** | **Boolean**| Indicates if we want to only list down deleted identities or not. | [optional] + **IsActive** | **Boolean**| Indicates if we want to only list active or inactive identities. | [optional] + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + +### Return type + +[**IdentityListItem[]**](IdentityListItem.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024IdentityAccessItems** +> ListIdentityAccessItems200ResponseInner[] Get-V2024IdentityAccessItems
+>         [-Id]
+>         [-XSailPointExperimental]
+>         [-Type]
+ +Gets a list of access items for the identity filtered by item type + +This method retrieves a list of access item for the identity filtered by the access item type Requires authorization scope of 'idn:identity-history:read' + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "8c190e6787aa4ed9a90bd9d5344523fb" # String | The identity id +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Type = "account" # String | The type of access item for the identity. If not provided, it defaults to account (optional) + +# Gets a list of access items for the identity filtered by item type +try { + $Result = Get-V2024IdentityAccessItems -Id $Id -XSailPointExperimental $XSailPointExperimental -Type $Type +} catch { + Write-Host ("Exception occurred when calling Get-V2024IdentityAccessItems: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The identity id | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Type** | **String**| The type of access item for the identity. If not provided, it defaults to account | [optional] + +### Return type + +[**ListIdentityAccessItems200ResponseInner[]**](ListIdentityAccessItems200ResponseInner.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024IdentitySnapshotAccessItems** +> ListIdentityAccessItems200ResponseInner[] Get-V2024IdentitySnapshotAccessItems
+>         [-Id]
+>         [-Date]
+>         [-XSailPointExperimental]
+>         [-Type]
+ +Gets the list of identity access items at a given date filterd by item type + +This method retrieves the list of identity access items at a given date filterd by item type Requires authorization scope of 'idn:identity-history:read' + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "8c190e6787aa4ed9a90bd9d5344523fb" # String | The identity id +$Date = "2007-03-01T13:00:00Z" # String | The specified date +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Type = "account" # String | The access item type (optional) + +# Gets the list of identity access items at a given date filterd by item type +try { + $Result = Get-V2024IdentitySnapshotAccessItems -Id $Id -Date $Date -XSailPointExperimental $XSailPointExperimental -Type $Type +} catch { + Write-Host ("Exception occurred when calling Get-V2024IdentitySnapshotAccessItems: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The identity id | + **Date** | **String**| The specified date | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Type** | **String**| The access item type | [optional] + +### Return type + +[**ListIdentityAccessItems200ResponseInner[]**](ListIdentityAccessItems200ResponseInner.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024IdentitySnapshots** +> IdentitySnapshotSummaryResponse[] Get-V2024IdentitySnapshots
+>         [-Id]
+>         [-XSailPointExperimental]
+>         [-Start]
+>         [-Interval]
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+ +Lists all the snapshots for the identity + +This method retrieves all the snapshots for the identity Requires authorization scope of 'idn:identity-history:read' + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "8c190e6787aa4ed9a90bd9d5344523fb" # String | The identity id +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Start = "2007-03-01T13:00:00Z" # String | The specified start date (optional) +$Interval = "day" # String | The interval indicating the range in day or month for the specified interval-name (optional) +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) + +# Lists all the snapshots for the identity +try { + $Result = Get-V2024IdentitySnapshots -Id $Id -XSailPointExperimental $XSailPointExperimental -Start $Start -Interval $Interval -Limit $Limit -Offset $Offset -Count $Count +} catch { + Write-Host ("Exception occurred when calling Get-V2024IdentitySnapshots: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The identity id | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Start** | **String**| The specified start date | [optional] + **Interval** | **String**| The interval indicating the range in day or month for the specified interval-name | [optional] + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + +### Return type + +[**IdentitySnapshotSummaryResponse[]**](IdentitySnapshotSummaryResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024IdentityProfilesApi.md b/PSSailpoint/v2024/docs/V2024IdentityProfilesApi.md new file mode 100644 index 000000000..00e4dd7f2 --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024IdentityProfilesApi.md @@ -0,0 +1,641 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024IdentityProfilesApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**New-V2024IdentityProfile**](V2024IdentityProfilesApi.md#New-V2024IdentityProfile) | **POST** /identity-profiles | Create an Identity Profile +[**Remove-V2024IdentityProfile**](V2024IdentityProfilesApi.md#Remove-V2024IdentityProfile) | **DELETE** /identity-profiles/{identity-profile-id} | Delete an Identity Profile +[**Remove-V2024IdentityProfiles**](V2024IdentityProfilesApi.md#Remove-V2024IdentityProfiles) | **POST** /identity-profiles/bulk-delete | Delete Identity Profiles +[**Export-V2024IdentityProfiles**](V2024IdentityProfilesApi.md#Export-V2024IdentityProfiles) | **GET** /identity-profiles/export | Export Identity Profiles +[**Get-V2024DefaultIdentityAttributeConfig**](V2024IdentityProfilesApi.md#Get-V2024DefaultIdentityAttributeConfig) | **GET** /identity-profiles/{identity-profile-id}/default-identity-attribute-config | Get default Identity Attribute Config +[**Get-V2024IdentityProfile**](V2024IdentityProfilesApi.md#Get-V2024IdentityProfile) | **GET** /identity-profiles/{identity-profile-id} | Get single Identity Profile +[**Import-V2024IdentityProfiles**](V2024IdentityProfilesApi.md#Import-V2024IdentityProfiles) | **POST** /identity-profiles/import | Import Identity Profiles +[**Get-V2024IdentityProfiles**](V2024IdentityProfilesApi.md#Get-V2024IdentityProfiles) | **GET** /identity-profiles | Identity Profiles List +[**Show-V2024IdentityPreview**](V2024IdentityProfilesApi.md#Show-V2024IdentityPreview) | **POST** /identity-profiles/identity-preview | Generate Identity Profile Preview +[**Sync-V2024IdentityProfile**](V2024IdentityProfilesApi.md#Sync-V2024IdentityProfile) | **POST** /identity-profiles/{identity-profile-id}/process-identities | Process identities under profile +[**Update-V2024IdentityProfile**](V2024IdentityProfilesApi.md#Update-V2024IdentityProfile) | **PATCH** /identity-profiles/{identity-profile-id} | Update the Identity Profile + + + +# **New-V2024IdentityProfile** +> IdentityProfile New-V2024IdentityProfile
+>         [-IdentityProfile]
+ +Create an Identity Profile + +This creates an Identity Profile. A token with ORG_ADMIN authority is required to call this API to create an Identity Profile. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$IdentityProfileAllOfOwner = Initialize-IdentityProfileAllOfOwner -Type "IDENTITY" -Id "2c9180835d191a86015d28455b4b232a" -Name "William Wilson" +$IdentityProfileAllOfAuthoritativeSource = Initialize-IdentityProfileAllOfAuthoritativeSource -Type "SOURCE" -Id "2c9180835d191a86015d28455b4b232a" -Name "HR Active Directory" + +$TransformDefinitionAttributesValue = Initialize-TransformDefinitionAttributesValue +$TransformDefinition = Initialize-TransformDefinition -Type "accountAttribute" -Attributes @{ key_example = $TransformDefinitionAttributesValue } + +$IdentityAttributeTransform = Initialize-IdentityAttributeTransform -IdentityAttributeName "email" -TransformDefinition $TransformDefinition + +$IdentityAttributeConfig = Initialize-IdentityAttributeConfig -Enabled $true -AttributeTransforms $IdentityAttributeTransform + +$IdentityExceptionReportReference = Initialize-IdentityExceptionReportReference -TaskResultId "2b838de9-db9b-abcf-e646-d4f274ad4238" -ReportName "My annual report" +$IdentityProfile = Initialize-IdentityProfile -Id "id12345" -Name "aName" -Created (Get-Date) -Modified (Get-Date) -Description "My custom flat file profile" -Owner $IdentityProfileAllOfOwner -Priority 10 -AuthoritativeSource $IdentityProfileAllOfAuthoritativeSource -IdentityRefreshRequired $true -IdentityCount 8 -IdentityAttributeConfig $IdentityAttributeConfig -IdentityExceptionReportReference $IdentityExceptionReportReference -HasTimeBasedAttr $true # IdentityProfile | + +# Create an Identity Profile +try { + $Result = New-V2024IdentityProfile -IdentityProfile $IdentityProfile +} catch { + Write-Host ("Exception occurred when calling New-V2024IdentityProfile: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **IdentityProfile** | [**IdentityProfile**](IdentityProfile.md)| | + +### Return type + +[**IdentityProfile**](IdentityProfile.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Remove-V2024IdentityProfile** +> TaskResultSimplified Remove-V2024IdentityProfile
+>         [-IdentityProfileId]
+ +Delete an Identity Profile + +This deletes an Identity Profile based on ID. On success, this endpoint will return a reference to the bulk delete task result. A token with ORG_ADMIN authority is required to call this API. The following rights are required to access this endpoint: idn:identity-profile:delete + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$IdentityProfileId = "ef38f94347e94562b5bb8424a56397d8" # String | The Identity Profile ID. + +# Delete an Identity Profile +try { + $Result = Remove-V2024IdentityProfile -IdentityProfileId $IdentityProfileId +} catch { + Write-Host ("Exception occurred when calling Remove-V2024IdentityProfile: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **IdentityProfileId** | **String**| The Identity Profile ID. | + +### Return type + +[**TaskResultSimplified**](TaskResultSimplified.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Remove-V2024IdentityProfiles** +> TaskResultSimplified Remove-V2024IdentityProfiles
+>         [-RequestBody]
+ +Delete Identity Profiles + +This deletes multiple Identity Profiles via a list of supplied IDs. On success, this endpoint will return a reference to the bulk delete task result. A token with ORG_ADMIN authority is required to call this API. The following rights are required to access this endpoint: idn:identity-profile:delete + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$RequestBody = "MyRequestBody" # String[] | Identity Profile bulk delete request body. + +# Delete Identity Profiles +try { + $Result = Remove-V2024IdentityProfiles -RequestBody $RequestBody +} catch { + Write-Host ("Exception occurred when calling Remove-V2024IdentityProfiles: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **RequestBody** | [**String[]**](String.md)| Identity Profile bulk delete request body. | + +### Return type + +[**TaskResultSimplified**](TaskResultSimplified.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Export-V2024IdentityProfiles** +> IdentityProfileExportedObject[] Export-V2024IdentityProfiles
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+>         [-Filters]
+>         [-Sorters]
+ +Export Identity Profiles + +This exports existing identity profiles in the format specified by the sp-config service. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) +$Filters = "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, ne* **name**: *eq, ne* **priority**: *eq, ne* (optional) +$Sorters = "id,name" # String | 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, priority** (optional) + +# Export Identity Profiles +try { + $Result = Export-V2024IdentityProfiles -Limit $Limit -Offset $Offset -Count $Count -Filters $Filters -Sorters $Sorters +} catch { + Write-Host ("Exception occurred when calling Export-V2024IdentityProfiles: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **Filters** | **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, ne* **name**: *eq, ne* **priority**: *eq, ne* | [optional] + **Sorters** | **String**| 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, priority** | [optional] + +### Return type + +[**IdentityProfileExportedObject[]**](IdentityProfileExportedObject.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024DefaultIdentityAttributeConfig** +> IdentityAttributeConfig Get-V2024DefaultIdentityAttributeConfig
+>         [-IdentityProfileId]
+ +Get default Identity Attribute Config + +This returns the default identity attribute config. A token with ORG_ADMIN authority is required to call this API to get the default identity attribute config. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$IdentityProfileId = "2b838de9-db9b-abcf-e646-d4f274ad4238" # String | The Identity Profile ID. + +# Get default Identity Attribute Config +try { + $Result = Get-V2024DefaultIdentityAttributeConfig -IdentityProfileId $IdentityProfileId +} catch { + Write-Host ("Exception occurred when calling Get-V2024DefaultIdentityAttributeConfig: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **IdentityProfileId** | **String**| The Identity Profile ID. | + +### Return type + +[**IdentityAttributeConfig**](IdentityAttributeConfig.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024IdentityProfile** +> IdentityProfile Get-V2024IdentityProfile
+>         [-IdentityProfileId]
+ +Get single Identity Profile + +This returns a single Identity Profile based on ID. A token with ORG_ADMIN or API authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$IdentityProfileId = "2b838de9-db9b-abcf-e646-d4f274ad4238" # String | The Identity Profile ID. + +# Get single Identity Profile +try { + $Result = Get-V2024IdentityProfile -IdentityProfileId $IdentityProfileId +} catch { + Write-Host ("Exception occurred when calling Get-V2024IdentityProfile: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **IdentityProfileId** | **String**| The Identity Profile ID. | + +### Return type + +[**IdentityProfile**](IdentityProfile.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Import-V2024IdentityProfiles** +> ObjectImportResult Import-V2024IdentityProfiles
+>         [-IdentityProfileExportedObject]
+ +Import Identity Profiles + +This imports previously exported identity profiles. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$IdentityProfileExportedObjectSelf = Initialize-IdentityProfileExportedObjectSelf -Type "ACCESS_PROFILE" -Id "2c9180835d191a86015d28455b4b232a" -Name "HR Active Directory" + +$IdentityProfileAllOfOwner = Initialize-IdentityProfileAllOfOwner -Type "IDENTITY" -Id "2c9180835d191a86015d28455b4b232a" -Name "William Wilson" +$IdentityProfileAllOfAuthoritativeSource = Initialize-IdentityProfileAllOfAuthoritativeSource -Type "SOURCE" -Id "2c9180835d191a86015d28455b4b232a" -Name "HR Active Directory" + +$TransformDefinitionAttributesValue = Initialize-TransformDefinitionAttributesValue +$TransformDefinition = Initialize-TransformDefinition -Type "accountAttribute" -Attributes @{ key_example = $TransformDefinitionAttributesValue } + +$IdentityAttributeTransform = Initialize-IdentityAttributeTransform -IdentityAttributeName "email" -TransformDefinition $TransformDefinition + +$IdentityAttributeConfig = Initialize-IdentityAttributeConfig -Enabled $true -AttributeTransforms $IdentityAttributeTransform + +$IdentityExceptionReportReference = Initialize-IdentityExceptionReportReference -TaskResultId "2b838de9-db9b-abcf-e646-d4f274ad4238" -ReportName "My annual report" +$IdentityProfile = Initialize-IdentityProfile -Id "id12345" -Name "aName" -Created (Get-Date) -Modified (Get-Date) -Description "My custom flat file profile" -Owner $IdentityProfileAllOfOwner -Priority 10 -AuthoritativeSource $IdentityProfileAllOfAuthoritativeSource -IdentityRefreshRequired $true -IdentityCount 8 -IdentityAttributeConfig $IdentityAttributeConfig -IdentityExceptionReportReference $IdentityExceptionReportReference -HasTimeBasedAttr $true + +$IdentityProfileExportedObject = Initialize-IdentityProfileExportedObject -Version 1 -Self $IdentityProfileExportedObjectSelf -Object $IdentityProfile # IdentityProfileExportedObject[] | Previously exported Identity Profiles. + +# Import Identity Profiles +try { + $Result = Import-V2024IdentityProfiles -IdentityProfileExportedObject $IdentityProfileExportedObject +} catch { + Write-Host ("Exception occurred when calling Import-V2024IdentityProfiles: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **IdentityProfileExportedObject** | [**IdentityProfileExportedObject[]**](IdentityProfileExportedObject.md)| Previously exported Identity Profiles. | + +### Return type + +[**ObjectImportResult**](ObjectImportResult.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024IdentityProfiles** +> IdentityProfile[] Get-V2024IdentityProfiles
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+>         [-Filters]
+>         [-Sorters]
+ +Identity Profiles List + +This returns a list of Identity Profiles based on the specified query parameters. A token with ORG_ADMIN or API authority is required to call this API to get a list of Identity Profiles. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) +$Filters = "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, ne, ge, gt, in, le, lt, isnull, sw* **name**: *eq, ne, in, le, lt, isnull, sw* **priority**: *eq, ne* (optional) +$Sorters = "id,name" # String | 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, priority, created, modified, owner.id, owner.name** (optional) + +# Identity Profiles List +try { + $Result = Get-V2024IdentityProfiles -Limit $Limit -Offset $Offset -Count $Count -Filters $Filters -Sorters $Sorters +} catch { + Write-Host ("Exception occurred when calling Get-V2024IdentityProfiles: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **Filters** | **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, ne, ge, gt, in, le, lt, isnull, sw* **name**: *eq, ne, in, le, lt, isnull, sw* **priority**: *eq, ne* | [optional] + **Sorters** | **String**| 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, priority, created, modified, owner.id, owner.name** | [optional] + +### Return type + +[**IdentityProfile[]**](IdentityProfile.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Show-V2024IdentityPreview** +> IdentityPreviewResponse Show-V2024IdentityPreview
+>         [-IdentityPreviewRequest]
+ +Generate Identity Profile Preview + +Use this API to generate a non-persisted preview of the identity object after applying `IdentityAttributeConfig` sent in request body. This API only allows `accountAttribute`, `reference` and `rule` transform types in the `IdentityAttributeConfig` sent in the request body. A token with ORG_ADMIN authority is required to call this API to generate an identity preview. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$TransformDefinitionAttributesValue = Initialize-TransformDefinitionAttributesValue +$TransformDefinition = Initialize-TransformDefinition -Type "accountAttribute" -Attributes @{ key_example = $TransformDefinitionAttributesValue } + +$IdentityAttributeTransform = Initialize-IdentityAttributeTransform -IdentityAttributeName "email" -TransformDefinition $TransformDefinition + +$IdentityAttributeConfig = Initialize-IdentityAttributeConfig -Enabled $true -AttributeTransforms $IdentityAttributeTransform + +$IdentityPreviewRequest = Initialize-IdentityPreviewRequest -IdentityId "MyIdentityId" -IdentityAttributeConfig $IdentityAttributeConfig # IdentityPreviewRequest | Identity Preview request body. + +# Generate Identity Profile Preview +try { + $Result = Show-V2024IdentityPreview -IdentityPreviewRequest $IdentityPreviewRequest +} catch { + Write-Host ("Exception occurred when calling Show-V2024IdentityPreview: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **IdentityPreviewRequest** | [**IdentityPreviewRequest**](IdentityPreviewRequest.md)| Identity Preview request body. | + +### Return type + +[**IdentityPreviewResponse**](IdentityPreviewResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Sync-V2024IdentityProfile** +> SystemCollectionsHashtable Sync-V2024IdentityProfile
+>         [-IdentityProfileId]
+ +Process identities under profile + +Process identities under the profile This operation should not be used to schedule your own identity processing or to perform system wide identity refreshes. The system will use a combination of [event-based processing](https://documentation.sailpoint.com/saas/help/setup/identity_processing.html?h=process#event-based-processing) and [scheduled processing](https://documentation.sailpoint.com/saas/help/setup/identity_processing.html?h=process#scheduled-processing) that runs every day at 8:00 AM and 8:00 PM in the tenant's timezone to keep your identities synchronized. This should only be run on identity profiles that have the `identityRefreshRequired` attribute set to `true`. If `identityRefreshRequired` is false, then there is no benefit to running this operation. Typically, this operation is performed when a change is made to the identity profile or its related lifecycle states that requires a refresh. This operation will perform the following activities on all identities under the identity profile. 1. Updates identity attribute according to the identity profile mappings. 2. Determines the identity's correct manager through manager correlation. 3. Updates the identity's access according to their assigned lifecycle state. 4. Updates the identity's access based on role assignment criteria. A token with ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$IdentityProfileId = "ef38f94347e94562b5bb8424a56397d8" # String | The Identity Profile ID to be processed + +# Process identities under profile +try { + $Result = Sync-V2024IdentityProfile -IdentityProfileId $IdentityProfileId +} catch { + Write-Host ("Exception occurred when calling Sync-V2024IdentityProfile: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **IdentityProfileId** | **String**| The Identity Profile ID to be processed | + +### Return type + +[**SystemCollectionsHashtable**](SystemCollectionsHashtable.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Update-V2024IdentityProfile** +> IdentityProfile Update-V2024IdentityProfile
+>         [-IdentityProfileId]
+>         [-JsonPatchOperation]
+ +Update the Identity Profile + +This updates the specified Identity Profile. A token with ORG_ADMIN authority is required to call this API to update the Identity Profile. Some fields of the Schema cannot be updated. These fields are listed below: * id * name * created * modified * identityCount * identityRefreshRequired * Authoritative Source and Identity Attribute Configuration cannot be modified at once. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$IdentityProfileId = "ef38f94347e94562b5bb8424a56397d8" # String | The Identity Profile ID +$JsonPatchOperationValue = Initialize-JsonPatchOperationValue +$JsonPatchOperation = Initialize-JsonPatchOperation -Op "add" -Path "/description" -Value $JsonPatchOperationValue # JsonPatchOperation[] | A list of Identity Profile update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. + +# Update the Identity Profile +try { + $Result = Update-V2024IdentityProfile -IdentityProfileId $IdentityProfileId -JsonPatchOperation $JsonPatchOperation +} catch { + Write-Host ("Exception occurred when calling Update-V2024IdentityProfile: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **IdentityProfileId** | **String**| The Identity Profile ID | + **JsonPatchOperation** | [**JsonPatchOperation[]**](JsonPatchOperation.md)| A list of Identity Profile update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. | + +### Return type + +[**IdentityProfile**](IdentityProfile.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024LifecycleStatesApi.md b/PSSailpoint/v2024/docs/V2024LifecycleStatesApi.md new file mode 100644 index 000000000..9b88c00f5 --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024LifecycleStatesApi.md @@ -0,0 +1,353 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024LifecycleStatesApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**New-V2024LifecycleState**](V2024LifecycleStatesApi.md#New-V2024LifecycleState) | **POST** /identity-profiles/{identity-profile-id}/lifecycle-states | Create Lifecycle State +[**Remove-V2024LifecycleState**](V2024LifecycleStatesApi.md#Remove-V2024LifecycleState) | **DELETE** /identity-profiles/{identity-profile-id}/lifecycle-states/{lifecycle-state-id} | Delete Lifecycle State +[**Get-V2024LifecycleState**](V2024LifecycleStatesApi.md#Get-V2024LifecycleState) | **GET** /identity-profiles/{identity-profile-id}/lifecycle-states/{lifecycle-state-id} | Get Lifecycle State +[**Get-V2024LifecycleStates**](V2024LifecycleStatesApi.md#Get-V2024LifecycleStates) | **GET** /identity-profiles/{identity-profile-id}/lifecycle-states | Lists LifecycleStates +[**Set-V2024LifecycleState**](V2024LifecycleStatesApi.md#Set-V2024LifecycleState) | **POST** /identities/{identity-id}/set-lifecycle-state | Set Lifecycle State +[**Update-V2024LifecycleStates**](V2024LifecycleStatesApi.md#Update-V2024LifecycleStates) | **PATCH** /identity-profiles/{identity-profile-id}/lifecycle-states/{lifecycle-state-id} | Update Lifecycle State + + + +# **New-V2024LifecycleState** +> LifecycleState New-V2024LifecycleState
+>         [-IdentityProfileId]
+>         [-LifecycleState]
+ +Create Lifecycle State + +Use this endpoint to create a lifecycle state. A token with ORG_ADMIN or API authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$IdentityProfileId = "2b838de9-db9b-abcf-e646-d4f274ad4238" # String | Identity profile ID. +$EmailNotificationOption = Initialize-EmailNotificationOption -NotifyManagers $true -NotifyAllAdmins $true -NotifySpecificUsers $true -EmailAddressList "MyEmailAddressList" +$AccountAction = Initialize-AccountAction -Action "ENABLE" -SourceIds "MySourceIds" +$LifecycleState = Initialize-LifecycleState -Id "id12345" -Name "aName" -Created (Get-Date) -Modified (Get-Date) -Enabled $true -TechnicalName "Technical Name" -Description "Lifecycle description" -IdentityCount 42 -EmailNotificationOption $EmailNotificationOption -AccountActions $AccountAction -AccessProfileIds "MyAccessProfileIds" -IdentityState "MyIdentityState" # LifecycleState | Lifecycle state to be created. + +# Create Lifecycle State +try { + $Result = New-V2024LifecycleState -IdentityProfileId $IdentityProfileId -LifecycleState $LifecycleState +} catch { + Write-Host ("Exception occurred when calling New-V2024LifecycleState: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **IdentityProfileId** | **String**| Identity profile ID. | + **LifecycleState** | [**LifecycleState**](LifecycleState.md)| Lifecycle state to be created. | + +### Return type + +[**LifecycleState**](LifecycleState.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Remove-V2024LifecycleState** +> LifecyclestateDeleted Remove-V2024LifecycleState
+>         [-IdentityProfileId]
+>         [-LifecycleStateId]
+ +Delete Lifecycle State + +Use this endpoint to delete the lifecycle state by its ID. A token with API, or ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$IdentityProfileId = "2b838de9-db9b-abcf-e646-d4f274ad4238" # String | Identity profile ID. +$LifecycleStateId = "ef38f94347e94562b5bb8424a56397d8" # String | Lifecycle state ID. + +# Delete Lifecycle State +try { + $Result = Remove-V2024LifecycleState -IdentityProfileId $IdentityProfileId -LifecycleStateId $LifecycleStateId +} catch { + Write-Host ("Exception occurred when calling Remove-V2024LifecycleState: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **IdentityProfileId** | **String**| Identity profile ID. | + **LifecycleStateId** | **String**| Lifecycle state ID. | + +### Return type + +[**LifecyclestateDeleted**](LifecyclestateDeleted.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024LifecycleState** +> LifecycleState Get-V2024LifecycleState
+>         [-IdentityProfileId]
+>         [-LifecycleStateId]
+ +Get Lifecycle State + +Use this endpoint to get a lifecycle state by its ID and its associated identity profile ID. A token with ORG_ADMIN or API authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$IdentityProfileId = "2b838de9-db9b-abcf-e646-d4f274ad4238" # String | Identity profile ID. +$LifecycleStateId = "ef38f94347e94562b5bb8424a56397d8" # String | Lifecycle state ID. + +# Get Lifecycle State +try { + $Result = Get-V2024LifecycleState -IdentityProfileId $IdentityProfileId -LifecycleStateId $LifecycleStateId +} catch { + Write-Host ("Exception occurred when calling Get-V2024LifecycleState: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **IdentityProfileId** | **String**| Identity profile ID. | + **LifecycleStateId** | **String**| Lifecycle state ID. | + +### Return type + +[**LifecycleState**](LifecycleState.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024LifecycleStates** +> LifecycleState[] Get-V2024LifecycleStates
+>         [-IdentityProfileId]
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+>         [-Sorters]
+ +Lists LifecycleStates + +Use this endpoint to list all lifecycle states by their associated identity profiles. A token with API, or ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$IdentityProfileId = "2b838de9-db9b-abcf-e646-d4f274ad4238" # String | Identity profile ID. +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) +$Sorters = "created,modified" # String | 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: **created, modified** (optional) + +# Lists LifecycleStates +try { + $Result = Get-V2024LifecycleStates -IdentityProfileId $IdentityProfileId -Limit $Limit -Offset $Offset -Count $Count -Sorters $Sorters +} catch { + Write-Host ("Exception occurred when calling Get-V2024LifecycleStates: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **IdentityProfileId** | **String**| Identity profile ID. | + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **Sorters** | **String**| 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: **created, modified** | [optional] + +### Return type + +[**LifecycleState[]**](LifecycleState.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Set-V2024LifecycleState** +> SetLifecycleState200Response Set-V2024LifecycleState
+>         [-IdentityId]
+>         [-SetLifecycleStateRequest]
+ +Set Lifecycle State + +Use this API to set/update an identity's lifecycle state to the one provided and update the corresponding identity profile. A token with ORG_ADMIN or API authority and the appropriate user context is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$IdentityId = "2c9180857893f1290178944561990364" # String | ID of the identity to update. +$SetLifecycleStateRequest = Initialize-SetLifecycleStateRequest -LifecycleStateId "2c9180877a86e408017a8c19fefe046c" # SetLifecycleStateRequest | + +# Set Lifecycle State +try { + $Result = Set-V2024LifecycleState -IdentityId $IdentityId -SetLifecycleStateRequest $SetLifecycleStateRequest +} catch { + Write-Host ("Exception occurred when calling Set-V2024LifecycleState: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **IdentityId** | **String**| ID of the identity to update. | + **SetLifecycleStateRequest** | [**SetLifecycleStateRequest**](SetLifecycleStateRequest.md)| | + +### Return type + +[**SetLifecycleState200Response**](SetLifecycleState200Response.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Update-V2024LifecycleStates** +> LifecycleState Update-V2024LifecycleStates
+>         [-IdentityProfileId]
+>         [-LifecycleStateId]
+>         [-JsonPatchOperation]
+ +Update Lifecycle State + +Use this endpoint to update individual lifecycle state fields, using the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. A token with ORG_ADMIN or API authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$IdentityProfileId = "2b838de9-db9b-abcf-e646-d4f274ad4238" # String | Identity profile ID. +$LifecycleStateId = "ef38f94347e94562b5bb8424a56397d8" # String | Lifecycle state ID. +$JsonPatchOperationValue = Initialize-JsonPatchOperationValue +$JsonPatchOperation = Initialize-JsonPatchOperation -Op "add" -Path "/description" -Value $JsonPatchOperationValue # JsonPatchOperation[] | A list of lifecycle state update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. The following fields can be updated: * enabled * description * accountActions * accessProfileIds * emailNotificationOption + +# Update Lifecycle State +try { + $Result = Update-V2024LifecycleStates -IdentityProfileId $IdentityProfileId -LifecycleStateId $LifecycleStateId -JsonPatchOperation $JsonPatchOperation +} catch { + Write-Host ("Exception occurred when calling Update-V2024LifecycleStates: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **IdentityProfileId** | **String**| Identity profile ID. | + **LifecycleStateId** | **String**| Lifecycle state ID. | + **JsonPatchOperation** | [**JsonPatchOperation[]**](JsonPatchOperation.md)| A list of lifecycle state update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. The following fields can be updated: * enabled * description * accountActions * accessProfileIds * emailNotificationOption | + +### Return type + +[**LifecycleState**](LifecycleState.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024MFAConfigurationApi.md b/PSSailpoint/v2024/docs/V2024MFAConfigurationApi.md new file mode 100644 index 000000000..c2d8e39da --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024MFAConfigurationApi.md @@ -0,0 +1,362 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024MFAConfigurationApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**Get-V2024MFADuoConfig**](V2024MFAConfigurationApi.md#Get-V2024MFADuoConfig) | **GET** /mfa/duo-web/config | Configuration of Duo MFA method +[**Get-V2024MFAKbaConfig**](V2024MFAConfigurationApi.md#Get-V2024MFAKbaConfig) | **GET** /mfa/kba/config | Configuration of KBA MFA method +[**Get-V2024MFAOktaConfig**](V2024MFAConfigurationApi.md#Get-V2024MFAOktaConfig) | **GET** /mfa/okta-verify/config | Configuration of Okta MFA method +[**Set-V2024MFADuoConfig**](V2024MFAConfigurationApi.md#Set-V2024MFADuoConfig) | **PUT** /mfa/duo-web/config | Set Duo MFA configuration +[**Set-V2024MFAKBAConfig**](V2024MFAConfigurationApi.md#Set-V2024MFAKBAConfig) | **POST** /mfa/kba/config/answers | Set MFA KBA configuration +[**Set-V2024MFAOktaConfig**](V2024MFAConfigurationApi.md#Set-V2024MFAOktaConfig) | **PUT** /mfa/okta-verify/config | Set Okta MFA configuration +[**Test-V2024MFAConfig**](V2024MFAConfigurationApi.md#Test-V2024MFAConfig) | **GET** /mfa/{method}/test | MFA method's test configuration + + + +# **Get-V2024MFADuoConfig** +> MfaDuoConfig Get-V2024MFADuoConfig
+ +Configuration of Duo MFA method + +This API returns the configuration of an Duo MFA method. A token with ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + + +# Configuration of Duo MFA method +try { + $Result = Get-V2024MFADuoConfig +} catch { + Write-Host ("Exception occurred when calling Get-V2024MFADuoConfig: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**MfaDuoConfig**](MfaDuoConfig.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024MFAKbaConfig** +> KbaQuestion[] Get-V2024MFAKbaConfig
+>         [-AllLanguages]
+ +Configuration of KBA MFA method + +This API returns the KBA configuration for MFA. A token with USER or ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$AllLanguages = $false # Boolean | Indicator whether the question text should be returned in all configured languages * If true, the question text is returned in all languages that it is configured in. * If false, the question text is returned in the user locale if available, else for the default locale. * If not passed, it behaves the same way as passing this parameter as false (optional) + +# Configuration of KBA MFA method +try { + $Result = Get-V2024MFAKbaConfig -AllLanguages $AllLanguages +} catch { + Write-Host ("Exception occurred when calling Get-V2024MFAKbaConfig: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **AllLanguages** | **Boolean**| Indicator whether the question text should be returned in all configured languages * If true, the question text is returned in all languages that it is configured in. * If false, the question text is returned in the user locale if available, else for the default locale. * If not passed, it behaves the same way as passing this parameter as false | [optional] + +### Return type + +[**KbaQuestion[]**](KbaQuestion.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024MFAOktaConfig** +> MfaOktaConfig Get-V2024MFAOktaConfig
+ +Configuration of Okta MFA method + +This API returns the configuration of an Okta MFA method. A token with ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + + +# Configuration of Okta MFA method +try { + $Result = Get-V2024MFAOktaConfig +} catch { + Write-Host ("Exception occurred when calling Get-V2024MFAOktaConfig: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**MfaOktaConfig**](MfaOktaConfig.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Set-V2024MFADuoConfig** +> MfaDuoConfig Set-V2024MFADuoConfig
+>         [-MfaDuoConfig]
+ +Set Duo MFA configuration + +This API sets the configuration of an Duo MFA method. A token with ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$MfaDuoConfig = Initialize-MfaDuoConfig -MfaMethod "duo-web" -Enabled $true -VarHost "example.com" -AccessKey "qw123Y3QlA5UqocYpdU3rEkzrK2D497y" -IdentityAttribute "email" -ConfigProperties @{ key_example = } # MfaDuoConfig | + +# Set Duo MFA configuration +try { + $Result = Set-V2024MFADuoConfig -MfaDuoConfig $MfaDuoConfig +} catch { + Write-Host ("Exception occurred when calling Set-V2024MFADuoConfig: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **MfaDuoConfig** | [**MfaDuoConfig**](MfaDuoConfig.md)| | + +### Return type + +[**MfaDuoConfig**](MfaDuoConfig.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Set-V2024MFAKBAConfig** +> KbaAnswerResponseItem[] Set-V2024MFAKBAConfig
+>         [-KbaAnswerRequestItem]
+ +Set MFA KBA configuration + +This API sets answers to challenge questions. Any configured questions omitted from the request are removed from user KBA configuration. A token with USER authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$KbaAnswerRequestItem = Initialize-KbaAnswerRequestItem -Id "c54fee53-2d63-4fc5-9259-3e93b9994135" -Answer "Your answer" # KbaAnswerRequestItem[] | + +# Set MFA KBA configuration +try { + $Result = Set-V2024MFAKBAConfig -KbaAnswerRequestItem $KbaAnswerRequestItem +} catch { + Write-Host ("Exception occurred when calling Set-V2024MFAKBAConfig: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **KbaAnswerRequestItem** | [**KbaAnswerRequestItem[]**](KbaAnswerRequestItem.md)| | + +### Return type + +[**KbaAnswerResponseItem[]**](KbaAnswerResponseItem.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Set-V2024MFAOktaConfig** +> MfaOktaConfig Set-V2024MFAOktaConfig
+>         [-MfaOktaConfig]
+ +Set Okta MFA configuration + +This API sets the configuration of an Okta MFA method. A token with ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$MfaOktaConfig = Initialize-MfaOktaConfig -MfaMethod "okta-verify" -Enabled $true -VarHost "example.com" -AccessKey "qw123Y3QlA5UqocYpdU3rEkzrK2D497y" -IdentityAttribute "email" # MfaOktaConfig | + +# Set Okta MFA configuration +try { + $Result = Set-V2024MFAOktaConfig -MfaOktaConfig $MfaOktaConfig +} catch { + Write-Host ("Exception occurred when calling Set-V2024MFAOktaConfig: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **MfaOktaConfig** | [**MfaOktaConfig**](MfaOktaConfig.md)| | + +### Return type + +[**MfaOktaConfig**](MfaOktaConfig.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Test-V2024MFAConfig** +> MfaConfigTestResponse Test-V2024MFAConfig
+>         [-Method]
+ +MFA method's test configuration + +This API validates that the configuration is valid and will properly authenticate with the MFA provider identified by the method path parameter. A token with ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Method = "okta-verify" # String | The name of the MFA method. The currently supported method names are 'okta-verify' and 'duo-web'. + +# MFA method's test configuration +try { + $Result = Test-V2024MFAConfig -Method $Method +} catch { + Write-Host ("Exception occurred when calling Test-V2024MFAConfig: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Method** | **String**| The name of the MFA method. The currently supported method names are 'okta-verify' and 'duo-web'. | + +### Return type + +[**MfaConfigTestResponse**](MfaConfigTestResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024ManagedClientsApi.md b/PSSailpoint/v2024/docs/V2024ManagedClientsApi.md new file mode 100644 index 000000000..52cc85b69 --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024ManagedClientsApi.md @@ -0,0 +1,336 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024ManagedClientsApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**New-V2024ManagedClient**](V2024ManagedClientsApi.md#New-V2024ManagedClient) | **POST** /managed-clients | Create a new Managed Client +[**Remove-V2024ManagedClient**](V2024ManagedClientsApi.md#Remove-V2024ManagedClient) | **DELETE** /managed-clients/{id} | Delete a Managed Client +[**Get-V2024ManagedClient**](V2024ManagedClientsApi.md#Get-V2024ManagedClient) | **GET** /managed-clients/{id} | Get a Managed Client +[**Get-V2024ManagedClientStatus**](V2024ManagedClientsApi.md#Get-V2024ManagedClientStatus) | **GET** /managed-clients/{id}/status | Get Managed Client Status. +[**Get-V2024ManagedClients**](V2024ManagedClientsApi.md#Get-V2024ManagedClients) | **GET** /managed-clients | Get Managed Clients +[**Update-V2024ManagedClient**](V2024ManagedClientsApi.md#Update-V2024ManagedClient) | **PATCH** /managed-clients/{id} | Update a Managed Client + + + +# **New-V2024ManagedClient** +> ManagedClient New-V2024ManagedClient
+>         [-ManagedClientRequest]
+ +Create a new Managed Client + +Create a new Managed Client. The API returns a result that includes the Managed Client ID. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$ManagedClientRequest = Initialize-ManagedClientRequest -ClusterId "aClusterId" -Description "A short description of the ManagedClient" -Name "aName" -Type "VA" # ManagedClientRequest | + +# Create a new Managed Client +try { + $Result = New-V2024ManagedClient -ManagedClientRequest $ManagedClientRequest +} catch { + Write-Host ("Exception occurred when calling New-V2024ManagedClient: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ManagedClientRequest** | [**ManagedClientRequest**](ManagedClientRequest.md)| | + +### Return type + +[**ManagedClient**](ManagedClient.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Remove-V2024ManagedClient** +> void Remove-V2024ManagedClient
+>         [-Id]
+ +Delete a Managed Client + +Delete an existing Managed Client. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "4440278c-0ce2-41ee-a0a9-f5cfd5e8d3b7" # String | Managed Client ID. + +# Delete a Managed Client +try { + $Result = Remove-V2024ManagedClient -Id $Id +} catch { + Write-Host ("Exception occurred when calling Remove-V2024ManagedClient: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| Managed Client ID. | + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024ManagedClient** +> ManagedClient Get-V2024ManagedClient
+>         [-Id]
+ +Get a Managed Client + +Get a Managed Client. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "4440278c-0ce2-41ee-a0a9-f5cfd5e8d3b7" # String | Managed Client ID. + +# Get a Managed Client +try { + $Result = Get-V2024ManagedClient -Id $Id +} catch { + Write-Host ("Exception occurred when calling Get-V2024ManagedClient: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| Managed Client ID. | + +### Return type + +[**ManagedClient**](ManagedClient.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024ManagedClientStatus** +> ManagedClientStatus Get-V2024ManagedClientStatus
+>         [-Id]
+>         [-Type]
+ +Get Managed Client Status. + +Retrieve the Status of a Managed Client by ID. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "aClientId" # String | ID of the Managed Client to get Status of +$Type = "CCG" # ManagedClientType | Type of the Managed Client to get Status of + +# Get Managed Client Status. +try { + $Result = Get-V2024ManagedClientStatus -Id $Id -Type $Type +} catch { + Write-Host ("Exception occurred when calling Get-V2024ManagedClientStatus: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| ID of the Managed Client to get Status of | + **Type** | [**ManagedClientType**](ManagedClientType.md)| Type of the Managed Client to get Status of | + +### Return type + +[**ManagedClientStatus**](ManagedClientStatus.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024ManagedClients** +> ManagedClient[] Get-V2024ManagedClients
+>         [-Offset]
+>         [-Limit]
+>         [-Count]
+>         [-Filters]
+ +Get Managed Clients + +Get a list of Managed Clients. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Count = $true # Boolean | 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. (optional) (default to $false) +$Filters = "name eq "client name"" # 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* **name**: *eq* **clientId**: *eq* **clusterId**: *eq* (optional) + +# Get Managed Clients +try { + $Result = Get-V2024ManagedClients -Offset $Offset -Limit $Limit -Count $Count -Filters $Filters +} catch { + Write-Host ("Exception occurred when calling Get-V2024ManagedClients: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **Filters** | **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* **name**: *eq* **clientId**: *eq* **clusterId**: *eq* | [optional] + +### Return type + +[**ManagedClient[]**](ManagedClient.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Update-V2024ManagedClient** +> ManagedClient Update-V2024ManagedClient
+>         [-Id]
+>         [-JsonPatchOperation]
+ +Update a Managed Client + +Update an existing Managed Client. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "4440278c-0ce2-41ee-a0a9-f5cfd5e8d3b7" # String | Managed Client ID. +$JsonPatchOperationValue = Initialize-JsonPatchOperationValue +$JsonPatchOperation = Initialize-JsonPatchOperation -Op "add" -Path "/description" -Value $JsonPatchOperationValue # JsonPatchOperation[] | The JSONPatch payload used to update the object. + +# Update a Managed Client +try { + $Result = Update-V2024ManagedClient -Id $Id -JsonPatchOperation $JsonPatchOperation +} catch { + Write-Host ("Exception occurred when calling Update-V2024ManagedClient: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| Managed Client ID. | + **JsonPatchOperation** | [**JsonPatchOperation[]**](JsonPatchOperation.md)| The JSONPatch payload used to update the object. | + +### Return type + +[**ManagedClient**](ManagedClient.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024ManagedClustersApi.md b/PSSailpoint/v2024/docs/V2024ManagedClustersApi.md new file mode 100644 index 000000000..08488f566 --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024ManagedClustersApi.md @@ -0,0 +1,284 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024ManagedClustersApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**New-V2024ManagedCluster**](V2024ManagedClustersApi.md#New-V2024ManagedCluster) | **POST** /managed-clusters | Create a new Managed Cluster +[**Remove-V2024ManagedCluster**](V2024ManagedClustersApi.md#Remove-V2024ManagedCluster) | **DELETE** /managed-clusters/{id} | Delete a Managed Cluster +[**Get-V2024ManagedCluster**](V2024ManagedClustersApi.md#Get-V2024ManagedCluster) | **GET** /managed-clusters/{id} | Get a specified Managed Cluster. +[**Get-V2024ManagedClusters**](V2024ManagedClustersApi.md#Get-V2024ManagedClusters) | **GET** /managed-clusters | Retrieve all Managed Clusters. +[**Update-V2024ManagedCluster**](V2024ManagedClustersApi.md#Update-V2024ManagedCluster) | **PATCH** /managed-clusters/{id} | Update a Managed Cluster + + + +# **New-V2024ManagedCluster** +> ManagedCluster New-V2024ManagedCluster
+>         [-ManagedClusterRequest]
+ +Create a new Managed Cluster + +Create a new Managed Cluster. The API returns a result that includes the Managed Cluster ID. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$ManagedClusterRequest = Initialize-ManagedClusterRequest -Name "Managed Cluster Name" -Type "idn" -Configuration @{ key_example = "MyInner" } -Description "A short description of the managed cluster." # ManagedClusterRequest | + +# Create a new Managed Cluster +try { + $Result = New-V2024ManagedCluster -ManagedClusterRequest $ManagedClusterRequest +} catch { + Write-Host ("Exception occurred when calling New-V2024ManagedCluster: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ManagedClusterRequest** | [**ManagedClusterRequest**](ManagedClusterRequest.md)| | + +### Return type + +[**ManagedCluster**](ManagedCluster.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Remove-V2024ManagedCluster** +> void Remove-V2024ManagedCluster
+>         [-Id]
+>         [-RemoveClients]
+ +Delete a Managed Cluster + +Delete an existing Managed Cluster. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "2c9180897de347a2017de8859e8c5039" # String | Managed Cluster ID. +$RemoveClients = $false # Boolean | Flag to determine the need to delete a cluster with clients (optional) (default to $false) + +# Delete a Managed Cluster +try { + $Result = Remove-V2024ManagedCluster -Id $Id -RemoveClients $RemoveClients +} catch { + Write-Host ("Exception occurred when calling Remove-V2024ManagedCluster: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| Managed Cluster ID. | + **RemoveClients** | **Boolean**| Flag to determine the need to delete a cluster with clients | [optional] [default to $false] + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024ManagedCluster** +> ManagedCluster Get-V2024ManagedCluster
+>         [-Id]
+ +Get a specified Managed Cluster. + +Retrieve a ManagedCluster by ID. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "2c9180897de347a2017de8859e8c5039" # String | ManagedCluster ID. + +# Get a specified Managed Cluster. +try { + $Result = Get-V2024ManagedCluster -Id $Id +} catch { + Write-Host ("Exception occurred when calling Get-V2024ManagedCluster: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| ManagedCluster ID. | + +### Return type + +[**ManagedCluster**](ManagedCluster.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024ManagedClusters** +> ManagedCluster[] Get-V2024ManagedClusters
+>         [-Offset]
+>         [-Limit]
+>         [-Count]
+>         [-Filters]
+ +Retrieve all Managed Clusters. + +Retrieve all Managed Clusters for the current Org, based on request context. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Count = $true # Boolean | 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. (optional) (default to $false) +$Filters = "operational eq "operation"" # 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: **operational**: *eq* (optional) + +# Retrieve all Managed Clusters. +try { + $Result = Get-V2024ManagedClusters -Offset $Offset -Limit $Limit -Count $Count -Filters $Filters +} catch { + Write-Host ("Exception occurred when calling Get-V2024ManagedClusters: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **Filters** | **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: **operational**: *eq* | [optional] + +### Return type + +[**ManagedCluster[]**](ManagedCluster.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Update-V2024ManagedCluster** +> ManagedCluster Update-V2024ManagedCluster
+>         [-Id]
+>         [-JsonPatchOperation]
+ +Update a Managed Cluster + +Update an existing Managed Cluster. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "2c9180897de347a2017de8859e8c5039" # String | Managed Cluster ID. +$JsonPatchOperationValue = Initialize-JsonPatchOperationValue +$JsonPatchOperation = Initialize-JsonPatchOperation -Op "add" -Path "/description" -Value $JsonPatchOperationValue # JsonPatchOperation[] | The JSONPatch payload used to update the object. + +# Update a Managed Cluster +try { + $Result = Update-V2024ManagedCluster -Id $Id -JsonPatchOperation $JsonPatchOperation +} catch { + Write-Host ("Exception occurred when calling Update-V2024ManagedCluster: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| Managed Cluster ID. | + **JsonPatchOperation** | [**JsonPatchOperation[]**](JsonPatchOperation.md)| The JSONPatch payload used to update the object. | + +### Return type + +[**ManagedCluster**](ManagedCluster.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024NonEmployeeLifecycleManagementApi.md b/PSSailpoint/v2024/docs/V2024NonEmployeeLifecycleManagementApi.md new file mode 100644 index 000000000..16640d87a --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024NonEmployeeLifecycleManagementApi.md @@ -0,0 +1,1769 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024NonEmployeeLifecycleManagementApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**Approve-V2024NonEmployeeRequest**](V2024NonEmployeeLifecycleManagementApi.md#Approve-V2024NonEmployeeRequest) | **POST** /non-employee-approvals/{id}/approve | Approve a Non-Employee Request +[**New-V2024NonEmployeeRecord**](V2024NonEmployeeLifecycleManagementApi.md#New-V2024NonEmployeeRecord) | **POST** /non-employee-records | Create Non-Employee Record +[**New-V2024NonEmployeeRequest**](V2024NonEmployeeLifecycleManagementApi.md#New-V2024NonEmployeeRequest) | **POST** /non-employee-requests | Create Non-Employee Request +[**New-V2024NonEmployeeSource**](V2024NonEmployeeLifecycleManagementApi.md#New-V2024NonEmployeeSource) | **POST** /non-employee-sources | Create Non-Employee Source +[**New-V2024NonEmployeeSourceSchemaAttributes**](V2024NonEmployeeLifecycleManagementApi.md#New-V2024NonEmployeeSourceSchemaAttributes) | **POST** /non-employee-sources/{sourceId}/schema-attributes | Create a new Schema Attribute for Non-Employee Source +[**Remove-V2024NonEmployeeRecord**](V2024NonEmployeeLifecycleManagementApi.md#Remove-V2024NonEmployeeRecord) | **DELETE** /non-employee-records/{id} | Delete Non-Employee Record +[**Remove-V2024NonEmployeeRecordsInBulk**](V2024NonEmployeeLifecycleManagementApi.md#Remove-V2024NonEmployeeRecordsInBulk) | **POST** /non-employee-records/bulk-delete | Delete Multiple Non-Employee Records +[**Remove-V2024NonEmployeeRequest**](V2024NonEmployeeLifecycleManagementApi.md#Remove-V2024NonEmployeeRequest) | **DELETE** /non-employee-requests/{id} | Delete Non-Employee Request +[**Remove-V2024NonEmployeeSchemaAttribute**](V2024NonEmployeeLifecycleManagementApi.md#Remove-V2024NonEmployeeSchemaAttribute) | **DELETE** /non-employee-sources/{sourceId}/schema-attributes/{attributeId} | Delete a Schema Attribute for Non-Employee Source +[**Remove-V2024NonEmployeeSource**](V2024NonEmployeeLifecycleManagementApi.md#Remove-V2024NonEmployeeSource) | **DELETE** /non-employee-sources/{sourceId} | Delete Non-Employee Source +[**Remove-V2024NonEmployeeSourceSchemaAttributes**](V2024NonEmployeeLifecycleManagementApi.md#Remove-V2024NonEmployeeSourceSchemaAttributes) | **DELETE** /non-employee-sources/{sourceId}/schema-attributes | Delete all custom schema attributes for Non-Employee Source +[**Export-V2024NonEmployeeRecords**](V2024NonEmployeeLifecycleManagementApi.md#Export-V2024NonEmployeeRecords) | **GET** /non-employee-sources/{id}/non-employees/download | Exports Non-Employee Records to CSV +[**Export-V2024NonEmployeeSourceSchemaTemplate**](V2024NonEmployeeLifecycleManagementApi.md#Export-V2024NonEmployeeSourceSchemaTemplate) | **GET** /non-employee-sources/{id}/schema-attributes-template/download | Exports Source Schema Template +[**Get-V2024NonEmployeeApproval**](V2024NonEmployeeLifecycleManagementApi.md#Get-V2024NonEmployeeApproval) | **GET** /non-employee-approvals/{id} | Get a non-employee approval item detail +[**Get-V2024NonEmployeeApprovalSummary**](V2024NonEmployeeLifecycleManagementApi.md#Get-V2024NonEmployeeApprovalSummary) | **GET** /non-employee-approvals/summary/{requested-for} | Get Summary of Non-Employee Approval Requests +[**Get-V2024NonEmployeeBulkUploadStatus**](V2024NonEmployeeLifecycleManagementApi.md#Get-V2024NonEmployeeBulkUploadStatus) | **GET** /non-employee-sources/{id}/non-employee-bulk-upload/status | Obtain the status of bulk upload on the source +[**Get-V2024NonEmployeeRecord**](V2024NonEmployeeLifecycleManagementApi.md#Get-V2024NonEmployeeRecord) | **GET** /non-employee-records/{id} | Get a Non-Employee Record +[**Get-V2024NonEmployeeRequest**](V2024NonEmployeeLifecycleManagementApi.md#Get-V2024NonEmployeeRequest) | **GET** /non-employee-requests/{id} | Get a Non-Employee Request +[**Get-V2024NonEmployeeRequestSummary**](V2024NonEmployeeLifecycleManagementApi.md#Get-V2024NonEmployeeRequestSummary) | **GET** /non-employee-requests/summary/{requested-for} | Get Summary of Non-Employee Requests +[**Get-V2024NonEmployeeSchemaAttribute**](V2024NonEmployeeLifecycleManagementApi.md#Get-V2024NonEmployeeSchemaAttribute) | **GET** /non-employee-sources/{sourceId}/schema-attributes/{attributeId} | Get Schema Attribute Non-Employee Source +[**Get-V2024NonEmployeeSource**](V2024NonEmployeeLifecycleManagementApi.md#Get-V2024NonEmployeeSource) | **GET** /non-employee-sources/{sourceId} | Get a Non-Employee Source +[**Get-V2024NonEmployeeSourceSchemaAttributes**](V2024NonEmployeeLifecycleManagementApi.md#Get-V2024NonEmployeeSourceSchemaAttributes) | **GET** /non-employee-sources/{sourceId}/schema-attributes | List Schema Attributes Non-Employee Source +[**Import-V2024NonEmployeeRecordsInBulk**](V2024NonEmployeeLifecycleManagementApi.md#Import-V2024NonEmployeeRecordsInBulk) | **POST** /non-employee-sources/{id}/non-employee-bulk-upload | Imports, or Updates, Non-Employee Records +[**Get-V2024NonEmployeeApprovals**](V2024NonEmployeeLifecycleManagementApi.md#Get-V2024NonEmployeeApprovals) | **GET** /non-employee-approvals | Get List of Non-Employee Approval Requests +[**Get-V2024NonEmployeeRecords**](V2024NonEmployeeLifecycleManagementApi.md#Get-V2024NonEmployeeRecords) | **GET** /non-employee-records | List Non-Employee Records +[**Get-V2024NonEmployeeRequests**](V2024NonEmployeeLifecycleManagementApi.md#Get-V2024NonEmployeeRequests) | **GET** /non-employee-requests | List Non-Employee Requests +[**Get-V2024NonEmployeeSources**](V2024NonEmployeeLifecycleManagementApi.md#Get-V2024NonEmployeeSources) | **GET** /non-employee-sources | List Non-Employee Sources +[**Update-V2024NonEmployeeRecord**](V2024NonEmployeeLifecycleManagementApi.md#Update-V2024NonEmployeeRecord) | **PATCH** /non-employee-records/{id} | Patch Non-Employee Record +[**Update-V2024NonEmployeeSchemaAttribute**](V2024NonEmployeeLifecycleManagementApi.md#Update-V2024NonEmployeeSchemaAttribute) | **PATCH** /non-employee-sources/{sourceId}/schema-attributes/{attributeId} | Patch a Schema Attribute for Non-Employee Source +[**Update-V2024NonEmployeeSource**](V2024NonEmployeeLifecycleManagementApi.md#Update-V2024NonEmployeeSource) | **PATCH** /non-employee-sources/{sourceId} | Patch a Non-Employee Source +[**Deny-V2024NonEmployeeRequest**](V2024NonEmployeeLifecycleManagementApi.md#Deny-V2024NonEmployeeRequest) | **POST** /non-employee-approvals/{id}/reject | Reject a Non-Employee Request +[**Update-V2024NonEmployeeRecord**](V2024NonEmployeeLifecycleManagementApi.md#Update-V2024NonEmployeeRecord) | **PUT** /non-employee-records/{id} | Update Non-Employee Record + + + +# **Approve-V2024NonEmployeeRequest** +> NonEmployeeApprovalItem Approve-V2024NonEmployeeRequest
+>         [-Id]
+>         [-NonEmployeeApprovalDecision]
+ +Approve a Non-Employee Request + +Approves a non-employee approval request and notifies the next approver. The current user must be the requested approver. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "e136567de87e4d029e60b3c3c55db56d" # String | Non-Employee approval item id (UUID) +$NonEmployeeApprovalDecision = Initialize-NonEmployeeApprovalDecision -Comment "Approved by manager" # NonEmployeeApprovalDecision | + +# Approve a Non-Employee Request +try { + $Result = Approve-V2024NonEmployeeRequest -Id $Id -NonEmployeeApprovalDecision $NonEmployeeApprovalDecision +} catch { + Write-Host ("Exception occurred when calling Approve-V2024NonEmployeeRequest: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| Non-Employee approval item id (UUID) | + **NonEmployeeApprovalDecision** | [**NonEmployeeApprovalDecision**](NonEmployeeApprovalDecision.md)| | + +### Return type + +[**NonEmployeeApprovalItem**](NonEmployeeApprovalItem.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **New-V2024NonEmployeeRecord** +> NonEmployeeRecord New-V2024NonEmployeeRecord
+>         [-NonEmployeeRequestBody]
+ +Create Non-Employee Record + +This request will create a non-employee record. Requires role context of `idn:nesr:create` + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$NonEmployeeRequestBody = Initialize-NonEmployeeRequestBody -AccountName "william.smith" -FirstName "William" -LastName "Smith" -Email "william.smith@example.com" -Phone "5555555555" -Manager "jane.doe" -SourceId "2c91808568c529c60168cca6f90c1313" -VarData @{ key_example = "MyInner" } -StartDate (Get-Date) -EndDate (Get-Date) # NonEmployeeRequestBody | Non-Employee record creation request body. + +# Create Non-Employee Record +try { + $Result = New-V2024NonEmployeeRecord -NonEmployeeRequestBody $NonEmployeeRequestBody +} catch { + Write-Host ("Exception occurred when calling New-V2024NonEmployeeRecord: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **NonEmployeeRequestBody** | [**NonEmployeeRequestBody**](NonEmployeeRequestBody.md)| Non-Employee record creation request body. | + +### Return type + +[**NonEmployeeRecord**](NonEmployeeRecord.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **New-V2024NonEmployeeRequest** +> NonEmployeeRequest New-V2024NonEmployeeRequest
+>         [-NonEmployeeRequestBody]
+ +Create Non-Employee Request + +This request will create a non-employee request and notify the approver. Requires role context of `idn:nesr:create` or the user must own the source. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$NonEmployeeRequestBody = Initialize-NonEmployeeRequestBody -AccountName "william.smith" -FirstName "William" -LastName "Smith" -Email "william.smith@example.com" -Phone "5555555555" -Manager "jane.doe" -SourceId "2c91808568c529c60168cca6f90c1313" -VarData @{ key_example = "MyInner" } -StartDate (Get-Date) -EndDate (Get-Date) # NonEmployeeRequestBody | Non-Employee creation request body + +# Create Non-Employee Request +try { + $Result = New-V2024NonEmployeeRequest -NonEmployeeRequestBody $NonEmployeeRequestBody +} catch { + Write-Host ("Exception occurred when calling New-V2024NonEmployeeRequest: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **NonEmployeeRequestBody** | [**NonEmployeeRequestBody**](NonEmployeeRequestBody.md)| Non-Employee creation request body | + +### Return type + +[**NonEmployeeRequest**](NonEmployeeRequest.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **New-V2024NonEmployeeSource** +> NonEmployeeSourceWithCloudExternalId New-V2024NonEmployeeSource
+>         [-NonEmployeeSourceRequestBody]
+ +Create Non-Employee Source + +This request will create a non-employee source. Requires role context of `idn:nesr:create` + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$NonEmployeeIdnUserRequest = Initialize-NonEmployeeIdnUserRequest -Id "2c91808570313110017040b06f344ec9" +$NonEmployeeSourceRequestBody = Initialize-NonEmployeeSourceRequestBody -Name "Retail" -Description "Source description" -Owner $NonEmployeeIdnUserRequest -ManagementWorkgroup "123299" -Approvers $NonEmployeeIdnUserRequest -AccountManagers $NonEmployeeIdnUserRequest # NonEmployeeSourceRequestBody | Non-Employee source creation request body. + +# Create Non-Employee Source +try { + $Result = New-V2024NonEmployeeSource -NonEmployeeSourceRequestBody $NonEmployeeSourceRequestBody +} catch { + Write-Host ("Exception occurred when calling New-V2024NonEmployeeSource: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **NonEmployeeSourceRequestBody** | [**NonEmployeeSourceRequestBody**](NonEmployeeSourceRequestBody.md)| Non-Employee source creation request body. | + +### Return type + +[**NonEmployeeSourceWithCloudExternalId**](NonEmployeeSourceWithCloudExternalId.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **New-V2024NonEmployeeSourceSchemaAttributes** +> NonEmployeeSchemaAttribute New-V2024NonEmployeeSourceSchemaAttributes
+>         [-SourceId]
+>         [-NonEmployeeSchemaAttributeBody]
+ +Create a new Schema Attribute for Non-Employee Source + +This API creates a new schema attribute for Non-Employee Source. The schema technical name must be unique in the source. Attempts to create a schema attribute with an existing name will result in a ""400.1.409 Reference conflict"" response. At most, 10 custom attributes can be created per schema. Attempts to create more than 10 will result in a ""400.1.4 Limit violation"" response. Requires role context of `idn:nesr:create` + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$SourceId = "ef38f94347e94562b5bb8424a56397d8" # String | The Source id +$NonEmployeeSchemaAttributeBody = Initialize-NonEmployeeSchemaAttributeBody -Type "TEXT" -Label "Account Name" -TechnicalName "account.name" -HelpText "The unique identifier for the account" -Placeholder "Enter a unique user name for this account." -Required $true # NonEmployeeSchemaAttributeBody | + +# Create a new Schema Attribute for Non-Employee Source +try { + $Result = New-V2024NonEmployeeSourceSchemaAttributes -SourceId $SourceId -NonEmployeeSchemaAttributeBody $NonEmployeeSchemaAttributeBody +} catch { + Write-Host ("Exception occurred when calling New-V2024NonEmployeeSourceSchemaAttributes: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **SourceId** | **String**| The Source id | + **NonEmployeeSchemaAttributeBody** | [**NonEmployeeSchemaAttributeBody**](NonEmployeeSchemaAttributeBody.md)| | + +### Return type + +[**NonEmployeeSchemaAttribute**](NonEmployeeSchemaAttribute.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Remove-V2024NonEmployeeRecord** +> void Remove-V2024NonEmployeeRecord
+>         [-Id]
+ +Delete Non-Employee Record + +This request will delete a non-employee record. Requires role context of `idn:nesr:delete` + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f94347e94562b5bb8424a56397d8" # String | Non-Employee record id (UUID) + +# Delete Non-Employee Record +try { + $Result = Remove-V2024NonEmployeeRecord -Id $Id +} catch { + Write-Host ("Exception occurred when calling Remove-V2024NonEmployeeRecord: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| Non-Employee record id (UUID) | + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Remove-V2024NonEmployeeRecordsInBulk** +> void Remove-V2024NonEmployeeRecordsInBulk
+>         [-DeleteNonEmployeeRecordsInBulkRequest]
+ +Delete Multiple Non-Employee Records + +This request will delete multiple non-employee records based on the non-employee ids provided. Requires role context of `idn:nesr:delete` + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$DeleteNonEmployeeRecordsInBulkRequest = Initialize-DeleteNonEmployeeRecordsInBulkRequest -Ids "MyIds" # DeleteNonEmployeeRecordsInBulkRequest | Non-Employee bulk delete request body. + +# Delete Multiple Non-Employee Records +try { + $Result = Remove-V2024NonEmployeeRecordsInBulk -DeleteNonEmployeeRecordsInBulkRequest $DeleteNonEmployeeRecordsInBulkRequest +} catch { + Write-Host ("Exception occurred when calling Remove-V2024NonEmployeeRecordsInBulk: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **DeleteNonEmployeeRecordsInBulkRequest** | [**DeleteNonEmployeeRecordsInBulkRequest**](DeleteNonEmployeeRecordsInBulkRequest.md)| Non-Employee bulk delete request body. | + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Remove-V2024NonEmployeeRequest** +> void Remove-V2024NonEmployeeRequest
+>         [-Id]
+ +Delete Non-Employee Request + +This request will delete a non-employee request. Requires role context of `idn:nesr:delete` + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ac110005-7156-1150-8171-5b292e3e0084" # String | Non-Employee request id in the UUID format + +# Delete Non-Employee Request +try { + $Result = Remove-V2024NonEmployeeRequest -Id $Id +} catch { + Write-Host ("Exception occurred when calling Remove-V2024NonEmployeeRequest: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| Non-Employee request id in the UUID format | + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Remove-V2024NonEmployeeSchemaAttribute** +> void Remove-V2024NonEmployeeSchemaAttribute
+>         [-AttributeId]
+>         [-SourceId]
+ +Delete a Schema Attribute for Non-Employee Source + +This end-point deletes a specific schema attribute for a non-employee source. Requires role context of `idn:nesr:delete` + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$AttributeId = "ef38f94347e94562b5bb8424a56397d8" # String | The Schema Attribute Id (UUID) +$SourceId = "ef38f94347e94562b5bb8424a56397d8" # String | The Source id + +# Delete a Schema Attribute for Non-Employee Source +try { + $Result = Remove-V2024NonEmployeeSchemaAttribute -AttributeId $AttributeId -SourceId $SourceId +} catch { + Write-Host ("Exception occurred when calling Remove-V2024NonEmployeeSchemaAttribute: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **AttributeId** | **String**| The Schema Attribute Id (UUID) | + **SourceId** | **String**| The Source id | + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Remove-V2024NonEmployeeSource** +> void Remove-V2024NonEmployeeSource
+>         [-SourceId]
+ +Delete Non-Employee Source + +This request will delete a non-employee source. Requires role context of `idn:nesr:delete`. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$SourceId = "e136567de87e4d029e60b3c3c55db56d" # String | Source Id + +# Delete Non-Employee Source +try { + $Result = Remove-V2024NonEmployeeSource -SourceId $SourceId +} catch { + Write-Host ("Exception occurred when calling Remove-V2024NonEmployeeSource: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **SourceId** | **String**| Source Id | + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Remove-V2024NonEmployeeSourceSchemaAttributes** +> void Remove-V2024NonEmployeeSourceSchemaAttributes
+>         [-SourceId]
+ +Delete all custom schema attributes for Non-Employee Source + +This end-point deletes all custom schema attributes for a non-employee source. Requires role context of `idn:nesr:delete` + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$SourceId = "ef38f94347e94562b5bb8424a56397d8" # String | The Source id + +# Delete all custom schema attributes for Non-Employee Source +try { + $Result = Remove-V2024NonEmployeeSourceSchemaAttributes -SourceId $SourceId +} catch { + Write-Host ("Exception occurred when calling Remove-V2024NonEmployeeSourceSchemaAttributes: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **SourceId** | **String**| The Source id | + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Export-V2024NonEmployeeRecords** +> void Export-V2024NonEmployeeRecords
+>         [-Id]
+ +Exports Non-Employee Records to CSV + +This requests a CSV download for all non-employees from a provided source. Requires role context of `idn:nesr:read` + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "e136567de87e4d029e60b3c3c55db56d" # String | Source Id (UUID) + +# Exports Non-Employee Records to CSV +try { + $Result = Export-V2024NonEmployeeRecords -Id $Id +} catch { + Write-Host ("Exception occurred when calling Export-V2024NonEmployeeRecords: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| Source Id (UUID) | + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: text/csv, application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Export-V2024NonEmployeeSourceSchemaTemplate** +> void Export-V2024NonEmployeeSourceSchemaTemplate
+>         [-Id]
+ +Exports Source Schema Template + +This requests a download for the Source Schema Template for a provided source. Requires role context of `idn:nesr:read` + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f94347e94562b5bb8424a56397d8" # String | Source Id (UUID) + +# Exports Source Schema Template +try { + $Result = Export-V2024NonEmployeeSourceSchemaTemplate -Id $Id +} catch { + Write-Host ("Exception occurred when calling Export-V2024NonEmployeeSourceSchemaTemplate: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| Source Id (UUID) | + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: text/csv, application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024NonEmployeeApproval** +> NonEmployeeApprovalItemDetail Get-V2024NonEmployeeApproval
+>         [-Id]
+>         [-IncludeDetail]
+ +Get a non-employee approval item detail + +Gets a non-employee approval item detail. There are two contextual uses for this endpoint: 1. The user has the role context of `idn:nesr:read`, in which case they can get any approval. 2. The user owns the requested approval. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "e136567de87e4d029e60b3c3c55db56d" # String | Non-Employee approval item id (UUID) +$IncludeDetail = $true # Boolean | The object nonEmployeeRequest will not be included detail when set to false. *Default value is true* (optional) + +# Get a non-employee approval item detail +try { + $Result = Get-V2024NonEmployeeApproval -Id $Id -IncludeDetail $IncludeDetail +} catch { + Write-Host ("Exception occurred when calling Get-V2024NonEmployeeApproval: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| Non-Employee approval item id (UUID) | + **IncludeDetail** | **Boolean**| The object nonEmployeeRequest will not be included detail when set to false. *Default value is true* | [optional] + +### Return type + +[**NonEmployeeApprovalItemDetail**](NonEmployeeApprovalItemDetail.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024NonEmployeeApprovalSummary** +> NonEmployeeApprovalSummary Get-V2024NonEmployeeApprovalSummary
+>         [-RequestedFor]
+ +Get Summary of Non-Employee Approval Requests + +This request will retrieve a summary of non-employee approval requests. There are two contextual uses for the `requested-for` path parameter: 1. The user has the role context of `idn:nesr:read`, in which case he or she may request a summary of all non-employee approval requests assigned to a particular approver by passing in that approver's id. 2. The current user is an approver, in which case ""me"" should be provided as the `requested-for` value. This will provide the approver with a summary of the approval items assigned to him or her. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$RequestedFor = "2c91808280430dfb0180431a59440460" # String | The identity (UUID) of the approver for whom for whom the summary is being retrieved. Use ""me"" instead to indicate the current user. + +# Get Summary of Non-Employee Approval Requests +try { + $Result = Get-V2024NonEmployeeApprovalSummary -RequestedFor $RequestedFor +} catch { + Write-Host ("Exception occurred when calling Get-V2024NonEmployeeApprovalSummary: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **RequestedFor** | **String**| The identity (UUID) of the approver for whom for whom the summary is being retrieved. Use ""me"" instead to indicate the current user. | + +### Return type + +[**NonEmployeeApprovalSummary**](NonEmployeeApprovalSummary.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024NonEmployeeBulkUploadStatus** +> NonEmployeeBulkUploadStatus Get-V2024NonEmployeeBulkUploadStatus
+>         [-Id]
+ +Obtain the status of bulk upload on the source + +The nonEmployeeBulkUploadStatus API returns the status of the newest bulk upload job for the specified source. Requires role context of `idn:nesr:read` + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "e136567de87e4d029e60b3c3c55db56d" # String | Source ID (UUID) + +# Obtain the status of bulk upload on the source +try { + $Result = Get-V2024NonEmployeeBulkUploadStatus -Id $Id +} catch { + Write-Host ("Exception occurred when calling Get-V2024NonEmployeeBulkUploadStatus: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| Source ID (UUID) | + +### Return type + +[**NonEmployeeBulkUploadStatus**](NonEmployeeBulkUploadStatus.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024NonEmployeeRecord** +> NonEmployeeRecord Get-V2024NonEmployeeRecord
+>         [-Id]
+ +Get a Non-Employee Record + +This gets a non-employee record. Requires role context of `idn:nesr:read` + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f94347e94562b5bb8424a56397d8" # String | Non-Employee record id (UUID) + +# Get a Non-Employee Record +try { + $Result = Get-V2024NonEmployeeRecord -Id $Id +} catch { + Write-Host ("Exception occurred when calling Get-V2024NonEmployeeRecord: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| Non-Employee record id (UUID) | + +### Return type + +[**NonEmployeeRecord**](NonEmployeeRecord.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024NonEmployeeRequest** +> NonEmployeeRequest Get-V2024NonEmployeeRequest
+>         [-Id]
+ +Get a Non-Employee Request + +This gets a non-employee request. There are two contextual uses for this endpoint: 1. The user has the role context of `idn:nesr:read`, in this case the user can get the non-employee request for any user. 2. The user must be the owner of the non-employee request. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ac110005-7156-1150-8171-5b292e3e0084" # String | Non-Employee request id (UUID) + +# Get a Non-Employee Request +try { + $Result = Get-V2024NonEmployeeRequest -Id $Id +} catch { + Write-Host ("Exception occurred when calling Get-V2024NonEmployeeRequest: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| Non-Employee request id (UUID) | + +### Return type + +[**NonEmployeeRequest**](NonEmployeeRequest.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024NonEmployeeRequestSummary** +> NonEmployeeRequestSummary Get-V2024NonEmployeeRequestSummary
+>         [-RequestedFor]
+ +Get Summary of Non-Employee Requests + +This request will retrieve a summary of non-employee requests. There are two contextual uses for the `requested-for` path parameter: 1. The user has the role context of `idn:nesr:read`, in which case he or she may request a summary of all non-employee approval requests assigned to a particular account manager by passing in that manager's id. 2. The current user is an account manager, in which case ""me"" should be provided as the `requested-for` value. This will provide the user with a summary of the non-employee requests in the source(s) he or she manages. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$RequestedFor = "2c91808280430dfb0180431a59440460" # String | The identity (UUID) of the non-employee account manager for whom the summary is being retrieved. Use ""me"" instead to indicate the current user. + +# Get Summary of Non-Employee Requests +try { + $Result = Get-V2024NonEmployeeRequestSummary -RequestedFor $RequestedFor +} catch { + Write-Host ("Exception occurred when calling Get-V2024NonEmployeeRequestSummary: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **RequestedFor** | **String**| The identity (UUID) of the non-employee account manager for whom the summary is being retrieved. Use ""me"" instead to indicate the current user. | + +### Return type + +[**NonEmployeeRequestSummary**](NonEmployeeRequestSummary.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024NonEmployeeSchemaAttribute** +> NonEmployeeSchemaAttribute Get-V2024NonEmployeeSchemaAttribute
+>         [-AttributeId]
+>         [-SourceId]
+ +Get Schema Attribute Non-Employee Source + +This API gets a schema attribute by Id for the specified Non-Employee SourceId. Requires role context of `idn:nesr:read` or the user must be an account manager of the source. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$AttributeId = "ef38f94347e94562b5bb8424a56397d8" # String | The Schema Attribute Id (UUID) +$SourceId = "ef38f94347e94562b5bb8424a56397d8" # String | The Source id + +# Get Schema Attribute Non-Employee Source +try { + $Result = Get-V2024NonEmployeeSchemaAttribute -AttributeId $AttributeId -SourceId $SourceId +} catch { + Write-Host ("Exception occurred when calling Get-V2024NonEmployeeSchemaAttribute: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **AttributeId** | **String**| The Schema Attribute Id (UUID) | + **SourceId** | **String**| The Source id | + +### Return type + +[**NonEmployeeSchemaAttribute**](NonEmployeeSchemaAttribute.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024NonEmployeeSource** +> NonEmployeeSource Get-V2024NonEmployeeSource
+>         [-SourceId]
+ +Get a Non-Employee Source + +This gets a non-employee source. There are two contextual uses for the requested-for path parameter: 1. The user has the role context of `idn:nesr:read`, in which case he or she may request any source. 2. The current user is an account manager, in which case the user can only request sources that they own. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$SourceId = "2c91808b7c28b350017c2a2ec5790aa1" # String | Source Id + +# Get a Non-Employee Source +try { + $Result = Get-V2024NonEmployeeSource -SourceId $SourceId +} catch { + Write-Host ("Exception occurred when calling Get-V2024NonEmployeeSource: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **SourceId** | **String**| Source Id | + +### Return type + +[**NonEmployeeSource**](NonEmployeeSource.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024NonEmployeeSourceSchemaAttributes** +> NonEmployeeSchemaAttribute[] Get-V2024NonEmployeeSourceSchemaAttributes
+>         [-SourceId]
+ +List Schema Attributes Non-Employee Source + +This API gets the list of schema attributes for the specified Non-Employee SourceId. There are 8 mandatory attributes added to each new Non-Employee Source automatically. Additionaly, user can add up to 10 custom attributes. This interface returns all the mandatory attributes followed by any custom attributes. At most, a total of 18 attributes will be returned. Requires role context of `idn:nesr:read` or the user must be an account manager of the source. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$SourceId = "ef38f94347e94562b5bb8424a56397d8" # String | The Source id + +# List Schema Attributes Non-Employee Source +try { + $Result = Get-V2024NonEmployeeSourceSchemaAttributes -SourceId $SourceId +} catch { + Write-Host ("Exception occurred when calling Get-V2024NonEmployeeSourceSchemaAttributes: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **SourceId** | **String**| The Source id | + +### Return type + +[**NonEmployeeSchemaAttribute[]**](NonEmployeeSchemaAttribute.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Import-V2024NonEmployeeRecordsInBulk** +> NonEmployeeBulkUploadJob Import-V2024NonEmployeeRecordsInBulk
+>         [-Id]
+>         [-Data]
+ +Imports, or Updates, Non-Employee Records + +This post will import, or update, Non-Employee records found in the CSV. Requires role context of `idn:nesr:create` + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "e136567de87e4d029e60b3c3c55db56d" # String | Source Id (UUID) +$Data = # System.IO.FileInfo | + +# Imports, or Updates, Non-Employee Records +try { + $Result = Import-V2024NonEmployeeRecordsInBulk -Id $Id -Data $Data +} catch { + Write-Host ("Exception occurred when calling Import-V2024NonEmployeeRecordsInBulk: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| Source Id (UUID) | + **Data** | **System.IO.FileInfo****System.IO.FileInfo**| | + +### Return type + +[**NonEmployeeBulkUploadJob**](NonEmployeeBulkUploadJob.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: multipart/form-data + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024NonEmployeeApprovals** +> NonEmployeeApprovalItem[] Get-V2024NonEmployeeApprovals
+>         [-RequestedFor]
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+>         [-Filters]
+>         [-Sorters]
+ +Get List of Non-Employee Approval Requests + +This gets a list of non-employee approval requests. There are two contextual uses for this endpoint: 1. The user has the role context of `idn:nesr:read`, in which case they can list the approvals for any approver. 2. The user owns the requested approval. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$RequestedFor = "2c91808280430dfb0180431a59440460" # String | The identity for whom the request was made. *me* indicates the current user. (optional) +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) +$Filters = "approvalStatus eq "Pending"" # 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: **approvalStatus**: *eq* (optional) +$Sorters = "created" # String | 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: **created, modified** (optional) + +# Get List of Non-Employee Approval Requests +try { + $Result = Get-V2024NonEmployeeApprovals -RequestedFor $RequestedFor -Limit $Limit -Offset $Offset -Count $Count -Filters $Filters -Sorters $Sorters +} catch { + Write-Host ("Exception occurred when calling Get-V2024NonEmployeeApprovals: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **RequestedFor** | **String**| The identity for whom the request was made. *me* indicates the current user. | [optional] + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **Filters** | **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: **approvalStatus**: *eq* | [optional] + **Sorters** | **String**| 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: **created, modified** | [optional] + +### Return type + +[**NonEmployeeApprovalItem[]**](NonEmployeeApprovalItem.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024NonEmployeeRecords** +> NonEmployeeRecord[] Get-V2024NonEmployeeRecords
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+>         [-Sorters]
+>         [-Filters]
+ +List Non-Employee Records + +This gets a list of non-employee records. There are two contextual uses for this endpoint: 1. The user has the role context of `idn:nesr:read`, in which case they can get a list of all of the non-employees. 2. The user is an account manager, in which case they can get a list of the non-employees that they manage. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) +$Sorters = "accountName,sourceId" # String | 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, accountName, sourceId, manager, firstName, lastName, email, phone, startDate, endDate, created, modified** (optional) +$Filters = "sourceId eq "2c91808568c529c60168cca6f90c1313"" # 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: **sourceId**: *eq* (optional) + +# List Non-Employee Records +try { + $Result = Get-V2024NonEmployeeRecords -Limit $Limit -Offset $Offset -Count $Count -Sorters $Sorters -Filters $Filters +} catch { + Write-Host ("Exception occurred when calling Get-V2024NonEmployeeRecords: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **Sorters** | **String**| 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, accountName, sourceId, manager, firstName, lastName, email, phone, startDate, endDate, created, modified** | [optional] + **Filters** | **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: **sourceId**: *eq* | [optional] + +### Return type + +[**NonEmployeeRecord[]**](NonEmployeeRecord.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024NonEmployeeRequests** +> NonEmployeeRequest[] Get-V2024NonEmployeeRequests
+>         [-RequestedFor]
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+>         [-Sorters]
+>         [-Filters]
+ +List Non-Employee Requests + +This gets a list of non-employee requests. There are two contextual uses for the `requested-for` path parameter: 1. The user has the role context of `idn:nesr:read`, in which case he or she may request a list non-employee requests assigned to a particular account manager by passing in that manager's id. 2. The current user is an account manager, in which case ""me"" should be provided as the `requested-for` value. This will provide the user with a list of the non-employee requests in the source(s) he or she manages. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$RequestedFor = "e136567de87e4d029e60b3c3c55db56d" # String | The identity for whom the request was made. *me* indicates the current user. +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) +$Sorters = "created,approvalStatus" # String | 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: **created, approvalStatus, firstName, lastName, email, phone, accountName, startDate, endDate** (optional) +$Filters = "sourceId eq "2c91808568c529c60168cca6f90c1313"" # 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: **sourceId**: *eq* (optional) + +# List Non-Employee Requests +try { + $Result = Get-V2024NonEmployeeRequests -RequestedFor $RequestedFor -Limit $Limit -Offset $Offset -Count $Count -Sorters $Sorters -Filters $Filters +} catch { + Write-Host ("Exception occurred when calling Get-V2024NonEmployeeRequests: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **RequestedFor** | **String**| The identity for whom the request was made. *me* indicates the current user. | + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **Sorters** | **String**| 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: **created, approvalStatus, firstName, lastName, email, phone, accountName, startDate, endDate** | [optional] + **Filters** | **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: **sourceId**: *eq* | [optional] + +### Return type + +[**NonEmployeeRequest[]**](NonEmployeeRequest.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024NonEmployeeSources** +> NonEmployeeSourceWithNECount[] Get-V2024NonEmployeeSources
+>         [-RequestedFor]
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+>         [-NonEmployeeCount]
+>         [-Sorters]
+ +List Non-Employee Sources + +This gets a list of non-employee sources. There are two contextual uses for the requested-for path parameter: 1. The user has the role context of `idn:nesr:read`, in which case he or she may request a list sources assigned to a particular account manager by passing in that manager's id. 2. The current user is an account manager, in which case ""me"" should be provided as the `requested-for` value. This will provide the user with a list of the sources that he or she owns. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$RequestedFor = "me" # String | The identity for whom the request was made. *me* indicates the current user. +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) +$NonEmployeeCount = $true # Boolean | The flag to determine whether return a non-employee count associate with source. (optional) +$Sorters = "name,created" # String | 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: **name, created, sourceId** (optional) + +# List Non-Employee Sources +try { + $Result = Get-V2024NonEmployeeSources -RequestedFor $RequestedFor -Limit $Limit -Offset $Offset -Count $Count -NonEmployeeCount $NonEmployeeCount -Sorters $Sorters +} catch { + Write-Host ("Exception occurred when calling Get-V2024NonEmployeeSources: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **RequestedFor** | **String**| The identity for whom the request was made. *me* indicates the current user. | + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **NonEmployeeCount** | **Boolean**| The flag to determine whether return a non-employee count associate with source. | [optional] + **Sorters** | **String**| 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: **name, created, sourceId** | [optional] + +### Return type + +[**NonEmployeeSourceWithNECount[]**](NonEmployeeSourceWithNECount.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Update-V2024NonEmployeeRecord** +> NonEmployeeRecord Update-V2024NonEmployeeRecord
+>         [-Id]
+>         [-JsonPatchOperation]
+ +Patch Non-Employee Record + +This request will patch a non-employee record. There are two contextual uses for this endpoint: 1. The user has the role context of `idn:nesr:update`, in which case they update all available fields. 2. The user is owner of the source, in this case they can only update the end date. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f94347e94562b5bb8424a56397d8" # String | Non-employee record id (UUID) +$JsonPatchOperationValue = Initialize-JsonPatchOperationValue +$JsonPatchOperation = Initialize-JsonPatchOperation -Op "add" -Path "/description" -Value $JsonPatchOperationValue # 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. + +# Patch Non-Employee Record +try { + $Result = Update-V2024NonEmployeeRecord -Id $Id -JsonPatchOperation $JsonPatchOperation +} catch { + Write-Host ("Exception occurred when calling Update-V2024NonEmployeeRecord: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| Non-employee record id (UUID) | + **JsonPatchOperation** | [**JsonPatchOperation[]**](JsonPatchOperation.md)| 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. | + +### Return type + +[**NonEmployeeRecord**](NonEmployeeRecord.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Update-V2024NonEmployeeSchemaAttribute** +> NonEmployeeSchemaAttribute Update-V2024NonEmployeeSchemaAttribute
+>         [-AttributeId]
+>         [-SourceId]
+>         [-JsonPatchOperation]
+ +Patch a Schema Attribute for Non-Employee Source + +This end-point patches a specific schema attribute for a non-employee SourceId. Requires role context of `idn:nesr:update` + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$AttributeId = "ef38f94347e94562b5bb8424a56397d8" # String | The Schema Attribute Id (UUID) +$SourceId = "ef38f94347e94562b5bb8424a56397d8" # String | The Source id +$JsonPatchOperationValue = Initialize-JsonPatchOperationValue +$JsonPatchOperation = Initialize-JsonPatchOperation -Op "add" -Path "/description" -Value $JsonPatchOperationValue # 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'. + +# Patch a Schema Attribute for Non-Employee Source +try { + $Result = Update-V2024NonEmployeeSchemaAttribute -AttributeId $AttributeId -SourceId $SourceId -JsonPatchOperation $JsonPatchOperation +} catch { + Write-Host ("Exception occurred when calling Update-V2024NonEmployeeSchemaAttribute: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **AttributeId** | **String**| The Schema Attribute Id (UUID) | + **SourceId** | **String**| The Source id | + **JsonPatchOperation** | [**JsonPatchOperation[]**](JsonPatchOperation.md)| 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'. | + +### Return type + +[**NonEmployeeSchemaAttribute**](NonEmployeeSchemaAttribute.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Update-V2024NonEmployeeSource** +> NonEmployeeSource Update-V2024NonEmployeeSource
+>         [-SourceId]
+>         [-JsonPatchOperation]
+ +Patch a Non-Employee Source + +patch a non-employee source. (partial update)
Patchable field: **name, description, approvers, accountManagers** Requires role context of `idn:nesr:update`. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$SourceId = "e136567de87e4d029e60b3c3c55db56d" # String | Source Id +$JsonPatchOperationValue = Initialize-JsonPatchOperationValue +$JsonPatchOperation = Initialize-JsonPatchOperation -Op "add" -Path "/description" -Value $JsonPatchOperationValue # JsonPatchOperation[] | A list of non-employee source update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. + +# Patch a Non-Employee Source +try { + $Result = Update-V2024NonEmployeeSource -SourceId $SourceId -JsonPatchOperation $JsonPatchOperation +} catch { + Write-Host ("Exception occurred when calling Update-V2024NonEmployeeSource: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **SourceId** | **String**| Source Id | + **JsonPatchOperation** | [**JsonPatchOperation[]**](JsonPatchOperation.md)| A list of non-employee source update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. | + +### Return type + +[**NonEmployeeSource**](NonEmployeeSource.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Deny-V2024NonEmployeeRequest** +> NonEmployeeApprovalItem Deny-V2024NonEmployeeRequest
+>         [-Id]
+>         [-NonEmployeeRejectApprovalDecision]
+ +Reject a Non-Employee Request + +This endpoint will reject an approval item request and notify user. The current user must be the requested approver. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "e136567de87e4d029e60b3c3c55db56d" # String | Non-Employee approval item id (UUID) +$NonEmployeeRejectApprovalDecision = Initialize-NonEmployeeRejectApprovalDecision -Comment "approved" # NonEmployeeRejectApprovalDecision | + +# Reject a Non-Employee Request +try { + $Result = Deny-V2024NonEmployeeRequest -Id $Id -NonEmployeeRejectApprovalDecision $NonEmployeeRejectApprovalDecision +} catch { + Write-Host ("Exception occurred when calling Deny-V2024NonEmployeeRequest: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| Non-Employee approval item id (UUID) | + **NonEmployeeRejectApprovalDecision** | [**NonEmployeeRejectApprovalDecision**](NonEmployeeRejectApprovalDecision.md)| | + +### Return type + +[**NonEmployeeApprovalItem**](NonEmployeeApprovalItem.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Update-V2024NonEmployeeRecord** +> NonEmployeeRecord Update-V2024NonEmployeeRecord
+>         [-Id]
+>         [-NonEmployeeRequestBody]
+ +Update Non-Employee Record + +This request will update a non-employee record. There are two contextual uses for this endpoint: 1. The user has the role context of `idn:nesr:update`, in which case they update all available fields. 2. The user is owner of the source, in this case they can only update the end date. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f94347e94562b5bb8424a56397d8" # String | Non-employee record id (UUID) +$NonEmployeeRequestBody = Initialize-NonEmployeeRequestBody -AccountName "william.smith" -FirstName "William" -LastName "Smith" -Email "william.smith@example.com" -Phone "5555555555" -Manager "jane.doe" -SourceId "2c91808568c529c60168cca6f90c1313" -VarData @{ key_example = "MyInner" } -StartDate (Get-Date) -EndDate (Get-Date) # NonEmployeeRequestBody | Non-employee record creation request body. Attributes are restricted by user type. Owner of source can update end date. Organization admins can update all available fields. + +# Update Non-Employee Record +try { + $Result = Update-V2024NonEmployeeRecord -Id $Id -NonEmployeeRequestBody $NonEmployeeRequestBody +} catch { + Write-Host ("Exception occurred when calling Update-V2024NonEmployeeRecord: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| Non-employee record id (UUID) | + **NonEmployeeRequestBody** | [**NonEmployeeRequestBody**](NonEmployeeRequestBody.md)| Non-employee record creation request body. Attributes are restricted by user type. Owner of source can update end date. Organization admins can update all available fields. | + +### Return type + +[**NonEmployeeRecord**](NonEmployeeRecord.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024NotificationsApi.md b/PSSailpoint/v2024/docs/V2024NotificationsApi.md new file mode 100644 index 000000000..c43431df6 --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024NotificationsApi.md @@ -0,0 +1,848 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024NotificationsApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**New-V2024DomainDkim**](V2024NotificationsApi.md#New-V2024DomainDkim) | **POST** /verified-domains | Verify domain address via DKIM +[**New-V2024NotificationTemplate**](V2024NotificationsApi.md#New-V2024NotificationTemplate) | **POST** /notification-templates | Create Notification Template +[**New-V2024VerifiedFromAddress**](V2024NotificationsApi.md#New-V2024VerifiedFromAddress) | **POST** /verified-from-addresses | Create Verified From Address +[**Remove-V2024NotificationTemplatesInBulk**](V2024NotificationsApi.md#Remove-V2024NotificationTemplatesInBulk) | **POST** /notification-templates/bulk-delete | Bulk Delete Notification Templates +[**Remove-V2024VerifiedFromAddress**](V2024NotificationsApi.md#Remove-V2024VerifiedFromAddress) | **DELETE** /verified-from-addresses/{id} | Delete Verified From Address +[**Get-V2024DkimAttributes**](V2024NotificationsApi.md#Get-V2024DkimAttributes) | **GET** /verified-domains | Get DKIM Attributes +[**Get-V2024MailFromAttributes**](V2024NotificationsApi.md#Get-V2024MailFromAttributes) | **GET** /mail-from-attributes/{identity} | Get MAIL FROM Attributes +[**Get-V2024NotificationTemplate**](V2024NotificationsApi.md#Get-V2024NotificationTemplate) | **GET** /notification-templates/{id} | Get Notification Template By Id +[**Get-V2024NotificationsTemplateContext**](V2024NotificationsApi.md#Get-V2024NotificationsTemplateContext) | **GET** /notification-template-context | Get Notification Template Context +[**Get-V2024FromAddresses**](V2024NotificationsApi.md#Get-V2024FromAddresses) | **GET** /verified-from-addresses | List From Addresses +[**Get-V2024NotificationPreferences**](V2024NotificationsApi.md#Get-V2024NotificationPreferences) | **GET** /notification-preferences/{key} | List Notification Preferences for tenant. +[**Get-V2024NotificationTemplateDefaults**](V2024NotificationsApi.md#Get-V2024NotificationTemplateDefaults) | **GET** /notification-template-defaults | List Notification Template Defaults +[**Get-V2024NotificationTemplates**](V2024NotificationsApi.md#Get-V2024NotificationTemplates) | **GET** /notification-templates | List Notification Templates +[**Send-V2024MailFromAttributes**](V2024NotificationsApi.md#Send-V2024MailFromAttributes) | **PUT** /mail-from-attributes | Change MAIL FROM domain +[**Send-V2024TestNotification**](V2024NotificationsApi.md#Send-V2024TestNotification) | **POST** /send-test-notification | Send Test Notification + + + +# **New-V2024DomainDkim** +> DomainStatusDto New-V2024DomainDkim
+>         [-XSailPointExperimental]
+>         [-DomainAddress]
+ +Verify domain address via DKIM + +Create a domain to be verified via DKIM (DomainKeys Identified Mail) + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$DomainAddress = Initialize-DomainAddress -Domain "sailpoint.com" # DomainAddress | + +# Verify domain address via DKIM +try { + $Result = New-V2024DomainDkim -XSailPointExperimental $XSailPointExperimental -DomainAddress $DomainAddress +} catch { + Write-Host ("Exception occurred when calling New-V2024DomainDkim: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **DomainAddress** | [**DomainAddress**](DomainAddress.md)| | + +### Return type + +[**DomainStatusDto**](DomainStatusDto.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **New-V2024NotificationTemplate** +> TemplateDto New-V2024NotificationTemplate
+>         [-XSailPointExperimental]
+>         [-TemplateDto]
+ +Create Notification Template + +This creates a template for your site. You can also use this endpoint to update a template. First, copy the response body from the [get notification template endpoint](https://developer.sailpoint.com/idn/api/beta/get-notification-template) for a template you wish to update and paste it into the request body for this endpoint. Modify the fields you want to change and submit the POST request when ready. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$TemplateDto = Initialize-TemplateDto -Key "cloud_manual_work_item_summary" -Name "Task Manager Subscription" -Medium "EMAIL" -Locale "en" -Subject "You have $numberOfPendingTasks $taskTasks to complete in ${__global.productName}." -Header "MyHeader" -Body "Please go to the task manager" -Footer "MyFooter" -VarFrom "$__global.emailFromAddress" -ReplyTo "$__global.emailFromAddress" -Description "Daily digest - sent if number of outstanding tasks for task owner > 0" -Id "c17bea3a-574d-453c-9e04-4365fbf5af0b" -Created (Get-Date) -Modified (Get-Date) -SlackTemplate "MySlackTemplate" -TeamsTemplate "MyTeamsTemplate" # TemplateDto | + +# Create Notification Template +try { + $Result = New-V2024NotificationTemplate -XSailPointExperimental $XSailPointExperimental -TemplateDto $TemplateDto +} catch { + Write-Host ("Exception occurred when calling New-V2024NotificationTemplate: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **TemplateDto** | [**TemplateDto**](TemplateDto.md)| | + +### Return type + +[**TemplateDto**](TemplateDto.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **New-V2024VerifiedFromAddress** +> EmailStatusDto New-V2024VerifiedFromAddress
+>         [-XSailPointExperimental]
+>         [-EmailStatusDto]
+ +Create Verified From Address + +Create a new sender email address and initiate verification process. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$EmailStatusDto = Initialize-EmailStatusDto -Id "MyId" -Email "sender@example.com" -IsVerifiedByDomain $false -VerificationStatus "PENDING" # EmailStatusDto | + +# Create Verified From Address +try { + $Result = New-V2024VerifiedFromAddress -XSailPointExperimental $XSailPointExperimental -EmailStatusDto $EmailStatusDto +} catch { + Write-Host ("Exception occurred when calling New-V2024VerifiedFromAddress: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **EmailStatusDto** | [**EmailStatusDto**](EmailStatusDto.md)| | + +### Return type + +[**EmailStatusDto**](EmailStatusDto.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Remove-V2024NotificationTemplatesInBulk** +> void Remove-V2024NotificationTemplatesInBulk
+>         [-XSailPointExperimental]
+>         [-TemplateBulkDeleteDto]
+ +Bulk Delete Notification Templates + +This lets you bulk delete templates that you previously created for your site. Since this is a beta feature, please contact support to enable usage. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$TemplateBulkDeleteDto = Initialize-TemplateBulkDeleteDto -Key "cloud_manual_work_item_summary" -Medium "EMAIL" -Locale "en" # TemplateBulkDeleteDto[] | + +# Bulk Delete Notification Templates +try { + $Result = Remove-V2024NotificationTemplatesInBulk -XSailPointExperimental $XSailPointExperimental -TemplateBulkDeleteDto $TemplateBulkDeleteDto +} catch { + Write-Host ("Exception occurred when calling Remove-V2024NotificationTemplatesInBulk: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **TemplateBulkDeleteDto** | [**TemplateBulkDeleteDto[]**](TemplateBulkDeleteDto.md)| | + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Remove-V2024VerifiedFromAddress** +> void Remove-V2024VerifiedFromAddress
+>         [-Id]
+>         [-XSailPointExperimental]
+ +Delete Verified From Address + +Delete a verified sender email address + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "MyId" # String | +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Delete Verified From Address +try { + $Result = Remove-V2024VerifiedFromAddress -Id $Id -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Remove-V2024VerifiedFromAddress: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024DkimAttributes** +> DkimAttributes[] Get-V2024DkimAttributes
+>         [-XSailPointExperimental]
+ +Get DKIM Attributes + +Retrieve DKIM (DomainKeys Identified Mail) attributes for all your tenants' AWS SES identities. Limits retrieval to 100 identities per call. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Get DKIM Attributes +try { + $Result = Get-V2024DkimAttributes -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Get-V2024DkimAttributes: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**DkimAttributes[]**](DkimAttributes.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024MailFromAttributes** +> MailFromAttributes Get-V2024MailFromAttributes
+>         [-Id]
+>         [-XSailPointExperimental]
+ +Get MAIL FROM Attributes + +Retrieve MAIL FROM attributes for a given AWS SES identity. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "bobsmith@sailpoint.com" # String | Returns the MX and TXT record to be put in your DNS, as well as the MAIL FROM domain status +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Get MAIL FROM Attributes +try { + $Result = Get-V2024MailFromAttributes -Id $Id -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Get-V2024MailFromAttributes: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| Returns the MX and TXT record to be put in your DNS, as well as the MAIL FROM domain status | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**MailFromAttributes**](MailFromAttributes.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024NotificationTemplate** +> TemplateDto[] Get-V2024NotificationTemplate
+>         [-Id]
+>         [-XSailPointExperimental]
+ +Get Notification Template By Id + +This gets a template that you have modified for your site by Id. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "c17bea3a-574d-453c-9e04-4365fbf5af0b" # String | Id of the Notification Template +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Get Notification Template By Id +try { + $Result = Get-V2024NotificationTemplate -Id $Id -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Get-V2024NotificationTemplate: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| Id of the Notification Template | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**TemplateDto[]**](TemplateDto.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024NotificationsTemplateContext** +> NotificationTemplateContext Get-V2024NotificationsTemplateContext
+>         [-XSailPointExperimental]
+ +Get Notification Template Context + +The notification service maintains metadata to construct the notification templates or supply any information during the event propagation. The data-store where this information is retrieved is called ""Global Context"" (a.k.a. notification template context). It defines a set of attributes that will be available per tenant (organization). + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Get Notification Template Context +try { + $Result = Get-V2024NotificationsTemplateContext -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Get-V2024NotificationsTemplateContext: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**NotificationTemplateContext**](NotificationTemplateContext.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024FromAddresses** +> EmailStatusDto[] Get-V2024FromAddresses
+>         [-XSailPointExperimental]
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+>         [-Filters]
+>         [-Sorters]
+ +List From Addresses + +Retrieve a list of sender email addresses and their verification statuses + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) +$Filters = "email eq "john.doe@company.com"" # 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: **email**: *eq, ge, le, sw* (optional) +$Sorters = "email" # String | 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: **email** (optional) + +# List From Addresses +try { + $Result = Get-V2024FromAddresses -XSailPointExperimental $XSailPointExperimental -Limit $Limit -Offset $Offset -Count $Count -Filters $Filters -Sorters $Sorters +} catch { + Write-Host ("Exception occurred when calling Get-V2024FromAddresses: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **Filters** | **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: **email**: *eq, ge, le, sw* | [optional] + **Sorters** | **String**| 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: **email** | [optional] + +### Return type + +[**EmailStatusDto[]**](EmailStatusDto.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024NotificationPreferences** +> PreferencesDto[] Get-V2024NotificationPreferences
+>         [-XSailPointExperimental]
+ +List Notification Preferences for tenant. + +Returns a list of notification preferences for tenant. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# List Notification Preferences for tenant. +try { + $Result = Get-V2024NotificationPreferences -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Get-V2024NotificationPreferences: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**PreferencesDto[]**](PreferencesDto.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024NotificationTemplateDefaults** +> TemplateDtoDefault[] Get-V2024NotificationTemplateDefaults
+>         [-XSailPointExperimental]
+>         [-Limit]
+>         [-Offset]
+>         [-Filters]
+ +List Notification Template Defaults + +This lists the default templates used for notifications, such as emails from IdentityNow. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Filters = "key eq "cloud_manual_work_item_summary"" # 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: **key**: *eq, in, sw* **medium**: *eq, sw* **locale**: *eq, sw* (optional) + +# List Notification Template Defaults +try { + $Result = Get-V2024NotificationTemplateDefaults -XSailPointExperimental $XSailPointExperimental -Limit $Limit -Offset $Offset -Filters $Filters +} catch { + Write-Host ("Exception occurred when calling Get-V2024NotificationTemplateDefaults: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Filters** | **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: **key**: *eq, in, sw* **medium**: *eq, sw* **locale**: *eq, sw* | [optional] + +### Return type + +[**TemplateDtoDefault[]**](TemplateDtoDefault.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024NotificationTemplates** +> TemplateDto[] Get-V2024NotificationTemplates
+>         [-XSailPointExperimental]
+>         [-Limit]
+>         [-Offset]
+>         [-Filters]
+ +List Notification Templates + +This lists the templates that you have modified for your site. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Filters = "medium eq "EMAIL"" # 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: **key**: *eq, in, sw* **medium**: *eq, sw* **locale**: *eq, sw* (optional) + +# List Notification Templates +try { + $Result = Get-V2024NotificationTemplates -XSailPointExperimental $XSailPointExperimental -Limit $Limit -Offset $Offset -Filters $Filters +} catch { + Write-Host ("Exception occurred when calling Get-V2024NotificationTemplates: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Filters** | **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: **key**: *eq, in, sw* **medium**: *eq, sw* **locale**: *eq, sw* | [optional] + +### Return type + +[**TemplateDto[]**](TemplateDto.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Send-V2024MailFromAttributes** +> MailFromAttributes Send-V2024MailFromAttributes
+>         [-XSailPointExperimental]
+>         [-MailFromAttributesDto]
+ +Change MAIL FROM domain + +Change the MAIL FROM domain of an AWS SES email identity and provide the MX and TXT records to be placed in the caller's DNS + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$MailFromAttributesDto = Initialize-MailFromAttributesDto -Identity "BobSmith@sailpoint.com" -MailFromDomain "example.sailpoint.com" # MailFromAttributesDto | + +# Change MAIL FROM domain +try { + $Result = Send-V2024MailFromAttributes -XSailPointExperimental $XSailPointExperimental -MailFromAttributesDto $MailFromAttributesDto +} catch { + Write-Host ("Exception occurred when calling Send-V2024MailFromAttributes: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **MailFromAttributesDto** | [**MailFromAttributesDto**](MailFromAttributesDto.md)| | + +### Return type + +[**MailFromAttributes**](MailFromAttributes.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Send-V2024TestNotification** +> void Send-V2024TestNotification
+>         [-XSailPointExperimental]
+>         [-SendTestNotificationRequestDto]
+ +Send Test Notification + +Send a Test Notification + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$SendTestNotificationRequestDto = Initialize-SendTestNotificationRequestDto -Key "cloud_manual_work_item_summary" -Medium "EMAIL" -Context # SendTestNotificationRequestDto | + +# Send Test Notification +try { + $Result = Send-V2024TestNotification -XSailPointExperimental $XSailPointExperimental -SendTestNotificationRequestDto $SendTestNotificationRequestDto +} catch { + Write-Host ("Exception occurred when calling Send-V2024TestNotification: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **SendTestNotificationRequestDto** | [**SendTestNotificationRequestDto**](SendTestNotificationRequestDto.md)| | + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024OAuthClientsApi.md b/PSSailpoint/v2024/docs/V2024OAuthClientsApi.md new file mode 100644 index 000000000..03070cff2 --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024OAuthClientsApi.md @@ -0,0 +1,272 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024OAuthClientsApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**New-V2024OauthClient**](V2024OAuthClientsApi.md#New-V2024OauthClient) | **POST** /oauth-clients | Create OAuth Client +[**Remove-V2024OauthClient**](V2024OAuthClientsApi.md#Remove-V2024OauthClient) | **DELETE** /oauth-clients/{id} | Delete OAuth Client +[**Get-V2024OauthClient**](V2024OAuthClientsApi.md#Get-V2024OauthClient) | **GET** /oauth-clients/{id} | Get OAuth Client +[**Get-V2024OauthClients**](V2024OAuthClientsApi.md#Get-V2024OauthClients) | **GET** /oauth-clients | List OAuth Clients +[**Update-V2024OauthClient**](V2024OAuthClientsApi.md#Update-V2024OauthClient) | **PATCH** /oauth-clients/{id} | Patch OAuth Client + + + +# **New-V2024OauthClient** +> CreateOAuthClientResponse New-V2024OauthClient
+>         [-CreateOAuthClientRequest]
+ +Create OAuth Client + +This creates an OAuth client. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$CreateOAuthClientRequest = Initialize-CreateOAuthClientRequest -BusinessName "Acme-Solar" -HomepageUrl "http://localhost:12345" -Name "Demo API Client" -Description "An API client used for the authorization_code, refresh_token, and client_credentials flows" -AccessTokenValiditySeconds 750 -RefreshTokenValiditySeconds 86400 -RedirectUris "MyRedirectUris" -GrantTypes "CLIENT_CREDENTIALS" -AccessType "ONLINE" -Type "CONFIDENTIAL" -Internal $false -Enabled $true -StrongAuthSupported $false -ClaimsSupported $false -Scope "MyScope" # CreateOAuthClientRequest | + +# Create OAuth Client +try { + $Result = New-V2024OauthClient -CreateOAuthClientRequest $CreateOAuthClientRequest +} catch { + Write-Host ("Exception occurred when calling New-V2024OauthClient: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **CreateOAuthClientRequest** | [**CreateOAuthClientRequest**](CreateOAuthClientRequest.md)| | + +### Return type + +[**CreateOAuthClientResponse**](CreateOAuthClientResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Remove-V2024OauthClient** +> void Remove-V2024OauthClient
+>         [-Id]
+ +Delete OAuth Client + +This deletes an OAuth client. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f94347e94562b5bb8424a56397d8" # String | The OAuth client id + +# Delete OAuth Client +try { + $Result = Remove-V2024OauthClient -Id $Id +} catch { + Write-Host ("Exception occurred when calling Remove-V2024OauthClient: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The OAuth client id | + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024OauthClient** +> GetOAuthClientResponse Get-V2024OauthClient
+>         [-Id]
+ +Get OAuth Client + +This gets details of an OAuth client. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f94347e94562b5bb8424a56397d8" # String | The OAuth client id + +# Get OAuth Client +try { + $Result = Get-V2024OauthClient -Id $Id +} catch { + Write-Host ("Exception occurred when calling Get-V2024OauthClient: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The OAuth client id | + +### Return type + +[**GetOAuthClientResponse**](GetOAuthClientResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024OauthClients** +> GetOAuthClientResponse[] Get-V2024OauthClients
+>         [-Filters]
+ +List OAuth Clients + +This gets a list of OAuth clients. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Filters = "lastUsed le 2023-02-05T10:59:27.214Z" # 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: **lastUsed**: *le, isnull* (optional) + +# List OAuth Clients +try { + $Result = Get-V2024OauthClients -Filters $Filters +} catch { + Write-Host ("Exception occurred when calling Get-V2024OauthClients: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Filters** | **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: **lastUsed**: *le, isnull* | [optional] + +### Return type + +[**GetOAuthClientResponse[]**](GetOAuthClientResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Update-V2024OauthClient** +> GetOAuthClientResponse Update-V2024OauthClient
+>         [-Id]
+>         [-JsonPatchOperation]
+ +Patch OAuth Client + +This performs a targeted update to the field(s) of an OAuth client. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f94347e94562b5bb8424a56397d8" # String | The OAuth client id +$JsonPatchOperationValue = Initialize-JsonPatchOperationValue +$JsonPatchOperation = Initialize-JsonPatchOperation -Op "add" -Path "/description" -Value $JsonPatchOperationValue # JsonPatchOperation[] | A list of OAuth client update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. The following fields are patchable: * tenant * businessName * homepageUrl * name * description * accessTokenValiditySeconds * refreshTokenValiditySeconds * redirectUris * grantTypes * accessType * enabled * strongAuthSupported * claimsSupported + +# Patch OAuth Client +try { + $Result = Update-V2024OauthClient -Id $Id -JsonPatchOperation $JsonPatchOperation +} catch { + Write-Host ("Exception occurred when calling Update-V2024OauthClient: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The OAuth client id | + **JsonPatchOperation** | [**JsonPatchOperation[]**](JsonPatchOperation.md)| A list of OAuth client update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. The following fields are patchable: * tenant * businessName * homepageUrl * name * description * accessTokenValiditySeconds * refreshTokenValiditySeconds * redirectUris * grantTypes * accessType * enabled * strongAuthSupported * claimsSupported | + +### Return type + +[**GetOAuthClientResponse**](GetOAuthClientResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024OrgConfigApi.md b/PSSailpoint/v2024/docs/V2024OrgConfigApi.md new file mode 100644 index 000000000..1057e46da --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024OrgConfigApi.md @@ -0,0 +1,168 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024OrgConfigApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**Get-V2024OrgConfig**](V2024OrgConfigApi.md#Get-V2024OrgConfig) | **GET** /org-config | Get Org configuration settings +[**Get-V2024ValidTimeZones**](V2024OrgConfigApi.md#Get-V2024ValidTimeZones) | **GET** /org-config/valid-time-zones | Get list of time zones +[**Update-V2024OrgConfig**](V2024OrgConfigApi.md#Update-V2024OrgConfig) | **PATCH** /org-config | Patch an Org configuration property + + + +# **Get-V2024OrgConfig** +> OrgConfig Get-V2024OrgConfig
+>         [-XSailPointExperimental]
+ +Get Org configuration settings + +Get org configuration with only external (org admin) accessible properties for the current org. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Get Org configuration settings +try { + $Result = Get-V2024OrgConfig -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Get-V2024OrgConfig: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**OrgConfig**](OrgConfig.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024ValidTimeZones** +> String[] Get-V2024ValidTimeZones
+>         [-XSailPointExperimental]
+ +Get list of time zones + +Get a list of valid time zones that can be set in org configurations. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Get list of time zones +try { + $Result = Get-V2024ValidTimeZones -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Get-V2024ValidTimeZones: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +**String[]** + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Update-V2024OrgConfig** +> OrgConfig Update-V2024OrgConfig
+>         [-XSailPointExperimental]
+>         [-JsonPatchOperation]
+ +Patch an Org configuration property + +Patch configuration of the current org using http://jsonpatch.com/ syntax. Commonly used for changing the time zone of an org. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$JsonPatchOperationValue = Initialize-JsonPatchOperationValue +$JsonPatchOperation = Initialize-JsonPatchOperation -Op "add" -Path "/description" -Value $JsonPatchOperationValue # JsonPatchOperation[] | A list of schema attribute update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. + +# Patch an Org configuration property +try { + $Result = Update-V2024OrgConfig -XSailPointExperimental $XSailPointExperimental -JsonPatchOperation $JsonPatchOperation +} catch { + Write-Host ("Exception occurred when calling Update-V2024OrgConfig: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **JsonPatchOperation** | [**JsonPatchOperation[]**](JsonPatchOperation.md)| A list of schema attribute update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. | + +### Return type + +[**OrgConfig**](OrgConfig.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024PasswordConfigurationApi.md b/PSSailpoint/v2024/docs/V2024PasswordConfigurationApi.md new file mode 100644 index 000000000..317f35bbf --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024PasswordConfigurationApi.md @@ -0,0 +1,159 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024PasswordConfigurationApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**New-V2024PasswordOrgConfig**](V2024PasswordConfigurationApi.md#New-V2024PasswordOrgConfig) | **POST** /password-org-config | Create Password Org Config +[**Get-V2024PasswordOrgConfig**](V2024PasswordConfigurationApi.md#Get-V2024PasswordOrgConfig) | **GET** /password-org-config | Get Password Org Config +[**Send-V2024PasswordOrgConfig**](V2024PasswordConfigurationApi.md#Send-V2024PasswordOrgConfig) | **PUT** /password-org-config | Update Password Org Config + + + +# **New-V2024PasswordOrgConfig** +> PasswordOrgConfig New-V2024PasswordOrgConfig
+>         [-PasswordOrgConfig]
+ +Create Password Org Config + +This API creates the password org config. Unspecified fields will use default value. To be able to use the custom password instructions, you must set the `customInstructionsEnabled` field to ""true"". Requires ORG_ADMIN, API role or authorization scope of 'idn:password-org-config:write' + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$PasswordOrgConfig = Initialize-PasswordOrgConfig -CustomInstructionsEnabled $true -DigitTokenEnabled $true -DigitTokenDurationMinutes 10 -DigitTokenLength 9 # PasswordOrgConfig | + +# Create Password Org Config +try { + $Result = New-V2024PasswordOrgConfig -PasswordOrgConfig $PasswordOrgConfig +} catch { + Write-Host ("Exception occurred when calling New-V2024PasswordOrgConfig: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **PasswordOrgConfig** | [**PasswordOrgConfig**](PasswordOrgConfig.md)| | + +### Return type + +[**PasswordOrgConfig**](PasswordOrgConfig.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024PasswordOrgConfig** +> PasswordOrgConfig Get-V2024PasswordOrgConfig
+ +Get Password Org Config + +This API returns the password org config . Requires ORG_ADMIN, API role or authorization scope of 'idn:password-org-config:read' + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + + +# Get Password Org Config +try { + $Result = Get-V2024PasswordOrgConfig +} catch { + Write-Host ("Exception occurred when calling Get-V2024PasswordOrgConfig: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**PasswordOrgConfig**](PasswordOrgConfig.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Send-V2024PasswordOrgConfig** +> PasswordOrgConfig Send-V2024PasswordOrgConfig
+>         [-PasswordOrgConfig]
+ +Update Password Org Config + +This API updates the password org config for specified fields. Other fields will keep original value. You must set the `customInstructionsEnabled` field to ""true"" to be able to use custom password instructions. Requires ORG_ADMIN, API role or authorization scope of 'idn:password-org-config:write' + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$PasswordOrgConfig = Initialize-PasswordOrgConfig -CustomInstructionsEnabled $true -DigitTokenEnabled $true -DigitTokenDurationMinutes 10 -DigitTokenLength 9 # PasswordOrgConfig | + +# Update Password Org Config +try { + $Result = Send-V2024PasswordOrgConfig -PasswordOrgConfig $PasswordOrgConfig +} catch { + Write-Host ("Exception occurred when calling Send-V2024PasswordOrgConfig: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **PasswordOrgConfig** | [**PasswordOrgConfig**](PasswordOrgConfig.md)| | + +### Return type + +[**PasswordOrgConfig**](PasswordOrgConfig.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024PasswordDictionaryApi.md b/PSSailpoint/v2024/docs/V2024PasswordDictionaryApi.md new file mode 100644 index 000000000..43bb226bd --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024PasswordDictionaryApi.md @@ -0,0 +1,107 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024PasswordDictionaryApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**Get-V2024PasswordDictionary**](V2024PasswordDictionaryApi.md#Get-V2024PasswordDictionary) | **GET** /password-dictionary | Get Password Dictionary +[**Send-V2024PasswordDictionary**](V2024PasswordDictionaryApi.md#Send-V2024PasswordDictionary) | **PUT** /password-dictionary | Update Password Dictionary + + + +# **Get-V2024PasswordDictionary** +> String Get-V2024PasswordDictionary
+ +Get Password Dictionary + +This gets password dictionary for the organization. A token with ORG_ADMIN authority is required to call this API. The password dictionary file can contain lines that are: 1. comment lines - the first character is '#', can be 128 Unicode codepoints in length, and are ignored during processing 2. empty lines 3. locale line - the first line that starts with ""locale="" is considered to be locale line, the rest are treated as normal content lines 4. line containing the password dictionary word - it must start with non-whitespace character and only non-whitespace characters are allowed; maximum length of the line is 128 Unicode codepoints Password dictionary file may not contain more than 2,500 lines (not counting whitespace lines, comment lines and locale line). Password dict file must contain UTF-8 characters only. # Sample password text file ``` # Password dictionary small test file locale=en_US # Password dictionary prohibited words qwerty abcd aaaaa password qazxsws ``` + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + + +# Get Password Dictionary +try { + $Result = Get-V2024PasswordDictionary +} catch { + Write-Host ("Exception occurred when calling Get-V2024PasswordDictionary: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +**String** + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: text/plain, application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Send-V2024PasswordDictionary** +> void Send-V2024PasswordDictionary
+>         [-File]
+ +Update Password Dictionary + +This updates password dictionary for the organization. A token with ORG_ADMIN authority is required to call this API. The password dictionary file can contain lines that are: 1. comment lines - the first character is '#', can be 128 Unicode codepoints in length, and are ignored during processing 2. empty lines 3. locale line - the first line that starts with ""locale="" is considered to be locale line, the rest are treated as normal content lines 4. line containing the password dictionary word - it must start with non-whitespace character and only non-whitespace characters are allowed; maximum length of the line is 128 Unicode codepoints Password dictionary file may not contain more than 2,500 lines (not counting whitespace lines, comment lines and locale line). Password dict file must contain UTF-8 characters only. # Sample password text file ``` # Password dictionary small test file locale=en_US # Password dictionary prohibited words qwerty abcd aaaaa password qazxsws ``` + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$File = # System.IO.FileInfo | (optional) + +# Update Password Dictionary +try { + $Result = Send-V2024PasswordDictionary -File $File +} catch { + Write-Host ("Exception occurred when calling Send-V2024PasswordDictionary: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **File** | **System.IO.FileInfo****System.IO.FileInfo**| | [optional] + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: multipart/form-data + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024PasswordManagementApi.md b/PSSailpoint/v2024/docs/V2024PasswordManagementApi.md new file mode 100644 index 000000000..79f585498 --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024PasswordManagementApi.md @@ -0,0 +1,219 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024PasswordManagementApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**New-V2024DigitToken**](V2024PasswordManagementApi.md#New-V2024DigitToken) | **POST** /generate-password-reset-token/digit | Generate a digit token +[**Get-V2024PasswordChangeStatus**](V2024PasswordManagementApi.md#Get-V2024PasswordChangeStatus) | **GET** /password-change-status/{id} | Get Password Change Request Status +[**Search-V2024PasswordInfo**](V2024PasswordManagementApi.md#Search-V2024PasswordInfo) | **POST** /query-password-info | Query Password Info +[**Set-V2024Password**](V2024PasswordManagementApi.md#Set-V2024Password) | **POST** /set-password | Set Identity's Password + + + +# **New-V2024DigitToken** +> PasswordDigitToken New-V2024DigitToken
+>         [-XSailPointExperimental]
+>         [-PasswordDigitTokenReset]
+ +Generate a digit token + +This API is used to generate a digit token for password management. Requires authorization scope of ""idn:password-digit-token:create"". + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$PasswordDigitTokenReset = Initialize-PasswordDigitTokenReset -UserId "Abby.Smith" -Length 8 -DurationMinutes 5 # PasswordDigitTokenReset | + +# Generate a digit token +try { + $Result = New-V2024DigitToken -XSailPointExperimental $XSailPointExperimental -PasswordDigitTokenReset $PasswordDigitTokenReset +} catch { + Write-Host ("Exception occurred when calling New-V2024DigitToken: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **PasswordDigitTokenReset** | [**PasswordDigitTokenReset**](PasswordDigitTokenReset.md)| | + +### Return type + +[**PasswordDigitToken**](PasswordDigitToken.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024PasswordChangeStatus** +> PasswordStatus Get-V2024PasswordChangeStatus
+>         [-Id]
+ +Get Password Change Request Status + +This API returns the status of a password change request. A token with identity owner or trusted API client application authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "089899f13a8f4da7824996191587bab9" # String | Password change request ID + +# Get Password Change Request Status +try { + $Result = Get-V2024PasswordChangeStatus -Id $Id +} catch { + Write-Host ("Exception occurred when calling Get-V2024PasswordChangeStatus: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| Password change request ID | + +### Return type + +[**PasswordStatus**](PasswordStatus.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Search-V2024PasswordInfo** +> PasswordInfo Search-V2024PasswordInfo
+>         [-PasswordInfoQueryDTO]
+ +Query Password Info + +This API is used to query password related information. A token with [API authority](https://developer.sailpoint.com/idn/api/authentication#client-credentials-grant-flow) is required to call this API. ""API authority"" refers to a token that only has the ""client_credentials"" grant type, and therefore no user context. A [personal access token](https://developer.sailpoint.com/idn/api/authentication#personal-access-tokens) or a token generated with the [authorization_code](https://developer.sailpoint.com/idn/api/authentication#authorization-code-grant-flow) grant type will **NOT** work on this endpoint, and a `403 Forbidden` response will be returned. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$PasswordInfoQueryDTO = Initialize-PasswordInfoQueryDTO -UserName "Abby.Smith" -SourceName "My-AD" # PasswordInfoQueryDTO | + +# Query Password Info +try { + $Result = Search-V2024PasswordInfo -PasswordInfoQueryDTO $PasswordInfoQueryDTO +} catch { + Write-Host ("Exception occurred when calling Search-V2024PasswordInfo: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **PasswordInfoQueryDTO** | [**PasswordInfoQueryDTO**](PasswordInfoQueryDTO.md)| | + +### Return type + +[**PasswordInfo**](PasswordInfo.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Set-V2024Password** +> PasswordChangeResponse Set-V2024Password
+>         [-PasswordChangeRequest]
+ +Set Identity's Password + +This API is used to set a password for an identity. An identity can change their own password (as well as any of their accounts' passwords) if they use a token generated by their ISC user, such as a [personal access token](https://developer.sailpoint.com/idn/api/authentication#personal-access-tokens) or [""authorization_code"" derived OAuth token](https://developer.sailpoint.com/idn/api/authentication#authorization-code-grant-flow). A token with [API authority](https://developer.sailpoint.com/idn/api/authentication#client-credentials-grant-flow) can be used to change **any** identity's password or the password of any of the identity's accounts. ""API authority"" refers to a token that only has the ""client_credentials"" grant type. >**Note: If you want to set an identity's source account password, you must enable `PASSWORD` as one of the source's features. You can use the [PATCH Source endpoint](https://developer.sailpoint.com/docs/api/v3/update-source) to add the `PASSWORD` feature.** You can use this endpoint to generate an `encryptedPassword` (RSA encrypted using publicKey). To do so, follow these steps: 1. Use [Query Password Info](https://developer.sailpoint.com/idn/api/v3/query-password-info) to get the following information: `identityId`, `sourceId`, `publicKeyId`, `publicKey`, `accounts`, and `policies`. 2. Choose an account from the previous response that you will provide as an `accountId` in your request to set an encrypted password. 3. Use [Set Identity's Password](https://developer.sailpoint.com/idn/api/v3/set-password) and provide the information you got from your earlier query. Then add this code to your request to get the encrypted password: ```java import javax.crypto.Cipher; import java.security.KeyFactory; import java.security.PublicKey; import java.security.spec.X509EncodedKeySpec; import java util.Base64; String encrypt(String publicKey, String toEncrypt) throws Exception { byte[] publicKeyBytes = Base64.getDecoder().decode(publicKey); byte[] encryptedBytes = encryptRsa(publicKeyBytes, toEncrypt.getBytes(""UTF-8"")); return Base64.getEncoder().encodeToString(encryptedBytes); } private byte[] encryptRsa(byte[] publicKeyBytes, byte[] toEncryptBytes) throws Exception { PublicKey key = KeyFactory.getInstance(""RSA"").generatePublic(new X509EncodedKeySpec(publicKeyBytes)); String transformation = ""RSA/ECB/PKCS1Padding""; Cipher cipher = Cipher.getInstance(transformation); cipher.init(1, key); return cipher.doFinal(toEncryptBytes); } ``` In this example, `toEncrypt` refers to the plain text password you are setting and then encrypting, and the `publicKey` refers to the publicKey you got from the first request you sent. You can then use [Get Password Change Request Status](https://developer.sailpoint.com/idn/api/v3/get-password-change-status) to check the password change request status. To do so, you must provide the `requestId` from your earlier request to set the password. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$PasswordChangeRequest = Initialize-PasswordChangeRequest -IdentityId "8a807d4c73c545510173c545f0a002ff" -EncryptedPassword "XzN+YwKgr2C+InkMYFMBG3UtjMEw5ZIql/XFlXo8cJNeslmkplx6vn4kd4/43IF9STBk5RnzR6XmjpEO+FwHDoiBwYZAkAZK/Iswxk4OdybG6Y4MStJCOCiK8osKr35IMMSV/mbO4wAeltoCk7daTWzTGLiI6UaT5tf+F2EgdjJZ7YqM8W8r7aUWsm3p2Xt01Y46ZRx0QaM91QruiIx2rECFT2pUO0wr+7oQ77jypATyGWRtADsu3YcvCk/6U5MqCnXMzKBcRas7NnZdSL/d5H1GglVGz3VLPMaivG4/oL4chOMmFCRl/zVsGxZ9RhN8rxsRGFFKn+rhExTi+bax3A==" -PublicKeyId "YWQ2NjQ4MTItZjY0NC00MWExLWFjMjktOGNmMzU3Y2VlNjk2" -AccountId "CN=Abby Smith,OU=Austin,OU=Americas,OU=Demo,DC=seri,DC=acme,DC=com" -SourceId "8a807d4c73c545510173c545d4b60246" # PasswordChangeRequest | + +# Set Identity's Password +try { + $Result = Set-V2024Password -PasswordChangeRequest $PasswordChangeRequest +} catch { + Write-Host ("Exception occurred when calling Set-V2024Password: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **PasswordChangeRequest** | [**PasswordChangeRequest**](PasswordChangeRequest.md)| | + +### Return type + +[**PasswordChangeResponse**](PasswordChangeResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024PasswordPoliciesApi.md b/PSSailpoint/v2024/docs/V2024PasswordPoliciesApi.md new file mode 100644 index 000000000..dc79dfb18 --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024PasswordPoliciesApi.md @@ -0,0 +1,277 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024PasswordPoliciesApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**New-V2024PasswordPolicy**](V2024PasswordPoliciesApi.md#New-V2024PasswordPolicy) | **POST** /password-policies | Create Password Policy +[**Remove-V2024PasswordPolicy**](V2024PasswordPoliciesApi.md#Remove-V2024PasswordPolicy) | **DELETE** /password-policies/{id} | Delete Password Policy by ID +[**Get-V2024PasswordPolicyById**](V2024PasswordPoliciesApi.md#Get-V2024PasswordPolicyById) | **GET** /password-policies/{id} | Get Password Policy by ID +[**Get-V2024PasswordPolicies**](V2024PasswordPoliciesApi.md#Get-V2024PasswordPolicies) | **GET** /password-policies | List Password Policies +[**Set-V2024PasswordPolicy**](V2024PasswordPoliciesApi.md#Set-V2024PasswordPolicy) | **PUT** /password-policies/{id} | Update Password Policy by ID + + + +# **New-V2024PasswordPolicy** +> PasswordPolicyV3Dto New-V2024PasswordPolicy
+>         [-PasswordPolicyV3Dto]
+ +Create Password Policy + +This API creates the specified password policy. A token with ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$PasswordPolicyV3Dto = Initialize-PasswordPolicyV3Dto -Id "2c91808e7d976f3b017d9f5ceae440c8" -Description "Information about the Password Policy" -Name "PasswordPolicy Example" -DateCreated (Get-Date) -LastUpdated (Get-Date) -FirstExpirationReminder 45 -AccountIdMinWordLength 4 -AccountNameMinWordLength 6 -MinAlpha 5 -MinCharacterTypes 5 -MaxLength 25 -MinLength 8 -MaxRepeatedChars 3 -MinLower 8 -MinNumeric 8 -MinSpecial 8 -MinUpper 8 -PasswordExpiration 8 -DefaultPolicy $true -EnablePasswdExpiration $true -RequireStrongAuthn $true -RequireStrongAuthOffNetwork $true -RequireStrongAuthUntrustedGeographies $true -UseAccountAttributes $false -UseDictionary $false -UseIdentityAttributes $false -ValidateAgainstAccountId $false -ValidateAgainstAccountName $true -Created "MyCreated" -Modified "MyModified" -SourceIds "MySourceIds" # PasswordPolicyV3Dto | + +# Create Password Policy +try { + $Result = New-V2024PasswordPolicy -PasswordPolicyV3Dto $PasswordPolicyV3Dto +} catch { + Write-Host ("Exception occurred when calling New-V2024PasswordPolicy: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **PasswordPolicyV3Dto** | [**PasswordPolicyV3Dto**](PasswordPolicyV3Dto.md)| | + +### Return type + +[**PasswordPolicyV3Dto**](PasswordPolicyV3Dto.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Remove-V2024PasswordPolicy** +> void Remove-V2024PasswordPolicy
+>         [-Id]
+ +Delete Password Policy by ID + +This API deletes the specified password policy. A token with ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ff808081838d9e9d01838da6a03e0002" # String | The ID of password policy to delete. + +# Delete Password Policy by ID +try { + $Result = Remove-V2024PasswordPolicy -Id $Id +} catch { + Write-Host ("Exception occurred when calling Remove-V2024PasswordPolicy: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The ID of password policy to delete. | + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024PasswordPolicyById** +> PasswordPolicyV3Dto Get-V2024PasswordPolicyById
+>         [-Id]
+ +Get Password Policy by ID + +This API returns the password policy for the specified ID. A token with ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ff808081838d9e9d01838da6a03e0005" # String | The ID of password policy to retrieve. + +# Get Password Policy by ID +try { + $Result = Get-V2024PasswordPolicyById -Id $Id +} catch { + Write-Host ("Exception occurred when calling Get-V2024PasswordPolicyById: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The ID of password policy to retrieve. | + +### Return type + +[**PasswordPolicyV3Dto**](PasswordPolicyV3Dto.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024PasswordPolicies** +> PasswordPolicyV3Dto[] Get-V2024PasswordPolicies
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+ +List Password Policies + +This gets list of all Password Policies. Requires role of ORG_ADMIN + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) + +# List Password Policies +try { + $Result = Get-V2024PasswordPolicies -Limit $Limit -Offset $Offset -Count $Count +} catch { + Write-Host ("Exception occurred when calling Get-V2024PasswordPolicies: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + +### Return type + +[**PasswordPolicyV3Dto[]**](PasswordPolicyV3Dto.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Set-V2024PasswordPolicy** +> PasswordPolicyV3Dto Set-V2024PasswordPolicy
+>         [-Id]
+>         [-PasswordPolicyV3Dto]
+ +Update Password Policy by ID + +This API updates the specified password policy. A token with ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ff808081838d9e9d01838da6a03e0007" # String | The ID of password policy to update. +$PasswordPolicyV3Dto = Initialize-PasswordPolicyV3Dto -Id "2c91808e7d976f3b017d9f5ceae440c8" -Description "Information about the Password Policy" -Name "PasswordPolicy Example" -DateCreated (Get-Date) -LastUpdated (Get-Date) -FirstExpirationReminder 45 -AccountIdMinWordLength 4 -AccountNameMinWordLength 6 -MinAlpha 5 -MinCharacterTypes 5 -MaxLength 25 -MinLength 8 -MaxRepeatedChars 3 -MinLower 8 -MinNumeric 8 -MinSpecial 8 -MinUpper 8 -PasswordExpiration 8 -DefaultPolicy $true -EnablePasswdExpiration $true -RequireStrongAuthn $true -RequireStrongAuthOffNetwork $true -RequireStrongAuthUntrustedGeographies $true -UseAccountAttributes $false -UseDictionary $false -UseIdentityAttributes $false -ValidateAgainstAccountId $false -ValidateAgainstAccountName $true -Created "MyCreated" -Modified "MyModified" -SourceIds "MySourceIds" # PasswordPolicyV3Dto | + +# Update Password Policy by ID +try { + $Result = Set-V2024PasswordPolicy -Id $Id -PasswordPolicyV3Dto $PasswordPolicyV3Dto +} catch { + Write-Host ("Exception occurred when calling Set-V2024PasswordPolicy: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The ID of password policy to update. | + **PasswordPolicyV3Dto** | [**PasswordPolicyV3Dto**](PasswordPolicyV3Dto.md)| | + +### Return type + +[**PasswordPolicyV3Dto**](PasswordPolicyV3Dto.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024PasswordSyncGroupsApi.md b/PSSailpoint/v2024/docs/V2024PasswordSyncGroupsApi.md new file mode 100644 index 000000000..7ee85b247 --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024PasswordSyncGroupsApi.md @@ -0,0 +1,277 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024PasswordSyncGroupsApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**New-V2024PasswordSyncGroup**](V2024PasswordSyncGroupsApi.md#New-V2024PasswordSyncGroup) | **POST** /password-sync-groups | Create Password Sync Group +[**Remove-V2024PasswordSyncGroup**](V2024PasswordSyncGroupsApi.md#Remove-V2024PasswordSyncGroup) | **DELETE** /password-sync-groups/{id} | Delete Password Sync Group by ID +[**Get-V2024PasswordSyncGroup**](V2024PasswordSyncGroupsApi.md#Get-V2024PasswordSyncGroup) | **GET** /password-sync-groups/{id} | Get Password Sync Group by ID +[**Get-V2024PasswordSyncGroups**](V2024PasswordSyncGroupsApi.md#Get-V2024PasswordSyncGroups) | **GET** /password-sync-groups | Get Password Sync Group List +[**Update-V2024PasswordSyncGroup**](V2024PasswordSyncGroupsApi.md#Update-V2024PasswordSyncGroup) | **PUT** /password-sync-groups/{id} | Update Password Sync Group by ID + + + +# **New-V2024PasswordSyncGroup** +> PasswordSyncGroup New-V2024PasswordSyncGroup
+>         [-PasswordSyncGroup]
+ +Create Password Sync Group + +This API creates a password sync group based on the specifications provided. A token with ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$PasswordSyncGroup = Initialize-PasswordSyncGroup -Id "6881f631-3bd5-4213-9c75-8e05cc3e35dd" -Name "Password Sync Group 1" -PasswordPolicyId "2c91808d744ba0ce01746f93b6204501" -SourceIds "MySourceIds" -Created (Get-Date) -Modified (Get-Date) # PasswordSyncGroup | + +# Create Password Sync Group +try { + $Result = New-V2024PasswordSyncGroup -PasswordSyncGroup $PasswordSyncGroup +} catch { + Write-Host ("Exception occurred when calling New-V2024PasswordSyncGroup: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **PasswordSyncGroup** | [**PasswordSyncGroup**](PasswordSyncGroup.md)| | + +### Return type + +[**PasswordSyncGroup**](PasswordSyncGroup.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Remove-V2024PasswordSyncGroup** +> void Remove-V2024PasswordSyncGroup
+>         [-Id]
+ +Delete Password Sync Group by ID + +This API deletes the specified password sync group. A token with ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "6881f631-3bd5-4213-9c75-8e05cc3e35dd" # String | The ID of password sync group to delete. + +# Delete Password Sync Group by ID +try { + $Result = Remove-V2024PasswordSyncGroup -Id $Id +} catch { + Write-Host ("Exception occurred when calling Remove-V2024PasswordSyncGroup: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The ID of password sync group to delete. | + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024PasswordSyncGroup** +> PasswordSyncGroup Get-V2024PasswordSyncGroup
+>         [-Id]
+ +Get Password Sync Group by ID + +This API returns the sync group for the specified ID. A token with ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "6881f631-3bd5-4213-9c75-8e05cc3e35dd" # String | The ID of password sync group to retrieve. + +# Get Password Sync Group by ID +try { + $Result = Get-V2024PasswordSyncGroup -Id $Id +} catch { + Write-Host ("Exception occurred when calling Get-V2024PasswordSyncGroup: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The ID of password sync group to retrieve. | + +### Return type + +[**PasswordSyncGroup**](PasswordSyncGroup.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024PasswordSyncGroups** +> PasswordSyncGroup[] Get-V2024PasswordSyncGroups
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+ +Get Password Sync Group List + +This API returns a list of password sync groups. A token with ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) + +# Get Password Sync Group List +try { + $Result = Get-V2024PasswordSyncGroups -Limit $Limit -Offset $Offset -Count $Count +} catch { + Write-Host ("Exception occurred when calling Get-V2024PasswordSyncGroups: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + +### Return type + +[**PasswordSyncGroup[]**](PasswordSyncGroup.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Update-V2024PasswordSyncGroup** +> PasswordSyncGroup Update-V2024PasswordSyncGroup
+>         [-Id]
+>         [-PasswordSyncGroup]
+ +Update Password Sync Group by ID + +This API updates the specified password sync group. A token with ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "6881f631-3bd5-4213-9c75-8e05cc3e35dd" # String | The ID of password sync group to update. +$PasswordSyncGroup = Initialize-PasswordSyncGroup -Id "6881f631-3bd5-4213-9c75-8e05cc3e35dd" -Name "Password Sync Group 1" -PasswordPolicyId "2c91808d744ba0ce01746f93b6204501" -SourceIds "MySourceIds" -Created (Get-Date) -Modified (Get-Date) # PasswordSyncGroup | + +# Update Password Sync Group by ID +try { + $Result = Update-V2024PasswordSyncGroup -Id $Id -PasswordSyncGroup $PasswordSyncGroup +} catch { + Write-Host ("Exception occurred when calling Update-V2024PasswordSyncGroup: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The ID of password sync group to update. | + **PasswordSyncGroup** | [**PasswordSyncGroup**](PasswordSyncGroup.md)| | + +### Return type + +[**PasswordSyncGroup**](PasswordSyncGroup.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024PersonalAccessTokensApi.md b/PSSailpoint/v2024/docs/V2024PersonalAccessTokensApi.md new file mode 100644 index 000000000..f03813523 --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024PersonalAccessTokensApi.md @@ -0,0 +1,223 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024PersonalAccessTokensApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**New-V2024PersonalAccessToken**](V2024PersonalAccessTokensApi.md#New-V2024PersonalAccessToken) | **POST** /personal-access-tokens | Create Personal Access Token +[**Remove-V2024PersonalAccessToken**](V2024PersonalAccessTokensApi.md#Remove-V2024PersonalAccessToken) | **DELETE** /personal-access-tokens/{id} | Delete Personal Access Token +[**Get-V2024PersonalAccessTokens**](V2024PersonalAccessTokensApi.md#Get-V2024PersonalAccessTokens) | **GET** /personal-access-tokens | List Personal Access Tokens +[**Update-V2024PersonalAccessToken**](V2024PersonalAccessTokensApi.md#Update-V2024PersonalAccessToken) | **PATCH** /personal-access-tokens/{id} | Patch Personal Access Token + + + +# **New-V2024PersonalAccessToken** +> CreatePersonalAccessTokenResponse New-V2024PersonalAccessToken
+>         [-CreatePersonalAccessTokenRequest]
+ +Create Personal Access Token + +This creates a personal access token. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$CreatePersonalAccessTokenRequest = Initialize-CreatePersonalAccessTokenRequest -Name "NodeJS Integration" -Scope "MyScope" # CreatePersonalAccessTokenRequest | Name and scope of personal access token. + +# Create Personal Access Token +try { + $Result = New-V2024PersonalAccessToken -CreatePersonalAccessTokenRequest $CreatePersonalAccessTokenRequest +} catch { + Write-Host ("Exception occurred when calling New-V2024PersonalAccessToken: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **CreatePersonalAccessTokenRequest** | [**CreatePersonalAccessTokenRequest**](CreatePersonalAccessTokenRequest.md)| Name and scope of personal access token. | + +### Return type + +[**CreatePersonalAccessTokenResponse**](CreatePersonalAccessTokenResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Remove-V2024PersonalAccessToken** +> void Remove-V2024PersonalAccessToken
+>         [-Id]
+ +Delete Personal Access Token + +This deletes a personal access token. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f94347e94562b5bb8424a56397d8" # String | The personal access token id + +# Delete Personal Access Token +try { + $Result = Remove-V2024PersonalAccessToken -Id $Id +} catch { + Write-Host ("Exception occurred when calling Remove-V2024PersonalAccessToken: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The personal access token id | + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024PersonalAccessTokens** +> GetPersonalAccessTokenResponse[] Get-V2024PersonalAccessTokens
+>         [-OwnerId]
+>         [-Filters]
+ +List Personal Access Tokens + +This gets a collection of personal access tokens associated with the optional `owner-id`. query parameter. If the `owner-id` query parameter is omitted, all personal access tokens for a tenant will be retrieved, but the caller must have the 'idn:all-personal-access-tokens:read' right. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$OwnerId = "2c9180867b50d088017b554662fb281e" # String | The identity ID of the owner whose personal access tokens should be listed. If ""me"", the caller should have the following right: 'idn:my-personal-access-tokens:read' If an actual owner ID or if the `owner-id` parameter is omitted in the request, the caller should have the following right: 'idn:all-personal-access-tokens:read'. If the caller has the following right, then managed personal access tokens associated with `owner-id` will be retrieved: 'idn:managed-personal-access-tokens:read' (optional) +$Filters = "lastUsed le 2023-02-05T10:59:27.214Z" # 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: **lastUsed**: *le, isnull* (optional) + +# List Personal Access Tokens +try { + $Result = Get-V2024PersonalAccessTokens -OwnerId $OwnerId -Filters $Filters +} catch { + Write-Host ("Exception occurred when calling Get-V2024PersonalAccessTokens: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **OwnerId** | **String**| The identity ID of the owner whose personal access tokens should be listed. If ""me"", the caller should have the following right: 'idn:my-personal-access-tokens:read' If an actual owner ID or if the `owner-id` parameter is omitted in the request, the caller should have the following right: 'idn:all-personal-access-tokens:read'. If the caller has the following right, then managed personal access tokens associated with `owner-id` will be retrieved: 'idn:managed-personal-access-tokens:read' | [optional] + **Filters** | **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: **lastUsed**: *le, isnull* | [optional] + +### Return type + +[**GetPersonalAccessTokenResponse[]**](GetPersonalAccessTokenResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Update-V2024PersonalAccessToken** +> GetPersonalAccessTokenResponse Update-V2024PersonalAccessToken
+>         [-Id]
+>         [-JsonPatchOperation]
+ +Patch Personal Access Token + +This performs a targeted update to the field(s) of a Personal Access Token. Changing scopes for a Personal Access Token does not impact existing bearer tokens. You will need to create a new bearer token to have the new scopes. Please note that it can take up to 20 minutes for scope changes to be seen on new bearer tokens. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f94347e94562b5bb8424a56397d8" # String | The Personal Access Token id +$JsonPatchOperationValue = Initialize-JsonPatchOperationValue +$JsonPatchOperation = Initialize-JsonPatchOperation -Op "add" -Path "/description" -Value $JsonPatchOperationValue # JsonPatchOperation[] | A list of OAuth client update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. The following fields are patchable: * name * scope + +# Patch Personal Access Token +try { + $Result = Update-V2024PersonalAccessToken -Id $Id -JsonPatchOperation $JsonPatchOperation +} catch { + Write-Host ("Exception occurred when calling Update-V2024PersonalAccessToken: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The Personal Access Token id | + **JsonPatchOperation** | [**JsonPatchOperation[]**](JsonPatchOperation.md)| A list of OAuth client update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. The following fields are patchable: * name * scope | + +### Return type + +[**GetPersonalAccessTokenResponse**](GetPersonalAccessTokenResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024PublicIdentitiesApi.md b/PSSailpoint/v2024/docs/V2024PublicIdentitiesApi.md new file mode 100644 index 000000000..16f8d92e9 --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024PublicIdentitiesApi.md @@ -0,0 +1,73 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024PublicIdentitiesApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**Get-V2024PublicIdentities**](V2024PublicIdentitiesApi.md#Get-V2024PublicIdentities) | **GET** /public-identities | Get a list of public identities + + + +# **Get-V2024PublicIdentities** +> PublicIdentity[] Get-V2024PublicIdentities
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+>         [-Filters]
+>         [-AddCoreFilters]
+>         [-Sorters]
+ +Get a list of public identities + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) +$Filters = "firstname eq "John"" # 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, in* **alias**: *eq, sw* **email**: *eq, sw* **firstname**: *eq, sw* **lastname**: *eq, sw* (optional) +$AddCoreFilters = $false # Boolean | If *true*, only get identities which satisfy ALL the following criteria in addition to any criteria specified by *filters*: - Should be either correlated or protected. - Should not be ""spadmin"" or ""cloudadmin"". - uid should not be null. - lastname should not be null. - email should not be null. (optional) (default to $false) +$Sorters = "name" # String | 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: **name** (optional) + +# Get a list of public identities +try { + $Result = Get-V2024PublicIdentities -Limit $Limit -Offset $Offset -Count $Count -Filters $Filters -AddCoreFilters $AddCoreFilters -Sorters $Sorters +} catch { + Write-Host ("Exception occurred when calling Get-V2024PublicIdentities: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **Filters** | **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, in* **alias**: *eq, sw* **email**: *eq, sw* **firstname**: *eq, sw* **lastname**: *eq, sw* | [optional] + **AddCoreFilters** | **Boolean**| If *true*, only get identities which satisfy ALL the following criteria in addition to any criteria specified by *filters*: - Should be either correlated or protected. - Should not be ""spadmin"" or ""cloudadmin"". - uid should not be null. - lastname should not be null. - email should not be null. | [optional] [default to $false] + **Sorters** | **String**| 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: **name** | [optional] + +### Return type + +[**PublicIdentity[]**](PublicIdentity.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024PublicIdentitiesConfigApi.md b/PSSailpoint/v2024/docs/V2024PublicIdentitiesConfigApi.md new file mode 100644 index 000000000..c0b74e7d8 --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024PublicIdentitiesConfigApi.md @@ -0,0 +1,109 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024PublicIdentitiesConfigApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**Get-V2024PublicIdentityConfig**](V2024PublicIdentitiesConfigApi.md#Get-V2024PublicIdentityConfig) | **GET** /public-identities-config | Get the Public Identities Configuration +[**Update-V2024PublicIdentityConfig**](V2024PublicIdentitiesConfigApi.md#Update-V2024PublicIdentityConfig) | **PUT** /public-identities-config | Update the Public Identities Configuration + + + +# **Get-V2024PublicIdentityConfig** +> PublicIdentityConfig Get-V2024PublicIdentityConfig
+ +Get the Public Identities Configuration + +Returns the publicly visible attributes of an identity available to request approvers for Access Requests and Certification Campaigns. A token with ORG ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + + +# Get the Public Identities Configuration +try { + $Result = Get-V2024PublicIdentityConfig +} catch { + Write-Host ("Exception occurred when calling Get-V2024PublicIdentityConfig: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**PublicIdentityConfig**](PublicIdentityConfig.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Update-V2024PublicIdentityConfig** +> PublicIdentityConfig Update-V2024PublicIdentityConfig
+>         [-PublicIdentityConfig]
+ +Update the Public Identities Configuration + +Updates the publicly visible attributes of an identity available to request approvers for Access Requests and Certification Campaigns. A token with ORG ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$PublicIdentityAttributeConfig = Initialize-PublicIdentityAttributeConfig -Key "country" -Name "Country" +$IdentityReference = Initialize-IdentityReference -Type "ACCOUNT_CORRELATION_CONFIG" -Id "2c9180a46faadee4016fb4e018c20639" -Name "Thomas Edison" +$PublicIdentityConfig = Initialize-PublicIdentityConfig -Attributes $PublicIdentityAttributeConfig -Modified (Get-Date) -ModifiedBy $IdentityReference # PublicIdentityConfig | + +# Update the Public Identities Configuration +try { + $Result = Update-V2024PublicIdentityConfig -PublicIdentityConfig $PublicIdentityConfig +} catch { + Write-Host ("Exception occurred when calling Update-V2024PublicIdentityConfig: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **PublicIdentityConfig** | [**PublicIdentityConfig**](PublicIdentityConfig.md)| | + +### Return type + +[**PublicIdentityConfig**](PublicIdentityConfig.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024ReportsDataExtractionApi.md b/PSSailpoint/v2024/docs/V2024ReportsDataExtractionApi.md new file mode 100644 index 000000000..126e545a1 --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024ReportsDataExtractionApi.md @@ -0,0 +1,240 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024ReportsDataExtractionApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**Suspend-V2024Report**](V2024ReportsDataExtractionApi.md#Suspend-V2024Report) | **POST** /reports/{id}/cancel | Cancel Report +[**Get-V2024Report**](V2024ReportsDataExtractionApi.md#Get-V2024Report) | **GET** /reports/{taskResultId} | Get Report File +[**Get-V2024ReportResult**](V2024ReportsDataExtractionApi.md#Get-V2024ReportResult) | **GET** /reports/{taskResultId}/result | Get Report Result +[**Start-V2024Report**](V2024ReportsDataExtractionApi.md#Start-V2024Report) | **POST** /reports/run | Run Report + + + +# **Suspend-V2024Report** +> void Suspend-V2024Report
+>         [-Id]
+ +Cancel Report + +Cancels a running report. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "a1ed223247144cc29d23c632624b4767" # String | ID of the running Report to cancel + +# Cancel Report +try { + $Result = Suspend-V2024Report -Id $Id +} catch { + Write-Host ("Exception occurred when calling Suspend-V2024Report: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| ID of the running Report to cancel | + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024Report** +> System.IO.FileInfo Get-V2024Report
+>         [-TaskResultId]
+>         [-FileFormat]
+>         [-Name]
+>         [-Auditable]
+ +Get Report File + +Gets a report in file format. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$TaskResultId = "ef38f94347e94562b5bb8424a56397d8" # String | Unique identifier of the task result which handled report +$FileFormat = "csv" # String | Output format of the requested report file +$Name = "Identities Details Report" # String | preferred Report file name, by default will be used report name from task result. (optional) +$Auditable = $true # Boolean | Enables auditing for current report download. Will create an audit event and sent it to the REPORT cloud-audit kafka topic. Event will be created if there is any result present by requested taskResultId. (optional) (default to $false) + +# Get Report File +try { + $Result = Get-V2024Report -TaskResultId $TaskResultId -FileFormat $FileFormat -Name $Name -Auditable $Auditable +} catch { + Write-Host ("Exception occurred when calling Get-V2024Report: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **TaskResultId** | **String**| Unique identifier of the task result which handled report | + **FileFormat** | **String**| Output format of the requested report file | + **Name** | **String**| preferred Report file name, by default will be used report name from task result. | [optional] + **Auditable** | **Boolean**| Enables auditing for current report download. Will create an audit event and sent it to the REPORT cloud-audit kafka topic. Event will be created if there is any result present by requested taskResultId. | [optional] [default to $false] + +### Return type + +**System.IO.FileInfo** + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/csv, application/pdf, application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024ReportResult** +> ReportResults Get-V2024ReportResult
+>         [-TaskResultId]
+>         [-Completed]
+ +Get Report Result + +Get the report results for a report that was run or is running. Returns empty report result in case there are no active task definitions with used in payload task definition name. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$TaskResultId = "ef38f94347e94562b5bb8424a56397d8" # String | Unique identifier of the task result which handled report +$Completed = $true # Boolean | state of task result to apply ordering when results are fetching from the DB (optional) (default to $false) + +# Get Report Result +try { + $Result = Get-V2024ReportResult -TaskResultId $TaskResultId -Completed $Completed +} catch { + Write-Host ("Exception occurred when calling Get-V2024ReportResult: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **TaskResultId** | **String**| Unique identifier of the task result which handled report | + **Completed** | **Boolean**| state of task result to apply ordering when results are fetching from the DB | [optional] [default to $false] + +### Return type + +[**ReportResults**](ReportResults.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Start-V2024Report** +> TaskResultDetails Start-V2024Report
+>         [-ReportDetails]
+ +Run Report + +Runs a report according to input report details. If non-concurrent task is already running then it returns, otherwise new task creates and returns. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +"CSV" + +$Bound = Initialize-Bound -Value "1" -Inclusive $false +$Range = Initialize-Range -Lower $Bound -Upper $Bound + +$ModelFilter = Initialize-ModelFilter -Type "EXISTS" -Range $Range -Terms "account_count" -Exclude $false + +$InnerHit = Initialize-InnerHit -Query "source.name:\"Active Directory\"" -Type "access" +$Query = Initialize-Query -Query "name:a*" -Fields "[firstName,lastName,email]" -TimeZone "America/Chicago" -InnerHit $InnerHit + +$ReportDetailsArguments = Initialize-ReportDetailsArguments -Application "2c9180897eSourceIde781782f705b9" -SourceName "DataScienceSourceName" -CorrelatedOnly $true -AuthoritativeSource "1234sourceId5678902" -SelectedFormats "CSV" -Indices "accessprofiles" -Filters @{ key_example = $ModelFilter } -Query $Query -IncludeNested $true -Sort "MySort" + +$ReportDetails = Initialize-ReportDetails -ReportType "ACCOUNTS" -Arguments $ReportDetailsArguments # ReportDetails | + +# Run Report +try { + $Result = Start-V2024Report -ReportDetails $ReportDetails +} catch { + Write-Host ("Exception occurred when calling Start-V2024Report: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ReportDetails** | [**ReportDetails**](ReportDetails.md)| | + +### Return type + +[**TaskResultDetails**](TaskResultDetails.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024RequestableObjectsApi.md b/PSSailpoint/v2024/docs/V2024RequestableObjectsApi.md new file mode 100644 index 000000000..93c3bad5c --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024RequestableObjectsApi.md @@ -0,0 +1,84 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024RequestableObjectsApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**Get-V2024RequestableObjects**](V2024RequestableObjectsApi.md#Get-V2024RequestableObjects) | **GET** /requestable-objects | Requestable Objects List + + + +# **Get-V2024RequestableObjects** +> RequestableObject[] Get-V2024RequestableObjects
+>         [-IdentityId]
+>         [-Types]
+>         [-Term]
+>         [-Statuses]
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+>         [-Filters]
+>         [-Sorters]
+ +Requestable Objects List + +This endpoint returns a list of acccess items that that can be requested through the Access Request endpoints. Access items are marked with AVAILABLE, PENDING or ASSIGNED with respect to the identity provided using *identity-id* query param. Any authenticated token can call this endpoint to see their requestable access items. A token with ORG_ADMIN authority is required to call this endpoint to return a list of all of the requestable access items for the org or for another identity. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$IdentityId = "e7eab60924f64aa284175b9fa3309599" # String | If present, the value returns only requestable objects for the specified identity. * Admin users can call this with any identity ID value. * Non-admin users can only specify *me* or pass their own identity ID value. * If absent, returns a list of all requestable objects for the tenant. Only admin users can make such a call. In this case, the available, pending, assigned accesses will not be annotated in the result. (optional) +$Types = "ACCESS_PROFILE" # RequestableObjectType[] | Filters the results to the specified type/types, where each type is one of ROLE or ACCESS_PROFILE. If absent, all types are returned. Support for additional types may be added in the future without notice. (optional) +$Term = "Finance Role" # String | It allows searching requestable access items with a partial match on the name or description. If term is provided, then the *filter* query parameter will be ignored. (optional) +$Statuses = "AVAILABLE" # RequestableObjectRequestStatus[] | Filters the result to the specified status/statuses, where each status is one of AVAILABLE, ASSIGNED, or PENDING. It is an error to specify this parameter without also specifying an *identity-id* parameter. Additional statuses may be added in the future without notice. (optional) +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) +$Filters = "name sw "bob"" # 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, in* **name**: *eq, in, sw* (optional) +$Sorters = "name" # String | 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: **name** (optional) + +# Requestable Objects List +try { + $Result = Get-V2024RequestableObjects -IdentityId $IdentityId -Types $Types -Term $Term -Statuses $Statuses -Limit $Limit -Offset $Offset -Count $Count -Filters $Filters -Sorters $Sorters +} catch { + Write-Host ("Exception occurred when calling Get-V2024RequestableObjects: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **IdentityId** | **String**| If present, the value returns only requestable objects for the specified identity. * Admin users can call this with any identity ID value. * Non-admin users can only specify *me* or pass their own identity ID value. * If absent, returns a list of all requestable objects for the tenant. Only admin users can make such a call. In this case, the available, pending, assigned accesses will not be annotated in the result. | [optional] + **Types** | [**RequestableObjectType[]**](RequestableObjectType.md)| Filters the results to the specified type/types, where each type is one of ROLE or ACCESS_PROFILE. If absent, all types are returned. Support for additional types may be added in the future without notice. | [optional] + **Term** | **String**| It allows searching requestable access items with a partial match on the name or description. If term is provided, then the *filter* query parameter will be ignored. | [optional] + **Statuses** | [**RequestableObjectRequestStatus[]**](RequestableObjectRequestStatus.md)| Filters the result to the specified status/statuses, where each status is one of AVAILABLE, ASSIGNED, or PENDING. It is an error to specify this parameter without also specifying an *identity-id* parameter. Additional statuses may be added in the future without notice. | [optional] + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **Filters** | **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, in* **name**: *eq, in, sw* | [optional] + **Sorters** | **String**| 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: **name** | [optional] + +### Return type + +[**RequestableObject[]**](RequestableObject.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024RoleInsightsApi.md b/PSSailpoint/v2024/docs/V2024RoleInsightsApi.md new file mode 100644 index 000000000..afd3a36d9 --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024RoleInsightsApi.md @@ -0,0 +1,545 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024RoleInsightsApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**New-V2024RoleInsightRequests**](V2024RoleInsightsApi.md#New-V2024RoleInsightRequests) | **POST** /role-insights/requests | Generate insights for roles +[**Invoke-V2024DownloadRoleInsightsEntitlementsChanges**](V2024RoleInsightsApi.md#Invoke-V2024DownloadRoleInsightsEntitlementsChanges) | **GET** /role-insights/{insightId}/entitlement-changes/download | Download entitlement insights for a role +[**Get-V2024EntitlementChangesIdentities**](V2024RoleInsightsApi.md#Get-V2024EntitlementChangesIdentities) | **GET** /role-insights/{insightId}/entitlement-changes/{entitlementId}/identities | Get identities for a suggested entitlement (for a role) +[**Get-V2024RoleInsight**](V2024RoleInsightsApi.md#Get-V2024RoleInsight) | **GET** /role-insights/{insightId} | Get a single role insight +[**Get-V2024RoleInsights**](V2024RoleInsightsApi.md#Get-V2024RoleInsights) | **GET** /role-insights | Get role insights +[**Get-V2024RoleInsightsCurrentEntitlements**](V2024RoleInsightsApi.md#Get-V2024RoleInsightsCurrentEntitlements) | **GET** /role-insights/{insightId}/current-entitlements | Get current entitlement for a role +[**Get-V2024RoleInsightsEntitlementsChanges**](V2024RoleInsightsApi.md#Get-V2024RoleInsightsEntitlementsChanges) | **GET** /role-insights/{insightId}/entitlement-changes | Get entitlement insights for a role +[**Get-V2024RoleInsightsRequests**](V2024RoleInsightsApi.md#Get-V2024RoleInsightsRequests) | **GET** /role-insights/requests/{id} | Returns metadata from prior request. +[**Get-V2024RoleInsightsSummary**](V2024RoleInsightsApi.md#Get-V2024RoleInsightsSummary) | **GET** /role-insights/summary | Get role insights summary information + + + +# **New-V2024RoleInsightRequests** +> RoleInsightsResponse New-V2024RoleInsightRequests
+>         [-XSailPointExperimental]
+ +Generate insights for roles + +Submits a create role insights request to the role insights application. At this time there are no parameters. All business roles will be processed for the customer. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Generate insights for roles +try { + $Result = New-V2024RoleInsightRequests -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling New-V2024RoleInsightRequests: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**RoleInsightsResponse**](RoleInsightsResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Invoke-V2024DownloadRoleInsightsEntitlementsChanges** +> String Invoke-V2024DownloadRoleInsightsEntitlementsChanges
+>         [-InsightId]
+>         [-XSailPointExperimental]
+>         [-Sorters]
+>         [-Filters]
+ +Download entitlement insights for a role + +This endpoint returns the entitlement insights for a role. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$InsightId = "8c190e67-87aa-4ed9-a90b-d9d5344523fb" # String | The role insight id +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Sorters = "identitiesWithAccess" # String | 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: **identitiesWithAccess** The default sort is **identitiesWithAccess** in descending order. (optional) +$Filters = "name sw "r"" # 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: **name**: *sw* **description**: *sw* (optional) + +# Download entitlement insights for a role +try { + $Result = Invoke-V2024DownloadRoleInsightsEntitlementsChanges -InsightId $InsightId -XSailPointExperimental $XSailPointExperimental -Sorters $Sorters -Filters $Filters +} catch { + Write-Host ("Exception occurred when calling Invoke-V2024DownloadRoleInsightsEntitlementsChanges: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **InsightId** | **String**| The role insight id | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Sorters** | **String**| 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: **identitiesWithAccess** The default sort is **identitiesWithAccess** in descending order. | [optional] + **Filters** | **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: **name**: *sw* **description**: *sw* | [optional] + +### Return type + +**String** + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: text/csv, application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024EntitlementChangesIdentities** +> RoleInsightsIdentities[] Get-V2024EntitlementChangesIdentities
+>         [-InsightId]
+>         [-EntitlementId]
+>         [-XSailPointExperimental]
+>         [-HasEntitlement]
+>         [-Offset]
+>         [-Limit]
+>         [-Count]
+>         [-Sorters]
+>         [-Filters]
+ +Get identities for a suggested entitlement (for a role) + +Role insights suggests entitlements to be added for a role. This endpoint returns a list of identities in the role, with or without the entitlements, for a suggested entitlement so that the user can see which identities would be affected if the suggested entitlement were to be added to the role. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$InsightId = "8c190e67-87aa-4ed9-a90b-d9d5344523fb" # String | The role insight id +$EntitlementId = "8c190e67-87aa-4ed9-a90b-d9d5344523fb" # String | The entitlement id +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$HasEntitlement = $true # Boolean | Identity has this entitlement or not (optional) (default to $false) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Count = $true # Boolean | 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. (optional) (default to $false) +$Sorters = "name" # String | 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: **name** (optional) +$Filters = "name sw "Jan"" # 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: **name**: *sw* (optional) + +# Get identities for a suggested entitlement (for a role) +try { + $Result = Get-V2024EntitlementChangesIdentities -InsightId $InsightId -EntitlementId $EntitlementId -XSailPointExperimental $XSailPointExperimental -HasEntitlement $HasEntitlement -Offset $Offset -Limit $Limit -Count $Count -Sorters $Sorters -Filters $Filters +} catch { + Write-Host ("Exception occurred when calling Get-V2024EntitlementChangesIdentities: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **InsightId** | **String**| The role insight id | + **EntitlementId** | **String**| The entitlement id | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **HasEntitlement** | **Boolean**| Identity has this entitlement or not | [optional] [default to $false] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **Sorters** | **String**| 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: **name** | [optional] + **Filters** | **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: **name**: *sw* | [optional] + +### Return type + +[**RoleInsightsIdentities[]**](RoleInsightsIdentities.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024RoleInsight** +> RoleInsight Get-V2024RoleInsight
+>         [-InsightId]
+>         [-XSailPointExperimental]
+ +Get a single role insight + +This endpoint gets role insights information for a role. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$InsightId = "8c190e67-87aa-4ed9-a90b-d9d5344523fb" # String | The role insight id +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Get a single role insight +try { + $Result = Get-V2024RoleInsight -InsightId $InsightId -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Get-V2024RoleInsight: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **InsightId** | **String**| The role insight id | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**RoleInsight**](RoleInsight.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024RoleInsights** +> RoleInsight[] Get-V2024RoleInsights
+>         [-XSailPointExperimental]
+>         [-Offset]
+>         [-Limit]
+>         [-Count]
+>         [-Sorters]
+>         [-Filters]
+ +Get role insights + +This method returns detailed role insights for each role. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Count = $true # Boolean | 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. (optional) (default to $false) +$Sorters = "numberOfUpdates" # String | 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: **numberOfUpdates, identitiesWithAccess, totalNumberOfIdentities** (optional) +$Filters = "name sw "John"" # 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: **name**: *sw* **ownerName**: *sw* **description**: *sw* (optional) + +# Get role insights +try { + $Result = Get-V2024RoleInsights -XSailPointExperimental $XSailPointExperimental -Offset $Offset -Limit $Limit -Count $Count -Sorters $Sorters -Filters $Filters +} catch { + Write-Host ("Exception occurred when calling Get-V2024RoleInsights: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **Sorters** | **String**| 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: **numberOfUpdates, identitiesWithAccess, totalNumberOfIdentities** | [optional] + **Filters** | **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: **name**: *sw* **ownerName**: *sw* **description**: *sw* | [optional] + +### Return type + +[**RoleInsight[]**](RoleInsight.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024RoleInsightsCurrentEntitlements** +> RoleInsightsEntitlement[] Get-V2024RoleInsightsCurrentEntitlements
+>         [-InsightId]
+>         [-XSailPointExperimental]
+>         [-Filters]
+ +Get current entitlement for a role + +This endpoint gets the entitlements for a role. The term ""current"" is to distinguish from the entitlement(s) an insight might recommend adding. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$InsightId = "8c190e67-87aa-4ed9-a90b-d9d5344523fb" # String | The role insight id +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Filters = "name sw "r"" # 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: **name**: *sw* **description**: *sw* (optional) + +# Get current entitlement for a role +try { + $Result = Get-V2024RoleInsightsCurrentEntitlements -InsightId $InsightId -XSailPointExperimental $XSailPointExperimental -Filters $Filters +} catch { + Write-Host ("Exception occurred when calling Get-V2024RoleInsightsCurrentEntitlements: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **InsightId** | **String**| The role insight id | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Filters** | **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: **name**: *sw* **description**: *sw* | [optional] + +### Return type + +[**RoleInsightsEntitlement[]**](RoleInsightsEntitlement.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024RoleInsightsEntitlementsChanges** +> RoleInsightsEntitlementChanges[] Get-V2024RoleInsightsEntitlementsChanges
+>         [-InsightId]
+>         [-XSailPointExperimental]
+>         [-Sorters]
+>         [-Filters]
+ +Get entitlement insights for a role + +This endpoint returns entitlement insights for a role. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$InsightId = "8c190e67-87aa-4ed9-a90b-d9d5344523fb" # String | The role insight id +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Sorters = "MySorters" # String | 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: **identitiesWithAccess, name** (optional) +$Filters = "name sw "Admin"" # 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: **name**: *sw* **description**: *sw* (optional) + +# Get entitlement insights for a role +try { + $Result = Get-V2024RoleInsightsEntitlementsChanges -InsightId $InsightId -XSailPointExperimental $XSailPointExperimental -Sorters $Sorters -Filters $Filters +} catch { + Write-Host ("Exception occurred when calling Get-V2024RoleInsightsEntitlementsChanges: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **InsightId** | **String**| The role insight id | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Sorters** | **String**| 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: **identitiesWithAccess, name** | [optional] + **Filters** | **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: **name**: *sw* **description**: *sw* | [optional] + +### Return type + +[**RoleInsightsEntitlementChanges[]**](RoleInsightsEntitlementChanges.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024RoleInsightsRequests** +> RoleInsightsResponse Get-V2024RoleInsightsRequests
+>         [-Id]
+>         [-XSailPointExperimental]
+ +Returns metadata from prior request. + +This endpoint returns details of a prior role insights request. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "8c190e67-87aa-4ed9-a90b-d9d5344523fb" # String | The role insights request id +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Returns metadata from prior request. +try { + $Result = Get-V2024RoleInsightsRequests -Id $Id -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Get-V2024RoleInsightsRequests: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The role insights request id | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**RoleInsightsResponse**](RoleInsightsResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024RoleInsightsSummary** +> RoleInsightsSummary Get-V2024RoleInsightsSummary
+>         [-XSailPointExperimental]
+ +Get role insights summary information + +This method returns high level summary information for role insights for a customer. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Get role insights summary information +try { + $Result = Get-V2024RoleInsightsSummary -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Get-V2024RoleInsightsSummary: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**RoleInsightsSummary**](RoleInsightsSummary.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024RolesApi.md b/PSSailpoint/v2024/docs/V2024RolesApi.md new file mode 100644 index 000000000..00aafc94a --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024RolesApi.md @@ -0,0 +1,500 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024RolesApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**New-V2024Role**](V2024RolesApi.md#New-V2024Role) | **POST** /roles | Create a Role +[**Remove-V2024BulkRoles**](V2024RolesApi.md#Remove-V2024BulkRoles) | **POST** /roles/bulk-delete | Delete Role(s) +[**Remove-V2024Role**](V2024RolesApi.md#Remove-V2024Role) | **DELETE** /roles/{id} | Delete a Role +[**Get-V2024Role**](V2024RolesApi.md#Get-V2024Role) | **GET** /roles/{id} | Get a Role +[**Get-V2024RoleAssignedIdentities**](V2024RolesApi.md#Get-V2024RoleAssignedIdentities) | **GET** /roles/{id}/assigned-identities | List Identities assigned a Role +[**Get-V2024RoleEntitlements**](V2024RolesApi.md#Get-V2024RoleEntitlements) | **GET** /roles/{id}/entitlements | List role's Entitlements +[**Get-V2024Roles**](V2024RolesApi.md#Get-V2024Roles) | **GET** /roles | List Roles +[**Update-V2024Role**](V2024RolesApi.md#Update-V2024Role) | **PATCH** /roles/{id} | Patch a specified Role + + + +# **New-V2024Role** +> Role New-V2024Role
+>         [-Role]
+ +Create a Role + +This API creates a role. You must have a token with API, ORG_ADMIN, ROLE_ADMIN, or ROLE_SUBADMIN authority to call this API. In addition, a ROLE_SUBADMIN may not create a role including an access profile if that access profile is associated with a source the ROLE_SUBADMIN is not associated with themselves. The maximum supported length for the description field is 2000 characters. Longer descriptions will be preserved for existing roles. However, any new roles as well as any updates to existing descriptions will be limited to 2000 characters. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$OwnerReference = Initialize-OwnerReference -Type "IDENTITY" -Id "2c9180a46faadee4016fb4e018c20639" -Name "support" +$AccessProfileRef = Initialize-AccessProfileRef -Id "ff808081751e6e129f1518161919ecca" -Type "ACCESS_PROFILE" -Name "Access Profile 2567" +$EntitlementRef = Initialize-EntitlementRef -Type "ENTITLEMENT" -Id "2c91809773dee32014e13e122092014e" -Name "CN=entitlement.490efde5,OU=OrgCo,OU=ServiceDept,DC=HQAD,DC=local" + +$RoleCriteriaKey = Initialize-RoleCriteriaKey -Type "IDENTITY" -Property "attribute.email" -SourceId "2c9180867427f3a301745aec18211519" + +$RoleCriteriaLevel3 = Initialize-RoleCriteriaLevel3 -Operation "EQUALS" -Key $RoleCriteriaKey -StringValue "carlee.cert1c9f9b6fd@mailinator.com" + +$RoleCriteriaLevel2 = Initialize-RoleCriteriaLevel2 -Operation "EQUALS" -Key $RoleCriteriaKey -StringValue "carlee.cert1c9f9b6fd@mailinator.com" -Children $RoleCriteriaLevel3 + +$RoleCriteriaLevel1 = Initialize-RoleCriteriaLevel1 -Operation "EQUALS" -Key $RoleCriteriaKey -StringValue "carlee.cert1c9f9b6fd@mailinator.com" -Children $RoleCriteriaLevel2 + +$RoleMembershipIdentity = Initialize-RoleMembershipIdentity -Type "ACCOUNT_CORRELATION_CONFIG" -Id "2c9180a46faadee4016fb4e018c20639" -Name "Thomas Edison" -AliasName "t.edison" +$RoleMembershipSelector = Initialize-RoleMembershipSelector -Type "STANDARD" -Criteria $RoleCriteriaLevel1 -Identities $RoleMembershipIdentity + +$ApprovalSchemeForRole = Initialize-ApprovalSchemeForRole -ApproverType "OWNER" -ApproverId "46c79819-a69f-49a2-becb-12c971ae66c6" +$RequestabilityForRole = Initialize-RequestabilityForRole -CommentsRequired $true -DenialCommentsRequired $true -ApprovalSchemes $ApprovalSchemeForRole + +$RevocabilityForRole = Initialize-RevocabilityForRole -CommentsRequired $false -DenialCommentsRequired $false -ApprovalSchemes $ApprovalSchemeForRole + +$Role = Initialize-Role -Id "2c918086749d78830174a1a40e121518" -Name "Role 2567" -Created (Get-Date) -Modified (Get-Date) -Description "Urna amet cursus pellentesque nisl orci maximus lorem nisl euismod fusce morbi placerat adipiscing maecenas nisi tristique et metus et lacus sed morbi nunc nisl maximus magna arcu varius sollicitudin elementum enim maecenas nisi id ipsum tempus fusce diam ipsum tortor." -Owner $OwnerReference -AccessProfiles $AccessProfileRef -Entitlements $EntitlementRef -Membership $RoleMembershipSelector -LegacyMembershipInfo @{ key_example = } -Enabled $true -Requestable $true -AccessRequestConfig $RequestabilityForRole -RevocationRequestConfig $RevocabilityForRole -Segments "MySegments" -Dimensional $false -DimensionRefs "MyDimensionRefs" # Role | + +# Create a Role +try { + $Result = New-V2024Role -Role $Role +} catch { + Write-Host ("Exception occurred when calling New-V2024Role: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Role** | [**Role**](Role.md)| | + +### Return type + +[**Role**](Role.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Remove-V2024BulkRoles** +> TaskResultDto Remove-V2024BulkRoles
+>         [-RoleBulkDeleteRequest]
+ +Delete Role(s) + +This endpoint initiates a bulk deletion of one or more roles. When the request is successful, the endpoint returns the bulk delete's task result ID. To follow the task, you can use [Get Task Status by ID](https://developer.sailpoint.com/docs/api/beta/get-task-status), which will return the task result's status and information. This endpoint can only bulk delete up to a limit of 50 roles per request. A token with API, ORG_ADMIN, ROLE_ADMIN, or ROLE_SUBADMIN authority is required to call this endpoint. In addition, a token with ROLE_SUBADMIN authority can only call this endpoint if all roles included in the request are associated with sources with management workgroups the ROLE_SUBADMIN is a member of. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$RoleBulkDeleteRequest = Initialize-RoleBulkDeleteRequest -RoleIds "MyRoleIds" # RoleBulkDeleteRequest | + +# Delete Role(s) +try { + $Result = Remove-V2024BulkRoles -RoleBulkDeleteRequest $RoleBulkDeleteRequest +} catch { + Write-Host ("Exception occurred when calling Remove-V2024BulkRoles: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **RoleBulkDeleteRequest** | [**RoleBulkDeleteRequest**](RoleBulkDeleteRequest.md)| | + +### Return type + +[**TaskResultDto**](TaskResultDto.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Remove-V2024Role** +> void Remove-V2024Role
+>         [-Id]
+ +Delete a Role + +This API deletes a Role by its ID. A token with API, ORG_ADMIN, ROLE_ADMIN, or ROLE_SUBADMIN authority is required to call this API. In addition, a token with ROLE_SUBADMIN authority may only call this API if all Access Profiles included in the Role are associated to Sources with management workgroups of which the ROLE_SUBADMIN is a member. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "2c91808a7813090a017814121e121518" # String | ID of the Role + +# Delete a Role +try { + $Result = Remove-V2024Role -Id $Id +} catch { + Write-Host ("Exception occurred when calling Remove-V2024Role: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| ID of the Role | + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024Role** +> Role Get-V2024Role
+>         [-Id]
+ +Get a Role + +This API returns a Role by its ID. A token with API, ORG_ADMIN, ROLE_ADMIN, or ROLE_SUBADMIN authority is required to call this API. In addition, a token with ROLE_SUBADMIN authority may only call this API if all Access Profiles included in the Role are associated to Sources with management workgroups of which the ROLE_SUBADMIN is a member. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "2c91808a7813090a017814121e121518" # String | ID of the Role + +# Get a Role +try { + $Result = Get-V2024Role -Id $Id +} catch { + Write-Host ("Exception occurred when calling Get-V2024Role: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| ID of the Role | + +### Return type + +[**Role**](Role.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024RoleAssignedIdentities** +> RoleIdentity[] Get-V2024RoleAssignedIdentities
+>         [-Id]
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+>         [-Filters]
+>         [-Sorters]
+ +List Identities assigned a Role + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "2c91808a7813090a017814121e121518" # String | ID of the Role for which the assigned Identities are to be listed +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) +$Filters = "name sw Joe" # 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, in* **aliasName**: *eq, sw* **email**: *eq, sw* **name**: *eq, sw, co* (optional) +$Sorters = "aliasName,name" # String | 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, aliasName, email** (optional) + +# List Identities assigned a Role +try { + $Result = Get-V2024RoleAssignedIdentities -Id $Id -Limit $Limit -Offset $Offset -Count $Count -Filters $Filters -Sorters $Sorters +} catch { + Write-Host ("Exception occurred when calling Get-V2024RoleAssignedIdentities: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| ID of the Role for which the assigned Identities are to be listed | + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **Filters** | **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, in* **aliasName**: *eq, sw* **email**: *eq, sw* **name**: *eq, sw, co* | [optional] + **Sorters** | **String**| 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, aliasName, email** | [optional] + +### Return type + +[**RoleIdentity[]**](RoleIdentity.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024RoleEntitlements** +> Entitlement1[] Get-V2024RoleEntitlements
+>         [-Id]
+>         [-XSailPointExperimental]
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+>         [-Filters]
+>         [-Sorters]
+ +List role's Entitlements + +This API lists the Entitlements associated with a given role. A token with API, ORG_ADMIN, ROLE_ADMIN, or ROLE_SUBADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "2c91808a7813090a017814121919ecca" # String | ID of the containing role +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) +$Filters = "attribute eq "memberOf"" # 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, in* **name**: *eq, sw* **attribute**: *eq, sw* **value**: *eq, sw* **created**: *gt, lt, ge, le* **modified**: *gt, lt, ge, le* **owner.id**: *eq, in* **source.id**: *eq, in* (optional) +$Sorters = "name,-modified" # String | 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: **name, attribute, value, created, modified** (optional) + +# List role's Entitlements +try { + $Result = Get-V2024RoleEntitlements -Id $Id -XSailPointExperimental $XSailPointExperimental -Limit $Limit -Offset $Offset -Count $Count -Filters $Filters -Sorters $Sorters +} catch { + Write-Host ("Exception occurred when calling Get-V2024RoleEntitlements: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| ID of the containing role | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **Filters** | **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, in* **name**: *eq, sw* **attribute**: *eq, sw* **value**: *eq, sw* **created**: *gt, lt, ge, le* **modified**: *gt, lt, ge, le* **owner.id**: *eq, in* **source.id**: *eq, in* | [optional] + **Sorters** | **String**| 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: **name, attribute, value, created, modified** | [optional] + +### Return type + +[**Entitlement1[]**](Entitlement1.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024Roles** +> Role[] Get-V2024Roles
+>         [-ForSubadmin]
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+>         [-Filters]
+>         [-Sorters]
+>         [-ForSegmentIds]
+>         [-IncludeUnsegmented]
+ +List Roles + +This API returns a list of Roles. A token with API, ORG_ADMIN, ROLE_ADMIN, or ROLE_SUBADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$ForSubadmin = "5168015d32f890ca15812c9180835d2e" # String | If provided, filters the returned list according to what is visible to the indicated ROLE_SUBADMIN Identity. The value of the parameter is either an Identity ID, or the special value **me**, which is shorthand for the calling Identity's ID. A 400 Bad Request error is returned if the **for-subadmin** parameter is specified for an Identity that is not a subadmin. (optional) +$Limit = 50 # Int32 | Note that for this API the maximum value for limit is 50. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 50) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) +$Filters = "requestable eq false" # 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, in* **name**: *eq, sw* **created**: *gt, lt, ge, le* **modified**: *gt, lt, ge, le* **owner.id**: *eq, in* **requestable**: *eq* (optional) +$Sorters = "name,-modified" # String | 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: **name, created, modified** (optional) +$ForSegmentIds = "0b5c9f25-83c6-4762-9073-e38f7bb2ae26,2e8d8180-24bc-4d21-91c6-7affdb473b0d" # String | If present and not empty, additionally filters Roles to those which are assigned to the Segment(s) with the specified IDs. If segmentation is currently unavailable, specifying this parameter results in an error. (optional) +$IncludeUnsegmented = $false # Boolean | Whether or not the response list should contain unsegmented Roles. If *for-segment-ids* is absent or empty, specifying *include-unsegmented* as false results in an error. (optional) (default to $true) + +# List Roles +try { + $Result = Get-V2024Roles -ForSubadmin $ForSubadmin -Limit $Limit -Offset $Offset -Count $Count -Filters $Filters -Sorters $Sorters -ForSegmentIds $ForSegmentIds -IncludeUnsegmented $IncludeUnsegmented +} catch { + Write-Host ("Exception occurred when calling Get-V2024Roles: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ForSubadmin** | **String**| If provided, filters the returned list according to what is visible to the indicated ROLE_SUBADMIN Identity. The value of the parameter is either an Identity ID, or the special value **me**, which is shorthand for the calling Identity's ID. A 400 Bad Request error is returned if the **for-subadmin** parameter is specified for an Identity that is not a subadmin. | [optional] + **Limit** | **Int32**| Note that for this API the maximum value for limit is 50. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 50] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **Filters** | **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, in* **name**: *eq, sw* **created**: *gt, lt, ge, le* **modified**: *gt, lt, ge, le* **owner.id**: *eq, in* **requestable**: *eq* | [optional] + **Sorters** | **String**| 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: **name, created, modified** | [optional] + **ForSegmentIds** | **String**| If present and not empty, additionally filters Roles to those which are assigned to the Segment(s) with the specified IDs. If segmentation is currently unavailable, specifying this parameter results in an error. | [optional] + **IncludeUnsegmented** | **Boolean**| Whether or not the response list should contain unsegmented Roles. If *for-segment-ids* is absent or empty, specifying *include-unsegmented* as false results in an error. | [optional] [default to $true] + +### Return type + +[**Role[]**](Role.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Update-V2024Role** +> Role Update-V2024Role
+>         [-Id]
+>         [-JsonPatchOperation]
+ +Patch a specified Role + +This API updates an existing role using [JSON Patch](https://tools.ietf.org/html/rfc6902) syntax. The following fields are patchable: * name * description * enabled * owner * accessProfiles * membership * requestable * accessRequestConfig * revokeRequestConfig * segments A token with API, ORG_ADMIN, ROLE_ADMIN, or ROLE_SUBADMIN authority is required to call this API. In addition, a token with ROLE_SUBADMIN authority may only call this API if all access profiles included in the role are associated to Sources with management workgroups of which the ROLE_SUBADMIN is a member. The maximum supported length for the description field is 2000 characters. Longer descriptions will be preserved for existing roles, however, any new roles as well as any updates to existing descriptions will be limited to 2000 characters. When you use this API to modify a role's membership identities, you can only modify up to a limit of 500 membership identities at a time. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "2c91808a7813090a017814121e121518" # String | ID of the Role to patch +$JsonPatchOperationValue = Initialize-JsonPatchOperationValue +$JsonPatchOperation = Initialize-JsonPatchOperation -Op "add" -Path "/description" -Value $JsonPatchOperationValue # JsonPatchOperation[] | + +# Patch a specified Role +try { + $Result = Update-V2024Role -Id $Id -JsonPatchOperation $JsonPatchOperation +} catch { + Write-Host ("Exception occurred when calling Update-V2024Role: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| ID of the Role to patch | + **JsonPatchOperation** | [**JsonPatchOperation[]**](JsonPatchOperation.md)| | + +### Return type + +[**Role**](Role.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024SIMIntegrationsApi.md b/PSSailpoint/v2024/docs/V2024SIMIntegrationsApi.md new file mode 100644 index 000000000..7eada1ba7 --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024SIMIntegrationsApi.md @@ -0,0 +1,407 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024SIMIntegrationsApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**New-V2024SIMIntegration**](V2024SIMIntegrationsApi.md#New-V2024SIMIntegration) | **POST** /sim-integrations | Create new SIM integration +[**Remove-V2024SIMIntegration**](V2024SIMIntegrationsApi.md#Remove-V2024SIMIntegration) | **DELETE** /sim-integrations/{id} | Delete a SIM integration +[**Get-V2024SIMIntegration**](V2024SIMIntegrationsApi.md#Get-V2024SIMIntegration) | **GET** /sim-integrations/{id} | Get a SIM integration details. +[**Get-V2024SIMIntegrations**](V2024SIMIntegrationsApi.md#Get-V2024SIMIntegrations) | **GET** /sim-integrations | List the existing SIM integrations. +[**Update-V2024BeforeProvisioningRule**](V2024SIMIntegrationsApi.md#Update-V2024BeforeProvisioningRule) | **PATCH** /sim-integrations/{id}/beforeProvisioningRule | Patch a SIM beforeProvisioningRule attribute. +[**Update-V2024SIMAttributes**](V2024SIMIntegrationsApi.md#Update-V2024SIMAttributes) | **PATCH** /sim-integrations/{id} | Patch a SIM attribute. +[**Send-V2024SIMIntegration**](V2024SIMIntegrationsApi.md#Send-V2024SIMIntegration) | **PUT** /sim-integrations/{id} | Update an existing SIM integration + + + +# **New-V2024SIMIntegration** +> ServiceDeskIntegrationDto1 New-V2024SIMIntegration
+>         [-XSailPointExperimental]
+>         [-SimIntegrationDetails]
+ +Create new SIM integration + +Create a new SIM Integrations. A token with Org Admin or Service Desk Admin authority is required to access this endpoint. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$SimIntegrationDetailsAllOfBeforeProvisioningRule = Initialize-SimIntegrationDetailsAllOfBeforeProvisioningRule -Type "ACCOUNT_CORRELATION_CONFIG" -Id "2c918085708c274401708c2a8a760001" -Name "Example Rule" +$SimIntegrationDetails = Initialize-SimIntegrationDetails -Id "id12345" -Name "aName" -Created (Get-Date) -Modified (Get-Date) -Description "Integration description" -Type "ServiceNow Service Desk" -Attributes -Sources "MySources" -Cluster "xyzzy999" -StatusMap -Request -BeforeProvisioningRule $SimIntegrationDetailsAllOfBeforeProvisioningRule # SimIntegrationDetails | DTO containing the details of the SIM integration + +# Create new SIM integration +try { + $Result = New-V2024SIMIntegration -XSailPointExperimental $XSailPointExperimental -SimIntegrationDetails $SimIntegrationDetails +} catch { + Write-Host ("Exception occurred when calling New-V2024SIMIntegration: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **SimIntegrationDetails** | [**SimIntegrationDetails**](SimIntegrationDetails.md)| DTO containing the details of the SIM integration | + +### Return type + +[**ServiceDeskIntegrationDto1**](ServiceDeskIntegrationDto1.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Remove-V2024SIMIntegration** +> void Remove-V2024SIMIntegration
+>         [-Id]
+>         [-XSailPointExperimental]
+ +Delete a SIM integration + +Get the details of a SIM integration. A token with Org Admin or Service Desk Admin authority is required to access this endpoint. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "12345" # String | The id of the integration to delete. +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Delete a SIM integration +try { + $Result = Remove-V2024SIMIntegration -Id $Id -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Remove-V2024SIMIntegration: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The id of the integration to delete. | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024SIMIntegration** +> ServiceDeskIntegrationDto1 Get-V2024SIMIntegration
+>         [-Id]
+>         [-XSailPointExperimental]
+ +Get a SIM integration details. + +Get the details of a SIM integration. A token with Org Admin or Service Desk Admin authority is required to access this endpoint. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "12345" # String | The id of the integration. +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Get a SIM integration details. +try { + $Result = Get-V2024SIMIntegration -Id $Id -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Get-V2024SIMIntegration: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The id of the integration. | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**ServiceDeskIntegrationDto1**](ServiceDeskIntegrationDto1.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024SIMIntegrations** +> ServiceDeskIntegrationDto1 Get-V2024SIMIntegrations
+>         [-XSailPointExperimental]
+ +List the existing SIM integrations. + +List the existing SIM integrations. A token with Org Admin or Service Desk Admin authority is required to access this endpoint. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# List the existing SIM integrations. +try { + $Result = Get-V2024SIMIntegrations -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Get-V2024SIMIntegrations: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**ServiceDeskIntegrationDto1**](ServiceDeskIntegrationDto1.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Update-V2024BeforeProvisioningRule** +> ServiceDeskIntegrationDto1 Update-V2024BeforeProvisioningRule
+>         [-Id]
+>         [-XSailPointExperimental]
+>         [-JsonPatch]
+ +Patch a SIM beforeProvisioningRule attribute. + +Patch a SIM beforeProvisioningRule attribute given a JsonPatch object. A token with Org Admin or Service Desk Admin authority is required to access this endpoint. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "12345" # String | SIM integration id +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$JsonPatchOperationValue = Initialize-JsonPatchOperationValue +$JsonPatchOperation = Initialize-JsonPatchOperation -Op "add" -Path "/description" -Value $JsonPatchOperationValue + +$JsonPatch = Initialize-JsonPatch -Operations $JsonPatchOperation # JsonPatch | The JsonPatch object that describes the changes of SIM beforeProvisioningRule. + +# Patch a SIM beforeProvisioningRule attribute. +try { + $Result = Update-V2024BeforeProvisioningRule -Id $Id -XSailPointExperimental $XSailPointExperimental -JsonPatch $JsonPatch +} catch { + Write-Host ("Exception occurred when calling Update-V2024BeforeProvisioningRule: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| SIM integration id | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **JsonPatch** | [**JsonPatch**](JsonPatch.md)| The JsonPatch object that describes the changes of SIM beforeProvisioningRule. | + +### Return type + +[**ServiceDeskIntegrationDto1**](ServiceDeskIntegrationDto1.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Update-V2024SIMAttributes** +> ServiceDeskIntegrationDto1 Update-V2024SIMAttributes
+>         [-Id]
+>         [-XSailPointExperimental]
+>         [-JsonPatch]
+ +Patch a SIM attribute. + +Patch a SIM attribute given a JsonPatch object. A token with Org Admin or Service Desk Admin authority is required to access this endpoint. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "12345" # String | SIM integration id +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$JsonPatchOperationValue = Initialize-JsonPatchOperationValue +$JsonPatchOperation = Initialize-JsonPatchOperation -Op "add" -Path "/description" -Value $JsonPatchOperationValue + +$JsonPatch = Initialize-JsonPatch -Operations $JsonPatchOperation # JsonPatch | The JsonPatch object that describes the changes of SIM + +# Patch a SIM attribute. +try { + $Result = Update-V2024SIMAttributes -Id $Id -XSailPointExperimental $XSailPointExperimental -JsonPatch $JsonPatch +} catch { + Write-Host ("Exception occurred when calling Update-V2024SIMAttributes: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| SIM integration id | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **JsonPatch** | [**JsonPatch**](JsonPatch.md)| The JsonPatch object that describes the changes of SIM | + +### Return type + +[**ServiceDeskIntegrationDto1**](ServiceDeskIntegrationDto1.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Send-V2024SIMIntegration** +> ServiceDeskIntegrationDto1 Send-V2024SIMIntegration
+>         [-Id]
+>         [-XSailPointExperimental]
+>         [-SimIntegrationDetails]
+ +Update an existing SIM integration + +Update an existing SIM integration. A token with Org Admin or Service Desk Admin authority is required to access this endpoint. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "12345" # String | The id of the integration. +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$SimIntegrationDetailsAllOfBeforeProvisioningRule = Initialize-SimIntegrationDetailsAllOfBeforeProvisioningRule -Type "ACCOUNT_CORRELATION_CONFIG" -Id "2c918085708c274401708c2a8a760001" -Name "Example Rule" +$SimIntegrationDetails = Initialize-SimIntegrationDetails -Id "id12345" -Name "aName" -Created (Get-Date) -Modified (Get-Date) -Description "Integration description" -Type "ServiceNow Service Desk" -Attributes -Sources "MySources" -Cluster "xyzzy999" -StatusMap -Request -BeforeProvisioningRule $SimIntegrationDetailsAllOfBeforeProvisioningRule # SimIntegrationDetails | The full DTO of the integration containing the updated model + +# Update an existing SIM integration +try { + $Result = Send-V2024SIMIntegration -Id $Id -XSailPointExperimental $XSailPointExperimental -SimIntegrationDetails $SimIntegrationDetails +} catch { + Write-Host ("Exception occurred when calling Send-V2024SIMIntegration: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The id of the integration. | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **SimIntegrationDetails** | [**SimIntegrationDetails**](SimIntegrationDetails.md)| The full DTO of the integration containing the updated model | + +### Return type + +[**ServiceDeskIntegrationDto1**](ServiceDeskIntegrationDto1.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024SODPoliciesApi.md b/PSSailpoint/v2024/docs/V2024SODPoliciesApi.md new file mode 100644 index 000000000..5893e2d75 --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024SODPoliciesApi.md @@ -0,0 +1,941 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024SODPoliciesApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**New-V2024SodPolicy**](V2024SODPoliciesApi.md#New-V2024SodPolicy) | **POST** /sod-policies | Create SOD policy +[**Remove-V2024SodPolicy**](V2024SODPoliciesApi.md#Remove-V2024SodPolicy) | **DELETE** /sod-policies/{id} | Delete SOD policy by ID +[**Remove-V2024SodPolicySchedule**](V2024SODPoliciesApi.md#Remove-V2024SodPolicySchedule) | **DELETE** /sod-policies/{id}/schedule | Delete SOD policy schedule +[**Get-V2024CustomViolationReport**](V2024SODPoliciesApi.md#Get-V2024CustomViolationReport) | **GET** /sod-violation-report/{reportResultId}/download/{fileName} | Download custom violation report +[**Get-V2024DefaultViolationReport**](V2024SODPoliciesApi.md#Get-V2024DefaultViolationReport) | **GET** /sod-violation-report/{reportResultId}/download | Download violation report +[**Get-V2024SodAllReportRunStatus**](V2024SODPoliciesApi.md#Get-V2024SodAllReportRunStatus) | **GET** /sod-violation-report | Get multi-report run task status +[**Get-V2024SodPolicy**](V2024SODPoliciesApi.md#Get-V2024SodPolicy) | **GET** /sod-policies/{id} | Get SOD policy by ID +[**Get-V2024SodPolicySchedule**](V2024SODPoliciesApi.md#Get-V2024SodPolicySchedule) | **GET** /sod-policies/{id}/schedule | Get SOD policy schedule +[**Get-V2024SodViolationReportRunStatus**](V2024SODPoliciesApi.md#Get-V2024SodViolationReportRunStatus) | **GET** /sod-policies/sod-violation-report-status/{reportResultId} | Get violation report run status +[**Get-V2024SodViolationReportStatus**](V2024SODPoliciesApi.md#Get-V2024SodViolationReportStatus) | **GET** /sod-policies/{id}/violation-report | Get SOD violation report status +[**Get-V2024SodPolicies**](V2024SODPoliciesApi.md#Get-V2024SodPolicies) | **GET** /sod-policies | List SOD policies +[**Update-V2024SodPolicy**](V2024SODPoliciesApi.md#Update-V2024SodPolicy) | **PATCH** /sod-policies/{id} | Patch SOD policy by ID +[**Send-V2024PolicySchedule**](V2024SODPoliciesApi.md#Send-V2024PolicySchedule) | **PUT** /sod-policies/{id}/schedule | Update SOD Policy schedule +[**Send-V2024SodPolicy**](V2024SODPoliciesApi.md#Send-V2024SodPolicy) | **PUT** /sod-policies/{id} | Update SOD policy by ID +[**Start-V2024EvaluateSodPolicy**](V2024SODPoliciesApi.md#Start-V2024EvaluateSodPolicy) | **POST** /sod-policies/{id}/evaluate | Evaluate one policy by ID +[**Start-V2024SodAllPoliciesForOrg**](V2024SODPoliciesApi.md#Start-V2024SodAllPoliciesForOrg) | **POST** /sod-violation-report/run | Runs all policies for org +[**Start-V2024SodPolicy**](V2024SODPoliciesApi.md#Start-V2024SodPolicy) | **POST** /sod-policies/{id}/violation-report/run | Runs SOD policy violation report + + + +# **New-V2024SodPolicy** +> SodPolicy New-V2024SodPolicy
+>         [-SodPolicy]
+ +Create SOD policy + +This creates both General and Conflicting Access Based policy, with a limit of 50 entitlements for each (left & right) criteria for Conflicting Access Based SOD policy. Requires role of ORG_ADMIN. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$SodPolicyOwnerRef = Initialize-SodPolicyOwnerRef -Type "IDENTITY" -Id "2c9180a46faadee4016fb4e018c20639" -Name "Support" + +$ViolationOwnerAssignmentConfigOwnerRef = Initialize-ViolationOwnerAssignmentConfigOwnerRef -Type "IDENTITY" -Id "2c9180a46faadee4016fb4e018c20639" -Name "Support" +$ViolationOwnerAssignmentConfig = Initialize-ViolationOwnerAssignmentConfig -AssignmentRule "MANAGER" -OwnerRef $ViolationOwnerAssignmentConfigOwnerRef + +$AccessCriteriaCriteriaListInner = Initialize-AccessCriteriaCriteriaListInner -Type "ENTITLEMENT" -Id "2c91808568c529c60168cca6f90c1313" -Name "Administrator" +$AccessCriteria = Initialize-AccessCriteria -Name "money-in" -CriteriaList $AccessCriteriaCriteriaListInner + +$SodPolicyConflictingAccessCriteria = Initialize-SodPolicyConflictingAccessCriteria -LeftCriteria $AccessCriteria -RightCriteria $AccessCriteria + +$SodPolicy = Initialize-SodPolicy -Id "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde" -Name "policy-xyz" -Created (Get-Date) -Modified (Get-Date) -Description "This policy ensures compliance of xyz" -OwnerRef $SodPolicyOwnerRef -ExternalPolicyReference "XYZ policy" -PolicyQuery "@access(id:0f11f2a4-7c94-4bf3-a2bd-742580fe3bdg) AND @access(id:0f11f2a4-7c94-4bf3-a2bd-742580fe3bdf)" -CompensatingControls "Have a manager review the transaction decisions for their "out of compliance" employee" -CorrectionAdvice "Based on the role of the employee, managers should remove access that is not required for their job function." -State "ENFORCED" -Tags "MyTags" -CreatorId "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde" -ModifierId "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde" -ViolationOwnerAssignmentConfig $ViolationOwnerAssignmentConfig -Scheduled $true -Type "GENERAL" -ConflictingAccessCriteria $SodPolicyConflictingAccessCriteria # SodPolicy | + +# Create SOD policy +try { + $Result = New-V2024SodPolicy -SodPolicy $SodPolicy +} catch { + Write-Host ("Exception occurred when calling New-V2024SodPolicy: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **SodPolicy** | [**SodPolicy**](SodPolicy.md)| | + +### Return type + +[**SodPolicy**](SodPolicy.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Remove-V2024SodPolicy** +> void Remove-V2024SodPolicy
+>         [-Id]
+>         [-Logical]
+ +Delete SOD policy by ID + +This deletes a specified SOD policy. Requires role of ORG_ADMIN. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f943-47e9-4562-b5bb-8424a56397d8" # String | The ID of the SOD Policy to delete. +$Logical = $true # Boolean | Indicates whether this is a soft delete (logical true) or a hard delete. Soft delete marks the policy as deleted and just save it with this status. It could be fully deleted or recovered further. Hard delete vise versa permanently delete SOD request during this call. (optional) (default to $true) + +# Delete SOD policy by ID +try { + $Result = Remove-V2024SodPolicy -Id $Id -Logical $Logical +} catch { + Write-Host ("Exception occurred when calling Remove-V2024SodPolicy: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The ID of the SOD Policy to delete. | + **Logical** | **Boolean**| Indicates whether this is a soft delete (logical true) or a hard delete. Soft delete marks the policy as deleted and just save it with this status. It could be fully deleted or recovered further. Hard delete vise versa permanently delete SOD request during this call. | [optional] [default to $true] + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Remove-V2024SodPolicySchedule** +> void Remove-V2024SodPolicySchedule
+>         [-Id]
+ +Delete SOD policy schedule + +This deletes schedule for a specified SOD policy by ID. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f943-47e9-4562-b5bb-8424a56397d8" # String | The ID of the SOD policy the schedule must be deleted for. + +# Delete SOD policy schedule +try { + $Result = Remove-V2024SodPolicySchedule -Id $Id +} catch { + Write-Host ("Exception occurred when calling Remove-V2024SodPolicySchedule: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The ID of the SOD policy the schedule must be deleted for. | + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024CustomViolationReport** +> System.IO.FileInfo Get-V2024CustomViolationReport
+>         [-ReportResultId]
+>         [-FileName]
+ +Download custom violation report + +This allows to download a specified named violation report for a given report reference. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$ReportResultId = "ef38f94347e94562b5bb8424a56397d8" # String | The ID of the report reference to download. +$FileName = "custom-name" # String | Custom Name for the file. + +# Download custom violation report +try { + $Result = Get-V2024CustomViolationReport -ReportResultId $ReportResultId -FileName $FileName +} catch { + Write-Host ("Exception occurred when calling Get-V2024CustomViolationReport: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ReportResultId** | **String**| The ID of the report reference to download. | + **FileName** | **String**| Custom Name for the file. | + +### Return type + +**System.IO.FileInfo** + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/zip, application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024DefaultViolationReport** +> System.IO.FileInfo Get-V2024DefaultViolationReport
+>         [-ReportResultId]
+ +Download violation report + +This allows to download a violation report for a given report reference. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$ReportResultId = "ef38f94347e94562b5bb8424a56397d8" # String | The ID of the report reference to download. + +# Download violation report +try { + $Result = Get-V2024DefaultViolationReport -ReportResultId $ReportResultId +} catch { + Write-Host ("Exception occurred when calling Get-V2024DefaultViolationReport: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ReportResultId** | **String**| The ID of the report reference to download. | + +### Return type + +**System.IO.FileInfo** + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/zip, application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024SodAllReportRunStatus** +> ReportResultReference Get-V2024SodAllReportRunStatus
+ +Get multi-report run task status + +This endpoint gets the status for a violation report for all policy run. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + + +# Get multi-report run task status +try { + $Result = Get-V2024SodAllReportRunStatus +} catch { + Write-Host ("Exception occurred when calling Get-V2024SodAllReportRunStatus: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**ReportResultReference**](ReportResultReference.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024SodPolicy** +> SodPolicy Get-V2024SodPolicy
+>         [-Id]
+ +Get SOD policy by ID + +This gets specified SOD policy. Requires role of ORG_ADMIN. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f943-47e9-4562-b5bb-8424a56397d8" # String | The ID of the SOD Policy to retrieve. + +# Get SOD policy by ID +try { + $Result = Get-V2024SodPolicy -Id $Id +} catch { + Write-Host ("Exception occurred when calling Get-V2024SodPolicy: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The ID of the SOD Policy to retrieve. | + +### Return type + +[**SodPolicy**](SodPolicy.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024SodPolicySchedule** +> SodPolicySchedule Get-V2024SodPolicySchedule
+>         [-Id]
+ +Get SOD policy schedule + +This endpoint gets a specified SOD policy's schedule. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f943-47e9-4562-b5bb-8424a56397d8" # String | The ID of the SOD policy schedule to retrieve. + +# Get SOD policy schedule +try { + $Result = Get-V2024SodPolicySchedule -Id $Id +} catch { + Write-Host ("Exception occurred when calling Get-V2024SodPolicySchedule: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The ID of the SOD policy schedule to retrieve. | + +### Return type + +[**SodPolicySchedule**](SodPolicySchedule.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024SodViolationReportRunStatus** +> ReportResultReference Get-V2024SodViolationReportRunStatus
+>         [-ReportResultId]
+ +Get violation report run status + +This gets the status for a violation report run task that has already been invoked. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$ReportResultId = "2e8d8180-24bc-4d21-91c6-7affdb473b0d" # String | The ID of the report reference to retrieve. + +# Get violation report run status +try { + $Result = Get-V2024SodViolationReportRunStatus -ReportResultId $ReportResultId +} catch { + Write-Host ("Exception occurred when calling Get-V2024SodViolationReportRunStatus: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ReportResultId** | **String**| The ID of the report reference to retrieve. | + +### Return type + +[**ReportResultReference**](ReportResultReference.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024SodViolationReportStatus** +> ReportResultReference Get-V2024SodViolationReportStatus
+>         [-Id]
+ +Get SOD violation report status + +This gets the status for a violation report run task that has already been invoked. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f943-47e9-4562-b5bb-8424a56397d8" # String | The ID of the violation report to retrieve status for. + +# Get SOD violation report status +try { + $Result = Get-V2024SodViolationReportStatus -Id $Id +} catch { + Write-Host ("Exception occurred when calling Get-V2024SodViolationReportStatus: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The ID of the violation report to retrieve status for. | + +### Return type + +[**ReportResultReference**](ReportResultReference.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024SodPolicies** +> SodPolicy[] Get-V2024SodPolicies
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+>         [-Filters]
+>         [-Sorters]
+ +List SOD policies + +This gets list of all SOD policies. Requires role of ORG_ADMIN + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) +$Filters = "id eq "bc693f07e7b645539626c25954c58554"" # 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, in* **name**: *eq, in* **state**: *eq, in* (optional) +$Sorters = "id,name" # String | 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, created, modified, description** (optional) + +# List SOD policies +try { + $Result = Get-V2024SodPolicies -Limit $Limit -Offset $Offset -Count $Count -Filters $Filters -Sorters $Sorters +} catch { + Write-Host ("Exception occurred when calling Get-V2024SodPolicies: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **Filters** | **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, in* **name**: *eq, in* **state**: *eq, in* | [optional] + **Sorters** | **String**| 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, created, modified, description** | [optional] + +### Return type + +[**SodPolicy[]**](SodPolicy.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Update-V2024SodPolicy** +> SodPolicy Update-V2024SodPolicy
+>         [-Id]
+>         [-JsonPatchOperation]
+ +Patch SOD policy by ID + +Allows updating SOD Policy fields other than [""id"",""created"",""creatorId"",""policyQuery"",""type""] using the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. Requires role of ORG_ADMIN. This endpoint can only patch CONFLICTING_ACCESS_BASED type policies. Do not use this endpoint to patch general policies - doing so will build an API exception. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "2c918083-5d19-1a86-015d-28455b4a2329" # String | The ID of the SOD policy being modified. +$JsonPatchOperationValue = Initialize-JsonPatchOperationValue +$JsonPatchOperation = Initialize-JsonPatchOperation -Op "add" -Path "/description" -Value $JsonPatchOperationValue # JsonPatchOperation[] | A list of SOD Policy update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. The following fields are patchable: * name * description * ownerRef * externalPolicyReference * compensatingControls * correctionAdvice * state * tags * violationOwnerAssignmentConfig * scheduled * conflictingAccessCriteria + +# Patch SOD policy by ID +try { + $Result = Update-V2024SodPolicy -Id $Id -JsonPatchOperation $JsonPatchOperation +} catch { + Write-Host ("Exception occurred when calling Update-V2024SodPolicy: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The ID of the SOD policy being modified. | + **JsonPatchOperation** | [**JsonPatchOperation[]**](JsonPatchOperation.md)| A list of SOD Policy update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. The following fields are patchable: * name * description * ownerRef * externalPolicyReference * compensatingControls * correctionAdvice * state * tags * violationOwnerAssignmentConfig * scheduled * conflictingAccessCriteria | + +### Return type + +[**SodPolicy**](SodPolicy.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Send-V2024PolicySchedule** +> SodPolicySchedule Send-V2024PolicySchedule
+>         [-Id]
+>         [-SodPolicySchedule]
+ +Update SOD Policy schedule + +This updates schedule for a specified SOD policy. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f943-47e9-4562-b5bb-8424a56397d8" # String | The ID of the SOD policy to update its schedule. +$Schedule1Months = Initialize-Schedule1Months -Type "LIST" -Values "MyValues" -Interval 3 +$Schedule1Days = Initialize-Schedule1Days -Type "LIST" -Values "MyValues" -Interval 3 +$Schedule1Hours = Initialize-Schedule1Hours -Type "LIST" -Values "MyValues" -Interval 3 +$Schedule1 = Initialize-Schedule1 -Type "DAILY" -Months $Schedule1Months -Days $Schedule1Days -Hours $Schedule1Hours -Expiration (Get-Date) -TimeZoneId "America/Chicago" + +$SodRecipient = Initialize-SodRecipient -Type "IDENTITY" -Id "2c7180a46faadee4016fb4e018c20642" -Name "Michael Michaels" +$SodPolicySchedule = Initialize-SodPolicySchedule -Name "SCH-1584312283015" -Created (Get-Date) -Modified (Get-Date) -Description "Schedule for policy xyz" -Schedule $Schedule1 -Recipients $SodRecipient -EmailEmptyResults $false -CreatorId "0f11f2a47c944bf3a2bd742580fe3bde" -ModifierId "0f11f2a47c944bf3a2bd742580fe3bde" # SodPolicySchedule | + +# Update SOD Policy schedule +try { + $Result = Send-V2024PolicySchedule -Id $Id -SodPolicySchedule $SodPolicySchedule +} catch { + Write-Host ("Exception occurred when calling Send-V2024PolicySchedule: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The ID of the SOD policy to update its schedule. | + **SodPolicySchedule** | [**SodPolicySchedule**](SodPolicySchedule.md)| | + +### Return type + +[**SodPolicySchedule**](SodPolicySchedule.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Send-V2024SodPolicy** +> SodPolicy Send-V2024SodPolicy
+>         [-Id]
+>         [-SodPolicy]
+ +Update SOD policy by ID + +This updates a specified SOD policy. Requires role of ORG_ADMIN. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f943-47e9-4562-b5bb-8424a56397d8" # String | The ID of the SOD policy to update. +$SodPolicyOwnerRef = Initialize-SodPolicyOwnerRef -Type "IDENTITY" -Id "2c9180a46faadee4016fb4e018c20639" -Name "Support" + +$ViolationOwnerAssignmentConfigOwnerRef = Initialize-ViolationOwnerAssignmentConfigOwnerRef -Type "IDENTITY" -Id "2c9180a46faadee4016fb4e018c20639" -Name "Support" +$ViolationOwnerAssignmentConfig = Initialize-ViolationOwnerAssignmentConfig -AssignmentRule "MANAGER" -OwnerRef $ViolationOwnerAssignmentConfigOwnerRef + +$AccessCriteriaCriteriaListInner = Initialize-AccessCriteriaCriteriaListInner -Type "ENTITLEMENT" -Id "2c91808568c529c60168cca6f90c1313" -Name "Administrator" +$AccessCriteria = Initialize-AccessCriteria -Name "money-in" -CriteriaList $AccessCriteriaCriteriaListInner + +$SodPolicyConflictingAccessCriteria = Initialize-SodPolicyConflictingAccessCriteria -LeftCriteria $AccessCriteria -RightCriteria $AccessCriteria + +$SodPolicy = Initialize-SodPolicy -Id "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde" -Name "policy-xyz" -Created (Get-Date) -Modified (Get-Date) -Description "This policy ensures compliance of xyz" -OwnerRef $SodPolicyOwnerRef -ExternalPolicyReference "XYZ policy" -PolicyQuery "@access(id:0f11f2a4-7c94-4bf3-a2bd-742580fe3bdg) AND @access(id:0f11f2a4-7c94-4bf3-a2bd-742580fe3bdf)" -CompensatingControls "Have a manager review the transaction decisions for their "out of compliance" employee" -CorrectionAdvice "Based on the role of the employee, managers should remove access that is not required for their job function." -State "ENFORCED" -Tags "MyTags" -CreatorId "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde" -ModifierId "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde" -ViolationOwnerAssignmentConfig $ViolationOwnerAssignmentConfig -Scheduled $true -Type "GENERAL" -ConflictingAccessCriteria $SodPolicyConflictingAccessCriteria # SodPolicy | + +# Update SOD policy by ID +try { + $Result = Send-V2024SodPolicy -Id $Id -SodPolicy $SodPolicy +} catch { + Write-Host ("Exception occurred when calling Send-V2024SodPolicy: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The ID of the SOD policy to update. | + **SodPolicy** | [**SodPolicy**](SodPolicy.md)| | + +### Return type + +[**SodPolicy**](SodPolicy.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Start-V2024EvaluateSodPolicy** +> ReportResultReference Start-V2024EvaluateSodPolicy
+>         [-Id]
+ +Evaluate one policy by ID + +Runs the scheduled report for the policy retrieved by passed policy ID. The report schedule is fetched from the policy retrieved by ID. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f943-47e9-4562-b5bb-8424a56397d8" # String | The SOD policy ID to run. + +# Evaluate one policy by ID +try { + $Result = Start-V2024EvaluateSodPolicy -Id $Id +} catch { + Write-Host ("Exception occurred when calling Start-V2024EvaluateSodPolicy: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The SOD policy ID to run. | + +### Return type + +[**ReportResultReference**](ReportResultReference.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Start-V2024SodAllPoliciesForOrg** +> ReportResultReference Start-V2024SodAllPoliciesForOrg
+>         [-MultiPolicyRequest]
+ +Runs all policies for org + +Runs multi-policy report for the org. If a policy reports more than 5000 violations, the report mentions that the violation limit was exceeded for that policy. If the request is empty, the report runs for all policies. Otherwise, the report runs for only the filtered policy list provided. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$MultiPolicyRequest = Initialize-MultiPolicyRequest -FilteredPolicyList "[b868cd40-ffa4-4337-9c07-1a51846cfa94, 63a07a7b-39a4-48aa-956d-50c827deba2a]" # MultiPolicyRequest | (optional) + +# Runs all policies for org +try { + $Result = Start-V2024SodAllPoliciesForOrg -MultiPolicyRequest $MultiPolicyRequest +} catch { + Write-Host ("Exception occurred when calling Start-V2024SodAllPoliciesForOrg: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **MultiPolicyRequest** | [**MultiPolicyRequest**](MultiPolicyRequest.md)| | [optional] + +### Return type + +[**ReportResultReference**](ReportResultReference.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Start-V2024SodPolicy** +> ReportResultReference Start-V2024SodPolicy
+>         [-Id]
+ +Runs SOD policy violation report + +This invokes processing of violation report for given SOD policy. If the policy reports more than 5000 violations, the report returns with violation limit exceeded message. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f943-47e9-4562-b5bb-8424a56397d8" # String | The SOD policy ID to run. + +# Runs SOD policy violation report +try { + $Result = Start-V2024SodPolicy -Id $Id +} catch { + Write-Host ("Exception occurred when calling Start-V2024SodPolicy: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The SOD policy ID to run. | + +### Return type + +[**ReportResultReference**](ReportResultReference.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024SODViolationsApi.md b/PSSailpoint/v2024/docs/V2024SODViolationsApi.md new file mode 100644 index 000000000..020482a68 --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024SODViolationsApi.md @@ -0,0 +1,114 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024SODViolationsApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**Start-V2024PredictSodViolations**](V2024SODViolationsApi.md#Start-V2024PredictSodViolations) | **POST** /sod-violations/predict | Predict SOD violations for identity. +[**Start-V2024ViolationCheck**](V2024SODViolationsApi.md#Start-V2024ViolationCheck) | **POST** /sod-violations/check | Check SOD violations + + + +# **Start-V2024PredictSodViolations** +> ViolationPrediction Start-V2024PredictSodViolations
+>         [-IdentityWithNewAccess]
+ +Predict SOD violations for identity. + +This API is used to check if granting some additional accesses would cause the subject to be in violation of any SOD policies. Returns the violations that would be caused. A token with ORG_ADMIN or API authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$IdentityWithNewAccessAccessRefsInner = Initialize-IdentityWithNewAccessAccessRefsInner -Type "ENTITLEMENT" -Id "2c91809773dee32014e13e122092014e" -Name "CN=entitlement.490efde5,OU=OrgCo,OU=ServiceDept,DC=HQAD,DC=local" +$IdentityWithNewAccess = Initialize-IdentityWithNewAccess -IdentityId "2c91808568c529c60168cca6f90c1313" -AccessRefs $IdentityWithNewAccessAccessRefsInner # IdentityWithNewAccess | + +# Predict SOD violations for identity. +try { + $Result = Start-V2024PredictSodViolations -IdentityWithNewAccess $IdentityWithNewAccess +} catch { + Write-Host ("Exception occurred when calling Start-V2024PredictSodViolations: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **IdentityWithNewAccess** | [**IdentityWithNewAccess**](IdentityWithNewAccess.md)| | + +### Return type + +[**ViolationPrediction**](ViolationPrediction.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Start-V2024ViolationCheck** +> SodViolationCheck Start-V2024ViolationCheck
+>         [-IdentityWithNewAccess1]
+ +Check SOD violations + +This API initiates a SOD policy verification asynchronously. A token with ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$EntitlementRef1 = Initialize-EntitlementRef1 -Type "ENTITLEMENT" -Id "2c91809773dee32014e13e122092014e" -Name "CN=entitlement.490efde5,OU=OrgCo,OU=ServiceDept,DC=HQAD,DC=local" +$IdentityWithNewAccess1 = Initialize-IdentityWithNewAccess1 -IdentityId "2c91809050db617d0150e0bf3215385e" -AccessRefs $EntitlementRef1 -ClientMetadata @{ key_example = "MyInner" } # IdentityWithNewAccess1 | + +# Check SOD violations +try { + $Result = Start-V2024ViolationCheck -IdentityWithNewAccess1 $IdentityWithNewAccess1 +} catch { + Write-Host ("Exception occurred when calling Start-V2024ViolationCheck: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **IdentityWithNewAccess1** | [**IdentityWithNewAccess1**](IdentityWithNewAccess1.md)| | + +### Return type + +[**SodViolationCheck**](SodViolationCheck.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024SPConfigApi.md b/PSSailpoint/v2024/docs/V2024SPConfigApi.md new file mode 100644 index 000000000..15d313582 --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024SPConfigApi.md @@ -0,0 +1,402 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024SPConfigApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**Export-V2024SpConfig**](V2024SPConfigApi.md#Export-V2024SpConfig) | **POST** /sp-config/export | Initiates configuration objects export job +[**Get-V2024SpConfigExport**](V2024SPConfigApi.md#Get-V2024SpConfigExport) | **GET** /sp-config/export/{id}/download | Download export job result. +[**Get-V2024SpConfigExportStatus**](V2024SPConfigApi.md#Get-V2024SpConfigExportStatus) | **GET** /sp-config/export/{id} | Get export job status +[**Get-V2024SpConfigImport**](V2024SPConfigApi.md#Get-V2024SpConfigImport) | **GET** /sp-config/import/{id}/download | Download import job result +[**Get-V2024SpConfigImportStatus**](V2024SPConfigApi.md#Get-V2024SpConfigImportStatus) | **GET** /sp-config/import/{id} | Get import job status +[**Import-V2024SpConfig**](V2024SPConfigApi.md#Import-V2024SpConfig) | **POST** /sp-config/import | Initiates configuration objects import job +[**Get-V2024SpConfigObjects**](V2024SPConfigApi.md#Get-V2024SpConfigObjects) | **GET** /sp-config/config-objects | Get config object details + + + +# **Export-V2024SpConfig** +> SpConfigExportJob Export-V2024SpConfig
+>         [-XSailPointExperimental]
+>         [-ExportPayload]
+ +Initiates configuration objects export job + +This post will export objects from the tenant to a JSON configuration file. For more information about the object types that currently support export functionality, refer to [SaaS Configuration](https://developer.sailpoint.com/idn/docs/saas-configuration/#supported-objects). + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +"ACCESS_PROFILE""ACCESS_PROFILE" +$ObjectExportImportOptions = Initialize-ObjectExportImportOptions -IncludedIds "be9e116d-08e1-49fc-ab7f-fa585e96c9e4" -IncludedNames "Test Object" +$ExportPayload = Initialize-ExportPayload -Description "Export Job 1 Test" -ExcludeTypes "ACCESS_PROFILE" -IncludeTypes "ACCESS_PROFILE""ACCESS_PROFILE" -ObjectOptions @{ key_example = $ObjectExportImportOptions } # ExportPayload | Export options control what will be included in the export. + +# Initiates configuration objects export job +try { + $Result = Export-V2024SpConfig -XSailPointExperimental $XSailPointExperimental -ExportPayload $ExportPayload +} catch { + Write-Host ("Exception occurred when calling Export-V2024SpConfig: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **ExportPayload** | [**ExportPayload**](ExportPayload.md)| Export options control what will be included in the export. | + +### Return type + +[**SpConfigExportJob**](SpConfigExportJob.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024SpConfigExport** +> SpConfigExportResults Get-V2024SpConfigExport
+>         [-Id]
+>         [-XSailPointExperimental]
+ +Download export job result. + +This endpoint gets the export file resulting from the export job with the requested `id` and downloads it to a file. The request will need one of the following security scopes: - sp:config:read - sp:config:manage + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f94347e94562b5bb8424a56397d8" # String | The ID of the export job whose results will be downloaded. +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Download export job result. +try { + $Result = Get-V2024SpConfigExport -Id $Id -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Get-V2024SpConfigExport: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The ID of the export job whose results will be downloaded. | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**SpConfigExportResults**](SpConfigExportResults.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024SpConfigExportStatus** +> SpConfigExportJobStatus Get-V2024SpConfigExportStatus
+>         [-Id]
+>         [-XSailPointExperimental]
+ +Get export job status + +This gets the status of the export job identified by the `id` parameter. The request will need one of the following security scopes: - sp:config:read - sp:config:manage + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f94347e94562b5bb8424a56397d8" # String | The ID of the export job whose status will be returned. +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Get export job status +try { + $Result = Get-V2024SpConfigExportStatus -Id $Id -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Get-V2024SpConfigExportStatus: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The ID of the export job whose status will be returned. | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**SpConfigExportJobStatus**](SpConfigExportJobStatus.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024SpConfigImport** +> SpConfigImportResults Get-V2024SpConfigImport
+>         [-Id]
+>         [-XSailPointExperimental]
+ +Download import job result + +This gets import file resulting from the import job with the requested id and downloads it to a file. The downloaded file will contain the results of the import operation, including any error, warning or informational messages associated with the import. The request will need the following security scope: - sp:config:manage + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f94347e94562b5bb8424a56397d8" # String | The ID of the import job whose results will be downloaded. +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Download import job result +try { + $Result = Get-V2024SpConfigImport -Id $Id -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Get-V2024SpConfigImport: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The ID of the import job whose results will be downloaded. | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**SpConfigImportResults**](SpConfigImportResults.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024SpConfigImportStatus** +> SpConfigImportJobStatus Get-V2024SpConfigImportStatus
+>         [-Id]
+>         [-XSailPointExperimental]
+ +Get import job status + +This gets the status of the import job identified by the `id` parameter. For more information about the object types that currently support import functionality, refer to [SaaS Configuration](https://developer.sailpoint.com/idn/docs/saas-configuration/#supported-objects). The request will need the following security scope: - sp:config:manage + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f94347e94562b5bb8424a56397d8" # String | The ID of the import job whose status will be returned. +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Get import job status +try { + $Result = Get-V2024SpConfigImportStatus -Id $Id -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Get-V2024SpConfigImportStatus: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The ID of the import job whose status will be returned. | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**SpConfigImportJobStatus**](SpConfigImportJobStatus.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Import-V2024SpConfig** +> SpConfigJob Import-V2024SpConfig
+>         [-XSailPointExperimental]
+>         [-Data]
+>         [-Preview]
+>         [-Options]
+ +Initiates configuration objects import job + +This post will import objects from a JSON configuration file into a tenant. By default, every import will first export all existing objects supported by sp-config as a backup before the import is attempted. The backup is provided so that the state of the configuration prior to the import is available for inspection or restore if needed. The backup can be skipped by setting ""excludeBackup"" to true in the import options. If a backup is performed, the id of the backup will be provided in the ImportResult as the ""exportJobId"". This can be downloaded using the /sp-config/export/{exportJobId}/download endpoint. You cannot currently import from the Non-Employee Lifecycle Management (NELM) source. You cannot use this endpoint to back up or store NELM data. For more information about the object types that currently support import functionality, refer to [SaaS Configuration](https://developer.sailpoint.com/idn/docs/saas-configuration/#supported-objects). The request will need the following security scope: - sp:config:manage + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Data = # System.IO.FileInfo | JSON file containing the objects to be imported. +$Preview = $true # Boolean | This option is intended to give the user information about how an import operation would proceed, without having any effect on the target tenant. If this parameter is ""true"", no objects will be imported. Instead, the import process will pre-process the import file and attempt to resolve references within imported objects. The import result file will contain messages pertaining to how specific references were resolved, any errors associated with the preprocessing, and messages indicating which objects would be imported. (optional) (default to $false) +"IDENTITY_OBJECT_CONFIG""IDENTITY_OBJECT_CONFIG" +$ObjectExportImportOptions = Initialize-ObjectExportImportOptions -IncludedIds "be9e116d-08e1-49fc-ab7f-fa585e96c9e4" -IncludedNames "Test Object" +"IDENTITY_OBJECT_CONFIG"$ImportOptions = Initialize-ImportOptions -ExcludeTypes "IDENTITY_OBJECT_CONFIG" -IncludeTypes "IDENTITY_OBJECT_CONFIG""IDENTITY_OBJECT_CONFIG" -ObjectOptions @{ key_example = $ObjectExportImportOptions } -DefaultReferences "IDENTITY_OBJECT_CONFIG""IDENTITY_OBJECT_CONFIG" +$ObjectExportImportOptions = Initialize-ObjectExportImportOptions -IncludedIds "be9e116d-08e1-49fc-ab7f-fa585e96c9e4" -IncludedNames "Test Object" +"IDENTITY_OBJECT_CONFIG" -ExcludeBackup $false # ImportOptions | (optional) + +# Initiates configuration objects import job +try { + $Result = Import-V2024SpConfig -XSailPointExperimental $XSailPointExperimental -Data $Data -Preview $Preview -Options $Options +} catch { + Write-Host ("Exception occurred when calling Import-V2024SpConfig: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Data** | **System.IO.FileInfo****System.IO.FileInfo**| JSON file containing the objects to be imported. | + **Preview** | **Boolean**| This option is intended to give the user information about how an import operation would proceed, without having any effect on the target tenant. If this parameter is ""true"", no objects will be imported. Instead, the import process will pre-process the import file and attempt to resolve references within imported objects. The import result file will contain messages pertaining to how specific references were resolved, any errors associated with the preprocessing, and messages indicating which objects would be imported. | [optional] [default to $false] + **Options** | [**ImportOptions**](ImportOptions.md)| | [optional] + +### Return type + +[**SpConfigJob**](SpConfigJob.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: multipart/form-data + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024SpConfigObjects** +> SpConfigObject[] Get-V2024SpConfigObjects
+>         [-XSailPointExperimental]
+ +Get config object details + +This gets the list of object configurations which are known to the tenant export/import service. Object configurations that contain ""importUrl"" and ""exportUrl"" are available for export/import. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Get config object details +try { + $Result = Get-V2024SpConfigObjects -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Get-V2024SpConfigObjects: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**SpConfigObject[]**](SpConfigObject.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024SavedSearchApi.md b/PSSailpoint/v2024/docs/V2024SavedSearchApi.md new file mode 100644 index 000000000..e03b52b03 --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024SavedSearchApi.md @@ -0,0 +1,347 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024SavedSearchApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**New-V2024SavedSearch**](V2024SavedSearchApi.md#New-V2024SavedSearch) | **POST** /saved-searches | Create a saved search +[**Remove-V2024SavedSearch**](V2024SavedSearchApi.md#Remove-V2024SavedSearch) | **DELETE** /saved-searches/{id} | Delete document by ID +[**Invoke-V2024ExecuteSavedSearch**](V2024SavedSearchApi.md#Invoke-V2024ExecuteSavedSearch) | **POST** /saved-searches/{id}/execute | Execute a saved search by ID +[**Get-V2024SavedSearch**](V2024SavedSearchApi.md#Get-V2024SavedSearch) | **GET** /saved-searches/{id} | Return saved search by ID +[**Get-V2024SavedSearches**](V2024SavedSearchApi.md#Get-V2024SavedSearches) | **GET** /saved-searches | A list of Saved Searches +[**Send-V2024SavedSearch**](V2024SavedSearchApi.md#Send-V2024SavedSearch) | **PUT** /saved-searches/{id} | Updates an existing saved search + + + +# **New-V2024SavedSearch** +> SavedSearch New-V2024SavedSearch
+>         [-CreateSavedSearchRequest]
+ +Create a saved search + +Creates a new saved search. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Bound = Initialize-Bound -Value "1" -Inclusive $false +$Range = Initialize-Range -Lower $Bound -Upper $Bound + +$SavedSearchDetailFilters = Initialize-SavedSearchDetailFilters -Type "EXISTS" -Range $Range -Terms "account_count" -Exclude $false + +$CreateSavedSearchRequest = Initialize-CreateSavedSearchRequest -Name "Disabled accounts" -Description "Disabled accounts" -Created (Get-Date) -Modified (Get-Date) -Indices "accessprofiles" -Columns @{ key_example = $Column = Initialize-Column -Field "email" -Header "Work Email" } -Query "@accounts(disabled:true)" -Fields "MyFields" -OrderBy @{ key_example = "MyInner" } -Sort "MySort" -Filters $SavedSearchDetailFilters # CreateSavedSearchRequest | The saved search to persist. + +# Create a saved search +try { + $Result = New-V2024SavedSearch -CreateSavedSearchRequest $CreateSavedSearchRequest +} catch { + Write-Host ("Exception occurred when calling New-V2024SavedSearch: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **CreateSavedSearchRequest** | [**CreateSavedSearchRequest**](CreateSavedSearchRequest.md)| The saved search to persist. | + +### Return type + +[**SavedSearch**](SavedSearch.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Remove-V2024SavedSearch** +> void Remove-V2024SavedSearch
+>         [-Id]
+ +Delete document by ID + +Deletes the specified saved search. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "2c91808568c529c60168cca6f90c1313" # String | ID of the requested document. + +# Delete document by ID +try { + $Result = Remove-V2024SavedSearch -Id $Id +} catch { + Write-Host ("Exception occurred when calling Remove-V2024SavedSearch: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| ID of the requested document. | + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Invoke-V2024ExecuteSavedSearch** +> void Invoke-V2024ExecuteSavedSearch
+>         [-Id]
+>         [-SearchArguments]
+ +Execute a saved search by ID + +Executes the specified saved search. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "2c91808568c529c60168cca6f90c1313" # String | ID of the requested document. +$TypedReference = Initialize-TypedReference -Type "ACCOUNT_CORRELATION_CONFIG" -Id "2c91808568c529c60168cca6f90c1313" +$SearchArguments = Initialize-SearchArguments -ScheduleId "7a724640-0c17-4ce9-a8c3-4a89738459c8" -Owner $TypedReference -Recipients $TypedReference # SearchArguments | When saved search execution is triggered by a scheduled search, *scheduleId* will specify the ID of the triggering scheduled search. If *scheduleId* is not specified (when execution is triggered by a UI test), the *owner* and *recipients* arguments must be provided. + +# Execute a saved search by ID +try { + $Result = Invoke-V2024ExecuteSavedSearch -Id $Id -SearchArguments $SearchArguments +} catch { + Write-Host ("Exception occurred when calling Invoke-V2024ExecuteSavedSearch: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| ID of the requested document. | + **SearchArguments** | [**SearchArguments**](SearchArguments.md)| When saved search execution is triggered by a scheduled search, *scheduleId* will specify the ID of the triggering scheduled search. If *scheduleId* is not specified (when execution is triggered by a UI test), the *owner* and *recipients* arguments must be provided. | + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024SavedSearch** +> SavedSearch Get-V2024SavedSearch
+>         [-Id]
+ +Return saved search by ID + +Returns the specified saved search. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "2c91808568c529c60168cca6f90c1313" # String | ID of the requested document. + +# Return saved search by ID +try { + $Result = Get-V2024SavedSearch -Id $Id +} catch { + Write-Host ("Exception occurred when calling Get-V2024SavedSearch: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| ID of the requested document. | + +### Return type + +[**SavedSearch**](SavedSearch.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024SavedSearches** +> SavedSearch[] Get-V2024SavedSearches
+>         [-Offset]
+>         [-Limit]
+>         [-Count]
+>         [-Filters]
+ +A list of Saved Searches + +Returns a list of saved searches. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Count = $true # Boolean | 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. (optional) (default to $false) +$Filters = "owner.id eq "7a724640-0c17-4ce9-a8c3-4a89738459c8"" # 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: **owner.id**: *eq* (optional) + +# A list of Saved Searches +try { + $Result = Get-V2024SavedSearches -Offset $Offset -Limit $Limit -Count $Count -Filters $Filters +} catch { + Write-Host ("Exception occurred when calling Get-V2024SavedSearches: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **Filters** | **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: **owner.id**: *eq* | [optional] + +### Return type + +[**SavedSearch[]**](SavedSearch.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Send-V2024SavedSearch** +> SavedSearch Send-V2024SavedSearch
+>         [-Id]
+>         [-SavedSearch]
+ +Updates an existing saved search + +Updates an existing saved search. >**NOTE: You cannot update the `owner` of the saved search.** + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "2c91808568c529c60168cca6f90c1313" # String | ID of the requested document. +$Bound = Initialize-Bound -Value "1" -Inclusive $false +$Range = Initialize-Range -Lower $Bound -Upper $Bound + +$SavedSearchDetailFilters = Initialize-SavedSearchDetailFilters -Type "EXISTS" -Range $Range -Terms "account_count" -Exclude $false + +$TypedReference = Initialize-TypedReference -Type "ACCOUNT_CORRELATION_CONFIG" -Id "2c91808568c529c60168cca6f90c1313" +$SavedSearch = Initialize-SavedSearch -Name "Disabled accounts" -Description "Disabled accounts" -Created (Get-Date) -Modified (Get-Date) -Indices "accessprofiles" -Columns @{ key_example = $Column = Initialize-Column -Field "email" -Header "Work Email" } -Query "@accounts(disabled:true)" -Fields "MyFields" -OrderBy @{ key_example = "MyInner" } -Sort "MySort" -Filters $SavedSearchDetailFilters -Id "0de46054-fe90-434a-b84e-c6b3359d0c64" -Owner $TypedReference -OwnerId "2c91808568c529c60168cca6f90c1313" -Public $false # SavedSearch | The saved search to persist. + +# Updates an existing saved search +try { + $Result = Send-V2024SavedSearch -Id $Id -SavedSearch $SavedSearch +} catch { + Write-Host ("Exception occurred when calling Send-V2024SavedSearch: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| ID of the requested document. | + **SavedSearch** | [**SavedSearch**](SavedSearch.md)| The saved search to persist. | + +### Return type + +[**SavedSearch**](SavedSearch.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024ScheduledSearchApi.md b/PSSailpoint/v2024/docs/V2024ScheduledSearchApi.md new file mode 100644 index 000000000..a3262d190 --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024ScheduledSearchApi.md @@ -0,0 +1,348 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024ScheduledSearchApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**New-V2024ScheduledSearch**](V2024ScheduledSearchApi.md#New-V2024ScheduledSearch) | **POST** /scheduled-searches | Create a new scheduled search +[**Remove-V2024ScheduledSearch**](V2024ScheduledSearchApi.md#Remove-V2024ScheduledSearch) | **DELETE** /scheduled-searches/{id} | Delete a Scheduled Search +[**Get-V2024ScheduledSearch**](V2024ScheduledSearchApi.md#Get-V2024ScheduledSearch) | **GET** /scheduled-searches/{id} | Get a Scheduled Search +[**Get-V2024ScheduledSearch**](V2024ScheduledSearchApi.md#Get-V2024ScheduledSearch) | **GET** /scheduled-searches | List scheduled searches +[**Invoke-V2024UnsubscribeScheduledSearch**](V2024ScheduledSearchApi.md#Invoke-V2024UnsubscribeScheduledSearch) | **POST** /scheduled-searches/{id}/unsubscribe | Unsubscribe a recipient from Scheduled Search +[**Update-V2024ScheduledSearch**](V2024ScheduledSearchApi.md#Update-V2024ScheduledSearch) | **PUT** /scheduled-searches/{id} | Update an existing Scheduled Search + + + +# **New-V2024ScheduledSearch** +> ScheduledSearch New-V2024ScheduledSearch
+>         [-CreateScheduledSearchRequest]
+ +Create a new scheduled search + +Creates a new scheduled search. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Schedule1Months = Initialize-Schedule1Months -Type "LIST" -Values "MyValues" -Interval 3 +$Schedule1Days = Initialize-Schedule1Days -Type "LIST" -Values "MyValues" -Interval 3 +$Schedule1Hours = Initialize-Schedule1Hours -Type "LIST" -Values "MyValues" -Interval 3 +$Schedule1 = Initialize-Schedule1 -Type "DAILY" -Months $Schedule1Months -Days $Schedule1Days -Hours $Schedule1Hours -Expiration (Get-Date) -TimeZoneId "America/Chicago" + +$SearchScheduleRecipientsInner = Initialize-SearchScheduleRecipientsInner -Type "IDENTITY" -Id "2c9180867624cbd7017642d8c8c81f67" +$CreateScheduledSearchRequest = Initialize-CreateScheduledSearchRequest -Name "Daily disabled accounts" -Description "Daily disabled accounts" -SavedSearchId "554f1511-f0a1-4744-ab14-599514d3e57c" -Created (Get-Date) -Modified (Get-Date) -Schedule $Schedule1 -Recipients $SearchScheduleRecipientsInner -Enabled $false -EmailEmptyResults $false -DisplayQueryDetails $false # CreateScheduledSearchRequest | The scheduled search to persist. + +# Create a new scheduled search +try { + $Result = New-V2024ScheduledSearch -CreateScheduledSearchRequest $CreateScheduledSearchRequest +} catch { + Write-Host ("Exception occurred when calling New-V2024ScheduledSearch: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **CreateScheduledSearchRequest** | [**CreateScheduledSearchRequest**](CreateScheduledSearchRequest.md)| The scheduled search to persist. | + +### Return type + +[**ScheduledSearch**](ScheduledSearch.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Remove-V2024ScheduledSearch** +> void Remove-V2024ScheduledSearch
+>         [-Id]
+ +Delete a Scheduled Search + +Deletes the specified scheduled search. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "2c91808568c529c60168cca6f90c1313" # String | ID of the requested document. + +# Delete a Scheduled Search +try { + $Result = Remove-V2024ScheduledSearch -Id $Id +} catch { + Write-Host ("Exception occurred when calling Remove-V2024ScheduledSearch: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| ID of the requested document. | + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024ScheduledSearch** +> ScheduledSearch Get-V2024ScheduledSearch
+>         [-Id]
+ +Get a Scheduled Search + +Returns the specified scheduled search. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "2c91808568c529c60168cca6f90c1313" # String | ID of the requested document. + +# Get a Scheduled Search +try { + $Result = Get-V2024ScheduledSearch -Id $Id +} catch { + Write-Host ("Exception occurred when calling Get-V2024ScheduledSearch: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| ID of the requested document. | + +### Return type + +[**ScheduledSearch**](ScheduledSearch.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024ScheduledSearch** +> ScheduledSearch[] Get-V2024ScheduledSearch
+>         [-Offset]
+>         [-Limit]
+>         [-Count]
+>         [-Filters]
+ +List scheduled searches + +Returns a list of scheduled searches. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Count = $true # Boolean | 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. (optional) (default to $false) +$Filters = "savedSearchId eq "6cc0945d-9eeb-4948-9033-72d066e1153e"" # 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: **owner.id**: *eq* **savedSearchId**: *eq* (optional) + +# List scheduled searches +try { + $Result = Get-V2024ScheduledSearch -Offset $Offset -Limit $Limit -Count $Count -Filters $Filters +} catch { + Write-Host ("Exception occurred when calling Get-V2024ScheduledSearch: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **Filters** | **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: **owner.id**: *eq* **savedSearchId**: *eq* | [optional] + +### Return type + +[**ScheduledSearch[]**](ScheduledSearch.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Invoke-V2024UnsubscribeScheduledSearch** +> void Invoke-V2024UnsubscribeScheduledSearch
+>         [-Id]
+>         [-TypedReference]
+ +Unsubscribe a recipient from Scheduled Search + +Unsubscribes a recipient from the specified scheduled search. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "2c91808568c529c60168cca6f90c1313" # String | ID of the requested document. +$TypedReference = Initialize-TypedReference -Type "ACCOUNT_CORRELATION_CONFIG" -Id "2c91808568c529c60168cca6f90c1313" # TypedReference | The recipient to be removed from the scheduled search. + +# Unsubscribe a recipient from Scheduled Search +try { + $Result = Invoke-V2024UnsubscribeScheduledSearch -Id $Id -TypedReference $TypedReference +} catch { + Write-Host ("Exception occurred when calling Invoke-V2024UnsubscribeScheduledSearch: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| ID of the requested document. | + **TypedReference** | [**TypedReference**](TypedReference.md)| The recipient to be removed from the scheduled search. | + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Update-V2024ScheduledSearch** +> ScheduledSearch Update-V2024ScheduledSearch
+>         [-Id]
+>         [-ScheduledSearch]
+ +Update an existing Scheduled Search + +Updates an existing scheduled search. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "2c91808568c529c60168cca6f90c1313" # String | ID of the requested document. +$Schedule1Months = Initialize-Schedule1Months -Type "LIST" -Values "MyValues" -Interval 3 +$Schedule1Days = Initialize-Schedule1Days -Type "LIST" -Values "MyValues" -Interval 3 +$Schedule1Hours = Initialize-Schedule1Hours -Type "LIST" -Values "MyValues" -Interval 3 +$Schedule1 = Initialize-Schedule1 -Type "DAILY" -Months $Schedule1Months -Days $Schedule1Days -Hours $Schedule1Hours -Expiration (Get-Date) -TimeZoneId "America/Chicago" + +$SearchScheduleRecipientsInner = Initialize-SearchScheduleRecipientsInner -Type "IDENTITY" -Id "2c9180867624cbd7017642d8c8c81f67" +$ScheduledSearchAllOfOwner = Initialize-ScheduledSearchAllOfOwner -Type "IDENTITY" -Id "2c9180867624cbd7017642d8c8c81f67" +$ScheduledSearch = Initialize-ScheduledSearch -Name "Daily disabled accounts" -Description "Daily disabled accounts" -SavedSearchId "554f1511-f0a1-4744-ab14-599514d3e57c" -Created (Get-Date) -Modified (Get-Date) -Schedule $Schedule1 -Recipients $SearchScheduleRecipientsInner -Enabled $false -EmailEmptyResults $false -DisplayQueryDetails $false -Id "0de46054-fe90-434a-b84e-c6b3359d0c64" -Owner $ScheduledSearchAllOfOwner -OwnerId "2c9180867624cbd7017642d8c8c81f67" # ScheduledSearch | The scheduled search to persist. + +# Update an existing Scheduled Search +try { + $Result = Update-V2024ScheduledSearch -Id $Id -ScheduledSearch $ScheduledSearch +} catch { + Write-Host ("Exception occurred when calling Update-V2024ScheduledSearch: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| ID of the requested document. | + **ScheduledSearch** | [**ScheduledSearch**](ScheduledSearch.md)| The scheduled search to persist. | + +### Return type + +[**ScheduledSearch**](ScheduledSearch.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024SearchApi.md b/PSSailpoint/v2024/docs/V2024SearchApi.md new file mode 100644 index 000000000..95375d095 --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024SearchApi.md @@ -0,0 +1,306 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024SearchApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**Search-V2024Aggregate**](V2024SearchApi.md#Search-V2024Aggregate) | **POST** /search/aggregate | Perform a Search Query Aggregation +[**Search-V2024Count**](V2024SearchApi.md#Search-V2024Count) | **POST** /search/count | Count Documents Satisfying a Query +[**Search-V2024Get**](V2024SearchApi.md#Search-V2024Get) | **GET** /search/{index}/{id} | Get a Document by ID +[**Search-V2024Post**](V2024SearchApi.md#Search-V2024Post) | **POST** /search | Perform Search + + + +# **Search-V2024Aggregate** +> AggregationResult Search-V2024Aggregate
+>         [-Search]
+>         [-Offset]
+>         [-Limit]
+>         [-Count]
+ +Perform a Search Query Aggregation + +Performs a search query aggregation and returns the aggregation result. By default, you can page a maximum of 10,000 search result records. 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. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$InnerHit = Initialize-InnerHit -Query "source.name:\"Active Directory\"" -Type "access" +$Query = Initialize-Query -Query "name:a*" -Fields "[firstName,lastName,email]" -TimeZone "America/Chicago" -InnerHit $InnerHit + +$TextQuery = Initialize-TextQuery -Terms "MyTerms" -Fields "MyFields" -MatchAny $false -Contains $true +$TypeAheadQuery = Initialize-TypeAheadQuery -Query "Work" -Field "source.name" -NestedType "access" -MaxExpansions 10 -Size 100 -Sort "asc" -SortByValue $true +$QueryResultFilter = Initialize-QueryResultFilter -Includes "MyIncludes" -Excludes "MyExcludes" + +$NestedAggregation = Initialize-NestedAggregation -Name "id" -Type "access" +$MetricAggregation = Initialize-MetricAggregation -Name "Access Name Count" -Type "COUNT" -Field "@access.name" +$FilterAggregation = Initialize-FilterAggregation -Name "Entitlements" -Type "TERM" -Field "access.type" -Value "ENTITLEMENT" +$BucketAggregation = Initialize-BucketAggregation -Name "Identity Locations" -Type "TERMS" -Field "attributes.city" -Size 100 -MinDocCount 2 + +$Aggregations = Initialize-Aggregations -Nested $NestedAggregation -Metric $MetricAggregation -VarFilter $FilterAggregation -Bucket $BucketAggregation + +$SubSearchAggregationSpecification = Initialize-SubSearchAggregationSpecification -Nested $NestedAggregation -Metric $MetricAggregation -VarFilter $FilterAggregation -Bucket $BucketAggregation -SubAggregation $Aggregations + +$SearchAggregationSpecification = Initialize-SearchAggregationSpecification -Nested $NestedAggregation -Metric $MetricAggregation -VarFilter $FilterAggregation -Bucket $BucketAggregation -SubAggregation $SubSearchAggregationSpecification + +$Bound = Initialize-Bound -Value "1" -Inclusive $false +$Range = Initialize-Range -Lower $Bound -Upper $Bound + +$ModelFilter = Initialize-ModelFilter -Type "EXISTS" -Range $Range -Terms "account_count" -Exclude $false + +$Search = Initialize-Search -Indices "accessprofiles" -QueryType "DSL" -QueryVersion $String -Query $Query -QueryDsl -TextQuery $TextQuery -TypeAheadQuery $TypeAheadQuery -IncludeNested $true -QueryResultFilter $QueryResultFilter -AggregationType "DSL" -AggregationsVersion $String -AggregationsDsl -Aggregations $SearchAggregationSpecification -Sort "MySort" -SearchAfter "MySearchAfter" -Filters @{ key_example = $ModelFilter } # Search | +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Count = $true # Boolean | 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. (optional) (default to $false) + +# Perform a Search Query Aggregation +try { + $Result = Search-V2024Aggregate -Search $Search -Offset $Offset -Limit $Limit -Count $Count +} catch { + Write-Host ("Exception occurred when calling Search-V2024Aggregate: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Search** | [**Search**](Search.md)| | + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Count** | **Boolean**| 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. | [optional] [default to $false] + +### Return type + +[**AggregationResult**](AggregationResult.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, text/csv + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Search-V2024Count** +> void Search-V2024Count
+>         [-Search]
+ +Count Documents Satisfying a Query + +Performs a search with a provided query and returns the count of results in the X-Total-Count header. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$InnerHit = Initialize-InnerHit -Query "source.name:\"Active Directory\"" -Type "access" +$Query = Initialize-Query -Query "name:a*" -Fields "[firstName,lastName,email]" -TimeZone "America/Chicago" -InnerHit $InnerHit + +$TextQuery = Initialize-TextQuery -Terms "MyTerms" -Fields "MyFields" -MatchAny $false -Contains $true +$TypeAheadQuery = Initialize-TypeAheadQuery -Query "Work" -Field "source.name" -NestedType "access" -MaxExpansions 10 -Size 100 -Sort "asc" -SortByValue $true +$QueryResultFilter = Initialize-QueryResultFilter -Includes "MyIncludes" -Excludes "MyExcludes" + +$NestedAggregation = Initialize-NestedAggregation -Name "id" -Type "access" +$MetricAggregation = Initialize-MetricAggregation -Name "Access Name Count" -Type "COUNT" -Field "@access.name" +$FilterAggregation = Initialize-FilterAggregation -Name "Entitlements" -Type "TERM" -Field "access.type" -Value "ENTITLEMENT" +$BucketAggregation = Initialize-BucketAggregation -Name "Identity Locations" -Type "TERMS" -Field "attributes.city" -Size 100 -MinDocCount 2 + +$Aggregations = Initialize-Aggregations -Nested $NestedAggregation -Metric $MetricAggregation -VarFilter $FilterAggregation -Bucket $BucketAggregation + +$SubSearchAggregationSpecification = Initialize-SubSearchAggregationSpecification -Nested $NestedAggregation -Metric $MetricAggregation -VarFilter $FilterAggregation -Bucket $BucketAggregation -SubAggregation $Aggregations + +$SearchAggregationSpecification = Initialize-SearchAggregationSpecification -Nested $NestedAggregation -Metric $MetricAggregation -VarFilter $FilterAggregation -Bucket $BucketAggregation -SubAggregation $SubSearchAggregationSpecification + +$Bound = Initialize-Bound -Value "1" -Inclusive $false +$Range = Initialize-Range -Lower $Bound -Upper $Bound + +$ModelFilter = Initialize-ModelFilter -Type "EXISTS" -Range $Range -Terms "account_count" -Exclude $false + +$Search = Initialize-Search -Indices "accessprofiles" -QueryType "DSL" -QueryVersion $String -Query $Query -QueryDsl -TextQuery $TextQuery -TypeAheadQuery $TypeAheadQuery -IncludeNested $true -QueryResultFilter $QueryResultFilter -AggregationType "DSL" -AggregationsVersion $String -AggregationsDsl -Aggregations $SearchAggregationSpecification -Sort "MySort" -SearchAfter "MySearchAfter" -Filters @{ key_example = $ModelFilter } # Search | + +# Count Documents Satisfying a Query +try { + $Result = Search-V2024Count -Search $Search +} catch { + Write-Host ("Exception occurred when calling Search-V2024Count: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Search** | [**Search**](Search.md)| | + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Search-V2024Get** +> SystemCollectionsHashtable Search-V2024Get
+>         [-Index]
+>         [-Id]
+ +Get a Document by ID + +Fetches a single document from the specified index, using the specified document ID. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Index = "accounts" # String | The index from which to fetch the specified document. The currently supported index names are: *accessprofiles*, *accountactivities*, *entitlements*, *events*, *identities*, and *roles*. +$Id = "2c91808568c529c60168cca6f90c1313" # String | ID of the requested document. + +# Get a Document by ID +try { + $Result = Search-V2024Get -Index $Index -Id $Id +} catch { + Write-Host ("Exception occurred when calling Search-V2024Get: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Index** | **String**| The index from which to fetch the specified document. The currently supported index names are: *accessprofiles*, *accountactivities*, *entitlements*, *events*, *identities*, and *roles*. | + **Id** | **String**| ID of the requested document. | + +### Return type + +[**SystemCollectionsHashtable**](SystemCollectionsHashtable.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Search-V2024Post** +> SystemCollectionsHashtable[] Search-V2024Post
+>         [-Search]
+>         [-Offset]
+>         [-Limit]
+>         [-Count]
+ +Perform Search + +Performs a search with the provided query and returns a matching result collection. By default, you can page a maximum of 10,000 search result records. 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. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$InnerHit = Initialize-InnerHit -Query "source.name:\"Active Directory\"" -Type "access" +$Query = Initialize-Query -Query "name:a*" -Fields "[firstName,lastName,email]" -TimeZone "America/Chicago" -InnerHit $InnerHit + +$TextQuery = Initialize-TextQuery -Terms "MyTerms" -Fields "MyFields" -MatchAny $false -Contains $true +$TypeAheadQuery = Initialize-TypeAheadQuery -Query "Work" -Field "source.name" -NestedType "access" -MaxExpansions 10 -Size 100 -Sort "asc" -SortByValue $true +$QueryResultFilter = Initialize-QueryResultFilter -Includes "MyIncludes" -Excludes "MyExcludes" + +$NestedAggregation = Initialize-NestedAggregation -Name "id" -Type "access" +$MetricAggregation = Initialize-MetricAggregation -Name "Access Name Count" -Type "COUNT" -Field "@access.name" +$FilterAggregation = Initialize-FilterAggregation -Name "Entitlements" -Type "TERM" -Field "access.type" -Value "ENTITLEMENT" +$BucketAggregation = Initialize-BucketAggregation -Name "Identity Locations" -Type "TERMS" -Field "attributes.city" -Size 100 -MinDocCount 2 + +$Aggregations = Initialize-Aggregations -Nested $NestedAggregation -Metric $MetricAggregation -VarFilter $FilterAggregation -Bucket $BucketAggregation + +$SubSearchAggregationSpecification = Initialize-SubSearchAggregationSpecification -Nested $NestedAggregation -Metric $MetricAggregation -VarFilter $FilterAggregation -Bucket $BucketAggregation -SubAggregation $Aggregations + +$SearchAggregationSpecification = Initialize-SearchAggregationSpecification -Nested $NestedAggregation -Metric $MetricAggregation -VarFilter $FilterAggregation -Bucket $BucketAggregation -SubAggregation $SubSearchAggregationSpecification + +$Bound = Initialize-Bound -Value "1" -Inclusive $false +$Range = Initialize-Range -Lower $Bound -Upper $Bound + +$ModelFilter = Initialize-ModelFilter -Type "EXISTS" -Range $Range -Terms "account_count" -Exclude $false + +$Search = Initialize-Search -Indices "accessprofiles" -QueryType "DSL" -QueryVersion $String -Query $Query -QueryDsl -TextQuery $TextQuery -TypeAheadQuery $TypeAheadQuery -IncludeNested $true -QueryResultFilter $QueryResultFilter -AggregationType "DSL" -AggregationsVersion $String -AggregationsDsl -Aggregations $SearchAggregationSpecification -Sort "MySort" -SearchAfter "MySearchAfter" -Filters @{ key_example = $ModelFilter } # Search | +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Limit = 10000 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 10000) +$Count = $true # Boolean | 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. (optional) (default to $false) + +# Perform Search +try { + $Result = Search-V2024Post -Search $Search -Offset $Offset -Limit $Limit -Count $Count +} catch { + Write-Host ("Exception occurred when calling Search-V2024Post: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Search** | [**Search**](Search.md)| | + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 10000] + **Count** | **Boolean**| 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. | [optional] [default to $false] + +### Return type + +[**SystemCollectionsHashtable[]**](SystemCollectionsHashtable.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024SearchAttributeConfigurationApi.md b/PSSailpoint/v2024/docs/V2024SearchAttributeConfigurationApi.md new file mode 100644 index 000000000..a5b6c508e --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024SearchAttributeConfigurationApi.md @@ -0,0 +1,267 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024SearchAttributeConfigurationApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**New-V2024SearchAttributeConfig**](V2024SearchAttributeConfigurationApi.md#New-V2024SearchAttributeConfig) | **POST** /accounts/search-attribute-config | Configure/create search attributes in IdentityNow. +[**Remove-V2024SearchAttributeConfig**](V2024SearchAttributeConfigurationApi.md#Remove-V2024SearchAttributeConfig) | **DELETE** /accounts/search-attribute-config/{name} | Delete search attribute in IdentityNow. +[**Get-V2024SearchAttributeConfig**](V2024SearchAttributeConfigurationApi.md#Get-V2024SearchAttributeConfig) | **GET** /accounts/search-attribute-config | Retrieve attribute list in IdentityNow. +[**Get-V2024SingleSearchAttributeConfig**](V2024SearchAttributeConfigurationApi.md#Get-V2024SingleSearchAttributeConfig) | **GET** /accounts/search-attribute-config/{name} | Get specific attribute in IdentityNow. +[**Update-V2024SearchAttributeConfig**](V2024SearchAttributeConfigurationApi.md#Update-V2024SearchAttributeConfig) | **PATCH** /accounts/search-attribute-config/{name} | Update search attribute in IdentityNow. + + + +# **New-V2024SearchAttributeConfig** +> SystemCollectionsHashtable New-V2024SearchAttributeConfig
+>         [-SearchAttributeConfig]
+ +Configure/create search attributes in IdentityNow. + +This API accepts an attribute name, an attribute display name and a list of name/value pair associates of application IDs to attribute names. It will then validate the inputs and configure/create and attribute promotion configuration in the Link ObjectConfig. A token with ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$SearchAttributeConfig = Initialize-SearchAttributeConfig -Name "newMailAttribute" -DisplayName "New Mail Attribute" -ApplicationAttributes # SearchAttributeConfig | + +# Configure/create search attributes in IdentityNow. +try { + $Result = New-V2024SearchAttributeConfig -SearchAttributeConfig $SearchAttributeConfig +} catch { + Write-Host ("Exception occurred when calling New-V2024SearchAttributeConfig: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **SearchAttributeConfig** | [**SearchAttributeConfig**](SearchAttributeConfig.md)| | + +### Return type + +[**SystemCollectionsHashtable**](SystemCollectionsHashtable.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Remove-V2024SearchAttributeConfig** +> void Remove-V2024SearchAttributeConfig
+>         [-Name]
+ +Delete search attribute in IdentityNow. + +This API accepts an extended search attribute name and deletes the corresponding extended attribute configuration. A token with ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Name = "newMailAttribute" # String | Name of the extended search attribute configuration to delete. + +# Delete search attribute in IdentityNow. +try { + $Result = Remove-V2024SearchAttributeConfig -Name $Name +} catch { + Write-Host ("Exception occurred when calling Remove-V2024SearchAttributeConfig: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Name** | **String**| Name of the extended search attribute configuration to delete. | + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024SearchAttributeConfig** +> SearchAttributeConfig[] Get-V2024SearchAttributeConfig
+ +Retrieve attribute list in IdentityNow. + +This API retrieves a list of extended search attribute/application associates currently configured in IdentityNow. A token with ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + + +# Retrieve attribute list in IdentityNow. +try { + $Result = Get-V2024SearchAttributeConfig +} catch { + Write-Host ("Exception occurred when calling Get-V2024SearchAttributeConfig: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**SearchAttributeConfig[]**](SearchAttributeConfig.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024SingleSearchAttributeConfig** +> SearchAttributeConfig[] Get-V2024SingleSearchAttributeConfig
+>         [-Name]
+ +Get specific attribute in IdentityNow. + +This API accepts an extended search attribute name and retrieves the corresponding extended attribute configuration. A token with ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Name = "newMailAttribute" # String | Name of the extended search attribute configuration to retrieve. + +# Get specific attribute in IdentityNow. +try { + $Result = Get-V2024SingleSearchAttributeConfig -Name $Name +} catch { + Write-Host ("Exception occurred when calling Get-V2024SingleSearchAttributeConfig: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Name** | **String**| Name of the extended search attribute configuration to retrieve. | + +### Return type + +[**SearchAttributeConfig[]**](SearchAttributeConfig.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Update-V2024SearchAttributeConfig** +> SearchAttributeConfig Update-V2024SearchAttributeConfig
+>         [-Name]
+>         [-JsonPatchOperation]
+ +Update search attribute in IdentityNow. + +This API updates an existing Search Attribute Configuration. The following fields are patchable: **name**, **displayName**, **applicationAttributes** A token with ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Name = "promotedMailAttribute" # String | Name of the Search Attribute Configuration to patch. +$JsonPatchOperationValue = Initialize-JsonPatchOperationValue +$JsonPatchOperation = Initialize-JsonPatchOperation -Op "add" -Path "/description" -Value $JsonPatchOperationValue # JsonPatchOperation[] | + +# Update search attribute in IdentityNow. +try { + $Result = Update-V2024SearchAttributeConfig -Name $Name -JsonPatchOperation $JsonPatchOperation +} catch { + Write-Host ("Exception occurred when calling Update-V2024SearchAttributeConfig: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Name** | **String**| Name of the Search Attribute Configuration to patch. | + **JsonPatchOperation** | [**JsonPatchOperation[]**](JsonPatchOperation.md)| | + +### Return type + +[**SearchAttributeConfig**](SearchAttributeConfig.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024SegmentsApi.md b/PSSailpoint/v2024/docs/V2024SegmentsApi.md new file mode 100644 index 000000000..95d3eda07 --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024SegmentsApi.md @@ -0,0 +1,287 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024SegmentsApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**New-V2024Segment**](V2024SegmentsApi.md#New-V2024Segment) | **POST** /segments | Create Segment +[**Remove-V2024Segment**](V2024SegmentsApi.md#Remove-V2024Segment) | **DELETE** /segments/{id} | Delete Segment by ID +[**Get-V2024Segment**](V2024SegmentsApi.md#Get-V2024Segment) | **GET** /segments/{id} | Get Segment by ID +[**Get-V2024Segments**](V2024SegmentsApi.md#Get-V2024Segments) | **GET** /segments | List Segments +[**Update-V2024Segment**](V2024SegmentsApi.md#Update-V2024Segment) | **PATCH** /segments/{id} | Update Segment + + + +# **New-V2024Segment** +> Segment New-V2024Segment
+>         [-Segment]
+ +Create Segment + +This API creates a segment. >**Note:** Segment definitions may take time to propagate to all identities. A token with ORG_ADMIN or API authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$OwnerReferenceSegments = Initialize-OwnerReferenceSegments -Type "IDENTITY" -Id "2c9180a46faadee4016fb4e018c20639" -Name "support" + +$Value = Initialize-Value -Type "STRING" -Value "Austin" + +$ExpressionChildrenInner = Initialize-ExpressionChildrenInner -Operator "AND" -Attribute "location" -Value $Value -Children "MyChildren" + +$Expression = Initialize-Expression -Operator "AND" -Attribute "location" -Value $Value -Children $ExpressionChildrenInner + +$SegmentVisibilityCriteria = Initialize-SegmentVisibilityCriteria -Expression $Expression + +$Segment = Initialize-Segment -Id "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde" -Name "segment-xyz" -Created (Get-Date) -Modified (Get-Date) -Description "This segment represents xyz" -Owner $OwnerReferenceSegments -VisibilityCriteria $SegmentVisibilityCriteria -Active $true # Segment | + +# Create Segment +try { + $Result = New-V2024Segment -Segment $Segment +} catch { + Write-Host ("Exception occurred when calling New-V2024Segment: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Segment** | [**Segment**](Segment.md)| | + +### Return type + +[**Segment**](Segment.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Remove-V2024Segment** +> void Remove-V2024Segment
+>         [-Id]
+ +Delete Segment by ID + +This API deletes the segment specified by the given ID. >**Note:** that segment deletion may take some time to become effective. A token with ORG_ADMIN or API authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f94347e94562b5bb8424a56397d8" # String | The segment ID to delete. + +# Delete Segment by ID +try { + $Result = Remove-V2024Segment -Id $Id +} catch { + Write-Host ("Exception occurred when calling Remove-V2024Segment: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The segment ID to delete. | + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024Segment** +> Segment Get-V2024Segment
+>         [-Id]
+ +Get Segment by ID + +This API returns the segment specified by the given ID. A token with ORG_ADMIN or API authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f94347e94562b5bb8424a56397d8" # String | The segment ID to retrieve. + +# Get Segment by ID +try { + $Result = Get-V2024Segment -Id $Id +} catch { + Write-Host ("Exception occurred when calling Get-V2024Segment: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The segment ID to retrieve. | + +### Return type + +[**Segment**](Segment.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024Segments** +> Segment[] Get-V2024Segments
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+ +List Segments + +This API returns a list of all segments. A token with ORG_ADMIN or API authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) + +# List Segments +try { + $Result = Get-V2024Segments -Limit $Limit -Offset $Offset -Count $Count +} catch { + Write-Host ("Exception occurred when calling Get-V2024Segments: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + +### Return type + +[**Segment[]**](Segment.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Update-V2024Segment** +> Segment Update-V2024Segment
+>         [-Id]
+>         [-RequestBody]
+ +Update Segment + +Use this API to update segment fields by using the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. >**Note:** Changes to a segment may take some time to propagate to all identities. A token with ORG_ADMIN or API authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f94347e94562b5bb8424a56397d8" # String | The segment ID to modify. +$RequestBody = # SystemCollectionsHashtable[] | A list of segment update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. The following fields are patchable: * name * description * owner * visibilityCriteria * active + +# Update Segment +try { + $Result = Update-V2024Segment -Id $Id -RequestBody $RequestBody +} catch { + Write-Host ("Exception occurred when calling Update-V2024Segment: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The segment ID to modify. | + **RequestBody** | [**SystemCollectionsHashtable[]**](SystemCollectionsHashtable.md)| A list of segment update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. The following fields are patchable: * name * description * owner * visibilityCriteria * active | + +### Return type + +[**Segment**](Segment.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024ServiceDeskIntegrationApi.md b/PSSailpoint/v2024/docs/V2024ServiceDeskIntegrationApi.md new file mode 100644 index 000000000..850c384b2 --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024ServiceDeskIntegrationApi.md @@ -0,0 +1,557 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024ServiceDeskIntegrationApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**New-V2024ServiceDeskIntegration**](V2024ServiceDeskIntegrationApi.md#New-V2024ServiceDeskIntegration) | **POST** /service-desk-integrations | Create new Service Desk integration +[**Remove-V2024ServiceDeskIntegration**](V2024ServiceDeskIntegrationApi.md#Remove-V2024ServiceDeskIntegration) | **DELETE** /service-desk-integrations/{id} | Delete a Service Desk integration +[**Get-V2024ServiceDeskIntegration**](V2024ServiceDeskIntegrationApi.md#Get-V2024ServiceDeskIntegration) | **GET** /service-desk-integrations/{id} | Get a Service Desk integration +[**Get-V2024ServiceDeskIntegrationTemplate**](V2024ServiceDeskIntegrationApi.md#Get-V2024ServiceDeskIntegrationTemplate) | **GET** /service-desk-integrations/templates/{scriptName} | Service Desk integration template by scriptName. +[**Get-V2024ServiceDeskIntegrationTypes**](V2024ServiceDeskIntegrationApi.md#Get-V2024ServiceDeskIntegrationTypes) | **GET** /service-desk-integrations/types | Service Desk Integration Types List. +[**Get-V2024ServiceDeskIntegrations**](V2024ServiceDeskIntegrationApi.md#Get-V2024ServiceDeskIntegrations) | **GET** /service-desk-integrations | List existing Service Desk Integrations +[**Get-V2024StatusCheckDetails**](V2024ServiceDeskIntegrationApi.md#Get-V2024StatusCheckDetails) | **GET** /service-desk-integrations/status-check-configuration | Get the time check configuration +[**Update-V2024ServiceDeskIntegration**](V2024ServiceDeskIntegrationApi.md#Update-V2024ServiceDeskIntegration) | **PATCH** /service-desk-integrations/{id} | Service Desk Integration Update PATCH +[**Send-V2024ServiceDeskIntegration**](V2024ServiceDeskIntegrationApi.md#Send-V2024ServiceDeskIntegration) | **PUT** /service-desk-integrations/{id} | Update a Service Desk integration +[**Update-V2024StatusCheckDetails**](V2024ServiceDeskIntegrationApi.md#Update-V2024StatusCheckDetails) | **PUT** /service-desk-integrations/status-check-configuration | Update the time check configuration + + + +# **New-V2024ServiceDeskIntegration** +> ServiceDeskIntegrationDto New-V2024ServiceDeskIntegration
+>         [-ServiceDeskIntegrationDto]
+ +Create new Service Desk integration + +Create a new Service Desk Integrations. A token with Org Admin or Service Desk Admin authority is required to access this endpoint. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$OwnerDto = Initialize-OwnerDto -Type "IDENTITY" -Id "2c9180a46faadee4016fb4e018c20639" -Name "Support" +$SourceClusterDto = Initialize-SourceClusterDto -Type "CLUSTER" -Id "2c9180847a7fccdd017aa5896f9f4f6f" -Name "Training VA" + +$ServiceDeskSource = Initialize-ServiceDeskSource -Type "SOURCE" -Id "2c9180835d191a86015d28455b4b232a" -Name "HR Active Directory" +$ProvisioningConfigPlanInitializerScript = Initialize-ProvisioningConfigPlanInitializerScript -Source "\r\n\r\n\r\n Before Provisioning Rule which changes disables and enables to a modify.\r\n +" +$ProvisioningConfig = Initialize-ProvisioningConfig -UniversalManager $true -ManagedResourceRefs $ServiceDeskSource -PlanInitializerScript $ProvisioningConfigPlanInitializerScript -NoProvisioningRequests $true -ProvisioningRequestExpiration 7 + +$BeforeProvisioningRuleDto = Initialize-BeforeProvisioningRuleDto -Type "RULE" -Id "048eb3d55c5a4758bd07dccb87741c78" -Name "Before Provisioning Airtable Rule" +$ServiceDeskIntegrationDto = Initialize-ServiceDeskIntegrationDto -Id "62945a496ef440189b1f03e3623411c8" -Name "Service Desk Integration Name" -Created (Get-Date) -Modified (Get-Date) -Description "A very nice Service Desk integration" -Type "ServiceNowSDIM" -OwnerRef $OwnerDto -ClusterRef $SourceClusterDto -Cluster "xyzzy999" -ManagedSources "MyManagedSources" -ProvisioningConfig $ProvisioningConfig -Attributes @{ key_example = } -BeforeProvisioningRule $BeforeProvisioningRuleDto # ServiceDeskIntegrationDto | The specifics of a new integration to create + +# Create new Service Desk integration +try { + $Result = New-V2024ServiceDeskIntegration -ServiceDeskIntegrationDto $ServiceDeskIntegrationDto +} catch { + Write-Host ("Exception occurred when calling New-V2024ServiceDeskIntegration: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ServiceDeskIntegrationDto** | [**ServiceDeskIntegrationDto**](ServiceDeskIntegrationDto.md)| The specifics of a new integration to create | + +### Return type + +[**ServiceDeskIntegrationDto**](ServiceDeskIntegrationDto.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Remove-V2024ServiceDeskIntegration** +> void Remove-V2024ServiceDeskIntegration
+>         [-Id]
+ +Delete a Service Desk integration + +Delete an existing Service Desk integration by ID. A token with Org Admin or Service Desk Admin authority is required to access this endpoint. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "anId" # String | ID of Service Desk integration to delete + +# Delete a Service Desk integration +try { + $Result = Remove-V2024ServiceDeskIntegration -Id $Id +} catch { + Write-Host ("Exception occurred when calling Remove-V2024ServiceDeskIntegration: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| ID of Service Desk integration to delete | + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024ServiceDeskIntegration** +> ServiceDeskIntegrationDto Get-V2024ServiceDeskIntegration
+>         [-Id]
+ +Get a Service Desk integration + +Get an existing Service Desk integration by ID. A token with Org Admin or Service Desk Admin authority is required to access this endpoint. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "anId" # String | ID of the Service Desk integration to get + +# Get a Service Desk integration +try { + $Result = Get-V2024ServiceDeskIntegration -Id $Id +} catch { + Write-Host ("Exception occurred when calling Get-V2024ServiceDeskIntegration: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| ID of the Service Desk integration to get | + +### Return type + +[**ServiceDeskIntegrationDto**](ServiceDeskIntegrationDto.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024ServiceDeskIntegrationTemplate** +> ServiceDeskIntegrationTemplateDto Get-V2024ServiceDeskIntegrationTemplate
+>         [-ScriptName]
+ +Service Desk integration template by scriptName. + +This API endpoint returns an existing Service Desk integration template by scriptName. A token with Org Admin or Service Desk Admin authority is required to access this endpoint. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$ScriptName = "aScriptName" # String | The scriptName value of the Service Desk integration template to get + +# Service Desk integration template by scriptName. +try { + $Result = Get-V2024ServiceDeskIntegrationTemplate -ScriptName $ScriptName +} catch { + Write-Host ("Exception occurred when calling Get-V2024ServiceDeskIntegrationTemplate: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ScriptName** | **String**| The scriptName value of the Service Desk integration template to get | + +### Return type + +[**ServiceDeskIntegrationTemplateDto**](ServiceDeskIntegrationTemplateDto.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024ServiceDeskIntegrationTypes** +> ServiceDeskIntegrationTemplateType[] Get-V2024ServiceDeskIntegrationTypes
+ +Service Desk Integration Types List. + +This API endpoint returns the current list of supported Service Desk integration types. A token with Org Admin or Service Desk Admin authority is required to access this endpoint. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + + +# Service Desk Integration Types List. +try { + $Result = Get-V2024ServiceDeskIntegrationTypes +} catch { + Write-Host ("Exception occurred when calling Get-V2024ServiceDeskIntegrationTypes: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**ServiceDeskIntegrationTemplateType[]**](ServiceDeskIntegrationTemplateType.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024ServiceDeskIntegrations** +> ServiceDeskIntegrationDto[] Get-V2024ServiceDeskIntegrations
+>         [-Offset]
+>         [-Limit]
+>         [-Sorters]
+>         [-Filters]
+>         [-Count]
+ +List existing Service Desk Integrations + +Get a list of ServiceDeskIntegrationDto for existing Service Desk Integrations. A token with Org Admin or Service Desk Admin authority is required to access this endpoint. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Sorters = "name" # String | 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: **name** (optional) +$Filters = "name eq "John Doe"" # 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, in* **name**: *eq* **type**: *eq, in* **cluster**: *eq, in* (optional) +$Count = $true # Boolean | 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. (optional) (default to $false) + +# List existing Service Desk Integrations +try { + $Result = Get-V2024ServiceDeskIntegrations -Offset $Offset -Limit $Limit -Sorters $Sorters -Filters $Filters -Count $Count +} catch { + Write-Host ("Exception occurred when calling Get-V2024ServiceDeskIntegrations: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Sorters** | **String**| 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: **name** | [optional] + **Filters** | **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, in* **name**: *eq* **type**: *eq, in* **cluster**: *eq, in* | [optional] + **Count** | **Boolean**| 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. | [optional] [default to $false] + +### Return type + +[**ServiceDeskIntegrationDto[]**](ServiceDeskIntegrationDto.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024StatusCheckDetails** +> QueuedCheckConfigDetails Get-V2024StatusCheckDetails
+ +Get the time check configuration + +Get the time check configuration of queued SDIM tickets. A token with Org Admin or Service Desk Admin authority is required to access this endpoint. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + + +# Get the time check configuration +try { + $Result = Get-V2024StatusCheckDetails +} catch { + Write-Host ("Exception occurred when calling Get-V2024StatusCheckDetails: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**QueuedCheckConfigDetails**](QueuedCheckConfigDetails.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Update-V2024ServiceDeskIntegration** +> ServiceDeskIntegrationDto Update-V2024ServiceDeskIntegration
+>         [-Id]
+>         [-PatchServiceDeskIntegrationRequest]
+ +Service Desk Integration Update PATCH + +Update an existing ServiceDeskIntegration by ID with a PATCH request. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "anId" # String | ID of the Service Desk integration to update +$JsonPatchOperationValue = Initialize-JsonPatchOperationValue +$JsonPatchOperation = Initialize-JsonPatchOperation -Op "add" -Path "/description" -Value $JsonPatchOperationValue + +$PatchServiceDeskIntegrationRequest = Initialize-PatchServiceDeskIntegrationRequest -Operations $JsonPatchOperation # PatchServiceDeskIntegrationRequest | A list of SDIM update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. Only `replace` operations are accepted by this endpoint. A 403 Forbidden Error indicates that you attempted to PATCH a operation that is not allowed. + +# Service Desk Integration Update PATCH +try { + $Result = Update-V2024ServiceDeskIntegration -Id $Id -PatchServiceDeskIntegrationRequest $PatchServiceDeskIntegrationRequest +} catch { + Write-Host ("Exception occurred when calling Update-V2024ServiceDeskIntegration: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| ID of the Service Desk integration to update | + **PatchServiceDeskIntegrationRequest** | [**PatchServiceDeskIntegrationRequest**](PatchServiceDeskIntegrationRequest.md)| A list of SDIM update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. Only `replace` operations are accepted by this endpoint. A 403 Forbidden Error indicates that you attempted to PATCH a operation that is not allowed. | + +### Return type + +[**ServiceDeskIntegrationDto**](ServiceDeskIntegrationDto.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Send-V2024ServiceDeskIntegration** +> ServiceDeskIntegrationDto Send-V2024ServiceDeskIntegration
+>         [-Id]
+>         [-ServiceDeskIntegrationDto]
+ +Update a Service Desk integration + +Update an existing Service Desk integration by ID with updated value in JSON form as the request body. A token with Org Admin or Service Desk Admin authority is required to access this endpoint. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "anId" # String | ID of the Service Desk integration to update +$OwnerDto = Initialize-OwnerDto -Type "IDENTITY" -Id "2c9180a46faadee4016fb4e018c20639" -Name "Support" +$SourceClusterDto = Initialize-SourceClusterDto -Type "CLUSTER" -Id "2c9180847a7fccdd017aa5896f9f4f6f" -Name "Training VA" + +$ServiceDeskSource = Initialize-ServiceDeskSource -Type "SOURCE" -Id "2c9180835d191a86015d28455b4b232a" -Name "HR Active Directory" +$ProvisioningConfigPlanInitializerScript = Initialize-ProvisioningConfigPlanInitializerScript -Source "\r\n\r\n\r\n Before Provisioning Rule which changes disables and enables to a modify.\r\n +" +$ProvisioningConfig = Initialize-ProvisioningConfig -UniversalManager $true -ManagedResourceRefs $ServiceDeskSource -PlanInitializerScript $ProvisioningConfigPlanInitializerScript -NoProvisioningRequests $true -ProvisioningRequestExpiration 7 + +$BeforeProvisioningRuleDto = Initialize-BeforeProvisioningRuleDto -Type "RULE" -Id "048eb3d55c5a4758bd07dccb87741c78" -Name "Before Provisioning Airtable Rule" +$ServiceDeskIntegrationDto = Initialize-ServiceDeskIntegrationDto -Id "62945a496ef440189b1f03e3623411c8" -Name "Service Desk Integration Name" -Created (Get-Date) -Modified (Get-Date) -Description "A very nice Service Desk integration" -Type "ServiceNowSDIM" -OwnerRef $OwnerDto -ClusterRef $SourceClusterDto -Cluster "xyzzy999" -ManagedSources "MyManagedSources" -ProvisioningConfig $ProvisioningConfig -Attributes @{ key_example = } -BeforeProvisioningRule $BeforeProvisioningRuleDto # ServiceDeskIntegrationDto | The specifics of the integration to update + +# Update a Service Desk integration +try { + $Result = Send-V2024ServiceDeskIntegration -Id $Id -ServiceDeskIntegrationDto $ServiceDeskIntegrationDto +} catch { + Write-Host ("Exception occurred when calling Send-V2024ServiceDeskIntegration: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| ID of the Service Desk integration to update | + **ServiceDeskIntegrationDto** | [**ServiceDeskIntegrationDto**](ServiceDeskIntegrationDto.md)| The specifics of the integration to update | + +### Return type + +[**ServiceDeskIntegrationDto**](ServiceDeskIntegrationDto.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Update-V2024StatusCheckDetails** +> QueuedCheckConfigDetails Update-V2024StatusCheckDetails
+>         [-QueuedCheckConfigDetails]
+ +Update the time check configuration + +Update the time check configuration of queued SDIM tickets. A token with Org Admin or Service Desk Admin authority is required to access this endpoint. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$QueuedCheckConfigDetails = Initialize-QueuedCheckConfigDetails -ProvisioningStatusCheckIntervalMinutes "30" -ProvisioningMaxStatusCheckDays "2" # QueuedCheckConfigDetails | the modified time check configuration + +# Update the time check configuration +try { + $Result = Update-V2024StatusCheckDetails -QueuedCheckConfigDetails $QueuedCheckConfigDetails +} catch { + Write-Host ("Exception occurred when calling Update-V2024StatusCheckDetails: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **QueuedCheckConfigDetails** | [**QueuedCheckConfigDetails**](QueuedCheckConfigDetails.md)| the modified time check configuration | + +### Return type + +[**QueuedCheckConfigDetails**](QueuedCheckConfigDetails.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024SourceUsagesApi.md b/PSSailpoint/v2024/docs/V2024SourceUsagesApi.md new file mode 100644 index 000000000..7fbbc6f8a --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024SourceUsagesApi.md @@ -0,0 +1,124 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024SourceUsagesApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**Get-V2024StatusBySourceId**](V2024SourceUsagesApi.md#Get-V2024StatusBySourceId) | **GET** /source-usages/{sourceId}/status | Finds status of source usage +[**Get-V2024UsagesBySourceId**](V2024SourceUsagesApi.md#Get-V2024UsagesBySourceId) | **GET** /source-usages/{sourceId}/summaries | Returns source usage insights + + + +# **Get-V2024StatusBySourceId** +> SourceUsageStatus Get-V2024StatusBySourceId
+>         [-SourceId]
+ +Finds status of source usage + +This API returns the status of the source usage insights setup by IDN source ID. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$SourceId = "2c9180835d191a86015d28455b4a2329" # String | ID of IDN source + +# Finds status of source usage +try { + $Result = Get-V2024StatusBySourceId -SourceId $SourceId +} catch { + Write-Host ("Exception occurred when calling Get-V2024StatusBySourceId: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **SourceId** | **String**| ID of IDN source | + +### Return type + +[**SourceUsageStatus**](SourceUsageStatus.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024UsagesBySourceId** +> SourceUsage[] Get-V2024UsagesBySourceId
+>         [-SourceId]
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+>         [-Sorters]
+ +Returns source usage insights + +This API returns a summary of source usage insights for past 12 months. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$SourceId = "2c9180835d191a86015d28455b4a2329" # String | ID of IDN source +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) +$Sorters = "-date" # String | 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: **date** (optional) + +# Returns source usage insights +try { + $Result = Get-V2024UsagesBySourceId -SourceId $SourceId -Limit $Limit -Offset $Offset -Count $Count -Sorters $Sorters +} catch { + Write-Host ("Exception occurred when calling Get-V2024UsagesBySourceId: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **SourceId** | **String**| ID of IDN source | + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **Sorters** | **String**| 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: **date** | [optional] + +### Return type + +[**SourceUsage[]**](SourceUsage.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024SourcesApi.md b/PSSailpoint/v2024/docs/V2024SourcesApi.md new file mode 100644 index 000000000..85d25ff06 --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024SourcesApi.md @@ -0,0 +1,2352 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024SourcesApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**New-V2024ProvisioningPolicy**](V2024SourcesApi.md#New-V2024ProvisioningPolicy) | **POST** /sources/{sourceId}/provisioning-policies | Create Provisioning Policy +[**New-V2024Source**](V2024SourcesApi.md#New-V2024Source) | **POST** /sources | Creates a source in IdentityNow. +[**New-V2024SourceSchema**](V2024SourcesApi.md#New-V2024SourceSchema) | **POST** /sources/{sourceId}/schemas | Create Schema on Source +[**Remove-V2024AccountsAsync**](V2024SourcesApi.md#Remove-V2024AccountsAsync) | **POST** /sources/{id}/remove-accounts | Remove All Accounts in a Source +[**Remove-V2024NativeChangeDetectionConfig**](V2024SourcesApi.md#Remove-V2024NativeChangeDetectionConfig) | **DELETE** /sources/{sourceId}/native-change-detection-config | Delete Native Change Detection Configuration +[**Remove-V2024ProvisioningPolicy**](V2024SourcesApi.md#Remove-V2024ProvisioningPolicy) | **DELETE** /sources/{sourceId}/provisioning-policies/{usageType} | Delete Provisioning Policy by UsageType +[**Remove-V2024Source**](V2024SourcesApi.md#Remove-V2024Source) | **DELETE** /sources/{id} | Delete Source by ID +[**Remove-V2024SourceSchema**](V2024SourcesApi.md#Remove-V2024SourceSchema) | **DELETE** /sources/{sourceId}/schemas/{schemaId} | Delete Source Schema by ID +[**Get-V2024AccountsSchema**](V2024SourcesApi.md#Get-V2024AccountsSchema) | **GET** /sources/{id}/schemas/accounts | Downloads source accounts schema template +[**Get-V2024EntitlementsSchema**](V2024SourcesApi.md#Get-V2024EntitlementsSchema) | **GET** /sources/{id}/schemas/entitlements | Downloads source entitlements schema template +[**Get-V2024NativeChangeDetectionConfig**](V2024SourcesApi.md#Get-V2024NativeChangeDetectionConfig) | **GET** /sources/{sourceId}/native-change-detection-config | Native Change Detection Configuration +[**Get-V2024ProvisioningPolicy**](V2024SourcesApi.md#Get-V2024ProvisioningPolicy) | **GET** /sources/{sourceId}/provisioning-policies/{usageType} | Get Provisioning Policy by UsageType +[**Get-V2024Source**](V2024SourcesApi.md#Get-V2024Source) | **GET** /sources/{id} | Get Source by ID +[**Get-V2024SourceAttrSyncConfig**](V2024SourcesApi.md#Get-V2024SourceAttrSyncConfig) | **GET** /sources/{id}/attribute-sync-config | Attribute Sync Config +[**Get-V2024SourceConfig**](V2024SourcesApi.md#Get-V2024SourceConfig) | **GET** /sources/{id}/connectors/source-config | Gets source config with language translations +[**Get-V2024SourceEntitlementRequestConfig**](V2024SourcesApi.md#Get-V2024SourceEntitlementRequestConfig) | **GET** /sources/{id}/entitlement-request-config | Get Source Entitlement Request Configuration +[**Get-V2024SourceHealth**](V2024SourcesApi.md#Get-V2024SourceHealth) | **GET** /sources/{sourceId}/source-health | Fetches source health by id +[**Get-V2024SourceSchema**](V2024SourcesApi.md#Get-V2024SourceSchema) | **GET** /sources/{sourceId}/schemas/{schemaId} | Get Source Schema by ID +[**Get-V2024SourceSchemas**](V2024SourcesApi.md#Get-V2024SourceSchemas) | **GET** /sources/{sourceId}/schemas | List Schemas on Source +[**Import-V2024Accounts**](V2024SourcesApi.md#Import-V2024Accounts) | **POST** /sources/{id}/load-accounts | Account Aggregation +[**Import-V2024AccountsSchema**](V2024SourcesApi.md#Import-V2024AccountsSchema) | **POST** /sources/{id}/schemas/accounts | Uploads source accounts schema template +[**Import-V2024ConnectorFile**](V2024SourcesApi.md#Import-V2024ConnectorFile) | **POST** /sources/{sourceId}/upload-connector-file | Upload connector file to source +[**Import-V2024EntitlementsSchema**](V2024SourcesApi.md#Import-V2024EntitlementsSchema) | **POST** /sources/{id}/schemas/entitlements | Uploads source entitlements schema template +[**Import-V2024UncorrelatedAccounts**](V2024SourcesApi.md#Import-V2024UncorrelatedAccounts) | **POST** /sources/{id}/load-uncorrelated-accounts | Process Uncorrelated Accounts +[**Get-V2024ProvisioningPolicies**](V2024SourcesApi.md#Get-V2024ProvisioningPolicies) | **GET** /sources/{sourceId}/provisioning-policies | Lists ProvisioningPolicies +[**Get-V2024Sources**](V2024SourcesApi.md#Get-V2024Sources) | **GET** /sources | Lists all sources in IdentityNow. +[**Receive-V2024ResourceObjects**](V2024SourcesApi.md#Receive-V2024ResourceObjects) | **POST** /sources/{sourceId}/connector/peek-resource-objects | Peek source connector's resource objects +[**Ping-V2024Cluster**](V2024SourcesApi.md#Ping-V2024Cluster) | **POST** /sources/{sourceId}/connector/ping-cluster | Ping cluster for source connector +[**Send-V2024NativeChangeDetectionConfig**](V2024SourcesApi.md#Send-V2024NativeChangeDetectionConfig) | **PUT** /sources/{sourceId}/native-change-detection-config | Update Native Change Detection Configuration +[**Send-V2024ProvisioningPolicy**](V2024SourcesApi.md#Send-V2024ProvisioningPolicy) | **PUT** /sources/{sourceId}/provisioning-policies/{usageType} | Update Provisioning Policy by UsageType +[**Send-V2024Source**](V2024SourcesApi.md#Send-V2024Source) | **PUT** /sources/{id} | Update Source (Full) +[**Send-V2024SourceAttrSyncConfig**](V2024SourcesApi.md#Send-V2024SourceAttrSyncConfig) | **PUT** /sources/{id}/attribute-sync-config | Update Attribute Sync Config +[**Send-V2024SourceSchema**](V2024SourcesApi.md#Send-V2024SourceSchema) | **PUT** /sources/{sourceId}/schemas/{schemaId} | Update Source Schema (Full) +[**Sync-V2024AttributesForSource**](V2024SourcesApi.md#Sync-V2024AttributesForSource) | **POST** /sources/{id}/synchronize-attributes | Synchronize single source attributes. +[**Test-V2024SourceConfiguration**](V2024SourcesApi.md#Test-V2024SourceConfiguration) | **POST** /sources/{sourceId}/connector/test-configuration | Test configuration for source connector +[**Test-V2024SourceConnection**](V2024SourcesApi.md#Test-V2024SourceConnection) | **POST** /sources/{sourceId}/connector/check-connection | Check connection for source connector. +[**Update-V2024ProvisioningPoliciesInBulk**](V2024SourcesApi.md#Update-V2024ProvisioningPoliciesInBulk) | **POST** /sources/{sourceId}/provisioning-policies/bulk-update | Bulk Update Provisioning Policies +[**Update-V2024ProvisioningPolicy**](V2024SourcesApi.md#Update-V2024ProvisioningPolicy) | **PATCH** /sources/{sourceId}/provisioning-policies/{usageType} | Partial update of Provisioning Policy +[**Update-V2024Source**](V2024SourcesApi.md#Update-V2024Source) | **PATCH** /sources/{id} | Update Source (Partial) +[**Update-V2024SourceEntitlementRequestConfig**](V2024SourcesApi.md#Update-V2024SourceEntitlementRequestConfig) | **PUT** /sources/{id}/entitlement-request-config | Update Source Entitlement Request Configuration +[**Update-V2024SourceSchema**](V2024SourcesApi.md#Update-V2024SourceSchema) | **PATCH** /sources/{sourceId}/schemas/{schemaId} | Update Source Schema (Partial) + + + +# **New-V2024ProvisioningPolicy** +> ProvisioningPolicyDto New-V2024ProvisioningPolicy
+>         [-SourceId]
+>         [-ProvisioningPolicyDto]
+ +Create Provisioning Policy + +This API generates a create policy/template based on field value transforms. This API is intended for use when setting up JDBC Provisioning type sources, but it will also work on other source types. Transforms can be used in the provisioning policy to create a new attribute that you only need during provisioning. Refer to [Transforms in Provisioning Policies](https://developer.sailpoint.com/idn/docs/transforms/guides/transforms-in-provisioning-policies) for more information. A token with ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$SourceId = "2c9180835d191a86015d28455b4a2329" # String | The Source id +$FieldDetailsDto = Initialize-FieldDetailsDto -Name "userName" -Transform -Attributes -IsRequired $false -Type "string" -IsMultiValued $false +$ProvisioningPolicyDto = Initialize-ProvisioningPolicyDto -Name "example provisioning policy for inactive identities" -Description "this provisioning policy creates access based on an identity going inactive" -UsageType "CREATE" -Fields $FieldDetailsDto # ProvisioningPolicyDto | + +# Create Provisioning Policy +try { + $Result = New-V2024ProvisioningPolicy -SourceId $SourceId -ProvisioningPolicyDto $ProvisioningPolicyDto +} catch { + Write-Host ("Exception occurred when calling New-V2024ProvisioningPolicy: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **SourceId** | **String**| The Source id | + **ProvisioningPolicyDto** | [**ProvisioningPolicyDto**](ProvisioningPolicyDto.md)| | + +### Return type + +[**ProvisioningPolicyDto**](ProvisioningPolicyDto.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **New-V2024Source** +> Source New-V2024Source
+>         [-Source]
+>         [-ProvisionAsCsv]
+ +Creates a source in IdentityNow. + +This creates a specific source with a full source JSON representation. Any passwords are submitted as plain-text and encrypted upon receipt in IdentityNow. A token with ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$SourceOwner = Initialize-SourceOwner -Type "IDENTITY" -Id "2c91808568c529c60168cca6f90c1313" -Name "MyName" +$SourceCluster = Initialize-SourceCluster -Type "CLUSTER" -Id "2c9180866166b5b0016167c32ef31a66" -Name "Corporate Cluster" +$SourceAccountCorrelationConfig = Initialize-SourceAccountCorrelationConfig -Type "ACCOUNT_CORRELATION_CONFIG" -Id "2c9180855d191c59015d28583727245a" -Name "Directory [source-62867] Account Correlation" +$SourceAccountCorrelationRule = Initialize-SourceAccountCorrelationRule -Type "RULE" -Id "2c918085708c274401708c2a8a760001" -Name "Example Rule" +$SourceManagerCorrelationMapping = Initialize-SourceManagerCorrelationMapping -AccountAttributeName "manager" -IdentityAttributeName "manager" +$SourceManagerCorrelationRule = Initialize-SourceManagerCorrelationRule -Type "RULE" -Id "2c918085708c274401708c2a8a760001" -Name "Example Rule" +$SourceBeforeProvisioningRule = Initialize-SourceBeforeProvisioningRule -Type "RULE" -Id "2c918085708c274401708c2a8a760001" -Name "Example Rule" +$SourceSchemasInner = Initialize-SourceSchemasInner -Type "CONNECTOR_SCHEMA" -Id "2c91808568c529c60168cca6f90c1777" -Name "MySchema" +$SourcePasswordPoliciesInner = Initialize-SourcePasswordPoliciesInner -Type "PASSWORD_POLICY" -Id "2c91808568c529c60168cca6f90c1777" -Name "My Password Policy" +"AUTHENTICATE"$SourceManagementWorkgroup = Initialize-SourceManagementWorkgroup -Type "GOVERNANCE_GROUP" -Id "2c91808568c529c60168cca6f90c2222" -Name "My Management Workgroup" +$Source = Initialize-Source -Id "2c91808568c529c60168cca6f90c1324" -Name "My Source" -Description "This is the corporate directory." -Owner $SourceOwner -Cluster $SourceCluster -AccountCorrelationConfig $SourceAccountCorrelationConfig -AccountCorrelationRule $SourceAccountCorrelationRule -ManagerCorrelationMapping $SourceManagerCorrelationMapping -ManagerCorrelationRule $SourceManagerCorrelationRule -BeforeProvisioningRule $SourceBeforeProvisioningRule -Schemas $SourceSchemasInner -PasswordPolicies $SourcePasswordPoliciesInner -Features +$SourceOwner = Initialize-SourceOwner -Type "IDENTITY" -Id "2c91808568c529c60168cca6f90c1313" -Name "MyName" +$SourceCluster = Initialize-SourceCluster -Type "CLUSTER" -Id "2c9180866166b5b0016167c32ef31a66" -Name "Corporate Cluster" +$SourceAccountCorrelationConfig = Initialize-SourceAccountCorrelationConfig -Type "ACCOUNT_CORRELATION_CONFIG" -Id "2c9180855d191c59015d28583727245a" -Name "Directory [source-62867] Account Correlation" +$SourceAccountCorrelationRule = Initialize-SourceAccountCorrelationRule -Type "RULE" -Id "2c918085708c274401708c2a8a760001" -Name "Example Rule" +$SourceManagerCorrelationMapping = Initialize-SourceManagerCorrelationMapping -AccountAttributeName "manager" -IdentityAttributeName "manager" +$SourceManagerCorrelationRule = Initialize-SourceManagerCorrelationRule -Type "RULE" -Id "2c918085708c274401708c2a8a760001" -Name "Example Rule" +$SourceBeforeProvisioningRule = Initialize-SourceBeforeProvisioningRule -Type "RULE" -Id "2c918085708c274401708c2a8a760001" -Name "Example Rule" +$SourceSchemasInner = Initialize-SourceSchemasInner -Type "CONNECTOR_SCHEMA" -Id "2c91808568c529c60168cca6f90c1777" -Name "MySchema" +$SourcePasswordPoliciesInner = Initialize-SourcePasswordPoliciesInner -Type "PASSWORD_POLICY" -Id "2c91808568c529c60168cca6f90c1777" -Name "My Password Policy" +"AUTHENTICATE" -Type "OpenLDAP - Direct" -Connector "active-directory" -ConnectorClass "sailpoint.connector.LDAPConnector" -ConnectorAttributes -DeleteThreshold 10 -Authoritative $false -ManagementWorkgroup $SourceManagementWorkgroup -Healthy $true -Status "SOURCE_STATE_ERROR_ACCOUNT_FILE_IMPORT" -Since "2021-09-28T15:48:29.3801666300Z" -ConnectorId "active-directory" -ConnectorName "Active Directory" -ConnectionType "file" -ConnectorImplementationId "delimited-file" -Created (Get-Date) -Modified (Get-Date) -CredentialProviderEnabled $false -Category "CredentialProvider" # Source | +$ProvisionAsCsv = $false # Boolean | If this parameter is `true`, it configures the source as a Delimited File (CSV) source. Setting this to `true` will automatically set the `type` of the source to `DelimitedFile`. You must use this query parameter to create a Delimited File source as you would in the UI. If you don't set this query parameter and you attempt to set the `type` attribute directly, the request won't correctly generate the source. (optional) + +# Creates a source in IdentityNow. +try { + $Result = New-V2024Source -Source $Source -ProvisionAsCsv $ProvisionAsCsv +} catch { + Write-Host ("Exception occurred when calling New-V2024Source: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Source** | [**Source**](Source.md)| | + **ProvisionAsCsv** | **Boolean**| If this parameter is `true`, it configures the source as a Delimited File (CSV) source. Setting this to `true` will automatically set the `type` of the source to `DelimitedFile`. You must use this query parameter to create a Delimited File source as you would in the UI. If you don't set this query parameter and you attempt to set the `type` attribute directly, the request won't correctly generate the source. | [optional] + +### Return type + +[**Source**](Source.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **New-V2024SourceSchema** +> Schema New-V2024SourceSchema
+>         [-SourceId]
+>         [-Schema]
+ +Create Schema on Source + +Use this API to create a new schema on the specified source in Identity Security Cloud (ISC). + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$SourceId = "2c9180835d191a86015d28455b4a2329" # String | Source ID. +"AUTHENTICATE" + +$AttributeDefinitionSchema = Initialize-AttributeDefinitionSchema -Type "CONNECTOR_SCHEMA" -Id "2c91808568c529c60168cca6f90c1313" -Name "group" +$AttributeDefinition = Initialize-AttributeDefinition -Name "sAMAccountName" -Type "STRING" -Schema $AttributeDefinitionSchema -Description "SAM Account Name" -IsMulti $false -IsEntitlement $false -IsGroup $false + +$Schema = Initialize-Schema -Id "2c9180835d191a86015d28455b4a2329" -Name "account" -NativeObjectType "User" -IdentityAttribute "sAMAccountName" -DisplayAttribute "distinguishedName" -HierarchyAttribute "memberOf" -IncludePermissions $false -Features "AUTHENTICATE" -Configuration -Attributes $AttributeDefinition -Created (Get-Date) -Modified (Get-Date) # Schema | + +# Create Schema on Source +try { + $Result = New-V2024SourceSchema -SourceId $SourceId -Schema $Schema +} catch { + Write-Host ("Exception occurred when calling New-V2024SourceSchema: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **SourceId** | **String**| Source ID. | + **Schema** | [**Schema**](Schema.md)| | + +### Return type + +[**Schema**](Schema.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Remove-V2024AccountsAsync** +> TaskResultDto Remove-V2024AccountsAsync
+>         [-Id]
+>         [-XSailPointExperimental]
+ +Remove All Accounts in a Source + +Use this endpoint to remove all accounts from the system without provisioning changes to the source. Accounts that are removed could be re-created during the next aggregation. This endpoint is good for: * Removing accounts that no longer exist on the source. * Removing accounts that won't be aggregated following updates to the source configuration. * Forcing accounts to be re-created following the next aggregation to re-run account processing, support testing, etc. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ebbf35756e1140699ce52b233121384a" # String | The source id +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Remove All Accounts in a Source +try { + $Result = Remove-V2024AccountsAsync -Id $Id -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Remove-V2024AccountsAsync: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The source id | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**TaskResultDto**](TaskResultDto.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Remove-V2024NativeChangeDetectionConfig** +> void Remove-V2024NativeChangeDetectionConfig
+>         [-Id]
+>         [-XSailPointExperimental]
+ +Delete Native Change Detection Configuration + +Deletes the native change detection configuration for the source specified by the given ID. A token with API, or ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "2c9180835d191a86015d28455b4a2329" # String | The source id +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Delete Native Change Detection Configuration +try { + $Result = Remove-V2024NativeChangeDetectionConfig -Id $Id -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Remove-V2024NativeChangeDetectionConfig: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The source id | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Remove-V2024ProvisioningPolicy** +> void Remove-V2024ProvisioningPolicy
+>         [-SourceId]
+>         [-UsageType]
+ +Delete Provisioning Policy by UsageType + +Deletes the provisioning policy with the specified usage on an application. A token with API, or ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$SourceId = "2c9180835d191a86015d28455b4a2329" # String | The Source ID. +$UsageType = "CREATE" # UsageType | The type of provisioning policy usage. In IdentityNow, a source can support various provisioning operations. For example, when a joiner is added to a source, this may trigger both CREATE and UPDATE provisioning operations. Each usage type is considered a provisioning policy. A source can have any number of these provisioning policies defined. These are the common usage types: CREATE - This usage type relates to 'Create Account Profile', the provisioning template for the account to be created. For example, this would be used for a joiner on a source. UPDATE - This usage type relates to 'Update Account Profile', the provisioning template for the 'Update' connector operations. For example, this would be used for an attribute sync on a source. ENABLE - This usage type relates to 'Enable Account Profile', the provisioning template for the account to be enabled. For example, this could be used for a joiner on a source once the joiner's account is created. DISABLE - This usage type relates to 'Disable Account Profile', the provisioning template for the account to be disabled. For example, this could be used when a leaver is removed temporarily from a source. You can use these four usage types for all your provisioning policy needs. + +# Delete Provisioning Policy by UsageType +try { + $Result = Remove-V2024ProvisioningPolicy -SourceId $SourceId -UsageType $UsageType +} catch { + Write-Host ("Exception occurred when calling Remove-V2024ProvisioningPolicy: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **SourceId** | **String**| The Source ID. | + **UsageType** | [**UsageType**](UsageType.md)| The type of provisioning policy usage. In IdentityNow, a source can support various provisioning operations. For example, when a joiner is added to a source, this may trigger both CREATE and UPDATE provisioning operations. Each usage type is considered a provisioning policy. A source can have any number of these provisioning policies defined. These are the common usage types: CREATE - This usage type relates to 'Create Account Profile', the provisioning template for the account to be created. For example, this would be used for a joiner on a source. UPDATE - This usage type relates to 'Update Account Profile', the provisioning template for the 'Update' connector operations. For example, this would be used for an attribute sync on a source. ENABLE - This usage type relates to 'Enable Account Profile', the provisioning template for the account to be enabled. For example, this could be used for a joiner on a source once the joiner's account is created. DISABLE - This usage type relates to 'Disable Account Profile', the provisioning template for the account to be disabled. For example, this could be used when a leaver is removed temporarily from a source. You can use these four usage types for all your provisioning policy needs. | + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Remove-V2024Source** +> DeleteSource202Response Remove-V2024Source
+>         [-Id]
+ +Delete Source by ID + +Use this API to delete a specific source in Identity Security Cloud (ISC). The API removes all the accounts on the source first, and then it deletes the source. You can retrieve the actual task execution status with this method: GET `/task-status/{id}` A token with ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "2c9180835d191a86015d28455b4a2329" # String | Source ID. + +# Delete Source by ID +try { + $Result = Remove-V2024Source -Id $Id +} catch { + Write-Host ("Exception occurred when calling Remove-V2024Source: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| Source ID. | + +### Return type + +[**DeleteSource202Response**](DeleteSource202Response.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Remove-V2024SourceSchema** +> void Remove-V2024SourceSchema
+>         [-SourceId]
+>         [-SchemaId]
+ +Delete Source Schema by ID + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$SourceId = "2c9180835d191a86015d28455b4a2329" # String | The Source id. +$SchemaId = "2c9180835d191a86015d28455b4a2329" # String | The Schema id. + +# Delete Source Schema by ID +try { + $Result = Remove-V2024SourceSchema -SourceId $SourceId -SchemaId $SchemaId +} catch { + Write-Host ("Exception occurred when calling Remove-V2024SourceSchema: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **SourceId** | **String**| The Source id. | + **SchemaId** | **String**| The Schema id. | + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024AccountsSchema** +> void Get-V2024AccountsSchema
+>         [-Id]
+ +Downloads source accounts schema template + +This API downloads the CSV schema that defines the account attributes on a source. >**NOTE: This API is designated only for Delimited File sources.** + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "8c190e6787aa4ed9a90bd9d5344523fb" # String | The Source id + +# Downloads source accounts schema template +try { + $Result = Get-V2024AccountsSchema -Id $Id +} catch { + Write-Host ("Exception occurred when calling Get-V2024AccountsSchema: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The Source id | + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: text/csv, application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024EntitlementsSchema** +> void Get-V2024EntitlementsSchema
+>         [-Id]
+>         [-SchemaName]
+ +Downloads source entitlements schema template + +This API downloads the CSV schema that defines the entitlement attributes on a source. >**NOTE: This API is designated only for Delimited File sources.** + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "8c190e6787aa4ed9a90bd9d5344523fb" # String | The Source id +$SchemaName = "?schemaName=group" # String | Name of entitlement schema (optional) + +# Downloads source entitlements schema template +try { + $Result = Get-V2024EntitlementsSchema -Id $Id -SchemaName $SchemaName +} catch { + Write-Host ("Exception occurred when calling Get-V2024EntitlementsSchema: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The Source id | + **SchemaName** | **String**| Name of entitlement schema | [optional] + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: text/csv, application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024NativeChangeDetectionConfig** +> NativeChangeDetectionConfig Get-V2024NativeChangeDetectionConfig
+>         [-Id]
+>         [-XSailPointExperimental]
+ +Native Change Detection Configuration + +This API returns the existing native change detection configuration for a source specified by the given ID. A token with ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "2c9180835d191a86015d28455b4a2329" # String | The source id +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Native Change Detection Configuration +try { + $Result = Get-V2024NativeChangeDetectionConfig -Id $Id -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Get-V2024NativeChangeDetectionConfig: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The source id | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**NativeChangeDetectionConfig**](NativeChangeDetectionConfig.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024ProvisioningPolicy** +> ProvisioningPolicyDto Get-V2024ProvisioningPolicy
+>         [-SourceId]
+>         [-UsageType]
+ +Get Provisioning Policy by UsageType + +This end-point retrieves the ProvisioningPolicy with the specified usage on the specified Source in IdentityNow. A token with API, ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$SourceId = "2c9180835d191a86015d28455b4a2329" # String | The Source ID. +$UsageType = "CREATE" # UsageType | The type of provisioning policy usage. In IdentityNow, a source can support various provisioning operations. For example, when a joiner is added to a source, this may trigger both CREATE and UPDATE provisioning operations. Each usage type is considered a provisioning policy. A source can have any number of these provisioning policies defined. These are the common usage types: CREATE - This usage type relates to 'Create Account Profile', the provisioning template for the account to be created. For example, this would be used for a joiner on a source. UPDATE - This usage type relates to 'Update Account Profile', the provisioning template for the 'Update' connector operations. For example, this would be used for an attribute sync on a source. ENABLE - This usage type relates to 'Enable Account Profile', the provisioning template for the account to be enabled. For example, this could be used for a joiner on a source once the joiner's account is created. DISABLE - This usage type relates to 'Disable Account Profile', the provisioning template for the account to be disabled. For example, this could be used when a leaver is removed temporarily from a source. You can use these four usage types for all your provisioning policy needs. + +# Get Provisioning Policy by UsageType +try { + $Result = Get-V2024ProvisioningPolicy -SourceId $SourceId -UsageType $UsageType +} catch { + Write-Host ("Exception occurred when calling Get-V2024ProvisioningPolicy: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **SourceId** | **String**| The Source ID. | + **UsageType** | [**UsageType**](UsageType.md)| The type of provisioning policy usage. In IdentityNow, a source can support various provisioning operations. For example, when a joiner is added to a source, this may trigger both CREATE and UPDATE provisioning operations. Each usage type is considered a provisioning policy. A source can have any number of these provisioning policies defined. These are the common usage types: CREATE - This usage type relates to 'Create Account Profile', the provisioning template for the account to be created. For example, this would be used for a joiner on a source. UPDATE - This usage type relates to 'Update Account Profile', the provisioning template for the 'Update' connector operations. For example, this would be used for an attribute sync on a source. ENABLE - This usage type relates to 'Enable Account Profile', the provisioning template for the account to be enabled. For example, this could be used for a joiner on a source once the joiner's account is created. DISABLE - This usage type relates to 'Disable Account Profile', the provisioning template for the account to be disabled. For example, this could be used when a leaver is removed temporarily from a source. You can use these four usage types for all your provisioning policy needs. | + +### Return type + +[**ProvisioningPolicyDto**](ProvisioningPolicyDto.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024Source** +> Source Get-V2024Source
+>         [-Id]
+ +Get Source by ID + +Use this API to get a source by a specified ID in Identity Security Cloud (ISC). A token with ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "2c9180835d191a86015d28455b4a2329" # String | Source ID. + +# Get Source by ID +try { + $Result = Get-V2024Source -Id $Id +} catch { + Write-Host ("Exception occurred when calling Get-V2024Source: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| Source ID. | + +### Return type + +[**Source**](Source.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024SourceAttrSyncConfig** +> AttrSyncSourceConfig Get-V2024SourceAttrSyncConfig
+>         [-Id]
+>         [-XSailPointExperimental]
+ +Attribute Sync Config + +This API returns the existing attribute synchronization configuration for a source specified by the given ID. The response contains all attributes, regardless of whether they enabled or not. A token with ORG_ADMIN or HELPDESK authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "2c9180835d191a86015d28455b4a2329" # String | The source id +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Attribute Sync Config +try { + $Result = Get-V2024SourceAttrSyncConfig -Id $Id -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Get-V2024SourceAttrSyncConfig: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The source id | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**AttrSyncSourceConfig**](AttrSyncSourceConfig.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024SourceConfig** +> ConnectorDetail1 Get-V2024SourceConfig
+>         [-Id]
+>         [-XSailPointExperimental]
+>         [-Locale]
+ +Gets source config with language translations + +Looks up and returns the source config for the requested source id after populating the source config values and applying language translations. A token with ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "MyId" # String | The Source id +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Locale = "de" # String | The locale to apply to the config. If no viable locale is given, it will default to ""en"" (optional) + +# Gets source config with language translations +try { + $Result = Get-V2024SourceConfig -Id $Id -XSailPointExperimental $XSailPointExperimental -Locale $Locale +} catch { + Write-Host ("Exception occurred when calling Get-V2024SourceConfig: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The Source id | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Locale** | **String**| The locale to apply to the config. If no viable locale is given, it will default to ""en"" | [optional] + +### Return type + +[**ConnectorDetail1**](ConnectorDetail1.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024SourceEntitlementRequestConfig** +> SourceEntitlementRequestConfig Get-V2024SourceEntitlementRequestConfig
+>         [-XSailPointExperimental]
+ +Get Source Entitlement Request Configuration + +This API gets the current entitlement request configuration for a source. This source-level configuration should apply for all the entitlements in the source. Access request to any entitlements in the source should follow this configuration unless a separate entitlement-level configuration is defined. - During access request, this source-level entitlement request configuration overrides the global organization-level configuration. - However, the entitlement-level configuration (if defined) overrides this source-level configuration. A token with ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Get Source Entitlement Request Configuration +try { + $Result = Get-V2024SourceEntitlementRequestConfig -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Get-V2024SourceEntitlementRequestConfig: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**SourceEntitlementRequestConfig**](SourceEntitlementRequestConfig.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024SourceHealth** +> SourceHealthDto Get-V2024SourceHealth
+>         [-SourceId]
+ +Fetches source health by id + +This endpoint fetches source health by source's id + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$SourceId = "2c9180835d191a86015d28455b4a2329" # String | The Source id. + +# Fetches source health by id +try { + $Result = Get-V2024SourceHealth -SourceId $SourceId +} catch { + Write-Host ("Exception occurred when calling Get-V2024SourceHealth: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **SourceId** | **String**| The Source id. | + +### Return type + +[**SourceHealthDto**](SourceHealthDto.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024SourceSchema** +> Schema Get-V2024SourceSchema
+>         [-SourceId]
+>         [-SchemaId]
+ +Get Source Schema by ID + +Get the Source Schema by ID in IdentityNow. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$SourceId = "2c9180835d191a86015d28455b4a2329" # String | The Source id. +$SchemaId = "2c9180835d191a86015d28455b4a2329" # String | The Schema id. + +# Get Source Schema by ID +try { + $Result = Get-V2024SourceSchema -SourceId $SourceId -SchemaId $SchemaId +} catch { + Write-Host ("Exception occurred when calling Get-V2024SourceSchema: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **SourceId** | **String**| The Source id. | + **SchemaId** | **String**| The Schema id. | + +### Return type + +[**Schema**](Schema.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024SourceSchemas** +> Schema[] Get-V2024SourceSchemas
+>         [-SourceId]
+>         [-IncludeTypes]
+ +List Schemas on Source + +Use this API to list the schemas that exist on the specified source in Identity Security Cloud (ISC). + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$SourceId = "2c9180835d191a86015d28455b4a2329" # String | Source ID. +$IncludeTypes = "group" # String | If this is set to `group`, the API filters the account schema and only returns only group schemas. If this is set to `user`, the API returns the account schema for the source. (optional) + +# List Schemas on Source +try { + $Result = Get-V2024SourceSchemas -SourceId $SourceId -IncludeTypes $IncludeTypes +} catch { + Write-Host ("Exception occurred when calling Get-V2024SourceSchemas: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **SourceId** | **String**| Source ID. | + **IncludeTypes** | **String**| If this is set to `group`, the API filters the account schema and only returns only group schemas. If this is set to `user`, the API returns the account schema for the source. | [optional] + +### Return type + +[**Schema[]**](Schema.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Import-V2024Accounts** +> LoadAccountsTask Import-V2024Accounts
+>         [-Id]
+>         [-XSailPointExperimental]
+>         [-File]
+>         [-DisableOptimization]
+ +Account Aggregation + +Starts an account aggregation on the specified source. If the target source is a delimited file source, then the CSV file needs to be included in the request body. You will also need to set the Content-Type header to `multipart/form-data`. A token with ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f94347e94562b5bb8424a56397d8" # String | Source Id +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$File = # System.IO.FileInfo | The CSV file containing the source accounts to aggregate. (optional) +$DisableOptimization = "MyDisableOptimization" # String | Use this flag to reprocess every account whether or not the data has changed. (optional) + +# Account Aggregation +try { + $Result = Import-V2024Accounts -Id $Id -XSailPointExperimental $XSailPointExperimental -File $File -DisableOptimization $DisableOptimization +} catch { + Write-Host ("Exception occurred when calling Import-V2024Accounts: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| Source Id | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **File** | **System.IO.FileInfo****System.IO.FileInfo**| The CSV file containing the source accounts to aggregate. | [optional] + **DisableOptimization** | **String**| Use this flag to reprocess every account whether or not the data has changed. | [optional] + +### Return type + +[**LoadAccountsTask**](LoadAccountsTask.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: multipart/form-data + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Import-V2024AccountsSchema** +> Schema Import-V2024AccountsSchema
+>         [-Id]
+>         [-File]
+ +Uploads source accounts schema template + +This API uploads a source schema template file to configure a source's account attributes. To retrieve the file to modify and upload, log into Identity Now. Click **Admin** -> **Connections** -> **Sources** -> **`{SourceName}`** -> **Import Data** -> **Account Schema** -> **Options** -> **Download Schema** >**NOTE: This API is designated only for Delimited File sources.** + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "8c190e6787aa4ed9a90bd9d5344523fb" # String | The Source id +$File = # System.IO.FileInfo | (optional) + +# Uploads source accounts schema template +try { + $Result = Import-V2024AccountsSchema -Id $Id -File $File +} catch { + Write-Host ("Exception occurred when calling Import-V2024AccountsSchema: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The Source id | + **File** | **System.IO.FileInfo****System.IO.FileInfo**| | [optional] + +### Return type + +[**Schema**](Schema.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: multipart/form-data + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Import-V2024ConnectorFile** +> Source Import-V2024ConnectorFile
+>         [-SourceId]
+>         [-File]
+ +Upload connector file to source + +This uploads a supplemental source connector file (like jdbc driver jars) to a source's S3 bucket. This also sends ETS and Audit events. A token with ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$SourceId = "2c9180835d191a86015d28455b4a2329" # String | The Source id. +$File = # System.IO.FileInfo | (optional) + +# Upload connector file to source +try { + $Result = Import-V2024ConnectorFile -SourceId $SourceId -File $File +} catch { + Write-Host ("Exception occurred when calling Import-V2024ConnectorFile: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **SourceId** | **String**| The Source id. | + **File** | **System.IO.FileInfo****System.IO.FileInfo**| | [optional] + +### Return type + +[**Source**](Source.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: multipart/form-data + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Import-V2024EntitlementsSchema** +> Schema Import-V2024EntitlementsSchema
+>         [-Id]
+>         [-SchemaName]
+>         [-File]
+ +Uploads source entitlements schema template + +This API uploads a source schema template file to configure a source's entitlement attributes. To retrieve the file to modify and upload, log into Identity Now. Click **Admin** -> **Connections** -> **Sources** -> **`{SourceName}`** -> **Import Data** -> **Import Entitlements** -> **Download** >**NOTE: This API is designated only for Delimited File sources.** + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "8c190e6787aa4ed9a90bd9d5344523fb" # String | The Source id +$SchemaName = "?schemaName=group" # String | Name of entitlement schema (optional) +$File = # System.IO.FileInfo | (optional) + +# Uploads source entitlements schema template +try { + $Result = Import-V2024EntitlementsSchema -Id $Id -SchemaName $SchemaName -File $File +} catch { + Write-Host ("Exception occurred when calling Import-V2024EntitlementsSchema: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The Source id | + **SchemaName** | **String**| Name of entitlement schema | [optional] + **File** | **System.IO.FileInfo****System.IO.FileInfo**| | [optional] + +### Return type + +[**Schema**](Schema.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: multipart/form-data + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Import-V2024UncorrelatedAccounts** +> LoadUncorrelatedAccountsTask Import-V2024UncorrelatedAccounts
+>         [-Id]
+>         [-XSailPointExperimental]
+>         [-File]
+ +Process Uncorrelated Accounts + +File is required for upload. You will also need to set the Content-Type header to `multipart/form-data` + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "75dbec1ebe154d5785da27b95e1dd5d7" # String | Source Id +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$File = # System.IO.FileInfo | (optional) + +# Process Uncorrelated Accounts +try { + $Result = Import-V2024UncorrelatedAccounts -Id $Id -XSailPointExperimental $XSailPointExperimental -File $File +} catch { + Write-Host ("Exception occurred when calling Import-V2024UncorrelatedAccounts: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| Source Id | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **File** | **System.IO.FileInfo****System.IO.FileInfo**| | [optional] + +### Return type + +[**LoadUncorrelatedAccountsTask**](LoadUncorrelatedAccountsTask.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: multipart/form-data + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024ProvisioningPolicies** +> ProvisioningPolicyDto[] Get-V2024ProvisioningPolicies
+>         [-SourceId]
+ +Lists ProvisioningPolicies + +This end-point lists all the ProvisioningPolicies in IdentityNow. A token with API, or ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$SourceId = "2c9180835d191a86015d28455b4a2329" # String | The Source id + +# Lists ProvisioningPolicies +try { + $Result = Get-V2024ProvisioningPolicies -SourceId $SourceId +} catch { + Write-Host ("Exception occurred when calling Get-V2024ProvisioningPolicies: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **SourceId** | **String**| The Source id | + +### Return type + +[**ProvisioningPolicyDto[]**](ProvisioningPolicyDto.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024Sources** +> Source[] Get-V2024Sources
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+>         [-Filters]
+>         [-Sorters]
+>         [-ForSubadmin]
+ +Lists all sources in IdentityNow. + +This end-point lists all the sources in IdentityNow. A token with ORG_ADMIN, SOURCE_ADMIN, SOURCE_SUBADMIN, or ROLE_SUBADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) +$Filters = "name eq "Employees"" # 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, in, ge, gt, le, lt, ne, isnull, sw* **name**: *co, eq, in, sw, ge, gt, ne, isnull* **type**: *eq, in, ge, gt, ne, isnull, sw* **owner.id**: *eq, in, ge, gt, le, lt, ne, isnull, sw* **features**: *ca, co* **created**: *eq, ge, gt, in, le, lt, ne, isnull, sw* **modified**: *eq, ge, gt, in, le, lt, ne, isnull, sw* **managementWorkgroup.id**: *eq, ge, gt, in, le, lt, ne, isnull, sw* **description**: *eq, sw* **authoritative**: *eq, ne, isnull* **healthy**: *isnull* **status**: *eq, in, ge, gt, le, lt, ne, isnull, sw* **connectionType**: *eq, ge, gt, in, le, lt, ne, isnull, sw* **connectorName**: *eq, ge, gt, in, ne, isnull, sw* **category**: *co, eq, ge, gt, in, le, lt, ne, sw* (optional) +$Sorters = "name" # String | 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: **type, created, modified, name, owner.name, healthy, status, id, description, owner.id, accountCorrelationConfig.id, accountCorrelationConfig.name, managerCorrelationRule.type, managerCorrelationRule.id, managerCorrelationRule.name, authoritative, managementWorkgroup.id, connectorName, connectionType** (optional) +$ForSubadmin = "name" # String | Filter the returned list of sources for the identity specified by the parameter, which is the id of an identity with the role SOURCE_SUBADMIN. By convention, the value **me** indicates the identity id of the current user. Subadmins may only view Sources which they are able to administer; all other Sources will be filtered out when this parameter is set. If the current user is a SOURCE_SUBADMIN but fails to pass a valid value for this parameter, a 403 Forbidden is returned. (optional) + +# Lists all sources in IdentityNow. +try { + $Result = Get-V2024Sources -Limit $Limit -Offset $Offset -Count $Count -Filters $Filters -Sorters $Sorters -ForSubadmin $ForSubadmin +} catch { + Write-Host ("Exception occurred when calling Get-V2024Sources: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **Filters** | **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, in, ge, gt, le, lt, ne, isnull, sw* **name**: *co, eq, in, sw, ge, gt, ne, isnull* **type**: *eq, in, ge, gt, ne, isnull, sw* **owner.id**: *eq, in, ge, gt, le, lt, ne, isnull, sw* **features**: *ca, co* **created**: *eq, ge, gt, in, le, lt, ne, isnull, sw* **modified**: *eq, ge, gt, in, le, lt, ne, isnull, sw* **managementWorkgroup.id**: *eq, ge, gt, in, le, lt, ne, isnull, sw* **description**: *eq, sw* **authoritative**: *eq, ne, isnull* **healthy**: *isnull* **status**: *eq, in, ge, gt, le, lt, ne, isnull, sw* **connectionType**: *eq, ge, gt, in, le, lt, ne, isnull, sw* **connectorName**: *eq, ge, gt, in, ne, isnull, sw* **category**: *co, eq, ge, gt, in, le, lt, ne, sw* | [optional] + **Sorters** | **String**| 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: **type, created, modified, name, owner.name, healthy, status, id, description, owner.id, accountCorrelationConfig.id, accountCorrelationConfig.name, managerCorrelationRule.type, managerCorrelationRule.id, managerCorrelationRule.name, authoritative, managementWorkgroup.id, connectorName, connectionType** | [optional] + **ForSubadmin** | **String**| Filter the returned list of sources for the identity specified by the parameter, which is the id of an identity with the role SOURCE_SUBADMIN. By convention, the value **me** indicates the identity id of the current user. Subadmins may only view Sources which they are able to administer; all other Sources will be filtered out when this parameter is set. If the current user is a SOURCE_SUBADMIN but fails to pass a valid value for this parameter, a 403 Forbidden is returned. | [optional] + +### Return type + +[**Source[]**](Source.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Receive-V2024ResourceObjects** +> ResourceObjectsResponse Receive-V2024ResourceObjects
+>         [-SourceId]
+>         [-XSailPointExperimental]
+>         [-ResourceObjectsRequest]
+ +Peek source connector's resource objects + +Retrieves a sample of data returned from account and group aggregation requests. A token with ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$SourceId = "cef3ee201db947c5912551015ba0c679" # String | The ID of the Source +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$ResourceObjectsRequest = Initialize-ResourceObjectsRequest -ObjectType "group" -MaxCount 100 # ResourceObjectsRequest | + +# Peek source connector's resource objects +try { + $Result = Receive-V2024ResourceObjects -SourceId $SourceId -XSailPointExperimental $XSailPointExperimental -ResourceObjectsRequest $ResourceObjectsRequest +} catch { + Write-Host ("Exception occurred when calling Receive-V2024ResourceObjects: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **SourceId** | **String**| The ID of the Source | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **ResourceObjectsRequest** | [**ResourceObjectsRequest**](ResourceObjectsRequest.md)| | + +### Return type + +[**ResourceObjectsResponse**](ResourceObjectsResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Ping-V2024Cluster** +> StatusResponse Ping-V2024Cluster
+>         [-SourceId]
+>         [-XSailPointExperimental]
+ +Ping cluster for source connector + +This endpoint validates that the cluster being used by the source is reachable from IdentityNow. A token with ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$SourceId = "cef3ee201db947c5912551015ba0c679" # String | The ID of the Source +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Ping cluster for source connector +try { + $Result = Ping-V2024Cluster -SourceId $SourceId -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Ping-V2024Cluster: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **SourceId** | **String**| The ID of the Source | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**StatusResponse**](StatusResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Send-V2024NativeChangeDetectionConfig** +> NativeChangeDetectionConfig Send-V2024NativeChangeDetectionConfig
+>         [-Id]
+>         [-XSailPointExperimental]
+>         [-NativeChangeDetectionConfig]
+ +Update Native Change Detection Configuration + +Replaces the native change detection configuration for the source specified by the given ID with the configuration provided in the request body. A token with ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "2c9180835d191a86015d28455b4a2329" # String | The source id +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +"ACCOUNT_UPDATED"$NativeChangeDetectionConfig = Initialize-NativeChangeDetectionConfig -Enabled $true -Operations "ACCOUNT_UPDATED" -AllEntitlements $false -AllNonEntitlementAttributes $false -SelectedEntitlements "MySelectedEntitlements" -SelectedNonEntitlementAttributes "MySelectedNonEntitlementAttributes" # NativeChangeDetectionConfig | + +# Update Native Change Detection Configuration +try { + $Result = Send-V2024NativeChangeDetectionConfig -Id $Id -XSailPointExperimental $XSailPointExperimental -NativeChangeDetectionConfig $NativeChangeDetectionConfig +} catch { + Write-Host ("Exception occurred when calling Send-V2024NativeChangeDetectionConfig: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The source id | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **NativeChangeDetectionConfig** | [**NativeChangeDetectionConfig**](NativeChangeDetectionConfig.md)| | + +### Return type + +[**NativeChangeDetectionConfig**](NativeChangeDetectionConfig.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Send-V2024ProvisioningPolicy** +> ProvisioningPolicyDto Send-V2024ProvisioningPolicy
+>         [-SourceId]
+>         [-UsageType]
+>         [-ProvisioningPolicyDto]
+ +Update Provisioning Policy by UsageType + +This end-point updates the provisioning policy with the specified usage on the specified source in IdentityNow. Transforms can be used in the provisioning policy to create a new attribute that you only need during provisioning. Refer to [Transforms in Provisioning Policies](https://developer.sailpoint.com/idn/docs/transforms/guides/transforms-in-provisioning-policies) for more information. A token with API, ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$SourceId = "2c9180835d191a86015d28455b4a2329" # String | The Source ID. +$UsageType = "CREATE" # UsageType | The type of provisioning policy usage. In IdentityNow, a source can support various provisioning operations. For example, when a joiner is added to a source, this may trigger both CREATE and UPDATE provisioning operations. Each usage type is considered a provisioning policy. A source can have any number of these provisioning policies defined. These are the common usage types: CREATE - This usage type relates to 'Create Account Profile', the provisioning template for the account to be created. For example, this would be used for a joiner on a source. UPDATE - This usage type relates to 'Update Account Profile', the provisioning template for the 'Update' connector operations. For example, this would be used for an attribute sync on a source. ENABLE - This usage type relates to 'Enable Account Profile', the provisioning template for the account to be enabled. For example, this could be used for a joiner on a source once the joiner's account is created. DISABLE - This usage type relates to 'Disable Account Profile', the provisioning template for the account to be disabled. For example, this could be used when a leaver is removed temporarily from a source. You can use these four usage types for all your provisioning policy needs. +$FieldDetailsDto = Initialize-FieldDetailsDto -Name "userName" -Transform -Attributes -IsRequired $false -Type "string" -IsMultiValued $false +$ProvisioningPolicyDto = Initialize-ProvisioningPolicyDto -Name "example provisioning policy for inactive identities" -Description "this provisioning policy creates access based on an identity going inactive" -UsageType "CREATE" -Fields $FieldDetailsDto # ProvisioningPolicyDto | + +# Update Provisioning Policy by UsageType +try { + $Result = Send-V2024ProvisioningPolicy -SourceId $SourceId -UsageType $UsageType -ProvisioningPolicyDto $ProvisioningPolicyDto +} catch { + Write-Host ("Exception occurred when calling Send-V2024ProvisioningPolicy: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **SourceId** | **String**| The Source ID. | + **UsageType** | [**UsageType**](UsageType.md)| The type of provisioning policy usage. In IdentityNow, a source can support various provisioning operations. For example, when a joiner is added to a source, this may trigger both CREATE and UPDATE provisioning operations. Each usage type is considered a provisioning policy. A source can have any number of these provisioning policies defined. These are the common usage types: CREATE - This usage type relates to 'Create Account Profile', the provisioning template for the account to be created. For example, this would be used for a joiner on a source. UPDATE - This usage type relates to 'Update Account Profile', the provisioning template for the 'Update' connector operations. For example, this would be used for an attribute sync on a source. ENABLE - This usage type relates to 'Enable Account Profile', the provisioning template for the account to be enabled. For example, this could be used for a joiner on a source once the joiner's account is created. DISABLE - This usage type relates to 'Disable Account Profile', the provisioning template for the account to be disabled. For example, this could be used when a leaver is removed temporarily from a source. You can use these four usage types for all your provisioning policy needs. | + **ProvisioningPolicyDto** | [**ProvisioningPolicyDto**](ProvisioningPolicyDto.md)| | + +### Return type + +[**ProvisioningPolicyDto**](ProvisioningPolicyDto.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Send-V2024Source** +> Source Send-V2024Source
+>         [-Id]
+>         [-Source]
+ +Update Source (Full) + +Use this API to update a source in Identity Security Cloud (ISC), using a full object representation. This means that when you use this API, it completely replaces the existing source configuration. These fields are immutable, so they cannot be changed: * id * type * authoritative * connector * connectorClass * passwordPolicies Attempts to modify these fields will result in a 400 error. A token with ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "2c9180835d191a86015d28455b4a2329" # String | Source ID. +$SourceOwner = Initialize-SourceOwner -Type "IDENTITY" -Id "2c91808568c529c60168cca6f90c1313" -Name "MyName" +$SourceCluster = Initialize-SourceCluster -Type "CLUSTER" -Id "2c9180866166b5b0016167c32ef31a66" -Name "Corporate Cluster" +$SourceAccountCorrelationConfig = Initialize-SourceAccountCorrelationConfig -Type "ACCOUNT_CORRELATION_CONFIG" -Id "2c9180855d191c59015d28583727245a" -Name "Directory [source-62867] Account Correlation" +$SourceAccountCorrelationRule = Initialize-SourceAccountCorrelationRule -Type "RULE" -Id "2c918085708c274401708c2a8a760001" -Name "Example Rule" +$SourceManagerCorrelationMapping = Initialize-SourceManagerCorrelationMapping -AccountAttributeName "manager" -IdentityAttributeName "manager" +$SourceManagerCorrelationRule = Initialize-SourceManagerCorrelationRule -Type "RULE" -Id "2c918085708c274401708c2a8a760001" -Name "Example Rule" +$SourceBeforeProvisioningRule = Initialize-SourceBeforeProvisioningRule -Type "RULE" -Id "2c918085708c274401708c2a8a760001" -Name "Example Rule" +$SourceSchemasInner = Initialize-SourceSchemasInner -Type "CONNECTOR_SCHEMA" -Id "2c91808568c529c60168cca6f90c1777" -Name "MySchema" +$SourcePasswordPoliciesInner = Initialize-SourcePasswordPoliciesInner -Type "PASSWORD_POLICY" -Id "2c91808568c529c60168cca6f90c1777" -Name "My Password Policy" +"AUTHENTICATE"$SourceManagementWorkgroup = Initialize-SourceManagementWorkgroup -Type "GOVERNANCE_GROUP" -Id "2c91808568c529c60168cca6f90c2222" -Name "My Management Workgroup" +$Source = Initialize-Source -Id "2c91808568c529c60168cca6f90c1324" -Name "My Source" -Description "This is the corporate directory." -Owner $SourceOwner -Cluster $SourceCluster -AccountCorrelationConfig $SourceAccountCorrelationConfig -AccountCorrelationRule $SourceAccountCorrelationRule -ManagerCorrelationMapping $SourceManagerCorrelationMapping -ManagerCorrelationRule $SourceManagerCorrelationRule -BeforeProvisioningRule $SourceBeforeProvisioningRule -Schemas $SourceSchemasInner -PasswordPolicies $SourcePasswordPoliciesInner -Features +$SourceOwner = Initialize-SourceOwner -Type "IDENTITY" -Id "2c91808568c529c60168cca6f90c1313" -Name "MyName" +$SourceCluster = Initialize-SourceCluster -Type "CLUSTER" -Id "2c9180866166b5b0016167c32ef31a66" -Name "Corporate Cluster" +$SourceAccountCorrelationConfig = Initialize-SourceAccountCorrelationConfig -Type "ACCOUNT_CORRELATION_CONFIG" -Id "2c9180855d191c59015d28583727245a" -Name "Directory [source-62867] Account Correlation" +$SourceAccountCorrelationRule = Initialize-SourceAccountCorrelationRule -Type "RULE" -Id "2c918085708c274401708c2a8a760001" -Name "Example Rule" +$SourceManagerCorrelationMapping = Initialize-SourceManagerCorrelationMapping -AccountAttributeName "manager" -IdentityAttributeName "manager" +$SourceManagerCorrelationRule = Initialize-SourceManagerCorrelationRule -Type "RULE" -Id "2c918085708c274401708c2a8a760001" -Name "Example Rule" +$SourceBeforeProvisioningRule = Initialize-SourceBeforeProvisioningRule -Type "RULE" -Id "2c918085708c274401708c2a8a760001" -Name "Example Rule" +$SourceSchemasInner = Initialize-SourceSchemasInner -Type "CONNECTOR_SCHEMA" -Id "2c91808568c529c60168cca6f90c1777" -Name "MySchema" +$SourcePasswordPoliciesInner = Initialize-SourcePasswordPoliciesInner -Type "PASSWORD_POLICY" -Id "2c91808568c529c60168cca6f90c1777" -Name "My Password Policy" +"AUTHENTICATE" -Type "OpenLDAP - Direct" -Connector "active-directory" -ConnectorClass "sailpoint.connector.LDAPConnector" -ConnectorAttributes -DeleteThreshold 10 -Authoritative $false -ManagementWorkgroup $SourceManagementWorkgroup -Healthy $true -Status "SOURCE_STATE_ERROR_ACCOUNT_FILE_IMPORT" -Since "2021-09-28T15:48:29.3801666300Z" -ConnectorId "active-directory" -ConnectorName "Active Directory" -ConnectionType "file" -ConnectorImplementationId "delimited-file" -Created (Get-Date) -Modified (Get-Date) -CredentialProviderEnabled $false -Category "CredentialProvider" # Source | + +# Update Source (Full) +try { + $Result = Send-V2024Source -Id $Id -Source $Source +} catch { + Write-Host ("Exception occurred when calling Send-V2024Source: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| Source ID. | + **Source** | [**Source**](Source.md)| | + +### Return type + +[**Source**](Source.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Send-V2024SourceAttrSyncConfig** +> AttrSyncSourceConfig Send-V2024SourceAttrSyncConfig
+>         [-Id]
+>         [-XSailPointExperimental]
+>         [-AttrSyncSourceConfig]
+ +Update Attribute Sync Config + +Replaces the attribute synchronization configuration for the source specified by the given ID with the configuration provided in the request body. Only the ""enabled"" field of the values in the ""attributes"" array is mutable. Attempting to change other attributes or add new values to the ""attributes"" array will result in an error. A token with ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "2c9180835d191a86015d28455b4a2329" # String | The source id +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$AttrSyncSource = Initialize-AttrSyncSource -Type "SOURCE" -Id "2c9180835d191a86015d28455b4b232a" -Name "HR Active Directory" +$AttrSyncSourceAttributeConfig = Initialize-AttrSyncSourceAttributeConfig -Name "email" -DisplayName "Email" -Enabled $true -Target "mail" +$AttrSyncSourceConfig = Initialize-AttrSyncSourceConfig -Source $AttrSyncSource -Attributes $AttrSyncSourceAttributeConfig # AttrSyncSourceConfig | + +# Update Attribute Sync Config +try { + $Result = Send-V2024SourceAttrSyncConfig -Id $Id -XSailPointExperimental $XSailPointExperimental -AttrSyncSourceConfig $AttrSyncSourceConfig +} catch { + Write-Host ("Exception occurred when calling Send-V2024SourceAttrSyncConfig: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The source id | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **AttrSyncSourceConfig** | [**AttrSyncSourceConfig**](AttrSyncSourceConfig.md)| | + +### Return type + +[**AttrSyncSourceConfig**](AttrSyncSourceConfig.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Send-V2024SourceSchema** +> Schema Send-V2024SourceSchema
+>         [-SourceId]
+>         [-SchemaId]
+>         [-Schema]
+ +Update Source Schema (Full) + +This API will completely replace an existing Schema with the submitted payload. Some fields of the Schema cannot be updated. These fields are listed below. * id * name * created * modified Any attempt to modify these fields will result in an error response with a status code of 400. > `id` must remain in the request body, but it cannot be changed. If `id` is omitted from the request body, the result will be a 400 error. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$SourceId = "2c9180835d191a86015d28455b4a2329" # String | The Source id. +$SchemaId = "2c9180835d191a86015d28455b4a2329" # String | The Schema id. +"AUTHENTICATE" + +$AttributeDefinitionSchema = Initialize-AttributeDefinitionSchema -Type "CONNECTOR_SCHEMA" -Id "2c91808568c529c60168cca6f90c1313" -Name "group" +$AttributeDefinition = Initialize-AttributeDefinition -Name "sAMAccountName" -Type "STRING" -Schema $AttributeDefinitionSchema -Description "SAM Account Name" -IsMulti $false -IsEntitlement $false -IsGroup $false + +$Schema = Initialize-Schema -Id "2c9180835d191a86015d28455b4a2329" -Name "account" -NativeObjectType "User" -IdentityAttribute "sAMAccountName" -DisplayAttribute "distinguishedName" -HierarchyAttribute "memberOf" -IncludePermissions $false -Features "AUTHENTICATE" -Configuration -Attributes $AttributeDefinition -Created (Get-Date) -Modified (Get-Date) # Schema | + +# Update Source Schema (Full) +try { + $Result = Send-V2024SourceSchema -SourceId $SourceId -SchemaId $SchemaId -Schema $Schema +} catch { + Write-Host ("Exception occurred when calling Send-V2024SourceSchema: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **SourceId** | **String**| The Source id. | + **SchemaId** | **String**| The Schema id. | + **Schema** | [**Schema**](Schema.md)| | + +### Return type + +[**Schema**](Schema.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Sync-V2024AttributesForSource** +> SourceSyncJob Sync-V2024AttributesForSource
+>         [-Id]
+>         [-XSailPointExperimental]
+ +Synchronize single source attributes. + +This end-point performs attribute synchronization for a selected source. A token with ORG_ADMIN or SOURCE_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "MyId" # String | The Source id +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Synchronize single source attributes. +try { + $Result = Sync-V2024AttributesForSource -Id $Id -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Sync-V2024AttributesForSource: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The Source id | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**SourceSyncJob**](SourceSyncJob.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Test-V2024SourceConfiguration** +> StatusResponse Test-V2024SourceConfiguration
+>         [-SourceId]
+>         [-XSailPointExperimental]
+ +Test configuration for source connector + +This endpoint performs a more detailed validation of the source's configuration that can take longer than the lighter weight credential validation performed by the checkConnection API. A token with ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$SourceId = "cef3ee201db947c5912551015ba0c679" # String | The ID of the Source +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Test configuration for source connector +try { + $Result = Test-V2024SourceConfiguration -SourceId $SourceId -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Test-V2024SourceConfiguration: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **SourceId** | **String**| The ID of the Source | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**StatusResponse**](StatusResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Test-V2024SourceConnection** +> StatusResponse Test-V2024SourceConnection
+>         [-SourceId]
+>         [-XSailPointExperimental]
+ +Check connection for source connector. + +This endpoint validates that the configured credentials are valid and will properly authenticate with the source identified by the sourceId path parameter. A token with ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$SourceId = "cef3ee201db947c5912551015ba0c679" # String | The ID of the Source. +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Check connection for source connector. +try { + $Result = Test-V2024SourceConnection -SourceId $SourceId -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Test-V2024SourceConnection: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **SourceId** | **String**| The ID of the Source. | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**StatusResponse**](StatusResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Update-V2024ProvisioningPoliciesInBulk** +> ProvisioningPolicyDto[] Update-V2024ProvisioningPoliciesInBulk
+>         [-SourceId]
+>         [-ProvisioningPolicyDto]
+ +Bulk Update Provisioning Policies + +This end-point updates a list of provisioning policies on the specified source in IdentityNow. A token with API, or ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$SourceId = "2c9180835d191a86015d28455b4a2329" # String | The Source id. +$FieldDetailsDto = Initialize-FieldDetailsDto -Name "userName" -Transform -Attributes -IsRequired $false -Type "string" -IsMultiValued $false +$ProvisioningPolicyDto = Initialize-ProvisioningPolicyDto -Name "example provisioning policy for inactive identities" -Description "this provisioning policy creates access based on an identity going inactive" -UsageType "CREATE" -Fields $FieldDetailsDto # ProvisioningPolicyDto[] | + +# Bulk Update Provisioning Policies +try { + $Result = Update-V2024ProvisioningPoliciesInBulk -SourceId $SourceId -ProvisioningPolicyDto $ProvisioningPolicyDto +} catch { + Write-Host ("Exception occurred when calling Update-V2024ProvisioningPoliciesInBulk: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **SourceId** | **String**| The Source id. | + **ProvisioningPolicyDto** | [**ProvisioningPolicyDto[]**](ProvisioningPolicyDto.md)| | + +### Return type + +[**ProvisioningPolicyDto[]**](ProvisioningPolicyDto.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Update-V2024ProvisioningPolicy** +> ProvisioningPolicyDto Update-V2024ProvisioningPolicy
+>         [-SourceId]
+>         [-UsageType]
+>         [-JsonPatchOperation]
+ +Partial update of Provisioning Policy + +This API selectively updates an existing Provisioning Policy using a JSONPatch payload. Transforms can be used in the provisioning policy to create a new attribute that you only need during provisioning. Refer to [Transforms in Provisioning Policies](https://developer.sailpoint.com/idn/docs/transforms/guides/transforms-in-provisioning-policies) for more information. A token with API, ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$SourceId = "2c9180835d191a86015d28455b4a2329" # String | The Source id. +$UsageType = "CREATE" # UsageType | The type of provisioning policy usage. In IdentityNow, a source can support various provisioning operations. For example, when a joiner is added to a source, this may trigger both CREATE and UPDATE provisioning operations. Each usage type is considered a provisioning policy. A source can have any number of these provisioning policies defined. These are the common usage types: CREATE - This usage type relates to 'Create Account Profile', the provisioning template for the account to be created. For example, this would be used for a joiner on a source. UPDATE - This usage type relates to 'Update Account Profile', the provisioning template for the 'Update' connector operations. For example, this would be used for an attribute sync on a source. ENABLE - This usage type relates to 'Enable Account Profile', the provisioning template for the account to be enabled. For example, this could be used for a joiner on a source once the joiner's account is created. DISABLE - This usage type relates to 'Disable Account Profile', the provisioning template for the account to be disabled. For example, this could be used when a leaver is removed temporarily from a source. You can use these four usage types for all your provisioning policy needs. +$JsonPatchOperationValue = Initialize-JsonPatchOperationValue +$JsonPatchOperation = Initialize-JsonPatchOperation -Op "add" -Path "/description" -Value $JsonPatchOperationValue # JsonPatchOperation[] | The JSONPatch payload used to update the schema. + +# Partial update of Provisioning Policy +try { + $Result = Update-V2024ProvisioningPolicy -SourceId $SourceId -UsageType $UsageType -JsonPatchOperation $JsonPatchOperation +} catch { + Write-Host ("Exception occurred when calling Update-V2024ProvisioningPolicy: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **SourceId** | **String**| The Source id. | + **UsageType** | [**UsageType**](UsageType.md)| The type of provisioning policy usage. In IdentityNow, a source can support various provisioning operations. For example, when a joiner is added to a source, this may trigger both CREATE and UPDATE provisioning operations. Each usage type is considered a provisioning policy. A source can have any number of these provisioning policies defined. These are the common usage types: CREATE - This usage type relates to 'Create Account Profile', the provisioning template for the account to be created. For example, this would be used for a joiner on a source. UPDATE - This usage type relates to 'Update Account Profile', the provisioning template for the 'Update' connector operations. For example, this would be used for an attribute sync on a source. ENABLE - This usage type relates to 'Enable Account Profile', the provisioning template for the account to be enabled. For example, this could be used for a joiner on a source once the joiner's account is created. DISABLE - This usage type relates to 'Disable Account Profile', the provisioning template for the account to be disabled. For example, this could be used when a leaver is removed temporarily from a source. You can use these four usage types for all your provisioning policy needs. | + **JsonPatchOperation** | [**JsonPatchOperation[]**](JsonPatchOperation.md)| The JSONPatch payload used to update the schema. | + +### Return type + +[**ProvisioningPolicyDto**](ProvisioningPolicyDto.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Update-V2024Source** +> Source Update-V2024Source
+>         [-Id]
+>         [-JsonPatchOperation]
+ +Update Source (Partial) + +Use this API to partially update a source in Identity Security Cloud (ISC), using a list of patch operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. These fields are immutable, so they cannot be changed: * id * type * authoritative * created * modified * connector * connectorClass * passwordPolicies Attempts to modify these fields will result in a 400 error. A token with ORG_ADMIN, SOURCE_ADMIN, SOURCE_SUBADMIN, or API authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "2c9180835d191a86015d28455b4a2329" # String | Source ID. +$JsonPatchOperationValue = Initialize-JsonPatchOperationValue +$JsonPatchOperation = Initialize-JsonPatchOperation -Op "add" -Path "/description" -Value $JsonPatchOperationValue # JsonPatchOperation[] | A list of account update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. Any password changes are submitted as plain-text and encrypted upon receipt in Identity Security Cloud (ISC). + +# Update Source (Partial) +try { + $Result = Update-V2024Source -Id $Id -JsonPatchOperation $JsonPatchOperation +} catch { + Write-Host ("Exception occurred when calling Update-V2024Source: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| Source ID. | + **JsonPatchOperation** | [**JsonPatchOperation[]**](JsonPatchOperation.md)| A list of account update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. Any password changes are submitted as plain-text and encrypted upon receipt in Identity Security Cloud (ISC). | + +### Return type + +[**Source**](Source.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Update-V2024SourceEntitlementRequestConfig** +> SourceEntitlementRequestConfig Update-V2024SourceEntitlementRequestConfig
+>         [-XSailPointExperimental]
+>         [-SourceEntitlementRequestConfig]
+ +Update Source Entitlement Request Configuration + +This API replaces the current entitlement request configuration for a source. This source-level configuration should apply for all the entitlements in the source. Access request to any entitlements in the source should follow this configuration unless a separate entitlement-level configuration is defined. - During access request, this source-level entitlement request configuration overrides the global organization-level configuration. - However, the entitlement-level configuration (if defined) overrides this source-level configuration. A token with ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$EntitlementApprovalScheme = Initialize-EntitlementApprovalScheme -ApproverType "ENTITLEMENT_OWNER" -ApproverId "e3eab852-8315-467f-9de7-70eda97f63c8" +$EntitlementAccessRequestConfig = Initialize-EntitlementAccessRequestConfig -ApprovalSchemes $EntitlementApprovalScheme -RequestCommentRequired $true -DenialCommentRequired $false + +$SourceEntitlementRequestConfig = Initialize-SourceEntitlementRequestConfig -AccessRequestConfig $EntitlementAccessRequestConfig # SourceEntitlementRequestConfig | + +# Update Source Entitlement Request Configuration +try { + $Result = Update-V2024SourceEntitlementRequestConfig -XSailPointExperimental $XSailPointExperimental -SourceEntitlementRequestConfig $SourceEntitlementRequestConfig +} catch { + Write-Host ("Exception occurred when calling Update-V2024SourceEntitlementRequestConfig: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **SourceEntitlementRequestConfig** | [**SourceEntitlementRequestConfig**](SourceEntitlementRequestConfig.md)| | + +### Return type + +[**SourceEntitlementRequestConfig**](SourceEntitlementRequestConfig.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Update-V2024SourceSchema** +> Schema Update-V2024SourceSchema
+>         [-SourceId]
+>         [-SchemaId]
+>         [-JsonPatchOperation]
+ +Update Source Schema (Partial) + +Use this API to selectively update an existing Schema using a JSONPatch payload. The following schema fields are immutable and cannot be updated: - id - name - created - modified To switch an account attribute to a group entitlement, you need to have the following in place: - `isEntitlement: true` - Must define a schema for the group and [add it to the source](https://developer.sailpoint.com/idn/api/v3/create-source-schema) before updating the `isGroup` flag. For example, here is the `group` account attribute referencing a schema that defines the group: ```json { ""name"": ""groups"", ""type"": ""STRING"", ""schema"": { ""type"": ""CONNECTOR_SCHEMA"", ""id"": ""2c9180887671ff8c01767b4671fc7d60"", ""name"": ""group"" }, ""description"": ""The groups, roles etc. that reference account group objects"", ""isMulti"": true, ""isEntitlement"": true, ""isGroup"": true } ``` + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$SourceId = "2c9180835d191a86015d28455b4a2329" # String | The Source id. +$SchemaId = "2c9180835d191a86015d28455b4a2329" # String | The Schema id. +$JsonPatchOperationValue = Initialize-JsonPatchOperationValue +$JsonPatchOperation = Initialize-JsonPatchOperation -Op "add" -Path "/description" -Value $JsonPatchOperationValue # JsonPatchOperation[] | The JSONPatch payload used to update the schema. + +# Update Source Schema (Partial) +try { + $Result = Update-V2024SourceSchema -SourceId $SourceId -SchemaId $SchemaId -JsonPatchOperation $JsonPatchOperation +} catch { + Write-Host ("Exception occurred when calling Update-V2024SourceSchema: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **SourceId** | **String**| The Source id. | + **SchemaId** | **String**| The Schema id. | + **JsonPatchOperation** | [**JsonPatchOperation[]**](JsonPatchOperation.md)| The JSONPatch payload used to update the schema. | + +### Return type + +[**Schema**](Schema.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024SuggestedEntitlementDescriptionApi.md b/PSSailpoint/v2024/docs/V2024SuggestedEntitlementDescriptionApi.md new file mode 100644 index 000000000..b7de6cc0e --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024SuggestedEntitlementDescriptionApi.md @@ -0,0 +1,409 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024SuggestedEntitlementDescriptionApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**Get-V2024SedBatchStats**](V2024SuggestedEntitlementDescriptionApi.md#Get-V2024SedBatchStats) | **GET** /suggested-entitlement-description-batches/{batchId}/stats | Submit Sed Batch Stats Request +[**Get-V2024SedBatches**](V2024SuggestedEntitlementDescriptionApi.md#Get-V2024SedBatches) | **GET** /suggested-entitlement-description-batches | List Sed Batch Request +[**Get-V2024Seds**](V2024SuggestedEntitlementDescriptionApi.md#Get-V2024Seds) | **GET** /suggested-entitlement-descriptions | List Suggested Entitlement Description +[**Update-V2024Sed**](V2024SuggestedEntitlementDescriptionApi.md#Update-V2024Sed) | **PATCH** /suggested-entitlement-descriptions | Patch Suggested Entitlement Description +[**Submit-V2024SedApproval**](V2024SuggestedEntitlementDescriptionApi.md#Submit-V2024SedApproval) | **POST** /suggested-entitlement-description-approvals | Submit Bulk Approval Request +[**Submit-V2024SedAssignment**](V2024SuggestedEntitlementDescriptionApi.md#Submit-V2024SedAssignment) | **POST** /suggested-entitlement-description-assignments | Submit Sed Assignment Request +[**Submit-V2024SedBatchRequest**](V2024SuggestedEntitlementDescriptionApi.md#Submit-V2024SedBatchRequest) | **POST** /suggested-entitlement-description-batches | Submit Sed Batch Request + + + +# **Get-V2024SedBatchStats** +> SedBatchStats Get-V2024SedBatchStats
+>         [-BatchId]
+>         [-XSailPointExperimental]
+ +Submit Sed Batch Stats Request + +Submit Sed Batch Stats Request. Submits batchId in the path param (e.g. {batchId}/stats). API responses with stats of the batchId. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$BatchId = "8c190e67-87aa-4ed9-a90b-d9d5344523fb" # String | Batch Id +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Submit Sed Batch Stats Request +try { + $Result = Get-V2024SedBatchStats -BatchId $BatchId -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Get-V2024SedBatchStats: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **BatchId** | **String**| Batch Id | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**SedBatchStats**](SedBatchStats.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024SedBatches** +> SedBatchStatus Get-V2024SedBatches
+>         [-XSailPointExperimental]
+ +List Sed Batch Request + +List Sed Batches. API responses with Sed Batch Status + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# List Sed Batch Request +try { + $Result = Get-V2024SedBatches -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Get-V2024SedBatches: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**SedBatchStatus**](SedBatchStatus.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024Seds** +> Sed[] Get-V2024Seds
+>         [-XSailPointExperimental]
+>         [-Limit]
+>         [-Filters]
+>         [-Count]
+>         [-CountOnly]
+>         [-RequestedByAnyone]
+>         [-ShowPendingStatusOnly]
+ +List Suggested Entitlement Description + +List of Suggested Entitlement Description + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Limit = limit=0 # Int64 | Integer specifying the maximum number of records to return in a single API call. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). If it is not specified, a default limit is used. (optional) +$Filters = "displayName co "Read and Write"" # 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: **batchId**: *eq* **status**: *eq, ne, in* **displayName**: *eq, co* (optional) +$Count = $false # Boolean | 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. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). 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. (optional) +$CountOnly = $false # Boolean | 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. This parameter differs from the Coun parameter in that this one skip executing the actual query and always return an empty array. (optional) +$RequestedByAnyone = $false # Boolean | By default, the ListSeds API will only return items that you have requested to be generated. This option will allow you to see all items that have been requested (optional) +$ShowPendingStatusOnly = $false # Boolean | Will limit records to items that are in ""suggested"" or ""approved"" status (optional) + +# List Suggested Entitlement Description +try { + $Result = Get-V2024Seds -XSailPointExperimental $XSailPointExperimental -Limit $Limit -Filters $Filters -Count $Count -CountOnly $CountOnly -RequestedByAnyone $RequestedByAnyone -ShowPendingStatusOnly $ShowPendingStatusOnly +} catch { + Write-Host ("Exception occurred when calling Get-V2024Seds: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Limit** | **Int64**| Integer specifying the maximum number of records to return in a single API call. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). If it is not specified, a default limit is used. | [optional] + **Filters** | **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: **batchId**: *eq* **status**: *eq, ne, in* **displayName**: *eq, co* | [optional] + **Count** | **Boolean**| 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. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). 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. | [optional] + **CountOnly** | **Boolean**| 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. This parameter differs from the Coun parameter in that this one skip executing the actual query and always return an empty array. | [optional] + **RequestedByAnyone** | **Boolean**| By default, the ListSeds API will only return items that you have requested to be generated. This option will allow you to see all items that have been requested | [optional] + **ShowPendingStatusOnly** | **Boolean**| Will limit records to items that are in ""suggested"" or ""approved"" status | [optional] + +### Return type + +[**Sed[]**](Sed.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Update-V2024Sed** +> Sed Update-V2024Sed
+>         [-Id]
+>         [-XSailPointExperimental]
+>         [-SedPatch]
+ +Patch Suggested Entitlement Description + +Patch Suggested Entitlement Description + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ebab396f-0af1-4050-89b7-dafc63ec70e7" # String | id is sed id +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$SedPatch = Initialize-SedPatch -Op "replace" -Path "status" -Value # SedPatch[] | Sed Patch Request + +# Patch Suggested Entitlement Description +try { + $Result = Update-V2024Sed -Id $Id -XSailPointExperimental $XSailPointExperimental -SedPatch $SedPatch +} catch { + Write-Host ("Exception occurred when calling Update-V2024Sed: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| id is sed id | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **SedPatch** | [**SedPatch[]**](SedPatch.md)| Sed Patch Request | + +### Return type + +[**Sed**](Sed.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Submit-V2024SedApproval** +> SedApprovalStatus[] Submit-V2024SedApproval
+>         [-XSailPointExperimental]
+>         [-SedApproval]
+ +Submit Bulk Approval Request + +Submit Bulk Approval Request for SED. Request body takes list of SED Ids. API responses with list of SED Approval Status + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$SedApproval = Initialize-SedApproval -Items "MyItems" # SedApproval[] | Sed Approval + +# Submit Bulk Approval Request +try { + $Result = Submit-V2024SedApproval -XSailPointExperimental $XSailPointExperimental -SedApproval $SedApproval +} catch { + Write-Host ("Exception occurred when calling Submit-V2024SedApproval: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **SedApproval** | [**SedApproval[]**](SedApproval.md)| Sed Approval | + +### Return type + +[**SedApprovalStatus[]**](SedApprovalStatus.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Submit-V2024SedAssignment** +> SedAssignmentResponse Submit-V2024SedAssignment
+>         [-XSailPointExperimental]
+>         [-SedAssignment]
+ +Submit Sed Assignment Request + +Submit Assignment Request. Request body has an assignee, and list of SED Ids that are assigned to that assignee API responses with batchId that groups all approval requests together + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$SedAssignee = Initialize-SedAssignee -Type "IDENTITY" -Value "016629d1-1d25-463f-97f3-c6686846650" +$SedAssignment = Initialize-SedAssignment -Assignee $SedAssignee -Items "016629d1-1d25-463f-97f3-0c6686846650" # SedAssignment | Sed Assignment Request + +# Submit Sed Assignment Request +try { + $Result = Submit-V2024SedAssignment -XSailPointExperimental $XSailPointExperimental -SedAssignment $SedAssignment +} catch { + Write-Host ("Exception occurred when calling Submit-V2024SedAssignment: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **SedAssignment** | [**SedAssignment**](SedAssignment.md)| Sed Assignment Request | + +### Return type + +[**SedAssignmentResponse**](SedAssignmentResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Submit-V2024SedBatchRequest** +> SedBatchResponse Submit-V2024SedBatchRequest
+>         [-XSailPointExperimental]
+>         [-SedBatchRequest]
+ +Submit Sed Batch Request + +Submit Sed Batch Request. Request body has a list of entitlement Ids that user wants to have description generated by LLM. API responses with batchId that groups Ids together + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$SedBatchRequest = Initialize-SedBatchRequest -Entitlements "016629d1-1d25-463f-97f3-c6686846650" # SedBatchRequest | Sed Batch Request (optional) + +# Submit Sed Batch Request +try { + $Result = Submit-V2024SedBatchRequest -XSailPointExperimental $XSailPointExperimental -SedBatchRequest $SedBatchRequest +} catch { + Write-Host ("Exception occurred when calling Submit-V2024SedBatchRequest: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **SedBatchRequest** | [**SedBatchRequest**](SedBatchRequest.md)| Sed Batch Request | [optional] + +### Return type + +[**SedBatchResponse**](SedBatchResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024TaggedObjectsApi.md b/PSSailpoint/v2024/docs/V2024TaggedObjectsApi.md new file mode 100644 index 000000000..c6e915fd6 --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024TaggedObjectsApi.md @@ -0,0 +1,461 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024TaggedObjectsApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**Remove-V2024TaggedObject**](V2024TaggedObjectsApi.md#Remove-V2024TaggedObject) | **DELETE** /tagged-objects/{type}/{id} | Delete Tagged Object +[**Remove-V2024TagsToManyObject**](V2024TaggedObjectsApi.md#Remove-V2024TagsToManyObject) | **POST** /tagged-objects/bulk-remove | Remove Tags from Multiple Objects +[**Get-V2024TaggedObject**](V2024TaggedObjectsApi.md#Get-V2024TaggedObject) | **GET** /tagged-objects/{type}/{id} | Get Tagged Object +[**Get-V2024TaggedObjects**](V2024TaggedObjectsApi.md#Get-V2024TaggedObjects) | **GET** /tagged-objects | List Tagged Objects +[**Get-V2024TaggedObjectsByType**](V2024TaggedObjectsApi.md#Get-V2024TaggedObjectsByType) | **GET** /tagged-objects/{type} | List Tagged Objects by Type +[**Send-V2024TaggedObject**](V2024TaggedObjectsApi.md#Send-V2024TaggedObject) | **PUT** /tagged-objects/{type}/{id} | Update Tagged Object +[**Set-V2024TagToObject**](V2024TaggedObjectsApi.md#Set-V2024TagToObject) | **POST** /tagged-objects | Add Tag to Object +[**Set-V2024TagsToManyObjects**](V2024TaggedObjectsApi.md#Set-V2024TagsToManyObjects) | **POST** /tagged-objects/bulk-add | Tag Multiple Objects + + + +# **Remove-V2024TaggedObject** +> void Remove-V2024TaggedObject
+>         [-Type]
+>         [-Id]
+ +Delete Tagged Object + +This deletes a tagged object for the specified type. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Type = "ACCESS_PROFILE" # String | The type of tagged object to delete. +$Id = "ef38f94347e94562b5bb8424a56397d8" # String | The ID of the object reference to delete. + +# Delete Tagged Object +try { + $Result = Remove-V2024TaggedObject -Type $Type -Id $Id +} catch { + Write-Host ("Exception occurred when calling Remove-V2024TaggedObject: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Type** | **String**| The type of tagged object to delete. | + **Id** | **String**| The ID of the object reference to delete. | + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Remove-V2024TagsToManyObject** +> void Remove-V2024TagsToManyObject
+>         [-BulkRemoveTaggedObject]
+ +Remove Tags from Multiple Objects + +This API removes tags from multiple objects. A token with API, CERT_ADMIN, ORG_ADMIN, REPORT_ADMIN, ROLE_ADMIN, ROLE_SUBADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$TaggedObjectDto = Initialize-TaggedObjectDto -Type "ACCESS_PROFILE" -Id "2c91808568c529c60168cca6f90c1313" -Name "William Wilson" +$BulkRemoveTaggedObject = Initialize-BulkRemoveTaggedObject -ObjectRefs $TaggedObjectDto -Tags "MyTags" # BulkRemoveTaggedObject | Supported object types are ACCESS_PROFILE, APPLICATION, CAMPAIGN, ENTITLEMENT, IDENTITY, ROLE, SOD_POLICY, SOURCE. + +# Remove Tags from Multiple Objects +try { + $Result = Remove-V2024TagsToManyObject -BulkRemoveTaggedObject $BulkRemoveTaggedObject +} catch { + Write-Host ("Exception occurred when calling Remove-V2024TagsToManyObject: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **BulkRemoveTaggedObject** | [**BulkRemoveTaggedObject**](BulkRemoveTaggedObject.md)| Supported object types are ACCESS_PROFILE, APPLICATION, CAMPAIGN, ENTITLEMENT, IDENTITY, ROLE, SOD_POLICY, SOURCE. | + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024TaggedObject** +> TaggedObject Get-V2024TaggedObject
+>         [-Type]
+>         [-Id]
+ +Get Tagged Object + +This gets a tagged object for the specified type. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Type = "ACCESS_PROFILE" # String | The type of tagged object to retrieve. +$Id = "ef38f94347e94562b5bb8424a56397d8" # String | The ID of the object reference to retrieve. + +# Get Tagged Object +try { + $Result = Get-V2024TaggedObject -Type $Type -Id $Id +} catch { + Write-Host ("Exception occurred when calling Get-V2024TaggedObject: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Type** | **String**| The type of tagged object to retrieve. | + **Id** | **String**| The ID of the object reference to retrieve. | + +### Return type + +[**TaggedObject**](TaggedObject.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024TaggedObjects** +> TaggedObject[] Get-V2024TaggedObjects
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+>         [-Filters]
+ +List Tagged Objects + +This API returns a list of all tagged objects. Any authenticated token may be used to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) +$Filters = "tagName eq "BU_FINANCE"" # 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: **objectRef.id**: *eq, in* **objectRef.type**: *eq, in* **tagName**: *eq, in* (optional) + +# List Tagged Objects +try { + $Result = Get-V2024TaggedObjects -Limit $Limit -Offset $Offset -Count $Count -Filters $Filters +} catch { + Write-Host ("Exception occurred when calling Get-V2024TaggedObjects: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **Filters** | **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: **objectRef.id**: *eq, in* **objectRef.type**: *eq, in* **tagName**: *eq, in* | [optional] + +### Return type + +[**TaggedObject[]**](TaggedObject.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024TaggedObjectsByType** +> TaggedObject[] Get-V2024TaggedObjectsByType
+>         [-Type]
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+>         [-Filters]
+ +List Tagged Objects by Type + +This API returns a list of all tagged objects by type. Any authenticated token may be used to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Type = "ACCESS_PROFILE" # String | The type of tagged object to retrieve. +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) +$Filters = "objectRef.id eq "2c91808568c529c60168cca6f90c1313"" # 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: **objectRef.id**: *eq* **objectRef.type**: *eq* (optional) + +# List Tagged Objects by Type +try { + $Result = Get-V2024TaggedObjectsByType -Type $Type -Limit $Limit -Offset $Offset -Count $Count -Filters $Filters +} catch { + Write-Host ("Exception occurred when calling Get-V2024TaggedObjectsByType: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Type** | **String**| The type of tagged object to retrieve. | + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **Filters** | **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: **objectRef.id**: *eq* **objectRef.type**: *eq* | [optional] + +### Return type + +[**TaggedObject[]**](TaggedObject.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Send-V2024TaggedObject** +> TaggedObject Send-V2024TaggedObject
+>         [-Type]
+>         [-Id]
+>         [-TaggedObject]
+ +Update Tagged Object + +This updates a tagged object for the specified type. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Type = "ACCESS_PROFILE" # String | The type of tagged object to update. +$Id = "ef38f94347e94562b5bb8424a56397d8" # String | The ID of the object reference to update. +$TaggedObjectDto = Initialize-TaggedObjectDto -Type "ACCESS_PROFILE" -Id "2c91808568c529c60168cca6f90c1313" -Name "William Wilson" +$TaggedObject = Initialize-TaggedObject -ObjectRef $TaggedObjectDto -Tags "MyTags" # TaggedObject | + +# Update Tagged Object +try { + $Result = Send-V2024TaggedObject -Type $Type -Id $Id -TaggedObject $TaggedObject +} catch { + Write-Host ("Exception occurred when calling Send-V2024TaggedObject: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Type** | **String**| The type of tagged object to update. | + **Id** | **String**| The ID of the object reference to update. | + **TaggedObject** | [**TaggedObject**](TaggedObject.md)| | + +### Return type + +[**TaggedObject**](TaggedObject.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Set-V2024TagToObject** +> void Set-V2024TagToObject
+>         [-TaggedObject]
+ +Add Tag to Object + +This adds a tag to an object. Any authenticated token may be used to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$TaggedObjectDto = Initialize-TaggedObjectDto -Type "ACCESS_PROFILE" -Id "2c91808568c529c60168cca6f90c1313" -Name "William Wilson" +$TaggedObject = Initialize-TaggedObject -ObjectRef $TaggedObjectDto -Tags "MyTags" # TaggedObject | + +# Add Tag to Object +try { + $Result = Set-V2024TagToObject -TaggedObject $TaggedObject +} catch { + Write-Host ("Exception occurred when calling Set-V2024TagToObject: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **TaggedObject** | [**TaggedObject**](TaggedObject.md)| | + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Set-V2024TagsToManyObjects** +> BulkTaggedObjectResponse[] Set-V2024TagsToManyObjects
+>         [-BulkAddTaggedObject]
+ +Tag Multiple Objects + +This API adds tags to multiple objects. A token with API, CERT_ADMIN, ORG_ADMIN, REPORT_ADMIN, ROLE_ADMIN, ROLE_SUBADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$TaggedObjectDto = Initialize-TaggedObjectDto -Type "ACCESS_PROFILE" -Id "2c91808568c529c60168cca6f90c1313" -Name "William Wilson" +$BulkAddTaggedObject = Initialize-BulkAddTaggedObject -ObjectRefs $TaggedObjectDto -Tags "MyTags" -Operation "APPEND" # BulkAddTaggedObject | Supported object types are ACCESS_PROFILE, APPLICATION, CAMPAIGN, ENTITLEMENT, IDENTITY, ROLE, SOD_POLICY, SOURCE. + +# Tag Multiple Objects +try { + $Result = Set-V2024TagsToManyObjects -BulkAddTaggedObject $BulkAddTaggedObject +} catch { + Write-Host ("Exception occurred when calling Set-V2024TagsToManyObjects: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **BulkAddTaggedObject** | [**BulkAddTaggedObject**](BulkAddTaggedObject.md)| Supported object types are ACCESS_PROFILE, APPLICATION, CAMPAIGN, ENTITLEMENT, IDENTITY, ROLE, SOD_POLICY, SOURCE. | + +### Return type + +[**BulkTaggedObjectResponse[]**](BulkTaggedObjectResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024TaskManagementApi.md b/PSSailpoint/v2024/docs/V2024TaskManagementApi.md new file mode 100644 index 000000000..33adf229e --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024TaskManagementApi.md @@ -0,0 +1,311 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024TaskManagementApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**Get-V2024PendingTaskHeaders**](V2024TaskManagementApi.md#Get-V2024PendingTaskHeaders) | **HEAD** /task-status/pending-tasks | Retrieve headers only for pending task list. +[**Get-V2024PendingTasks**](V2024TaskManagementApi.md#Get-V2024PendingTasks) | **GET** /task-status/pending-tasks | Retrieve a pending task list. +[**Get-V2024TaskStatus**](V2024TaskManagementApi.md#Get-V2024TaskStatus) | **GET** /task-status/{id} | Get task status by ID. +[**Get-V2024TaskStatusList**](V2024TaskManagementApi.md#Get-V2024TaskStatusList) | **GET** /task-status | Retrieve a task status list. +[**Update-V2024TaskStatus**](V2024TaskManagementApi.md#Update-V2024TaskStatus) | **PATCH** /task-status/{id} | Update task status by ID + + + +# **Get-V2024PendingTaskHeaders** +> void Get-V2024PendingTaskHeaders
+>         [-XSailPointExperimental]
+>         [-Offset]
+>         [-Limit]
+>         [-Count]
+ +Retrieve headers only for pending task list. + +Retrieve headers for a list of TaskStatus for pending tasks. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Count = $true # Boolean | 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. (optional) (default to $false) + +# Retrieve headers only for pending task list. +try { + $Result = Get-V2024PendingTaskHeaders -XSailPointExperimental $XSailPointExperimental -Offset $Offset -Limit $Limit -Count $Count +} catch { + Write-Host ("Exception occurred when calling Get-V2024PendingTaskHeaders: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Count** | **Boolean**| 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. | [optional] [default to $false] + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024PendingTasks** +> TaskStatus[] Get-V2024PendingTasks
+>         [-XSailPointExperimental]
+>         [-Offset]
+>         [-Limit]
+>         [-Count]
+ +Retrieve a pending task list. + +Retrieve a list of TaskStatus for pending tasks. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Count = $true # Boolean | 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. (optional) (default to $false) + +# Retrieve a pending task list. +try { + $Result = Get-V2024PendingTasks -XSailPointExperimental $XSailPointExperimental -Offset $Offset -Limit $Limit -Count $Count +} catch { + Write-Host ("Exception occurred when calling Get-V2024PendingTasks: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Count** | **Boolean**| 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. | [optional] [default to $false] + +### Return type + +[**TaskStatus[]**](TaskStatus.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024TaskStatus** +> TaskStatus Get-V2024TaskStatus
+>         [-Id]
+>         [-XSailPointExperimental]
+ +Get task status by ID. + +Get a TaskStatus for a task by task ID. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "00eebcf881994e419d72e757fd30dc0e" # String | Task ID. +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Get task status by ID. +try { + $Result = Get-V2024TaskStatus -Id $Id -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Get-V2024TaskStatus: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| Task ID. | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**TaskStatus**](TaskStatus.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024TaskStatusList** +> TaskStatus[] Get-V2024TaskStatusList
+>         [-XSailPointExperimental]
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+>         [-Filters]
+>         [-Sorters]
+ +Retrieve a task status list. + +Use this endpoint to get a list of **completed** tasks. To get a list of tasks **in-progress**, please use the [get pending tasks](https://developer.sailpoint.com/docs/api/beta/get-pending-tasks) endpoint. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) +$Filters = "completionStatus eq "Success"" # 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, in* **sourceId**: *eq, in* **completionStatus**: *eq, in* **type**: *eq, in* (optional) +$Sorters = "-created" # String | 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: **created** (optional) + +# Retrieve a task status list. +try { + $Result = Get-V2024TaskStatusList -XSailPointExperimental $XSailPointExperimental -Limit $Limit -Offset $Offset -Count $Count -Filters $Filters -Sorters $Sorters +} catch { + Write-Host ("Exception occurred when calling Get-V2024TaskStatusList: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **Filters** | **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, in* **sourceId**: *eq, in* **completionStatus**: *eq, in* **type**: *eq, in* | [optional] + **Sorters** | **String**| 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: **created** | [optional] + +### Return type + +[**TaskStatus[]**](TaskStatus.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Update-V2024TaskStatus** +> TaskStatus Update-V2024TaskStatus
+>         [-Id]
+>         [-XSailPointExperimental]
+>         [-JsonPatchOperation]
+ +Update task status by ID + +Update a current task status by task ID. Use this API to clear a pending task by updating the completionStatus and completed attributes. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "00eebcf881994e419d72e757fd30dc0e" # String | Task ID. +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$JsonPatchOperationValue = Initialize-JsonPatchOperationValue +$JsonPatchOperation = Initialize-JsonPatchOperation -Op "add" -Path "/description" -Value $JsonPatchOperationValue # JsonPatchOperation[] | The JSONPatch payload used to update the object. + +# Update task status by ID +try { + $Result = Update-V2024TaskStatus -Id $Id -XSailPointExperimental $XSailPointExperimental -JsonPatchOperation $JsonPatchOperation +} catch { + Write-Host ("Exception occurred when calling Update-V2024TaskStatus: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| Task ID. | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **JsonPatchOperation** | [**JsonPatchOperation[]**](JsonPatchOperation.md)| The JSONPatch payload used to update the object. | + +### Return type + +[**TaskStatus**](TaskStatus.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024TenantApi.md b/PSSailpoint/v2024/docs/V2024TenantApi.md new file mode 100644 index 000000000..9faa5c378 --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024TenantApi.md @@ -0,0 +1,60 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024TenantApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**Get-V2024Tenant**](V2024TenantApi.md#Get-V2024Tenant) | **GET** /tenant | Get Tenant Information. + + + +# **Get-V2024Tenant** +> Tenant Get-V2024Tenant
+>         [-XSailPointExperimental]
+ +Get Tenant Information. + +This rest endpoint can be used to retrieve tenant details. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Get Tenant Information. +try { + $Result = Get-V2024Tenant -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Get-V2024Tenant: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**Tenant**](Tenant.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024TransformsApi.md b/PSSailpoint/v2024/docs/V2024TransformsApi.md new file mode 100644 index 000000000..39295616d --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024TransformsApi.md @@ -0,0 +1,299 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024TransformsApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**New-V2024Transform**](V2024TransformsApi.md#New-V2024Transform) | **POST** /transforms | Create transform +[**Remove-V2024Transform**](V2024TransformsApi.md#Remove-V2024Transform) | **DELETE** /transforms/{id} | Delete a transform +[**Get-V2024Transform**](V2024TransformsApi.md#Get-V2024Transform) | **GET** /transforms/{id} | Transform by ID +[**Get-V2024Transforms**](V2024TransformsApi.md#Get-V2024Transforms) | **GET** /transforms | List transforms +[**Update-V2024Transform**](V2024TransformsApi.md#Update-V2024Transform) | **PUT** /transforms/{id} | Update a transform + + + +# **New-V2024Transform** +> TransformRead New-V2024Transform
+>         [-Transform]
+ +Create transform + +Creates a new transform object immediately. By default, the internal flag is set to false to indicate that this is a custom transform. Only SailPoint employees have the ability to create a transform with internal set to true. Newly created Transforms can be used in the Identity Profile mappings within the UI. A token with transform write authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$DateFormatInputFormat = Initialize-DateFormatInputFormat +$DateFormatOutputFormat = Initialize-DateFormatOutputFormat +$DateCompareFirstDate = Initialize-DateCompareFirstDate -SourceName "Workday" -AttributeName "DEPARTMENT" -AccountSortAttribute "created" -AccountSortDescending $false -AccountReturnFirstLink $false -AccountFilter "!(nativeIdentity.startsWith("*DELETED*"))" -AccountPropertyFilter "(groups.containsAll({'Admin'}) || location == 'Austin')" -RequiresPeriodicRefresh $false -VarInput @{ key_example = } -InputFormat $DateFormatInputFormat -OutputFormat $DateFormatOutputFormat + +$DateCompareSecondDate = Initialize-DateCompareSecondDate -SourceName "Workday" -AttributeName "DEPARTMENT" -AccountSortAttribute "created" -AccountSortDescending $false -AccountReturnFirstLink $false -AccountFilter "!(nativeIdentity.startsWith("*DELETED*"))" -AccountPropertyFilter "(groups.containsAll({'Admin'}) || location == 'Austin')" -RequiresPeriodicRefresh $false -VarInput @{ key_example = } -InputFormat $DateFormatInputFormat -OutputFormat $DateFormatOutputFormat + +$TransformAttributes = Initialize-TransformAttributes -SourceName "Workday" -AttributeName "DEPARTMENT" -AccountSortAttribute "created" -AccountSortDescending $false -AccountReturnFirstLink $false -AccountFilter "!(nativeIdentity.startsWith("*DELETED*"))" -AccountPropertyFilter "(groups.containsAll({'Admin'}) || location == 'Austin')" -RequiresPeriodicRefresh $false -VarInput @{ key_example = } -Values "string$variable" -Expression "now+1w" -PositiveCondition "true" -NegativeCondition "false" -FirstDate $DateCompareFirstDate -SecondDate $DateCompareSecondDate -Operator "LT" -InputFormat $DateFormatInputFormat -OutputFormat $DateFormatOutputFormat -RoundUp $false -DefaultRegion "US" -IgnoreErrors $false -Name "email" -Operation "getReferenceIdentityAttribute" -IncludeNumbers $true -IncludeSpecialChars $true -Length "4" -Uid "2c91808570313110017040b06f344ec9" -Substring "admin_" -Format "alpha2" -Padding "0" -Table @{ key_example = } -Id "Existing Transform" -Regex "[^a-zA-Z]" -Replacement " " -Delimiter "," -Index "5" -Throws $true -VarBegin 1 -BeginOffset 3 -VarEnd 6 -EndOffset 1 + +$Transform = Initialize-Transform -Name "Timestamp To Date" -Type "accountAttribute" -Attributes $TransformAttributes # Transform | The transform to be created. + +# Create transform +try { + $Result = New-V2024Transform -Transform $Transform +} catch { + Write-Host ("Exception occurred when calling New-V2024Transform: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Transform** | [**Transform**](Transform.md)| The transform to be created. | + +### Return type + +[**TransformRead**](TransformRead.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Remove-V2024Transform** +> void Remove-V2024Transform
+>         [-Id]
+ +Delete a transform + +Deletes the transform specified by the given ID. Attempting to delete a transform that is used in one or more Identity Profile mappings will result in an error. If this occurs, you must first remove the transform from all mappings before deleting the transform. A token with transform delete authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "2cd78adghjkja34jh2b1hkjhasuecd" # String | ID of the transform to delete + +# Delete a transform +try { + $Result = Remove-V2024Transform -Id $Id +} catch { + Write-Host ("Exception occurred when calling Remove-V2024Transform: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| ID of the transform to delete | + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024Transform** +> TransformRead Get-V2024Transform
+>         [-Id]
+ +Transform by ID + +This API returns the transform specified by the given ID. A token with transform read authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "2cd78adghjkja34jh2b1hkjhasuecd" # String | ID of the transform to retrieve + +# Transform by ID +try { + $Result = Get-V2024Transform -Id $Id +} catch { + Write-Host ("Exception occurred when calling Get-V2024Transform: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| ID of the transform to retrieve | + +### Return type + +[**TransformRead**](TransformRead.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024Transforms** +> TransformRead[] Get-V2024Transforms
+>         [-Offset]
+>         [-Limit]
+>         [-Count]
+>         [-Name]
+>         [-Filters]
+ +List transforms + +Gets a list of all saved transform objects. A token with transforms-list read authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Count = $true # Boolean | 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. (optional) (default to $false) +$Name = "ExampleTransformName123" # String | Name of the transform to retrieve from the list. (optional) +$Filters = "name eq "Uppercase"" # 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: **internal**: *eq* **name**: *eq, sw* (optional) + +# List transforms +try { + $Result = Get-V2024Transforms -Offset $Offset -Limit $Limit -Count $Count -Name $Name -Filters $Filters +} catch { + Write-Host ("Exception occurred when calling Get-V2024Transforms: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **Name** | **String**| Name of the transform to retrieve from the list. | [optional] + **Filters** | **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: **internal**: *eq* **name**: *eq, sw* | [optional] + +### Return type + +[**TransformRead[]**](TransformRead.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Update-V2024Transform** +> TransformRead Update-V2024Transform
+>         [-Id]
+>         [-Transform]
+ +Update a transform + +Replaces the transform specified by the given ID with the transform provided in the request body. Only the ""attributes"" field is mutable. Attempting to change other properties (ex. ""name"" and ""type"") will result in an error. A token with transform write authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "2cd78adghjkja34jh2b1hkjhasuecd" # String | ID of the transform to update +$DateFormatInputFormat = Initialize-DateFormatInputFormat +$DateFormatOutputFormat = Initialize-DateFormatOutputFormat +$DateCompareFirstDate = Initialize-DateCompareFirstDate -SourceName "Workday" -AttributeName "DEPARTMENT" -AccountSortAttribute "created" -AccountSortDescending $false -AccountReturnFirstLink $false -AccountFilter "!(nativeIdentity.startsWith("*DELETED*"))" -AccountPropertyFilter "(groups.containsAll({'Admin'}) || location == 'Austin')" -RequiresPeriodicRefresh $false -VarInput @{ key_example = } -InputFormat $DateFormatInputFormat -OutputFormat $DateFormatOutputFormat + +$DateCompareSecondDate = Initialize-DateCompareSecondDate -SourceName "Workday" -AttributeName "DEPARTMENT" -AccountSortAttribute "created" -AccountSortDescending $false -AccountReturnFirstLink $false -AccountFilter "!(nativeIdentity.startsWith("*DELETED*"))" -AccountPropertyFilter "(groups.containsAll({'Admin'}) || location == 'Austin')" -RequiresPeriodicRefresh $false -VarInput @{ key_example = } -InputFormat $DateFormatInputFormat -OutputFormat $DateFormatOutputFormat + +$TransformAttributes = Initialize-TransformAttributes -SourceName "Workday" -AttributeName "DEPARTMENT" -AccountSortAttribute "created" -AccountSortDescending $false -AccountReturnFirstLink $false -AccountFilter "!(nativeIdentity.startsWith("*DELETED*"))" -AccountPropertyFilter "(groups.containsAll({'Admin'}) || location == 'Austin')" -RequiresPeriodicRefresh $false -VarInput @{ key_example = } -Values "string$variable" -Expression "now+1w" -PositiveCondition "true" -NegativeCondition "false" -FirstDate $DateCompareFirstDate -SecondDate $DateCompareSecondDate -Operator "LT" -InputFormat $DateFormatInputFormat -OutputFormat $DateFormatOutputFormat -RoundUp $false -DefaultRegion "US" -IgnoreErrors $false -Name "email" -Operation "getReferenceIdentityAttribute" -IncludeNumbers $true -IncludeSpecialChars $true -Length "4" -Uid "2c91808570313110017040b06f344ec9" -Substring "admin_" -Format "alpha2" -Padding "0" -Table @{ key_example = } -Id "Existing Transform" -Regex "[^a-zA-Z]" -Replacement " " -Delimiter "," -Index "5" -Throws $true -VarBegin 1 -BeginOffset 3 -VarEnd 6 -EndOffset 1 + +$Transform = Initialize-Transform -Name "Timestamp To Date" -Type "accountAttribute" -Attributes $TransformAttributes # Transform | The updated transform object. Must include ""name"", ""type"", and ""attributes"" fields, but ""name"" and ""type"" must not be modified. (optional) + +# Update a transform +try { + $Result = Update-V2024Transform -Id $Id -Transform $Transform +} catch { + Write-Host ("Exception occurred when calling Update-V2024Transform: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| ID of the transform to update | + **Transform** | [**Transform**](Transform.md)| The updated transform object. Must include ""name"", ""type"", and ""attributes"" fields, but ""name"" and ""type"" must not be modified. | [optional] + +### Return type + +[**TransformRead**](TransformRead.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024TriggersApi.md b/PSSailpoint/v2024/docs/V2024TriggersApi.md new file mode 100644 index 000000000..d191b3019 --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024TriggersApi.md @@ -0,0 +1,614 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024TriggersApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**Complete-V2024TriggerInvocation**](V2024TriggersApi.md#Complete-V2024TriggerInvocation) | **POST** /trigger-invocations/{id}/complete | Complete Trigger Invocation +[**New-V2024Subscription**](V2024TriggersApi.md#New-V2024Subscription) | **POST** /trigger-subscriptions | Create a Subscription +[**Remove-V2024Subscription**](V2024TriggersApi.md#Remove-V2024Subscription) | **DELETE** /trigger-subscriptions/{id} | Delete a Subscription +[**Get-V2024Subscriptions**](V2024TriggersApi.md#Get-V2024Subscriptions) | **GET** /trigger-subscriptions | List Subscriptions +[**Get-V2024TriggerInvocationStatus**](V2024TriggersApi.md#Get-V2024TriggerInvocationStatus) | **GET** /trigger-invocations/status | List Latest Invocation Statuses +[**Get-V2024Triggers**](V2024TriggersApi.md#Get-V2024Triggers) | **GET** /triggers | List Triggers +[**Update-V2024Subscription**](V2024TriggersApi.md#Update-V2024Subscription) | **PATCH** /trigger-subscriptions/{id} | Patch a Subscription +[**Start-V2024TestTriggerInvocation**](V2024TriggersApi.md#Start-V2024TestTriggerInvocation) | **POST** /trigger-invocations/test | Start a Test Invocation +[**Test-V2024SubscriptionFilter**](V2024TriggersApi.md#Test-V2024SubscriptionFilter) | **POST** /trigger-subscriptions/validate-filter | Validate a Subscription Filter +[**Update-V2024Subscription**](V2024TriggersApi.md#Update-V2024Subscription) | **PUT** /trigger-subscriptions/{id} | Update a Subscription + + + +# **Complete-V2024TriggerInvocation** +> void Complete-V2024TriggerInvocation
+>         [-Id]
+>         [-XSailPointExperimental]
+>         [-CompleteInvocation]
+ +Complete Trigger Invocation + +Completes an invocation to a REQUEST_RESPONSE type trigger. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde" # String | The ID of the invocation to complete. +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$CompleteInvocation = Initialize-CompleteInvocation -Secret "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde" -VarError "Access request is denied." -Output # CompleteInvocation | + +# Complete Trigger Invocation +try { + $Result = Complete-V2024TriggerInvocation -Id $Id -XSailPointExperimental $XSailPointExperimental -CompleteInvocation $CompleteInvocation +} catch { + Write-Host ("Exception occurred when calling Complete-V2024TriggerInvocation: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The ID of the invocation to complete. | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **CompleteInvocation** | [**CompleteInvocation**](CompleteInvocation.md)| | + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **New-V2024Subscription** +> Subscription New-V2024Subscription
+>         [-XSailPointExperimental]
+>         [-SubscriptionPostRequest]
+ +Create a Subscription + +This API creates a new subscription to a trigger and defines trigger invocation details. The type of subscription determines which config object is required: * HTTP subscriptions require httpConfig * EventBridge subscriptions require eventBridgeConfig + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$BasicAuthConfig = Initialize-BasicAuthConfig -UserName "user@example.com" -Password "MyPassword" +$BearerTokenAuthConfig = Initialize-BearerTokenAuthConfig -BearerToken "MyBearerToken" +$HttpConfig = Initialize-HttpConfig -Url "https://www.example.com" -HttpDispatchMode "SYNC" -HttpAuthenticationType "NO_AUTH" -BasicAuthConfig $BasicAuthConfig -BearerTokenAuthConfig $BearerTokenAuthConfig + +$EventBridgeConfig = Initialize-EventBridgeConfig -AwsAccount "123456789012" -AwsRegion "us-west-1" +$SubscriptionPostRequest = Initialize-SubscriptionPostRequest -Name "Access request subscription" -Description "Access requested to site xyz" -TriggerId "idn:access-requested" -Type "HTTP" -ResponseDeadline "PT1H" -HttpConfig $HttpConfig -EventBridgeConfig $EventBridgeConfig -Enabled $true -VarFilter "$[?($.identityId == "201327fda1c44704ac01181e963d463c")]" # SubscriptionPostRequest | + +# Create a Subscription +try { + $Result = New-V2024Subscription -XSailPointExperimental $XSailPointExperimental -SubscriptionPostRequest $SubscriptionPostRequest +} catch { + Write-Host ("Exception occurred when calling New-V2024Subscription: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **SubscriptionPostRequest** | [**SubscriptionPostRequest**](SubscriptionPostRequest.md)| | + +### Return type + +[**Subscription**](Subscription.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Remove-V2024Subscription** +> void Remove-V2024Subscription
+>         [-Id]
+>         [-XSailPointExperimental]
+ +Delete a Subscription + +Deletes an existing subscription to a trigger. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde" # String | Subscription ID +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Delete a Subscription +try { + $Result = Remove-V2024Subscription -Id $Id -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Remove-V2024Subscription: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| Subscription ID | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024Subscriptions** +> Subscription[] Get-V2024Subscriptions
+>         [-XSailPointExperimental]
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+>         [-Filters]
+>         [-Sorters]
+ +List Subscriptions + +Gets a list of all trigger subscriptions. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) +$Filters = "id eq "12cff757-c0c0-413b-8ad7-2a47956d1e89"" # 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* **triggerId**: *eq* **type**: *eq, le* (optional) +$Sorters = "triggerName" # String | 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: **triggerId, triggerName** (optional) + +# List Subscriptions +try { + $Result = Get-V2024Subscriptions -XSailPointExperimental $XSailPointExperimental -Limit $Limit -Offset $Offset -Count $Count -Filters $Filters -Sorters $Sorters +} catch { + Write-Host ("Exception occurred when calling Get-V2024Subscriptions: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **Filters** | **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* **triggerId**: *eq* **type**: *eq, le* | [optional] + **Sorters** | **String**| 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: **triggerId, triggerName** | [optional] + +### Return type + +[**Subscription[]**](Subscription.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024TriggerInvocationStatus** +> InvocationStatus[] Get-V2024TriggerInvocationStatus
+>         [-XSailPointExperimental]
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+>         [-Filters]
+>         [-Sorters]
+ +List Latest Invocation Statuses + +Gets a list of latest invocation statuses. Statuses of successful invocations are available for up to 24 hours. Statuses of failed invocations are available for up to 48 hours. This endpoint may only fetch up to 2000 invocations, and should not be treated as a representation of the full history of invocations. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) +$Filters = "triggerId eq "idn:access-request-dynamic-approver"" # 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: **triggerId**: *eq* **subscriptionId**: *eq* (optional) +$Sorters = "created" # String | 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: **triggerId, subscriptionName, created, completed** (optional) + +# List Latest Invocation Statuses +try { + $Result = Get-V2024TriggerInvocationStatus -XSailPointExperimental $XSailPointExperimental -Limit $Limit -Offset $Offset -Count $Count -Filters $Filters -Sorters $Sorters +} catch { + Write-Host ("Exception occurred when calling Get-V2024TriggerInvocationStatus: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **Filters** | **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: **triggerId**: *eq* **subscriptionId**: *eq* | [optional] + **Sorters** | **String**| 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: **triggerId, subscriptionName, created, completed** | [optional] + +### Return type + +[**InvocationStatus[]**](InvocationStatus.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024Triggers** +> Trigger[] Get-V2024Triggers
+>         [-XSailPointExperimental]
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+>         [-Filters]
+>         [-Sorters]
+ +List Triggers + +Gets a list of triggers that are available in the tenant. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) +$Filters = "id eq "idn:access-request-post-approval"" # 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, ge, le* (optional) +$Sorters = "name" # String | 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** (optional) + +# List Triggers +try { + $Result = Get-V2024Triggers -XSailPointExperimental $XSailPointExperimental -Limit $Limit -Offset $Offset -Count $Count -Filters $Filters -Sorters $Sorters +} catch { + Write-Host ("Exception occurred when calling Get-V2024Triggers: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **Filters** | **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, ge, le* | [optional] + **Sorters** | **String**| 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** | [optional] + +### Return type + +[**Trigger[]**](Trigger.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Update-V2024Subscription** +> Subscription Update-V2024Subscription
+>         [-Id]
+>         [-XSailPointExperimental]
+>         [-SubscriptionPatchRequestInner]
+ +Patch a Subscription + +This API updates a trigger subscription in IdentityNow, using a set of instructions to modify a subscription partially. The following fields are patchable: **name**, **description**, **enabled**, **type**, **filter**, **responseDeadline**, **httpConfig**, **eventBridgeConfig**, **workflowConfig** + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde" # String | ID of the Subscription to patch +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$SubscriptionPatchRequestInnerValue = Initialize-SubscriptionPatchRequestInnerValue +$SubscriptionPatchRequestInner = Initialize-SubscriptionPatchRequestInner -Op "add" -Path "/description" -Value $SubscriptionPatchRequestInnerValue # SubscriptionPatchRequestInner[] | + +# Patch a Subscription +try { + $Result = Update-V2024Subscription -Id $Id -XSailPointExperimental $XSailPointExperimental -SubscriptionPatchRequestInner $SubscriptionPatchRequestInner +} catch { + Write-Host ("Exception occurred when calling Update-V2024Subscription: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| ID of the Subscription to patch | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **SubscriptionPatchRequestInner** | [**SubscriptionPatchRequestInner[]**](SubscriptionPatchRequestInner.md)| | + +### Return type + +[**Subscription**](Subscription.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Start-V2024TestTriggerInvocation** +> Invocation[] Start-V2024TestTriggerInvocation
+>         [-XSailPointExperimental]
+>         [-TestInvocation]
+ +Start a Test Invocation + +Initiate a test event for all subscribers of the specified event trigger. If there are no subscribers to the specified trigger in the tenant, then no test event will be sent. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$TestInvocation = Initialize-TestInvocation -TriggerId "idn:access-request-post-approval" -VarInput -ContentJson -SubscriptionIds "MySubscriptionIds" # TestInvocation | + +# Start a Test Invocation +try { + $Result = Start-V2024TestTriggerInvocation -XSailPointExperimental $XSailPointExperimental -TestInvocation $TestInvocation +} catch { + Write-Host ("Exception occurred when calling Start-V2024TestTriggerInvocation: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **TestInvocation** | [**TestInvocation**](TestInvocation.md)| | + +### Return type + +[**Invocation[]**](Invocation.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Test-V2024SubscriptionFilter** +> ValidateFilterOutputDto Test-V2024SubscriptionFilter
+>         [-XSailPointExperimental]
+>         [-ValidateFilterInputDto]
+ +Validate a Subscription Filter + +Validates a JSONPath filter expression against a provided mock input. Request requires a security scope of: + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$ValidateFilterInputDto = Initialize-ValidateFilterInputDto -VarInput -VarFilter "$[?($.identityId == "201327fda1c44704ac01181e963d463c")]" # ValidateFilterInputDto | + +# Validate a Subscription Filter +try { + $Result = Test-V2024SubscriptionFilter -XSailPointExperimental $XSailPointExperimental -ValidateFilterInputDto $ValidateFilterInputDto +} catch { + Write-Host ("Exception occurred when calling Test-V2024SubscriptionFilter: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **ValidateFilterInputDto** | [**ValidateFilterInputDto**](ValidateFilterInputDto.md)| | + +### Return type + +[**ValidateFilterOutputDto**](ValidateFilterOutputDto.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Update-V2024Subscription** +> Subscription Update-V2024Subscription
+>         [-Id]
+>         [-XSailPointExperimental]
+>         [-SubscriptionPutRequest]
+ +Update a Subscription + +This API updates a trigger subscription in IdentityNow, using a full object representation. In other words, the existing Subscription is completely replaced. The following fields are immutable: * id * triggerId Attempts to modify these fields result in 400. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde" # String | Subscription ID +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$BasicAuthConfig = Initialize-BasicAuthConfig -UserName "user@example.com" -Password "MyPassword" +$BearerTokenAuthConfig = Initialize-BearerTokenAuthConfig -BearerToken "MyBearerToken" +$HttpConfig = Initialize-HttpConfig -Url "https://www.example.com" -HttpDispatchMode "SYNC" -HttpAuthenticationType "NO_AUTH" -BasicAuthConfig $BasicAuthConfig -BearerTokenAuthConfig $BearerTokenAuthConfig + +$EventBridgeConfig = Initialize-EventBridgeConfig -AwsAccount "123456789012" -AwsRegion "us-west-1" +$SubscriptionPutRequest = Initialize-SubscriptionPutRequest -Name "Access request subscription" -Description "Access requested to site xyz" -Type "HTTP" -ResponseDeadline "PT1H" -HttpConfig $HttpConfig -EventBridgeConfig $EventBridgeConfig -Enabled $true -VarFilter "$[?($.identityId == "201327fda1c44704ac01181e963d463c")]" # SubscriptionPutRequest | + +# Update a Subscription +try { + $Result = Update-V2024Subscription -Id $Id -XSailPointExperimental $XSailPointExperimental -SubscriptionPutRequest $SubscriptionPutRequest +} catch { + Write-Host ("Exception occurred when calling Update-V2024Subscription: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| Subscription ID | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **SubscriptionPutRequest** | [**SubscriptionPutRequest**](SubscriptionPutRequest.md)| | + +### Return type + +[**Subscription**](Subscription.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024UIMetadataApi.md b/PSSailpoint/v2024/docs/V2024UIMetadataApi.md new file mode 100644 index 000000000..ecf7d8ee1 --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024UIMetadataApi.md @@ -0,0 +1,115 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024UIMetadataApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**Get-V2024TenantUiMetadata**](V2024UIMetadataApi.md#Get-V2024TenantUiMetadata) | **GET** /ui-metadata/tenant | Get a tenant UI metadata +[**Set-V2024TenantUiMetadata**](V2024UIMetadataApi.md#Set-V2024TenantUiMetadata) | **PUT** /ui-metadata/tenant | Update tenant UI metadata + + + +# **Get-V2024TenantUiMetadata** +> TenantUiMetadataItemResponse Get-V2024TenantUiMetadata
+>         [-XSailPointExperimental]
+ +Get a tenant UI metadata + +This API endpoint retrieves UI metadata configured for your tenant. A token with ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Get a tenant UI metadata +try { + $Result = Get-V2024TenantUiMetadata -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Get-V2024TenantUiMetadata: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**TenantUiMetadataItemResponse**](TenantUiMetadataItemResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Set-V2024TenantUiMetadata** +> TenantUiMetadataItemResponse Set-V2024TenantUiMetadata
+>         [-XSailPointExperimental]
+>         [-TenantUiMetadataItemUpdateRequest]
+ +Update tenant UI metadata + +This API endpoint updates UI metadata for your tenant. These changes may require up to 5 minutes to take effect on the UI. A token with ORG_ADMIN authority is required to call this API. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$TenantUiMetadataItemUpdateRequest = Initialize-TenantUiMetadataItemUpdateRequest -IframeWhiteList "http://example.com http://example2.com" -UsernameLabel "Email" -UsernameEmptyText "Please provide your work email address..." # TenantUiMetadataItemUpdateRequest | + +# Update tenant UI metadata +try { + $Result = Set-V2024TenantUiMetadata -XSailPointExperimental $XSailPointExperimental -TenantUiMetadataItemUpdateRequest $TenantUiMetadataItemUpdateRequest +} catch { + Write-Host ("Exception occurred when calling Set-V2024TenantUiMetadata: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **TenantUiMetadataItemUpdateRequest** | [**TenantUiMetadataItemUpdateRequest**](TenantUiMetadataItemUpdateRequest.md)| | + +### Return type + +[**TenantUiMetadataItemResponse**](TenantUiMetadataItemResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024VendorConnectorMappingsApi.md b/PSSailpoint/v2024/docs/V2024VendorConnectorMappingsApi.md new file mode 100644 index 000000000..205e47015 --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024VendorConnectorMappingsApi.md @@ -0,0 +1,120 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024VendorConnectorMappingsApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**New-V2024VendorConnectorMapping**](V2024VendorConnectorMappingsApi.md#New-V2024VendorConnectorMapping) | **POST** /vendor-connector-mappings | Create a vendor connector mapping +[**Remove-V2024VendorConnectorMapping**](V2024VendorConnectorMappingsApi.md#Remove-V2024VendorConnectorMapping) | **DELETE** /vendor-connector-mappings | Delete a vendor connector mapping + + + +# **New-V2024VendorConnectorMapping** +> VendorConnectorMapping New-V2024VendorConnectorMapping
+>         [-VendorConnectorMapping]
+ +Create a vendor connector mapping + +Creates a new mapping between a SaaS vendor and an IDN connector to establish correlation paths. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$VendorConnectorMappingUpdatedAt = Initialize-VendorConnectorMappingUpdatedAt -Time (Get-Date) -Valid $true +$VendorConnectorMappingUpdatedBy = Initialize-VendorConnectorMappingUpdatedBy -String "user-67891" -Valid $true +$VendorConnectorMappingDeletedAt = Initialize-VendorConnectorMappingDeletedAt -Time (Get-Date) -Valid $false +$VendorConnectorMappingDeletedBy = Initialize-VendorConnectorMappingDeletedBy -String "MyString" -Valid $false +$VendorConnectorMapping = Initialize-VendorConnectorMapping -Id "78733556-9ea3-4f59-bf69-e5cd92b011b4" -Vendor "Example vendor" -Connector "Example connector" -CreatedAt (Get-Date) -CreatedBy "admin" -UpdatedAt $VendorConnectorMappingUpdatedAt -UpdatedBy $VendorConnectorMappingUpdatedBy -DeletedAt $VendorConnectorMappingDeletedAt -DeletedBy $VendorConnectorMappingDeletedBy # VendorConnectorMapping | + +# Create a vendor connector mapping +try { + $Result = New-V2024VendorConnectorMapping -VendorConnectorMapping $VendorConnectorMapping +} catch { + Write-Host ("Exception occurred when calling New-V2024VendorConnectorMapping: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **VendorConnectorMapping** | [**VendorConnectorMapping**](VendorConnectorMapping.md)| | + +### Return type + +[**VendorConnectorMapping**](VendorConnectorMapping.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Remove-V2024VendorConnectorMapping** +> DeleteVendorConnectorMapping200Response Remove-V2024VendorConnectorMapping
+>         [-VendorConnectorMapping]
+ +Delete a vendor connector mapping + +Soft deletes a mapping between a SaaS vendor and an IDN connector, removing the established correlation. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$VendorConnectorMappingUpdatedAt = Initialize-VendorConnectorMappingUpdatedAt -Time (Get-Date) -Valid $true +$VendorConnectorMappingUpdatedBy = Initialize-VendorConnectorMappingUpdatedBy -String "user-67891" -Valid $true +$VendorConnectorMappingDeletedAt = Initialize-VendorConnectorMappingDeletedAt -Time (Get-Date) -Valid $false +$VendorConnectorMappingDeletedBy = Initialize-VendorConnectorMappingDeletedBy -String "MyString" -Valid $false +$VendorConnectorMapping = Initialize-VendorConnectorMapping -Id "78733556-9ea3-4f59-bf69-e5cd92b011b4" -Vendor "Example vendor" -Connector "Example connector" -CreatedAt (Get-Date) -CreatedBy "admin" -UpdatedAt $VendorConnectorMappingUpdatedAt -UpdatedBy $VendorConnectorMappingUpdatedBy -DeletedAt $VendorConnectorMappingDeletedAt -DeletedBy $VendorConnectorMappingDeletedBy # VendorConnectorMapping | + +# Delete a vendor connector mapping +try { + $Result = Remove-V2024VendorConnectorMapping -VendorConnectorMapping $VendorConnectorMapping +} catch { + Write-Host ("Exception occurred when calling Remove-V2024VendorConnectorMapping: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **VendorConnectorMapping** | [**VendorConnectorMapping**](VendorConnectorMapping.md)| | + +### Return type + +[**DeleteVendorConnectorMapping200Response**](DeleteVendorConnectorMapping200Response.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024WorkItemsApi.md b/PSSailpoint/v2024/docs/V2024WorkItemsApi.md new file mode 100644 index 000000000..007728575 --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024WorkItemsApi.md @@ -0,0 +1,714 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024WorkItemsApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**Approve-V2024ApprovalItem**](V2024WorkItemsApi.md#Approve-V2024ApprovalItem) | **POST** /work-items/{id}/approve/{approvalItemId} | Approve an Approval Item +[**Approve-V2024ApprovalItemsInBulk**](V2024WorkItemsApi.md#Approve-V2024ApprovalItemsInBulk) | **POST** /work-items/bulk-approve/{id} | Bulk approve Approval Items +[**Complete-V2024WorkItem**](V2024WorkItemsApi.md#Complete-V2024WorkItem) | **POST** /work-items/{id} | Complete a Work Item +[**Get-V2024CompletedWorkItems**](V2024WorkItemsApi.md#Get-V2024CompletedWorkItems) | **GET** /work-items/completed | Completed Work Items +[**Get-V2024CountCompletedWorkItems**](V2024WorkItemsApi.md#Get-V2024CountCompletedWorkItems) | **GET** /work-items/completed/count | Count Completed Work Items +[**Get-V2024CountWorkItems**](V2024WorkItemsApi.md#Get-V2024CountWorkItems) | **GET** /work-items/count | Count Work Items +[**Get-V2024WorkItem**](V2024WorkItemsApi.md#Get-V2024WorkItem) | **GET** /work-items/{id} | Get a Work Item +[**Get-V2024WorkItemsSummary**](V2024WorkItemsApi.md#Get-V2024WorkItemsSummary) | **GET** /work-items/summary | Work Items Summary +[**Get-V2024WorkItems**](V2024WorkItemsApi.md#Get-V2024WorkItems) | **GET** /work-items | List Work Items +[**Deny-V2024ApprovalItem**](V2024WorkItemsApi.md#Deny-V2024ApprovalItem) | **POST** /work-items/{id}/reject/{approvalItemId} | Reject an Approval Item +[**Deny-V2024ApprovalItemsInBulk**](V2024WorkItemsApi.md#Deny-V2024ApprovalItemsInBulk) | **POST** /work-items/bulk-reject/{id} | Bulk reject Approval Items +[**Send-V2024WorkItemForward**](V2024WorkItemsApi.md#Send-V2024WorkItemForward) | **POST** /work-items/{id}/forward | Forward a Work Item +[**Submit-V2024AccountSelection**](V2024WorkItemsApi.md#Submit-V2024AccountSelection) | **POST** /work-items/{id}/submit-account-selection | Submit Account Selections + + + +# **Approve-V2024ApprovalItem** +> WorkItems Approve-V2024ApprovalItem
+>         [-Id]
+>         [-ApprovalItemId]
+ +Approve an Approval Item + +This API approves an Approval Item. Either an admin, or the owning/current user must make this request. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f94347e94562b5bb8424a56397d8" # String | The ID of the work item +$ApprovalItemId = "1211bcaa32112bcef6122adb21cef1ac" # String | The ID of the approval item. + +# Approve an Approval Item +try { + $Result = Approve-V2024ApprovalItem -Id $Id -ApprovalItemId $ApprovalItemId +} catch { + Write-Host ("Exception occurred when calling Approve-V2024ApprovalItem: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The ID of the work item | + **ApprovalItemId** | **String**| The ID of the approval item. | + +### Return type + +[**WorkItems**](WorkItems.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Approve-V2024ApprovalItemsInBulk** +> WorkItems Approve-V2024ApprovalItemsInBulk
+>         [-Id]
+ +Bulk approve Approval Items + +This API bulk approves Approval Items. Either an admin, or the owning/current user must make this request. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f94347e94562b5bb8424a56397d8" # String | The ID of the work item + +# Bulk approve Approval Items +try { + $Result = Approve-V2024ApprovalItemsInBulk -Id $Id +} catch { + Write-Host ("Exception occurred when calling Approve-V2024ApprovalItemsInBulk: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The ID of the work item | + +### Return type + +[**WorkItems**](WorkItems.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Complete-V2024WorkItem** +> WorkItems Complete-V2024WorkItem
+>         [-Id]
+ +Complete a Work Item + +This API completes a work item. Either an admin, or the owning/current user must make this request. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f94347e94562b5bb8424a56397d8" # String | The ID of the work item + +# Complete a Work Item +try { + $Result = Complete-V2024WorkItem -Id $Id +} catch { + Write-Host ("Exception occurred when calling Complete-V2024WorkItem: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The ID of the work item | + +### Return type + +[**WorkItems**](WorkItems.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024CompletedWorkItems** +> WorkItems[] Get-V2024CompletedWorkItems
+>         [-OwnerId]
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+ +Completed Work Items + +This gets a collection of completed work items belonging to either the specified user(admin required), or the current user. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$OwnerId = "1211bcaa32112bcef6122adb21cef1ac" # String | The id of the owner of the work item list being requested. Either an admin, or the owning/current user must make this request. (optional) +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) + +# Completed Work Items +try { + $Result = Get-V2024CompletedWorkItems -OwnerId $OwnerId -Limit $Limit -Offset $Offset -Count $Count +} catch { + Write-Host ("Exception occurred when calling Get-V2024CompletedWorkItems: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **OwnerId** | **String**| The id of the owner of the work item list being requested. Either an admin, or the owning/current user must make this request. | [optional] + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + +### Return type + +[**WorkItems[]**](WorkItems.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024CountCompletedWorkItems** +> WorkItemsCount Get-V2024CountCompletedWorkItems
+>         [-OwnerId]
+ +Count Completed Work Items + +This gets a count of completed work items belonging to either the specified user(admin required), or the current user. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$OwnerId = "1211bcaa32112bcef6122adb21cef1ac" # String | ID of the work item owner. (optional) + +# Count Completed Work Items +try { + $Result = Get-V2024CountCompletedWorkItems -OwnerId $OwnerId +} catch { + Write-Host ("Exception occurred when calling Get-V2024CountCompletedWorkItems: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **OwnerId** | **String**| ID of the work item owner. | [optional] + +### Return type + +[**WorkItemsCount**](WorkItemsCount.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024CountWorkItems** +> WorkItemsCount Get-V2024CountWorkItems
+>         [-OwnerId]
+ +Count Work Items + +This gets a count of work items belonging to either the specified user(admin required), or the current user. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$OwnerId = "ef38f94347e94562b5bb8424a56397d8" # String | ID of the work item owner. (optional) + +# Count Work Items +try { + $Result = Get-V2024CountWorkItems -OwnerId $OwnerId +} catch { + Write-Host ("Exception occurred when calling Get-V2024CountWorkItems: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **OwnerId** | **String**| ID of the work item owner. | [optional] + +### Return type + +[**WorkItemsCount**](WorkItemsCount.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024WorkItem** +> WorkItems Get-V2024WorkItem
+>         [-Id]
+ +Get a Work Item + +This gets the details of a Work Item belonging to either the specified user(admin required), or the current user. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "2c9180835d191a86015d28455b4a2329" # String | ID of the work item. + +# Get a Work Item +try { + $Result = Get-V2024WorkItem -Id $Id +} catch { + Write-Host ("Exception occurred when calling Get-V2024WorkItem: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| ID of the work item. | + +### Return type + +[**WorkItems**](WorkItems.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024WorkItemsSummary** +> WorkItemsSummary Get-V2024WorkItemsSummary
+>         [-OwnerId]
+ +Work Items Summary + +This gets a summary of work items belonging to either the specified user(admin required), or the current user. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$OwnerId = "1211bcaa32112bcef6122adb21cef1ac" # String | ID of the work item owner. (optional) + +# Work Items Summary +try { + $Result = Get-V2024WorkItemsSummary -OwnerId $OwnerId +} catch { + Write-Host ("Exception occurred when calling Get-V2024WorkItemsSummary: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **OwnerId** | **String**| ID of the work item owner. | [optional] + +### Return type + +[**WorkItemsSummary**](WorkItemsSummary.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024WorkItems** +> WorkItems[] Get-V2024WorkItems
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+>         [-OwnerId]
+ +List Work Items + +This gets a collection of work items belonging to either the specified user(admin required), or the current user. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) +$OwnerId = "1211bcaa32112bcef6122adb21cef1ac" # String | ID of the work item owner. (optional) + +# List Work Items +try { + $Result = Get-V2024WorkItems -Limit $Limit -Offset $Offset -Count $Count -OwnerId $OwnerId +} catch { + Write-Host ("Exception occurred when calling Get-V2024WorkItems: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **OwnerId** | **String**| ID of the work item owner. | [optional] + +### Return type + +[**WorkItems[]**](WorkItems.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Deny-V2024ApprovalItem** +> WorkItems Deny-V2024ApprovalItem
+>         [-Id]
+>         [-ApprovalItemId]
+ +Reject an Approval Item + +This API rejects an Approval Item. Either an admin, or the owning/current user must make this request. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f94347e94562b5bb8424a56397d8" # String | The ID of the work item +$ApprovalItemId = "1211bcaa32112bcef6122adb21cef1ac" # String | The ID of the approval item. + +# Reject an Approval Item +try { + $Result = Deny-V2024ApprovalItem -Id $Id -ApprovalItemId $ApprovalItemId +} catch { + Write-Host ("Exception occurred when calling Deny-V2024ApprovalItem: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The ID of the work item | + **ApprovalItemId** | **String**| The ID of the approval item. | + +### Return type + +[**WorkItems**](WorkItems.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Deny-V2024ApprovalItemsInBulk** +> WorkItems Deny-V2024ApprovalItemsInBulk
+>         [-Id]
+ +Bulk reject Approval Items + +This API bulk rejects Approval Items. Either an admin, or the owning/current user must make this request. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f94347e94562b5bb8424a56397d8" # String | The ID of the work item + +# Bulk reject Approval Items +try { + $Result = Deny-V2024ApprovalItemsInBulk -Id $Id +} catch { + Write-Host ("Exception occurred when calling Deny-V2024ApprovalItemsInBulk: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The ID of the work item | + +### Return type + +[**WorkItems**](WorkItems.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Send-V2024WorkItemForward** +> void Send-V2024WorkItemForward
+>         [-Id]
+>         [-WorkItemForward]
+ +Forward a Work Item + +This API forwards a work item to a new owner. Either an admin, or the owning/current user must make this request. Accessible to work-item Owner, ORG_ADMIN, REPORT_ADMIN, ROLE_ADMIN, ROLE_SUBADMIN, SOURCE_ADMIN, SOURCE_SUBADMIN. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f94347e94562b5bb8424a56397d8" # String | The ID of the work item +$WorkItemForward = Initialize-WorkItemForward -TargetOwnerId "2c9180835d2e5168015d32f890ca1581" -Comment "I'm going on vacation." -SendNotifications $true # WorkItemForward | + +# Forward a Work Item +try { + $Result = Send-V2024WorkItemForward -Id $Id -WorkItemForward $WorkItemForward +} catch { + Write-Host ("Exception occurred when calling Send-V2024WorkItemForward: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The ID of the work item | + **WorkItemForward** | [**WorkItemForward**](WorkItemForward.md)| | + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Submit-V2024AccountSelection** +> WorkItems Submit-V2024AccountSelection
+>         [-Id]
+>         [-RequestBody]
+ +Submit Account Selections + +This API submits account selections. Either an admin, or the owning/current user must make this request. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "ef38f94347e94562b5bb8424a56397d8" # String | The ID of the work item +$RequestBody = @{ key_example = } # System.Collections.Hashtable | Account Selection Data map, keyed on fieldName + +# Submit Account Selections +try { + $Result = Submit-V2024AccountSelection -Id $Id -RequestBody $RequestBody +} catch { + Write-Host ("Exception occurred when calling Submit-V2024AccountSelection: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The ID of the work item | + **RequestBody** | [**System.Collections.Hashtable**](AnyType.md)| Account Selection Data map, keyed on fieldName | + +### Return type + +[**WorkItems**](WorkItems.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024WorkReassignmentApi.md b/PSSailpoint/v2024/docs/V2024WorkReassignmentApi.md new file mode 100644 index 000000000..0362c06f5 --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024WorkReassignmentApi.md @@ -0,0 +1,504 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024WorkReassignmentApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**New-V2024ReassignmentConfiguration**](V2024WorkReassignmentApi.md#New-V2024ReassignmentConfiguration) | **POST** /reassignment-configurations | Create a Reassignment Configuration +[**Remove-V2024ReassignmentConfiguration**](V2024WorkReassignmentApi.md#Remove-V2024ReassignmentConfiguration) | **DELETE** /reassignment-configurations/{identityId} | Delete Reassignment Configuration +[**Get-V2024EvaluateReassignmentConfiguration**](V2024WorkReassignmentApi.md#Get-V2024EvaluateReassignmentConfiguration) | **GET** /reassignment-configurations/{identityId}/evaluate/{configType} | Evaluate Reassignment Configuration +[**Get-V2024ReassignmentConfigTypes**](V2024WorkReassignmentApi.md#Get-V2024ReassignmentConfigTypes) | **GET** /reassignment-configurations/types | List Reassignment Config Types +[**Get-V2024ReassignmentConfiguration**](V2024WorkReassignmentApi.md#Get-V2024ReassignmentConfiguration) | **GET** /reassignment-configurations/{identityId} | Get Reassignment Configuration +[**Get-V2024TenantConfigConfiguration**](V2024WorkReassignmentApi.md#Get-V2024TenantConfigConfiguration) | **GET** /reassignment-configurations/tenant-config | Get Tenant-wide Reassignment Configuration settings +[**Get-V2024ReassignmentConfigurations**](V2024WorkReassignmentApi.md#Get-V2024ReassignmentConfigurations) | **GET** /reassignment-configurations | List Reassignment Configurations +[**Send-V2024ReassignmentConfig**](V2024WorkReassignmentApi.md#Send-V2024ReassignmentConfig) | **PUT** /reassignment-configurations/{identityId} | Update Reassignment Configuration +[**Send-V2024TenantConfiguration**](V2024WorkReassignmentApi.md#Send-V2024TenantConfiguration) | **PUT** /reassignment-configurations/tenant-config | Update Tenant-wide Reassignment Configuration settings + + + +# **New-V2024ReassignmentConfiguration** +> ConfigurationItemResponse New-V2024ReassignmentConfiguration
+>         [-XSailPointExperimental]
+>         [-ConfigurationItemRequest]
+ +Create a Reassignment Configuration + +Creates a new Reassignment Configuration for the specified identity. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$ConfigurationItemRequest = Initialize-ConfigurationItemRequest -ReassignedFromId "2c91808781a71ddb0181b9090b5c504e" -ReassignedToId "2c91808781a71ddb0181b9090b53504a" -ConfigType "ACCESS_REQUESTS" -StartDate (Get-Date) -EndDate (Get-Date) # ConfigurationItemRequest | + +# Create a Reassignment Configuration +try { + $Result = New-V2024ReassignmentConfiguration -XSailPointExperimental $XSailPointExperimental -ConfigurationItemRequest $ConfigurationItemRequest +} catch { + Write-Host ("Exception occurred when calling New-V2024ReassignmentConfiguration: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **ConfigurationItemRequest** | [**ConfigurationItemRequest**](ConfigurationItemRequest.md)| | + +### Return type + +[**ConfigurationItemResponse**](ConfigurationItemResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Remove-V2024ReassignmentConfiguration** +> void Remove-V2024ReassignmentConfiguration
+>         [-IdentityId]
+>         [-XSailPointExperimental]
+ +Delete Reassignment Configuration + +Deletes all Reassignment Configuration for the specified identity + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$IdentityId = "2c91808781a71ddb0181b9090b5c504e" # String | unique identity id +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Delete Reassignment Configuration +try { + $Result = Remove-V2024ReassignmentConfiguration -IdentityId $IdentityId -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Remove-V2024ReassignmentConfiguration: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **IdentityId** | **String**| unique identity id | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024EvaluateReassignmentConfiguration** +> EvaluateResponse[] Get-V2024EvaluateReassignmentConfiguration
+>         [-IdentityId]
+>         [-ConfigType]
+>         [-XSailPointExperimental]
+>         [-ExclusionFilters]
+ +Evaluate Reassignment Configuration + +Evaluates the Reassignment Configuration for an `Identity` to determine if work items for the specified type should be reassigned. If a valid Reassignment Configuration is found for the identity & work type, then a lookup is initiated which recursively fetches the Reassignment Configuration for the next `TargetIdentity` until no more results are found or a max depth of 5. That lookup trail is provided in the response and the final reassigned identity in the lookup list is returned as the `reassignToId` property. If no Reassignment Configuration is found for the specified identity & config type then the requested Identity ID will be used as the `reassignToId` value and the lookupTrail node will be empty. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$IdentityId = "2c91808781a71ddb0181b9090b5c504e" # String | unique identity id +$ConfigType = "ACCESS_REQUESTS" # ConfigTypeEnum | Reassignment work type +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$ExclusionFilters = "MyExclusionFilters" # String[] | Exclusion filters that disable parts of the reassignment evaluation. Possible values are listed below: - `SELF_REVIEW_DELEGATION`: This will exclude delegations of self-review reassignments (optional) + +# Evaluate Reassignment Configuration +try { + $Result = Get-V2024EvaluateReassignmentConfiguration -IdentityId $IdentityId -ConfigType $ConfigType -XSailPointExperimental $XSailPointExperimental -ExclusionFilters $ExclusionFilters +} catch { + Write-Host ("Exception occurred when calling Get-V2024EvaluateReassignmentConfiguration: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **IdentityId** | **String**| unique identity id | + **ConfigType** | [**ConfigTypeEnum**](ConfigTypeEnum.md)| Reassignment work type | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **ExclusionFilters** | [**String[]**](String.md)| Exclusion filters that disable parts of the reassignment evaluation. Possible values are listed below: - `SELF_REVIEW_DELEGATION`: This will exclude delegations of self-review reassignments | [optional] + +### Return type + +[**EvaluateResponse[]**](EvaluateResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024ReassignmentConfigTypes** +> ConfigType[] Get-V2024ReassignmentConfigTypes
+>         [-XSailPointExperimental]
+ +List Reassignment Config Types + +Gets a collection of types which are available in the Reassignment Configuration UI. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# List Reassignment Config Types +try { + $Result = Get-V2024ReassignmentConfigTypes -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Get-V2024ReassignmentConfigTypes: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**ConfigType[]**](ConfigType.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024ReassignmentConfiguration** +> ConfigurationResponse Get-V2024ReassignmentConfiguration
+>         [-IdentityId]
+>         [-XSailPointExperimental]
+ +Get Reassignment Configuration + +Gets the Reassignment Configuration for an identity. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$IdentityId = "2c91808781a71ddb0181b9090b5c504f" # String | unique identity id +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Get Reassignment Configuration +try { + $Result = Get-V2024ReassignmentConfiguration -IdentityId $IdentityId -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Get-V2024ReassignmentConfiguration: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **IdentityId** | **String**| unique identity id | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**ConfigurationResponse**](ConfigurationResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024TenantConfigConfiguration** +> TenantConfigurationResponse Get-V2024TenantConfigConfiguration
+>         [-XSailPointExperimental]
+ +Get Tenant-wide Reassignment Configuration settings + +Gets the global Reassignment Configuration settings for the requestor's tenant. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# Get Tenant-wide Reassignment Configuration settings +try { + $Result = Get-V2024TenantConfigConfiguration -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Get-V2024TenantConfigConfiguration: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**TenantConfigurationResponse**](TenantConfigurationResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024ReassignmentConfigurations** +> ConfigurationResponse[] Get-V2024ReassignmentConfigurations
+>         [-XSailPointExperimental]
+ +List Reassignment Configurations + +Gets all Reassignment configuration for the current org. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") + +# List Reassignment Configurations +try { + $Result = Get-V2024ReassignmentConfigurations -XSailPointExperimental $XSailPointExperimental +} catch { + Write-Host ("Exception occurred when calling Get-V2024ReassignmentConfigurations: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + +### Return type + +[**ConfigurationResponse[]**](ConfigurationResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Send-V2024ReassignmentConfig** +> ConfigurationItemResponse Send-V2024ReassignmentConfig
+>         [-IdentityId]
+>         [-XSailPointExperimental]
+>         [-ConfigurationItemRequest]
+ +Update Reassignment Configuration + +Replaces existing Reassignment configuration for an identity with the newly provided configuration. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$IdentityId = "2c91808781a71ddb0181b9090b5c504e" # String | unique identity id +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$ConfigurationItemRequest = Initialize-ConfigurationItemRequest -ReassignedFromId "2c91808781a71ddb0181b9090b5c504e" -ReassignedToId "2c91808781a71ddb0181b9090b53504a" -ConfigType "ACCESS_REQUESTS" -StartDate (Get-Date) -EndDate (Get-Date) # ConfigurationItemRequest | + +# Update Reassignment Configuration +try { + $Result = Send-V2024ReassignmentConfig -IdentityId $IdentityId -XSailPointExperimental $XSailPointExperimental -ConfigurationItemRequest $ConfigurationItemRequest +} catch { + Write-Host ("Exception occurred when calling Send-V2024ReassignmentConfig: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **IdentityId** | **String**| unique identity id | + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **ConfigurationItemRequest** | [**ConfigurationItemRequest**](ConfigurationItemRequest.md)| | + +### Return type + +[**ConfigurationItemResponse**](ConfigurationItemResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Send-V2024TenantConfiguration** +> TenantConfigurationResponse Send-V2024TenantConfiguration
+>         [-XSailPointExperimental]
+>         [-TenantConfigurationRequest]
+ +Update Tenant-wide Reassignment Configuration settings + +Replaces existing Tenant-wide Reassignment Configuration settings with the newly provided settings. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true") +$TenantConfigurationDetails = Initialize-TenantConfigurationDetails -Disabled $true +$TenantConfigurationRequest = Initialize-TenantConfigurationRequest -ConfigDetails $TenantConfigurationDetails # TenantConfigurationRequest | + +# Update Tenant-wide Reassignment Configuration settings +try { + $Result = Send-V2024TenantConfiguration -XSailPointExperimental $XSailPointExperimental -TenantConfigurationRequest $TenantConfigurationRequest +} catch { + Write-Host ("Exception occurred when calling Send-V2024TenantConfiguration: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **XSailPointExperimental** | **String**| Use this header to enable this experimental API. | [default to "true"] + **TenantConfigurationRequest** | [**TenantConfigurationRequest**](TenantConfigurationRequest.md)| | + +### Return type + +[**TenantConfigurationResponse**](TenantConfigurationResponse.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V2024WorkflowsApi.md b/PSSailpoint/v2024/docs/V2024WorkflowsApi.md new file mode 100644 index 000000000..0b54f6fc3 --- /dev/null +++ b/PSSailpoint/v2024/docs/V2024WorkflowsApi.md @@ -0,0 +1,989 @@ +# PSSailpointV2024.PSSailpointV2024\Api.V2024WorkflowsApi + +All URIs are relative to *https://sailpoint.api.identitynow.com/v2024* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**Suspend-V2024WorkflowExecution**](V2024WorkflowsApi.md#Suspend-V2024WorkflowExecution) | **POST** /workflow-executions/{id}/cancel | Cancel Workflow Execution by ID +[**New-V2024ExternalExecuteWorkflow**](V2024WorkflowsApi.md#New-V2024ExternalExecuteWorkflow) | **POST** /workflows/execute/external/{id} | Execute Workflow via External Trigger +[**New-V2024Workflow**](V2024WorkflowsApi.md#New-V2024Workflow) | **POST** /workflows/{id} | Create Workflow +[**New-V2024WorkflowExternalTrigger**](V2024WorkflowsApi.md#New-V2024WorkflowExternalTrigger) | **POST** /workflows/{id}/external/oauth-clients | Generate External Trigger OAuth Client +[**Remove-V2024Workflow**](V2024WorkflowsApi.md#Remove-V2024Workflow) | **DELETE** /workflows/{id} | Delete Workflow By Id +[**Get-V2024Workflow**](V2024WorkflowsApi.md#Get-V2024Workflow) | **GET** /workflows/{id} | Get Workflow By Id +[**Get-V2024WorkflowExecution**](V2024WorkflowsApi.md#Get-V2024WorkflowExecution) | **GET** /workflow-executions/{id} | Get Workflow Execution +[**Get-V2024WorkflowExecutionHistory**](V2024WorkflowsApi.md#Get-V2024WorkflowExecutionHistory) | **GET** /workflow-executions/{id}/history | Get Workflow Execution History +[**Get-V2024WorkflowExecutions**](V2024WorkflowsApi.md#Get-V2024WorkflowExecutions) | **GET** /workflows/{id}/executions | List Workflow Executions +[**Get-V2024CompleteWorkflowLibrary**](V2024WorkflowsApi.md#Get-V2024CompleteWorkflowLibrary) | **GET** /workflow-library | List Complete Workflow Library +[**Get-V2024WorkflowLibraryActions**](V2024WorkflowsApi.md#Get-V2024WorkflowLibraryActions) | **GET** /workflow-library/actions | List Workflow Library Actions +[**Get-V2024WorkflowLibraryOperators**](V2024WorkflowsApi.md#Get-V2024WorkflowLibraryOperators) | **GET** /workflow-library/operators | List Workflow Library Operators +[**Get-V2024WorkflowLibraryTriggers**](V2024WorkflowsApi.md#Get-V2024WorkflowLibraryTriggers) | **GET** /workflow-library/triggers | List Workflow Library Triggers +[**Get-V2024Workflows**](V2024WorkflowsApi.md#Get-V2024Workflows) | **GET** /workflows | List Workflows +[**Update-V2024Workflow**](V2024WorkflowsApi.md#Update-V2024Workflow) | **PATCH** /workflows/{id} | Patch Workflow +[**Send-V2024Workflow**](V2024WorkflowsApi.md#Send-V2024Workflow) | **PUT** /workflows/{id} | Update Workflow +[**Test-V2024ExternalExecuteWorkflow**](V2024WorkflowsApi.md#Test-V2024ExternalExecuteWorkflow) | **POST** /workflows/execute/external/{id}/test | Test Workflow via External Trigger +[**Test-V2024Workflow**](V2024WorkflowsApi.md#Test-V2024Workflow) | **POST** /workflows/{id}/test | Test Workflow By Id + + + +# **Suspend-V2024WorkflowExecution** +> void Suspend-V2024WorkflowExecution
+>         [-Id]
+ +Cancel Workflow Execution by ID + +Use this API to cancel a running workflow execution. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "c17bea3a-574d-453c-9e04-4365fbf5af0b" # String | The workflow execution ID + +# Cancel Workflow Execution by ID +try { + $Result = Suspend-V2024WorkflowExecution -Id $Id +} catch { + Write-Host ("Exception occurred when calling Suspend-V2024WorkflowExecution: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| The workflow execution ID | + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **New-V2024ExternalExecuteWorkflow** +> CreateExternalExecuteWorkflow200Response New-V2024ExternalExecuteWorkflow
+>         [-Id]
+>         [-CreateExternalExecuteWorkflowRequest]
+ +Execute Workflow via External Trigger + +This endpoint allows a service outside of IdentityNow to initiate a workflow that uses the ""External Trigger"" step. The external service will invoke this endpoint with the input data it wants to send to the workflow in the body. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "c17bea3a-574d-453c-9e04-4365fbf5af0b" # String | Id of the workflow +$CreateExternalExecuteWorkflowRequest = Initialize-CreateExternalExecuteWorkflowRequest -VarInput # CreateExternalExecuteWorkflowRequest | (optional) + +# Execute Workflow via External Trigger +try { + $Result = New-V2024ExternalExecuteWorkflow -Id $Id -CreateExternalExecuteWorkflowRequest $CreateExternalExecuteWorkflowRequest +} catch { + Write-Host ("Exception occurred when calling New-V2024ExternalExecuteWorkflow: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| Id of the workflow | + **CreateExternalExecuteWorkflowRequest** | [**CreateExternalExecuteWorkflowRequest**](CreateExternalExecuteWorkflowRequest.md)| | [optional] + +### Return type + +[**CreateExternalExecuteWorkflow200Response**](CreateExternalExecuteWorkflow200Response.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **New-V2024Workflow** +> Workflow New-V2024Workflow
+>         [-CreateWorkflowRequest]
+ +Create Workflow + +Create a new workflow with the desired trigger and steps specified in the request body. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$WorkflowBodyOwner = Initialize-WorkflowBodyOwner -Type "IDENTITY" -Id "2c91808568c529c60168cca6f90c1313" -Name "William Wilson" +$WorkflowDefinition = Initialize-WorkflowDefinition -Start "Send Email Test" -Steps @{ key_example = } + +$WorkflowTriggerAttributes = Initialize-WorkflowTriggerAttributes -Id "idn:identity-attributes-changed" -VarFilter "$.changes[?(@.attribute == 'manager')]" -Description "Run a search and notify the results" -Name "search-and-notify" -ClientId "87e239b2-b85b-4bde-b9a7-55bf304ddcdc" -Url "https://tenant.api.identitynow.com/beta/workflows/execute/external/c79e0079-562c-4df5-aa73-60a9e25c916d" -CronString "0 9 * * 1" -Frequency "daily" -TimeZone "America/Chicago" -WeeklyDays "MyWeeklyDays" -WeeklyTimes "MyWeeklyTimes" +$WorkflowTrigger = Initialize-WorkflowTrigger -Type "EVENT" -DisplayName "MyDisplayName" -Attributes $WorkflowTriggerAttributes + +$CreateWorkflowRequest = Initialize-CreateWorkflowRequest -Name "Send Email" -Owner $WorkflowBodyOwner -Description "Send an email to the identity who's attributes changed." -Definition $WorkflowDefinition -Enabled $false -Trigger $WorkflowTrigger # CreateWorkflowRequest | + +# Create Workflow +try { + $Result = New-V2024Workflow -CreateWorkflowRequest $CreateWorkflowRequest +} catch { + Write-Host ("Exception occurred when calling New-V2024Workflow: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **CreateWorkflowRequest** | [**CreateWorkflowRequest**](CreateWorkflowRequest.md)| | + +### Return type + +[**Workflow**](Workflow.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **New-V2024WorkflowExternalTrigger** +> WorkflowOAuthClient New-V2024WorkflowExternalTrigger
+>         [-Id]
+ +Generate External Trigger OAuth Client + +Create OAuth client ID, client secret, and callback URL for use in an external trigger. External triggers will need this information to generate an access token to authenticate to the callback URL and submit a trigger payload that will initiate the workflow. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "c17bea3a-574d-453c-9e04-4365fbf5af0b" # String | Id of the workflow + +# Generate External Trigger OAuth Client +try { + $Result = New-V2024WorkflowExternalTrigger -Id $Id +} catch { + Write-Host ("Exception occurred when calling New-V2024WorkflowExternalTrigger: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| Id of the workflow | + +### Return type + +[**WorkflowOAuthClient**](WorkflowOAuthClient.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Remove-V2024Workflow** +> void Remove-V2024Workflow
+>         [-Id]
+ +Delete Workflow By Id + +Delete a workflow. **Enabled workflows cannot be deleted**. They must first be disabled. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "c17bea3a-574d-453c-9e04-4365fbf5af0b" # String | Id of the Workflow + +# Delete Workflow By Id +try { + $Result = Remove-V2024Workflow -Id $Id +} catch { + Write-Host ("Exception occurred when calling Remove-V2024Workflow: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| Id of the Workflow | + +### Return type + +void (empty response body) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024Workflow** +> Workflow Get-V2024Workflow
+>         [-Id]
+ +Get Workflow By Id + +Get a single workflow by id. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "c17bea3a-574d-453c-9e04-4365fbf5af0b" # String | Id of the workflow + +# Get Workflow By Id +try { + $Result = Get-V2024Workflow -Id $Id +} catch { + Write-Host ("Exception occurred when calling Get-V2024Workflow: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| Id of the workflow | + +### Return type + +[**Workflow**](Workflow.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024WorkflowExecution** +> SystemCollectionsHashtable Get-V2024WorkflowExecution
+>         [-Id]
+ +Get Workflow Execution + +Use this API to get a single workflow execution. Workflow executions are available for up to 90 days before being archived. If you attempt to access a workflow execution that has been archived, you will receive a ""404 Not Found"" response. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "c17bea3a-574d-453c-9e04-4365fbf5af0b" # String | Workflow execution ID. + +# Get Workflow Execution +try { + $Result = Get-V2024WorkflowExecution -Id $Id +} catch { + Write-Host ("Exception occurred when calling Get-V2024WorkflowExecution: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| Workflow execution ID. | + +### Return type + +[**SystemCollectionsHashtable**](SystemCollectionsHashtable.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024WorkflowExecutionHistory** +> WorkflowExecutionEvent[] Get-V2024WorkflowExecutionHistory
+>         [-Id]
+ +Get Workflow Execution History + +Get a detailed history of a single workflow execution. Workflow executions are available for up to 90 days before being archived. If you attempt to access a workflow execution that has been archived, you will receive a 404 Not Found. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "c17bea3a-574d-453c-9e04-4365fbf5af0b" # String | Id of the workflow execution + +# Get Workflow Execution History +try { + $Result = Get-V2024WorkflowExecutionHistory -Id $Id +} catch { + Write-Host ("Exception occurred when calling Get-V2024WorkflowExecutionHistory: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| Id of the workflow execution | + +### Return type + +[**WorkflowExecutionEvent[]**](WorkflowExecutionEvent.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024WorkflowExecutions** +> WorkflowExecution[] Get-V2024WorkflowExecutions
+>         [-Id]
+>         [-Limit]
+>         [-Offset]
+>         [-Count]
+>         [-Filters]
+ +List Workflow Executions + +Use this API to list a specified workflow's executions. Workflow executions are available for up to 90 days before being archived. By default, you can get a maximum of 250 executions. To get executions past the first 250 records, you can do the following: 1. Use the [Get Workflows](https://developer.sailpoint.com/idn/api/beta/list-workflows) endpoint to get your workflows. 2. Get your workflow ID from the response. 3. You can then do either of the following: - Filter to find relevant workflow executions. For example, you can filter for failed workflow executions: `GET /workflows/:workflowID/executions?filters=status eq ""Failed""` - Paginate through results with the `offset` parameter. For example, you can page through 50 executions per page and use that as a way to get to the records past the first 250. Refer to [Paginating Results](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results) for more information about the query parameters you can use to achieve pagination. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "c17bea3a-574d-453c-9e04-4365fbf5af0b" # String | Workflow ID. +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Count = $true # Boolean | 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. (optional) (default to $false) +$Filters = "status eq "Failed"" # 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: **startTime**: *eq, lt, le, gt, ge* **status**: *eq* (optional) + +# List Workflow Executions +try { + $Result = Get-V2024WorkflowExecutions -Id $Id -Limit $Limit -Offset $Offset -Count $Count -Filters $Filters +} catch { + Write-Host ("Exception occurred when calling Get-V2024WorkflowExecutions: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| Workflow ID. | + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Count** | **Boolean**| 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. | [optional] [default to $false] + **Filters** | **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: **startTime**: *eq, lt, le, gt, ge* **status**: *eq* | [optional] + +### Return type + +[**WorkflowExecution[]**](WorkflowExecution.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024CompleteWorkflowLibrary** +> ListCompleteWorkflowLibrary200ResponseInner[] Get-V2024CompleteWorkflowLibrary
+>         [-Limit]
+>         [-Offset]
+ +List Complete Workflow Library + +This lists all triggers, actions, and operators in the library + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) + +# List Complete Workflow Library +try { + $Result = Get-V2024CompleteWorkflowLibrary -Limit $Limit -Offset $Offset +} catch { + Write-Host ("Exception occurred when calling Get-V2024CompleteWorkflowLibrary: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + +### Return type + +[**ListCompleteWorkflowLibrary200ResponseInner[]**](ListCompleteWorkflowLibrary200ResponseInner.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024WorkflowLibraryActions** +> WorkflowLibraryAction[] Get-V2024WorkflowLibraryActions
+>         [-Limit]
+>         [-Offset]
+>         [-Filters]
+ +List Workflow Library Actions + +This lists the workflow actions available to you. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Filters = "id eq "sp:create-campaign"" # 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* (optional) + +# List Workflow Library Actions +try { + $Result = Get-V2024WorkflowLibraryActions -Limit $Limit -Offset $Offset -Filters $Filters +} catch { + Write-Host ("Exception occurred when calling Get-V2024WorkflowLibraryActions: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Filters** | **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* | [optional] + +### Return type + +[**WorkflowLibraryAction[]**](WorkflowLibraryAction.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024WorkflowLibraryOperators** +> WorkflowLibraryOperator[] Get-V2024WorkflowLibraryOperators
+ +List Workflow Library Operators + +This lists the workflow operators available to you + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + + +# List Workflow Library Operators +try { + $Result = Get-V2024WorkflowLibraryOperators +} catch { + Write-Host ("Exception occurred when calling Get-V2024WorkflowLibraryOperators: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**WorkflowLibraryOperator[]**](WorkflowLibraryOperator.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024WorkflowLibraryTriggers** +> WorkflowLibraryTrigger[] Get-V2024WorkflowLibraryTriggers
+>         [-Limit]
+>         [-Offset]
+>         [-Filters]
+ +List Workflow Library Triggers + +This lists the workflow triggers available to you + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Limit = 250 # Int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) +$Offset = 0 # Int32 | 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. (optional) (default to 0) +$Filters = "id eq "idn:identity-attributes-changed"" # 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* (optional) + +# List Workflow Library Triggers +try { + $Result = Get-V2024WorkflowLibraryTriggers -Limit $Limit -Offset $Offset -Filters $Filters +} catch { + Write-Host ("Exception occurred when calling Get-V2024WorkflowLibraryTriggers: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Limit** | **Int32**| Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [optional] [default to 250] + **Offset** | **Int32**| 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. | [optional] [default to 0] + **Filters** | **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* | [optional] + +### Return type + +[**WorkflowLibraryTrigger[]**](WorkflowLibraryTrigger.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Get-V2024Workflows** +> Workflow[] Get-V2024Workflows
+ +List Workflows + +List all workflows in the tenant. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + + +# List Workflows +try { + $Result = Get-V2024Workflows +} catch { + Write-Host ("Exception occurred when calling Get-V2024Workflows: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**Workflow[]**](Workflow.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Update-V2024Workflow** +> Workflow Update-V2024Workflow
+>         [-Id]
+>         [-JsonPatchOperation]
+ +Patch Workflow + +Partially update an existing Workflow using [JSON Patch](https://tools.ietf.org/html/rfc6902) syntax. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "c17bea3a-574d-453c-9e04-4365fbf5af0b" # String | Id of the Workflow +$JsonPatchOperationValue = Initialize-JsonPatchOperationValue +$JsonPatchOperation = Initialize-JsonPatchOperation -Op "add" -Path "/description" -Value $JsonPatchOperationValue # JsonPatchOperation[] | + +# Patch Workflow +try { + $Result = Update-V2024Workflow -Id $Id -JsonPatchOperation $JsonPatchOperation +} catch { + Write-Host ("Exception occurred when calling Update-V2024Workflow: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| Id of the Workflow | + **JsonPatchOperation** | [**JsonPatchOperation[]**](JsonPatchOperation.md)| | + +### Return type + +[**Workflow**](Workflow.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Send-V2024Workflow** +> Workflow Send-V2024Workflow
+>         [-Id]
+>         [-WorkflowBody]
+ +Update Workflow + +Perform a full update of a workflow. The updated workflow object is returned in the response. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "c17bea3a-574d-453c-9e04-4365fbf5af0b" # String | Id of the Workflow +$WorkflowBodyOwner = Initialize-WorkflowBodyOwner -Type "IDENTITY" -Id "2c91808568c529c60168cca6f90c1313" -Name "William Wilson" +$WorkflowDefinition = Initialize-WorkflowDefinition -Start "Send Email Test" -Steps @{ key_example = } + +$WorkflowTriggerAttributes = Initialize-WorkflowTriggerAttributes -Id "idn:identity-attributes-changed" -VarFilter "$.changes[?(@.attribute == 'manager')]" -Description "Run a search and notify the results" -Name "search-and-notify" -ClientId "87e239b2-b85b-4bde-b9a7-55bf304ddcdc" -Url "https://tenant.api.identitynow.com/beta/workflows/execute/external/c79e0079-562c-4df5-aa73-60a9e25c916d" -CronString "0 9 * * 1" -Frequency "daily" -TimeZone "America/Chicago" -WeeklyDays "MyWeeklyDays" -WeeklyTimes "MyWeeklyTimes" +$WorkflowTrigger = Initialize-WorkflowTrigger -Type "EVENT" -DisplayName "MyDisplayName" -Attributes $WorkflowTriggerAttributes + +$WorkflowBody = Initialize-WorkflowBody -Name "Send Email" -Owner $WorkflowBodyOwner -Description "Send an email to the identity who's attributes changed." -Definition $WorkflowDefinition -Enabled $false -Trigger $WorkflowTrigger # WorkflowBody | + +# Update Workflow +try { + $Result = Send-V2024Workflow -Id $Id -WorkflowBody $WorkflowBody +} catch { + Write-Host ("Exception occurred when calling Send-V2024Workflow: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| Id of the Workflow | + **WorkflowBody** | [**WorkflowBody**](WorkflowBody.md)| | + +### Return type + +[**Workflow**](Workflow.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Test-V2024ExternalExecuteWorkflow** +> TestExternalExecuteWorkflow200Response Test-V2024ExternalExecuteWorkflow
+>         [-Id]
+>         [-TestExternalExecuteWorkflowRequest]
+ +Test Workflow via External Trigger + +Validate a workflow with an ""External Trigger"" can receive input. The response includes the input that the workflow received, which can be used to validate that the input is intact when it reaches the workflow. + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "c17bea3a-574d-453c-9e04-4365fbf5af0b" # String | Id of the workflow +$TestExternalExecuteWorkflowRequest = Initialize-TestExternalExecuteWorkflowRequest -VarInput # TestExternalExecuteWorkflowRequest | (optional) + +# Test Workflow via External Trigger +try { + $Result = Test-V2024ExternalExecuteWorkflow -Id $Id -TestExternalExecuteWorkflowRequest $TestExternalExecuteWorkflowRequest +} catch { + Write-Host ("Exception occurred when calling Test-V2024ExternalExecuteWorkflow: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| Id of the workflow | + **TestExternalExecuteWorkflowRequest** | [**TestExternalExecuteWorkflowRequest**](TestExternalExecuteWorkflowRequest.md)| | [optional] + +### Return type + +[**TestExternalExecuteWorkflow200Response**](TestExternalExecuteWorkflow200Response.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + + +# **Test-V2024Workflow** +> TestWorkflow200Response Test-V2024Workflow
+>         [-Id]
+>         [-TestWorkflowRequest]
+ +Test Workflow By Id + +Test a workflow with the provided input data. The input data should resemble the input that the trigger will send the workflow. See the [event trigger documentation](https://developer.sailpoint.com/idn/docs/event-triggers/available) for an example input for the trigger that initiates this workflow. This endpoint will return an execution ID, which can be used to lookup more information about the execution using the `Get a Workflow Execution` endpoint. **This will cause a live run of the workflow, which could result in unintended modifications to your IDN tenant.** + +### Example +```powershell +# general setting of the PowerShell module, e.g. base URL, authentication, etc +$Configuration = Get-Configuration +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +# Configure OAuth2 access token for authorization: UserContextAuth +$Configuration.AccessToken = "YOUR_ACCESS_TOKEN" + +$Id = "c17bea3a-574d-453c-9e04-4365fbf5af0b" # String | Id of the workflow +$TestWorkflowRequest = Initialize-TestWorkflowRequest -VarInput # TestWorkflowRequest | + +# Test Workflow By Id +try { + $Result = Test-V2024Workflow -Id $Id -TestWorkflowRequest $TestWorkflowRequest +} catch { + Write-Host ("Exception occurred when calling Test-V2024Workflow: {0}" -f ($_.ErrorDetails | ConvertFrom-Json)) + Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json)) +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **Id** | **String**| Id of the workflow | + **TestWorkflowRequest** | [**TestWorkflowRequest**](TestWorkflowRequest.md)| | + +### Return type + +[**TestWorkflow200Response**](TestWorkflow200Response.md) (PSCustomObject) + +### Authorization + +[UserContextAuth](../README.md#UserContextAuth), [UserContextAuth](../README.md#UserContextAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V3ConnectorDto.md b/PSSailpoint/v2024/docs/V3ConnectorDto.md new file mode 100644 index 000000000..618a416bc --- /dev/null +++ b/PSSailpoint/v2024/docs/V3ConnectorDto.md @@ -0,0 +1,35 @@ +# V3ConnectorDto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | The connector name | [optional] +**Type** | **String** | The connector type | [optional] +**ScriptName** | **String** | The connector script name | [optional] +**ClassName** | **String** | The connector class name. | [optional] +**Features** | **String[]** | The list of features supported by the connector | [optional] +**DirectConnect** | **Boolean** | true if the source is a direct connect source | [optional] [default to $false] +**ConnectorMetadata** | [**System.Collections.Hashtable**](AnyType.md) | A map containing metadata pertinent to the connector | [optional] +**Status** | **String** | The connector status | [optional] + +## Examples + +- Prepare the resource +```powershell +$V3ConnectorDto = Initialize-PSSailpointV2024V3ConnectorDto -Name name ` + -Type ServiceNow ` + -ScriptName servicenow ` + -ClassName sailpoint.connector.OpenConnectorAdapter ` + -Features [PROVISIONING, SYNC_PROVISIONING, SEARCH, UNSTRUCTURED_TARGETS] ` + -DirectConnect true ` + -ConnectorMetadata {supportedUI=ANGULAR, platform=ccg, shortDesc=connector description} ` + -Status RELEASED +``` + +- Convert the resource to JSON +```powershell +$V3ConnectorDto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/V3CreateConnectorDto.md b/PSSailpoint/v2024/docs/V3CreateConnectorDto.md new file mode 100644 index 000000000..f240c1e61 --- /dev/null +++ b/PSSailpoint/v2024/docs/V3CreateConnectorDto.md @@ -0,0 +1,29 @@ +# V3CreateConnectorDto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | The connector name. Need to be unique per tenant. The name will able be used to derive a url friendly unique scriptname that will be in response. Script name can then be used for all update endpoints | +**Type** | **String** | The connector type. If not specified will be defaulted to 'custom '+name | [optional] +**ClassName** | **String** | The connector class name. If you are implementing openconnector standard (what is recommended), then this need to be set to sailpoint.connector.OpenConnectorAdapter | +**DirectConnect** | **Boolean** | true if the source is a direct connect source | [optional] [default to $true] +**Status** | **String** | The connector status | [optional] + +## Examples + +- Prepare the resource +```powershell +$V3CreateConnectorDto = Initialize-PSSailpointV2024V3CreateConnectorDto -Name custom connector ` + -Type custom connector type ` + -ClassName sailpoint.connector.OpenConnectorAdapter ` + -DirectConnect true ` + -Status RELEASED +``` + +- Convert the resource to JSON +```powershell +$V3CreateConnectorDto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/VAClusterStatusChangeEvent.md b/PSSailpoint/v2024/docs/VAClusterStatusChangeEvent.md new file mode 100644 index 000000000..0a11fb12f --- /dev/null +++ b/PSSailpoint/v2024/docs/VAClusterStatusChangeEvent.md @@ -0,0 +1,29 @@ +# VAClusterStatusChangeEvent +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Created** | **System.DateTime** | The date and time the status change occurred. | +**Type** | [**SystemCollectionsHashtable**](.md) | The type of the object that initiated this event. | +**Application** | [**VAClusterStatusChangeEventApplication**](VAClusterStatusChangeEventApplication.md) | | +**HealthCheckResult** | [**VAClusterStatusChangeEventHealthCheckResult**](VAClusterStatusChangeEventHealthCheckResult.md) | | +**PreviousHealthCheckResult** | [**VAClusterStatusChangeEventPreviousHealthCheckResult**](VAClusterStatusChangeEventPreviousHealthCheckResult.md) | | + +## Examples + +- Prepare the resource +```powershell +$VAClusterStatusChangeEvent = Initialize-PSSailpointV2024VAClusterStatusChangeEvent -Created 2020-06-29T22:01:50.474Z ` + -Type CLUSTER ` + -Application null ` + -HealthCheckResult null ` + -PreviousHealthCheckResult null +``` + +- Convert the resource to JSON +```powershell +$VAClusterStatusChangeEvent | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/VAClusterStatusChangeEventApplication.md b/PSSailpoint/v2024/docs/VAClusterStatusChangeEventApplication.md new file mode 100644 index 000000000..61cc187e0 --- /dev/null +++ b/PSSailpoint/v2024/docs/VAClusterStatusChangeEventApplication.md @@ -0,0 +1,25 @@ +# VAClusterStatusChangeEventApplication +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The GUID of the application | +**Name** | **String** | The name of the application | +**Attributes** | [**System.Collections.Hashtable**](AnyType.md) | Custom map of attributes for a source. This will only be populated if type is `SOURCE` and the source has a proxy. | + +## Examples + +- Prepare the resource +```powershell +$VAClusterStatusChangeEventApplication = Initialize-PSSailpointV2024VAClusterStatusChangeEventApplication -Id 2c9180866166b5b0016167c32ef31a66 ` + -Name Production VA Cluster ` + -Attributes null +``` + +- Convert the resource to JSON +```powershell +$VAClusterStatusChangeEventApplication | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/VAClusterStatusChangeEventHealthCheckResult.md b/PSSailpoint/v2024/docs/VAClusterStatusChangeEventHealthCheckResult.md new file mode 100644 index 000000000..05b97c0a9 --- /dev/null +++ b/PSSailpoint/v2024/docs/VAClusterStatusChangeEventHealthCheckResult.md @@ -0,0 +1,25 @@ +# VAClusterStatusChangeEventHealthCheckResult +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Message** | **String** | Detailed message of the result of the health check. | +**ResultType** | **String** | The type of the health check result. | +**Status** | [**SystemCollectionsHashtable**](.md) | The status of the health check. | + +## Examples + +- Prepare the resource +```powershell +$VAClusterStatusChangeEventHealthCheckResult = Initialize-PSSailpointV2024VAClusterStatusChangeEventHealthCheckResult -Message Test Connection failed with exception. Error message - java.lang Exception ` + -ResultType SOURCE_STATE_ERROR_CLUSTER ` + -Status Succeeded +``` + +- Convert the resource to JSON +```powershell +$VAClusterStatusChangeEventHealthCheckResult | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/VAClusterStatusChangeEventPreviousHealthCheckResult.md b/PSSailpoint/v2024/docs/VAClusterStatusChangeEventPreviousHealthCheckResult.md new file mode 100644 index 000000000..183bbc2e2 --- /dev/null +++ b/PSSailpoint/v2024/docs/VAClusterStatusChangeEventPreviousHealthCheckResult.md @@ -0,0 +1,25 @@ +# VAClusterStatusChangeEventPreviousHealthCheckResult +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Message** | **String** | Detailed message of the result of the health check. | +**ResultType** | **String** | The type of the health check result. | +**Status** | [**SystemCollectionsHashtable**](.md) | The status of the health check. | + +## Examples + +- Prepare the resource +```powershell +$VAClusterStatusChangeEventPreviousHealthCheckResult = Initialize-PSSailpointV2024VAClusterStatusChangeEventPreviousHealthCheckResult -Message Test Connection failed with exception. Error message - java.lang Exception ` + -ResultType SOURCE_STATE_ERROR_CLUSTER ` + -Status Failed +``` + +- Convert the resource to JSON +```powershell +$VAClusterStatusChangeEventPreviousHealthCheckResult | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ValidateFilterInputDto.md b/PSSailpoint/v2024/docs/ValidateFilterInputDto.md new file mode 100644 index 000000000..8ecacf3ee --- /dev/null +++ b/PSSailpoint/v2024/docs/ValidateFilterInputDto.md @@ -0,0 +1,23 @@ +# ValidateFilterInputDto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**VarInput** | [**SystemCollectionsHashtable**](.md) | Mock input to evaluate filter expression against. | +**VarFilter** | **String** | JSONPath filter to conditionally invoke trigger when expression evaluates to true. | + +## Examples + +- Prepare the resource +```powershell +$ValidateFilterInputDto = Initialize-PSSailpointV2024ValidateFilterInputDto -VarInput {identityId=201327fda1c44704ac01181e963d463c} ` + -VarFilter $[?($.identityId == "201327fda1c44704ac01181e963d463c")] +``` + +- Convert the resource to JSON +```powershell +$ValidateFilterInputDto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ValidateFilterOutputDto.md b/PSSailpoint/v2024/docs/ValidateFilterOutputDto.md new file mode 100644 index 000000000..0915bfd78 --- /dev/null +++ b/PSSailpoint/v2024/docs/ValidateFilterOutputDto.md @@ -0,0 +1,25 @@ +# ValidateFilterOutputDto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**IsValid** | **Boolean** | When this field is true, the filter expression is valid against the input. | [optional] [default to $false] +**IsValidJSONPath** | **Boolean** | When this field is true, the filter expression is using a valid JSON path. | [optional] [default to $false] +**IsPathExist** | **Boolean** | When this field is true, the filter expression is using an existing path. | [optional] [default to $false] + +## Examples + +- Prepare the resource +```powershell +$ValidateFilterOutputDto = Initialize-PSSailpointV2024ValidateFilterOutputDto -IsValid true ` + -IsValidJSONPath true ` + -IsPathExist true +``` + +- Convert the resource to JSON +```powershell +$ValidateFilterOutputDto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Value.md b/PSSailpoint/v2024/docs/Value.md new file mode 100644 index 000000000..6f51a0297 --- /dev/null +++ b/PSSailpoint/v2024/docs/Value.md @@ -0,0 +1,23 @@ +# Value +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | The type of attribute value | [optional] +**Value** | **String** | The attribute value | [optional] + +## Examples + +- Prepare the resource +```powershell +$Value = Initialize-PSSailpointV2024Value -Type STRING ` + -Value Austin +``` + +- Convert the resource to JSON +```powershell +$Value | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/VendorConnectorMapping.md b/PSSailpoint/v2024/docs/VendorConnectorMapping.md new file mode 100644 index 000000000..7f3eab201 --- /dev/null +++ b/PSSailpoint/v2024/docs/VendorConnectorMapping.md @@ -0,0 +1,37 @@ +# VendorConnectorMapping +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The unique identifier for the vendor-connector mapping. | [optional] +**Vendor** | **String** | The name of the vendor. | [optional] +**Connector** | **String** | The name of the connector. | [optional] +**CreatedAt** | **System.DateTime** | The creation timestamp of the mapping. | [optional] +**CreatedBy** | **String** | The identifier of the user who created the mapping. | [optional] +**UpdatedAt** | [**VendorConnectorMappingUpdatedAt**](VendorConnectorMappingUpdatedAt.md) | | [optional] +**UpdatedBy** | [**VendorConnectorMappingUpdatedBy**](VendorConnectorMappingUpdatedBy.md) | | [optional] +**DeletedAt** | [**VendorConnectorMappingDeletedAt**](VendorConnectorMappingDeletedAt.md) | | [optional] +**DeletedBy** | [**VendorConnectorMappingDeletedBy**](VendorConnectorMappingDeletedBy.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$VendorConnectorMapping = Initialize-PSSailpointV2024VendorConnectorMapping -Id 78733556-9ea3-4f59-bf69-e5cd92b011b4 ` + -Vendor Example vendor ` + -Connector Example connector ` + -CreatedAt 2024-03-13T12:56:19.391294Z ` + -CreatedBy admin ` + -UpdatedAt null ` + -UpdatedBy null ` + -DeletedAt null ` + -DeletedBy null +``` + +- Convert the resource to JSON +```powershell +$VendorConnectorMapping | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/VendorConnectorMappingDeletedAt.md b/PSSailpoint/v2024/docs/VendorConnectorMappingDeletedAt.md new file mode 100644 index 000000000..e156e01b6 --- /dev/null +++ b/PSSailpoint/v2024/docs/VendorConnectorMappingDeletedAt.md @@ -0,0 +1,23 @@ +# VendorConnectorMappingDeletedAt +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Time** | **System.DateTime** | The timestamp when the mapping was deleted, represented in ISO 8601 format, if applicable. | [optional] +**Valid** | **Boolean** | A flag indicating if the 'Time' field is set and valid, i.e., if the mapping has been deleted. | [optional] [default to $false] + +## Examples + +- Prepare the resource +```powershell +$VendorConnectorMappingDeletedAt = Initialize-PSSailpointV2024VendorConnectorMappingDeletedAt -Time 0001-01-01T00:00Z ` + -Valid false +``` + +- Convert the resource to JSON +```powershell +$VendorConnectorMappingDeletedAt | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/VendorConnectorMappingDeletedBy.md b/PSSailpoint/v2024/docs/VendorConnectorMappingDeletedBy.md new file mode 100644 index 000000000..b06d17efc --- /dev/null +++ b/PSSailpoint/v2024/docs/VendorConnectorMappingDeletedBy.md @@ -0,0 +1,23 @@ +# VendorConnectorMappingDeletedBy +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**String** | **String** | The identifier of the user who deleted the mapping, if applicable. | [optional] +**Valid** | **Boolean** | A flag indicating if the 'String' field is set and valid, i.e., if the mapping has been deleted. | [optional] [default to $false] + +## Examples + +- Prepare the resource +```powershell +$VendorConnectorMappingDeletedBy = Initialize-PSSailpointV2024VendorConnectorMappingDeletedBy -String ` + -Valid false +``` + +- Convert the resource to JSON +```powershell +$VendorConnectorMappingDeletedBy | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/VendorConnectorMappingUpdatedAt.md b/PSSailpoint/v2024/docs/VendorConnectorMappingUpdatedAt.md new file mode 100644 index 000000000..cc8fa0292 --- /dev/null +++ b/PSSailpoint/v2024/docs/VendorConnectorMappingUpdatedAt.md @@ -0,0 +1,23 @@ +# VendorConnectorMappingUpdatedAt +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Time** | **System.DateTime** | The timestamp when the mapping was last updated, represented in ISO 8601 format. | [optional] +**Valid** | **Boolean** | A flag indicating if the 'Time' field is set and valid. | [optional] [default to $false] + +## Examples + +- Prepare the resource +```powershell +$VendorConnectorMappingUpdatedAt = Initialize-PSSailpointV2024VendorConnectorMappingUpdatedAt -Time 2024-03-14T12:56:19.391294Z ` + -Valid true +``` + +- Convert the resource to JSON +```powershell +$VendorConnectorMappingUpdatedAt | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/VendorConnectorMappingUpdatedBy.md b/PSSailpoint/v2024/docs/VendorConnectorMappingUpdatedBy.md new file mode 100644 index 000000000..7d64093cc --- /dev/null +++ b/PSSailpoint/v2024/docs/VendorConnectorMappingUpdatedBy.md @@ -0,0 +1,23 @@ +# VendorConnectorMappingUpdatedBy +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**String** | **String** | The identifier of the user who last updated the mapping, if available. | [optional] +**Valid** | **Boolean** | A flag indicating if the 'String' field is set and valid. | [optional] [default to $false] + +## Examples + +- Prepare the resource +```powershell +$VendorConnectorMappingUpdatedBy = Initialize-PSSailpointV2024VendorConnectorMappingUpdatedBy -String user-67891 ` + -Valid true +``` + +- Convert the resource to JSON +```powershell +$VendorConnectorMappingUpdatedBy | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ViolationContext.md b/PSSailpoint/v2024/docs/ViolationContext.md new file mode 100644 index 000000000..408e0f374 --- /dev/null +++ b/PSSailpoint/v2024/docs/ViolationContext.md @@ -0,0 +1,23 @@ +# ViolationContext +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Policy** | [**ViolationContextPolicy**](ViolationContextPolicy.md) | | [optional] +**ConflictingAccessCriteria** | [**ExceptionAccessCriteria**](ExceptionAccessCriteria.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$ViolationContext = Initialize-PSSailpointV2024ViolationContext -Policy null ` + -ConflictingAccessCriteria null +``` + +- Convert the resource to JSON +```powershell +$ViolationContext | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ViolationContextPolicy.md b/PSSailpoint/v2024/docs/ViolationContextPolicy.md new file mode 100644 index 000000000..6cc588751 --- /dev/null +++ b/PSSailpoint/v2024/docs/ViolationContextPolicy.md @@ -0,0 +1,25 @@ +# ViolationContextPolicy +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | [**SystemCollectionsHashtable**](.md) | The type of object that is referenced | [optional] +**Id** | **String** | SOD policy ID. | [optional] +**Name** | **String** | | [optional] + +## Examples + +- Prepare the resource +```powershell +$ViolationContextPolicy = Initialize-PSSailpointV2024ViolationContextPolicy -Type ENTITLEMENT ` + -Id 0f11f2a4-7c94-4bf3-a2bd-742580fe3bde ` + -Name A very cool policy name +``` + +- Convert the resource to JSON +```powershell +$ViolationContextPolicy | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ViolationOwnerAssignmentConfig.md b/PSSailpoint/v2024/docs/ViolationOwnerAssignmentConfig.md new file mode 100644 index 000000000..15cbb2ecf --- /dev/null +++ b/PSSailpoint/v2024/docs/ViolationOwnerAssignmentConfig.md @@ -0,0 +1,23 @@ +# ViolationOwnerAssignmentConfig +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AssignmentRule** | **String** | Details about the violations owner. MANAGER - identity's manager STATIC - Governance Group or Identity | [optional] +**OwnerRef** | [**ViolationOwnerAssignmentConfigOwnerRef**](ViolationOwnerAssignmentConfigOwnerRef.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$ViolationOwnerAssignmentConfig = Initialize-PSSailpointV2024ViolationOwnerAssignmentConfig -AssignmentRule MANAGER ` + -OwnerRef null +``` + +- Convert the resource to JSON +```powershell +$ViolationOwnerAssignmentConfig | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ViolationOwnerAssignmentConfigOwnerRef.md b/PSSailpoint/v2024/docs/ViolationOwnerAssignmentConfigOwnerRef.md new file mode 100644 index 000000000..8714113e8 --- /dev/null +++ b/PSSailpoint/v2024/docs/ViolationOwnerAssignmentConfigOwnerRef.md @@ -0,0 +1,25 @@ +# ViolationOwnerAssignmentConfigOwnerRef +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | Owner type. | [optional] +**Id** | **String** | Owner's ID. | [optional] +**Name** | **String** | Owner's name. | [optional] + +## Examples + +- Prepare the resource +```powershell +$ViolationOwnerAssignmentConfigOwnerRef = Initialize-PSSailpointV2024ViolationOwnerAssignmentConfigOwnerRef -Type IDENTITY ` + -Id 2c9180a46faadee4016fb4e018c20639 ` + -Name Support +``` + +- Convert the resource to JSON +```powershell +$ViolationOwnerAssignmentConfigOwnerRef | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/ViolationPrediction.md b/PSSailpoint/v2024/docs/ViolationPrediction.md new file mode 100644 index 000000000..a185812d4 --- /dev/null +++ b/PSSailpoint/v2024/docs/ViolationPrediction.md @@ -0,0 +1,21 @@ +# ViolationPrediction +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ViolationContexts** | [**ViolationContext[]**](ViolationContext.md) | List of Violation Contexts | [optional] + +## Examples + +- Prepare the resource +```powershell +$ViolationPrediction = Initialize-PSSailpointV2024ViolationPrediction -ViolationContexts null +``` + +- Convert the resource to JSON +```powershell +$ViolationPrediction | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/VisibilityCriteria.md b/PSSailpoint/v2024/docs/VisibilityCriteria.md new file mode 100644 index 000000000..da90acd40 --- /dev/null +++ b/PSSailpoint/v2024/docs/VisibilityCriteria.md @@ -0,0 +1,21 @@ +# VisibilityCriteria +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Expression** | [**Expression**](Expression.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$VisibilityCriteria = Initialize-PSSailpointV2024VisibilityCriteria -Expression null +``` + +- Convert the resource to JSON +```powershell +$VisibilityCriteria | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/WorkItemForward.md b/PSSailpoint/v2024/docs/WorkItemForward.md new file mode 100644 index 000000000..6ee5fc1a8 --- /dev/null +++ b/PSSailpoint/v2024/docs/WorkItemForward.md @@ -0,0 +1,25 @@ +# WorkItemForward +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**TargetOwnerId** | **String** | The ID of the identity to forward this work item to. | +**Comment** | **String** | Comments to send to the target owner | +**SendNotifications** | **Boolean** | If true, send a notification to the target owner. | [optional] [default to $true] + +## Examples + +- Prepare the resource +```powershell +$WorkItemForward = Initialize-PSSailpointV2024WorkItemForward -TargetOwnerId 2c9180835d2e5168015d32f890ca1581 ` + -Comment I'm going on vacation. ` + -SendNotifications true +``` + +- Convert the resource to JSON +```powershell +$WorkItemForward | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/WorkItemState.md b/PSSailpoint/v2024/docs/WorkItemState.md new file mode 100644 index 000000000..e3c95f361 --- /dev/null +++ b/PSSailpoint/v2024/docs/WorkItemState.md @@ -0,0 +1,20 @@ +# WorkItemState +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$WorkItemState = Initialize-PSSailpointV2024WorkItemState +``` + +- Convert the resource to JSON +```powershell +$WorkItemState | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/WorkItemStateManualWorkItems.md b/PSSailpoint/v2024/docs/WorkItemStateManualWorkItems.md new file mode 100644 index 000000000..a67b1f1d2 --- /dev/null +++ b/PSSailpoint/v2024/docs/WorkItemStateManualWorkItems.md @@ -0,0 +1,20 @@ +# WorkItemStateManualWorkItems +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$WorkItemStateManualWorkItems = Initialize-PSSailpointV2024WorkItemStateManualWorkItems +``` + +- Convert the resource to JSON +```powershell +$WorkItemStateManualWorkItems | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/WorkItemTypeManualWorkItems.md b/PSSailpoint/v2024/docs/WorkItemTypeManualWorkItems.md new file mode 100644 index 000000000..1f98fa89b --- /dev/null +++ b/PSSailpoint/v2024/docs/WorkItemTypeManualWorkItems.md @@ -0,0 +1,20 @@ +# WorkItemTypeManualWorkItems +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$WorkItemTypeManualWorkItems = Initialize-PSSailpointV2024WorkItemTypeManualWorkItems +``` + +- Convert the resource to JSON +```powershell +$WorkItemTypeManualWorkItems | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/WorkItems.md b/PSSailpoint/v2024/docs/WorkItems.md new file mode 100644 index 000000000..54ca3f50f --- /dev/null +++ b/PSSailpoint/v2024/docs/WorkItems.md @@ -0,0 +1,53 @@ +# WorkItems +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | ID of the work item | [optional] +**RequesterId** | **String** | ID of the requester | [optional] +**RequesterDisplayName** | **String** | The displayname of the requester | [optional] +**OwnerId** | **String** | The ID of the owner | [optional] +**OwnerName** | **String** | The name of the owner | [optional] +**Created** | **System.DateTime** | Time when the work item was created | [optional] +**Modified** | **System.DateTime** | Time when the work item was last updated | [optional] +**Description** | **String** | The description of the work item | [optional] +**State** | [**WorkItemStateManualWorkItems**](WorkItemStateManualWorkItems.md) | | [optional] +**Type** | [**WorkItemTypeManualWorkItems**](WorkItemTypeManualWorkItems.md) | | [optional] +**RemediationItems** | [**RemediationItemDetails[]**](RemediationItemDetails.md) | A list of remediation items | [optional] +**ApprovalItems** | [**ApprovalItemDetails[]**](ApprovalItemDetails.md) | A list of items that need to be approved | [optional] +**Name** | **String** | The work item name | [optional] +**Completed** | **System.DateTime** | The time at which the work item completed | [optional] +**NumItems** | **Int32** | The number of items in the work item | [optional] +**Form** | [**WorkItemsForm**](WorkItemsForm.md) | | [optional] +**Errors** | **String[]** | An array of errors that ocurred during the work item | [optional] + +## Examples + +- Prepare the resource +```powershell +$WorkItems = Initialize-PSSailpointV2024WorkItems -Id 2c9180835d2e5168015d32f890ca1581 ` + -RequesterId 2c9180835d2e5168015d32f890ca1581 ` + -RequesterDisplayName John Smith ` + -OwnerId 2c9180835d2e5168015d32f890ca1581 ` + -OwnerName Jason Smith ` + -Created 2017-07-11T18:45:37.098Z ` + -Modified 2018-06-25T20:22:28.104Z ` + -Description Create account on source 'AD' ` + -State null ` + -Type null ` + -RemediationItems null ` + -ApprovalItems null ` + -Name Account Create ` + -Completed 2018-10-19T13:49:37.385Z ` + -NumItems 19 ` + -Form null ` + -Errors [The work item ID that was specified was not found.] +``` + +- Convert the resource to JSON +```powershell +$WorkItems | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/WorkItemsCount.md b/PSSailpoint/v2024/docs/WorkItemsCount.md new file mode 100644 index 000000000..95ff0d1c3 --- /dev/null +++ b/PSSailpoint/v2024/docs/WorkItemsCount.md @@ -0,0 +1,21 @@ +# WorkItemsCount +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Count** | **Int32** | The count of work items | [optional] + +## Examples + +- Prepare the resource +```powershell +$WorkItemsCount = Initialize-PSSailpointV2024WorkItemsCount -Count 29 +``` + +- Convert the resource to JSON +```powershell +$WorkItemsCount | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/WorkItemsForm.md b/PSSailpoint/v2024/docs/WorkItemsForm.md new file mode 100644 index 000000000..48a960227 --- /dev/null +++ b/PSSailpoint/v2024/docs/WorkItemsForm.md @@ -0,0 +1,31 @@ +# WorkItemsForm +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | ID of the form | [optional] +**Name** | **String** | Name of the form | [optional] +**Title** | **String** | The form title | [optional] +**Subtitle** | **String** | The form subtitle. | [optional] +**TargetUser** | **String** | The name of the user that should be shown this form | [optional] +**Sections** | [**SectionDetails[]**](SectionDetails.md) | Sections of the form | [optional] + +## Examples + +- Prepare the resource +```powershell +$WorkItemsForm = Initialize-PSSailpointV2024WorkItemsForm -Id 2c9180835d2e5168015d32f890ca1581 ` + -Name AccountSelection Form ` + -Title Account Selection for John.Doe ` + -Subtitle Please select from the following ` + -TargetUser Jane.Doe ` + -Sections null +``` + +- Convert the resource to JSON +```powershell +$WorkItemsForm | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/WorkItemsSummary.md b/PSSailpoint/v2024/docs/WorkItemsSummary.md new file mode 100644 index 000000000..1631d0501 --- /dev/null +++ b/PSSailpoint/v2024/docs/WorkItemsSummary.md @@ -0,0 +1,25 @@ +# WorkItemsSummary +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Open** | **Int32** | The count of open work items | [optional] +**Completed** | **Int32** | The count of completed work items | [optional] +**Total** | **Int32** | The count of total work items | [optional] + +## Examples + +- Prepare the resource +```powershell +$WorkItemsSummary = Initialize-PSSailpointV2024WorkItemsSummary -Open 29 ` + -Completed 1 ` + -Total 30 +``` + +- Convert the resource to JSON +```powershell +$WorkItemsSummary | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/Workflow.md b/PSSailpoint/v2024/docs/Workflow.md new file mode 100644 index 000000000..e712e6a4e --- /dev/null +++ b/PSSailpoint/v2024/docs/Workflow.md @@ -0,0 +1,45 @@ +# Workflow +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | The name of the workflow | [optional] +**Owner** | [**WorkflowBodyOwner**](WorkflowBodyOwner.md) | | [optional] +**Description** | **String** | Description of what the workflow accomplishes | [optional] +**Definition** | [**WorkflowDefinition**](WorkflowDefinition.md) | | [optional] +**Enabled** | **Boolean** | Enable or disable the workflow. Workflows cannot be created in an enabled state. | [optional] [default to $false] +**Trigger** | [**WorkflowTrigger**](WorkflowTrigger.md) | | [optional] +**Id** | **String** | Workflow ID. This is a UUID generated upon creation. | [optional] +**ExecutionCount** | **Int32** | The number of times this workflow has been executed. | [optional] +**FailureCount** | **Int32** | The number of times this workflow has failed during execution. | [optional] +**Created** | **System.DateTime** | The date and time the workflow was created. | [optional] +**Modified** | **System.DateTime** | The date and time the workflow was modified. | [optional] +**ModifiedBy** | [**WorkflowModifiedBy**](WorkflowModifiedBy.md) | | [optional] +**Creator** | [**WorkflowAllOfCreator**](WorkflowAllOfCreator.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$Workflow = Initialize-PSSailpointV2024Workflow -Name Send Email ` + -Owner null ` + -Description Send an email to the identity who's attributes changed. ` + -Definition null ` + -Enabled false ` + -Trigger null ` + -Id d201c5e9-d37b-4aff-af14-66414f39d569 ` + -ExecutionCount 2 ` + -FailureCount 0 ` + -Created 2022-01-10T16:06:16.636381447Z ` + -Modified 2023-12-05T15:18:27.699132301Z ` + -ModifiedBy null ` + -Creator null +``` + +- Convert the resource to JSON +```powershell +$Workflow | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/WorkflowAllOfCreator.md b/PSSailpoint/v2024/docs/WorkflowAllOfCreator.md new file mode 100644 index 000000000..3b17db965 --- /dev/null +++ b/PSSailpoint/v2024/docs/WorkflowAllOfCreator.md @@ -0,0 +1,25 @@ +# WorkflowAllOfCreator +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | Workflow creator's DTO type. | [optional] +**Id** | **String** | Workflow creator's identity ID. | [optional] +**Name** | **String** | Workflow creator's display name. | [optional] + +## Examples + +- Prepare the resource +```powershell +$WorkflowAllOfCreator = Initialize-PSSailpointV2024WorkflowAllOfCreator -Type IDENTITY ` + -Id 2c7180a46faadee4016fb4e018c20642 ` + -Name Michael Michaels +``` + +- Convert the resource to JSON +```powershell +$WorkflowAllOfCreator | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/WorkflowBody.md b/PSSailpoint/v2024/docs/WorkflowBody.md new file mode 100644 index 000000000..998c6e444 --- /dev/null +++ b/PSSailpoint/v2024/docs/WorkflowBody.md @@ -0,0 +1,31 @@ +# WorkflowBody +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **String** | The name of the workflow | [optional] +**Owner** | [**WorkflowBodyOwner**](WorkflowBodyOwner.md) | | [optional] +**Description** | **String** | Description of what the workflow accomplishes | [optional] +**Definition** | [**WorkflowDefinition**](WorkflowDefinition.md) | | [optional] +**Enabled** | **Boolean** | Enable or disable the workflow. Workflows cannot be created in an enabled state. | [optional] [default to $false] +**Trigger** | [**WorkflowTrigger**](WorkflowTrigger.md) | | [optional] + +## Examples + +- Prepare the resource +```powershell +$WorkflowBody = Initialize-PSSailpointV2024WorkflowBody -Name Send Email ` + -Owner null ` + -Description Send an email to the identity who's attributes changed. ` + -Definition null ` + -Enabled false ` + -Trigger null +``` + +- Convert the resource to JSON +```powershell +$WorkflowBody | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/WorkflowBodyOwner.md b/PSSailpoint/v2024/docs/WorkflowBodyOwner.md new file mode 100644 index 000000000..80d469d8a --- /dev/null +++ b/PSSailpoint/v2024/docs/WorkflowBodyOwner.md @@ -0,0 +1,25 @@ +# WorkflowBodyOwner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | The type of object that is referenced | [optional] +**Id** | **String** | The unique ID of the object | [optional] +**Name** | **String** | The name of the object | [optional] + +## Examples + +- Prepare the resource +```powershell +$WorkflowBodyOwner = Initialize-PSSailpointV2024WorkflowBodyOwner -Type IDENTITY ` + -Id 2c91808568c529c60168cca6f90c1313 ` + -Name William Wilson +``` + +- Convert the resource to JSON +```powershell +$WorkflowBodyOwner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/WorkflowDefinition.md b/PSSailpoint/v2024/docs/WorkflowDefinition.md new file mode 100644 index 000000000..1e8545721 --- /dev/null +++ b/PSSailpoint/v2024/docs/WorkflowDefinition.md @@ -0,0 +1,23 @@ +# WorkflowDefinition +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Start** | **String** | The name of the starting step. | [optional] +**Steps** | [**System.Collections.Hashtable**](AnyType.md) | One or more step objects that comprise this workflow. Please see the Workflow documentation to see the JSON schema for each step type. | [optional] + +## Examples + +- Prepare the resource +```powershell +$WorkflowDefinition = Initialize-PSSailpointV2024WorkflowDefinition -Start Send Email Test ` + -Steps {Send Email={actionId=sp:send-email, attributes={body=This is a test, from=sailpoint@sailpoint.com, recipientId.$=$.identity.id, subject=test}, nextStep=success, selectResult=null, type=ACTION}, success={type=success}} +``` + +- Convert the resource to JSON +```powershell +$WorkflowDefinition | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/WorkflowExecution.md b/PSSailpoint/v2024/docs/WorkflowExecution.md new file mode 100644 index 000000000..f70cd0f3e --- /dev/null +++ b/PSSailpoint/v2024/docs/WorkflowExecution.md @@ -0,0 +1,31 @@ +# WorkflowExecution +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Workflow execution ID. | [optional] +**WorkflowId** | **String** | Workflow ID. | [optional] +**RequestId** | **String** | Backend ID that tracks a workflow request in the system. Provide this ID in a customer support ticket for debugging purposes. | [optional] +**StartTime** | **System.DateTime** | Date/time when the workflow started. | [optional] +**CloseTime** | **System.DateTime** | Date/time when the workflow ended. | [optional] +**Status** | **String** | Workflow execution status. | [optional] + +## Examples + +- Prepare the resource +```powershell +$WorkflowExecution = Initialize-PSSailpointV2024WorkflowExecution -Id b393f4e2-4785-4d7f-ab27-3a6b8ded4c81 ` + -WorkflowId d201c5d9-d37b-4a2f-af14-66414f39d568 ` + -RequestId 41e12a74fa7b4a6a98ae47887b64acdb ` + -StartTime 2022-02-07T20:13:29.356648026Z ` + -CloseTime 2022-02-07T20:13:31.682410165Z ` + -Status Completed +``` + +- Convert the resource to JSON +```powershell +$WorkflowExecution | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/WorkflowExecutionEvent.md b/PSSailpoint/v2024/docs/WorkflowExecutionEvent.md new file mode 100644 index 000000000..6ff5b10ef --- /dev/null +++ b/PSSailpoint/v2024/docs/WorkflowExecutionEvent.md @@ -0,0 +1,25 @@ +# WorkflowExecutionEvent +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | [**SystemCollectionsHashtable**](.md) | The type of event | [optional] +**Timestamp** | **System.DateTime** | The date-time when the event occurred | [optional] +**Attributes** | [**SystemCollectionsHashtable**](.md) | Additional attributes associated with the event | [optional] + +## Examples + +- Prepare the resource +```powershell +$WorkflowExecutionEvent = Initialize-PSSailpointV2024WorkflowExecutionEvent -Type WorkflowTaskScheduled ` + -Timestamp 2022-02-07T20:13:31.640618296Z ` + -Attributes {} +``` + +- Convert the resource to JSON +```powershell +$WorkflowExecutionEvent | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/WorkflowLibraryAction.md b/PSSailpoint/v2024/docs/WorkflowLibraryAction.md new file mode 100644 index 000000000..b07757197 --- /dev/null +++ b/PSSailpoint/v2024/docs/WorkflowLibraryAction.md @@ -0,0 +1,43 @@ +# WorkflowLibraryAction +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Action ID. This is a static namespaced ID for the action | [optional] +**Name** | **String** | Action Name | [optional] +**Type** | **String** | Action type | [optional] +**Description** | **String** | Action Description | [optional] +**FormFields** | [**WorkflowLibraryFormFields[]**](WorkflowLibraryFormFields.md) | One or more inputs that the action accepts | [optional] +**ExampleOutput** | [**WorkflowLibraryActionExampleOutput**](WorkflowLibraryActionExampleOutput.md) | | [optional] +**Deprecated** | **Boolean** | | [optional] +**DeprecatedBy** | **System.DateTime** | | [optional] +**VersionNumber** | **Int32** | Version number | [optional] +**IsSimulationEnabled** | **Boolean** | | [optional] +**IsDynamicSchema** | **Boolean** | Determines whether the dynamic output schema is returned in place of the action's output schema. The dynamic schema lists non-static properties, like properties of a workflow form where each form has different fields. These will be provided dynamically based on available form fields. | [optional] [default to $false] +**OutputSchema** | [**SystemCollectionsHashtable**](.md) | Defines the output schema, if any, that this action produces. | [optional] + +## Examples + +- Prepare the resource +```powershell +$WorkflowLibraryAction = Initialize-PSSailpointV2024WorkflowLibraryAction -Id sp:create-campaign ` + -Name Create Certification Campaign ` + -Type ACTION ` + -Description Generates a certification campaign. ` + -FormFields null ` + -ExampleOutput null ` + -Deprecated null ` + -DeprecatedBy null ` + -VersionNumber null ` + -IsSimulationEnabled null ` + -IsDynamicSchema false ` + -OutputSchema {definitions={}, properties={autoRevokeAllowed={$id=#sp:create-campaign/autoRevokeAllowed, default=true, examples=[false], title=autoRevokeAllowed, type=boolean}, deadline={$id=#sp:create-campaign/deadline, default=, examples=[2020-12-25T06:00:00.468Z], format=date-time, pattern=^.*$, title=deadline, type=string}, description={$id=#sp:create-campaign/description, default=, examples=[A review of everyone's access by their manager.], pattern=^.*$, title=description, type=string}, emailNotificationEnabled={$id=#sp:create-campaign/emailNotificationEnabled, default=true, examples=[false], title=emailNotificationEnabled, type=boolean}, filter={$id=#sp:create-campaign/filter, properties={id={$id=#sp:create-campaign/filter/id, default=, examples=[e0adaae69852e8fe8b8a3d48e5ce757c], pattern=^.*$, title=id, type=string}, type={$id=#sp:create-campaign/filter/type, default=, examples=[CAMPAIGN_FILTER], pattern=^.*$, title=type, type=string}}, title=filter, type=object}, id={$id=#sp:create-campaign/id, default=, examples=[2c918086719eec070171a7e3355a360a], pattern=^.*$, title=id, type=string}, name={$id=#sp:create-campaign/name, default=, examples=[Manager Review], pattern=^.*$, title=name, type=string}, recommendationsEnabled={$id=#sp:create-campaign/recommendationsEnabled, default=true, examples=[false], title=recommendationEnabled, type=boolean}, type={$id=#sp:create-campaign/type, default=, examples=[MANAGER], pattern=^.*$, title=type, type=string}}, title=sp:create-campaign, type=object} +``` + +- Convert the resource to JSON +```powershell +$WorkflowLibraryAction | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/WorkflowLibraryActionExampleOutput.md b/PSSailpoint/v2024/docs/WorkflowLibraryActionExampleOutput.md new file mode 100644 index 000000000..e598cd86d --- /dev/null +++ b/PSSailpoint/v2024/docs/WorkflowLibraryActionExampleOutput.md @@ -0,0 +1,20 @@ +# WorkflowLibraryActionExampleOutput +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Examples + +- Prepare the resource +```powershell +$WorkflowLibraryActionExampleOutput = Initialize-PSSailpointV2024WorkflowLibraryActionExampleOutput +``` + +- Convert the resource to JSON +```powershell +$WorkflowLibraryActionExampleOutput | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/WorkflowLibraryFormFields.md b/PSSailpoint/v2024/docs/WorkflowLibraryFormFields.md new file mode 100644 index 000000000..ccb56cca8 --- /dev/null +++ b/PSSailpoint/v2024/docs/WorkflowLibraryFormFields.md @@ -0,0 +1,31 @@ +# WorkflowLibraryFormFields +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Description** | **String** | Description of the form field | [optional] +**HelpText** | **String** | Describes the form field in the UI | [optional] +**Label** | **String** | A human readable name for this form field in the UI | [optional] +**Name** | **String** | The name of the input attribute | [optional] +**Required** | **Boolean** | Denotes if this field is a required attribute | [optional] [default to $false] +**Type** | **String** | The type of the form field | [optional] + +## Examples + +- Prepare the resource +```powershell +$WorkflowLibraryFormFields = Initialize-PSSailpointV2024WorkflowLibraryFormFields -Description First value to compare ` + -HelpText The name to give to this certification campaign. ` + -Label Campaign Name ` + -Name name ` + -Required false ` + -Type text +``` + +- Convert the resource to JSON +```powershell +$WorkflowLibraryFormFields | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/WorkflowLibraryOperator.md b/PSSailpoint/v2024/docs/WorkflowLibraryOperator.md new file mode 100644 index 000000000..dab0dc420 --- /dev/null +++ b/PSSailpoint/v2024/docs/WorkflowLibraryOperator.md @@ -0,0 +1,37 @@ +# WorkflowLibraryOperator +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Operator ID. | [optional] +**Name** | **String** | Operator friendly name | [optional] +**Type** | **String** | Operator type | [optional] +**Description** | **String** | Description of the operator | [optional] +**IsDynamicSchema** | **Boolean** | Determines whether the dynamic output schema is returned in place of the action's output schema. The dynamic schema lists non-static properties, like properties of a workflow form where each form has different fields. These will be provided dynamically based on available form fields. | [optional] +**Deprecated** | **Boolean** | | [optional] +**DeprecatedBy** | **System.DateTime** | | [optional] +**IsSimulationEnabled** | **Boolean** | | [optional] +**FormFields** | [**WorkflowLibraryFormFields[]**](WorkflowLibraryFormFields.md) | One or more inputs that the operator accepts | [optional] + +## Examples + +- Prepare the resource +```powershell +$WorkflowLibraryOperator = Initialize-PSSailpointV2024WorkflowLibraryOperator -Id sp:compare-boolean ` + -Name Compare Boolean Values ` + -Type OPERATOR ` + -Description Compare two boolean values and decide what happens based on the result. ` + -IsDynamicSchema false ` + -Deprecated null ` + -DeprecatedBy null ` + -IsSimulationEnabled null ` + -FormFields [{description=Enter the JSONPath to a value from the input to compare to Variable B., helpText=, label=Variable A, name=variableA.$, required=true, type=text}, {helpText=Select an operation., label=Operation, name=operator, options=[{label=Equals, value=BooleanEquals}], required=true, type=select}, {description=Enter the JSONPath to a value from the input to compare to Variable A., helpText=, label=Variable B, name=variableB.$, required=false, type=text}, {description=Enter True or False., helpText=, label=Variable B, name=variableB, required=false, type=text}] +``` + +- Convert the resource to JSON +```powershell +$WorkflowLibraryOperator | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/WorkflowLibraryTrigger.md b/PSSailpoint/v2024/docs/WorkflowLibraryTrigger.md new file mode 100644 index 000000000..ddedf5ae4 --- /dev/null +++ b/PSSailpoint/v2024/docs/WorkflowLibraryTrigger.md @@ -0,0 +1,41 @@ +# WorkflowLibraryTrigger +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Trigger ID. This is a static namespaced ID for the trigger. | [optional] +**Type** | **String** | Trigger type | [optional] +**Deprecated** | **Boolean** | | [optional] +**DeprecatedBy** | **System.DateTime** | | [optional] +**IsSimulationEnabled** | **Boolean** | | [optional] +**OutputSchema** | [**SystemCollectionsHashtable**](.md) | Example output schema | [optional] +**Name** | **String** | Trigger Name | [optional] +**Description** | **String** | Trigger Description | [optional] +**IsDynamicSchema** | **Boolean** | Determines whether the dynamic output schema is returned in place of the action's output schema. The dynamic schema lists non-static properties, like properties of a workflow form where each form has different fields. These will be provided dynamically based on available form fields. | [optional] [default to $false] +**InputExample** | [**SystemCollectionsHashtable**](.md) | Example trigger payload if applicable | [optional] +**FormFields** | [**WorkflowLibraryFormFields[]**](WorkflowLibraryFormFields.md) | One or more inputs that the trigger accepts | [optional] + +## Examples + +- Prepare the resource +```powershell +$WorkflowLibraryTrigger = Initialize-PSSailpointV2024WorkflowLibraryTrigger -Id idn:identity-attributes-changed ` + -Type EVENT ` + -Deprecated null ` + -DeprecatedBy null ` + -IsSimulationEnabled null ` + -OutputSchema null ` + -Name Identity Attributes Changed ` + -Description One or more identity attributes changed. ` + -IsDynamicSchema false ` + -InputExample {changes=[{attribute=department, newValue=marketing, oldValue=sales}, {attribute=manager, newValue={id=ee769173319b41d19ccec6c235423236c, name=mean.guy, type=IDENTITY}, oldValue={id=ee769173319b41d19ccec6c235423237b, name=nice.guy, type=IDENTITY}}, {attribute=email, newValue=john.doe@gmail.com, oldValue=john.doe@hotmail.com}], identity={id=ee769173319b41d19ccec6cea52f237b, name=john.doe, type=IDENTITY}} ` + -FormFields [] +``` + +- Convert the resource to JSON +```powershell +$WorkflowLibraryTrigger | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/WorkflowModifiedBy.md b/PSSailpoint/v2024/docs/WorkflowModifiedBy.md new file mode 100644 index 000000000..d5d03a323 --- /dev/null +++ b/PSSailpoint/v2024/docs/WorkflowModifiedBy.md @@ -0,0 +1,25 @@ +# WorkflowModifiedBy +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | | [optional] +**Id** | **String** | Identity ID | [optional] +**Name** | **String** | Human-readable display name of identity. | [optional] + +## Examples + +- Prepare the resource +```powershell +$WorkflowModifiedBy = Initialize-PSSailpointV2024WorkflowModifiedBy -Type IDENTITY ` + -Id 2c9180a46faadee4016fb4e018c20639 ` + -Name Thomas Edison +``` + +- Convert the resource to JSON +```powershell +$WorkflowModifiedBy | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/WorkflowOAuthClient.md b/PSSailpoint/v2024/docs/WorkflowOAuthClient.md new file mode 100644 index 000000000..016b3e6a0 --- /dev/null +++ b/PSSailpoint/v2024/docs/WorkflowOAuthClient.md @@ -0,0 +1,25 @@ +# WorkflowOAuthClient +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | OAuth client ID for the trigger. This is a UUID generated upon creation. | [optional] +**Secret** | **String** | OAuthClient secret. | [optional] +**Url** | **String** | URL for the external trigger to invoke | [optional] + +## Examples + +- Prepare the resource +```powershell +$WorkflowOAuthClient = Initialize-PSSailpointV2024WorkflowOAuthClient -Id 1a58c03a6bf64dc2876f6988c6e2c7b7 ` + -Secret 00cc24a7fe810fe06a7cb38bc168ae104d703c7abb296f9944dc68e69ddb578b ` + -Url https://tenant.api.identitynow.com/beta/workflows/execute/external/c17bea3a-574d-453c-9e04-4365fbf5af0b +``` + +- Convert the resource to JSON +```powershell +$WorkflowOAuthClient | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/WorkflowTrigger.md b/PSSailpoint/v2024/docs/WorkflowTrigger.md new file mode 100644 index 000000000..cc1481095 --- /dev/null +++ b/PSSailpoint/v2024/docs/WorkflowTrigger.md @@ -0,0 +1,25 @@ +# WorkflowTrigger +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | The trigger type | +**DisplayName** | **String** | | [optional] +**Attributes** | [**WorkflowTriggerAttributes**](WorkflowTriggerAttributes.md) | | + +## Examples + +- Prepare the resource +```powershell +$WorkflowTrigger = Initialize-PSSailpointV2024WorkflowTrigger -Type EVENT ` + -DisplayName null ` + -Attributes null +``` + +- Convert the resource to JSON +```powershell +$WorkflowTrigger | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/WorkflowTriggerAttributes.md b/PSSailpoint/v2024/docs/WorkflowTriggerAttributes.md new file mode 100644 index 000000000..09f77a4ca --- /dev/null +++ b/PSSailpoint/v2024/docs/WorkflowTriggerAttributes.md @@ -0,0 +1,41 @@ +# WorkflowTriggerAttributes +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | The unique ID of the trigger | +**VarFilter** | **String** | JSON path expression that will limit which events the trigger will fire on | [optional] +**Description** | **String** | Additonal context about the external trigger | [optional] +**Name** | **String** | A unique name for the external trigger | [optional] +**ClientId** | **String** | OAuth Client ID to authenticate with this trigger | [optional] +**Url** | **String** | URL to invoke this workflow | [optional] +**CronString** | **String** | A valid CRON expression | [optional] +**Frequency** | **String** | Frequency of execution | +**TimeZone** | **String** | Time zone identifier | [optional] +**WeeklyDays** | **String[]** | Scheduled days of the week for execution | [optional] +**WeeklyTimes** | **String[]** | Scheduled execution times | [optional] + +## Examples + +- Prepare the resource +```powershell +$WorkflowTriggerAttributes = Initialize-PSSailpointV2024WorkflowTriggerAttributes -Id idn:identity-attributes-changed ` + -VarFilter $.changes[?(@.attribute == 'manager')] ` + -Description Run a search and notify the results ` + -Name search-and-notify ` + -ClientId 87e239b2-b85b-4bde-b9a7-55bf304ddcdc ` + -Url https://tenant.api.identitynow.com/beta/workflows/execute/external/c79e0079-562c-4df5-aa73-60a9e25c916d ` + -CronString 0 9 * * 1 ` + -Frequency null ` + -TimeZone America/Chicago ` + -WeeklyDays Monday ` + -WeeklyTimes Monday +``` + +- Convert the resource to JSON +```powershell +$WorkflowTriggerAttributes | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/WorkgroupBulkDeleteRequest.md b/PSSailpoint/v2024/docs/WorkgroupBulkDeleteRequest.md new file mode 100644 index 000000000..6c3bde8d8 --- /dev/null +++ b/PSSailpoint/v2024/docs/WorkgroupBulkDeleteRequest.md @@ -0,0 +1,21 @@ +# WorkgroupBulkDeleteRequest +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Ids** | **String[]** | List of IDs of Governance Groups to be deleted. | [optional] + +## Examples + +- Prepare the resource +```powershell +$WorkgroupBulkDeleteRequest = Initialize-PSSailpointV2024WorkgroupBulkDeleteRequest -Ids [567a697e-885b-495a-afc5-d55e1c23a302, c7b0f7b2-1e78-4063-b294-a555333dacd2] +``` + +- Convert the resource to JSON +```powershell +$WorkgroupBulkDeleteRequest | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/WorkgroupConnectionDto.md b/PSSailpoint/v2024/docs/WorkgroupConnectionDto.md new file mode 100644 index 000000000..9eb0df871 --- /dev/null +++ b/PSSailpoint/v2024/docs/WorkgroupConnectionDto.md @@ -0,0 +1,23 @@ +# WorkgroupConnectionDto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Object** | [**ConnectedObject**](ConnectedObject.md) | | [optional] +**ConnectionType** | **String** | Connection Type. | [optional] + +## Examples + +- Prepare the resource +```powershell +$WorkgroupConnectionDto = Initialize-PSSailpointV2024WorkgroupConnectionDto -Object null ` + -ConnectionType AccessRequestReviewer +``` + +- Convert the resource to JSON +```powershell +$WorkgroupConnectionDto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/WorkgroupDeleteItem.md b/PSSailpoint/v2024/docs/WorkgroupDeleteItem.md new file mode 100644 index 000000000..94677a05a --- /dev/null +++ b/PSSailpoint/v2024/docs/WorkgroupDeleteItem.md @@ -0,0 +1,31 @@ +# WorkgroupDeleteItem +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Id of the Governance Group. | +**Status** | **String** | The HTTP response status code returned for an individual Governance Group that is requested for deletion during a bulk delete operation. > 204 - Governance Group deleted successfully. > 409 - Governance Group is in use,hence can not be deleted. > 404 - Governance Group not found. | +**Description** | **String** | Human readable status description and containing additional context information about success or failures etc. | [optional] + +## Examples + +- Prepare the resource +```powershell +$WorkgroupDeleteItem = Initialize-PSSailpointV2024WorkgroupDeleteItem -Id 464ae7bf791e49fdb74606a2e4a89635 ` + -Status 204 ` + -Description +> Governance Group deleted successfully. + +> Unable to delete Governance Group f80bba83-98c4-4ec2-81c8-373c00e9663b because it is in use. + +> Referenced Governance Group 2b711763-ed35-42a2-a80c-8f1ce0dc4a7f was not found. + +``` + +- Convert the resource to JSON +```powershell +$WorkgroupDeleteItem | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/WorkgroupDto.md b/PSSailpoint/v2024/docs/WorkgroupDto.md new file mode 100644 index 000000000..4520aa0b0 --- /dev/null +++ b/PSSailpoint/v2024/docs/WorkgroupDto.md @@ -0,0 +1,35 @@ +# WorkgroupDto +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Owner** | [**WorkgroupDtoOwner**](WorkgroupDtoOwner.md) | | [optional] +**Id** | **String** | Governance group ID. | [optional] [readonly] +**Name** | **String** | Governance group name. | [optional] +**Description** | **String** | Governance group description. | [optional] +**MemberCount** | **Int64** | Number of members in the governance group. | [optional] [readonly] +**ConnectionCount** | **Int64** | Number of connections in the governance group. | [optional] [readonly] +**Created** | **System.DateTime** | | [optional] +**Modified** | **System.DateTime** | | [optional] + +## Examples + +- Prepare the resource +```powershell +$WorkgroupDto = Initialize-PSSailpointV2024WorkgroupDto -Owner null ` + -Id 2c91808568c529c60168cca6f90c1313 ` + -Name DB Access Governance Group ` + -Description Description of the Governance Group ` + -MemberCount 1641498673000 ` + -ConnectionCount 1641498673000 ` + -Created 2022-01-06T19:51:13Z ` + -Modified 2022-01-06T19:51:13Z +``` + +- Convert the resource to JSON +```powershell +$WorkgroupDto | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/WorkgroupDtoOwner.md b/PSSailpoint/v2024/docs/WorkgroupDtoOwner.md new file mode 100644 index 000000000..dc18116f5 --- /dev/null +++ b/PSSailpoint/v2024/docs/WorkgroupDtoOwner.md @@ -0,0 +1,29 @@ +# WorkgroupDtoOwner +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **String** | Owner's DTO type. | [optional] +**Id** | **String** | Owner's identity ID. | [optional] +**Name** | **String** | Owner's name. | [optional] +**DisplayName** | **String** | The display name of the identity | [optional] [readonly] +**EmailAddress** | **String** | The primary email address of the identity | [optional] [readonly] + +## Examples + +- Prepare the resource +```powershell +$WorkgroupDtoOwner = Initialize-PSSailpointV2024WorkgroupDtoOwner -Type IDENTITY ` + -Id 2c9180a46faadee4016fb4e018c20639 ` + -Name Support ` + -DisplayName Support ` + -EmailAddress support@sailpoint.com +``` + +- Convert the resource to JSON +```powershell +$WorkgroupDtoOwner | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/WorkgroupMemberAddItem.md b/PSSailpoint/v2024/docs/WorkgroupMemberAddItem.md new file mode 100644 index 000000000..c8731ce41 --- /dev/null +++ b/PSSailpoint/v2024/docs/WorkgroupMemberAddItem.md @@ -0,0 +1,29 @@ +# WorkgroupMemberAddItem +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Identifier of identity in bulk member add request. | +**Status** | **String** | The HTTP response status code returned for an individual member that is requested for addition during a bulk add operation. The HTTP response status code returned for an individual Governance Group is requested for deletion. > 201 - Identity is added into Governance Group members list. > 409 - Identity is already member of Governance Group. | +**Description** | **String** | Human readable status description and containing additional context information about success or failures etc. | [optional] + +## Examples + +- Prepare the resource +```powershell +$WorkgroupMemberAddItem = Initialize-PSSailpointV2024WorkgroupMemberAddItem -Id 464ae7bf791e49fdb74606a2e4a89635 ` + -Status 201 ` + -Description +> Identity is added into Governance Group members list. + +> Unable to set Membership of Identity "3244d5f2d04447498520f54c6789ae33" to Governance Group "f80bba83-98c4-4ec2-81c8-373c00e9663b"; the relationship already exists. + +``` + +- Convert the resource to JSON +```powershell +$WorkgroupMemberAddItem | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/docs/WorkgroupMemberDeleteItem.md b/PSSailpoint/v2024/docs/WorkgroupMemberDeleteItem.md new file mode 100644 index 000000000..a1f08c741 --- /dev/null +++ b/PSSailpoint/v2024/docs/WorkgroupMemberDeleteItem.md @@ -0,0 +1,29 @@ +# WorkgroupMemberDeleteItem +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | **String** | Identifier of identity in bulk member add /remove request. | +**Status** | **String** | The HTTP response status code returned for an individual member that is requested for deletion during a bulk delete operation. > 204 - Identity is removed from Governance Group members list. > 404 - Identity is not member of Governance Group. | +**Description** | **String** | Human readable status description and containing additional context information about success or failures etc. | [optional] + +## Examples + +- Prepare the resource +```powershell +$WorkgroupMemberDeleteItem = Initialize-PSSailpointV2024WorkgroupMemberDeleteItem -Id 464ae7bf791e49fdb74606a2e4a89635 ` + -Status 204 ` + -Description +> Identity deleted from Governance Group members list. + +> Referenced Governance Group Member with Identity Id "bc3a744678534eb78a8002ee2085df64" was not found. + +``` + +- Convert the resource to JSON +```powershell +$WorkgroupMemberDeleteItem | ConvertTo-JSON +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024AccessModelMetadataApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024AccessModelMetadataApi.ps1 new file mode 100644 index 000000000..0264f43a1 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024AccessModelMetadataApi.ps1 @@ -0,0 +1,357 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Get Access Model Metadata Attribute + +.DESCRIPTION + +Get single Access Model Metadata Attribute + +.PARAMETER Key +Technical name of the Attribute. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +AttributeDTO +#> +function Get-V2024AccessModelMetadataAttribute { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Key}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024AccessModelMetadataAttribute' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/access-model-metadata/attributes/{key}' + if (!$Key) { + throw "Error! The required parameter `Key` missing when calling getAccessModelMetadataAttribute." + } + $LocalVarUri = $LocalVarUri.replace('{key}', [System.Web.HTTPUtility]::UrlEncode($Key)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getAccessModelMetadataAttribute." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "AttributeDTO" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get Access Model Metadata Value + +.DESCRIPTION + +Get single Access Model Metadata Attribute Value + +.PARAMETER Key +Technical name of the Attribute. + +.PARAMETER Value +Technical name of the Attribute value. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +AttributeValueDTO +#> +function Get-V2024AccessModelMetadataAttributeValue { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Key}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Value}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024AccessModelMetadataAttributeValue' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/access-model-metadata/attributes/{key}/values/{value}' + if (!$Key) { + throw "Error! The required parameter `Key` missing when calling getAccessModelMetadataAttributeValue." + } + $LocalVarUri = $LocalVarUri.replace('{key}', [System.Web.HTTPUtility]::UrlEncode($Key)) + if (!$Value) { + throw "Error! The required parameter `Value` missing when calling getAccessModelMetadataAttributeValue." + } + $LocalVarUri = $LocalVarUri.replace('{value}', [System.Web.HTTPUtility]::UrlEncode($Value)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getAccessModelMetadataAttributeValue." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "AttributeValueDTO" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List Access Model Metadata Attributes + +.DESCRIPTION + +Get a list of Access Model Metadata Attributes + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER 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: **name**: *eq* **type**: *eq* **status**: *eq* **objectTypes**: *eq* Supported composite operators: *and* + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +AttributeDTO[] +#> +function Get-V2024AccessModelMetadataAttribute { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024AccessModelMetadataAttribute' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/access-model-metadata/attributes' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling listAccessModelMetadataAttribute." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "AttributeDTO[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List Access Model Metadata Values + +.DESCRIPTION + +Get a list of Access Model Metadata Attribute Values + +.PARAMETER Key +Technical name of the Attribute. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +AttributeValueDTO[] +#> +function Get-V2024AccessModelMetadataAttributeValue { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Key}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024AccessModelMetadataAttributeValue' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/access-model-metadata/attributes/{key}/values' + if (!$Key) { + throw "Error! The required parameter `Key` missing when calling listAccessModelMetadataAttributeValue." + } + $LocalVarUri = $LocalVarUri.replace('{key}', [System.Web.HTTPUtility]::UrlEncode($Key)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling listAccessModelMetadataAttributeValue." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "AttributeValueDTO[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024AccessProfilesApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024AccessProfilesApi.ps1 new file mode 100644 index 000000000..10670842d --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024AccessProfilesApi.ps1 @@ -0,0 +1,804 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Create Access Profile + +.DESCRIPTION + +Use this API to create an access profile. A token with API, ORG_ADMIN, ROLE_ADMIN, ROLE_SUBADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API. In addition, a token with only ROLE_SUBADMIN or SOURCE_SUBADMIN authority must be associated with the access profile's Source. The maximum supported length for the description field is 2000 characters. Longer descriptions will be preserved for existing access profiles. However, any new access profiles as well as any updates to existing descriptions are limited to 2000 characters. + +.PARAMETER AccessProfile +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +AccessProfile +#> +function New-V2024AccessProfile { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${AccessProfile}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: New-V2024AccessProfile' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/access-profiles' + + if (!$AccessProfile) { + throw "Error! The required parameter `AccessProfile` missing when calling createAccessProfile." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($AccessProfile -is [array])) { + $LocalVarBodyParameter = $AccessProfile | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $AccessProfile | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "AccessProfile" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Delete the specified Access Profile + +.DESCRIPTION + +This API deletes an existing Access Profile. The Access Profile must not be in use, for example, Access Profile can not be deleted if they belong to an Application, Life Cycle State or a Role. If it is, a 400 error is returned. A token with API, ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to invoke this API. In addition, a SOURCE_SUBADMIN token must be able to administer the Source associated with the Access Profile. + +.PARAMETER Id +ID of the Access Profile to delete + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Remove-V2024AccessProfile { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024AccessProfile' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/access-profiles/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling deleteAccessProfile." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'DELETE' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Delete Access Profile(s) + +.DESCRIPTION + +This endpoint initiates a bulk deletion of one or more access profiles. When the request is successful, the endpoint returns the bulk delete's task result ID. To follow the task, you can use [Get Task Status by ID](https://developer.sailpoint.com/docs/api/beta/get-task-status), which will return the task result's status and information. This endpoint can only bulk delete up to a limit of 50 access profiles per request. By default, if any of the indicated access profiles are in use, no deletions will be performed and the **inUse** field of the response indicates the usages that must be removed first. If the request field **bestEffortOnly** is **true**, however, usages are reported in the **inUse** response field but all other indicated access profiles will be deleted. A token with API, ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this endpoint. In addition, a SOURCE_SUBADMIN can only use this endpoint to delete access profiles associated with sources they're able to administer. + +.PARAMETER AccessProfileBulkDeleteRequest +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +AccessProfileBulkDeleteResponse +#> +function Remove-V2024AccessProfilesInBulk { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${AccessProfileBulkDeleteRequest}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024AccessProfilesInBulk' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/access-profiles/bulk-delete' + + if (!$AccessProfileBulkDeleteRequest) { + throw "Error! The required parameter `AccessProfileBulkDeleteRequest` missing when calling deleteAccessProfilesInBulk." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($AccessProfileBulkDeleteRequest -is [array])) { + $LocalVarBodyParameter = $AccessProfileBulkDeleteRequest | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $AccessProfileBulkDeleteRequest | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "AccessProfileBulkDeleteResponse" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get an Access Profile + +.DESCRIPTION + +This API returns an Access Profile by its ID. A token with API, ORG_ADMIN, ROLE_ADMIN, ROLE_SUBADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API. + +.PARAMETER Id +ID of the Access Profile + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +AccessProfile +#> +function Get-V2024AccessProfile { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024AccessProfile' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/access-profiles/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getAccessProfile." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "AccessProfile" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List Access Profile's Entitlements + +.DESCRIPTION + +Use this API to get a list of an access profile's entitlements. A token with API, ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API. In addition, a token with SOURCE_SUBADMIN authority must have access to the source associated with the specified access profile. >**Note:** When you filter for access profiles that have the '+' symbol in their names, the response is blank. + +.PARAMETER Id +ID of the access profile containing the entitlements. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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* **attribute**: *eq, sw* **value**: *eq, sw* **created**: *gt, lt, ge, le* **modified**: *gt, lt, ge, le* **owner.id**: *eq, in* **source.id**: *eq, in* Filtering is not supported for access profiles and entitlements that have the '+' symbol in their names. + +.PARAMETER 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: **name, attribute, value, created, modified** + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +Entitlement[] +#> +function Get-V2024AccessProfileEntitlements { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024AccessProfileEntitlements' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/access-profiles/{id}/entitlements' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getAccessProfileEntitlements." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "Entitlement[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List Access Profiles + +.DESCRIPTION + +Use this API to get a list of access profiles. A token with API, ORG_ADMIN, ROLE_ADMIN, ROLE_SUBADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API. >**Note:** When you filter for access profiles that have the '+' symbol in their names, the response is blank. + +.PARAMETER ForSubadmin +If provided, filters the returned list according to what is visible to the indicated ROLE_SUBADMIN or SOURCE_SUBADMIN identity. The value of the parameter is either an identity ID, or the special value **me**, which is shorthand for the calling identity's ID. A 400 Bad Request error is returned if the **for-subadmin** parameter is specified for an identity that is not a subadmin. + +.PARAMETER Limit +Note that for this API the maximum value for limit is 50. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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* **created**: *gt, lt, ge, le* **modified**: *gt, lt, ge, le* **owner.id**: *eq, in* **requestable**: *eq* **source.id**: *eq, in* Composite operators supported: *and, or* Filtering is not supported for access profiles and entitlements that have the '+' symbol in their names. + +.PARAMETER 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: **name, created, modified** + +.PARAMETER ForSegmentIds +If present and not empty, additionally filters access profiles to those which are assigned to the segment(s) with the specified IDs. If segmentation is currently unavailable, specifying this parameter results in an error. + +.PARAMETER IncludeUnsegmented +Indicates whether the response list should contain unsegmented access profiles. If *for-segment-ids* is absent or empty, specifying *include-unsegmented* as false results in an error. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +AccessProfile[] +#> +function Get-V2024AccessProfiles { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${ForSubadmin}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${ForSegmentIds}, + [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${IncludeUnsegmented}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024AccessProfiles' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/access-profiles' + + if ($ForSubadmin) { + $LocalVarQueryParameters['for-subadmin'] = $ForSubadmin + } + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + if ($ForSegmentIds) { + $LocalVarQueryParameters['for-segment-ids'] = $ForSegmentIds + } + + if ($IncludeUnsegmented) { + $LocalVarQueryParameters['include-unsegmented'] = $IncludeUnsegmented + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "AccessProfile[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Patch a specified Access Profile + +.DESCRIPTION + +This API updates an existing Access Profile. The following fields are patchable: **name** **description** **enabled** **owner** **requestable** **accessRequestConfig** **revokeRequestConfig** **segments** **entitlements** **provisioningCriteria** **source** (must be updated with entitlements belonging to new source in the same API call) If you need to change the `source` of the access profile, you can do so only if you update the `entitlements` in the same API call. The new entitlements can only come from the target source that you want to change to. Look for the example ""Replace Source"" in the examples dropdown. A token with API, ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API. In addition, a SOURCE_SUBADMIN may only use this API to patch Access Profiles which are associated with Sources they are able to administer. > The maximum supported length for the description field is 2000 characters. Longer descriptions will be preserved for existing access profiles, however, any new access profiles as well as any updates to existing descriptions will be limited to 2000 characters. > You can only add or replace **entitlements** that exist on the source that the access profile is attached to. You can use the **list entitlements** endpoint with the **filters** query parameter to get a list of available entitlements on the access profile's source. + +.PARAMETER Id +ID of the Access Profile to patch + +.PARAMETER JsonPatchOperation +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +AccessProfile +#> +function Update-V2024AccessProfile { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject[]] + ${JsonPatchOperation}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Update-V2024AccessProfile' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json-patch+json') + + $LocalVarUri = '/access-profiles/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling patchAccessProfile." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$JsonPatchOperation) { + throw "Error! The required parameter `JsonPatchOperation` missing when calling patchAccessProfile." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($JsonPatchOperation -is [array])) { + $LocalVarBodyParameter = $JsonPatchOperation | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $JsonPatchOperation | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PATCH' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "AccessProfile" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Update Access Profile(s) requestable field. + +.DESCRIPTION + +This API initiates a bulk update of field requestable for one or more Access Profiles. > If any of the indicated Access Profiles is exists in Organization,then those Access Profiles will be added in **updated** list of the response.Requestable field of these Access Profiles marked as **true** or **false**. > If any of the indicated Access Profiles is not does not exists in Organization,then those Access Profiles will be added in **notFound** list of the response. Access Profiles marked as **notFound** will not be updated. > A token with API, ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API. In addition, a SOURCE_SUBADMIN may only use this API to update Access Profiles which are associated with Sources they are able to administer. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER AccessProfileBulkUpdateRequestInner +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +AccessProfileUpdateItem[] +#> +function Update-V2024AccessProfilesInBulk { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject[]] + ${AccessProfileBulkUpdateRequestInner}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Update-V2024AccessProfilesInBulk' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/access-profiles/bulk-update-requestable' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling updateAccessProfilesInBulk." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$AccessProfileBulkUpdateRequestInner) { + throw "Error! The required parameter `AccessProfileBulkUpdateRequestInner` missing when calling updateAccessProfilesInBulk." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($AccessProfileBulkUpdateRequestInner -is [array])) { + $LocalVarBodyParameter = $AccessProfileBulkUpdateRequestInner | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $AccessProfileBulkUpdateRequestInner | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "AccessProfileUpdateItem[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024AccessRequestApprovalsApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024AccessRequestApprovalsApi.ps1 new file mode 100644 index 000000000..185f9d865 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024AccessRequestApprovalsApi.ps1 @@ -0,0 +1,639 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Approve Access Request Approval + +.DESCRIPTION + +Use this endpoint to approve an access request approval. Only the owner of the approval and ORG_ADMIN users are allowed to perform this action. + +.PARAMETER ApprovalId +Approval ID. + +.PARAMETER CommentDto +Reviewer's comment. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SystemCollectionsHashtable +#> +function Approve-V2024AccessRequest { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${ApprovalId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${CommentDto}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Approve-V2024AccessRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/access-request-approvals/{approvalId}/approve' + if (!$ApprovalId) { + throw "Error! The required parameter `ApprovalId` missing when calling approveAccessRequest." + } + $LocalVarUri = $LocalVarUri.replace('{approvalId}', [System.Web.HTTPUtility]::UrlEncode($ApprovalId)) + + if (!$CommentDto) { + throw "Error! The required parameter `CommentDto` missing when calling approveAccessRequest." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($CommentDto -is [array])) { + $LocalVarBodyParameter = $CommentDto | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $CommentDto | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SystemCollectionsHashtable" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Forward Access Request Approval + +.DESCRIPTION + +Use this API to forward an access request approval to a new owner. Only the owner of the approval and ORG_ADMIN users are allowed to perform this action. Only the owner of the approval and ORG_ADMIN users are allowed to perform this action. + +.PARAMETER ApprovalId +Approval ID. + +.PARAMETER ForwardApprovalDto +Information about the forwarded approval. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SystemCollectionsHashtable +#> +function Invoke-V2024ForwardAccessRequest { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${ApprovalId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${ForwardApprovalDto}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Invoke-V2024ForwardAccessRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/access-request-approvals/{approvalId}/forward' + if (!$ApprovalId) { + throw "Error! The required parameter `ApprovalId` missing when calling forwardAccessRequest." + } + $LocalVarUri = $LocalVarUri.replace('{approvalId}', [System.Web.HTTPUtility]::UrlEncode($ApprovalId)) + + if (!$ForwardApprovalDto) { + throw "Error! The required parameter `ForwardApprovalDto` missing when calling forwardAccessRequest." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($ForwardApprovalDto -is [array])) { + $LocalVarBodyParameter = $ForwardApprovalDto | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $ForwardApprovalDto | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SystemCollectionsHashtable" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get Access Requests Approvals Number + +.DESCRIPTION + +Use this API to return the number of pending, approved and rejected access requests approvals. See the ""owner-id"" query parameter for authorization information. info. + +.PARAMETER OwnerId +The ID of the owner or approver identity of the approvals. If present, the value returns approval summary for the specified identity. * ORG_ADMIN users can call this with any identity ID value. * ORG_ADMIN user can also fetch all the approvals in the org, when owner-id is not used. * Non ORG_ADMIN users can only specify *me* or pass their own identity ID value. + +.PARAMETER FromDate +This is the date and time the results will be shown from. It must be in a valid ISO-8601 format. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ApprovalSummary +#> +function Get-V2024AccessRequestApprovalSummary { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${OwnerId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${FromDate}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024AccessRequestApprovalSummary' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/access-request-approvals/approval-summary' + + if ($OwnerId) { + $LocalVarQueryParameters['owner-id'] = $OwnerId + } + + if ($FromDate) { + $LocalVarQueryParameters['from-date'] = $FromDate + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ApprovalSummary" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Completed Access Request Approvals List + +.DESCRIPTION + +This endpoint returns list of completed approvals. See *owner-id* query parameter below for authorization info. + +.PARAMETER OwnerId +If present, the value returns only completed approvals for the specified identity. * ORG_ADMIN users can call this with any identity ID value. * ORG_ADMIN users can also fetch all the approvals in the org, when owner-id is not used. * Non-ORG_ADMIN users can only specify *me* or pass their own identity ID value. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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, ge, gt, le, lt, ne, isnull, sw* **requestedFor.id**: *eq, in, ge, gt, le, lt, ne, isnull, sw* **modified**: *gt, lt, ge, le, eq, in, ne, sw* + +.PARAMETER 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: **created, modified** + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +CompletedApproval[] +#> +function Get-V2024CompletedApprovals { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${OwnerId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024CompletedApprovals' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/access-request-approvals/completed' + + if ($OwnerId) { + $LocalVarQueryParameters['owner-id'] = $OwnerId + } + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "CompletedApproval[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Pending Access Request Approvals List + +.DESCRIPTION + +This endpoint returns a list of pending approvals. See ""owner-id"" query parameter below for authorization info. + +.PARAMETER OwnerId +If present, the value returns only pending approvals for the specified identity. * ORG_ADMIN users can call this with any identity ID value. * ORG_ADMIN users can also fetch all the approvals in the org, when owner-id is not used. * Non-ORG_ADMIN users can only specify *me* or pass their own identity ID value. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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* **requestedFor.id**: *eq, in* **modified**: *gt, lt, ge, le, eq, in* + +.PARAMETER 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: **created, modified** + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +PendingApproval[] +#> +function Get-V2024PendingApprovals { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${OwnerId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024PendingApprovals' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/access-request-approvals/pending' + + if ($OwnerId) { + $LocalVarQueryParameters['owner-id'] = $OwnerId + } + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "PendingApproval[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Reject Access Request Approval + +.DESCRIPTION + +Use this API to reject an access request approval. Only the owner of the approval and admin users are allowed to perform this action. + +.PARAMETER ApprovalId +Approval ID. + +.PARAMETER CommentDto +Reviewer's comment. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SystemCollectionsHashtable +#> +function Deny-V2024AccessRequest { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${ApprovalId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${CommentDto}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Deny-V2024AccessRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/access-request-approvals/{approvalId}/reject' + if (!$ApprovalId) { + throw "Error! The required parameter `ApprovalId` missing when calling rejectAccessRequest." + } + $LocalVarUri = $LocalVarUri.replace('{approvalId}', [System.Web.HTTPUtility]::UrlEncode($ApprovalId)) + + if (!$CommentDto) { + throw "Error! The required parameter `CommentDto` missing when calling rejectAccessRequest." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($CommentDto -is [array])) { + $LocalVarBodyParameter = $CommentDto | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $CommentDto | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SystemCollectionsHashtable" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024AccessRequestIdentityMetricsApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024AccessRequestIdentityMetricsApi.ps1 new file mode 100644 index 000000000..ce8a90016 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024AccessRequestIdentityMetricsApi.ps1 @@ -0,0 +1,112 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Return access request identity metrics + +.DESCRIPTION + +Use this API to return information access metrics. + +.PARAMETER IdentityId +Manager's identity ID. + +.PARAMETER RequestedObjectId +Requested access item's ID. + +.PARAMETER Type +Requested access item's type. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SystemCollectionsHashtable +#> +function Get-V2024AccessRequestIdentityMetrics { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${IdentityId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${RequestedObjectId}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Type}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024AccessRequestIdentityMetrics' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/access-request-identity-metrics/{identityId}/requested-objects/{requestedObjectId}/type/{type}' + if (!$IdentityId) { + throw "Error! The required parameter `IdentityId` missing when calling getAccessRequestIdentityMetrics." + } + $LocalVarUri = $LocalVarUri.replace('{identityId}', [System.Web.HTTPUtility]::UrlEncode($IdentityId)) + if (!$RequestedObjectId) { + throw "Error! The required parameter `RequestedObjectId` missing when calling getAccessRequestIdentityMetrics." + } + $LocalVarUri = $LocalVarUri.replace('{requestedObjectId}', [System.Web.HTTPUtility]::UrlEncode($RequestedObjectId)) + if (!$Type) { + throw "Error! The required parameter `Type` missing when calling getAccessRequestIdentityMetrics." + } + $LocalVarUri = $LocalVarUri.replace('{type}', [System.Web.HTTPUtility]::UrlEncode($Type)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getAccessRequestIdentityMetrics." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SystemCollectionsHashtable" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024AccessRequestsApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024AccessRequestsApi.ps1 new file mode 100644 index 000000000..699d2af0a --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024AccessRequestsApi.ps1 @@ -0,0 +1,596 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Cancel Access Request + +.DESCRIPTION + +This API endpoint cancels a pending access request. An access request can be cancelled only if it has not passed the approval step. Any token with ORG_ADMIN authority or token of the user who originally requested the access request is required to cancel it. + +.PARAMETER CancelAccessRequest +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SystemCollectionsHashtable +#> +function Suspend-V2024AccessRequest { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${CancelAccessRequest}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Suspend-V2024AccessRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/access-requests/cancel' + + if (!$CancelAccessRequest) { + throw "Error! The required parameter `CancelAccessRequest` missing when calling cancelAccessRequest." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($CancelAccessRequest -is [array])) { + $LocalVarBodyParameter = $CancelAccessRequest | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $CancelAccessRequest | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SystemCollectionsHashtable" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Close Access Request + +.DESCRIPTION + +This endpoint closes access requests that are stuck in a pending state. It can be used throughout a request's lifecycle even after the approval state, unlike the [Cancel Access Request endpoint](https://developer.sailpoint.com/idn/api/v3/cancel-access-request/). A token with ORG_ADMIN authority is required. To find pending access requests with the UI, navigate to Search and use this query: status: Pending AND ""Access Request"". Use the Column Chooser to select 'Tracking Number', and use the 'Download' button to export a CSV containing the tracking numbers. To find pending access requests with the API, use the [List Account Activities endpoint](https://developer.sailpoint.com/idn/api/v3/list-account-activities/). Input the IDs from either source. To track the status of endpoint requests, navigate to Search and use this query: name:""Close Identity Requests"". Search will include ""Close Identity Requests Started"" audits when requests are initiated and ""Close Identity Requests Completed"" audits when requests are completed. The completion audit will list the identity request IDs that finished in error. This API triggers the [Provisioning Completed event trigger](https://developer.sailpoint.com/idn/docs/event-triggers/triggers/provisioning-completed/) for each access request that is closed. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER CloseAccessRequest +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SystemCollectionsHashtable +#> +function Close-V2024AccessRequest { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${CloseAccessRequest}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Close-V2024AccessRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/access-requests/close' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling closeAccessRequest." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$CloseAccessRequest) { + throw "Error! The required parameter `CloseAccessRequest` missing when calling closeAccessRequest." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($CloseAccessRequest -is [array])) { + $LocalVarBodyParameter = $CloseAccessRequest | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $CloseAccessRequest | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SystemCollectionsHashtable" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Submit Access Request + +.DESCRIPTION + +Use this API to submit an access request in Identity Security Cloud (ISC), where it follows any ISC approval processes. Access requests are processed asynchronously by ISC. A successful response from this endpoint means that the request has been submitted to ISC and is queued for processing. Because this endpoint is asynchronous, it doesn't return an error if you submit duplicate access requests in quick succession or submit an access request for access that is already in progress, approved, or rejected. It's best practice to check for any existing access requests that reference the same access items before submitting a new access request. This can be accomplished by using the [List Access Request Status](https://developer.sailpoint.com/idn/api/v3/list-access-request-status) or the [Pending Access Request Approvals](https://developer.sailpoint.com/idn/api/v3/list-pending-approvals) APIs. You can also use the [Search API](https://developer.sailpoint.com/idn/api/v3/search) to check the existing access items an identity has before submitting an access request to ensure that you aren't requesting access that is already granted. If you use this API to request access that an identity already has, the API will ignore the request. These ignored requests do not display when you use the [List Access Request Status](https://developer.sailpoint.com/idn/api/v3/list-access-request-status) API. There are two types of access request: __GRANT_ACCESS__ * Can be requested for multiple identities in a single request. * Supports self request and request on behalf of other users. Refer to the [Get Access Request Configuration](https://developer.sailpoint.com/idn/api/v3/get-access-request-config) endpoint for request configuration options. * Allows any authenticated token (except API) to call this endpoint to request to grant access to themselves. Depending on the configuration, a user can request access for others. * Roles, access profiles and entitlements can be requested. * While requesting entitlements, maximum of 25 entitlements and 10 recipients are allowed in a request. __REVOKE_ACCESS__ * Can only be requested for a single identity at a time. * You cannot use an access request to revoke access from an identity if that access has been granted by role membership or by birthright provisioning. * Does not support self request. Only manager can request to revoke access for their directly managed employees. * If a `removeDate` is specified, then the access will be removed on that date and time only for roles, access profiles and entitlements. * Roles, access profiles, and entitlements can be requested for revocation. * Revoke requests for entitlements are limited to 1 entitlement per access request currently. * You can specify a `removeDate` if the access doesn't already have a sunset date. The `removeDate` must be a future date, in the UTC timezone. * Allows a manager to request to revoke access for direct employees. A token with ORG_ADMIN authority can also request to revoke access from anyone. A token with API authority cannot be used to call this endpoint. + +.PARAMETER AccessRequest +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SystemCollectionsHashtable +#> +function New-V2024AccessRequest { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${AccessRequest}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: New-V2024AccessRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/access-requests' + + if (!$AccessRequest) { + throw "Error! The required parameter `AccessRequest` missing when calling createAccessRequest." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($AccessRequest -is [array])) { + $LocalVarBodyParameter = $AccessRequest | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $AccessRequest | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SystemCollectionsHashtable" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get Access Request Configuration + +.DESCRIPTION + +This endpoint returns the current access-request configuration. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +AccessRequestConfig +#> +function Get-V2024AccessRequestConfig { + [CmdletBinding()] + Param ( + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024AccessRequestConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/access-request-config' + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "AccessRequestConfig" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Access Request Status + +.DESCRIPTION + +Use this API to return a list of access request statuses based on the specified query parameters. If an access request was made for access that an identity already has, the API ignores the access request. These ignored requests do not display in the list of access request statuses. Any token with any authority can request their own status. A token with ORG_ADMIN authority is required to call this API to get a list of statuses for other users. + +.PARAMETER RequestedFor +Filter the results by the identity the requests were made for. *me* indicates the current user. Mutually exclusive with *regarding-identity*. + +.PARAMETER RequestedBy +Filter the results by the identity twho made the requests. *me* indicates the current user. Mutually exclusive with *regarding-identity*. + +.PARAMETER RegardingIdentity +Filter the results by the specified identity who is either the requester or target of the requests. *me* indicates the current user. Mutually exclusive with *requested-for* and *requested-by*. + +.PARAMETER AssignedTo +Filter the results by the specified identity who is the owner of the Identity Request Work Item. *me* indicates the current user. + +.PARAMETER Count +If this is true, the *X-Total-Count* response header populates with the number of results that would be returned if limit and offset were ignored. + +.PARAMETER Limit +Max number of results to return. + +.PARAMETER Offset +Offset into the full result set. Usually specified with *limit* to paginate through the results. Defaults to 0 if not specified. + +.PARAMETER 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: **accountActivityItemId**: *eq, in, ge, gt, le, lt, ne, isnull, sw* + +.PARAMETER 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: **created, modified, accountActivityItemId, name** + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +RequestedItemStatus[] +#> +function Get-V2024AccessRequestStatus { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${RequestedFor}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${RequestedBy}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${RegardingIdentity}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${AssignedTo}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Parameter(Position = 8, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024AccessRequestStatus' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/access-request-status' + + if ($RequestedFor) { + $LocalVarQueryParameters['requested-for'] = $RequestedFor + } + + if ($RequestedBy) { + $LocalVarQueryParameters['requested-by'] = $RequestedBy + } + + if ($RegardingIdentity) { + $LocalVarQueryParameters['regarding-identity'] = $RegardingIdentity + } + + if ($AssignedTo) { + $LocalVarQueryParameters['assigned-to'] = $AssignedTo + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "RequestedItemStatus[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Update Access Request Configuration + +.DESCRIPTION + +This endpoint replaces the current access-request configuration. A token with ORG_ADMIN authority is required to call this API. + +.PARAMETER AccessRequestConfig +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +AccessRequestConfig +#> +function Set-V2024AccessRequestConfig { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${AccessRequestConfig}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Set-V2024AccessRequestConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/access-request-config' + + if (!$AccessRequestConfig) { + throw "Error! The required parameter `AccessRequestConfig` missing when calling setAccessRequestConfig." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($AccessRequestConfig -is [array])) { + $LocalVarBodyParameter = $AccessRequestConfig | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $AccessRequestConfig | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PUT' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "AccessRequestConfig" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024AccountActivitiesApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024AccountActivitiesApi.ps1 new file mode 100644 index 000000000..91ce017e4 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024AccountActivitiesApi.ps1 @@ -0,0 +1,225 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Get an Account Activity + +.DESCRIPTION + +This gets a single account activity by its id. + +.PARAMETER Id +The account activity id + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +AccountActivity +#> +function Get-V2024AccountActivity { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024AccountActivity' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/account-activities/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getAccountActivity." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "AccountActivity" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List Account Activities + +.DESCRIPTION + +This gets a collection of account activities that satisfy the given query parameters. + +.PARAMETER RequestedFor +The identity that the activity was requested for. *me* indicates the current user. Mutually exclusive with *regarding-identity*. + +.PARAMETER RequestedBy +The identity that requested the activity. *me* indicates the current user. Mutually exclusive with *regarding-identity*. + +.PARAMETER RegardingIdentity +The specified identity will be either the requester or target of the account activity. *me* indicates the current user. Mutually exclusive with *requested-for* and *requested-by*. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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: **type**: *eq, in, ge, gt, le, lt, ne, isnull, sw* **created**: *gt, lt, ge, le, eq, in, ne, isnull, sw* **modified**: *gt, lt, ge, le, eq, in, ne, isnull, sw* + +.PARAMETER 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: **type, created, modified** + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +AccountActivity[] +#> +function Get-V2024AccountActivities { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${RequestedFor}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${RequestedBy}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${RegardingIdentity}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024AccountActivities' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/account-activities' + + if ($RequestedFor) { + $LocalVarQueryParameters['requested-for'] = $RequestedFor + } + + if ($RequestedBy) { + $LocalVarQueryParameters['requested-by'] = $RequestedBy + } + + if ($RegardingIdentity) { + $LocalVarQueryParameters['regarding-identity'] = $RegardingIdentity + } + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "AccountActivity[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024AccountAggregationsApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024AccountAggregationsApi.ps1 new file mode 100644 index 000000000..5a64a586c --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024AccountAggregationsApi.ps1 @@ -0,0 +1,92 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +In-progress Account Aggregation status + +.DESCRIPTION + +This API returns the status of an *in-progress* account aggregation, along with the total number of **NEW**, **CHANGED** and **DELETED** accounts found since the previous aggregation, and the number of those accounts that have been processed so far. Accounts that have not changed since the previous aggregation are not included in **totalAccounts** and **processedAccounts** counts returned by this API. This is distinct from **Accounts Scanned** shown in the Aggregation UI, which indicates total accounts scanned regardless of whether they changed or not. Since this endpoint reports on the status of an *in-progress* account aggregation, totalAccounts and processedAccounts may change between calls to this endpoint. *Only available up to an hour after the aggregation completes. May respond with *404 Not Found* after that.* A token with ORG_ADMIN, SOURCE_ADMIN, SOURCE_SUBADMIN or DASHBOARD authority is required to call this API. + +.PARAMETER Id +The account aggregation id + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +AccountAggregationStatus +#> +function Get-V2024AccountAggregationStatus { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024AccountAggregationStatus' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/account-aggregations/{id}/status' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getAccountAggregationStatus." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getAccountAggregationStatus." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "AccountAggregationStatus" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024AccountUsagesApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024AccountUsagesApi.ps1 new file mode 100644 index 000000000..1941df101 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024AccountUsagesApi.ps1 @@ -0,0 +1,121 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Returns account usage insights + +.DESCRIPTION + +This API returns a summary of account usage insights for past 12 months. + +.PARAMETER AccountId +ID of IDN account + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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: **date** + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +AccountUsage[] +#> +function Get-V2024UsagesByAccountId { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${AccountId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024UsagesByAccountId' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/account-usages/{accountId}/summaries' + if (!$AccountId) { + throw "Error! The required parameter `AccountId` missing when calling getUsagesByAccountId." + } + $LocalVarUri = $LocalVarUri.replace('{accountId}', [System.Web.HTTPUtility]::UrlEncode($AccountId)) + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "AccountUsage[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024AccountsApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024AccountsApi.ps1 new file mode 100644 index 000000000..441fc43ed --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024AccountsApi.ps1 @@ -0,0 +1,1494 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Create Account + +.DESCRIPTION + +This API submits an account creation task and returns the task ID. You must include the `sourceId` where the account will be created in the `attributes` object. This endpoint creates an account on the source record in your ISC tenant. This is useful for Flat File (`DelimitedFile`) type sources because it allows you to aggregate new accounts without needing to import a new CSV file every time. However, if you use this endpoint to create an account for a Direct Connection type source, you must ensure that the account also exists on the target source. The endpoint doesn't actually provision the account on the target source, which means that if the account doesn't also exist on the target source, an aggregation between the source and your tenant will remove it from your tenant. A token with ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API. + +.PARAMETER AccountAttributesCreate +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +AccountsAsyncResult +#> +function New-V2024Account { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${AccountAttributesCreate}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: New-V2024Account' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/accounts' + + if (!$AccountAttributesCreate) { + throw "Error! The required parameter `AccountAttributesCreate` missing when calling createAccount." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($AccountAttributesCreate -is [array])) { + $LocalVarBodyParameter = $AccountAttributesCreate | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $AccountAttributesCreate | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "AccountsAsyncResult" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Delete Account + +.DESCRIPTION + +Use this API to delete an account. This endpoint submits an account delete task and returns the task ID. This endpoint only deletes the account from IdentityNow, not the source itself, which can result in the account's returning with the next aggregation between the source and IdentityNow. To avoid this scenario, it is recommended that you [disable accounts](https://developer.sailpoint.com/idn/api/v3/disable-account) rather than delete them. This will also allow you to reenable the accounts in the future. A token with ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API. >**NOTE: You can only delete accounts from sources of the ""DelimitedFile"" type.** + +.PARAMETER Id +Account ID. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +AccountsAsyncResult +#> +function Remove-V2024Account { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024Account' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/accounts/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling deleteAccount." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'DELETE' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "AccountsAsyncResult" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Remove Account + +.DESCRIPTION + +Use this endpoint to remove accounts from the system without provisioning changes to the source. Accounts that are removed could be re-created during the next aggregation. This endpoint is good for: * Removing accounts that no longer exist on the source. * Removing accounts that won't be aggregated following updates to the source configuration. * Forcing accounts to be re-created following the next aggregation to re-run account processing, support testing, etc. + +.PARAMETER Id +The account id + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +TaskResultDto +#> +function Remove-V2024AccountAsync { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024AccountAsync' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/accounts/{id}/remove' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling deleteAccountAsync." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling deleteAccountAsync." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "TaskResultDto" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Disable Account + +.DESCRIPTION + +This API submits a task to disable the account and returns the task ID. A token with ORG_ADMIN, SOURCE_ADMIN, SOURCE_SUBADMIN, or HELPDESK authority is required to call this API. + +.PARAMETER Id +The account id + +.PARAMETER AccountToggleRequest +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +AccountsAsyncResult +#> +function Disable-V2024Account { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${AccountToggleRequest}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Disable-V2024Account' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/accounts/{id}/disable' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling disableAccount." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$AccountToggleRequest) { + throw "Error! The required parameter `AccountToggleRequest` missing when calling disableAccount." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($AccountToggleRequest -is [array])) { + $LocalVarBodyParameter = $AccountToggleRequest | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $AccountToggleRequest | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "AccountsAsyncResult" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Disable IDN Account for Identity + +.DESCRIPTION + +This API submits a task to disable IDN account for a single identity. + +.PARAMETER Id +The identity id. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SystemCollectionsHashtable +#> +function Disable-V2024AccountForIdentity { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Disable-V2024AccountForIdentity' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/identities-accounts/{id}/disable' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling disableAccountForIdentity." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling disableAccountForIdentity." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SystemCollectionsHashtable" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Disable IDN Accounts for Identities + +.DESCRIPTION + +This API submits tasks to disable IDN account for each identity provided in the request body. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER IdentitiesAccountsBulkRequest +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +BulkIdentitiesAccountsResponse[] +#> +function Disable-V2024AccountsForIdentities { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${IdentitiesAccountsBulkRequest}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Disable-V2024AccountsForIdentities' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/identities-accounts/disable' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling disableAccountsForIdentities." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$IdentitiesAccountsBulkRequest) { + throw "Error! The required parameter `IdentitiesAccountsBulkRequest` missing when calling disableAccountsForIdentities." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($IdentitiesAccountsBulkRequest -is [array])) { + $LocalVarBodyParameter = $IdentitiesAccountsBulkRequest | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $IdentitiesAccountsBulkRequest | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "BulkIdentitiesAccountsResponse[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Enable Account + +.DESCRIPTION + +This API submits a task to enable account and returns the task ID. A token with ORG_ADMIN, SOURCE_ADMIN, SOURCE_SUBADMIN, or HELPDESK authority is required to call this API. + +.PARAMETER Id +The account id + +.PARAMETER AccountToggleRequest +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +AccountsAsyncResult +#> +function Enable-V2024Account { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${AccountToggleRequest}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Enable-V2024Account' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/accounts/{id}/enable' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling enableAccount." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$AccountToggleRequest) { + throw "Error! The required parameter `AccountToggleRequest` missing when calling enableAccount." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($AccountToggleRequest -is [array])) { + $LocalVarBodyParameter = $AccountToggleRequest | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $AccountToggleRequest | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "AccountsAsyncResult" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Enable IDN Account for Identity + +.DESCRIPTION + +This API submits a task to enable IDN account for a single identity. + +.PARAMETER Id +The identity id. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SystemCollectionsHashtable +#> +function Enable-V2024AccountForIdentity { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Enable-V2024AccountForIdentity' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/identities-accounts/{id}/enable' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling enableAccountForIdentity." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling enableAccountForIdentity." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SystemCollectionsHashtable" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Enable IDN Accounts for Identities + +.DESCRIPTION + +This API submits tasks to enable IDN account for each identity provided in the request body. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER IdentitiesAccountsBulkRequest +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +BulkIdentitiesAccountsResponse[] +#> +function Enable-V2024AccountsForIdentities { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${IdentitiesAccountsBulkRequest}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Enable-V2024AccountsForIdentities' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/identities-accounts/enable' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling enableAccountsForIdentities." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$IdentitiesAccountsBulkRequest) { + throw "Error! The required parameter `IdentitiesAccountsBulkRequest` missing when calling enableAccountsForIdentities." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($IdentitiesAccountsBulkRequest -is [array])) { + $LocalVarBodyParameter = $IdentitiesAccountsBulkRequest | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $IdentitiesAccountsBulkRequest | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "BulkIdentitiesAccountsResponse[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Account Details + +.DESCRIPTION + +Use this API to return the details for a single account by its ID. A token with ORG_ADMIN, SOURCE_ADMIN, SOURCE_SUBADMIN, or HELPDESK authority is required to call this API. + +.PARAMETER Id +Account ID. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +Account +#> +function Get-V2024Account { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024Account' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/accounts/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getAccount." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "Account" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Account Entitlements + +.DESCRIPTION + +This API returns entitlements of the account. A token with ORG_ADMIN, SOURCE_ADMIN, SOURCE_SUBADMIN, or HELPDESK authority is required to call this API. + +.PARAMETER Id +The account id + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +EntitlementDto[] +#> +function Get-V2024AccountEntitlements { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024AccountEntitlements' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/accounts/{id}/entitlements' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getAccountEntitlements." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "EntitlementDto[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Accounts List + +.DESCRIPTION + +This returns a list of accounts. A token with ORG_ADMIN, SOURCE_ADMIN, SOURCE_SUBADMIN, or HELPDESK authority is required to call this API. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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, sw* **identityId**: *eq, in, sw* **name**: *eq, in, sw* **nativeIdentity**: *eq, in, sw* **sourceId**: *eq, in, sw* **uncorrelated**: *eq* **entitlements**: *eq* **origin**: *eq, in* **manuallyCorrelated**: *eq* **identity.name**: *eq, in, sw* **identity.correlated**: *eq* **identity.identityState**: *eq, in* **source.displayableName**: *eq, in* **source.authoritative**: *eq* **source.connectionType**: *eq, in* + +.PARAMETER 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, created, modified, sourceId, identityId, identity.id, nativeIdentity, uuid, manuallyCorrelated, entitlements, origin, identity.name, identity.identityState, identity.correlated, source.displayableName, source.authoritative, source.connectionType** + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +Account[] +#> +function Get-V2024Accounts { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024Accounts' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/accounts' + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "Account[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Update Account + +.DESCRIPTION + +Use this API to update an account with a PUT request. This endpoint submits an account update task and returns the task ID. A token with ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API. >**NOTE: You can only use this PUT endpoint to update accounts from sources of the ""DelimitedFile"" type.** + +.PARAMETER Id +Account ID. + +.PARAMETER AccountAttributes +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +AccountsAsyncResult +#> +function Send-V2024Account { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${AccountAttributes}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Send-V2024Account' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/accounts/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling putAccount." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$AccountAttributes) { + throw "Error! The required parameter `AccountAttributes` missing when calling putAccount." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($AccountAttributes -is [array])) { + $LocalVarBodyParameter = $AccountAttributes | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $AccountAttributes | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PUT' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "AccountsAsyncResult" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Reload Account + +.DESCRIPTION + +This API asynchronously reloads the account directly from the connector and performs a one-time aggregation process. A token with ORG_ADMIN, SOURCE_ADMIN, SOURCE_SUBADMIN, or HELPDESK authority is required to call this API. + +.PARAMETER Id +The account id + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +AccountsAsyncResult +#> +function Submit-V2024ReloadAccount { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Submit-V2024ReloadAccount' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/accounts/{id}/reload' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling submitReloadAccount." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "AccountsAsyncResult" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Unlock Account + +.DESCRIPTION + +This API submits a task to unlock an account and returns the task ID. To use this endpoint to unlock an account that has the `forceProvisioning` option set to true, the `idn:accounts-provisioning:manage` scope is required. A token with ORG_ADMIN, SOURCE_ADMIN, SOURCE_SUBADMIN, or HELPDESK authority is required to call this API. + +.PARAMETER Id +The account ID. + +.PARAMETER AccountUnlockRequest +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +AccountsAsyncResult +#> +function Unlock-V2024Account { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${AccountUnlockRequest}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Unlock-V2024Account' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/accounts/{id}/unlock' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling unlockAccount." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$AccountUnlockRequest) { + throw "Error! The required parameter `AccountUnlockRequest` missing when calling unlockAccount." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($AccountUnlockRequest -is [array])) { + $LocalVarBodyParameter = $AccountUnlockRequest | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $AccountUnlockRequest | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "AccountsAsyncResult" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Update Account + +.DESCRIPTION + +Use this API to update account details. A token with ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API. This API supports updating an account's correlation. You can modify only the `identityId` and `manuallyCorrelated` fields for any flat file account. To reassign an account from one identity to another, replace the current `identityId` with a new value. If the account you're assigning was provisioned by Identity Security Cloud (ISC), it's possible for ISC to create a new account for the previous identity as soon as the account is moved. If the account you're assigning is authoritative, this causes the previous identity to become uncorrelated and can even result in its deletion. All accounts that are reassigned will be set to `manuallyCorrelated: true` unless you specify otherwise. >**Note:** The `attributes` field can only be modified for flat file accounts. + +.PARAMETER Id +Account ID. + +.PARAMETER RequestBody +A list of account update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SystemCollectionsHashtable +#> +function Update-V2024Account { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject[]] + ${RequestBody}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Update-V2024Account' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json-patch+json') + + $LocalVarUri = '/accounts/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling updateAccount." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$RequestBody) { + throw "Error! The required parameter `RequestBody` missing when calling updateAccount." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($RequestBody -is [array])) { + $LocalVarBodyParameter = $RequestBody | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $RequestBody | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PATCH' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SystemCollectionsHashtable" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024ApplicationDiscoveryApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024ApplicationDiscoveryApi.ps1 new file mode 100644 index 000000000..2583fffaa --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024ApplicationDiscoveryApi.ps1 @@ -0,0 +1,329 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Retrieve discovered applications for tenant + +.DESCRIPTION + +Fetches a list of applications that have been identified within the environment. This includes details such as application names, discovery dates, potential correlated saas_vendors and related suggested connectors. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER Filter +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: **name**: *eq, sw, co* **description**: *eq, sw, co* + +.PARAMETER 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: **name, description, discoveredAt, discoverySource** + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +Array[] +#> +function Get-V2024DiscoveredApplications { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filter}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024DiscoveredApplications' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/discovered-applications' + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Filter) { + $LocalVarQueryParameters['filter'] = $Filter + } + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "Array[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +CSV template download for discovery + +.DESCRIPTION + +This endpoint allows the user to download an example CSV file with two columns `application_name` and `description`. The CSV file contains a single row with the values 'Example Application' and 'Example Description'. The downloaded template is specifically designed for use with the `/manual-discover-applications` endpoint. + +.PARAMETER ReturnType + +Select the return type (optional): text/csv, application/json + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ManualDiscoverApplicationsTemplate +#> +function Get-V2024ManualDiscoverApplicationsCsvTemplate { + [CmdletBinding()] + Param ( + [String] + [ValidateSet("text/csv", "application/json")] + $ReturnType, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024ManualDiscoverApplicationsCsvTemplate' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('text/csv', 'application/json') + + if ($ReturnType) { + # use the return type (MIME) provided by the user + $LocalVarAccepts = @($ReturnType) + } + + $LocalVarUri = '/manual-discover-applications-template' + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ManualDiscoverApplicationsTemplate" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List vendor connector mappings + +.DESCRIPTION + +Retrieves a list of mappings between SaaS vendors and IDN connectors, detailing the connections established for correlation. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +VendorConnectorMapping[] +#> +function Get-V2024VendorConnectorMappings { + [CmdletBinding()] + Param ( + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024VendorConnectorMappings' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/vendor-connector-mappings' + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "VendorConnectorMapping[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +CSV Upload to discover applications + +.DESCRIPTION + +This endpoint supports uploading a CSV file with application data for manual correlation to specific IDN connectors. If a suitable IDN connector is unavailable, the system will recommend generic connectors instead. + +.PARAMETER File +The CSV file to upload containing `application_name` and `description` columns. Each row represents an application to be discovered. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Send-V2024ManualDiscoverApplicationsCsvTemplate { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.IO.FileInfo] + ${File}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Send-V2024ManualDiscoverApplicationsCsvTemplate' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('multipart/form-data') + + $LocalVarUri = '/manual-discover-applications' + + if (!$File) { + throw "Error! The required parameter `File` missing when calling sendManualDiscoverApplicationsCsvTemplate." + } + $LocalVarFormParameters['file'] = $File + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024ApprovalsApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024ApprovalsApi.ps1 new file mode 100644 index 000000000..ed03c2a35 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024ApprovalsApi.ps1 @@ -0,0 +1,298 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Get an approval + +.DESCRIPTION + +Retrieve a single approval for a given approval ID. This endpoint is for generic approvals, different than the access-request-approval endpoint and does not include access-request-approvals. + +.PARAMETER Id +ID of the approval that is to be returned + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +Approval +#> +function Get-V2024Approval { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024Approval' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/generic-approvals/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getApproval." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getApproval." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "Approval" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get Approvals + +.DESCRIPTION + +Retrieve a list of approvals, which can be filtered by requester ID, status, or reference type. ""Mine"" query parameter can be used and it will return all approvals for the current approver. This endpoint is for generic approvals, different than the access-request-approval endpoint and does not include access-request-approvals. Absence of all query parameters will will default to mine=true. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER Mine +Returns the list of approvals for the current caller + +.PARAMETER RequesterId +Returns the list of approvals for a given requester ID + +.PARAMETER 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: **status**: *eq* **referenceType**: *eq* + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +Approval[] +#> +function Get-V2024Approvals { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Mine}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${RequesterId}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024Approvals' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/generic-approvals' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getApprovals." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($Mine) { + $LocalVarQueryParameters['mine'] = $Mine + } + + if ($RequesterId) { + $LocalVarQueryParameters['requesterId'] = $RequesterId + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "Approval[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Change an approval + +.DESCRIPTION + +Change the values of a given approval + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER ApprovalDto +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +Approval +#> +function Update-V2024Approval { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${ApprovalDto}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Update-V2024Approval' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/generic-approvals/{id}' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling patchApproval." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$ApprovalDto) { + throw "Error! The required parameter `ApprovalDto` missing when calling patchApproval." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($ApprovalDto -is [array])) { + $LocalVarBodyParameter = $ApprovalDto | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $ApprovalDto | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PATCH' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "Approval" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024AuthProfileApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024AuthProfileApi.ps1 new file mode 100644 index 000000000..47710e539 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024AuthProfileApi.ps1 @@ -0,0 +1,268 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Get Auth Profile. + +.DESCRIPTION + +This API returns auth profile information. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +AuthProfile +#> +function Get-V2024ProfileConfig { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024ProfileConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/auth-profiles/{id}' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getProfileConfig." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "AuthProfile" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get list of Auth Profiles. + +.DESCRIPTION + +This API returns a list of auth profiles. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +AuthProfileSummary +#> +function Get-V2024ProfileConfigList { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024ProfileConfigList' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/auth-profiles' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getProfileConfigList." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "AuthProfileSummary" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Patch a specified Auth Profile + +.DESCRIPTION + +This API updates an existing Auth Profile. The following fields are patchable: **offNetwork**, **untrustedGeography**, **applicationId**, **applicationName**, **type** + +.PARAMETER Id +ID of the Auth Profile to patch. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER JsonPatchOperation +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +AuthProfile +#> +function Update-V2024ProfileConfig { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject[]] + ${JsonPatchOperation}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Update-V2024ProfileConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json-patch+json') + + $LocalVarUri = '/auth-profiles/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling patchProfileConfig." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling patchProfileConfig." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$JsonPatchOperation) { + throw "Error! The required parameter `JsonPatchOperation` missing when calling patchProfileConfig." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($JsonPatchOperation -is [array])) { + $LocalVarBodyParameter = $JsonPatchOperation | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $JsonPatchOperation | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PATCH' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "AuthProfile" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024AuthUsersApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024AuthUsersApi.ps1 new file mode 100644 index 000000000..12b54d21e --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024AuthUsersApi.ps1 @@ -0,0 +1,181 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Auth User Details + +.DESCRIPTION + +Return the specified user's authentication system details. + +.PARAMETER Id +Identity ID + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +AuthUser +#> +function Get-V2024AuthUser { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024AuthUser' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/auth-users/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getAuthUser." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "AuthUser" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Auth User Update + +.DESCRIPTION + +Use a PATCH request to update an existing user in the authentication system. Use this endpoint to modify these fields: * `capabilities` A '400.1.1 Illegal update attempt' detail code indicates that you attempted to PATCH a field that is not allowed. + +.PARAMETER Id +Identity ID + +.PARAMETER JsonPatchOperation +A list of auth user update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +AuthUser +#> +function Update-V2024AuthUser { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject[]] + ${JsonPatchOperation}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Update-V2024AuthUser' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json-patch+json') + + $LocalVarUri = '/auth-users/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling patchAuthUser." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$JsonPatchOperation) { + throw "Error! The required parameter `JsonPatchOperation` missing when calling patchAuthUser." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($JsonPatchOperation -is [array])) { + $LocalVarBodyParameter = $JsonPatchOperation | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $JsonPatchOperation | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PATCH' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "AuthUser" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024BrandingApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024BrandingApi.ps1 new file mode 100644 index 000000000..4fa65b6ba --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024BrandingApi.ps1 @@ -0,0 +1,517 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Create a branding item + +.DESCRIPTION + +This API endpoint creates a branding item. A token with API, ORG_ADMIN authority is required to call this API. + +.PARAMETER Name +name of branding item + +.PARAMETER ProductName +product name + +.PARAMETER ActionButtonColor +hex value of color for action button + +.PARAMETER ActiveLinkColor +hex value of color for link + +.PARAMETER NavigationColor +hex value of color for navigation bar + +.PARAMETER EmailFromAddress +email from address + +.PARAMETER LoginInformationalMessage +login information message + +.PARAMETER FileStandard +png file with logo + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +BrandingItem +#> +function New-V2024BrandingItem { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Name}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${ProductName}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${ActionButtonColor}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${ActiveLinkColor}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${NavigationColor}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${EmailFromAddress}, + [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${LoginInformationalMessage}, + [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.IO.FileInfo] + ${FileStandard}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: New-V2024BrandingItem' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('multipart/form-data') + + $LocalVarUri = '/brandings' + + if (!$Name) { + throw "Error! The required parameter `Name` missing when calling createBrandingItem." + } + $LocalVarFormParameters['name'] = $Name + + if ($ActionButtonColor) { + $LocalVarFormParameters['actionButtonColor'] = $ActionButtonColor + } + + if ($ActiveLinkColor) { + $LocalVarFormParameters['activeLinkColor'] = $ActiveLinkColor + } + + if ($NavigationColor) { + $LocalVarFormParameters['navigationColor'] = $NavigationColor + } + + if ($EmailFromAddress) { + $LocalVarFormParameters['emailFromAddress'] = $EmailFromAddress + } + + if ($LoginInformationalMessage) { + $LocalVarFormParameters['loginInformationalMessage'] = $LoginInformationalMessage + } + + if ($FileStandard) { + $LocalVarFormParameters['fileStandard'] = $FileStandard + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "BrandingItem" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Delete a branding item + +.DESCRIPTION + +This API endpoint delete information for an existing branding item by name. A token with API, ORG_ADMIN authority is required to call this API. + +.PARAMETER Name +The name of the branding item to be deleted + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Remove-V2024Branding { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Name}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024Branding' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/brandings/{name}' + if (!$Name) { + throw "Error! The required parameter `Name` missing when calling deleteBranding." + } + $LocalVarUri = $LocalVarUri.replace('{name}', [System.Web.HTTPUtility]::UrlEncode($Name)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'DELETE' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get a branding item + +.DESCRIPTION + +This API endpoint retrieves information for an existing branding item by name. A token with API, ORG_ADMIN authority is required to call this API. + +.PARAMETER Name +The name of the branding item to be retrieved + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +BrandingItem +#> +function Get-V2024Branding { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Name}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024Branding' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/brandings/{name}' + if (!$Name) { + throw "Error! The required parameter `Name` missing when calling getBranding." + } + $LocalVarUri = $LocalVarUri.replace('{name}', [System.Web.HTTPUtility]::UrlEncode($Name)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "BrandingItem" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List of branding items + +.DESCRIPTION + +This API endpoint returns a list of branding items. A token with API, ORG_ADMIN authority is required to call this API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +BrandingItem[] +#> +function Get-V2024BrandingList { + [CmdletBinding()] + Param ( + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024BrandingList' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/brandings' + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "BrandingItem[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Update a branding item + +.DESCRIPTION + +This API endpoint updates information for an existing branding item. A token with API, ORG_ADMIN authority is required to call this API. + +.PARAMETER Name +The name of the branding item to be retrieved + +.PARAMETER Name2 +name of branding item + +.PARAMETER ProductName +product name + +.PARAMETER ActionButtonColor +hex value of color for action button + +.PARAMETER ActiveLinkColor +hex value of color for link + +.PARAMETER NavigationColor +hex value of color for navigation bar + +.PARAMETER EmailFromAddress +email from address + +.PARAMETER LoginInformationalMessage +login information message + +.PARAMETER FileStandard +png file with logo + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +BrandingItem +#> +function Set-V2024BrandingItem { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Name}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Name2}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${ProductName}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${ActionButtonColor}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${ActiveLinkColor}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${NavigationColor}, + [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${EmailFromAddress}, + [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${LoginInformationalMessage}, + [Parameter(Position = 8, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.IO.FileInfo] + ${FileStandard}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Set-V2024BrandingItem' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('multipart/form-data') + + $LocalVarUri = '/brandings/{name}' + if (!$Name) { + throw "Error! The required parameter `Name` missing when calling setBrandingItem." + } + $LocalVarUri = $LocalVarUri.replace('{name}', [System.Web.HTTPUtility]::UrlEncode($Name)) + + if (!$Name2) { + throw "Error! The required parameter `Name2` missing when calling setBrandingItem." + } + $LocalVarFormParameters['name'] = $Name2 + + if ($ActionButtonColor) { + $LocalVarFormParameters['actionButtonColor'] = $ActionButtonColor + } + + if ($ActiveLinkColor) { + $LocalVarFormParameters['activeLinkColor'] = $ActiveLinkColor + } + + if ($NavigationColor) { + $LocalVarFormParameters['navigationColor'] = $NavigationColor + } + + if ($EmailFromAddress) { + $LocalVarFormParameters['emailFromAddress'] = $EmailFromAddress + } + + if ($LoginInformationalMessage) { + $LocalVarFormParameters['loginInformationalMessage'] = $LoginInformationalMessage + } + + if ($FileStandard) { + $LocalVarFormParameters['fileStandard'] = $FileStandard + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PUT' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "BrandingItem" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024CertificationCampaignFiltersApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024CertificationCampaignFiltersApi.ps1 new file mode 100644 index 000000000..81b551bd1 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024CertificationCampaignFiltersApi.ps1 @@ -0,0 +1,455 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Create Campaign Filter + +.DESCRIPTION + +Use this API to create a campaign filter based on filter details and criteria. + +.PARAMETER CampaignFilterDetails +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +CampaignFilterDetails +#> +function New-V2024CampaignFilter { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${CampaignFilterDetails}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: New-V2024CampaignFilter' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/campaign-filters' + + if (!$CampaignFilterDetails) { + throw "Error! The required parameter `CampaignFilterDetails` missing when calling createCampaignFilter." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($CampaignFilterDetails -is [array])) { + $LocalVarBodyParameter = $CampaignFilterDetails | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $CampaignFilterDetails | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "CampaignFilterDetails" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Deletes Campaign Filters + +.DESCRIPTION + +Deletes campaign filters whose Ids are specified in the provided list of campaign filter Ids. Authorized callers must be an ORG_ADMIN or a CERT_ADMIN. + +.PARAMETER RequestBody +A json list of IDs of campaign filters to delete. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Remove-V2024CampaignFilters { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String[]] + ${RequestBody}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024CampaignFilters' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/campaign-filters/delete' + + if (!$RequestBody) { + throw "Error! The required parameter `RequestBody` missing when calling deleteCampaignFilters." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($RequestBody -is [array])) { + $LocalVarBodyParameter = $RequestBody | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $RequestBody | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get Campaign Filter by ID + +.DESCRIPTION + +Retrieves information for an existing campaign filter using the filter's ID. + +.PARAMETER FilterId +The ID of the campaign filter to be retrieved. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +CampaignFilterDetails[] +#> +function Get-V2024CampaignFilterById { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${FilterId}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024CampaignFilterById' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/campaign-filters/{id}' + if (!$FilterId) { + throw "Error! The required parameter `FilterId` missing when calling getCampaignFilterById." + } + $LocalVarUri = $LocalVarUri.replace('{filterId}', [System.Web.HTTPUtility]::UrlEncode($FilterId)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "CampaignFilterDetails[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List Campaign Filters + +.DESCRIPTION + +Use this API to list all campaign filters. You can reduce scope with standard V3 query parameters. + +.PARAMETER 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. + +.PARAMETER Start +Start/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. + +.PARAMETER IncludeSystemFilters +If this is true, the API includes system filters in the count and results. Otherwise it excludes them. If no value is provided, the default is true. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ListCampaignFilters200Response +#> +function Get-V2024CampaignFilters { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Start}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${IncludeSystemFilters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024CampaignFilters' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/campaign-filters' + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Start) { + $LocalVarQueryParameters['start'] = $Start + } + + if ($IncludeSystemFilters) { + $LocalVarQueryParameters['includeSystemFilters'] = $IncludeSystemFilters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ListCampaignFilters200Response" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Updates a Campaign Filter + +.DESCRIPTION + +Updates an existing campaign filter using the filter's ID. + +.PARAMETER FilterId +The ID of the campaign filter being modified. + +.PARAMETER CampaignFilterDetails +A campaign filter details with updated field values. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +CampaignFilterDetails +#> +function Update-V2024CampaignFilter { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${FilterId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${CampaignFilterDetails}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Update-V2024CampaignFilter' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/campaign-filters/{id}' + if (!$FilterId) { + throw "Error! The required parameter `FilterId` missing when calling updateCampaignFilter." + } + $LocalVarUri = $LocalVarUri.replace('{filterId}', [System.Web.HTTPUtility]::UrlEncode($FilterId)) + + if (!$CampaignFilterDetails) { + throw "Error! The required parameter `CampaignFilterDetails` missing when calling updateCampaignFilter." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($CampaignFilterDetails -is [array])) { + $LocalVarBodyParameter = $CampaignFilterDetails | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $CampaignFilterDetails | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "CampaignFilterDetails" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024CertificationCampaignsApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024CertificationCampaignsApi.ps1 new file mode 100644 index 000000000..0a5cd8b0c --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024CertificationCampaignsApi.ps1 @@ -0,0 +1,1948 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Complete a Campaign + +.DESCRIPTION + +:::caution This endpoint will run successfully for any campaigns that are **past due**. This endpoint will return a content error if the campaign is **not past due**. ::: Use this API to complete a certification campaign. This functionality is provided to admins so that they can complete a certification even if all items have not been completed. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. + +.PARAMETER Id +Campaign ID. + +.PARAMETER CampaignCompleteOptions +Optional. Default behavior is for the campaign to auto-approve upon completion, unless autoCompleteAction=REVOKE + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SystemCollectionsHashtable +#> +function Complete-V2024Campaign { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${CampaignCompleteOptions}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Complete-V2024Campaign' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/campaigns/{id}/complete' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling completeCampaign." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($CampaignCompleteOptions -is [array])) { + $LocalVarBodyParameter = $CampaignCompleteOptions | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $CampaignCompleteOptions | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SystemCollectionsHashtable" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Create a campaign + +.DESCRIPTION + +Use this API to create a certification campaign with the information provided in the request body. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. + +.PARAMETER Campaign +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +Campaign +#> +function New-V2024Campaign { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${Campaign}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: New-V2024Campaign' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/campaigns' + + if (!$Campaign) { + throw "Error! The required parameter `Campaign` missing when calling createCampaign." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($Campaign -is [array])) { + $LocalVarBodyParameter = $Campaign | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $Campaign | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "Campaign" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Create a Campaign Template + +.DESCRIPTION + +Use this API to create a certification campaign template based on campaign. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. + +.PARAMETER CampaignTemplate +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +CampaignTemplate +#> +function New-V2024CampaignTemplate { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${CampaignTemplate}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: New-V2024CampaignTemplate' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/campaign-templates' + + if (!$CampaignTemplate) { + throw "Error! The required parameter `CampaignTemplate` missing when calling createCampaignTemplate." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($CampaignTemplate -is [array])) { + $LocalVarBodyParameter = $CampaignTemplate | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $CampaignTemplate | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "CampaignTemplate" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Delete a Campaign Template + +.DESCRIPTION + +Use this API to delete a certification campaign template by ID. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. + +.PARAMETER Id +ID of the campaign template being deleted. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Remove-V2024CampaignTemplate { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024CampaignTemplate' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/campaign-templates/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling deleteCampaignTemplate." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'DELETE' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Delete Campaign Template Schedule + +.DESCRIPTION + +Use this API to delete the schedule for a certification campaign template. The API returns a 404 if there is no schedule set. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. + +.PARAMETER Id +ID of the campaign template whose schedule is being deleted. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Remove-V2024CampaignTemplateSchedule { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024CampaignTemplateSchedule' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/campaign-templates/{id}/schedule' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling deleteCampaignTemplateSchedule." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'DELETE' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Delete Campaigns + +.DESCRIPTION + +Use this API to delete certification campaigns whose IDs are specified in the provided list of campaign IDs. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. + +.PARAMETER CampaignsDeleteRequest +IDs of the campaigns to delete. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SystemCollectionsHashtable +#> +function Remove-V2024Campaigns { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${CampaignsDeleteRequest}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024Campaigns' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/campaigns/delete' + + if (!$CampaignsDeleteRequest) { + throw "Error! The required parameter `CampaignsDeleteRequest` missing when calling deleteCampaigns." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($CampaignsDeleteRequest -is [array])) { + $LocalVarBodyParameter = $CampaignsDeleteRequest | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $CampaignsDeleteRequest | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SystemCollectionsHashtable" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List Campaigns + +.DESCRIPTION + +Use this API to get a list of campaigns. This API can provide increased level of detail for each campaign for the correct provided query. A token with ORG_ADMIN, CERT_ADMIN or REPORT_ADMIN authority is required to call this API. + +.PARAMETER Detail +Determines whether slim, or increased level of detail is provided for each campaign in the returned list. Slim is the default behavior. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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* **status**: *eq, in* + +.PARAMETER 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: **name, created** + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +GetActiveCampaigns200ResponseInner[] +#> +function Get-V2024ActiveCampaigns { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [ValidateSet("SLIM", "FULL")] + [String] + ${Detail}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024ActiveCampaigns' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/campaigns' + + if ($Detail) { + $LocalVarQueryParameters['detail'] = $Detail + } + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "GetActiveCampaigns200ResponseInner[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get Campaign + +.DESCRIPTION + +Use this API to get information for an existing certification campaign by the campaign's ID. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. + +.PARAMETER Id +ID of the campaign to be retrieved. + +.PARAMETER Detail +Determines whether slim, or increased level of detail is provided for each campaign in the returned list. Slim is the default behavior. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +GetActiveCampaigns200ResponseInner +#> +function Get-V2024Campaign { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [ValidateSet("SLIM", "FULL")] + [String] + ${Detail}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024Campaign' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/campaigns/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getCampaign." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if ($Detail) { + $LocalVarQueryParameters['detail'] = $Detail + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "GetActiveCampaigns200ResponseInner" ` + -IsBodyNullable $false + + # process oneOf response + $LocalVarResult["Response"] = ConvertFrom-V2024JsonToGetActiveCampaigns200ResponseInner (ConvertTo-Json $LocalVarResult["Response"] -Depth 100) + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get Campaign Reports + +.DESCRIPTION + +Use this API to fetch all reports for a certification campaign by campaign ID. A token with ORG_ADMIN, CERT_ADMIN or REPORT_ADMIN authority is required to call this API. + +.PARAMETER Id +ID of the campaign whose reports are being fetched. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +CampaignReport[] +#> +function Get-V2024CampaignReports { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024CampaignReports' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/campaigns/{id}/reports' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getCampaignReports." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "CampaignReport[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get Campaign Reports Configuration + +.DESCRIPTION + +Use this API to fetch the configuration for certification campaign reports. The configuration includes only one element - identity attributes defined as custom report columns. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +CampaignReportsConfig +#> +function Get-V2024CampaignReportsConfig { + [CmdletBinding()] + Param ( + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024CampaignReportsConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/campaigns/reports-configuration' + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "CampaignReportsConfig" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get a Campaign Template + +.DESCRIPTION + +Use this API to fetch a certification campaign template by ID. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. + +.PARAMETER Id +Requested campaign template's ID. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +CampaignTemplate +#> +function Get-V2024CampaignTemplate { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024CampaignTemplate' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/campaign-templates/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getCampaignTemplate." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "CampaignTemplate" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get Campaign Template Schedule + +.DESCRIPTION + +Use this API to get the schedule for a certification campaign template. The API returns a 404 if there is no schedule set. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. + +.PARAMETER Id +ID of the campaign template whose schedule is being fetched. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +Schedule +#> +function Get-V2024CampaignTemplateSchedule { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024CampaignTemplateSchedule' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/campaign-templates/{id}/schedule' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getCampaignTemplateSchedule." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "Schedule" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List Campaign Templates + +.DESCRIPTION + +Use this API to get a list of all campaign templates. Scope can be reduced through standard V3 query params. The API returns all campaign templates matching the query parameters. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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: **name, created, modified** + +.PARAMETER 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: **name**: *eq, ge, gt, in, le, lt, ne, sw* **id**: *eq, ge, gt, in, le, lt, ne, sw* + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +CampaignTemplate[] +#> +function Get-V2024CampaignTemplates { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024CampaignTemplates' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/campaign-templates' + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "CampaignTemplate[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Reassign Certifications + +.DESCRIPTION + +This API reassigns the specified certifications from one identity to another. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. + +.PARAMETER Id +The certification campaign ID + +.PARAMETER AdminReviewReassign +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +CertificationTask +#> +function Move-V2024 { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${AdminReviewReassign}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Move-V2024' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/campaigns/{id}/reassign' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling move." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$AdminReviewReassign) { + throw "Error! The required parameter `AdminReviewReassign` missing when calling move." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($AdminReviewReassign -is [array])) { + $LocalVarBodyParameter = $AdminReviewReassign | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $AdminReviewReassign | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "CertificationTask" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Update a Campaign Template + +.DESCRIPTION + +Use this API to update individual fields on a certification campaign template, using the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. + +.PARAMETER Id +ID of the campaign template being modified. + +.PARAMETER JsonPatchOperation +A list of campaign update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. The following fields are patchable: * name * description * deadlineDuration * campaign (all fields that are allowed during create) + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +CampaignTemplate +#> +function Update-V2024CampaignTemplate { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject[]] + ${JsonPatchOperation}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Update-V2024CampaignTemplate' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json-patch+json') + + $LocalVarUri = '/campaign-templates/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling patchCampaignTemplate." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$JsonPatchOperation) { + throw "Error! The required parameter `JsonPatchOperation` missing when calling patchCampaignTemplate." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($JsonPatchOperation -is [array])) { + $LocalVarBodyParameter = $JsonPatchOperation | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $JsonPatchOperation | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PATCH' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "CampaignTemplate" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Set Campaign Reports Configuration + +.DESCRIPTION + +Use this API to overwrite the configuration for campaign reports. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. + +.PARAMETER CampaignReportsConfig +Campaign report configuration. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +CampaignReportsConfig +#> +function Set-V2024CampaignReportsConfig { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${CampaignReportsConfig}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Set-V2024CampaignReportsConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/campaigns/reports-configuration' + + if (!$CampaignReportsConfig) { + throw "Error! The required parameter `CampaignReportsConfig` missing when calling setCampaignReportsConfig." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($CampaignReportsConfig -is [array])) { + $LocalVarBodyParameter = $CampaignReportsConfig | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $CampaignReportsConfig | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PUT' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "CampaignReportsConfig" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Set Campaign Template Schedule + +.DESCRIPTION + +Use this API to set the schedule for a certification campaign template. If a schedule already exists, the API overwrites it with the new one. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. + +.PARAMETER Id +ID of the campaign template being scheduled. + +.PARAMETER Schedule +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Set-V2024CampaignTemplateSchedule { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${Schedule}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Set-V2024CampaignTemplateSchedule' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/campaign-templates/{id}/schedule' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling setCampaignTemplateSchedule." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($Schedule -is [array])) { + $LocalVarBodyParameter = $Schedule | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $Schedule | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PUT' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Activate a Campaign + +.DESCRIPTION + +Use this API to submit a job to activate the certified campaign with the specified ID. The campaign must be staged. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. + +.PARAMETER Id +Campaign ID. + +.PARAMETER ActivateCampaignOptions +Optional. If no timezone is specified, the standard UTC timezone is used (i.e. UTC+00:00). Although this can take any timezone, the intended value is the caller's timezone. The activation time calculated from the given timezone may cause the campaign deadline time to be modified, but it will remain within the original date. The timezone must be in a valid ISO 8601 format. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SystemCollectionsHashtable +#> +function Start-V2024Campaign { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${ActivateCampaignOptions}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Start-V2024Campaign' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/campaigns/{id}/activate' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling startCampaign." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($ActivateCampaignOptions -is [array])) { + $LocalVarBodyParameter = $ActivateCampaignOptions | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $ActivateCampaignOptions | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SystemCollectionsHashtable" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Run Campaign Remediation Scan + +.DESCRIPTION + +Use this API to run a remediation scan task for a certification campaign. A token with ORG_ADMIN, CERT_ADMIN or REPORT_ADMIN authority is required to call this API. + +.PARAMETER Id +ID of the campaign the remediation scan is being run for. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SystemCollectionsHashtable +#> +function Start-V2024CampaignRemediationScan { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Start-V2024CampaignRemediationScan' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/campaigns/{id}/run-remediation-scan' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling startCampaignRemediationScan." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SystemCollectionsHashtable" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Run Campaign Report + +.DESCRIPTION + +Use this API to run a report for a certification campaign. A token with ORG_ADMIN, CERT_ADMIN or REPORT_ADMIN authority is required to call this API. + +.PARAMETER Id +ID of the campaign the report is being run for. + +.PARAMETER Type +Type of the report to run. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SystemCollectionsHashtable +#> +function Start-V2024CampaignReport { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${Type}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Start-V2024CampaignReport' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/campaigns/{id}/run-report/{type}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling startCampaignReport." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + if (!$Type) { + throw "Error! The required parameter `Type` missing when calling startCampaignReport." + } + $LocalVarUri = $LocalVarUri.replace('{type}', [System.Web.HTTPUtility]::UrlEncode($Type)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SystemCollectionsHashtable" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Generate a Campaign from Template + +.DESCRIPTION + +Use this API to generate a new certification campaign from a campaign template. The campaign object contained in the template has special formatting applied to its name and description fields that determine the generated campaign's name/description. Placeholders in those fields are formatted with the current date and time upon generation. Placeholders consist of a percent sign followed by a letter indicating what should be inserted. For example, ""%Y"" inserts the current year, and a campaign template named ""Campaign for %y"" generates a campaign called ""Campaign for 2020"" (assuming the year at generation time is 2020). Valid placeholders are the date/time conversion suffix characters supported by [java.util.Formatter](https://docs.oracle.com/javase/8/docs/api/java/util/Formatter.html). A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. + +.PARAMETER Id +ID of the campaign template to use for generation. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +CampaignReference +#> +function Start-V2024GenerateCampaignTemplate { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Start-V2024GenerateCampaignTemplate' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/campaign-templates/{id}/generate' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling startGenerateCampaignTemplate." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "CampaignReference" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Update a Campaign + +.DESCRIPTION + +Use this API to update individual fields on a certification campaign, using the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. + +.PARAMETER Id +ID of the campaign template being modified. + +.PARAMETER JsonPatchOperation +A list of campaign update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. The fields that can be patched differ based on the status of the campaign. When the campaign is in the *STAGED* status, you can patch these fields: * name * description * recommendationsEnabled * deadline * emailNotificationEnabled * autoRevokeAllowed When the campaign is in the *ACTIVE* status, you can patch these fields: * deadline + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SlimCampaign +#> +function Update-V2024Campaign { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject[]] + ${JsonPatchOperation}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Update-V2024Campaign' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json-patch+json') + + $LocalVarUri = '/campaigns/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling updateCampaign." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$JsonPatchOperation) { + throw "Error! The required parameter `JsonPatchOperation` missing when calling updateCampaign." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($JsonPatchOperation -is [array])) { + $LocalVarBodyParameter = $JsonPatchOperation | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $JsonPatchOperation | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PATCH' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SlimCampaign" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024CertificationSummariesApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024CertificationSummariesApi.ps1 new file mode 100644 index 000000000..9023f7227 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024CertificationSummariesApi.ps1 @@ -0,0 +1,434 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Access Summaries + +.DESCRIPTION + +This API returns a list of access summaries for the specified identity campaign certification and type. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. Reviewers for this certification can also call this API. + +.PARAMETER Id +The identity campaign certification ID + +.PARAMETER Type +The type of access review item to retrieve summaries for + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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: **completed**: *eq, ne* **access.id**: *eq, in* **access.name**: *eq, sw* **entitlement.sourceName**: *eq, sw* **accessProfile.sourceName**: *eq, sw* + +.PARAMETER 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: **access.name** + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +AccessSummary[] +#> +function Get-V2024IdentityAccessSummaries { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [ValidateSet("ROLE", "ACCESS_PROFILE", "ENTITLEMENT")] + [String] + ${Type}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024IdentityAccessSummaries' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/certifications/{id}/access-summaries/{type}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getIdentityAccessSummaries." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + if (!$Type) { + throw "Error! The required parameter `Type` missing when calling getIdentityAccessSummaries." + } + $LocalVarUri = $LocalVarUri.replace('{type}', [System.Web.HTTPUtility]::UrlEncode($Type)) + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "AccessSummary[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Summary of Certification Decisions + +.DESCRIPTION + +This API returns a summary of the decisions made on an identity campaign certification. The decisions are summarized by type. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. Reviewers for this certification can also call this API. + +.PARAMETER Id +The certification ID + +.PARAMETER 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: **identitySummary.id**: *eq, in* + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +IdentityCertDecisionSummary +#> +function Get-V2024IdentityDecisionSummary { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024IdentityDecisionSummary' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/certifications/{id}/decision-summary' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getIdentityDecisionSummary." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "IdentityCertDecisionSummary" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Identity Summaries for Campaign Certification + +.DESCRIPTION + +This API returns a list of the identity summaries for a specific identity campaign certification. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. Reviewers for this certification can also call this API. + +.PARAMETER Id +The identity campaign certification ID + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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* **completed**: *eq, ne* **name**: *eq, sw* + +.PARAMETER 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: **name** + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +CertificationIdentitySummary[] +#> +function Get-V2024IdentitySummaries { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024IdentitySummaries' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/certifications/{id}/identity-summaries' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getIdentitySummaries." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "CertificationIdentitySummary[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Summary for Identity + +.DESCRIPTION + +This API returns the summary for an identity on a specified identity campaign certification. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. Reviewers for this certification can also call this API. + +.PARAMETER Id +The identity campaign certification ID + +.PARAMETER IdentitySummaryId +The identity summary ID + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +CertificationIdentitySummary +#> +function Get-V2024IdentitySummary { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${IdentitySummaryId}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024IdentitySummary' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/certifications/{id}/identity-summaries/{identitySummaryId}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getIdentitySummary." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + if (!$IdentitySummaryId) { + throw "Error! The required parameter `IdentitySummaryId` missing when calling getIdentitySummary." + } + $LocalVarUri = $LocalVarUri.replace('{identitySummaryId}', [System.Web.HTTPUtility]::UrlEncode($IdentitySummaryId)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "CertificationIdentitySummary" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024CertificationsApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024CertificationsApi.ps1 new file mode 100644 index 000000000..d7857da51 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024CertificationsApi.ps1 @@ -0,0 +1,1169 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Certification Task by ID + +.DESCRIPTION + +This API returns the certification task for the specified ID. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. Reviewers for the specified certification can also call this API. + +.PARAMETER Id +The task ID + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +CertificationTask +#> +function Get-V2024CertificationTask { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024CertificationTask' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/certification-tasks/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getCertificationTask." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "CertificationTask" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Identity Certification by ID + +.DESCRIPTION + +This API returns a single identity campaign certification by its ID. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. Reviewers for this certification can also call this API. This API does not support requests for certifications assigned to Governance Groups. + +.PARAMETER Id +The certification id + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +IdentityCertificationDto +#> +function Get-V2024IdentityCertification { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024IdentityCertification' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/certifications/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getIdentityCertification." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "IdentityCertificationDto" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Permissions for Entitlement Certification Item + +.DESCRIPTION + +This API returns the permissions associated with an entitlement certification item based on the certification item's ID. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. Reviewers for this certification can also call this API. + +.PARAMETER CertificationId +The certification ID + +.PARAMETER ItemId +The certification item ID + +.PARAMETER 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: **target**: *eq, sw* **rights**: *ca* Supported composite operators: *and, or* All field values (second filter operands) are case-insensitive for this API. Only a single *and* or *or* composite filter operator may be used. It must also be used between a target filter and a rights filter, not between 2 filters for the same field. For example, the following is valid: `?filters=rights+ca+(%22CREATE%22)+and+target+eq+%22SYS.OBJAUTH2%22` The following is invalid: 1?filters=rights+ca+(%22CREATE%22)+and+rights+ca+(%SELECT%22)1 + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +PermissionDto[] +#> +function Get-V2024IdentityCertificationItemPermissions { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${CertificationId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${ItemId}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024IdentityCertificationItemPermissions' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/certifications/{certificationId}/access-review-items/{itemId}/permissions' + if (!$CertificationId) { + throw "Error! The required parameter `CertificationId` missing when calling getIdentityCertificationItemPermissions." + } + $LocalVarUri = $LocalVarUri.replace('{certificationId}', [System.Web.HTTPUtility]::UrlEncode($CertificationId)) + if (!$ItemId) { + throw "Error! The required parameter `ItemId` missing when calling getIdentityCertificationItemPermissions." + } + $LocalVarUri = $LocalVarUri.replace('{itemId}', [System.Web.HTTPUtility]::UrlEncode($ItemId)) + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "PermissionDto[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List of Pending Certification Tasks + +.DESCRIPTION + +This API returns a list of pending (`QUEUED` or `IN_PROGRESS`) certification tasks. Any authenticated token can call this API, but only certification tasks you are authorized to review will be returned. + +.PARAMETER ReviewerIdentity +The ID of reviewer identity. *me* indicates the current user. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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* **targetId**: *eq, in* **type**: *eq, in* + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +CertificationTask[] +#> +function Get-V2024PendingCertificationTasks { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${ReviewerIdentity}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024PendingCertificationTasks' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/certification-tasks' + + if ($ReviewerIdentity) { + $LocalVarQueryParameters['reviewer-identity'] = $ReviewerIdentity + } + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "CertificationTask[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List of Reviewers for certification + +.DESCRIPTION + +This API returns a list of reviewers for the certification. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. Reviewers for this certification can also call this API. + +.PARAMETER Id +The certification ID + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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* **email**: *eq, sw* + +.PARAMETER 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: **name, email** + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +IdentityReferenceWithNameAndEmail[] +#> +function Get-V2024CertificationReviewers { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024CertificationReviewers' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/certifications/{id}/reviewers' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling listCertificationReviewers." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "IdentityReferenceWithNameAndEmail[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List of Access Review Items + +.DESCRIPTION + +This API returns a list of access review items for an identity campaign certification. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. Reviewers for this certification can also call this API. This API does not support requests for certifications assigned to Governance Groups. + +.PARAMETER Id +The identity campaign certification ID + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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* **type**: *eq* **access.type**: *eq* **completed**: *eq, ne* **identitySummary.id**: *eq, in* **identitySummary.name**: *eq, sw* **access.id**: *eq, in* **access.name**: *eq, sw* **entitlement.sourceName**: *eq, sw* **accessProfile.sourceName**: *eq, sw* + +.PARAMETER 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: **identitySummary.name, access.name, access.type, entitlement.sourceName, accessProfile.sourceName** + +.PARAMETER Entitlements +Filter results to view access review items that pertain to any of the specified comma-separated entitlement IDs. An error will occur if this param is used with **access-profiles** or **roles** as only one of these query params can be used at a time. + +.PARAMETER AccessProfiles +Filter results to view access review items that pertain to any of the specified comma-separated access-profle IDs. An error will occur if this param is used with **entitlements** or **roles** as only one of these query params can be used at a time. + +.PARAMETER Roles +Filter results to view access review items that pertain to any of the specified comma-separated role IDs. An error will occur if this param is used with **entitlements** or **access-profiles** as only one of these query params can be used at a time. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +AccessReviewItem[] +#> +function Get-V2024IdentityAccessReviewItems { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Entitlements}, + [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${AccessProfiles}, + [Parameter(Position = 8, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Roles}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024IdentityAccessReviewItems' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/certifications/{id}/access-review-items' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling listIdentityAccessReviewItems." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + if ($Entitlements) { + $LocalVarQueryParameters['entitlements'] = $Entitlements + } + + if ($AccessProfiles) { + $LocalVarQueryParameters['access-profiles'] = $AccessProfiles + } + + if ($Roles) { + $LocalVarQueryParameters['roles'] = $Roles + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "AccessReviewItem[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List Identity Campaign Certifications + +.DESCRIPTION + +Use this API to get a list of identity campaign certifications for the specified query parameters. Any authenticated token can call this API, but only certifications you are authorized to review will be returned. This API does not support requests for certifications assigned to governance groups. + +.PARAMETER ReviewerIdentity +Reviewer's identity. *me* indicates the current user. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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* **campaign.id**: *eq, in* **phase**: *eq* **completed**: *eq, ne* + +.PARAMETER 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: **name, due, signed** + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +IdentityCertificationDto[] +#> +function Get-V2024IdentityCertifications { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${ReviewerIdentity}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024IdentityCertifications' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/certifications' + + if ($ReviewerIdentity) { + $LocalVarQueryParameters['reviewer-identity'] = $ReviewerIdentity + } + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "IdentityCertificationDto[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Decide on a Certification Item + +.DESCRIPTION + +The API makes a decision to approve or revoke one or more identity campaign certification items. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. Reviewers for this certification can also call this API. This API does not support requests for certifications assigned to Governance Groups. + +.PARAMETER Id +The ID of the identity campaign certification on which to make decisions + +.PARAMETER ReviewDecision +A non-empty array of decisions to be made. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +IdentityCertificationDto +#> +function Select-V2024IdentityDecision { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject[]] + ${ReviewDecision}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Select-V2024IdentityDecision' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/certifications/{id}/decide' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling makeIdentityDecision." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$ReviewDecision) { + throw "Error! The required parameter `ReviewDecision` missing when calling makeIdentityDecision." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($ReviewDecision -is [array])) { + $LocalVarBodyParameter = $ReviewDecision | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $ReviewDecision | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "IdentityCertificationDto" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Reassign Identities or Items + +.DESCRIPTION + +This API reassigns up to 50 identities or items in an identity campaign certification to another reviewer. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. Reviewers for this certification can also call this API. This API does not support requests for certifications assigned to Governance Groups. + +.PARAMETER Id +The identity campaign certification ID + +.PARAMETER ReviewReassign +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +IdentityCertificationDto +#> +function Invoke-V2024ReassignIdentityCertifications { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${ReviewReassign}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Invoke-V2024ReassignIdentityCertifications' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/certifications/{id}/reassign' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling reassignIdentityCertifications." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$ReviewReassign) { + throw "Error! The required parameter `ReviewReassign` missing when calling reassignIdentityCertifications." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($ReviewReassign -is [array])) { + $LocalVarBodyParameter = $ReviewReassign | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $ReviewReassign | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "IdentityCertificationDto" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Finalize Identity Certification Decisions + +.DESCRIPTION + +This API finalizes all decisions made on an identity campaign certification and initiates any remediations required. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. Reviewers for this certification can also call this API. This API does not support requests for certifications assigned to Governance Groups. + +.PARAMETER Id +The identity campaign certification ID + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +IdentityCertificationDto +#> +function Invoke-V2024SignOffIdentityCertification { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Invoke-V2024SignOffIdentityCertification' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/certifications/{id}/sign-off' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling signOffIdentityCertification." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "IdentityCertificationDto" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Reassign Certifications Asynchronously + +.DESCRIPTION + +This API initiates a task to reassign up to 500 identities or items in an identity campaign certification to another reviewer. The `certification-tasks` API can be used to get an updated status on the task and determine when the reassignment is complete. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. Reviewers for this certification can also call this API. + +.PARAMETER Id +The identity campaign certification ID + +.PARAMETER ReviewReassign +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +CertificationTask +#> +function Submit-V2024ReassignCertsAsync { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${ReviewReassign}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Submit-V2024ReassignCertsAsync' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/certifications/{id}/reassign-async' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling submitReassignCertsAsync." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$ReviewReassign) { + throw "Error! The required parameter `ReviewReassign` missing when calling submitReassignCertsAsync." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($ReviewReassign -is [array])) { + $LocalVarBodyParameter = $ReviewReassign | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $ReviewReassign | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "CertificationTask" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024ConfigurationHubApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024ConfigurationHubApi.ps1 new file mode 100644 index 000000000..2d19e14fc --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024ConfigurationHubApi.ps1 @@ -0,0 +1,776 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Creates an object mapping + +.DESCRIPTION + +This creates an object mapping between current org and source org. Source org should be ""default"" when creating an object mapping that is not to be associated to any particular org. The request will need the following security scope: - sp:config-object-mapping:manage + +.PARAMETER SourceOrg +The name of the source org. + +.PARAMETER ObjectMappingRequest +The object mapping request body. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ObjectMappingResponse +#> +function New-V2024ObjectMapping { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SourceOrg}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${ObjectMappingRequest}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: New-V2024ObjectMapping' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/configuration-hub/object-mappings/{sourceOrg}' + if (!$SourceOrg) { + throw "Error! The required parameter `SourceOrg` missing when calling createObjectMapping." + } + $LocalVarUri = $LocalVarUri.replace('{sourceOrg}', [System.Web.HTTPUtility]::UrlEncode($SourceOrg)) + + if (!$ObjectMappingRequest) { + throw "Error! The required parameter `ObjectMappingRequest` missing when calling createObjectMapping." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($ObjectMappingRequest -is [array])) { + $LocalVarBodyParameter = $ObjectMappingRequest | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $ObjectMappingRequest | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ObjectMappingResponse" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Bulk creates object mappings + +.DESCRIPTION + +This creates a set of object mappings (Max 25) between current org and source org. Source org should be ""default"" when creating object mappings that are not to be associated to any particular org. The request will need the following security scope: - sp:config-object-mapping:manage + +.PARAMETER SourceOrg +The name of the source org. + +.PARAMETER ObjectMappingBulkCreateRequest +The bulk create object mapping request body. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ObjectMappingBulkCreateResponse +#> +function New-V2024ObjectMappings { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SourceOrg}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${ObjectMappingBulkCreateRequest}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: New-V2024ObjectMappings' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/configuration-hub/object-mappings/{sourceOrg}/bulk-create' + if (!$SourceOrg) { + throw "Error! The required parameter `SourceOrg` missing when calling createObjectMappings." + } + $LocalVarUri = $LocalVarUri.replace('{sourceOrg}', [System.Web.HTTPUtility]::UrlEncode($SourceOrg)) + + if (!$ObjectMappingBulkCreateRequest) { + throw "Error! The required parameter `ObjectMappingBulkCreateRequest` missing when calling createObjectMappings." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($ObjectMappingBulkCreateRequest -is [array])) { + $LocalVarBodyParameter = $ObjectMappingBulkCreateRequest | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $ObjectMappingBulkCreateRequest | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ObjectMappingBulkCreateResponse" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Deletes an object mapping + +.DESCRIPTION + +This deletes an existing object mapping. Source org should be ""default"" when deleting an object mapping that is not associated to any particular org. The request will need the following security scope: - sp:config-object-mapping:manage + +.PARAMETER SourceOrg +The name of the source org. + +.PARAMETER ObjectMappingId +The id of the object mapping to be deleted. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Remove-V2024ObjectMapping { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SourceOrg}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${ObjectMappingId}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024ObjectMapping' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/configuration-hub/object-mappings/{sourceOrg}/{objectMappingId}' + if (!$SourceOrg) { + throw "Error! The required parameter `SourceOrg` missing when calling deleteObjectMapping." + } + $LocalVarUri = $LocalVarUri.replace('{sourceOrg}', [System.Web.HTTPUtility]::UrlEncode($SourceOrg)) + if (!$ObjectMappingId) { + throw "Error! The required parameter `ObjectMappingId` missing when calling deleteObjectMapping." + } + $LocalVarUri = $LocalVarUri.replace('{objectMappingId}', [System.Web.HTTPUtility]::UrlEncode($ObjectMappingId)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'DELETE' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Deletes an uploaded backup file + +.DESCRIPTION + +This deletes an Uploaded backup based on job ID. On success, this endpoint will return an empty response. The job id can be obtained from the response after a successful upload, or the list uploads endpoint. The following scopes are required to access this endpoint: sp:config:manage + +.PARAMETER Id +The id of the uploaded backup. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Remove-V2024UploadedBackup { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024UploadedBackup' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/configuration-hub/backups/uploads/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling deleteUploadedBackup." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'DELETE' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Gets list of object mappings + +.DESCRIPTION + +This gets a list of existing object mappings between current org and source org. Source org should be ""default"" when getting object mappings that are not associated to any particular org. The request will need the following security scope: - sp:config-object-mapping:read + +.PARAMETER SourceOrg +The name of the source org. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ObjectMappingResponse[] +#> +function Get-V2024ObjectMappings { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SourceOrg}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024ObjectMappings' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/configuration-hub/object-mappings/{sourceOrg}' + if (!$SourceOrg) { + throw "Error! The required parameter `SourceOrg` missing when calling getObjectMappings." + } + $LocalVarUri = $LocalVarUri.replace('{sourceOrg}', [System.Web.HTTPUtility]::UrlEncode($SourceOrg)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ObjectMappingResponse[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get an uploaded backup's information + +.DESCRIPTION + +Returns all the information and status of an upload job. - sp:config-backups:read + +.PARAMETER Id +The id of the uploaded backup. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SystemCollectionsHashtable +#> +function Get-V2024UploadedBackup { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024UploadedBackup' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/configuration-hub/backups/uploads/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getUploadedBackup." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SystemCollectionsHashtable" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Gets list of Uploaded backups + +.DESCRIPTION + +Returns a list of the current uploaded backups associated with the current tenant. A filter ""status"" can be added to only return the Completed, Failed, or Successful uploads + +.PARAMETER Status +Filter listed uploaded backups by status of operation + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +UploadsResponse[] +#> +function Get-V2024UploadedBackups { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Status}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024UploadedBackups' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/configuration-hub/backups/uploads' + + if ($Status) { + $LocalVarQueryParameters['status'] = $Status + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "UploadsResponse[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Uploads a backup file + +.DESCRIPTION + +This post will upload a JSON backup file into a tenant. Configuration files can be managed and deployed via Configuration Hub by uploading a json file which contains configuration data. The JSON file should be the same as the one used by our import endpoints. The object types that currently support by upload file functionality are the same as the ones supported by our regular backup functionality. here: [SaaS Configuration](https://developer.sailpoint.com/idn/docs/saas-configuration/#supported-objects). The request will need the following security scope: - sp:config:manage + +.PARAMETER Data +JSON file containing the objects to be imported. + +.PARAMETER Name +Name that will be assigned to the uploaded file. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +UploadsRequest +#> +function Import-V2024UploadedBackup { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.IO.FileInfo] + ${Data}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Name}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Import-V2024UploadedBackup' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('multipart/form-data') + + $LocalVarUri = '/configuration-hub/backups/uploads' + + if (!$Data) { + throw "Error! The required parameter `Data` missing when calling importUploadedBackup." + } + $LocalVarFormParameters['data'] = $Data + + if (!$Name) { + throw "Error! The required parameter `Name` missing when calling importUploadedBackup." + } + $LocalVarFormParameters['name'] = $Name + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "UploadsRequest" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Bulk updates object mappings + +.DESCRIPTION + +This updates a set of object mappings, only enabled and targetValue fields can be updated. Source org should be ""default"" when updating object mappings that are not associated to any particular org. The request will need the following security scope: - sp:config-object-mapping:manage + +.PARAMETER SourceOrg +The name of the source org. + +.PARAMETER ObjectMappingBulkPatchRequest +The object mapping request body. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ObjectMappingBulkPatchResponse +#> +function Update-V2024ObjectMappings { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SourceOrg}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${ObjectMappingBulkPatchRequest}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Update-V2024ObjectMappings' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/configuration-hub/object-mappings/{sourceOrg}/bulk-patch' + if (!$SourceOrg) { + throw "Error! The required parameter `SourceOrg` missing when calling updateObjectMappings." + } + $LocalVarUri = $LocalVarUri.replace('{sourceOrg}', [System.Web.HTTPUtility]::UrlEncode($SourceOrg)) + + if (!$ObjectMappingBulkPatchRequest) { + throw "Error! The required parameter `ObjectMappingBulkPatchRequest` missing when calling updateObjectMappings." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($ObjectMappingBulkPatchRequest -is [array])) { + $LocalVarBodyParameter = $ObjectMappingBulkPatchRequest | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $ObjectMappingBulkPatchRequest | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ObjectMappingBulkPatchResponse" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024ConnectorRuleManagementApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024ConnectorRuleManagementApi.ps1 new file mode 100644 index 000000000..c9f115ded --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024ConnectorRuleManagementApi.ps1 @@ -0,0 +1,561 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Create Connector Rule + +.DESCRIPTION + +Creates a new connector rule. A token with ORG_ADMIN authority is required to call this API. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER ConnectorRuleCreateRequest +The connector rule to create + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ConnectorRuleResponse +#> +function New-V2024ConnectorRule { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${ConnectorRuleCreateRequest}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: New-V2024ConnectorRule' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/connector-rules' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling createConnectorRule." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$ConnectorRuleCreateRequest) { + throw "Error! The required parameter `ConnectorRuleCreateRequest` missing when calling createConnectorRule." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($ConnectorRuleCreateRequest -is [array])) { + $LocalVarBodyParameter = $ConnectorRuleCreateRequest | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $ConnectorRuleCreateRequest | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ConnectorRuleResponse" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Delete a Connector-Rule + +.DESCRIPTION + +Deletes the connector rule specified by the given ID. A token with ORG_ADMIN authority is required to call this API. + +.PARAMETER Id +ID of the connector rule to delete + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Remove-V2024ConnectorRule { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024ConnectorRule' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/connector-rules/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling deleteConnectorRule." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling deleteConnectorRule." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'DELETE' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Connector-Rule by ID + +.DESCRIPTION + +Returns the connector rule specified by ID. A token with ORG_ADMIN authority is required to call this API. + +.PARAMETER Id +ID of the connector rule to retrieve + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ConnectorRuleResponse +#> +function Get-V2024ConnectorRule { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024ConnectorRule' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/connector-rules/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getConnectorRule." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getConnectorRule." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ConnectorRuleResponse" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List Connector Rules + +.DESCRIPTION + +Returns the list of connector rules. A token with ORG_ADMIN authority is required to call this API. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ConnectorRuleResponse[] +#> +function Get-V2024ConnectorRuleList { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024ConnectorRuleList' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/connector-rules' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getConnectorRuleList." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ConnectorRuleResponse[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Update a Connector Rule + +.DESCRIPTION + +Updates an existing connector rule with the one provided in the request body. Note that the fields 'id', 'name', and 'type' are immutable. A token with ORG_ADMIN authority is required to call this API. + +.PARAMETER Id +ID of the connector rule to update + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER ConnectorRuleUpdateRequest +The connector rule with updated data + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ConnectorRuleResponse +#> +function Update-V2024ConnectorRule { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${ConnectorRuleUpdateRequest}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Update-V2024ConnectorRule' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/connector-rules/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling updateConnectorRule." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling updateConnectorRule." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($ConnectorRuleUpdateRequest -is [array])) { + $LocalVarBodyParameter = $ConnectorRuleUpdateRequest | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $ConnectorRuleUpdateRequest | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PUT' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ConnectorRuleResponse" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Validate Connector Rule + +.DESCRIPTION + +Returns a list of issues within the code to fix, if any. A token with ORG_ADMIN authority is required to call this API. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER SourceCode +The code to validate + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ConnectorRuleValidationResponse +#> +function Confirm-V2024ConnectorRule { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${SourceCode}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Confirm-V2024ConnectorRule' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/connector-rules/validate' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling validateConnectorRule." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$SourceCode) { + throw "Error! The required parameter `SourceCode` missing when calling validateConnectorRule." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($SourceCode -is [array])) { + $LocalVarBodyParameter = $SourceCode | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $SourceCode | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ConnectorRuleValidationResponse" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024ConnectorsApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024ConnectorsApi.ps1 new file mode 100644 index 000000000..4840c45bc --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024ConnectorsApi.ps1 @@ -0,0 +1,1178 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Create custom connector + +.DESCRIPTION + +Create custom connector. A token with ORG_ADMIN authority is required to call this API. + +.PARAMETER V3CreateConnectorDto +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +V3ConnectorDto +#> +function New-V2024CustomConnector { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${V3CreateConnectorDto}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: New-V2024CustomConnector' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/connectors' + + if (!$V3CreateConnectorDto) { + throw "Error! The required parameter `V3CreateConnectorDto` missing when calling createCustomConnector." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($V3CreateConnectorDto -is [array])) { + $LocalVarBodyParameter = $V3CreateConnectorDto | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $V3CreateConnectorDto | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "V3ConnectorDto" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Deletes connector by script name + +.DESCRIPTION + +Delete a custom connector that using its script name. A token with ORG_ADMIN authority is required to call this API. + +.PARAMETER ScriptName +The scriptName value of the connector. Scriptname is the unique id generated at connector creation. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Remove-V2024CustomConnector { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${ScriptName}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024CustomConnector' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/connectors/{scriptName}' + if (!$ScriptName) { + throw "Error! The required parameter `ScriptName` missing when calling deleteCustomConnector." + } + $LocalVarUri = $LocalVarUri.replace('{scriptName}', [System.Web.HTTPUtility]::UrlEncode($ScriptName)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'DELETE' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Gets connector by script name + +.DESCRIPTION + +Fetches a connector that using its script name. A token with ORG_ADMIN authority is required to call this API. + +.PARAMETER ScriptName +The scriptName value of the connector. Scriptname is the unique id generated at connector creation. + +.PARAMETER Locale +The locale to apply to the config. If no viable locale is given, it will default to ""en"" + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ConnectorDetail +#> +function Get-V2024Connector { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${ScriptName}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [ValidateSet("de", "false", "fi", "sv", "ru", "pt", "ko", "zh-TW", "en", "it", "fr", "zh-CN", "hu", "es", "cs", "ja", "pl", "da", "nl")] + [String] + ${Locale}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024Connector' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/connectors/{scriptName}' + if (!$ScriptName) { + throw "Error! The required parameter `ScriptName` missing when calling getConnector." + } + $LocalVarUri = $LocalVarUri.replace('{scriptName}', [System.Web.HTTPUtility]::UrlEncode($ScriptName)) + + if ($Locale) { + $LocalVarQueryParameters['locale'] = $Locale + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ConnectorDetail" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Fetches a connector's correlation config using its script name. A token with ORG_ADMIN authority is required to call this API. + +.PARAMETER ScriptName +The scriptName value of the connector. Scriptname is the unique id generated at connector creation. + +.PARAMETER ReturnType + +Select the return type (optional): application/xml, application/json + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +String +#> +function Get-V2024ConnectorCorrelationConfig { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${ScriptName}, + [String] + [ValidateSet("application/xml", "application/json")] + $ReturnType, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024ConnectorCorrelationConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/xml', 'application/json') + + if ($ReturnType) { + # use the return type (MIME) provided by the user + $LocalVarAccepts = @($ReturnType) + } + + $LocalVarUri = '/connectors/{scriptName}/correlation-config' + if (!$ScriptName) { + throw "Error! The required parameter `ScriptName` missing when calling getConnectorCorrelationConfig." + } + $LocalVarUri = $LocalVarUri.replace('{scriptName}', [System.Web.HTTPUtility]::UrlEncode($ScriptName)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "String" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Gets connector list + +.DESCRIPTION + +Fetches list of connectors that have 'RELEASED' status using filtering and pagination. A token with ORG_ADMIN authority is required to call this API. + +.PARAMETER 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: **name**: *sw, co* **type**: *sw, co, eq* **directConnect**: *eq* **category**: *eq* **features**: *ca* **labels**: *ca* + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER Locale +The locale to apply to the config. If no viable locale is given, it will default to ""en"" + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +V3ConnectorDto[] +#> +function Get-V2024ConnectorList { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [ValidateSet("de", "false", "fi", "sv", "ru", "pt", "ko", "zh-TW", "en", "it", "fr", "zh-CN", "hu", "es", "cs", "ja", "pl", "da", "nl")] + [String] + ${Locale}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024ConnectorList' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/connectors' + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($Locale) { + $LocalVarQueryParameters['locale'] = $Locale + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "V3ConnectorDto[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Fetches a connector's source config using its script name. A token with ORG_ADMIN authority is required to call this API. + +.PARAMETER ScriptName +The scriptName value of the connector. Scriptname is the unique id generated at connector creation. + +.PARAMETER ReturnType + +Select the return type (optional): application/xml, application/json + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +String +#> +function Get-V2024ConnectorSourceConfig { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${ScriptName}, + [String] + [ValidateSet("application/xml", "application/json")] + $ReturnType, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024ConnectorSourceConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/xml', 'application/json') + + if ($ReturnType) { + # use the return type (MIME) provided by the user + $LocalVarAccepts = @($ReturnType) + } + + $LocalVarUri = '/connectors/{scriptName}/source-config' + if (!$ScriptName) { + throw "Error! The required parameter `ScriptName` missing when calling getConnectorSourceConfig." + } + $LocalVarUri = $LocalVarUri.replace('{scriptName}', [System.Web.HTTPUtility]::UrlEncode($ScriptName)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "String" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Fetches a connector's source template using its script name. A token with ORG_ADMIN authority is required to call this API. + +.PARAMETER ScriptName +The scriptName value of the connector. Scriptname is the unique id generated at connector creation. + +.PARAMETER ReturnType + +Select the return type (optional): application/xml, application/json + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +String +#> +function Get-V2024ConnectorSourceTemplate { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${ScriptName}, + [String] + [ValidateSet("application/xml", "application/json")] + $ReturnType, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024ConnectorSourceTemplate' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/xml', 'application/json') + + if ($ReturnType) { + # use the return type (MIME) provided by the user + $LocalVarAccepts = @($ReturnType) + } + + $LocalVarUri = '/connectors/{scriptName}/source-template' + if (!$ScriptName) { + throw "Error! The required parameter `ScriptName` missing when calling getConnectorSourceTemplate." + } + $LocalVarUri = $LocalVarUri.replace('{scriptName}', [System.Web.HTTPUtility]::UrlEncode($ScriptName)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "String" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Fetches a connector's translations using its script name. A token with ORG_ADMIN authority is required to call this API. + +.PARAMETER ScriptName +The scriptName value of the connector. Scriptname is the unique id generated at connector creation. + +.PARAMETER Locale +The locale to apply to the config. If no viable locale is given, it will default to ""en"" + +.PARAMETER ReturnType + +Select the return type (optional): text/plain, application/json + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +String +#> +function Get-V2024ConnectorTranslations { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${ScriptName}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [ValidateSet("de", "false", "fi", "sv", "ru", "pt", "ko", "zh-TW", "en", "it", "fr", "zh-CN", "hu", "es", "cs", "ja", "pl", "da", "nl")] + [String] + ${Locale}, + [String] + [ValidateSet("text/plain", "application/json")] + $ReturnType, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024ConnectorTranslations' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('text/plain', 'application/json') + + if ($ReturnType) { + # use the return type (MIME) provided by the user + $LocalVarAccepts = @($ReturnType) + } + + $LocalVarUri = '/connectors/{scriptName}/translations/{locale}' + if (!$ScriptName) { + throw "Error! The required parameter `ScriptName` missing when calling getConnectorTranslations." + } + $LocalVarUri = $LocalVarUri.replace('{scriptName}', [System.Web.HTTPUtility]::UrlEncode($ScriptName)) + if (!$Locale) { + throw "Error! The required parameter `Locale` missing when calling getConnectorTranslations." + } + $LocalVarUri = $LocalVarUri.replace('{locale}', [System.Web.HTTPUtility]::UrlEncode($Locale)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "String" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Update a connector's correlation config using its script name. A token with ORG_ADMIN authority is required to call this API. + +.PARAMETER ScriptName +The scriptName value of the connector. Scriptname is the unique id generated at connector creation. + +.PARAMETER File +connector correlation config xml file + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +UpdateDetail +#> +function Send-V2024CorrelationConfig { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${ScriptName}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.IO.FileInfo] + ${File}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Send-V2024CorrelationConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('multipart/form-data') + + $LocalVarUri = '/connectors/{scriptName}/correlation-config' + if (!$ScriptName) { + throw "Error! The required parameter `ScriptName` missing when calling putCorrelationConfig." + } + $LocalVarUri = $LocalVarUri.replace('{scriptName}', [System.Web.HTTPUtility]::UrlEncode($ScriptName)) + + if (!$File) { + throw "Error! The required parameter `File` missing when calling putCorrelationConfig." + } + $LocalVarFormParameters['file'] = $File + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PUT' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "UpdateDetail" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Update a connector's source config using its script name. A token with ORG_ADMIN authority is required to call this API. + +.PARAMETER ScriptName +The scriptName value of the connector. Scriptname is the unique id generated at connector creation. + +.PARAMETER File +connector source config xml file + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +UpdateDetail +#> +function Send-V2024SourceConfig { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${ScriptName}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.IO.FileInfo] + ${File}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Send-V2024SourceConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('multipart/form-data') + + $LocalVarUri = '/connectors/{scriptName}/source-config' + if (!$ScriptName) { + throw "Error! The required parameter `ScriptName` missing when calling putSourceConfig." + } + $LocalVarUri = $LocalVarUri.replace('{scriptName}', [System.Web.HTTPUtility]::UrlEncode($ScriptName)) + + if (!$File) { + throw "Error! The required parameter `File` missing when calling putSourceConfig." + } + $LocalVarFormParameters['file'] = $File + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PUT' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "UpdateDetail" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Update a connector's source template using its script name. A token with ORG_ADMIN authority is required to call this API. + +.PARAMETER ScriptName +The scriptName value of the connector. Scriptname is the unique id generated at connector creation. + +.PARAMETER File +connector source template xml file + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +UpdateDetail +#> +function Send-V2024SourceTemplate { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${ScriptName}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.IO.FileInfo] + ${File}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Send-V2024SourceTemplate' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('multipart/form-data') + + $LocalVarUri = '/connectors/{scriptName}/source-template' + if (!$ScriptName) { + throw "Error! The required parameter `ScriptName` missing when calling putSourceTemplate." + } + $LocalVarUri = $LocalVarUri.replace('{scriptName}', [System.Web.HTTPUtility]::UrlEncode($ScriptName)) + + if (!$File) { + throw "Error! The required parameter `File` missing when calling putSourceTemplate." + } + $LocalVarFormParameters['file'] = $File + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PUT' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "UpdateDetail" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Update a connector's translations using its script name. A token with ORG_ADMIN authority is required to call this API. + +.PARAMETER ScriptName +The scriptName value of the connector. Scriptname is the unique id generated at connector creation. + +.PARAMETER Locale +The locale to apply to the config. If no viable locale is given, it will default to ""en"" + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +UpdateDetail +#> +function Send-V2024Translations { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${ScriptName}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [ValidateSet("de", "false", "fi", "sv", "ru", "pt", "ko", "zh-TW", "en", "it", "fr", "zh-CN", "hu", "es", "cs", "ja", "pl", "da", "nl")] + [String] + ${Locale}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Send-V2024Translations' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('multipart/form-data') + + $LocalVarUri = '/connectors/{scriptName}/translations/{locale}' + if (!$ScriptName) { + throw "Error! The required parameter `ScriptName` missing when calling putTranslations." + } + $LocalVarUri = $LocalVarUri.replace('{scriptName}', [System.Web.HTTPUtility]::UrlEncode($ScriptName)) + if (!$Locale) { + throw "Error! The required parameter `Locale` missing when calling putTranslations." + } + $LocalVarUri = $LocalVarUri.replace('{locale}', [System.Web.HTTPUtility]::UrlEncode($Locale)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PUT' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "UpdateDetail" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Update connector by script name + +.DESCRIPTION + +Patch a custom connector that using its script name. A token with ORG_ADMIN authority is required to call this API. The following fields are patchable: * connectorMetadata * applicationXml * correlationConfigXml * sourceConfigXml + +.PARAMETER ScriptName +The scriptName value of the connector. Scriptname is the unique id generated at connector creation. + +.PARAMETER JsonPatchOperation +A list of connector detail update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ConnectorDetail +#> +function Update-V2024Connector { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${ScriptName}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject[]] + ${JsonPatchOperation}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Update-V2024Connector' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json-patch+json') + + $LocalVarUri = '/connectors/{scriptName}' + if (!$ScriptName) { + throw "Error! The required parameter `ScriptName` missing when calling updateConnector." + } + $LocalVarUri = $LocalVarUri.replace('{scriptName}', [System.Web.HTTPUtility]::UrlEncode($ScriptName)) + + if (!$JsonPatchOperation) { + throw "Error! The required parameter `JsonPatchOperation` missing when calling updateConnector." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($JsonPatchOperation -is [array])) { + $LocalVarBodyParameter = $JsonPatchOperation | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $JsonPatchOperation | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PATCH' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ConnectorDetail" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024CustomFormsApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024CustomFormsApi.ps1 new file mode 100644 index 000000000..cf9433945 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024CustomFormsApi.ps1 @@ -0,0 +1,1819 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Creates a form definition. + +.DESCRIPTION + +No description or notes available. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER Body +Body is the request payload to create form definition request + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +FormDefinitionResponse +#> +function New-V2024FormDefinition { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${Body}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: New-V2024FormDefinition' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/form-definitions' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling createFormDefinition." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($Body -is [array])) { + $LocalVarBodyParameter = $Body | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $Body | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "FormDefinitionResponse" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Generate JSON Schema dynamically. + +.DESCRIPTION + +No description or notes available. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER Body +Body is the request payload to create a form definition dynamic schema + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +FormDefinitionDynamicSchemaResponse +#> +function New-V2024FormDefinitionDynamicSchema { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${Body}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: New-V2024FormDefinitionDynamicSchema' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/form-definitions/forms-action-dynamic-schema' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling createFormDefinitionDynamicSchema." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($Body -is [array])) { + $LocalVarBodyParameter = $Body | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $Body | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "FormDefinitionDynamicSchemaResponse" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Upload new form definition file. + +.DESCRIPTION + +Parameter `{formDefinitionID}` should match a form definition ID. + +.PARAMETER FormDefinitionID +FormDefinitionID String specifying FormDefinitionID + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER File +File specifying the multipart + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +FormDefinitionFileUploadResponse +#> +function New-V2024FormDefinitionFileRequest { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${FormDefinitionID}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.IO.FileInfo] + ${File}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: New-V2024FormDefinitionFileRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('multipart/form-data') + + $LocalVarUri = '/form-definitions/{formDefinitionID}/upload' + if (!$FormDefinitionID) { + throw "Error! The required parameter `FormDefinitionID` missing when calling createFormDefinitionFileRequest." + } + $LocalVarUri = $LocalVarUri.replace('{formDefinitionID}', [System.Web.HTTPUtility]::UrlEncode($FormDefinitionID)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling createFormDefinitionFileRequest." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$File) { + throw "Error! The required parameter `File` missing when calling createFormDefinitionFileRequest." + } + $LocalVarFormParameters['file'] = $File + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "FormDefinitionFileUploadResponse" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Creates a form instance. + +.DESCRIPTION + +No description or notes available. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER Body +Body is the request payload to create a form instance + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +FormInstanceResponse +#> +function New-V2024FormInstance { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${Body}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: New-V2024FormInstance' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/form-instances' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling createFormInstance." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($Body -is [array])) { + $LocalVarBodyParameter = $Body | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $Body | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "FormInstanceResponse" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Deletes a form definition. + +.DESCRIPTION + +Parameter `{formDefinitionID}` should match a form definition ID. + +.PARAMETER FormDefinitionID +Form definition ID + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SystemCollectionsHashtable +#> +function Remove-V2024FormDefinition { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${FormDefinitionID}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024FormDefinition' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/form-definitions/{formDefinitionID}' + if (!$FormDefinitionID) { + throw "Error! The required parameter `FormDefinitionID` missing when calling deleteFormDefinition." + } + $LocalVarUri = $LocalVarUri.replace('{formDefinitionID}', [System.Web.HTTPUtility]::UrlEncode($FormDefinitionID)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling deleteFormDefinition." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'DELETE' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SystemCollectionsHashtable" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List form definitions by tenant. + +.DESCRIPTION + +No parameters required. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER Offset +Offset Integer specifying the offset of the first result from the beginning of the collection. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). The offset value is record-based, not page-based, and the index starts at 0. + +.PARAMETER Limit +Limit Integer specifying the maximum number of records to return in a single API call. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). If it is not specified, a default limit is used. + +.PARAMETER 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: **name**: *eq, gt, sw, in* **description**: *eq, gt, sw, in* **created**: *eq, gt, sw, in* **modified**: *eq, gt, sw, in* + +.PARAMETER 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: **name, description, created, modified** + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ExportFormDefinitionsByTenant200ResponseInner[] +#> +function Export-V2024FormDefinitionsByTenant { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int64]] + ${Offset}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int64]] + ${Limit}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Export-V2024FormDefinitionsByTenant' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/form-definitions/export' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling exportFormDefinitionsByTenant." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ExportFormDefinitionsByTenant200ResponseInner[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Download definition file by fileId. + +.DESCRIPTION + +No description or notes available. + +.PARAMETER FormDefinitionID +FormDefinitionID Form definition ID + +.PARAMETER FileID +FileID String specifying the hashed name of the uploaded file we are retrieving. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER ReturnType + +Select the return type (optional): application/json, image/jpeg, image/png, application/octet-stream + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +System.IO.FileInfo +#> +function Get-V2024FileFromS3 { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${FormDefinitionID}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${FileID}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [String] + [ValidateSet("application/json", "image/jpeg", "image/png", "application/octet-stream")] + $ReturnType, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024FileFromS3' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json', 'image/jpeg', 'image/png', 'application/octet-stream') + + if ($ReturnType) { + # use the return type (MIME) provided by the user + $LocalVarAccepts = @($ReturnType) + } + + $LocalVarUri = '/form-definitions/{formDefinitionID}/file/{fileID}' + if (!$FormDefinitionID) { + throw "Error! The required parameter `FormDefinitionID` missing when calling getFileFromS3." + } + $LocalVarUri = $LocalVarUri.replace('{formDefinitionID}', [System.Web.HTTPUtility]::UrlEncode($FormDefinitionID)) + if (!$FileID) { + throw "Error! The required parameter `FileID` missing when calling getFileFromS3." + } + $LocalVarUri = $LocalVarUri.replace('{fileID}', [System.Web.HTTPUtility]::UrlEncode($FileID)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getFileFromS3." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "System.IO.FileInfo" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Return a form definition. + +.DESCRIPTION + +Parameter `{formDefinitionID}` should match a form definition ID. + +.PARAMETER FormDefinitionID +Form definition ID + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +FormDefinitionResponse +#> +function Get-V2024FormDefinitionByKey { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${FormDefinitionID}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024FormDefinitionByKey' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/form-definitions/{formDefinitionID}' + if (!$FormDefinitionID) { + throw "Error! The required parameter `FormDefinitionID` missing when calling getFormDefinitionByKey." + } + $LocalVarUri = $LocalVarUri.replace('{formDefinitionID}', [System.Web.HTTPUtility]::UrlEncode($FormDefinitionID)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getFormDefinitionByKey." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "FormDefinitionResponse" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Returns a form instance. + +.DESCRIPTION + +Parameter `{formInstanceID}` should match a form instance ID. + +.PARAMETER FormInstanceID +Form instance ID + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +FormInstanceResponse +#> +function Get-V2024FormInstanceByKey { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${FormInstanceID}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024FormInstanceByKey' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/form-instances/{formInstanceID}' + if (!$FormInstanceID) { + throw "Error! The required parameter `FormInstanceID` missing when calling getFormInstanceByKey." + } + $LocalVarUri = $LocalVarUri.replace('{formInstanceID}', [System.Web.HTTPUtility]::UrlEncode($FormInstanceID)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getFormInstanceByKey." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "FormInstanceResponse" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Download instance file by fileId. + +.DESCRIPTION + +No description or notes available. + +.PARAMETER FormInstanceID +FormInstanceID Form instance ID + +.PARAMETER FileID +FileID String specifying the hashed name of the uploaded file we are retrieving. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER ReturnType + +Select the return type (optional): application/json, image/jpeg, image/png, application/octet-stream + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +System.IO.FileInfo +#> +function Get-V2024FormInstanceFile { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${FormInstanceID}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${FileID}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [String] + [ValidateSet("application/json", "image/jpeg", "image/png", "application/octet-stream")] + $ReturnType, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024FormInstanceFile' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json', 'image/jpeg', 'image/png', 'application/octet-stream') + + if ($ReturnType) { + # use the return type (MIME) provided by the user + $LocalVarAccepts = @($ReturnType) + } + + $LocalVarUri = '/form-instances/{formInstanceID}/file/{fileID}' + if (!$FormInstanceID) { + throw "Error! The required parameter `FormInstanceID` missing when calling getFormInstanceFile." + } + $LocalVarUri = $LocalVarUri.replace('{formInstanceID}', [System.Web.HTTPUtility]::UrlEncode($FormInstanceID)) + if (!$FileID) { + throw "Error! The required parameter `FileID` missing when calling getFormInstanceFile." + } + $LocalVarUri = $LocalVarUri.replace('{fileID}', [System.Web.HTTPUtility]::UrlEncode($FileID)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getFormInstanceFile." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "System.IO.FileInfo" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Import form definitions from export. + +.DESCRIPTION + +No description or notes available. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER Body +Body is the request payload to import form definitions + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ImportFormDefinitions202Response +#> +function Import-V2024FormDefinitions { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject[]] + ${Body}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Import-V2024FormDefinitions' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/form-definitions/import' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling importFormDefinitions." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($Body -is [array])) { + $LocalVarBodyParameter = $Body | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $Body | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ImportFormDefinitions202Response" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Patch a form definition. + +.DESCRIPTION + +Parameter `{formDefinitionID}` should match a form definition ID. + +.PARAMETER FormDefinitionID +Form definition ID + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER Body +Body is the request payload to patch a form definition, check: https://jsonpatch.com + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +FormDefinitionResponse +#> +function Update-V2024FormDefinition { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${FormDefinitionID}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Collections.Hashtable[]] + ${Body}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Update-V2024FormDefinition' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/form-definitions/{formDefinitionID}' + if (!$FormDefinitionID) { + throw "Error! The required parameter `FormDefinitionID` missing when calling patchFormDefinition." + } + $LocalVarUri = $LocalVarUri.replace('{formDefinitionID}', [System.Web.HTTPUtility]::UrlEncode($FormDefinitionID)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling patchFormDefinition." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($Body -is [array])) { + $LocalVarBodyParameter = $Body | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $Body | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PATCH' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "FormDefinitionResponse" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Patch a form instance. + +.DESCRIPTION + +Parameter `{formInstanceID}` should match a form instance ID. + +.PARAMETER FormInstanceID +Form instance ID + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER Body +Body is the request payload to patch a form instance, check: https://jsonpatch.com + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +FormInstanceResponse +#> +function Update-V2024FormInstance { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${FormInstanceID}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Collections.Hashtable[]] + ${Body}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Update-V2024FormInstance' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/form-instances/{formInstanceID}' + if (!$FormInstanceID) { + throw "Error! The required parameter `FormInstanceID` missing when calling patchFormInstance." + } + $LocalVarUri = $LocalVarUri.replace('{formInstanceID}', [System.Web.HTTPUtility]::UrlEncode($FormInstanceID)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling patchFormInstance." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($Body -is [array])) { + $LocalVarBodyParameter = $Body | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $Body | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PATCH' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "FormInstanceResponse" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Export form definitions by tenant. + +.DESCRIPTION + +No parameters required. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER Offset +Offset Integer specifying the offset of the first result from the beginning of the collection. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). The offset value is record-based, not page-based, and the index starts at 0. + +.PARAMETER Limit +Limit Integer specifying the maximum number of records to return in a single API call. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). If it is not specified, a default limit is used. + +.PARAMETER 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: **name**: *eq, gt, sw, in* **description**: *eq, gt, sw, in* **created**: *eq, gt, sw, in* **modified**: *eq, gt, sw, in* + +.PARAMETER 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: **name, description, created, modified** + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ListFormDefinitionsByTenantResponse +#> +function Search-V2024FormDefinitionsByTenant { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int64]] + ${Offset}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int64]] + ${Limit}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Search-V2024FormDefinitionsByTenant' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/form-definitions' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling searchFormDefinitionsByTenant." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ListFormDefinitionsByTenantResponse" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Retrieves dynamic data by element. + +.DESCRIPTION + +Parameter `{formInstanceID}` should match a form instance ID. Parameter `{formElementID}` should match a form element ID at the data source configuration. + +.PARAMETER FormInstanceID +Form instance ID + +.PARAMETER FormElementID +Form element ID + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER Limit +Limit Integer specifying the maximum number of records to return in a single API call. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). If it is not specified, a default limit is used. + +.PARAMETER 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: **value**: *eq, ne, in* Supported composite operators: *not* Only a single *not* may be used, and it can only be used with the `in` operator. The `not` composite operator must be used in front of the field. For example, the following is valid: `not value in (""ID01"")` + +.PARAMETER Query +String that is passed to the underlying API to filter other (non-ID) fields. For example, for access profile data sources, this string will be passed to the access profile api and used with a ""starts with"" filter against several fields. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ListFormElementDataByElementIDResponse +#> +function Search-V2024FormElementDataByElementID { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${FormInstanceID}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${FormElementID}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int64]] + ${Limit}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Query}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Search-V2024FormElementDataByElementID' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/form-instances/{formInstanceID}/data-source/{formElementID}' + if (!$FormInstanceID) { + throw "Error! The required parameter `FormInstanceID` missing when calling searchFormElementDataByElementID." + } + $LocalVarUri = $LocalVarUri.replace('{formInstanceID}', [System.Web.HTTPUtility]::UrlEncode($FormInstanceID)) + if (!$FormElementID) { + throw "Error! The required parameter `FormElementID` missing when calling searchFormElementDataByElementID." + } + $LocalVarUri = $LocalVarUri.replace('{formElementID}', [System.Web.HTTPUtility]::UrlEncode($FormElementID)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling searchFormElementDataByElementID." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + if ($Query) { + $LocalVarQueryParameters['query'] = $Query + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ListFormElementDataByElementIDResponse" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List form instances by tenant. + +.DESCRIPTION + +No parameters required. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ListFormInstancesByTenantResponse +#> +function Search-V2024FormInstancesByTenant { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Search-V2024FormInstancesByTenant' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/form-instances' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling searchFormInstancesByTenant." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ListFormInstancesByTenantResponse" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List predefined select options. + +.DESCRIPTION + +No parameters required. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ListPredefinedSelectOptionsResponse +#> +function Search-V2024PreDefinedSelectOptions { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Search-V2024PreDefinedSelectOptions' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/form-definitions/predefined-select-options' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling searchPreDefinedSelectOptions." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ListPredefinedSelectOptionsResponse" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Preview form definition data source. + +.DESCRIPTION + +No description or notes available. + +.PARAMETER FormDefinitionID +Form definition ID + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER Limit +Limit Integer specifying the maximum number of records to return in a single API call. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). If it is not specified, a default limit is used. + +.PARAMETER 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: **value**: *eq, ne, in* Supported composite operators: *not* Only a single *not* may be used, and it can only be used with the `in` operator. The `not` composite operator must be used in front of the field. For example, the following is valid: `not value in (""ID01"")` + +.PARAMETER Query +String that is passed to the underlying API to filter other (non-ID) fields. For example, for access profile data sources, this string will be passed to the access profile api and used with a ""starts with"" filter against several fields. + +.PARAMETER FormElementPreviewRequest +Body is the request payload to create a form definition dynamic schema + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +PreviewDataSourceResponse +#> +function Show-V2024PreviewDataSource { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${FormDefinitionID}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int64]] + ${Limit}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Query}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${FormElementPreviewRequest}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Show-V2024PreviewDataSource' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/form-definitions/{formDefinitionID}/data-source' + if (!$FormDefinitionID) { + throw "Error! The required parameter `FormDefinitionID` missing when calling showPreviewDataSource." + } + $LocalVarUri = $LocalVarUri.replace('{formDefinitionID}', [System.Web.HTTPUtility]::UrlEncode($FormDefinitionID)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling showPreviewDataSource." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + if ($Query) { + $LocalVarQueryParameters['query'] = $Query + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($FormElementPreviewRequest -is [array])) { + $LocalVarBodyParameter = $FormElementPreviewRequest | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $FormElementPreviewRequest | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "PreviewDataSourceResponse" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024CustomPasswordInstructionsApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024CustomPasswordInstructionsApi.ps1 new file mode 100644 index 000000000..e59e8bee4 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024CustomPasswordInstructionsApi.ps1 @@ -0,0 +1,300 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Create Custom Password Instructions + +.DESCRIPTION + +This API creates the custom password instructions for the specified page ID. A token with ORG_ADMIN authority is required to call this API. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER CustomPasswordInstruction +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +CustomPasswordInstruction +#> +function New-V2024CustomPasswordInstructions { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${CustomPasswordInstruction}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: New-V2024CustomPasswordInstructions' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/custom-password-instructions' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling createCustomPasswordInstructions." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$CustomPasswordInstruction) { + throw "Error! The required parameter `CustomPasswordInstruction` missing when calling createCustomPasswordInstructions." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($CustomPasswordInstruction -is [array])) { + $LocalVarBodyParameter = $CustomPasswordInstruction | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $CustomPasswordInstruction | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "CustomPasswordInstruction" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Delete Custom Password Instructions by page ID + +.DESCRIPTION + +This API delete the custom password instructions for the specified page ID. A token with ORG_ADMIN authority is required to call this API. + +.PARAMETER PageId +The page ID of custom password instructions to delete. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER Locale +The locale for the custom instructions, a BCP47 language tag. The default value is \""default\"". + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Remove-V2024CustomPasswordInstructions { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [ValidateSet("change-password:enter-password", "change-password:finish", "flow-selection:select", "forget-username:user-email", "mfa:enter-code", "mfa:enter-kba", "mfa:select", "reset-password:enter-password", "reset-password:enter-username", "reset-password:finish", "unlock-account:enter-username", "unlock-account:finish")] + [String] + ${PageId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Locale}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024CustomPasswordInstructions' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/custom-password-instructions/{pageId}' + if (!$PageId) { + throw "Error! The required parameter `PageId` missing when calling deleteCustomPasswordInstructions." + } + $LocalVarUri = $LocalVarUri.replace('{pageId}', [System.Web.HTTPUtility]::UrlEncode($PageId)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling deleteCustomPasswordInstructions." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($Locale) { + $LocalVarQueryParameters['locale'] = $Locale + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'DELETE' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get Custom Password Instructions by Page ID + +.DESCRIPTION + +This API returns the custom password instructions for the specified page ID. A token with ORG_ADMIN authority is required to call this API. + +.PARAMETER PageId +The page ID of custom password instructions to query. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER Locale +The locale for the custom instructions, a BCP47 language tag. The default value is \""default\"". + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +CustomPasswordInstruction +#> +function Get-V2024CustomPasswordInstructions { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [ValidateSet("change-password:enter-password", "change-password:finish", "flow-selection:select", "forget-username:user-email", "mfa:enter-code", "mfa:enter-kba", "mfa:select", "reset-password:enter-password", "reset-password:enter-username", "reset-password:finish", "unlock-account:enter-username", "unlock-account:finish")] + [String] + ${PageId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Locale}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024CustomPasswordInstructions' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/custom-password-instructions/{pageId}' + if (!$PageId) { + throw "Error! The required parameter `PageId` missing when calling getCustomPasswordInstructions." + } + $LocalVarUri = $LocalVarUri.replace('{pageId}', [System.Web.HTTPUtility]::UrlEncode($PageId)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getCustomPasswordInstructions." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($Locale) { + $LocalVarQueryParameters['locale'] = $Locale + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "CustomPasswordInstruction" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024EntitlementsApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024EntitlementsApi.ps1 new file mode 100644 index 000000000..da45c44bc --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024EntitlementsApi.ps1 @@ -0,0 +1,1324 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Add metadata to an entitlement. + +.DESCRIPTION + +Add single Access Model Metadata to an entitlement. + +.PARAMETER Id +The entitlement id. + +.PARAMETER AttributeKey +Technical name of the Attribute. + +.PARAMETER AttributeValue +Technical name of the Attribute Value. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +Entitlement1 +#> +function New-V2024AccessModelMetadataForEntitlement { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${AttributeKey}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${AttributeValue}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: New-V2024AccessModelMetadataForEntitlement' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/entitlements/{id}/access-model-metadata/{attributeKey}/values/{attributeValue}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling createAccessModelMetadataForEntitlement." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + if (!$AttributeKey) { + throw "Error! The required parameter `AttributeKey` missing when calling createAccessModelMetadataForEntitlement." + } + $LocalVarUri = $LocalVarUri.replace('{attributeKey}', [System.Web.HTTPUtility]::UrlEncode($AttributeKey)) + if (!$AttributeValue) { + throw "Error! The required parameter `AttributeValue` missing when calling createAccessModelMetadataForEntitlement." + } + $LocalVarUri = $LocalVarUri.replace('{attributeValue}', [System.Web.HTTPUtility]::UrlEncode($AttributeValue)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling createAccessModelMetadataForEntitlement." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "Entitlement1" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Remove metadata from an entitlement. + +.DESCRIPTION + +Remove single Access Model Metadata from an entitlement. + +.PARAMETER Id +The entitlement id. + +.PARAMETER AttributeKey +Technical name of the Attribute. + +.PARAMETER AttributeValue +Technical name of the Attribute Value. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Remove-V2024AccessModelMetadataFromEntitlement { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${AttributeKey}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${AttributeValue}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024AccessModelMetadataFromEntitlement' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/entitlements/{id}/access-model-metadata/{attributeKey}/values/{attributeValue}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling deleteAccessModelMetadataFromEntitlement." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + if (!$AttributeKey) { + throw "Error! The required parameter `AttributeKey` missing when calling deleteAccessModelMetadataFromEntitlement." + } + $LocalVarUri = $LocalVarUri.replace('{attributeKey}', [System.Web.HTTPUtility]::UrlEncode($AttributeKey)) + if (!$AttributeValue) { + throw "Error! The required parameter `AttributeValue` missing when calling deleteAccessModelMetadataFromEntitlement." + } + $LocalVarUri = $LocalVarUri.replace('{attributeValue}', [System.Web.HTTPUtility]::UrlEncode($AttributeValue)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling deleteAccessModelMetadataFromEntitlement." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'DELETE' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get an entitlement + +.DESCRIPTION + +This API returns an entitlement by its ID. + +.PARAMETER Id +The entitlement ID + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +Entitlement1 +#> +function Get-V2024Entitlement { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024Entitlement' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/entitlements/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getEntitlement." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getEntitlement." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "Entitlement1" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get Entitlement Request Config + +.DESCRIPTION + +This API returns the entitlement request config for a specified entitlement. + +.PARAMETER Id +Entitlement Id + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +EntitlementRequestConfig +#> +function Get-V2024EntitlementRequestConfig { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024EntitlementRequestConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/entitlements/{id}/entitlement-request-config' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getEntitlementRequestConfig." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getEntitlementRequestConfig." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "EntitlementRequestConfig" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Aggregate Entitlements + +.DESCRIPTION + +Starts an entitlement aggregation on the specified source. Though this endpoint has been deprecated, you can find its Beta equivalent [here](https://developer.sailpoint.com/docs/api/beta/import-entitlements). If the target source is a direct connection, then the request body must be empty. You will also need to make sure the Content-Type header is not set. If you set the Content-Type header without specifying a body, then you will receive a 500 error. If the target source is a delimited file source, then the CSV file needs to be included in the request body. You will also need to set the Content-Type header to `multipart/form-data`. + +.PARAMETER Id +Source Id + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER CsvFile +The CSV file containing the source entitlements to aggregate. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +LoadEntitlementTask +#> +function Import-V2024EntitlementsBySource { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.IO.FileInfo] + ${CsvFile}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Import-V2024EntitlementsBySource' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('multipart/form-data') + + $LocalVarUri = '/entitlements/aggregate/sources/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling importEntitlementsBySource." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling importEntitlementsBySource." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($CsvFile) { + $LocalVarFormParameters['csvFile'] = $CsvFile + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "LoadEntitlementTask" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List of entitlements children + +.DESCRIPTION + +This API returns a list of all child entitlements of a given entitlement. + +.PARAMETER Id +Entitlement Id + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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, created, modified, type, attribute, value, source.id** + +.PARAMETER 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, in, sw* **type**: *eq, in* **attribute**: *eq, in* **value**: *eq, in, sw* **source.id**: *eq, in* **requestable**: *eq* **created**: *gt, lt, ge, le* **modified**: *gt, lt, ge, le* + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +Entitlement1[] +#> +function Get-V2024EntitlementChildren { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024EntitlementChildren' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/entitlements/{id}/children' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling listEntitlementChildren." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling listEntitlementChildren." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "Entitlement1[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List of entitlements parents + +.DESCRIPTION + +This API returns a list of all parent entitlements of a given entitlement. + +.PARAMETER Id +Entitlement Id + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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, created, modified, type, attribute, value, source.id** + +.PARAMETER 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, in, sw* **type**: *eq, in* **attribute**: *eq, in* **value**: *eq, in, sw* **source.id**: *eq, in* **requestable**: *eq* **created**: *gt, lt, ge, le* **modified**: *gt, lt, ge, le* + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +Entitlement1[] +#> +function Get-V2024EntitlementParents { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024EntitlementParents' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/entitlements/{id}/parents' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling listEntitlementParents." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling listEntitlementParents." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "Entitlement1[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Gets a list of entitlements. + +.DESCRIPTION + +This API returns a list of entitlements. This API can be used in one of the two following ways: either getting entitlements for a specific **account-id**, or getting via use of **filters** (those two options are exclusive). Any authenticated token can call this API. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER AccountId +The account ID. If specified, returns only entitlements associated with the given Account. Cannot be specified with the **filters**, **segmented-for-identity**, **for-segment-ids**, or **include-unsegmented** param(s). + +.PARAMETER SegmentedForIdentity +If present and not empty, additionally filters Entitlements to those which are assigned to the Segment(s) which are visible to the Identity with the specified ID. By convention, the value **me** can stand in for the current user's Identity ID. Cannot be specified with the **account-id** or **for-segment-ids** param(s). It is also illegal to specify a value that refers to a different user's Identity. + +.PARAMETER ForSegmentIds +If present and not empty, additionally filters Access Profiles to those which are assigned to the Segment(s) with the specified IDs. Cannot be specified with the **account-id** or **segmented-for-identity** param(s). + +.PARAMETER IncludeUnsegmented +Whether or not the response list should contain unsegmented Entitlements. If **for-segment-ids** and **segmented-for-identity** are both absent or empty, specifying **include-unsegmented=false** results in an error. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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, created, modified, type, attribute, value, source.id, requestable** + +.PARAMETER 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, in, sw* **type**: *eq, in* **attribute**: *eq, in* **value**: *eq, in, sw* **source.id**: *eq, in* **requestable**: *eq* **created**: *gt, lt, ge, le* **modified**: *gt, lt, ge, le* **owner.id**: *eq, in* + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +Entitlement1[] +#> +function Get-V2024Entitlements { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${AccountId}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SegmentedForIdentity}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${ForSegmentIds}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${IncludeUnsegmented}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 8, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Parameter(Position = 9, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024Entitlements' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/entitlements' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling listEntitlements." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($AccountId) { + $LocalVarQueryParameters['account-id'] = $AccountId + } + + if ($SegmentedForIdentity) { + $LocalVarQueryParameters['segmented-for-identity'] = $SegmentedForIdentity + } + + if ($ForSegmentIds) { + $LocalVarQueryParameters['for-segment-ids'] = $ForSegmentIds + } + + if ($IncludeUnsegmented) { + $LocalVarQueryParameters['include-unsegmented'] = $IncludeUnsegmented + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "Entitlement1[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Patch an entitlement + +.DESCRIPTION + +This API updates an existing entitlement using [JSON Patch](https://tools.ietf.org/html/rfc6902) syntax. The following fields are patchable: **requestable**, **privileged**, **segments**, **owner**, **name**, **description**, and **manuallyUpdatedFields** When you're patching owner, only owner type and owner id must be provided. Owner name is optional, and it won't be modified. If the owner name is provided, it should correspond to the real name. The only owner type currently supported is IDENTITY. A token with ORG_ADMIN or SOURCE_ADMIN authority is required to call this API. + +.PARAMETER Id +ID of the entitlement to patch + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER JsonPatchOperation +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +Entitlement1 +#> +function Update-V2024Entitlement { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject[]] + ${JsonPatchOperation}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Update-V2024Entitlement' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json-patch+json') + + $LocalVarUri = '/entitlements/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling patchEntitlement." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling patchEntitlement." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($JsonPatchOperation -is [array])) { + $LocalVarBodyParameter = $JsonPatchOperation | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $JsonPatchOperation | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PATCH' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "Entitlement1" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Replace Entitlement Request Config + +.DESCRIPTION + +This API replaces the entitlement request config for a specified entitlement. + +.PARAMETER Id +Entitlement ID + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER EntitlementRequestConfig +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +EntitlementRequestConfig +#> +function Send-V2024EntitlementRequestConfig { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${EntitlementRequestConfig}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Send-V2024EntitlementRequestConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/entitlements/{id}/entitlement-request-config' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling putEntitlementRequestConfig." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling putEntitlementRequestConfig." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$EntitlementRequestConfig) { + throw "Error! The required parameter `EntitlementRequestConfig` missing when calling putEntitlementRequestConfig." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($EntitlementRequestConfig -is [array])) { + $LocalVarBodyParameter = $EntitlementRequestConfig | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $EntitlementRequestConfig | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PUT' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "EntitlementRequestConfig" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Reset Source Entitlements + +.DESCRIPTION + +Removes all entitlements on a specific source. + +.PARAMETER Id +ID of source for the entitlement reset + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +EntitlementSourceResetBaseReferenceDto +#> +function Reset-V2024SourceEntitlements { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Reset-V2024SourceEntitlements' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/entitlements/reset/sources/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling resetSourceEntitlements." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling resetSourceEntitlements." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "EntitlementSourceResetBaseReferenceDto" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Bulk update an entitlement list + +.DESCRIPTION + +This API applies an update to every entitlement of the list. The number of entitlements to update is limited to 50 items maximum. The JsonPatch update follows the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. allowed operations : **{ ""op"": ""replace"", ""path"": ""/privileged"", ""value"": boolean }** **{ ""op"": ""replace"", ""path"": ""/requestable"",""value"": boolean }** A token with ORG_ADMIN or API authority is required to call this API. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER EntitlementBulkUpdateRequest +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Update-V2024EntitlementsInBulk { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${EntitlementBulkUpdateRequest}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Update-V2024EntitlementsInBulk' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/entitlements/bulk-update' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling updateEntitlementsInBulk." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$EntitlementBulkUpdateRequest) { + throw "Error! The required parameter `EntitlementBulkUpdateRequest` missing when calling updateEntitlementsInBulk." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($EntitlementBulkUpdateRequest -is [array])) { + $LocalVarBodyParameter = $EntitlementBulkUpdateRequest | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $EntitlementBulkUpdateRequest | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024GlobalTenantSecuritySettingsApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024GlobalTenantSecuritySettingsApi.ps1 new file mode 100644 index 000000000..e37e4e0da --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024GlobalTenantSecuritySettingsApi.ps1 @@ -0,0 +1,251 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Create security network configuration. + +.DESCRIPTION + +This API returns the details of an org's network auth configuration. Requires security scope of: 'sp:auth-org:create' + +.PARAMETER NetworkConfiguration +Network configuration creation request body. The following constraints ensure the request body conforms to certain logical guidelines, which are: 1. Each string element in the range array must be a valid ip address or ip subnet mask. 2. Each string element in the geolocation array must be 2 characters, and they can only be uppercase letters. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +NetworkConfiguration +#> +function New-V2024AuthOrgNetworkConfig { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${NetworkConfiguration}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: New-V2024AuthOrgNetworkConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/auth-org/network-config' + + if (!$NetworkConfiguration) { + throw "Error! The required parameter `NetworkConfiguration` missing when calling createAuthOrgNetworkConfig." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($NetworkConfiguration -is [array])) { + $LocalVarBodyParameter = $NetworkConfiguration | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $NetworkConfiguration | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "NetworkConfiguration" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get security network configuration. + +.DESCRIPTION + +This API returns the details of an org's network auth configuration. Requires security scope of: 'sp:auth-org:read' + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +NetworkConfiguration +#> +function Get-V2024AuthOrgNetworkConfig { + [CmdletBinding()] + Param ( + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024AuthOrgNetworkConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/auth-org/network-config' + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "NetworkConfiguration" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Update security network configuration. + +.DESCRIPTION + +This API updates an existing network configuration for an org using PATCH Requires security scope of: 'sp:auth-org:update' + +.PARAMETER JsonPatchOperation +A list of auth org network configuration update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. Ensures that the patched Network Config conforms to certain logical guidelines, which are: 1. Each string element in the range array must be a valid ip address or ip subnet mask. 2. Each string element in the geolocation array must be 2 characters, and they can only be uppercase letters. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +NetworkConfiguration +#> +function Update-V2024AuthOrgNetworkConfig { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject[]] + ${JsonPatchOperation}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Update-V2024AuthOrgNetworkConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json-patch+json') + + $LocalVarUri = '/auth-org/network-config' + + if (!$JsonPatchOperation) { + throw "Error! The required parameter `JsonPatchOperation` missing when calling patchAuthOrgNetworkConfig." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($JsonPatchOperation -is [array])) { + $LocalVarBodyParameter = $JsonPatchOperation | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $JsonPatchOperation | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PATCH' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "NetworkConfiguration" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024GovernanceGroupsApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024GovernanceGroupsApi.ps1 new file mode 100644 index 000000000..9299db6de --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024GovernanceGroupsApi.ps1 @@ -0,0 +1,1083 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Create a new Governance Group. + +.DESCRIPTION + +This API creates a new Governance Group. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WorkgroupDto +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +WorkgroupDto +#> +function New-V2024Workgroup { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${WorkgroupDto}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: New-V2024Workgroup' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/workgroups' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling createWorkgroup." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$WorkgroupDto) { + throw "Error! The required parameter `WorkgroupDto` missing when calling createWorkgroup." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($WorkgroupDto -is [array])) { + $LocalVarBodyParameter = $WorkgroupDto | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $WorkgroupDto | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "WorkgroupDto" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Delete a Governance Group + +.DESCRIPTION + +This API deletes a Governance Group by its ID. + +.PARAMETER Id +ID of the Governance Group + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Remove-V2024Workgroup { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024Workgroup' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/workgroups/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling deleteWorkgroup." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling deleteWorkgroup." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'DELETE' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Remove members from Governance Group + +.DESCRIPTION + +This API removes one or more members from a Governance Group. A token with API, ORG_ADMIN authority is required to call this API. > **Following field of Identity is an optional field in the request.** > **name** + +.PARAMETER WorkgroupId +ID of the Governance Group. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER IdentityPreviewResponseIdentity +List of identities to be removed from a Governance Group members list. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +WorkgroupMemberDeleteItem[] +#> +function Remove-V2024WorkgroupMembers { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${WorkgroupId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject[]] + ${IdentityPreviewResponseIdentity}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024WorkgroupMembers' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/workgroups/{workgroupId}/members/bulk-delete' + if (!$WorkgroupId) { + throw "Error! The required parameter `WorkgroupId` missing when calling deleteWorkgroupMembers." + } + $LocalVarUri = $LocalVarUri.replace('{workgroupId}', [System.Web.HTTPUtility]::UrlEncode($WorkgroupId)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling deleteWorkgroupMembers." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$IdentityPreviewResponseIdentity) { + throw "Error! The required parameter `IdentityPreviewResponseIdentity` missing when calling deleteWorkgroupMembers." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($IdentityPreviewResponseIdentity -is [array])) { + $LocalVarBodyParameter = $IdentityPreviewResponseIdentity | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $IdentityPreviewResponseIdentity | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "WorkgroupMemberDeleteItem[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Delete Governance Group(s) + +.DESCRIPTION + + This API initiates a bulk deletion of one or more Governance Groups. > If any of the indicated Governance Groups have one or more connections associated with it,then those Governance Groups will be added in **inUse** list of the response. Governance Group(s) marked as **inUse** can not be deleted. > If any of the indicated Governance Groups is not does not exists in Organization,then those Governance Groups will be added in **notFound** list of the response. Governance Groups marked as **notFound** will not be deleted. > If any of the indicated Governance Groups does not have any connections associated with it,then those Governance Groups will be added in **deleted** list of the response. A Governance Group marked as **deleted** will be deleted from current Organization. > If the request contains any **inUse** or **notFound** Governance Group IDs then it skips only these Governance Groups for deletion and deletes the rest of Governance Groups which have no connections associated with it. > **This API has limit number of Governance Groups can be deleted at one time. If the request contains more then 100 Governance Groups IDs to be deleted then the API will throw an exception.** + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WorkgroupBulkDeleteRequest +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +WorkgroupDeleteItem[] +#> +function Remove-V2024WorkgroupsInBulk { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${WorkgroupBulkDeleteRequest}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024WorkgroupsInBulk' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/workgroups/bulk-delete' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling deleteWorkgroupsInBulk." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$WorkgroupBulkDeleteRequest) { + throw "Error! The required parameter `WorkgroupBulkDeleteRequest` missing when calling deleteWorkgroupsInBulk." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($WorkgroupBulkDeleteRequest -is [array])) { + $LocalVarBodyParameter = $WorkgroupBulkDeleteRequest | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $WorkgroupBulkDeleteRequest | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "WorkgroupDeleteItem[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get Governance Group by Id + +.DESCRIPTION + +This API returns a Governance Groups by its ID. + +.PARAMETER Id +ID of the Governance Group + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +WorkgroupDto +#> +function Get-V2024Workgroup { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024Workgroup' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/workgroups/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getWorkgroup." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getWorkgroup." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "WorkgroupDto" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List connections for Governance Group + +.DESCRIPTION + +This API returns list of connections associated with a Governance Group. + +.PARAMETER WorkgroupId +ID of the Governance Group. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER 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. + +.PARAMETER Limit +Note that for this API the maximum value for limit is 50. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. + +.PARAMETER 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. + +.PARAMETER 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: **name, created, modified** + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +WorkgroupConnectionDto[] +#> +function Get-V2024Connections { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${WorkgroupId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024Connections' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/workgroups/{workgroupId}/connections' + if (!$WorkgroupId) { + throw "Error! The required parameter `WorkgroupId` missing when calling listConnections." + } + $LocalVarUri = $LocalVarUri.replace('{workgroupId}', [System.Web.HTTPUtility]::UrlEncode($WorkgroupId)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling listConnections." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "WorkgroupConnectionDto[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List Governance Group Members + +.DESCRIPTION + +This API returns list of members associated with a Governance Group. + +.PARAMETER WorkgroupId +ID of the Governance Group. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER 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. + +.PARAMETER Limit +Note that for this API the maximum value for limit is 50. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. + +.PARAMETER 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. + +.PARAMETER 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: **name, created, modified** + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ListWorkgroupMembers200ResponseInner[] +#> +function Get-V2024WorkgroupMembers { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${WorkgroupId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024WorkgroupMembers' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/workgroups/{workgroupId}/members' + if (!$WorkgroupId) { + throw "Error! The required parameter `WorkgroupId` missing when calling listWorkgroupMembers." + } + $LocalVarUri = $LocalVarUri.replace('{workgroupId}', [System.Web.HTTPUtility]::UrlEncode($WorkgroupId)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling listWorkgroupMembers." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ListWorkgroupMembers200ResponseInner[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List Governance Groups + +.DESCRIPTION + +This API returns list of Governance Groups + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER 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. + +.PARAMETER Limit +Note that for this API the maximum value for limit is 50. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. + +.PARAMETER 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. + +.PARAMETER 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, sw* **name**: *eq, sw, in* **memberships.identityId**: *eq, in* + +.PARAMETER 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: **name, created, modified, id, description** + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +WorkgroupDto[] +#> +function Get-V2024Workgroups { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024Workgroups' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/workgroups' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling listWorkgroups." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "WorkgroupDto[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Patch a Governance Group + +.DESCRIPTION + +This API updates an existing governance group by ID. The following fields and objects are patchable: * name * description * owner A token with API or ORG_ADMIN authority is required to call this API. + +.PARAMETER Id +ID of the Governance Group + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER JsonPatchOperation +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +WorkgroupDto +#> +function Update-V2024Workgroup { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject[]] + ${JsonPatchOperation}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Update-V2024Workgroup' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json-patch+json') + + $LocalVarUri = '/workgroups/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling patchWorkgroup." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling patchWorkgroup." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($JsonPatchOperation -is [array])) { + $LocalVarBodyParameter = $JsonPatchOperation | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $JsonPatchOperation | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PATCH' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "WorkgroupDto" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Add members to Governance Group + +.DESCRIPTION + +This API adds one or more members to a Governance Group. A token with API, ORG_ADMIN authority is required to call this API. > **Following field of Identity is an optional field in the request.** > **name** + +.PARAMETER WorkgroupId +ID of the Governance Group. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER IdentityPreviewResponseIdentity +List of identities to be added to a Governance Group members list. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +WorkgroupMemberAddItem[] +#> +function Update-V2024WorkgroupMembers { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${WorkgroupId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject[]] + ${IdentityPreviewResponseIdentity}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Update-V2024WorkgroupMembers' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/workgroups/{workgroupId}/members/bulk-add' + if (!$WorkgroupId) { + throw "Error! The required parameter `WorkgroupId` missing when calling updateWorkgroupMembers." + } + $LocalVarUri = $LocalVarUri.replace('{workgroupId}', [System.Web.HTTPUtility]::UrlEncode($WorkgroupId)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling updateWorkgroupMembers." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$IdentityPreviewResponseIdentity) { + throw "Error! The required parameter `IdentityPreviewResponseIdentity` missing when calling updateWorkgroupMembers." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($IdentityPreviewResponseIdentity -is [array])) { + $LocalVarBodyParameter = $IdentityPreviewResponseIdentity | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $IdentityPreviewResponseIdentity | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "WorkgroupMemberAddItem[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024IAIAccessRequestRecommendationsApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024IAIAccessRequestRecommendationsApi.ps1 new file mode 100644 index 000000000..41f3e0380 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024IAIAccessRequestRecommendationsApi.ps1 @@ -0,0 +1,931 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Notification of Ignored Access Request Recommendations + +.DESCRIPTION + +This API ignores a recommended access request item. Once an item is ignored, it will be marked as ignored=true if it is still a recommended item. The consumer can decide to hide ignored recommendations. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER AccessRequestRecommendationActionItemDto +The recommended access item to ignore for an identity. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +AccessRequestRecommendationActionItemResponseDto +#> +function Add-V2024AccessRequestRecommendationsIgnoredItem { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${AccessRequestRecommendationActionItemDto}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Add-V2024AccessRequestRecommendationsIgnoredItem' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/ai-access-request-recommendations/ignored-items' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling addAccessRequestRecommendationsIgnoredItem." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$AccessRequestRecommendationActionItemDto) { + throw "Error! The required parameter `AccessRequestRecommendationActionItemDto` missing when calling addAccessRequestRecommendationsIgnoredItem." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($AccessRequestRecommendationActionItemDto -is [array])) { + $LocalVarBodyParameter = $AccessRequestRecommendationActionItemDto | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $AccessRequestRecommendationActionItemDto | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "AccessRequestRecommendationActionItemResponseDto" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Notification of Requested Access Request Recommendations + +.DESCRIPTION + +This API consumes a notification that a recommended access request item was requested. This API does not actually make the request, it is just a notification. This will help provide feedback in order to improve our recommendations. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER AccessRequestRecommendationActionItemDto +The recommended access item that was requested for an identity. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +AccessRequestRecommendationActionItemResponseDto +#> +function Add-V2024AccessRequestRecommendationsRequestedItem { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${AccessRequestRecommendationActionItemDto}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Add-V2024AccessRequestRecommendationsRequestedItem' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/ai-access-request-recommendations/requested-items' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling addAccessRequestRecommendationsRequestedItem." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$AccessRequestRecommendationActionItemDto) { + throw "Error! The required parameter `AccessRequestRecommendationActionItemDto` missing when calling addAccessRequestRecommendationsRequestedItem." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($AccessRequestRecommendationActionItemDto -is [array])) { + $LocalVarBodyParameter = $AccessRequestRecommendationActionItemDto | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $AccessRequestRecommendationActionItemDto | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "AccessRequestRecommendationActionItemResponseDto" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Notification of Viewed Access Request Recommendations + +.DESCRIPTION + +This API consumes a notification that a recommended access request item was viewed. Future recommendations with this item will be marked with viewed=true. This can be useful for the consumer to determine if there are any new/unviewed recommendations. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER AccessRequestRecommendationActionItemDto +The recommended access that was viewed for an identity. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +AccessRequestRecommendationActionItemResponseDto +#> +function Add-V2024AccessRequestRecommendationsViewedItem { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${AccessRequestRecommendationActionItemDto}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Add-V2024AccessRequestRecommendationsViewedItem' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/ai-access-request-recommendations/viewed-items' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling addAccessRequestRecommendationsViewedItem." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$AccessRequestRecommendationActionItemDto) { + throw "Error! The required parameter `AccessRequestRecommendationActionItemDto` missing when calling addAccessRequestRecommendationsViewedItem." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($AccessRequestRecommendationActionItemDto -is [array])) { + $LocalVarBodyParameter = $AccessRequestRecommendationActionItemDto | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $AccessRequestRecommendationActionItemDto | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "AccessRequestRecommendationActionItemResponseDto" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Notification of Viewed Access Request Recommendations in Bulk + +.DESCRIPTION + +This API consumes a notification that a set of recommended access request item were viewed. Future recommendations with these items will be marked with viewed=true. This can be useful for the consumer to determine if there are any new/unviewed recommendations. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER AccessRequestRecommendationActionItemDto +The recommended access items that were viewed for an identity. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +AccessRequestRecommendationActionItemResponseDto[] +#> +function Add-V2024AccessRequestRecommendationsViewedItems { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject[]] + ${AccessRequestRecommendationActionItemDto}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Add-V2024AccessRequestRecommendationsViewedItems' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/ai-access-request-recommendations/viewed-items/bulk-create' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling addAccessRequestRecommendationsViewedItems." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$AccessRequestRecommendationActionItemDto) { + throw "Error! The required parameter `AccessRequestRecommendationActionItemDto` missing when calling addAccessRequestRecommendationsViewedItems." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($AccessRequestRecommendationActionItemDto -is [array])) { + $LocalVarBodyParameter = $AccessRequestRecommendationActionItemDto | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $AccessRequestRecommendationActionItemDto | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "AccessRequestRecommendationActionItemResponseDto[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Identity Access Request Recommendations + +.DESCRIPTION + +This API returns the access request recommendations for the specified identity. The default identity is *me* which indicates the current user. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER IdentityId +Get access request recommendations for an identityId. *me* indicates the current user. + +.PARAMETER Limit +Max number of results to return. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER IncludeTranslationMessages +If *true* it will populate a list of translation messages in the response. + +.PARAMETER 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: **access.name**: *co* **access.type**: *eq, in* **access.description**: *co, eq, in* + +.PARAMETER 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: **access.name, access.type** By default the recommendations are sorted by highest confidence first. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +AccessRequestRecommendationItemDetail[] +#> +function Get-V2024AccessRequestRecommendations { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${IdentityId}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${IncludeTranslationMessages}, + [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024AccessRequestRecommendations' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/ai-access-request-recommendations' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getAccessRequestRecommendations." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($IdentityId) { + $LocalVarQueryParameters['identity-id'] = $IdentityId + } + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($IncludeTranslationMessages) { + $LocalVarQueryParameters['include-translation-messages'] = $IncludeTranslationMessages + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "AccessRequestRecommendationItemDetail[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List of Ignored Access Request Recommendations + +.DESCRIPTION + +This API returns the list of ignored access request recommendations. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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: **access.id**: *eq, in* **access.type**: *eq, in* **identityId**: *eq, in* + +.PARAMETER 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: **access.id, access.type, identityId, timestamp** + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +AccessRequestRecommendationActionItemResponseDto[] +#> +function Get-V2024AccessRequestRecommendationsIgnoredItems { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024AccessRequestRecommendationsIgnoredItems' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/ai-access-request-recommendations/ignored-items' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getAccessRequestRecommendationsIgnoredItems." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "AccessRequestRecommendationActionItemResponseDto[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List of Requested Access Request Recommendations + +.DESCRIPTION + +This API returns a list of requested access request recommendations. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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: **access.id**: *eq, in* **access.type**: *eq, in* **identityId**: *eq, in* + +.PARAMETER 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: **access.id, access.type, identityId, timestamp** + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +AccessRequestRecommendationActionItemResponseDto[] +#> +function Get-V2024AccessRequestRecommendationsRequestedItems { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024AccessRequestRecommendationsRequestedItems' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/ai-access-request-recommendations/requested-items' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getAccessRequestRecommendationsRequestedItems." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "AccessRequestRecommendationActionItemResponseDto[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List of Viewed Access Request Recommendations + +.DESCRIPTION + +This API returns the list of viewed access request recommendations. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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: **access.id**: *eq, in* **access.type**: *eq, in* **identityId**: *eq, in* + +.PARAMETER 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: **access.id, access.type, identityId, timestamp** + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +AccessRequestRecommendationActionItemResponseDto[] +#> +function Get-V2024AccessRequestRecommendationsViewedItems { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024AccessRequestRecommendationsViewedItems' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/ai-access-request-recommendations/viewed-items' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getAccessRequestRecommendationsViewedItems." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "AccessRequestRecommendationActionItemResponseDto[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024IAICommonAccessApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024IAICommonAccessApi.ps1 new file mode 100644 index 000000000..e0bcf35f7 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024IAICommonAccessApi.ps1 @@ -0,0 +1,334 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Create common access items + +.DESCRIPTION + +This API is used to add roles/access profiles to the list of common access for a customer. Requires authorization scope of iai:access-modeling:create + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER CommonAccessItemRequest +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +CommonAccessItemResponse +#> +function New-V2024CommonAccess { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${CommonAccessItemRequest}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: New-V2024CommonAccess' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/common-access' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling createCommonAccess." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$CommonAccessItemRequest) { + throw "Error! The required parameter `CommonAccessItemRequest` missing when calling createCommonAccess." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($CommonAccessItemRequest -is [array])) { + $LocalVarBodyParameter = $CommonAccessItemRequest | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $CommonAccessItemRequest | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "CommonAccessItemResponse" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get a paginated list of common access + +.DESCRIPTION + +This endpoint returns the current common access for a customer. The returned items can be filtered and sorted. Requires authorization scope of iai:access-modeling:read + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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: **status**: *eq, sw* **reviewedByUser** *eq* **access.id**: *eq, sw* **access.type**: *eq* **access.name**: *sw, eq* **access.description**: *sw, eq* + +.PARAMETER 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: **access.name, status** By default the common access items are sorted by name, ascending. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +CommonAccessResponse[] +#> +function Get-V2024CommonAccess { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024CommonAccess' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/common-access' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getCommonAccess." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "CommonAccessResponse[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Bulk update common access status + +.DESCRIPTION + +This submits an update request to the common access application. At this time there are no parameters. Requires authorization scope of iai:access-modeling:update + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER CommonAccessIDStatus +Confirm or deny in bulk the common access ids that are (or aren't) common access + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SystemCollectionsHashtable +#> +function Update-V2024CommonAccessStatusInBulk { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject[]] + ${CommonAccessIDStatus}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Update-V2024CommonAccessStatusInBulk' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/common-access/update-status' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling updateCommonAccessStatusInBulk." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$CommonAccessIDStatus) { + throw "Error! The required parameter `CommonAccessIDStatus` missing when calling updateCommonAccessStatusInBulk." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($CommonAccessIDStatus -is [array])) { + $LocalVarBodyParameter = $CommonAccessIDStatus | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $CommonAccessIDStatus | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SystemCollectionsHashtable" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024IAIOutliersApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024IAIOutliersApi.ps1 new file mode 100644 index 000000000..c2c8cda43 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024IAIOutliersApi.ps1 @@ -0,0 +1,1021 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +IAI Identity Outliers Export + +.DESCRIPTION + +This API exports a list of ignored outliers to a CSV as well as list of non-ignored outliers to a CSV. These two CSVs will be zipped and exported Columns will include: identityID, type, firstDetectionDate, latestDetectionDate, ignored, & attributes (defined set of identity attributes) Requires authorization scope of 'iai:outliers-management:read' + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER Type +Type of the identity outliers snapshot to filter on + +.PARAMETER ReturnType + +Select the return type (optional): application/zip, application/json + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +System.IO.FileInfo +#> +function Export-V2024OutliersZip { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [ValidateSet("LOW_SIMILARITY", "STRUCTURAL")] + [String] + ${Type}, + [String] + [ValidateSet("application/zip", "application/json")] + $ReturnType, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Export-V2024OutliersZip' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/zip', 'application/json') + + if ($ReturnType) { + # use the return type (MIME) provided by the user + $LocalVarAccepts = @($ReturnType) + } + + $LocalVarUri = '/outliers/export' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling exportOutliersZip." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($Type) { + $LocalVarQueryParameters['type'] = $Type + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "System.IO.FileInfo" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +IAI Identity Outliers Summary + +.DESCRIPTION + +This API receives a summary containing: the number of identities that customer has, the number of outliers, and the type of outlier Requires authorization scope of 'iai:outliers-management:read' + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER Type +Type of the identity outliers snapshot to filter on + +.PARAMETER 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: **snapshotDate**: *ge, le* + +.PARAMETER 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: **snapshotDate** + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +OutlierSummary[] +#> +function Get-V2024IdentityOutlierSnapshots { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [ValidateSet("LOW_SIMILARITY", "STRUCTURAL")] + [String] + ${Type}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024IdentityOutlierSnapshots' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/outlier-summaries' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getIdentityOutlierSnapshots." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Type) { + $LocalVarQueryParameters['type'] = $Type + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "OutlierSummary[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +IAI Get Identity Outliers + +.DESCRIPTION + +This API receives a list of outliers, containing data such as: identityId, outlier type, detection dates, identity attributes, if identity is ignore, and certification information Requires authorization scope of 'iai:outliers-management:read' + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER Type +Type of the identity outliers snapshot to filter on + +.PARAMETER 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: **attributes**: *eq, sw, co, in* **firstDetectionDate**: *ge, le* **certStatus**: *eq* **ignored**: *eq* **score**: *ge, le* + +.PARAMETER 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: **firstDetectionDate, attributes, score** + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +Outlier[] +#> +function Get-V2024IdentityOutliers { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [ValidateSet("LOW_SIMILARITY", "STRUCTURAL")] + [String] + ${Type}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024IdentityOutliers' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/outliers' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getIdentityOutliers." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($Type) { + $LocalVarQueryParameters['type'] = $Type + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "Outlier[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +IAI Identity Outliers Latest Summary + +.DESCRIPTION + +This API returns a most recent snapshot of each outlier type, each containing: the number of identities that customer has, the number of outliers, and the type of outlier Requires authorization scope of 'iai:outliers-management:read' + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER Type +Type of the identity outliers snapshot to filter on + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +LatestOutlierSummary[] +#> +function Get-V2024LatestIdentityOutlierSnapshots { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [ValidateSet("LOW_SIMILARITY", "STRUCTURAL")] + [String] + ${Type}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024LatestIdentityOutlierSnapshots' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/outlier-summaries/latest' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getLatestIdentityOutlierSnapshots." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($Type) { + $LocalVarQueryParameters['type'] = $Type + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "LatestOutlierSummary[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get identity outlier contibuting feature summary + +.DESCRIPTION + +This API returns a summary of a contributing feature for an identity outlier. The object contains: contributing feature name (translated text or message key), identity outlier display name, feature values, feature definition and explanation (translated text or message key), peer display name and identityId, access item reference, translation messages object Requires authorization scope of 'iai:outliers-management:read' + +.PARAMETER OutlierFeatureId +Contributing feature id + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +OutlierFeatureSummary +#> +function Get-V2024OutlierContributingFeatureSummary { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${OutlierFeatureId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024OutlierContributingFeatureSummary' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/outlier-feature-summaries/{outlierFeatureId}' + if (!$OutlierFeatureId) { + throw "Error! The required parameter `OutlierFeatureId` missing when calling getOutlierContributingFeatureSummary." + } + $LocalVarUri = $LocalVarUri.replace('{outlierFeatureId}', [System.Web.HTTPUtility]::UrlEncode($OutlierFeatureId)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getOutlierContributingFeatureSummary." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "OutlierFeatureSummary" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get identity outlier's contibuting features + +.DESCRIPTION + +This API returns a list of contributing feature objects for a single outlier. The object contains: feature name, feature value type, value, importance, display name (translated text or message key), description (translated text or message key), translation messages object Requires authorization scope of 'iai:outliers-management:read' + +.PARAMETER OutlierId +The outlier id + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER IncludeTranslationMessages +Whether or not to include translation messages object in returned response + +.PARAMETER 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: **importance** + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +OutlierContributingFeature[] +#> +function Get-V2024PeerGroupOutliersContributingFeatures { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${OutlierId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${IncludeTranslationMessages}, + [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024PeerGroupOutliersContributingFeatures' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/outliers/{outlierId}/contributing-features' + if (!$OutlierId) { + throw "Error! The required parameter `OutlierId` missing when calling getPeerGroupOutliersContributingFeatures." + } + $LocalVarUri = $LocalVarUri.replace('{outlierId}', [System.Web.HTTPUtility]::UrlEncode($OutlierId)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getPeerGroupOutliersContributingFeatures." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($IncludeTranslationMessages) { + $LocalVarQueryParameters['include-translation-messages'] = $IncludeTranslationMessages + } + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "OutlierContributingFeature[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +IAI Identity Outliers Ignore + +.DESCRIPTION + +This API receives a list of IdentityIDs in the request, changes the outliers to be ignored--returning a 204 if successful. Requires authorization scope of 'iai:outliers-management:update' + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER RequestBody +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Invoke-V2024IgnoreIdentityOutliers { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String[]] + ${RequestBody}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Invoke-V2024IgnoreIdentityOutliers' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/outliers/ignore' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling ignoreIdentityOutliers." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$RequestBody) { + throw "Error! The required parameter `RequestBody` missing when calling ignoreIdentityOutliers." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($RequestBody -is [array])) { + $LocalVarBodyParameter = $RequestBody | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $RequestBody | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Gets a list of access items associated with each identity outlier contributing feature + +.DESCRIPTION + +This API returns a list of the enriched access items associated with each feature filtered by the access item type The object contains: accessItemId, display name (translated text or message key), description (translated text or message key), accessType, sourceName, extremelyRare Requires authorization scope of 'iai:outliers-management:read' + +.PARAMETER OutlierId +The outlier id + +.PARAMETER ContributingFeatureName +The name of contributing feature + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER AccessType +The type of access item for the identity outlier contributing feature. If not provided, it returns all + +.PARAMETER 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: **displayName** + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +OutliersContributingFeatureAccessItems[] +#> +function Get-V2024OutliersContributingFeatureAccessItems { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${OutlierId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [ValidateSet("radical_entitlement_count", "entitlement_count", "max_jaccard_similarity", "mean_max_bundle_concurrency", "single_entitlement_bundle_count", "peerless_score")] + [String] + ${ContributingFeatureName}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${AccessType}, + [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024OutliersContributingFeatureAccessItems' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/outliers/{outlierId}/feature-details/{contributingFeatureName}/access-items' + if (!$OutlierId) { + throw "Error! The required parameter `OutlierId` missing when calling listOutliersContributingFeatureAccessItems." + } + $LocalVarUri = $LocalVarUri.replace('{outlierId}', [System.Web.HTTPUtility]::UrlEncode($OutlierId)) + if (!$ContributingFeatureName) { + throw "Error! The required parameter `ContributingFeatureName` missing when calling listOutliersContributingFeatureAccessItems." + } + $LocalVarUri = $LocalVarUri.replace('{contributingFeatureName}', [System.Web.HTTPUtility]::UrlEncode($ContributingFeatureName)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling listOutliersContributingFeatureAccessItems." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($AccessType) { + $LocalVarQueryParameters['accessType'] = $AccessType + } + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "OutliersContributingFeatureAccessItems[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +IAI Identity Outliers Unignore + +.DESCRIPTION + +This API receives a list of IdentityIDs in the request, changes the outliers to be un-ignored--returning a 204 if successful. Requires authorization scope of 'iai:outliers-management:update' + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER RequestBody +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Invoke-V2024UnIgnoreIdentityOutliers { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String[]] + ${RequestBody}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Invoke-V2024UnIgnoreIdentityOutliers' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/outliers/unignore' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling unIgnoreIdentityOutliers." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$RequestBody) { + throw "Error! The required parameter `RequestBody` missing when calling unIgnoreIdentityOutliers." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($RequestBody -is [array])) { + $LocalVarBodyParameter = $RequestBody | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $RequestBody | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024IAIPeerGroupStrategiesApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024IAIPeerGroupStrategiesApi.ps1 new file mode 100644 index 000000000..3f7a6a5c8 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024IAIPeerGroupStrategiesApi.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Identity Outliers List + +.DESCRIPTION + +-- Deprecated : See 'IAI Outliers' This API will be used by Identity Governance systems to identify identities that are not included in an organization's peer groups. By default, 250 identities are returned. You can specify between 1 and 1000 number of identities that can be returned. + +.PARAMETER Strategy +The strategy used to create peer groups. Currently, 'entitlement' is supported. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +PeerGroupMember[] +#> +function Get-V2024PeerGroupOutliers { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Strategy}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024PeerGroupOutliers' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/peer-group-strategies/{strategy}/identity-outliers' + if (!$Strategy) { + throw "Error! The required parameter `Strategy` missing when calling getPeerGroupOutliers." + } + $LocalVarUri = $LocalVarUri.replace('{strategy}', [System.Web.HTTPUtility]::UrlEncode($Strategy)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getPeerGroupOutliers." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "PeerGroupMember[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024IAIRecommendationsApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024IAIRecommendationsApi.ps1 new file mode 100644 index 000000000..b2b70e34d --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024IAIRecommendationsApi.ps1 @@ -0,0 +1,284 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Returns a Recommendation Based on Object + +.DESCRIPTION + +The getRecommendations API returns recommendations based on the requested object. The recommendations are invoked by IdentityIQ and IdentityNow plug-ins that retrieve recommendations based on the performed calculations. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER RecommendationRequestDto +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +RecommendationResponseDto +#> +function Get-V2024Recommendations { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${RecommendationRequestDto}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024Recommendations' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/recommendations/request' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getRecommendations." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$RecommendationRequestDto) { + throw "Error! The required parameter `RecommendationRequestDto` missing when calling getRecommendations." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($RecommendationRequestDto -is [array])) { + $LocalVarBodyParameter = $RecommendationRequestDto | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $RecommendationRequestDto | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "RecommendationResponseDto" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get certification recommendation config values + +.DESCRIPTION + +Retrieves configuration attributes used by certification recommendations. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +RecommendationConfigDto +#> +function Get-V2024RecommendationsConfig { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024RecommendationsConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/recommendations/config' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getRecommendationsConfig." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "RecommendationConfigDto" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Update certification recommendation config values + +.DESCRIPTION + +Updates configuration attributes used by certification recommendations. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER RecommendationConfigDto +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +RecommendationConfigDto +#> +function Update-V2024RecommendationsConfig { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${RecommendationConfigDto}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Update-V2024RecommendationsConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/recommendations/config' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling updateRecommendationsConfig." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$RecommendationConfigDto) { + throw "Error! The required parameter `RecommendationConfigDto` missing when calling updateRecommendationsConfig." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($RecommendationConfigDto -is [array])) { + $LocalVarBodyParameter = $RecommendationConfigDto | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $RecommendationConfigDto | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PUT' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "RecommendationConfigDto" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024IAIRoleMiningApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024IAIRoleMiningApi.ps1 new file mode 100644 index 000000000..d04db3e86 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024IAIRoleMiningApi.ps1 @@ -0,0 +1,2825 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Create request to provision a potential role into an actual role. + +.DESCRIPTION + +This method starts a job to provision a potential role + +.PARAMETER SessionId +The role mining session id + +.PARAMETER PotentialRoleId +A potential role id in a role mining session + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER MinEntitlementPopularity +Minimum popularity required for an entitlement to be included in the provisioned role. + +.PARAMETER IncludeCommonAccess +Boolean determining whether common access entitlements will be included in the provisioned role. + +.PARAMETER RoleMiningPotentialRoleProvisionRequest +Required information to create a new role + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +RoleMiningPotentialRoleSummary +#> +function New-V2024PotentialRoleProvisionRequest { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SessionId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${PotentialRoleId}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${MinEntitlementPopularity}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${IncludeCommonAccess}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${RoleMiningPotentialRoleProvisionRequest}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: New-V2024PotentialRoleProvisionRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/role-mining-sessions/{sessionId}/potential-roles/{potentialRoleId}/provision' + if (!$SessionId) { + throw "Error! The required parameter `SessionId` missing when calling createPotentialRoleProvisionRequest." + } + $LocalVarUri = $LocalVarUri.replace('{sessionId}', [System.Web.HTTPUtility]::UrlEncode($SessionId)) + if (!$PotentialRoleId) { + throw "Error! The required parameter `PotentialRoleId` missing when calling createPotentialRoleProvisionRequest." + } + $LocalVarUri = $LocalVarUri.replace('{potentialRoleId}', [System.Web.HTTPUtility]::UrlEncode($PotentialRoleId)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling createPotentialRoleProvisionRequest." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($MinEntitlementPopularity) { + $LocalVarQueryParameters['min-entitlement-popularity'] = $MinEntitlementPopularity + } + + if ($IncludeCommonAccess) { + $LocalVarQueryParameters['include-common-access'] = $IncludeCommonAccess + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($RoleMiningPotentialRoleProvisionRequest -is [array])) { + $LocalVarBodyParameter = $RoleMiningPotentialRoleProvisionRequest | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $RoleMiningPotentialRoleProvisionRequest | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "RoleMiningPotentialRoleSummary" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Create a role mining session + +.DESCRIPTION + +This submits a create role mining session request to the role mining application. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER RoleMiningSessionDto +Role mining session parameters + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +RoleMiningSessionResponse +#> +function New-V2024RoleMiningSessions { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${RoleMiningSessionDto}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: New-V2024RoleMiningSessions' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/role-mining-sessions' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling createRoleMiningSessions." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$RoleMiningSessionDto) { + throw "Error! The required parameter `RoleMiningSessionDto` missing when calling createRoleMiningSessions." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($RoleMiningSessionDto -is [array])) { + $LocalVarBodyParameter = $RoleMiningSessionDto | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $RoleMiningSessionDto | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "RoleMiningSessionResponse" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Export (download) details for a potential role in a role mining session + +.DESCRIPTION + +This endpoint downloads a completed export of information for a potential role in a role mining session. + +.PARAMETER SessionId +The role mining session id + +.PARAMETER PotentialRoleId +A potential role id in a role mining session + +.PARAMETER ExportId +The id of a previously run export job for this potential role + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER ReturnType + +Select the return type (optional): application/zip, application/json + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +System.IO.FileInfo +#> +function Invoke-V2024DownloadRoleMiningPotentialRoleZip { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SessionId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${PotentialRoleId}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${ExportId}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [String] + [ValidateSet("application/zip", "application/json")] + $ReturnType, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Invoke-V2024DownloadRoleMiningPotentialRoleZip' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/zip', 'application/json') + + if ($ReturnType) { + # use the return type (MIME) provided by the user + $LocalVarAccepts = @($ReturnType) + } + + $LocalVarUri = '/role-mining-sessions/{sessionId}/potential-roles/{potentialRoleId}/export-async/{exportId}/download' + if (!$SessionId) { + throw "Error! The required parameter `SessionId` missing when calling downloadRoleMiningPotentialRoleZip." + } + $LocalVarUri = $LocalVarUri.replace('{sessionId}', [System.Web.HTTPUtility]::UrlEncode($SessionId)) + if (!$PotentialRoleId) { + throw "Error! The required parameter `PotentialRoleId` missing when calling downloadRoleMiningPotentialRoleZip." + } + $LocalVarUri = $LocalVarUri.replace('{potentialRoleId}', [System.Web.HTTPUtility]::UrlEncode($PotentialRoleId)) + if (!$ExportId) { + throw "Error! The required parameter `ExportId` missing when calling downloadRoleMiningPotentialRoleZip." + } + $LocalVarUri = $LocalVarUri.replace('{exportId}', [System.Web.HTTPUtility]::UrlEncode($ExportId)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling downloadRoleMiningPotentialRoleZip." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "System.IO.FileInfo" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Export (download) details for a potential role in a role mining session + +.DESCRIPTION + +This endpoint downloads all the information for a potential role in a role mining session. Includes identities and entitlements in the potential role. + +.PARAMETER SessionId +The role mining session id + +.PARAMETER PotentialRoleId +A potential role id in a role mining session + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER ReturnType + +Select the return type (optional): application/zip, application/json + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +System.IO.FileInfo +#> +function Export-V2024RoleMiningPotentialRole { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SessionId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${PotentialRoleId}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [String] + [ValidateSet("application/zip", "application/json")] + $ReturnType, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Export-V2024RoleMiningPotentialRole' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/zip', 'application/json') + + if ($ReturnType) { + # use the return type (MIME) provided by the user + $LocalVarAccepts = @($ReturnType) + } + + $LocalVarUri = '/role-mining-sessions/{sessionId}/potential-roles/{potentialRoleId}/export' + if (!$SessionId) { + throw "Error! The required parameter `SessionId` missing when calling exportRoleMiningPotentialRole." + } + $LocalVarUri = $LocalVarUri.replace('{sessionId}', [System.Web.HTTPUtility]::UrlEncode($SessionId)) + if (!$PotentialRoleId) { + throw "Error! The required parameter `PotentialRoleId` missing when calling exportRoleMiningPotentialRole." + } + $LocalVarUri = $LocalVarUri.replace('{potentialRoleId}', [System.Web.HTTPUtility]::UrlEncode($PotentialRoleId)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling exportRoleMiningPotentialRole." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "System.IO.FileInfo" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Asynchronously export details for a potential role in a role mining session and upload to S3 + +.DESCRIPTION + +This endpoint uploads all the information for a potential role in a role mining session to S3 as a downloadable zip archive. Includes identities and entitlements in the potential role. + +.PARAMETER SessionId +The role mining session id + +.PARAMETER PotentialRoleId +A potential role id in a role mining session + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER RoleMiningPotentialRoleExportRequest +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +RoleMiningPotentialRoleExportResponse +#> +function Export-V2024RoleMiningPotentialRoleAsync { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SessionId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${PotentialRoleId}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${RoleMiningPotentialRoleExportRequest}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Export-V2024RoleMiningPotentialRoleAsync' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/role-mining-sessions/{sessionId}/potential-roles/{potentialRoleId}/export-async' + if (!$SessionId) { + throw "Error! The required parameter `SessionId` missing when calling exportRoleMiningPotentialRoleAsync." + } + $LocalVarUri = $LocalVarUri.replace('{sessionId}', [System.Web.HTTPUtility]::UrlEncode($SessionId)) + if (!$PotentialRoleId) { + throw "Error! The required parameter `PotentialRoleId` missing when calling exportRoleMiningPotentialRoleAsync." + } + $LocalVarUri = $LocalVarUri.replace('{potentialRoleId}', [System.Web.HTTPUtility]::UrlEncode($PotentialRoleId)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling exportRoleMiningPotentialRoleAsync." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($RoleMiningPotentialRoleExportRequest -is [array])) { + $LocalVarBodyParameter = $RoleMiningPotentialRoleExportRequest | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $RoleMiningPotentialRoleExportRequest | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "RoleMiningPotentialRoleExportResponse" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Retrieve status of a potential role export job + +.DESCRIPTION + +This endpoint retrieves information about the current status of a potential role export. + +.PARAMETER SessionId +The role mining session id + +.PARAMETER PotentialRoleId +A potential role id in a role mining session + +.PARAMETER ExportId +The id of a previously run export job for this potential role + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +RoleMiningPotentialRoleExportResponse +#> +function Export-V2024RoleMiningPotentialRoleStatus { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SessionId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${PotentialRoleId}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${ExportId}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Export-V2024RoleMiningPotentialRoleStatus' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/role-mining-sessions/{sessionId}/potential-roles/{potentialRoleId}/export-async/{exportId}' + if (!$SessionId) { + throw "Error! The required parameter `SessionId` missing when calling exportRoleMiningPotentialRoleStatus." + } + $LocalVarUri = $LocalVarUri.replace('{sessionId}', [System.Web.HTTPUtility]::UrlEncode($SessionId)) + if (!$PotentialRoleId) { + throw "Error! The required parameter `PotentialRoleId` missing when calling exportRoleMiningPotentialRoleStatus." + } + $LocalVarUri = $LocalVarUri.replace('{potentialRoleId}', [System.Web.HTTPUtility]::UrlEncode($PotentialRoleId)) + if (!$ExportId) { + throw "Error! The required parameter `ExportId` missing when calling exportRoleMiningPotentialRoleStatus." + } + $LocalVarUri = $LocalVarUri.replace('{exportId}', [System.Web.HTTPUtility]::UrlEncode($ExportId)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling exportRoleMiningPotentialRoleStatus." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "RoleMiningPotentialRoleExportResponse" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Retrieves all potential role summaries + +.DESCRIPTION + +Returns all potential role summaries that match the query parameters + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER 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: **createdDate, identityCount, entitlementCount, freshness, quality** + +.PARAMETER 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: **createdById**: *eq, sw, co* **createdByName**: *eq, sw, co* **description**: *sw, co* **endDate**: *le, lt* **freshness**: *eq, ge, gt, le, lt* **name**: *eq, sw, co, ge, gt, le, lt* **quality**: *eq, ge, gt, le, lt* **startDate**: *ge, gt* **saved**: *eq* **type**: *eq, ge, gt, le, lt* **scopingMethod**: *eq* **sessionState**: *eq* **identityAttribute**: *co* + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +RoleMiningPotentialRoleSummary[] +#> +function Get-V2024AllPotentialRoleSummaries { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024AllPotentialRoleSummaries' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/role-mining-potential-roles' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getAllPotentialRoleSummaries." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "RoleMiningPotentialRoleSummary[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Retrieves entitlement popularity distribution for a potential role in a role mining session + +.DESCRIPTION + +This method returns entitlement popularity distribution for a potential role in a role mining session. + +.PARAMETER SessionId +The role mining session id + +.PARAMETER PotentialRoleId +A potential role id in a role mining session + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER IncludeCommonAccess +Boolean determining whether common access entitlements will be included or not + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +System.Collections.Hashtable +#> +function Get-V2024EntitlementDistributionPotentialRole { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SessionId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${PotentialRoleId}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${IncludeCommonAccess}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024EntitlementDistributionPotentialRole' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/role-mining-sessions/{sessionId}/potential-roles/{potentialRoleId}/entitlement-popularity-distribution' + if (!$SessionId) { + throw "Error! The required parameter `SessionId` missing when calling getEntitlementDistributionPotentialRole." + } + $LocalVarUri = $LocalVarUri.replace('{sessionId}', [System.Web.HTTPUtility]::UrlEncode($SessionId)) + if (!$PotentialRoleId) { + throw "Error! The required parameter `PotentialRoleId` missing when calling getEntitlementDistributionPotentialRole." + } + $LocalVarUri = $LocalVarUri.replace('{potentialRoleId}', [System.Web.HTTPUtility]::UrlEncode($PotentialRoleId)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getEntitlementDistributionPotentialRole." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($IncludeCommonAccess) { + $LocalVarQueryParameters['includeCommonAccess'] = $IncludeCommonAccess + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "System.Collections.Hashtable" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Retrieves entitlements for a potential role in a role mining session + +.DESCRIPTION + +This method returns entitlements for a potential role in a role mining session. + +.PARAMETER SessionId +The role mining session id + +.PARAMETER PotentialRoleId +A potential role id in a role mining session + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER IncludeCommonAccess +Boolean determining whether common access entitlements will be included or not + +.PARAMETER 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: **popularity, entitlementName, applicationName** The default sort is **popularity** in descending order. + +.PARAMETER 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: **applicationName**: *sw* **entitlementRef.name**: *sw* + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +RoleMiningEntitlement[] +#> +function Get-V2024EntitlementsPotentialRole { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SessionId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${PotentialRoleId}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${IncludeCommonAccess}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 8, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024EntitlementsPotentialRole' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/role-mining-sessions/{sessionId}/potential-roles/{potentialRoleId}/entitlement-popularities' + if (!$SessionId) { + throw "Error! The required parameter `SessionId` missing when calling getEntitlementsPotentialRole." + } + $LocalVarUri = $LocalVarUri.replace('{sessionId}', [System.Web.HTTPUtility]::UrlEncode($SessionId)) + if (!$PotentialRoleId) { + throw "Error! The required parameter `PotentialRoleId` missing when calling getEntitlementsPotentialRole." + } + $LocalVarUri = $LocalVarUri.replace('{potentialRoleId}', [System.Web.HTTPUtility]::UrlEncode($PotentialRoleId)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getEntitlementsPotentialRole." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($IncludeCommonAccess) { + $LocalVarQueryParameters['includeCommonAccess'] = $IncludeCommonAccess + } + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "RoleMiningEntitlement[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Retrieves excluded entitlements for a potential role in a role mining session + +.DESCRIPTION + +This method returns excluded entitlements for a potential role in a role mining session. + +.PARAMETER SessionId +The role mining session id + +.PARAMETER PotentialRoleId +A potential role id in a role mining session + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER 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: **popularity** + +.PARAMETER 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: **applicationName**: *sw* **entitlementRef.name**: *sw* + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +RoleMiningEntitlement[] +#> +function Get-V2024ExcludedEntitlementsPotentialRole { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SessionId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${PotentialRoleId}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024ExcludedEntitlementsPotentialRole' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/role-mining-sessions/{sessionId}/potential-roles/{potentialRoleId}/excluded-entitlements' + if (!$SessionId) { + throw "Error! The required parameter `SessionId` missing when calling getExcludedEntitlementsPotentialRole." + } + $LocalVarUri = $LocalVarUri.replace('{sessionId}', [System.Web.HTTPUtility]::UrlEncode($SessionId)) + if (!$PotentialRoleId) { + throw "Error! The required parameter `PotentialRoleId` missing when calling getExcludedEntitlementsPotentialRole." + } + $LocalVarUri = $LocalVarUri.replace('{potentialRoleId}', [System.Web.HTTPUtility]::UrlEncode($PotentialRoleId)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getExcludedEntitlementsPotentialRole." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "RoleMiningEntitlement[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Retrieves identities for a potential role in a role mining session + +.DESCRIPTION + +This method returns identities for a potential role in a role mining session. + +.PARAMETER SessionId +The role mining session id + +.PARAMETER PotentialRoleId +A potential role id in a role mining session + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER 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: **name** + +.PARAMETER 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: **name**: *sw* + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +RoleMiningIdentity[] +#> +function Get-V2024IdentitiesPotentialRole { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SessionId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${PotentialRoleId}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024IdentitiesPotentialRole' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/role-mining-sessions/{sessionId}/potential-roles/{potentialRoleId}/identities' + if (!$SessionId) { + throw "Error! The required parameter `SessionId` missing when calling getIdentitiesPotentialRole." + } + $LocalVarUri = $LocalVarUri.replace('{sessionId}', [System.Web.HTTPUtility]::UrlEncode($SessionId)) + if (!$PotentialRoleId) { + throw "Error! The required parameter `PotentialRoleId` missing when calling getIdentitiesPotentialRole." + } + $LocalVarUri = $LocalVarUri.replace('{potentialRoleId}', [System.Web.HTTPUtility]::UrlEncode($PotentialRoleId)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getIdentitiesPotentialRole." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "RoleMiningIdentity[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Retrieves a specific potential role + +.DESCRIPTION + +This method returns a specific potential role for a role mining session. + +.PARAMETER SessionId +The role mining session id + +.PARAMETER PotentialRoleId +A potential role id in a role mining session + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +RoleMiningPotentialRole +#> +function Get-V2024PotentialRole { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SessionId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${PotentialRoleId}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024PotentialRole' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/role-mining-sessions/{sessionId}/potential-role-summaries/{potentialRoleId}' + if (!$SessionId) { + throw "Error! The required parameter `SessionId` missing when calling getPotentialRole." + } + $LocalVarUri = $LocalVarUri.replace('{sessionId}', [System.Web.HTTPUtility]::UrlEncode($SessionId)) + if (!$PotentialRoleId) { + throw "Error! The required parameter `PotentialRoleId` missing when calling getPotentialRole." + } + $LocalVarUri = $LocalVarUri.replace('{potentialRoleId}', [System.Web.HTTPUtility]::UrlEncode($PotentialRoleId)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getPotentialRole." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "RoleMiningPotentialRole" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Retrieves the applications of a potential role for a role mining session + +.DESCRIPTION + +This method returns the applications of a potential role for a role mining session. + +.PARAMETER SessionId +The role mining session id + +.PARAMETER PotentialRoleId +A potential role id in a role mining session + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +RoleMiningPotentialRoleApplication[] +#> +function Get-V2024PotentialRoleApplications { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SessionId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${PotentialRoleId}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024PotentialRoleApplications' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/role-mining-sessions/{sessionId}/potential-role-summaries/{potentialRoleId}/applications' + if (!$SessionId) { + throw "Error! The required parameter `SessionId` missing when calling getPotentialRoleApplications." + } + $LocalVarUri = $LocalVarUri.replace('{sessionId}', [System.Web.HTTPUtility]::UrlEncode($SessionId)) + if (!$PotentialRoleId) { + throw "Error! The required parameter `PotentialRoleId` missing when calling getPotentialRoleApplications." + } + $LocalVarUri = $LocalVarUri.replace('{potentialRoleId}', [System.Web.HTTPUtility]::UrlEncode($PotentialRoleId)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getPotentialRoleApplications." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "RoleMiningPotentialRoleApplication[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Retrieves potential role source usage + +.DESCRIPTION + +This method returns source usageCount (as number of days in the last 90 days) for each identity in a potential role. + +.PARAMETER PotentialRoleId +A potential role id + +.PARAMETER SourceId +A source id + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER Sorters +Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters/) Sorting is supported for the following fields: **displayName, email, usageCount** + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +RoleMiningPotentialRoleSourceUsage[] +#> +function Get-V2024PotentialRoleSourceIdentityUsage { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${PotentialRoleId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SourceId}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024PotentialRoleSourceIdentityUsage' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/role-mining-potential-roles/{potentialRoleId}/sources/{sourceId}/identityUsage' + if (!$PotentialRoleId) { + throw "Error! The required parameter `PotentialRoleId` missing when calling getPotentialRoleSourceIdentityUsage." + } + $LocalVarUri = $LocalVarUri.replace('{potentialRoleId}', [System.Web.HTTPUtility]::UrlEncode($PotentialRoleId)) + if (!$SourceId) { + throw "Error! The required parameter `SourceId` missing when calling getPotentialRoleSourceIdentityUsage." + } + $LocalVarUri = $LocalVarUri.replace('{sourceId}', [System.Web.HTTPUtility]::UrlEncode($SourceId)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getPotentialRoleSourceIdentityUsage." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "RoleMiningPotentialRoleSourceUsage[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Retrieves all potential role summaries + +.DESCRIPTION + +This method returns the potential role summaries for a role mining session. + +.PARAMETER SessionId +The role mining session id + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER 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: **createdDate** + +.PARAMETER 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: **createdById**: *eq, sw, co* **createdByName**: *eq, sw, co* **description**: *sw, co* **endDate**: *le, lt* **freshness**: *eq, ge, gt, le, lt* **name**: *eq, sw, co* **quality**: *eq, ge, gt, le, lt* **startDate**: *ge, gt* **saved**: *eq* **type**: *eq* + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +RoleMiningPotentialRoleSummary[] +#> +function Get-V2024PotentialRoleSummaries { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SessionId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024PotentialRoleSummaries' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/role-mining-sessions/{sessionId}/potential-role-summaries' + if (!$SessionId) { + throw "Error! The required parameter `SessionId` missing when calling getPotentialRoleSummaries." + } + $LocalVarUri = $LocalVarUri.replace('{sessionId}', [System.Web.HTTPUtility]::UrlEncode($SessionId)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getPotentialRoleSummaries." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "RoleMiningPotentialRoleSummary[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Retrieves a specific potential role + +.DESCRIPTION + +This method returns a specific potential role. + +.PARAMETER PotentialRoleId +A potential role id + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +RoleMiningPotentialRole +#> +function Get-V2024RoleMiningPotentialRole { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${PotentialRoleId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024RoleMiningPotentialRole' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/role-mining-potential-roles/{potentialRoleId}' + if (!$PotentialRoleId) { + throw "Error! The required parameter `PotentialRoleId` missing when calling getRoleMiningPotentialRole." + } + $LocalVarUri = $LocalVarUri.replace('{potentialRoleId}', [System.Web.HTTPUtility]::UrlEncode($PotentialRoleId)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getRoleMiningPotentialRole." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "RoleMiningPotentialRole" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get a role mining session + +.DESCRIPTION + +The method retrieves a role mining session. + +.PARAMETER SessionId +The role mining session id to be retrieved. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +RoleMiningSessionResponse +#> +function Get-V2024RoleMiningSession { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SessionId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024RoleMiningSession' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/role-mining-sessions/{sessionId}' + if (!$SessionId) { + throw "Error! The required parameter `SessionId` missing when calling getRoleMiningSession." + } + $LocalVarUri = $LocalVarUri.replace('{sessionId}', [System.Web.HTTPUtility]::UrlEncode($SessionId)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getRoleMiningSession." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "RoleMiningSessionResponse" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get role mining session status state + +.DESCRIPTION + +This method returns a role mining session status for a customer. + +.PARAMETER SessionId +The role mining session id + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +RoleMiningSessionStatus +#> +function Get-V2024RoleMiningSessionStatus { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SessionId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024RoleMiningSessionStatus' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/role-mining-sessions/{sessionId}/status' + if (!$SessionId) { + throw "Error! The required parameter `SessionId` missing when calling getRoleMiningSessionStatus." + } + $LocalVarUri = $LocalVarUri.replace('{sessionId}', [System.Web.HTTPUtility]::UrlEncode($SessionId)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getRoleMiningSessionStatus." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "RoleMiningSessionStatus" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Retrieves all role mining sessions + +.DESCRIPTION + +Returns all role mining sessions that match the query parameters + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER 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: **saved**: *eq* **name**: *eq, sw* + +.PARAMETER 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: **createdBy, createdDate** + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +RoleMiningSessionDto[] +#> +function Get-V2024RoleMiningSessions { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024RoleMiningSessions' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/role-mining-sessions' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getRoleMiningSessions." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "RoleMiningSessionDto[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Retrieves all saved potential roles + +.DESCRIPTION + +This method returns all saved potential roles (draft roles). + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER Sorters +Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters/) Sorting is supported for the following fields: **modified** + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +RoleMiningSessionDraftRoleDto[] +#> +function Get-V2024SavedPotentialRoles { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024SavedPotentialRoles' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/role-mining-potential-roles/saved' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getSavedPotentialRoles." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "RoleMiningSessionDraftRoleDto[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Update a potential role + +.DESCRIPTION + +The method updates an existing potential role using. The following fields can be modified: * `description` * `name` * `saved` >**NOTE: All other fields cannot be modified.** + +.PARAMETER SessionId +The role mining session id + +.PARAMETER PotentialRoleId +The potential role summary id + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER PatchPotentialRoleRequestInner +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SystemCollectionsHashtable +#> +function Update-V2024PotentialRole { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SessionId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${PotentialRoleId}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject[]] + ${PatchPotentialRoleRequestInner}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Update-V2024PotentialRole' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json-patch+json') + + $LocalVarUri = '/role-mining-sessions/{sessionId}/potential-role-summaries/{potentialRoleId}' + if (!$SessionId) { + throw "Error! The required parameter `SessionId` missing when calling patchPotentialRole." + } + $LocalVarUri = $LocalVarUri.replace('{sessionId}', [System.Web.HTTPUtility]::UrlEncode($SessionId)) + if (!$PotentialRoleId) { + throw "Error! The required parameter `PotentialRoleId` missing when calling patchPotentialRole." + } + $LocalVarUri = $LocalVarUri.replace('{potentialRoleId}', [System.Web.HTTPUtility]::UrlEncode($PotentialRoleId)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling patchPotentialRole." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$PatchPotentialRoleRequestInner) { + throw "Error! The required parameter `PatchPotentialRoleRequestInner` missing when calling patchPotentialRole." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($PatchPotentialRoleRequestInner -is [array])) { + $LocalVarBodyParameter = $PatchPotentialRoleRequestInner | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $PatchPotentialRoleRequestInner | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PATCH' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SystemCollectionsHashtable" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Update a potential role + +.DESCRIPTION + +The method updates an existing potential role using. The following fields can be modified: * `description` * `name` * `saved` >**NOTE: All other fields cannot be modified.** + +.PARAMETER SessionId +The role mining session id + +.PARAMETER PotentialRoleId +The potential role summary id + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER PatchPotentialRoleRequestInner +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SystemCollectionsHashtable +#> +function Update-V2024PotentialRole0 { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SessionId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${PotentialRoleId}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject[]] + ${PatchPotentialRoleRequestInner}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Update-V2024PotentialRole0' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json-patch+json') + + $LocalVarUri = '/role-mining-potential-roles/{potentialRoleId}' + if (!$SessionId) { + throw "Error! The required parameter `SessionId` missing when calling patchPotentialRole_0." + } + $LocalVarUri = $LocalVarUri.replace('{sessionId}', [System.Web.HTTPUtility]::UrlEncode($SessionId)) + if (!$PotentialRoleId) { + throw "Error! The required parameter `PotentialRoleId` missing when calling patchPotentialRole_0." + } + $LocalVarUri = $LocalVarUri.replace('{potentialRoleId}', [System.Web.HTTPUtility]::UrlEncode($PotentialRoleId)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling patchPotentialRole_0." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$PatchPotentialRoleRequestInner) { + throw "Error! The required parameter `PatchPotentialRoleRequestInner` missing when calling patchPotentialRole_0." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($PatchPotentialRoleRequestInner -is [array])) { + $LocalVarBodyParameter = $PatchPotentialRoleRequestInner | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $PatchPotentialRoleRequestInner | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PATCH' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SystemCollectionsHashtable" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Patch a role mining session + +.DESCRIPTION + +The method updates an existing role mining session using PATCH. Supports op in {""replace""} and changes to pruneThreshold and/or minNumIdentitiesInPotentialRole. The potential roles in this role mining session is then re-calculated. + +.PARAMETER SessionId +The role mining session id to be patched + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER JsonPatchOperation +Replace pruneThreshold and/or minNumIdentitiesInPotentialRole in role mining session. Update saved status or saved name for a role mining session. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SystemCollectionsHashtable +#> +function Update-V2024RoleMiningSession { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SessionId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject[]] + ${JsonPatchOperation}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Update-V2024RoleMiningSession' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json-patch+json') + + $LocalVarUri = '/role-mining-sessions/{sessionId}' + if (!$SessionId) { + throw "Error! The required parameter `SessionId` missing when calling patchRoleMiningSession." + } + $LocalVarUri = $LocalVarUri.replace('{sessionId}', [System.Web.HTTPUtility]::UrlEncode($SessionId)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling patchRoleMiningSession." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$JsonPatchOperation) { + throw "Error! The required parameter `JsonPatchOperation` missing when calling patchRoleMiningSession." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($JsonPatchOperation -is [array])) { + $LocalVarBodyParameter = $JsonPatchOperation | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $JsonPatchOperation | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PATCH' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SystemCollectionsHashtable" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Edit entitlements for a potential role to exclude some entitlements + +.DESCRIPTION + +This endpoint adds or removes entitlements from an exclusion list for a potential role. + +.PARAMETER SessionId +The role mining session id + +.PARAMETER PotentialRoleId +A potential role id in a role mining session + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER RoleMiningPotentialRoleEditEntitlements +Role mining session parameters + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +RoleMiningPotentialRole +#> +function Update-V2024EntitlementsPotentialRole { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SessionId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${PotentialRoleId}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${RoleMiningPotentialRoleEditEntitlements}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Update-V2024EntitlementsPotentialRole' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/role-mining-sessions/{sessionId}/potential-roles/{potentialRoleId}/edit-entitlements' + if (!$SessionId) { + throw "Error! The required parameter `SessionId` missing when calling updateEntitlementsPotentialRole." + } + $LocalVarUri = $LocalVarUri.replace('{sessionId}', [System.Web.HTTPUtility]::UrlEncode($SessionId)) + if (!$PotentialRoleId) { + throw "Error! The required parameter `PotentialRoleId` missing when calling updateEntitlementsPotentialRole." + } + $LocalVarUri = $LocalVarUri.replace('{potentialRoleId}', [System.Web.HTTPUtility]::UrlEncode($PotentialRoleId)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling updateEntitlementsPotentialRole." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$RoleMiningPotentialRoleEditEntitlements) { + throw "Error! The required parameter `RoleMiningPotentialRoleEditEntitlements` missing when calling updateEntitlementsPotentialRole." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($RoleMiningPotentialRoleEditEntitlements -is [array])) { + $LocalVarBodyParameter = $RoleMiningPotentialRoleEditEntitlements | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $RoleMiningPotentialRoleEditEntitlements | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "RoleMiningPotentialRole" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024IconsApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024IconsApi.ps1 new file mode 100644 index 000000000..98a98e09e --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024IconsApi.ps1 @@ -0,0 +1,211 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Delete an icon + +.DESCRIPTION + +This API endpoint delete an icon by object type and object id. A token with ORG_ADMIN authority is required to call this API. + +.PARAMETER ObjectType +Object type. Available options ['application'] + +.PARAMETER ObjectId +Object id. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Remove-V2024Icon { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${ObjectType}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${ObjectId}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024Icon' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/icons/{objectType}/{objectId}' + if (!$ObjectType) { + throw "Error! The required parameter `ObjectType` missing when calling deleteIcon." + } + $LocalVarUri = $LocalVarUri.replace('{objectType}', [System.Web.HTTPUtility]::UrlEncode($ObjectType)) + if (!$ObjectId) { + throw "Error! The required parameter `ObjectId` missing when calling deleteIcon." + } + $LocalVarUri = $LocalVarUri.replace('{objectId}', [System.Web.HTTPUtility]::UrlEncode($ObjectId)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling deleteIcon." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'DELETE' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Update an icon + +.DESCRIPTION + +This API endpoint updates an icon by object type and object id. A token with ORG_ADMIN authority is required to call this API. + +.PARAMETER ObjectType +Object type. Available options ['application'] + +.PARAMETER ObjectId +Object id. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER Image +file with icon. Allowed mime-types ['image/png', 'image/jpeg'] + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SetIcon200Response +#> +function Set-V2024Icon { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${ObjectType}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${ObjectId}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.IO.FileInfo] + ${Image}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Set-V2024Icon' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('multipart/form-data') + + $LocalVarUri = '/icons/{objectType}/{objectId}' + if (!$ObjectType) { + throw "Error! The required parameter `ObjectType` missing when calling setIcon." + } + $LocalVarUri = $LocalVarUri.replace('{objectType}', [System.Web.HTTPUtility]::UrlEncode($ObjectType)) + if (!$ObjectId) { + throw "Error! The required parameter `ObjectId` missing when calling setIcon." + } + $LocalVarUri = $LocalVarUri.replace('{objectId}', [System.Web.HTTPUtility]::UrlEncode($ObjectId)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling setIcon." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$Image) { + throw "Error! The required parameter `Image` missing when calling setIcon." + } + $LocalVarFormParameters['image'] = $Image + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PUT' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SetIcon200Response" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024IdentitiesApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024IdentitiesApi.ps1 new file mode 100644 index 000000000..c45c48b7a --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024IdentitiesApi.ps1 @@ -0,0 +1,869 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Delete identity + +.DESCRIPTION + +The API returns successful response if the requested identity was deleted. + +.PARAMETER Id +Identity Id + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Remove-V2024Identity { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024Identity' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/identities/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling deleteIdentity." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling deleteIdentity." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'DELETE' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Identity Details + +.DESCRIPTION + +This API returns a single identity using the Identity ID. + +.PARAMETER Id +Identity Id + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +Identity +#> +function Get-V2024Identity { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024Identity' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/identities/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getIdentity." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getIdentity." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "Identity" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get ownership details + +.DESCRIPTION + +Use this API to return an identity's owned objects that will cause problems for deleting the identity. Use this API as a checklist of objects that you need to reassign to a different identity before you can delete the identity. For a full list of objects owned by an identity, use the [Search API](https://developer.sailpoint.com/docs/api/v3/search-post/). When you search for identities, the returned identities have a property, `owns`, that contains a more comprehensive list of identity's owned objects. + +.PARAMETER IdentityId +Identity ID. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +IdentityOwnershipAssociationDetails +#> +function Get-V2024IdentityOwnershipDetails { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${IdentityId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024IdentityOwnershipDetails' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/identities/{identityId}/ownership' + if (!$IdentityId) { + throw "Error! The required parameter `IdentityId` missing when calling getIdentityOwnershipDetails." + } + $LocalVarUri = $LocalVarUri.replace('{identityId}', [System.Web.HTTPUtility]::UrlEncode($IdentityId)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getIdentityOwnershipDetails." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "IdentityOwnershipAssociationDetails" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Role assignment details + +.DESCRIPTION + +No description or notes available. + +.PARAMETER IdentityId +Identity Id + +.PARAMETER AssignmentId +Assignment Id + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +RoleAssignmentDto +#> +function Get-V2024RoleAssignment { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${IdentityId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${AssignmentId}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024RoleAssignment' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/identities/{identityId}/role-assignments/{assignmentId}' + if (!$IdentityId) { + throw "Error! The required parameter `IdentityId` missing when calling getRoleAssignment." + } + $LocalVarUri = $LocalVarUri.replace('{identityId}', [System.Web.HTTPUtility]::UrlEncode($IdentityId)) + if (!$AssignmentId) { + throw "Error! The required parameter `AssignmentId` missing when calling getRoleAssignment." + } + $LocalVarUri = $LocalVarUri.replace('{assignmentId}', [System.Web.HTTPUtility]::UrlEncode($AssignmentId)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getRoleAssignment." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "RoleAssignmentDto" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List role assignments + +.DESCRIPTION + +This returns either a list of Role Assignments when querying with either a Role Id or Role Name, or a list of Role Assignment References if querying with only identity Id. + +.PARAMETER IdentityId +Identity Id to get the role assignments for + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER RoleId +Role Id to filter the role assignments with + +.PARAMETER RoleName +Role name to filter the role assignments with + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +GetRoleAssignments200ResponseInner[] +#> +function Get-V2024RoleAssignments { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${IdentityId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${RoleId}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${RoleName}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024RoleAssignments' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/identities/{identityId}/role-assignments' + if (!$IdentityId) { + throw "Error! The required parameter `IdentityId` missing when calling getRoleAssignments." + } + $LocalVarUri = $LocalVarUri.replace('{identityId}', [System.Web.HTTPUtility]::UrlEncode($IdentityId)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getRoleAssignments." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($RoleId) { + $LocalVarQueryParameters['roleId'] = $RoleId + } + + if ($RoleName) { + $LocalVarQueryParameters['roleName'] = $RoleName + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "GetRoleAssignments200ResponseInner[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List Identities + +.DESCRIPTION + +This API returns a list of identities. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER 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* **alias**: *eq, sw* **firstname**: *eq, sw* **lastname**: *eq, sw* **email**: *eq, sw* **cloudStatus**: *eq* **processingState**: *eq* **correlated**: *eq* **protected**: *eq* + +.PARAMETER 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: **name, alias, cloudStatus** + +.PARAMETER DefaultFilter +Adds additional filter to filters query parameter. CORRELATED_ONLY adds correlated=true and returns only identities that are correlated. NONE does not add any and returns all identities that satisfy filters query parameter. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +Identity[] +#> +function Get-V2024Identities { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [ValidateSet("CORRELATED_ONLY", "NONE")] + [String] + ${DefaultFilter}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024Identities' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/identities' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling listIdentities." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + if ($DefaultFilter) { + $LocalVarQueryParameters['defaultFilter'] = $DefaultFilter + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "Identity[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Reset an identity + +.DESCRIPTION + +Use this endpoint to reset a user's identity if they have forgotten their authentication information like their answers to knowledge-based questions. Resetting an identity de-registers the user and removes any elevated user levels they have. + +.PARAMETER IdentityId +Identity Id + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Reset-V2024Identity { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${IdentityId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Reset-V2024Identity' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/identities/{id}/reset' + if (!$IdentityId) { + throw "Error! The required parameter `IdentityId` missing when calling resetIdentity." + } + $LocalVarUri = $LocalVarUri.replace('{identityId}', [System.Web.HTTPUtility]::UrlEncode($IdentityId)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling resetIdentity." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Process a list of identityIds + +.DESCRIPTION + +This operation should not be used to schedule your own identity processing or to perform system wide identity refreshes. The system will use a combination of [event-based processing](https://documentation.sailpoint.com/saas/help/setup/identity_processing.html?h=process#event-based-processing) and [scheduled processing](https://documentation.sailpoint.com/saas/help/setup/identity_processing.html?h=process#scheduled-processing) that runs every day at 8:00 AM and 8:00 PM in the tenant's timezone to keep your identities synchronized. This endpoint will perform the following tasks: 1. Calculate identity attributes, including applying or running any rules or transforms (e.g. calculate Lifecycle State at a point-in-time it's expected to change). 2. Evaluate role assignments, leading to assignment of new roles and removal of existing roles. 3. Enforce provisioning for any assigned accesses that haven't been fulfilled (e.g. failure due to source health). 4. Recalculate manager relationships. 5. Potentially clean-up identity processing errors, assuming the error has been resolved. A token with ORG_ADMIN or HELPDESK authority is required to call this API. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER ProcessIdentitiesRequest +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +TaskResultResponse +#> +function Start-V2024IdentityProcessing { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${ProcessIdentitiesRequest}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Start-V2024IdentityProcessing' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/identities/process' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling startIdentityProcessing." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$ProcessIdentitiesRequest) { + throw "Error! The required parameter `ProcessIdentitiesRequest` missing when calling startIdentityProcessing." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($ProcessIdentitiesRequest -is [array])) { + $LocalVarBodyParameter = $ProcessIdentitiesRequest | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $ProcessIdentitiesRequest | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "TaskResultResponse" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Attribute synchronization for single identity. + +.DESCRIPTION + +This end-point performs attribute synchronization for a selected identity. The endpoint can be called once in 10 seconds per identity. A token with ORG_ADMIN or API authority is required to call this API. + +.PARAMETER IdentityId +The Identity id + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +IdentitySyncJob +#> +function Sync-V2024hronizeAttributesForIdentity { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${IdentityId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Sync-V2024hronizeAttributesForIdentity' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/identities/{identityId}/synchronize-attributes' + if (!$IdentityId) { + throw "Error! The required parameter `IdentityId` missing when calling synchronizeAttributesForIdentity." + } + $LocalVarUri = $LocalVarUri.replace('{identityId}', [System.Web.HTTPUtility]::UrlEncode($IdentityId)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling synchronizeAttributesForIdentity." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "IdentitySyncJob" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024IdentityAttributesApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024IdentityAttributesApi.ps1 new file mode 100644 index 000000000..873da7ba6 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024IdentityAttributesApi.ps1 @@ -0,0 +1,605 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Create Identity Attribute + +.DESCRIPTION + +Use this API to create a new identity attribute. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER IdentityAttribute +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +IdentityAttribute +#> +function New-V2024IdentityAttribute { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${IdentityAttribute}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: New-V2024IdentityAttribute' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/identity-attributes' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling createIdentityAttribute." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$IdentityAttribute) { + throw "Error! The required parameter `IdentityAttribute` missing when calling createIdentityAttribute." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($IdentityAttribute -is [array])) { + $LocalVarBodyParameter = $IdentityAttribute | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $IdentityAttribute | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "IdentityAttribute" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Delete Identity Attribute + +.DESCRIPTION + +This deletes an identity attribute with the given name. The `system` and `standard` properties must be set to false before you can delete an identity attribute. + +.PARAMETER Name +The attribute's technical name. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Remove-V2024IdentityAttribute { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Name}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024IdentityAttribute' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/identity-attributes/{name}' + if (!$Name) { + throw "Error! The required parameter `Name` missing when calling deleteIdentityAttribute." + } + $LocalVarUri = $LocalVarUri.replace('{name}', [System.Web.HTTPUtility]::UrlEncode($Name)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling deleteIdentityAttribute." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'DELETE' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Bulk delete Identity Attributes + +.DESCRIPTION + +Use this API to bulk delete identity attributes for a given set of names. Attributes that are currently mapped in an identity profile cannot be deleted. The `system` and `standard` properties must be set to 'false' before you can delete an identity attribute. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER IdentityAttributeNames +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Remove-V2024IdentityAttributesInBulk { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${IdentityAttributeNames}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024IdentityAttributesInBulk' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/identity-attributes/bulk-delete' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling deleteIdentityAttributesInBulk." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$IdentityAttributeNames) { + throw "Error! The required parameter `IdentityAttributeNames` missing when calling deleteIdentityAttributesInBulk." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($IdentityAttributeNames -is [array])) { + $LocalVarBodyParameter = $IdentityAttributeNames | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $IdentityAttributeNames | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'DELETE' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get Identity Attribute + +.DESCRIPTION + +This gets an identity attribute for a given technical name. + +.PARAMETER Name +The attribute's technical name. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +IdentityAttribute +#> +function Get-V2024IdentityAttribute { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Name}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024IdentityAttribute' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/identity-attributes/{name}' + if (!$Name) { + throw "Error! The required parameter `Name` missing when calling getIdentityAttribute." + } + $LocalVarUri = $LocalVarUri.replace('{name}', [System.Web.HTTPUtility]::UrlEncode($Name)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getIdentityAttribute." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "IdentityAttribute" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List Identity Attributes + +.DESCRIPTION + +Use this API to get a collection of identity attributes. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER IncludeSystem +Include 'system' attributes in the response. + +.PARAMETER IncludeSilent +Include 'silent' attributes in the response. + +.PARAMETER SearchableOnly +Include only 'searchable' attributes in the response. + +.PARAMETER 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. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +IdentityAttribute[] +#> +function Get-V2024IdentityAttributes { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${IncludeSystem}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${IncludeSilent}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${SearchableOnly}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024IdentityAttributes' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/identity-attributes' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling listIdentityAttributes." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($IncludeSystem) { + $LocalVarQueryParameters['includeSystem'] = $IncludeSystem + } + + if ($IncludeSilent) { + $LocalVarQueryParameters['includeSilent'] = $IncludeSilent + } + + if ($SearchableOnly) { + $LocalVarQueryParameters['searchableOnly'] = $SearchableOnly + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "IdentityAttribute[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Update Identity Attribute + +.DESCRIPTION + +This updates an existing identity attribute. Making an attribute searchable requires that the `system`, `standard`, and `multi` properties be set to false. + +.PARAMETER Name +The attribute's technical name. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER IdentityAttribute +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +IdentityAttribute +#> +function Send-V2024IdentityAttribute { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Name}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${IdentityAttribute}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Send-V2024IdentityAttribute' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/identity-attributes/{name}' + if (!$Name) { + throw "Error! The required parameter `Name` missing when calling putIdentityAttribute." + } + $LocalVarUri = $LocalVarUri.replace('{name}', [System.Web.HTTPUtility]::UrlEncode($Name)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling putIdentityAttribute." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$IdentityAttribute) { + throw "Error! The required parameter `IdentityAttribute` missing when calling putIdentityAttribute." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($IdentityAttribute -is [array])) { + $LocalVarBodyParameter = $IdentityAttribute | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $IdentityAttribute | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PUT' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "IdentityAttribute" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024IdentityHistoryApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024IdentityHistoryApi.ps1 new file mode 100644 index 000000000..55bb58c9b --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024IdentityHistoryApi.ps1 @@ -0,0 +1,1324 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Gets a difference of count for each access item types for the given identity between 2 snapshots + +.DESCRIPTION + +This method gets a difference of count for each access item types for the given identity between 2 snapshots Requires authorization scope of 'idn:identity-history:read' + +.PARAMETER Id +The identity id + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER Snapshot1 +The snapshot 1 of identity + +.PARAMETER Snapshot2 +The snapshot 2 of identity + +.PARAMETER AccessItemTypes +An optional list of access item types (app, account, entitlement, etc...) to return. If null or empty, all access items types are returned + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +IdentityCompareResponse[] +#> +function Compare-V2024IdentitySnapshots { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Snapshot1}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Snapshot2}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String[]] + ${AccessItemTypes}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Compare-V2024IdentitySnapshots' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/historical-identities/{id}/compare' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling compareIdentitySnapshots." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling compareIdentitySnapshots." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($Snapshot1) { + $LocalVarQueryParameters['snapshot1'] = $Snapshot1 + } + + if ($Snapshot2) { + $LocalVarQueryParameters['snapshot2'] = $Snapshot2 + } + + if ($AccessItemTypes) { + $LocalVarQueryParameters['accessItemTypes'] = $AccessItemTypes + } + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "IdentityCompareResponse[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Gets a list of differences of specific accessType for the given identity between 2 snapshots + +.DESCRIPTION + +This method gets a list of differences of specific accessType for the given identity between 2 snapshots Requires authorization scope of 'idn:identity-history:read' + +.PARAMETER Id +The identity id + +.PARAMETER AccessType +The specific type which needs to be compared + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER AccessAssociated +Indicates if added or removed access needs to be returned. true - added, false - removed, null - both added & removed + +.PARAMETER Snapshot1 +The snapshot 1 of identity + +.PARAMETER Snapshot2 +The snapshot 2 of identity + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +AccessItemDiff[] +#> +function Compare-V2024IdentitySnapshotsAccessType { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${AccessType}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${AccessAssociated}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Snapshot1}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Snapshot2}, + [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 8, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Compare-V2024IdentitySnapshotsAccessType' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/historical-identities/{id}/compare/{access-type}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling compareIdentitySnapshotsAccessType." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + if (!$AccessType) { + throw "Error! The required parameter `AccessType` missing when calling compareIdentitySnapshotsAccessType." + } + $LocalVarUri = $LocalVarUri.replace('{accessType}', [System.Web.HTTPUtility]::UrlEncode($AccessType)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling compareIdentitySnapshotsAccessType." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($AccessAssociated) { + $LocalVarQueryParameters['access-associated'] = $AccessAssociated + } + + if ($Snapshot1) { + $LocalVarQueryParameters['snapshot1'] = $Snapshot1 + } + + if ($Snapshot2) { + $LocalVarQueryParameters['snapshot2'] = $Snapshot2 + } + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "AccessItemDiff[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get latest snapshot of identity + +.DESCRIPTION + +This method retrieves a specified identity Requires authorization scope of 'idn:identity-history:read' + +.PARAMETER Id +The identity id + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +IdentityHistoryResponse +#> +function Get-V2024HistoricalIdentity { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024HistoricalIdentity' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/historical-identities/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getHistoricalIdentity." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getHistoricalIdentity." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "IdentityHistoryResponse" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Lists all events for the given identity + +.DESCRIPTION + +This method retrieves all access events for the identity Requires authorization scope of 'idn:identity-history:read' + +.PARAMETER Id +The identity id + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER From +The optional instant until which access events are returned + +.PARAMETER EventTypes +An optional list of event types to return. If null or empty, all events are returned + +.PARAMETER AccessItemTypes +An optional list of access item types (app, account, entitlement, etc...) to return. If null or empty, all access items types are returned + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +GetHistoricalIdentityEvents200ResponseInner[] +#> +function Get-V2024HistoricalIdentityEvents { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${From}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String[]] + ${EventTypes}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String[]] + ${AccessItemTypes}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024HistoricalIdentityEvents' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/historical-identities/{id}/events' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getHistoricalIdentityEvents." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getHistoricalIdentityEvents." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($From) { + $LocalVarQueryParameters['from'] = $From + } + + if ($EventTypes) { + $LocalVarQueryParameters['eventTypes'] = $EventTypes + } + + if ($AccessItemTypes) { + $LocalVarQueryParameters['accessItemTypes'] = $AccessItemTypes + } + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "GetHistoricalIdentityEvents200ResponseInner[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Gets an identity snapshot at a given date + +.DESCRIPTION + +This method retrieves a specified identity snapshot at a given date Requires authorization scope of 'idn:identity-history:read' + +.PARAMETER Id +The identity id + +.PARAMETER Date +The specified date + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +IdentityHistoryResponse +#> +function Get-V2024IdentitySnapshot { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Date}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024IdentitySnapshot' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/historical-identities/{id}/snapshots/{date}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getIdentitySnapshot." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + if (!$Date) { + throw "Error! The required parameter `Date` missing when calling getIdentitySnapshot." + } + $LocalVarUri = $LocalVarUri.replace('{date}', [System.Web.HTTPUtility]::UrlEncode($Date)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getIdentitySnapshot." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "IdentityHistoryResponse" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Gets the summary for the event count for a specific identity + +.DESCRIPTION + +This method gets the summary for the event count for a specific identity by month/day Requires authorization scope of 'idn:identity-history:read' + +.PARAMETER Id +The identity id + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER Before +The date before which snapshot summary is required + +.PARAMETER Interval +The interval indicating day or month. Defaults to month if not specified + +.PARAMETER TimeZone +The time zone. Defaults to UTC if not provided + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +MetricResponse[] +#> +function Get-V2024IdentitySnapshotSummary { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Before}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [ValidateSet("day", "month")] + [String] + ${Interval}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${TimeZone}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024IdentitySnapshotSummary' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/historical-identities/{id}/snapshot-summary' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getIdentitySnapshotSummary." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getIdentitySnapshotSummary." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($Before) { + $LocalVarQueryParameters['before'] = $Before + } + + if ($Interval) { + $LocalVarQueryParameters['interval'] = $Interval + } + + if ($TimeZone) { + $LocalVarQueryParameters['time-zone'] = $TimeZone + } + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "MetricResponse[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Gets the start date of the identity + +.DESCRIPTION + +This method retrieves start date of the identity Requires authorization scope of 'idn:identity-history:read' + +.PARAMETER Id +The identity id + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +String +#> +function Get-V2024IdentityStartDate { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024IdentityStartDate' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/historical-identities/{id}/start-date' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getIdentityStartDate." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getIdentityStartDate." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "String" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Lists all the identities + +.DESCRIPTION + +This gets the list of identities for the customer. This list end point does not support count=true request param. The total count of identities would never be returned even if the count param is specified in the request Requires authorization scope of 'idn:identity-history:read' + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER StartsWithQuery +This param is used for starts-with search for first, last and display name of the identity + +.PARAMETER IsDeleted +Indicates if we want to only list down deleted identities or not. + +.PARAMETER IsActive +Indicates if we want to only list active or inactive identities. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +IdentityListItem[] +#> +function Get-V2024HistoricalIdentities { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${StartsWithQuery}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${IsDeleted}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${IsActive}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024HistoricalIdentities' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/historical-identities' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling listHistoricalIdentities." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($StartsWithQuery) { + $LocalVarQueryParameters['starts-with-query'] = $StartsWithQuery + } + + if ($IsDeleted) { + $LocalVarQueryParameters['is-deleted'] = $IsDeleted + } + + if ($IsActive) { + $LocalVarQueryParameters['is-active'] = $IsActive + } + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "IdentityListItem[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Gets a list of access items for the identity filtered by item type + +.DESCRIPTION + +This method retrieves a list of access item for the identity filtered by the access item type Requires authorization scope of 'idn:identity-history:read' + +.PARAMETER Id +The identity id + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER Type +The type of access item for the identity. If not provided, it defaults to account + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ListIdentityAccessItems200ResponseInner[] +#> +function Get-V2024IdentityAccessItems { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Type}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024IdentityAccessItems' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/historical-identities/{id}/access-items' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling listIdentityAccessItems." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling listIdentityAccessItems." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($Type) { + $LocalVarQueryParameters['type'] = $Type + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ListIdentityAccessItems200ResponseInner[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Gets the list of identity access items at a given date filterd by item type + +.DESCRIPTION + +This method retrieves the list of identity access items at a given date filterd by item type Requires authorization scope of 'idn:identity-history:read' + +.PARAMETER Id +The identity id + +.PARAMETER Date +The specified date + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER Type +The access item type + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ListIdentityAccessItems200ResponseInner[] +#> +function Get-V2024IdentitySnapshotAccessItems { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Date}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Type}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024IdentitySnapshotAccessItems' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/historical-identities/{id}/snapshots/{date}/access-items' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling listIdentitySnapshotAccessItems." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + if (!$Date) { + throw "Error! The required parameter `Date` missing when calling listIdentitySnapshotAccessItems." + } + $LocalVarUri = $LocalVarUri.replace('{date}', [System.Web.HTTPUtility]::UrlEncode($Date)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling listIdentitySnapshotAccessItems." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($Type) { + $LocalVarQueryParameters['type'] = $Type + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ListIdentityAccessItems200ResponseInner[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Lists all the snapshots for the identity + +.DESCRIPTION + +This method retrieves all the snapshots for the identity Requires authorization scope of 'idn:identity-history:read' + +.PARAMETER Id +The identity id + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER Start +The specified start date + +.PARAMETER Interval +The interval indicating the range in day or month for the specified interval-name + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +IdentitySnapshotSummaryResponse[] +#> +function Get-V2024IdentitySnapshots { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Start}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [ValidateSet("day", "month")] + [String] + ${Interval}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024IdentitySnapshots' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/historical-identities/{id}/snapshots' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling listIdentitySnapshots." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling listIdentitySnapshots." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($Start) { + $LocalVarQueryParameters['start'] = $Start + } + + if ($Interval) { + $LocalVarQueryParameters['interval'] = $Interval + } + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "IdentitySnapshotSummaryResponse[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024IdentityProfilesApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024IdentityProfilesApi.ps1 new file mode 100644 index 000000000..956464a01 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024IdentityProfilesApi.ps1 @@ -0,0 +1,991 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Create an Identity Profile + +.DESCRIPTION + +This creates an Identity Profile. A token with ORG_ADMIN authority is required to call this API to create an Identity Profile. + +.PARAMETER IdentityProfile +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +IdentityProfile +#> +function New-V2024IdentityProfile { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${IdentityProfile}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: New-V2024IdentityProfile' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/identity-profiles' + + if (!$IdentityProfile) { + throw "Error! The required parameter `IdentityProfile` missing when calling createIdentityProfile." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($IdentityProfile -is [array])) { + $LocalVarBodyParameter = $IdentityProfile | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $IdentityProfile | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "IdentityProfile" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Delete an Identity Profile + +.DESCRIPTION + +This deletes an Identity Profile based on ID. On success, this endpoint will return a reference to the bulk delete task result. A token with ORG_ADMIN authority is required to call this API. The following rights are required to access this endpoint: idn:identity-profile:delete + +.PARAMETER IdentityProfileId +The Identity Profile ID. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +TaskResultSimplified +#> +function Remove-V2024IdentityProfile { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${IdentityProfileId}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024IdentityProfile' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/identity-profiles/{identity-profile-id}' + if (!$IdentityProfileId) { + throw "Error! The required parameter `IdentityProfileId` missing when calling deleteIdentityProfile." + } + $LocalVarUri = $LocalVarUri.replace('{identity-profile-id}', [System.Web.HTTPUtility]::UrlEncode($IdentityProfileId)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'DELETE' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "TaskResultSimplified" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Delete Identity Profiles + +.DESCRIPTION + +This deletes multiple Identity Profiles via a list of supplied IDs. On success, this endpoint will return a reference to the bulk delete task result. A token with ORG_ADMIN authority is required to call this API. The following rights are required to access this endpoint: idn:identity-profile:delete + +.PARAMETER RequestBody +Identity Profile bulk delete request body. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +TaskResultSimplified +#> +function Remove-V2024IdentityProfiles { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String[]] + ${RequestBody}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024IdentityProfiles' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/identity-profiles/bulk-delete' + + if (!$RequestBody) { + throw "Error! The required parameter `RequestBody` missing when calling deleteIdentityProfiles." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($RequestBody -is [array])) { + $LocalVarBodyParameter = $RequestBody | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $RequestBody | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "TaskResultSimplified" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Export Identity Profiles + +.DESCRIPTION + +This exports existing identity profiles in the format specified by the sp-config service. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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, ne* **name**: *eq, ne* **priority**: *eq, ne* + +.PARAMETER 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, priority** + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +IdentityProfileExportedObject[] +#> +function Export-V2024IdentityProfiles { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Export-V2024IdentityProfiles' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/identity-profiles/export' + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "IdentityProfileExportedObject[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get default Identity Attribute Config + +.DESCRIPTION + +This returns the default identity attribute config. A token with ORG_ADMIN authority is required to call this API to get the default identity attribute config. + +.PARAMETER IdentityProfileId +The Identity Profile ID. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +IdentityAttributeConfig +#> +function Get-V2024DefaultIdentityAttributeConfig { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${IdentityProfileId}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024DefaultIdentityAttributeConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/identity-profiles/{identity-profile-id}/default-identity-attribute-config' + if (!$IdentityProfileId) { + throw "Error! The required parameter `IdentityProfileId` missing when calling getDefaultIdentityAttributeConfig." + } + $LocalVarUri = $LocalVarUri.replace('{identity-profile-id}', [System.Web.HTTPUtility]::UrlEncode($IdentityProfileId)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "IdentityAttributeConfig" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get single Identity Profile + +.DESCRIPTION + +This returns a single Identity Profile based on ID. A token with ORG_ADMIN or API authority is required to call this API. + +.PARAMETER IdentityProfileId +The Identity Profile ID. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +IdentityProfile +#> +function Get-V2024IdentityProfile { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${IdentityProfileId}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024IdentityProfile' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/identity-profiles/{identity-profile-id}' + if (!$IdentityProfileId) { + throw "Error! The required parameter `IdentityProfileId` missing when calling getIdentityProfile." + } + $LocalVarUri = $LocalVarUri.replace('{identity-profile-id}', [System.Web.HTTPUtility]::UrlEncode($IdentityProfileId)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "IdentityProfile" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Import Identity Profiles + +.DESCRIPTION + +This imports previously exported identity profiles. + +.PARAMETER IdentityProfileExportedObject +Previously exported Identity Profiles. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ObjectImportResult +#> +function Import-V2024IdentityProfiles { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject[]] + ${IdentityProfileExportedObject}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Import-V2024IdentityProfiles' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/identity-profiles/import' + + if (!$IdentityProfileExportedObject) { + throw "Error! The required parameter `IdentityProfileExportedObject` missing when calling importIdentityProfiles." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($IdentityProfileExportedObject -is [array])) { + $LocalVarBodyParameter = $IdentityProfileExportedObject | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $IdentityProfileExportedObject | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ObjectImportResult" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Identity Profiles List + +.DESCRIPTION + +This returns a list of Identity Profiles based on the specified query parameters. A token with ORG_ADMIN or API authority is required to call this API to get a list of Identity Profiles. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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, ne, ge, gt, in, le, lt, isnull, sw* **name**: *eq, ne, in, le, lt, isnull, sw* **priority**: *eq, ne* + +.PARAMETER 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, priority, created, modified, owner.id, owner.name** + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +IdentityProfile[] +#> +function Get-V2024IdentityProfiles { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024IdentityProfiles' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/identity-profiles' + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "IdentityProfile[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Generate Identity Profile Preview + +.DESCRIPTION + +Use this API to generate a non-persisted preview of the identity object after applying `IdentityAttributeConfig` sent in request body. This API only allows `accountAttribute`, `reference` and `rule` transform types in the `IdentityAttributeConfig` sent in the request body. A token with ORG_ADMIN authority is required to call this API to generate an identity preview. + +.PARAMETER IdentityPreviewRequest +Identity Preview request body. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +IdentityPreviewResponse +#> +function Show-V2024IdentityPreview { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${IdentityPreviewRequest}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Show-V2024IdentityPreview' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/identity-profiles/identity-preview' + + if (!$IdentityPreviewRequest) { + throw "Error! The required parameter `IdentityPreviewRequest` missing when calling showIdentityPreview." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($IdentityPreviewRequest -is [array])) { + $LocalVarBodyParameter = $IdentityPreviewRequest | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $IdentityPreviewRequest | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "IdentityPreviewResponse" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Process identities under profile + +.DESCRIPTION + +Process identities under the profile This operation should not be used to schedule your own identity processing or to perform system wide identity refreshes. The system will use a combination of [event-based processing](https://documentation.sailpoint.com/saas/help/setup/identity_processing.html?h=process#event-based-processing) and [scheduled processing](https://documentation.sailpoint.com/saas/help/setup/identity_processing.html?h=process#scheduled-processing) that runs every day at 8:00 AM and 8:00 PM in the tenant's timezone to keep your identities synchronized. This should only be run on identity profiles that have the `identityRefreshRequired` attribute set to `true`. If `identityRefreshRequired` is false, then there is no benefit to running this operation. Typically, this operation is performed when a change is made to the identity profile or its related lifecycle states that requires a refresh. This operation will perform the following activities on all identities under the identity profile. 1. Updates identity attribute according to the identity profile mappings. 2. Determines the identity's correct manager through manager correlation. 3. Updates the identity's access according to their assigned lifecycle state. 4. Updates the identity's access based on role assignment criteria. A token with ORG_ADMIN authority is required to call this API. + +.PARAMETER IdentityProfileId +The Identity Profile ID to be processed + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SystemCollectionsHashtable +#> +function Sync-V2024IdentityProfile { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${IdentityProfileId}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Sync-V2024IdentityProfile' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/identity-profiles/{identity-profile-id}/process-identities' + if (!$IdentityProfileId) { + throw "Error! The required parameter `IdentityProfileId` missing when calling syncIdentityProfile." + } + $LocalVarUri = $LocalVarUri.replace('{identity-profile-id}', [System.Web.HTTPUtility]::UrlEncode($IdentityProfileId)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SystemCollectionsHashtable" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Update the Identity Profile + +.DESCRIPTION + +This updates the specified Identity Profile. A token with ORG_ADMIN authority is required to call this API to update the Identity Profile. Some fields of the Schema cannot be updated. These fields are listed below: * id * name * created * modified * identityCount * identityRefreshRequired * Authoritative Source and Identity Attribute Configuration cannot be modified at once. + +.PARAMETER IdentityProfileId +The Identity Profile ID + +.PARAMETER JsonPatchOperation +A list of Identity Profile update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +IdentityProfile +#> +function Update-V2024IdentityProfile { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${IdentityProfileId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject[]] + ${JsonPatchOperation}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Update-V2024IdentityProfile' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json-patch+json') + + $LocalVarUri = '/identity-profiles/{identity-profile-id}' + if (!$IdentityProfileId) { + throw "Error! The required parameter `IdentityProfileId` missing when calling updateIdentityProfile." + } + $LocalVarUri = $LocalVarUri.replace('{identity-profile-id}', [System.Web.HTTPUtility]::UrlEncode($IdentityProfileId)) + + if (!$JsonPatchOperation) { + throw "Error! The required parameter `JsonPatchOperation` missing when calling updateIdentityProfile." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($JsonPatchOperation -is [array])) { + $LocalVarBodyParameter = $JsonPatchOperation | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $JsonPatchOperation | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PATCH' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "IdentityProfile" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024LifecycleStatesApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024LifecycleStatesApi.ps1 new file mode 100644 index 000000000..546e5b0a8 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024LifecycleStatesApi.ps1 @@ -0,0 +1,599 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Create Lifecycle State + +.DESCRIPTION + +Use this endpoint to create a lifecycle state. A token with ORG_ADMIN or API authority is required to call this API. + +.PARAMETER IdentityProfileId +Identity profile ID. + +.PARAMETER LifecycleState +Lifecycle state to be created. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +LifecycleState +#> +function New-V2024LifecycleState { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${IdentityProfileId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${LifecycleState}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: New-V2024LifecycleState' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/identity-profiles/{identity-profile-id}/lifecycle-states' + if (!$IdentityProfileId) { + throw "Error! The required parameter `IdentityProfileId` missing when calling createLifecycleState." + } + $LocalVarUri = $LocalVarUri.replace('{identity-profile-id}', [System.Web.HTTPUtility]::UrlEncode($IdentityProfileId)) + + if (!$LifecycleState) { + throw "Error! The required parameter `LifecycleState` missing when calling createLifecycleState." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($LifecycleState -is [array])) { + $LocalVarBodyParameter = $LifecycleState | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $LifecycleState | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "LifecycleState" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Delete Lifecycle State + +.DESCRIPTION + +Use this endpoint to delete the lifecycle state by its ID. A token with API, or ORG_ADMIN authority is required to call this API. + +.PARAMETER IdentityProfileId +Identity profile ID. + +.PARAMETER LifecycleStateId +Lifecycle state ID. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +LifecyclestateDeleted +#> +function Remove-V2024LifecycleState { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${IdentityProfileId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${LifecycleStateId}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024LifecycleState' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/identity-profiles/{identity-profile-id}/lifecycle-states/{lifecycle-state-id}' + if (!$IdentityProfileId) { + throw "Error! The required parameter `IdentityProfileId` missing when calling deleteLifecycleState." + } + $LocalVarUri = $LocalVarUri.replace('{identity-profile-id}', [System.Web.HTTPUtility]::UrlEncode($IdentityProfileId)) + if (!$LifecycleStateId) { + throw "Error! The required parameter `LifecycleStateId` missing when calling deleteLifecycleState." + } + $LocalVarUri = $LocalVarUri.replace('{lifecycle-state-id}', [System.Web.HTTPUtility]::UrlEncode($LifecycleStateId)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'DELETE' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "LifecyclestateDeleted" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get Lifecycle State + +.DESCRIPTION + +Use this endpoint to get a lifecycle state by its ID and its associated identity profile ID. A token with ORG_ADMIN or API authority is required to call this API. + +.PARAMETER IdentityProfileId +Identity profile ID. + +.PARAMETER LifecycleStateId +Lifecycle state ID. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +LifecycleState +#> +function Get-V2024LifecycleState { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${IdentityProfileId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${LifecycleStateId}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024LifecycleState' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/identity-profiles/{identity-profile-id}/lifecycle-states/{lifecycle-state-id}' + if (!$IdentityProfileId) { + throw "Error! The required parameter `IdentityProfileId` missing when calling getLifecycleState." + } + $LocalVarUri = $LocalVarUri.replace('{identity-profile-id}', [System.Web.HTTPUtility]::UrlEncode($IdentityProfileId)) + if (!$LifecycleStateId) { + throw "Error! The required parameter `LifecycleStateId` missing when calling getLifecycleState." + } + $LocalVarUri = $LocalVarUri.replace('{lifecycle-state-id}', [System.Web.HTTPUtility]::UrlEncode($LifecycleStateId)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "LifecycleState" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Lists LifecycleStates + +.DESCRIPTION + +Use this endpoint to list all lifecycle states by their associated identity profiles. A token with API, or ORG_ADMIN authority is required to call this API. + +.PARAMETER IdentityProfileId +Identity profile ID. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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: **created, modified** + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +LifecycleState[] +#> +function Get-V2024LifecycleStates { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${IdentityProfileId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024LifecycleStates' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/identity-profiles/{identity-profile-id}/lifecycle-states' + if (!$IdentityProfileId) { + throw "Error! The required parameter `IdentityProfileId` missing when calling getLifecycleStates." + } + $LocalVarUri = $LocalVarUri.replace('{identity-profile-id}', [System.Web.HTTPUtility]::UrlEncode($IdentityProfileId)) + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "LifecycleState[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Set Lifecycle State + +.DESCRIPTION + +Use this API to set/update an identity's lifecycle state to the one provided and update the corresponding identity profile. A token with ORG_ADMIN or API authority and the appropriate user context is required to call this API. + +.PARAMETER IdentityId +ID of the identity to update. + +.PARAMETER SetLifecycleStateRequest +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SetLifecycleState200Response +#> +function Set-V2024LifecycleState { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${IdentityId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${SetLifecycleStateRequest}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Set-V2024LifecycleState' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/identities/{identity-id}/set-lifecycle-state' + if (!$IdentityId) { + throw "Error! The required parameter `IdentityId` missing when calling setLifecycleState." + } + $LocalVarUri = $LocalVarUri.replace('{identity-id}', [System.Web.HTTPUtility]::UrlEncode($IdentityId)) + + if (!$SetLifecycleStateRequest) { + throw "Error! The required parameter `SetLifecycleStateRequest` missing when calling setLifecycleState." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($SetLifecycleStateRequest -is [array])) { + $LocalVarBodyParameter = $SetLifecycleStateRequest | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $SetLifecycleStateRequest | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SetLifecycleState200Response" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Update Lifecycle State + +.DESCRIPTION + +Use this endpoint to update individual lifecycle state fields, using the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. A token with ORG_ADMIN or API authority is required to call this API. + +.PARAMETER IdentityProfileId +Identity profile ID. + +.PARAMETER LifecycleStateId +Lifecycle state ID. + +.PARAMETER JsonPatchOperation +A list of lifecycle state update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. The following fields can be updated: * enabled * description * accountActions * accessProfileIds * emailNotificationOption + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +LifecycleState +#> +function Update-V2024LifecycleStates { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${IdentityProfileId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${LifecycleStateId}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject[]] + ${JsonPatchOperation}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Update-V2024LifecycleStates' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json-patch+json') + + $LocalVarUri = '/identity-profiles/{identity-profile-id}/lifecycle-states/{lifecycle-state-id}' + if (!$IdentityProfileId) { + throw "Error! The required parameter `IdentityProfileId` missing when calling updateLifecycleStates." + } + $LocalVarUri = $LocalVarUri.replace('{identity-profile-id}', [System.Web.HTTPUtility]::UrlEncode($IdentityProfileId)) + if (!$LifecycleStateId) { + throw "Error! The required parameter `LifecycleStateId` missing when calling updateLifecycleStates." + } + $LocalVarUri = $LocalVarUri.replace('{lifecycle-state-id}', [System.Web.HTTPUtility]::UrlEncode($LifecycleStateId)) + + if (!$JsonPatchOperation) { + throw "Error! The required parameter `JsonPatchOperation` missing when calling updateLifecycleStates." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($JsonPatchOperation -is [array])) { + $LocalVarBodyParameter = $JsonPatchOperation | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $JsonPatchOperation | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PATCH' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "LifecycleState" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024MFAConfigurationApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024MFAConfigurationApi.ps1 new file mode 100644 index 000000000..44d348702 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024MFAConfigurationApi.ps1 @@ -0,0 +1,553 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Configuration of Duo MFA method + +.DESCRIPTION + +This API returns the configuration of an Duo MFA method. A token with ORG_ADMIN authority is required to call this API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +MfaDuoConfig +#> +function Get-V2024MFADuoConfig { + [CmdletBinding()] + Param ( + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024MFADuoConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/mfa/duo-web/config' + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "MfaDuoConfig" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Configuration of KBA MFA method + +.DESCRIPTION + +This API returns the KBA configuration for MFA. A token with USER or ORG_ADMIN authority is required to call this API. + +.PARAMETER AllLanguages +Indicator whether the question text should be returned in all configured languages * If true, the question text is returned in all languages that it is configured in. * If false, the question text is returned in the user locale if available, else for the default locale. * If not passed, it behaves the same way as passing this parameter as false + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +KbaQuestion[] +#> +function Get-V2024MFAKbaConfig { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${AllLanguages}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024MFAKbaConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/mfa/kba/config' + + if ($AllLanguages) { + $LocalVarQueryParameters['allLanguages'] = $AllLanguages + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "KbaQuestion[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Configuration of Okta MFA method + +.DESCRIPTION + +This API returns the configuration of an Okta MFA method. A token with ORG_ADMIN authority is required to call this API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +MfaOktaConfig +#> +function Get-V2024MFAOktaConfig { + [CmdletBinding()] + Param ( + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024MFAOktaConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/mfa/okta-verify/config' + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "MfaOktaConfig" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Set Duo MFA configuration + +.DESCRIPTION + +This API sets the configuration of an Duo MFA method. A token with ORG_ADMIN authority is required to call this API. + +.PARAMETER MfaDuoConfig +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +MfaDuoConfig +#> +function Set-V2024MFADuoConfig { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${MfaDuoConfig}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Set-V2024MFADuoConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/mfa/duo-web/config' + + if (!$MfaDuoConfig) { + throw "Error! The required parameter `MfaDuoConfig` missing when calling setMFADuoConfig." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($MfaDuoConfig -is [array])) { + $LocalVarBodyParameter = $MfaDuoConfig | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $MfaDuoConfig | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PUT' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "MfaDuoConfig" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Set MFA KBA configuration + +.DESCRIPTION + +This API sets answers to challenge questions. Any configured questions omitted from the request are removed from user KBA configuration. A token with USER authority is required to call this API. + +.PARAMETER KbaAnswerRequestItem +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +KbaAnswerResponseItem[] +#> +function Set-V2024MFAKBAConfig { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject[]] + ${KbaAnswerRequestItem}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Set-V2024MFAKBAConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/mfa/kba/config/answers' + + if (!$KbaAnswerRequestItem) { + throw "Error! The required parameter `KbaAnswerRequestItem` missing when calling setMFAKBAConfig." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($KbaAnswerRequestItem -is [array])) { + $LocalVarBodyParameter = $KbaAnswerRequestItem | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $KbaAnswerRequestItem | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "KbaAnswerResponseItem[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Set Okta MFA configuration + +.DESCRIPTION + +This API sets the configuration of an Okta MFA method. A token with ORG_ADMIN authority is required to call this API. + +.PARAMETER MfaOktaConfig +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +MfaOktaConfig +#> +function Set-V2024MFAOktaConfig { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${MfaOktaConfig}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Set-V2024MFAOktaConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/mfa/okta-verify/config' + + if (!$MfaOktaConfig) { + throw "Error! The required parameter `MfaOktaConfig` missing when calling setMFAOktaConfig." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($MfaOktaConfig -is [array])) { + $LocalVarBodyParameter = $MfaOktaConfig | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $MfaOktaConfig | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PUT' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "MfaOktaConfig" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +MFA method's test configuration + +.DESCRIPTION + +This API validates that the configuration is valid and will properly authenticate with the MFA provider identified by the method path parameter. A token with ORG_ADMIN authority is required to call this API. + +.PARAMETER Method +The name of the MFA method. The currently supported method names are 'okta-verify' and 'duo-web'. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +MfaConfigTestResponse +#> +function Test-V2024MFAConfig { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Method}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Test-V2024MFAConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/mfa/{method}/test' + if (!$Method) { + throw "Error! The required parameter `Method` missing when calling testMFAConfig." + } + $LocalVarUri = $LocalVarUri.replace('{method}', [System.Web.HTTPUtility]::UrlEncode($Method)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "MfaConfigTestResponse" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024ManagedClientsApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024ManagedClientsApi.ps1 new file mode 100644 index 000000000..ecb9dc33b --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024ManagedClientsApi.ps1 @@ -0,0 +1,534 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Create a new Managed Client + +.DESCRIPTION + +Create a new Managed Client. The API returns a result that includes the Managed Client ID. + +.PARAMETER ManagedClientRequest +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ManagedClient +#> +function New-V2024ManagedClient { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${ManagedClientRequest}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: New-V2024ManagedClient' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/managed-clients' + + if (!$ManagedClientRequest) { + throw "Error! The required parameter `ManagedClientRequest` missing when calling createManagedClient." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($ManagedClientRequest -is [array])) { + $LocalVarBodyParameter = $ManagedClientRequest | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $ManagedClientRequest | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ManagedClient" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Delete a Managed Client + +.DESCRIPTION + +Delete an existing Managed Client. + +.PARAMETER Id +Managed Client ID. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Remove-V2024ManagedClient { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024ManagedClient' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/managed-clients/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling deleteManagedClient." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'DELETE' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get a Managed Client + +.DESCRIPTION + +Get a Managed Client. + +.PARAMETER Id +Managed Client ID. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ManagedClient +#> +function Get-V2024ManagedClient { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024ManagedClient' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/managed-clients/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getManagedClient." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ManagedClient" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get Managed Client Status. + +.DESCRIPTION + +Retrieve the Status of a Managed Client by ID. + +.PARAMETER Id +ID of the Managed Client to get Status of + +.PARAMETER Type +Type of the Managed Client to get Status of + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ManagedClientStatus +#> +function Get-V2024ManagedClientStatus { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${Type}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024ManagedClientStatus' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/managed-clients/{id}/status' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getManagedClientStatus." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$Type) { + throw "Error! The required parameter `Type` missing when calling getManagedClientStatus." + } + $LocalVarQueryParameters['type'] = $Type + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ManagedClientStatus" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get Managed Clients + +.DESCRIPTION + +Get a list of Managed Clients. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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* **name**: *eq* **clientId**: *eq* **clusterId**: *eq* + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ManagedClient[] +#> +function Get-V2024ManagedClients { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024ManagedClients' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/managed-clients' + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ManagedClient[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Update a Managed Client + +.DESCRIPTION + +Update an existing Managed Client. + +.PARAMETER Id +Managed Client ID. + +.PARAMETER JsonPatchOperation +The JSONPatch payload used to update the object. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ManagedClient +#> +function Update-V2024ManagedClient { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject[]] + ${JsonPatchOperation}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Update-V2024ManagedClient' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json-patch+json') + + $LocalVarUri = '/managed-clients/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling updateManagedClient." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$JsonPatchOperation) { + throw "Error! The required parameter `JsonPatchOperation` missing when calling updateManagedClient." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($JsonPatchOperation -is [array])) { + $LocalVarBodyParameter = $JsonPatchOperation | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $JsonPatchOperation | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PATCH' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ManagedClient" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024ManagedClustersApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024ManagedClustersApi.ps1 new file mode 100644 index 000000000..21ddefded --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024ManagedClustersApi.ps1 @@ -0,0 +1,459 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Create a new Managed Cluster + +.DESCRIPTION + +Create a new Managed Cluster. The API returns a result that includes the Managed Cluster ID. + +.PARAMETER ManagedClusterRequest +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ManagedCluster +#> +function New-V2024ManagedCluster { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${ManagedClusterRequest}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: New-V2024ManagedCluster' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/managed-clusters' + + if (!$ManagedClusterRequest) { + throw "Error! The required parameter `ManagedClusterRequest` missing when calling createManagedCluster." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($ManagedClusterRequest -is [array])) { + $LocalVarBodyParameter = $ManagedClusterRequest | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $ManagedClusterRequest | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ManagedCluster" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Delete a Managed Cluster + +.DESCRIPTION + +Delete an existing Managed Cluster. + +.PARAMETER Id +Managed Cluster ID. + +.PARAMETER RemoveClients +Flag to determine the need to delete a cluster with clients + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Remove-V2024ManagedCluster { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${RemoveClients}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024ManagedCluster' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/managed-clusters/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling deleteManagedCluster." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if ($RemoveClients) { + $LocalVarQueryParameters['removeClients'] = $RemoveClients + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'DELETE' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get a specified Managed Cluster. + +.DESCRIPTION + +Retrieve a ManagedCluster by ID. + +.PARAMETER Id +ManagedCluster ID. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ManagedCluster +#> +function Get-V2024ManagedCluster { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024ManagedCluster' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/managed-clusters/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getManagedCluster." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ManagedCluster" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Retrieve all Managed Clusters. + +.DESCRIPTION + +Retrieve all Managed Clusters for the current Org, based on request context. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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: **operational**: *eq* + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ManagedCluster[] +#> +function Get-V2024ManagedClusters { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024ManagedClusters' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/managed-clusters' + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ManagedCluster[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Update a Managed Cluster + +.DESCRIPTION + +Update an existing Managed Cluster. + +.PARAMETER Id +Managed Cluster ID. + +.PARAMETER JsonPatchOperation +The JSONPatch payload used to update the object. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ManagedCluster +#> +function Update-V2024ManagedCluster { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject[]] + ${JsonPatchOperation}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Update-V2024ManagedCluster' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json-patch+json') + + $LocalVarUri = '/managed-clusters/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling updateManagedCluster." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$JsonPatchOperation) { + throw "Error! The required parameter `JsonPatchOperation` missing when calling updateManagedCluster." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($JsonPatchOperation -is [array])) { + $LocalVarBodyParameter = $JsonPatchOperation | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $JsonPatchOperation | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PATCH' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ManagedCluster" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024NonEmployeeLifecycleManagementApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024NonEmployeeLifecycleManagementApi.ps1 new file mode 100644 index 000000000..6aaea9e83 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024NonEmployeeLifecycleManagementApi.ps1 @@ -0,0 +1,2891 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Approve a Non-Employee Request + +.DESCRIPTION + +Approves a non-employee approval request and notifies the next approver. The current user must be the requested approver. + +.PARAMETER Id +Non-Employee approval item id (UUID) + +.PARAMETER NonEmployeeApprovalDecision +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +NonEmployeeApprovalItem +#> +function Approve-V2024NonEmployeeRequest { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${NonEmployeeApprovalDecision}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Approve-V2024NonEmployeeRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/non-employee-approvals/{id}/approve' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling approveNonEmployeeRequest." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$NonEmployeeApprovalDecision) { + throw "Error! The required parameter `NonEmployeeApprovalDecision` missing when calling approveNonEmployeeRequest." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($NonEmployeeApprovalDecision -is [array])) { + $LocalVarBodyParameter = $NonEmployeeApprovalDecision | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $NonEmployeeApprovalDecision | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "NonEmployeeApprovalItem" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Create Non-Employee Record + +.DESCRIPTION + +This request will create a non-employee record. Requires role context of `idn:nesr:create` + +.PARAMETER NonEmployeeRequestBody +Non-Employee record creation request body. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +NonEmployeeRecord +#> +function New-V2024NonEmployeeRecord { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${NonEmployeeRequestBody}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: New-V2024NonEmployeeRecord' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/non-employee-records' + + if (!$NonEmployeeRequestBody) { + throw "Error! The required parameter `NonEmployeeRequestBody` missing when calling createNonEmployeeRecord." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($NonEmployeeRequestBody -is [array])) { + $LocalVarBodyParameter = $NonEmployeeRequestBody | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $NonEmployeeRequestBody | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "NonEmployeeRecord" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Create Non-Employee Request + +.DESCRIPTION + +This request will create a non-employee request and notify the approver. Requires role context of `idn:nesr:create` or the user must own the source. + +.PARAMETER NonEmployeeRequestBody +Non-Employee creation request body + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +NonEmployeeRequest +#> +function New-V2024NonEmployeeRequest { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${NonEmployeeRequestBody}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: New-V2024NonEmployeeRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/non-employee-requests' + + if (!$NonEmployeeRequestBody) { + throw "Error! The required parameter `NonEmployeeRequestBody` missing when calling createNonEmployeeRequest." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($NonEmployeeRequestBody -is [array])) { + $LocalVarBodyParameter = $NonEmployeeRequestBody | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $NonEmployeeRequestBody | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "NonEmployeeRequest" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Create Non-Employee Source + +.DESCRIPTION + +This request will create a non-employee source. Requires role context of `idn:nesr:create` + +.PARAMETER NonEmployeeSourceRequestBody +Non-Employee source creation request body. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +NonEmployeeSourceWithCloudExternalId +#> +function New-V2024NonEmployeeSource { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${NonEmployeeSourceRequestBody}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: New-V2024NonEmployeeSource' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/non-employee-sources' + + if (!$NonEmployeeSourceRequestBody) { + throw "Error! The required parameter `NonEmployeeSourceRequestBody` missing when calling createNonEmployeeSource." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($NonEmployeeSourceRequestBody -is [array])) { + $LocalVarBodyParameter = $NonEmployeeSourceRequestBody | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $NonEmployeeSourceRequestBody | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "NonEmployeeSourceWithCloudExternalId" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Create a new Schema Attribute for Non-Employee Source + +.DESCRIPTION + +This API creates a new schema attribute for Non-Employee Source. The schema technical name must be unique in the source. Attempts to create a schema attribute with an existing name will result in a ""400.1.409 Reference conflict"" response. At most, 10 custom attributes can be created per schema. Attempts to create more than 10 will result in a ""400.1.4 Limit violation"" response. Requires role context of `idn:nesr:create` + +.PARAMETER SourceId +The Source id + +.PARAMETER NonEmployeeSchemaAttributeBody +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +NonEmployeeSchemaAttribute +#> +function New-V2024NonEmployeeSourceSchemaAttributes { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SourceId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${NonEmployeeSchemaAttributeBody}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: New-V2024NonEmployeeSourceSchemaAttributes' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/non-employee-sources/{sourceId}/schema-attributes' + if (!$SourceId) { + throw "Error! The required parameter `SourceId` missing when calling createNonEmployeeSourceSchemaAttributes." + } + $LocalVarUri = $LocalVarUri.replace('{sourceId}', [System.Web.HTTPUtility]::UrlEncode($SourceId)) + + if (!$NonEmployeeSchemaAttributeBody) { + throw "Error! The required parameter `NonEmployeeSchemaAttributeBody` missing when calling createNonEmployeeSourceSchemaAttributes." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($NonEmployeeSchemaAttributeBody -is [array])) { + $LocalVarBodyParameter = $NonEmployeeSchemaAttributeBody | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $NonEmployeeSchemaAttributeBody | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "NonEmployeeSchemaAttribute" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Delete Non-Employee Record + +.DESCRIPTION + +This request will delete a non-employee record. Requires role context of `idn:nesr:delete` + +.PARAMETER Id +Non-Employee record id (UUID) + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Remove-V2024NonEmployeeRecord { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024NonEmployeeRecord' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/non-employee-records/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling deleteNonEmployeeRecord." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'DELETE' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Delete Multiple Non-Employee Records + +.DESCRIPTION + +This request will delete multiple non-employee records based on the non-employee ids provided. Requires role context of `idn:nesr:delete` + +.PARAMETER DeleteNonEmployeeRecordsInBulkRequest +Non-Employee bulk delete request body. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Remove-V2024NonEmployeeRecordsInBulk { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${DeleteNonEmployeeRecordsInBulkRequest}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024NonEmployeeRecordsInBulk' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/non-employee-records/bulk-delete' + + if (!$DeleteNonEmployeeRecordsInBulkRequest) { + throw "Error! The required parameter `DeleteNonEmployeeRecordsInBulkRequest` missing when calling deleteNonEmployeeRecordsInBulk." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($DeleteNonEmployeeRecordsInBulkRequest -is [array])) { + $LocalVarBodyParameter = $DeleteNonEmployeeRecordsInBulkRequest | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $DeleteNonEmployeeRecordsInBulkRequest | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Delete Non-Employee Request + +.DESCRIPTION + +This request will delete a non-employee request. Requires role context of `idn:nesr:delete` + +.PARAMETER Id +Non-Employee request id in the UUID format + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Remove-V2024NonEmployeeRequest { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024NonEmployeeRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/non-employee-requests/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling deleteNonEmployeeRequest." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'DELETE' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Delete a Schema Attribute for Non-Employee Source + +.DESCRIPTION + +This end-point deletes a specific schema attribute for a non-employee source. Requires role context of `idn:nesr:delete` + +.PARAMETER AttributeId +The Schema Attribute Id (UUID) + +.PARAMETER SourceId +The Source id + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Remove-V2024NonEmployeeSchemaAttribute { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${AttributeId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SourceId}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024NonEmployeeSchemaAttribute' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/non-employee-sources/{sourceId}/schema-attributes/{attributeId}' + if (!$AttributeId) { + throw "Error! The required parameter `AttributeId` missing when calling deleteNonEmployeeSchemaAttribute." + } + $LocalVarUri = $LocalVarUri.replace('{attributeId}', [System.Web.HTTPUtility]::UrlEncode($AttributeId)) + if (!$SourceId) { + throw "Error! The required parameter `SourceId` missing when calling deleteNonEmployeeSchemaAttribute." + } + $LocalVarUri = $LocalVarUri.replace('{sourceId}', [System.Web.HTTPUtility]::UrlEncode($SourceId)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'DELETE' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Delete Non-Employee Source + +.DESCRIPTION + +This request will delete a non-employee source. Requires role context of `idn:nesr:delete`. + +.PARAMETER SourceId +Source Id + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Remove-V2024NonEmployeeSource { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SourceId}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024NonEmployeeSource' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/non-employee-sources/{sourceId}' + if (!$SourceId) { + throw "Error! The required parameter `SourceId` missing when calling deleteNonEmployeeSource." + } + $LocalVarUri = $LocalVarUri.replace('{sourceId}', [System.Web.HTTPUtility]::UrlEncode($SourceId)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'DELETE' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Delete all custom schema attributes for Non-Employee Source + +.DESCRIPTION + +This end-point deletes all custom schema attributes for a non-employee source. Requires role context of `idn:nesr:delete` + +.PARAMETER SourceId +The Source id + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Remove-V2024NonEmployeeSourceSchemaAttributes { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SourceId}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024NonEmployeeSourceSchemaAttributes' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/non-employee-sources/{sourceId}/schema-attributes' + if (!$SourceId) { + throw "Error! The required parameter `SourceId` missing when calling deleteNonEmployeeSourceSchemaAttributes." + } + $LocalVarUri = $LocalVarUri.replace('{sourceId}', [System.Web.HTTPUtility]::UrlEncode($SourceId)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'DELETE' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Exports Non-Employee Records to CSV + +.DESCRIPTION + +This requests a CSV download for all non-employees from a provided source. Requires role context of `idn:nesr:read` + +.PARAMETER Id +Source Id (UUID) + +.PARAMETER ReturnType + +Select the return type (optional): text/csv, application/json + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Export-V2024NonEmployeeRecords { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [String] + [ValidateSet("text/csv", "application/json")] + $ReturnType, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Export-V2024NonEmployeeRecords' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('text/csv', 'application/json') + + if ($ReturnType) { + # use the return type (MIME) provided by the user + $LocalVarAccepts = @($ReturnType) + } + + $LocalVarUri = '/non-employee-sources/{id}/non-employees/download' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling exportNonEmployeeRecords." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Exports Source Schema Template + +.DESCRIPTION + +This requests a download for the Source Schema Template for a provided source. Requires role context of `idn:nesr:read` + +.PARAMETER Id +Source Id (UUID) + +.PARAMETER ReturnType + +Select the return type (optional): text/csv, application/json + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Export-V2024NonEmployeeSourceSchemaTemplate { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [String] + [ValidateSet("text/csv", "application/json")] + $ReturnType, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Export-V2024NonEmployeeSourceSchemaTemplate' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('text/csv', 'application/json') + + if ($ReturnType) { + # use the return type (MIME) provided by the user + $LocalVarAccepts = @($ReturnType) + } + + $LocalVarUri = '/non-employee-sources/{id}/schema-attributes-template/download' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling exportNonEmployeeSourceSchemaTemplate." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get a non-employee approval item detail + +.DESCRIPTION + +Gets a non-employee approval item detail. There are two contextual uses for this endpoint: 1. The user has the role context of `idn:nesr:read`, in which case they can get any approval. 2. The user owns the requested approval. + +.PARAMETER Id +Non-Employee approval item id (UUID) + +.PARAMETER IncludeDetail +The object nonEmployeeRequest will not be included detail when set to false. *Default value is true* + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +NonEmployeeApprovalItemDetail +#> +function Get-V2024NonEmployeeApproval { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${IncludeDetail}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024NonEmployeeApproval' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/non-employee-approvals/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getNonEmployeeApproval." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if ($IncludeDetail) { + $LocalVarQueryParameters['include-detail'] = $IncludeDetail + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "NonEmployeeApprovalItemDetail" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get Summary of Non-Employee Approval Requests + +.DESCRIPTION + +This request will retrieve a summary of non-employee approval requests. There are two contextual uses for the `requested-for` path parameter: 1. The user has the role context of `idn:nesr:read`, in which case he or she may request a summary of all non-employee approval requests assigned to a particular approver by passing in that approver's id. 2. The current user is an approver, in which case ""me"" should be provided as the `requested-for` value. This will provide the approver with a summary of the approval items assigned to him or her. + +.PARAMETER RequestedFor +The identity (UUID) of the approver for whom for whom the summary is being retrieved. Use ""me"" instead to indicate the current user. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +NonEmployeeApprovalSummary +#> +function Get-V2024NonEmployeeApprovalSummary { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${RequestedFor}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024NonEmployeeApprovalSummary' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/non-employee-approvals/summary/{requested-for}' + if (!$RequestedFor) { + throw "Error! The required parameter `RequestedFor` missing when calling getNonEmployeeApprovalSummary." + } + $LocalVarUri = $LocalVarUri.replace('{requested-for}', [System.Web.HTTPUtility]::UrlEncode($RequestedFor)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "NonEmployeeApprovalSummary" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Obtain the status of bulk upload on the source + +.DESCRIPTION + +The nonEmployeeBulkUploadStatus API returns the status of the newest bulk upload job for the specified source. Requires role context of `idn:nesr:read` + +.PARAMETER Id +Source ID (UUID) + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +NonEmployeeBulkUploadStatus +#> +function Get-V2024NonEmployeeBulkUploadStatus { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024NonEmployeeBulkUploadStatus' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/non-employee-sources/{id}/non-employee-bulk-upload/status' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getNonEmployeeBulkUploadStatus." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "NonEmployeeBulkUploadStatus" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get a Non-Employee Record + +.DESCRIPTION + +This gets a non-employee record. Requires role context of `idn:nesr:read` + +.PARAMETER Id +Non-Employee record id (UUID) + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +NonEmployeeRecord +#> +function Get-V2024NonEmployeeRecord { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024NonEmployeeRecord' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/non-employee-records/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getNonEmployeeRecord." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "NonEmployeeRecord" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get a Non-Employee Request + +.DESCRIPTION + +This gets a non-employee request. There are two contextual uses for this endpoint: 1. The user has the role context of `idn:nesr:read`, in this case the user can get the non-employee request for any user. 2. The user must be the owner of the non-employee request. + +.PARAMETER Id +Non-Employee request id (UUID) + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +NonEmployeeRequest +#> +function Get-V2024NonEmployeeRequest { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024NonEmployeeRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/non-employee-requests/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getNonEmployeeRequest." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "NonEmployeeRequest" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get Summary of Non-Employee Requests + +.DESCRIPTION + +This request will retrieve a summary of non-employee requests. There are two contextual uses for the `requested-for` path parameter: 1. The user has the role context of `idn:nesr:read`, in which case he or she may request a summary of all non-employee approval requests assigned to a particular account manager by passing in that manager's id. 2. The current user is an account manager, in which case ""me"" should be provided as the `requested-for` value. This will provide the user with a summary of the non-employee requests in the source(s) he or she manages. + +.PARAMETER RequestedFor +The identity (UUID) of the non-employee account manager for whom the summary is being retrieved. Use ""me"" instead to indicate the current user. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +NonEmployeeRequestSummary +#> +function Get-V2024NonEmployeeRequestSummary { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${RequestedFor}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024NonEmployeeRequestSummary' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/non-employee-requests/summary/{requested-for}' + if (!$RequestedFor) { + throw "Error! The required parameter `RequestedFor` missing when calling getNonEmployeeRequestSummary." + } + $LocalVarUri = $LocalVarUri.replace('{requested-for}', [System.Web.HTTPUtility]::UrlEncode($RequestedFor)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "NonEmployeeRequestSummary" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get Schema Attribute Non-Employee Source + +.DESCRIPTION + +This API gets a schema attribute by Id for the specified Non-Employee SourceId. Requires role context of `idn:nesr:read` or the user must be an account manager of the source. + +.PARAMETER AttributeId +The Schema Attribute Id (UUID) + +.PARAMETER SourceId +The Source id + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +NonEmployeeSchemaAttribute +#> +function Get-V2024NonEmployeeSchemaAttribute { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${AttributeId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SourceId}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024NonEmployeeSchemaAttribute' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/non-employee-sources/{sourceId}/schema-attributes/{attributeId}' + if (!$AttributeId) { + throw "Error! The required parameter `AttributeId` missing when calling getNonEmployeeSchemaAttribute." + } + $LocalVarUri = $LocalVarUri.replace('{attributeId}', [System.Web.HTTPUtility]::UrlEncode($AttributeId)) + if (!$SourceId) { + throw "Error! The required parameter `SourceId` missing when calling getNonEmployeeSchemaAttribute." + } + $LocalVarUri = $LocalVarUri.replace('{sourceId}', [System.Web.HTTPUtility]::UrlEncode($SourceId)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "NonEmployeeSchemaAttribute" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get a Non-Employee Source + +.DESCRIPTION + +This gets a non-employee source. There are two contextual uses for the requested-for path parameter: 1. The user has the role context of `idn:nesr:read`, in which case he or she may request any source. 2. The current user is an account manager, in which case the user can only request sources that they own. + +.PARAMETER SourceId +Source Id + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +NonEmployeeSource +#> +function Get-V2024NonEmployeeSource { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SourceId}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024NonEmployeeSource' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/non-employee-sources/{sourceId}' + if (!$SourceId) { + throw "Error! The required parameter `SourceId` missing when calling getNonEmployeeSource." + } + $LocalVarUri = $LocalVarUri.replace('{sourceId}', [System.Web.HTTPUtility]::UrlEncode($SourceId)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "NonEmployeeSource" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List Schema Attributes Non-Employee Source + +.DESCRIPTION + +This API gets the list of schema attributes for the specified Non-Employee SourceId. There are 8 mandatory attributes added to each new Non-Employee Source automatically. Additionaly, user can add up to 10 custom attributes. This interface returns all the mandatory attributes followed by any custom attributes. At most, a total of 18 attributes will be returned. Requires role context of `idn:nesr:read` or the user must be an account manager of the source. + +.PARAMETER SourceId +The Source id + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +NonEmployeeSchemaAttribute[] +#> +function Get-V2024NonEmployeeSourceSchemaAttributes { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SourceId}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024NonEmployeeSourceSchemaAttributes' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/non-employee-sources/{sourceId}/schema-attributes' + if (!$SourceId) { + throw "Error! The required parameter `SourceId` missing when calling getNonEmployeeSourceSchemaAttributes." + } + $LocalVarUri = $LocalVarUri.replace('{sourceId}', [System.Web.HTTPUtility]::UrlEncode($SourceId)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "NonEmployeeSchemaAttribute[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Imports, or Updates, Non-Employee Records + +.DESCRIPTION + +This post will import, or update, Non-Employee records found in the CSV. Requires role context of `idn:nesr:create` + +.PARAMETER Id +Source Id (UUID) + +.PARAMETER Data +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +NonEmployeeBulkUploadJob +#> +function Import-V2024NonEmployeeRecordsInBulk { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.IO.FileInfo] + ${Data}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Import-V2024NonEmployeeRecordsInBulk' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('multipart/form-data') + + $LocalVarUri = '/non-employee-sources/{id}/non-employee-bulk-upload' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling importNonEmployeeRecordsInBulk." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$Data) { + throw "Error! The required parameter `Data` missing when calling importNonEmployeeRecordsInBulk." + } + $LocalVarFormParameters['data'] = $Data + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "NonEmployeeBulkUploadJob" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get List of Non-Employee Approval Requests + +.DESCRIPTION + +This gets a list of non-employee approval requests. There are two contextual uses for this endpoint: 1. The user has the role context of `idn:nesr:read`, in which case they can list the approvals for any approver. 2. The user owns the requested approval. + +.PARAMETER RequestedFor +The identity for whom the request was made. *me* indicates the current user. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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: **approvalStatus**: *eq* + +.PARAMETER 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: **created, modified** + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +NonEmployeeApprovalItem[] +#> +function Get-V2024NonEmployeeApprovals { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${RequestedFor}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024NonEmployeeApprovals' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/non-employee-approvals' + + if ($RequestedFor) { + $LocalVarQueryParameters['requested-for'] = $RequestedFor + } + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "NonEmployeeApprovalItem[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List Non-Employee Records + +.DESCRIPTION + +This gets a list of non-employee records. There are two contextual uses for this endpoint: 1. The user has the role context of `idn:nesr:read`, in which case they can get a list of all of the non-employees. 2. The user is an account manager, in which case they can get a list of the non-employees that they manage. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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, accountName, sourceId, manager, firstName, lastName, email, phone, startDate, endDate, created, modified** + +.PARAMETER 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: **sourceId**: *eq* + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +NonEmployeeRecord[] +#> +function Get-V2024NonEmployeeRecords { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024NonEmployeeRecords' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/non-employee-records' + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "NonEmployeeRecord[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List Non-Employee Requests + +.DESCRIPTION + +This gets a list of non-employee requests. There are two contextual uses for the `requested-for` path parameter: 1. The user has the role context of `idn:nesr:read`, in which case he or she may request a list non-employee requests assigned to a particular account manager by passing in that manager's id. 2. The current user is an account manager, in which case ""me"" should be provided as the `requested-for` value. This will provide the user with a list of the non-employee requests in the source(s) he or she manages. + +.PARAMETER RequestedFor +The identity for whom the request was made. *me* indicates the current user. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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: **created, approvalStatus, firstName, lastName, email, phone, accountName, startDate, endDate** + +.PARAMETER 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: **sourceId**: *eq* + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +NonEmployeeRequest[] +#> +function Get-V2024NonEmployeeRequests { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${RequestedFor}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024NonEmployeeRequests' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/non-employee-requests' + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if (!$RequestedFor) { + throw "Error! The required parameter `RequestedFor` missing when calling listNonEmployeeRequests." + } + $LocalVarQueryParameters['requested-for'] = $RequestedFor + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "NonEmployeeRequest[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List Non-Employee Sources + +.DESCRIPTION + +This gets a list of non-employee sources. There are two contextual uses for the requested-for path parameter: 1. The user has the role context of `idn:nesr:read`, in which case he or she may request a list sources assigned to a particular account manager by passing in that manager's id. 2. The current user is an account manager, in which case ""me"" should be provided as the `requested-for` value. This will provide the user with a list of the sources that he or she owns. + +.PARAMETER RequestedFor +The identity for whom the request was made. *me* indicates the current user. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER NonEmployeeCount +The flag to determine whether return a non-employee count associate with source. + +.PARAMETER 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: **name, created, sourceId** + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +NonEmployeeSourceWithNECount[] +#> +function Get-V2024NonEmployeeSources { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${RequestedFor}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${NonEmployeeCount}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024NonEmployeeSources' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/non-employee-sources' + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if (!$RequestedFor) { + throw "Error! The required parameter `RequestedFor` missing when calling listNonEmployeeSources." + } + $LocalVarQueryParameters['requested-for'] = $RequestedFor + + if ($NonEmployeeCount) { + $LocalVarQueryParameters['non-employee-count'] = $NonEmployeeCount + } + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "NonEmployeeSourceWithNECount[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Patch Non-Employee Record + +.DESCRIPTION + +This request will patch a non-employee record. There are two contextual uses for this endpoint: 1. The user has the role context of `idn:nesr:update`, in which case they update all available fields. 2. The user is owner of the source, in this case they can only update the end date. + +.PARAMETER Id +Non-employee record id (UUID) + +.PARAMETER 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. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +NonEmployeeRecord +#> +function Update-V2024NonEmployeeRecord { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject[]] + ${JsonPatchOperation}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Update-V2024NonEmployeeRecord' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json-patch+json') + + $LocalVarUri = '/non-employee-records/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling patchNonEmployeeRecord." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$JsonPatchOperation) { + throw "Error! The required parameter `JsonPatchOperation` missing when calling patchNonEmployeeRecord." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($JsonPatchOperation -is [array])) { + $LocalVarBodyParameter = $JsonPatchOperation | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $JsonPatchOperation | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PATCH' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "NonEmployeeRecord" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Patch a Schema Attribute for Non-Employee Source + +.DESCRIPTION + +This end-point patches a specific schema attribute for a non-employee SourceId. Requires role context of `idn:nesr:update` + +.PARAMETER AttributeId +The Schema Attribute Id (UUID) + +.PARAMETER SourceId +The Source id + +.PARAMETER 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'. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +NonEmployeeSchemaAttribute +#> +function Update-V2024NonEmployeeSchemaAttribute { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${AttributeId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SourceId}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject[]] + ${JsonPatchOperation}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Update-V2024NonEmployeeSchemaAttribute' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json-patch+json') + + $LocalVarUri = '/non-employee-sources/{sourceId}/schema-attributes/{attributeId}' + if (!$AttributeId) { + throw "Error! The required parameter `AttributeId` missing when calling patchNonEmployeeSchemaAttribute." + } + $LocalVarUri = $LocalVarUri.replace('{attributeId}', [System.Web.HTTPUtility]::UrlEncode($AttributeId)) + if (!$SourceId) { + throw "Error! The required parameter `SourceId` missing when calling patchNonEmployeeSchemaAttribute." + } + $LocalVarUri = $LocalVarUri.replace('{sourceId}', [System.Web.HTTPUtility]::UrlEncode($SourceId)) + + if (!$JsonPatchOperation) { + throw "Error! The required parameter `JsonPatchOperation` missing when calling patchNonEmployeeSchemaAttribute." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($JsonPatchOperation -is [array])) { + $LocalVarBodyParameter = $JsonPatchOperation | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $JsonPatchOperation | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PATCH' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "NonEmployeeSchemaAttribute" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Patch a Non-Employee Source + +.DESCRIPTION + +patch a non-employee source. (partial update)
Patchable field: **name, description, approvers, accountManagers** Requires role context of `idn:nesr:update`. + +.PARAMETER SourceId +Source Id + +.PARAMETER JsonPatchOperation +A list of non-employee source update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +NonEmployeeSource +#> +function Update-V2024NonEmployeeSource { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SourceId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject[]] + ${JsonPatchOperation}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Update-V2024NonEmployeeSource' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json-patch+json') + + $LocalVarUri = '/non-employee-sources/{sourceId}' + if (!$SourceId) { + throw "Error! The required parameter `SourceId` missing when calling patchNonEmployeeSource." + } + $LocalVarUri = $LocalVarUri.replace('{sourceId}', [System.Web.HTTPUtility]::UrlEncode($SourceId)) + + if (!$JsonPatchOperation) { + throw "Error! The required parameter `JsonPatchOperation` missing when calling patchNonEmployeeSource." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($JsonPatchOperation -is [array])) { + $LocalVarBodyParameter = $JsonPatchOperation | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $JsonPatchOperation | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PATCH' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "NonEmployeeSource" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Reject a Non-Employee Request + +.DESCRIPTION + +This endpoint will reject an approval item request and notify user. The current user must be the requested approver. + +.PARAMETER Id +Non-Employee approval item id (UUID) + +.PARAMETER NonEmployeeRejectApprovalDecision +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +NonEmployeeApprovalItem +#> +function Deny-V2024NonEmployeeRequest { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${NonEmployeeRejectApprovalDecision}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Deny-V2024NonEmployeeRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/non-employee-approvals/{id}/reject' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling rejectNonEmployeeRequest." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$NonEmployeeRejectApprovalDecision) { + throw "Error! The required parameter `NonEmployeeRejectApprovalDecision` missing when calling rejectNonEmployeeRequest." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($NonEmployeeRejectApprovalDecision -is [array])) { + $LocalVarBodyParameter = $NonEmployeeRejectApprovalDecision | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $NonEmployeeRejectApprovalDecision | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "NonEmployeeApprovalItem" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Update Non-Employee Record + +.DESCRIPTION + +This request will update a non-employee record. There are two contextual uses for this endpoint: 1. The user has the role context of `idn:nesr:update`, in which case they update all available fields. 2. The user is owner of the source, in this case they can only update the end date. + +.PARAMETER Id +Non-employee record id (UUID) + +.PARAMETER NonEmployeeRequestBody +Non-employee record creation request body. Attributes are restricted by user type. Owner of source can update end date. Organization admins can update all available fields. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +NonEmployeeRecord +#> +function Update-V2024NonEmployeeRecord { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${NonEmployeeRequestBody}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Update-V2024NonEmployeeRecord' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/non-employee-records/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling updateNonEmployeeRecord." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$NonEmployeeRequestBody) { + throw "Error! The required parameter `NonEmployeeRequestBody` missing when calling updateNonEmployeeRecord." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($NonEmployeeRequestBody -is [array])) { + $LocalVarBodyParameter = $NonEmployeeRequestBody | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $NonEmployeeRequestBody | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PUT' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "NonEmployeeRecord" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024NotificationsApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024NotificationsApi.ps1 new file mode 100644 index 000000000..2d908e4e6 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024NotificationsApi.ps1 @@ -0,0 +1,1429 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Verify domain address via DKIM + +.DESCRIPTION + +Create a domain to be verified via DKIM (DomainKeys Identified Mail) + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER DomainAddress +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +DomainStatusDto +#> +function New-V2024DomainDkim { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${DomainAddress}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: New-V2024DomainDkim' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/verified-domains' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling createDomainDkim." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$DomainAddress) { + throw "Error! The required parameter `DomainAddress` missing when calling createDomainDkim." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($DomainAddress -is [array])) { + $LocalVarBodyParameter = $DomainAddress | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $DomainAddress | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "DomainStatusDto" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Create Notification Template + +.DESCRIPTION + +This creates a template for your site. You can also use this endpoint to update a template. First, copy the response body from the [get notification template endpoint](https://developer.sailpoint.com/idn/api/beta/get-notification-template) for a template you wish to update and paste it into the request body for this endpoint. Modify the fields you want to change and submit the POST request when ready. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER TemplateDto +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +TemplateDto +#> +function New-V2024NotificationTemplate { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${TemplateDto}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: New-V2024NotificationTemplate' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/notification-templates' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling createNotificationTemplate." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$TemplateDto) { + throw "Error! The required parameter `TemplateDto` missing when calling createNotificationTemplate." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($TemplateDto -is [array])) { + $LocalVarBodyParameter = $TemplateDto | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $TemplateDto | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "TemplateDto" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Create Verified From Address + +.DESCRIPTION + +Create a new sender email address and initiate verification process. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER EmailStatusDto +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +EmailStatusDto +#> +function New-V2024VerifiedFromAddress { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${EmailStatusDto}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: New-V2024VerifiedFromAddress' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/verified-from-addresses' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling createVerifiedFromAddress." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$EmailStatusDto) { + throw "Error! The required parameter `EmailStatusDto` missing when calling createVerifiedFromAddress." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($EmailStatusDto -is [array])) { + $LocalVarBodyParameter = $EmailStatusDto | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $EmailStatusDto | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "EmailStatusDto" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Bulk Delete Notification Templates + +.DESCRIPTION + +This lets you bulk delete templates that you previously created for your site. Since this is a beta feature, please contact support to enable usage. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER TemplateBulkDeleteDto +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Remove-V2024NotificationTemplatesInBulk { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject[]] + ${TemplateBulkDeleteDto}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024NotificationTemplatesInBulk' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/notification-templates/bulk-delete' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling deleteNotificationTemplatesInBulk." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$TemplateBulkDeleteDto) { + throw "Error! The required parameter `TemplateBulkDeleteDto` missing when calling deleteNotificationTemplatesInBulk." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($TemplateBulkDeleteDto -is [array])) { + $LocalVarBodyParameter = $TemplateBulkDeleteDto | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $TemplateBulkDeleteDto | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Delete Verified From Address + +.DESCRIPTION + +Delete a verified sender email address + +.PARAMETER Id +No description available. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Remove-V2024VerifiedFromAddress { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024VerifiedFromAddress' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/verified-from-addresses/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling deleteVerifiedFromAddress." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling deleteVerifiedFromAddress." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'DELETE' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get DKIM Attributes + +.DESCRIPTION + +Retrieve DKIM (DomainKeys Identified Mail) attributes for all your tenants' AWS SES identities. Limits retrieval to 100 identities per call. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +DkimAttributes[] +#> +function Get-V2024DkimAttributes { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024DkimAttributes' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/verified-domains' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getDkimAttributes." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "DkimAttributes[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get MAIL FROM Attributes + +.DESCRIPTION + +Retrieve MAIL FROM attributes for a given AWS SES identity. + +.PARAMETER Id +Returns the MX and TXT record to be put in your DNS, as well as the MAIL FROM domain status + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +MailFromAttributes +#> +function Get-V2024MailFromAttributes { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024MailFromAttributes' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/mail-from-attributes/{identity}' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getMailFromAttributes." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getMailFromAttributes." + } + $LocalVarQueryParameters['id'] = $Id + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "MailFromAttributes" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get Notification Template By Id + +.DESCRIPTION + +This gets a template that you have modified for your site by Id. + +.PARAMETER Id +Id of the Notification Template + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +TemplateDto[] +#> +function Get-V2024NotificationTemplate { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024NotificationTemplate' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/notification-templates/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getNotificationTemplate." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getNotificationTemplate." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "TemplateDto[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get Notification Template Context + +.DESCRIPTION + +The notification service maintains metadata to construct the notification templates or supply any information during the event propagation. The data-store where this information is retrieved is called ""Global Context"" (a.k.a. notification template context). It defines a set of attributes that will be available per tenant (organization). + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +NotificationTemplateContext +#> +function Get-V2024NotificationsTemplateContext { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024NotificationsTemplateContext' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/notification-template-context' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getNotificationsTemplateContext." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "NotificationTemplateContext" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List From Addresses + +.DESCRIPTION + +Retrieve a list of sender email addresses and their verification statuses + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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: **email**: *eq, ge, le, sw* + +.PARAMETER 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: **email** + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +EmailStatusDto[] +#> +function Get-V2024FromAddresses { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024FromAddresses' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/verified-from-addresses' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling listFromAddresses." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "EmailStatusDto[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List Notification Preferences for tenant. + +.DESCRIPTION + +Returns a list of notification preferences for tenant. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +PreferencesDto[] +#> +function Get-V2024NotificationPreferences { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024NotificationPreferences' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/notification-preferences/{key}' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling listNotificationPreferences." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "PreferencesDto[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List Notification Template Defaults + +.DESCRIPTION + +This lists the default templates used for notifications, such as emails from IdentityNow. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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: **key**: *eq, in, sw* **medium**: *eq, sw* **locale**: *eq, sw* + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +TemplateDtoDefault[] +#> +function Get-V2024NotificationTemplateDefaults { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024NotificationTemplateDefaults' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/notification-template-defaults' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling listNotificationTemplateDefaults." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "TemplateDtoDefault[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List Notification Templates + +.DESCRIPTION + +This lists the templates that you have modified for your site. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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: **key**: *eq, in, sw* **medium**: *eq, sw* **locale**: *eq, sw* + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +TemplateDto[] +#> +function Get-V2024NotificationTemplates { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024NotificationTemplates' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/notification-templates' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling listNotificationTemplates." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "TemplateDto[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Change MAIL FROM domain + +.DESCRIPTION + +Change the MAIL FROM domain of an AWS SES email identity and provide the MX and TXT records to be placed in the caller's DNS + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER MailFromAttributesDto +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +MailFromAttributes +#> +function Send-V2024MailFromAttributes { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${MailFromAttributesDto}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Send-V2024MailFromAttributes' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/mail-from-attributes' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling putMailFromAttributes." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$MailFromAttributesDto) { + throw "Error! The required parameter `MailFromAttributesDto` missing when calling putMailFromAttributes." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($MailFromAttributesDto -is [array])) { + $LocalVarBodyParameter = $MailFromAttributesDto | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $MailFromAttributesDto | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PUT' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "MailFromAttributes" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Send Test Notification + +.DESCRIPTION + +Send a Test Notification + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER SendTestNotificationRequestDto +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Send-V2024TestNotification { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${SendTestNotificationRequestDto}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Send-V2024TestNotification' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/send-test-notification' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling sendTestNotification." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$SendTestNotificationRequestDto) { + throw "Error! The required parameter `SendTestNotificationRequestDto` missing when calling sendTestNotification." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($SendTestNotificationRequestDto -is [array])) { + $LocalVarBodyParameter = $SendTestNotificationRequestDto | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $SendTestNotificationRequestDto | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024OAuthClientsApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024OAuthClientsApi.ps1 new file mode 100644 index 000000000..10a17a567 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024OAuthClientsApi.ps1 @@ -0,0 +1,419 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Create OAuth Client + +.DESCRIPTION + +This creates an OAuth client. + +.PARAMETER CreateOAuthClientRequest +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +CreateOAuthClientResponse +#> +function New-V2024OauthClient { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${CreateOAuthClientRequest}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: New-V2024OauthClient' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/oauth-clients' + + if (!$CreateOAuthClientRequest) { + throw "Error! The required parameter `CreateOAuthClientRequest` missing when calling createOauthClient." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($CreateOAuthClientRequest -is [array])) { + $LocalVarBodyParameter = $CreateOAuthClientRequest | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $CreateOAuthClientRequest | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "CreateOAuthClientResponse" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Delete OAuth Client + +.DESCRIPTION + +This deletes an OAuth client. + +.PARAMETER Id +The OAuth client id + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Remove-V2024OauthClient { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024OauthClient' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/oauth-clients/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling deleteOauthClient." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'DELETE' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get OAuth Client + +.DESCRIPTION + +This gets details of an OAuth client. + +.PARAMETER Id +The OAuth client id + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +GetOAuthClientResponse +#> +function Get-V2024OauthClient { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024OauthClient' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/oauth-clients/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getOauthClient." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "GetOAuthClientResponse" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List OAuth Clients + +.DESCRIPTION + +This gets a list of OAuth clients. + +.PARAMETER 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: **lastUsed**: *le, isnull* + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +GetOAuthClientResponse[] +#> +function Get-V2024OauthClients { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024OauthClients' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/oauth-clients' + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "GetOAuthClientResponse[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Patch OAuth Client + +.DESCRIPTION + +This performs a targeted update to the field(s) of an OAuth client. + +.PARAMETER Id +The OAuth client id + +.PARAMETER JsonPatchOperation +A list of OAuth client update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. The following fields are patchable: * tenant * businessName * homepageUrl * name * description * accessTokenValiditySeconds * refreshTokenValiditySeconds * redirectUris * grantTypes * accessType * enabled * strongAuthSupported * claimsSupported + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +GetOAuthClientResponse +#> +function Update-V2024OauthClient { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject[]] + ${JsonPatchOperation}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Update-V2024OauthClient' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json-patch+json') + + $LocalVarUri = '/oauth-clients/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling patchOauthClient." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$JsonPatchOperation) { + throw "Error! The required parameter `JsonPatchOperation` missing when calling patchOauthClient." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($JsonPatchOperation -is [array])) { + $LocalVarBodyParameter = $JsonPatchOperation | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $JsonPatchOperation | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PATCH' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "GetOAuthClientResponse" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024OrgConfigApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024OrgConfigApi.ps1 new file mode 100644 index 000000000..94d0d2e6c --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024OrgConfigApi.ps1 @@ -0,0 +1,258 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Get Org configuration settings + +.DESCRIPTION + +Get org configuration with only external (org admin) accessible properties for the current org. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +OrgConfig +#> +function Get-V2024OrgConfig { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024OrgConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/org-config' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getOrgConfig." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "OrgConfig" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get list of time zones + +.DESCRIPTION + +Get a list of valid time zones that can be set in org configurations. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +String[] +#> +function Get-V2024ValidTimeZones { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024ValidTimeZones' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/org-config/valid-time-zones' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getValidTimeZones." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "String[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Patch an Org configuration property + +.DESCRIPTION + +Patch configuration of the current org using http://jsonpatch.com/ syntax. Commonly used for changing the time zone of an org. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER JsonPatchOperation +A list of schema attribute update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +OrgConfig +#> +function Update-V2024OrgConfig { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject[]] + ${JsonPatchOperation}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Update-V2024OrgConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json-patch+json') + + $LocalVarUri = '/org-config' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling patchOrgConfig." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$JsonPatchOperation) { + throw "Error! The required parameter `JsonPatchOperation` missing when calling patchOrgConfig." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($JsonPatchOperation -is [array])) { + $LocalVarBodyParameter = $JsonPatchOperation | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $JsonPatchOperation | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PATCH' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "OrgConfig" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024PasswordConfigurationApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024PasswordConfigurationApi.ps1 new file mode 100644 index 000000000..95183d88b --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024PasswordConfigurationApi.ps1 @@ -0,0 +1,251 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Create Password Org Config + +.DESCRIPTION + +This API creates the password org config. Unspecified fields will use default value. To be able to use the custom password instructions, you must set the `customInstructionsEnabled` field to ""true"". Requires ORG_ADMIN, API role or authorization scope of 'idn:password-org-config:write' + +.PARAMETER PasswordOrgConfig +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +PasswordOrgConfig +#> +function New-V2024PasswordOrgConfig { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${PasswordOrgConfig}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: New-V2024PasswordOrgConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/password-org-config' + + if (!$PasswordOrgConfig) { + throw "Error! The required parameter `PasswordOrgConfig` missing when calling createPasswordOrgConfig." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($PasswordOrgConfig -is [array])) { + $LocalVarBodyParameter = $PasswordOrgConfig | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $PasswordOrgConfig | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "PasswordOrgConfig" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get Password Org Config + +.DESCRIPTION + +This API returns the password org config . Requires ORG_ADMIN, API role or authorization scope of 'idn:password-org-config:read' + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +PasswordOrgConfig +#> +function Get-V2024PasswordOrgConfig { + [CmdletBinding()] + Param ( + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024PasswordOrgConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/password-org-config' + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "PasswordOrgConfig" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Update Password Org Config + +.DESCRIPTION + +This API updates the password org config for specified fields. Other fields will keep original value. You must set the `customInstructionsEnabled` field to ""true"" to be able to use custom password instructions. Requires ORG_ADMIN, API role or authorization scope of 'idn:password-org-config:write' + +.PARAMETER PasswordOrgConfig +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +PasswordOrgConfig +#> +function Send-V2024PasswordOrgConfig { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${PasswordOrgConfig}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Send-V2024PasswordOrgConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/password-org-config' + + if (!$PasswordOrgConfig) { + throw "Error! The required parameter `PasswordOrgConfig` missing when calling putPasswordOrgConfig." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($PasswordOrgConfig -is [array])) { + $LocalVarBodyParameter = $PasswordOrgConfig | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $PasswordOrgConfig | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PUT' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "PasswordOrgConfig" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024PasswordDictionaryApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024PasswordDictionaryApi.ps1 new file mode 100644 index 000000000..765de8341 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024PasswordDictionaryApi.ps1 @@ -0,0 +1,160 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Get Password Dictionary + +.DESCRIPTION + +This gets password dictionary for the organization. A token with ORG_ADMIN authority is required to call this API. The password dictionary file can contain lines that are: 1. comment lines - the first character is '#', can be 128 Unicode codepoints in length, and are ignored during processing 2. empty lines 3. locale line - the first line that starts with ""locale="" is considered to be locale line, the rest are treated as normal content lines 4. line containing the password dictionary word - it must start with non-whitespace character and only non-whitespace characters are allowed; maximum length of the line is 128 Unicode codepoints Password dictionary file may not contain more than 2,500 lines (not counting whitespace lines, comment lines and locale line). Password dict file must contain UTF-8 characters only. # Sample password text file ``` # Password dictionary small test file locale=en_US # Password dictionary prohibited words qwerty abcd aaaaa password qazxsws ``` + +.PARAMETER ReturnType + +Select the return type (optional): text/plain, application/json + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +String +#> +function Get-V2024PasswordDictionary { + [CmdletBinding()] + Param ( + + + + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024PasswordDictionary' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('text/plain') + + if ($ReturnType) { + # use the return type (MIME) provided by the user + $LocalVarAccepts = @($ReturnType) + } + + $LocalVarUri = '/password-dictionary' + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "String" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Update Password Dictionary + +.DESCRIPTION + +This updates password dictionary for the organization. A token with ORG_ADMIN authority is required to call this API. The password dictionary file can contain lines that are: 1. comment lines - the first character is '#', can be 128 Unicode codepoints in length, and are ignored during processing 2. empty lines 3. locale line - the first line that starts with ""locale="" is considered to be locale line, the rest are treated as normal content lines 4. line containing the password dictionary word - it must start with non-whitespace character and only non-whitespace characters are allowed; maximum length of the line is 128 Unicode codepoints Password dictionary file may not contain more than 2,500 lines (not counting whitespace lines, comment lines and locale line). Password dict file must contain UTF-8 characters only. # Sample password text file ``` # Password dictionary small test file locale=en_US # Password dictionary prohibited words qwerty abcd aaaaa password qazxsws ``` + +.PARAMETER File +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Send-V2024PasswordDictionary { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.IO.FileInfo] + ${File}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Send-V2024PasswordDictionary' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('multipart/form-data') + + $LocalVarUri = '/password-dictionary' + + if ($File) { + $LocalVarFormParameters['file'] = $File + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PUT' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024PasswordManagementApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024PasswordManagementApi.ps1 new file mode 100644 index 000000000..26eea0de3 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024PasswordManagementApi.ps1 @@ -0,0 +1,362 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Generate a digit token + +.DESCRIPTION + +This API is used to generate a digit token for password management. Requires authorization scope of ""idn:password-digit-token:create"". + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER PasswordDigitTokenReset +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +PasswordDigitToken +#> +function New-V2024DigitToken { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${PasswordDigitTokenReset}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: New-V2024DigitToken' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/generate-password-reset-token/digit' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling generateDigitToken." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$PasswordDigitTokenReset) { + throw "Error! The required parameter `PasswordDigitTokenReset` missing when calling generateDigitToken." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($PasswordDigitTokenReset -is [array])) { + $LocalVarBodyParameter = $PasswordDigitTokenReset | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $PasswordDigitTokenReset | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "PasswordDigitToken" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get Password Change Request Status + +.DESCRIPTION + +This API returns the status of a password change request. A token with identity owner or trusted API client application authority is required to call this API. + +.PARAMETER Id +Password change request ID + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +PasswordStatus +#> +function Get-V2024PasswordChangeStatus { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024PasswordChangeStatus' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/password-change-status/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getPasswordChangeStatus." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "PasswordStatus" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Query Password Info + +.DESCRIPTION + +This API is used to query password related information. A token with [API authority](https://developer.sailpoint.com/idn/api/authentication#client-credentials-grant-flow) is required to call this API. ""API authority"" refers to a token that only has the ""client_credentials"" grant type, and therefore no user context. A [personal access token](https://developer.sailpoint.com/idn/api/authentication#personal-access-tokens) or a token generated with the [authorization_code](https://developer.sailpoint.com/idn/api/authentication#authorization-code-grant-flow) grant type will **NOT** work on this endpoint, and a `403 Forbidden` response will be returned. + +.PARAMETER PasswordInfoQueryDTO +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +PasswordInfo +#> +function Search-V2024PasswordInfo { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${PasswordInfoQueryDTO}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Search-V2024PasswordInfo' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/query-password-info' + + if (!$PasswordInfoQueryDTO) { + throw "Error! The required parameter `PasswordInfoQueryDTO` missing when calling queryPasswordInfo." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($PasswordInfoQueryDTO -is [array])) { + $LocalVarBodyParameter = $PasswordInfoQueryDTO | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $PasswordInfoQueryDTO | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "PasswordInfo" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Set Identity's Password + +.DESCRIPTION + +This API is used to set a password for an identity. An identity can change their own password (as well as any of their accounts' passwords) if they use a token generated by their ISC user, such as a [personal access token](https://developer.sailpoint.com/idn/api/authentication#personal-access-tokens) or [""authorization_code"" derived OAuth token](https://developer.sailpoint.com/idn/api/authentication#authorization-code-grant-flow). A token with [API authority](https://developer.sailpoint.com/idn/api/authentication#client-credentials-grant-flow) can be used to change **any** identity's password or the password of any of the identity's accounts. ""API authority"" refers to a token that only has the ""client_credentials"" grant type. >**Note: If you want to set an identity's source account password, you must enable `PASSWORD` as one of the source's features. You can use the [PATCH Source endpoint](https://developer.sailpoint.com/docs/api/v3/update-source) to add the `PASSWORD` feature.** You can use this endpoint to generate an `encryptedPassword` (RSA encrypted using publicKey). To do so, follow these steps: 1. Use [Query Password Info](https://developer.sailpoint.com/idn/api/v3/query-password-info) to get the following information: `identityId`, `sourceId`, `publicKeyId`, `publicKey`, `accounts`, and `policies`. 2. Choose an account from the previous response that you will provide as an `accountId` in your request to set an encrypted password. 3. Use [Set Identity's Password](https://developer.sailpoint.com/idn/api/v3/set-password) and provide the information you got from your earlier query. Then add this code to your request to get the encrypted password: ```java import javax.crypto.Cipher; import java.security.KeyFactory; import java.security.PublicKey; import java.security.spec.X509EncodedKeySpec; import java util.Base64; String encrypt(String publicKey, String toEncrypt) throws Exception { byte[] publicKeyBytes = Base64.getDecoder().decode(publicKey); byte[] encryptedBytes = encryptRsa(publicKeyBytes, toEncrypt.getBytes(""UTF-8"")); return Base64.getEncoder().encodeToString(encryptedBytes); } private byte[] encryptRsa(byte[] publicKeyBytes, byte[] toEncryptBytes) throws Exception { PublicKey key = KeyFactory.getInstance(""RSA"").generatePublic(new X509EncodedKeySpec(publicKeyBytes)); String transformation = ""RSA/ECB/PKCS1Padding""; Cipher cipher = Cipher.getInstance(transformation); cipher.init(1, key); return cipher.doFinal(toEncryptBytes); } ``` In this example, `toEncrypt` refers to the plain text password you are setting and then encrypting, and the `publicKey` refers to the publicKey you got from the first request you sent. You can then use [Get Password Change Request Status](https://developer.sailpoint.com/idn/api/v3/get-password-change-status) to check the password change request status. To do so, you must provide the `requestId` from your earlier request to set the password. + +.PARAMETER PasswordChangeRequest +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +PasswordChangeResponse +#> +function Set-V2024Password { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${PasswordChangeRequest}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Set-V2024Password' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/set-password' + + if (!$PasswordChangeRequest) { + throw "Error! The required parameter `PasswordChangeRequest` missing when calling setPassword." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($PasswordChangeRequest -is [array])) { + $LocalVarBodyParameter = $PasswordChangeRequest | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $PasswordChangeRequest | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "PasswordChangeResponse" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024PasswordPoliciesApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024PasswordPoliciesApi.ps1 new file mode 100644 index 000000000..d24ec556b --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024PasswordPoliciesApi.ps1 @@ -0,0 +1,439 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Create Password Policy + +.DESCRIPTION + +This API creates the specified password policy. A token with ORG_ADMIN authority is required to call this API. + +.PARAMETER PasswordPolicyV3Dto +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +PasswordPolicyV3Dto +#> +function New-V2024PasswordPolicy { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${PasswordPolicyV3Dto}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: New-V2024PasswordPolicy' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/password-policies' + + if (!$PasswordPolicyV3Dto) { + throw "Error! The required parameter `PasswordPolicyV3Dto` missing when calling createPasswordPolicy." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($PasswordPolicyV3Dto -is [array])) { + $LocalVarBodyParameter = $PasswordPolicyV3Dto | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $PasswordPolicyV3Dto | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "PasswordPolicyV3Dto" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Delete Password Policy by ID + +.DESCRIPTION + +This API deletes the specified password policy. A token with ORG_ADMIN authority is required to call this API. + +.PARAMETER Id +The ID of password policy to delete. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Remove-V2024PasswordPolicy { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024PasswordPolicy' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/password-policies/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling deletePasswordPolicy." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'DELETE' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get Password Policy by ID + +.DESCRIPTION + +This API returns the password policy for the specified ID. A token with ORG_ADMIN authority is required to call this API. + +.PARAMETER Id +The ID of password policy to retrieve. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +PasswordPolicyV3Dto +#> +function Get-V2024PasswordPolicyById { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024PasswordPolicyById' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/password-policies/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getPasswordPolicyById." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "PasswordPolicyV3Dto" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List Password Policies + +.DESCRIPTION + +This gets list of all Password Policies. Requires role of ORG_ADMIN + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +PasswordPolicyV3Dto[] +#> +function Get-V2024PasswordPolicies { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024PasswordPolicies' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/password-policies' + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "PasswordPolicyV3Dto[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Update Password Policy by ID + +.DESCRIPTION + +This API updates the specified password policy. A token with ORG_ADMIN authority is required to call this API. + +.PARAMETER Id +The ID of password policy to update. + +.PARAMETER PasswordPolicyV3Dto +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +PasswordPolicyV3Dto +#> +function Set-V2024PasswordPolicy { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${PasswordPolicyV3Dto}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Set-V2024PasswordPolicy' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/password-policies/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling setPasswordPolicy." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$PasswordPolicyV3Dto) { + throw "Error! The required parameter `PasswordPolicyV3Dto` missing when calling setPasswordPolicy." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($PasswordPolicyV3Dto -is [array])) { + $LocalVarBodyParameter = $PasswordPolicyV3Dto | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $PasswordPolicyV3Dto | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PUT' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "PasswordPolicyV3Dto" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024PasswordSyncGroupsApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024PasswordSyncGroupsApi.ps1 new file mode 100644 index 000000000..afcc2499f --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024PasswordSyncGroupsApi.ps1 @@ -0,0 +1,439 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Create Password Sync Group + +.DESCRIPTION + +This API creates a password sync group based on the specifications provided. A token with ORG_ADMIN authority is required to call this API. + +.PARAMETER PasswordSyncGroup +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +PasswordSyncGroup +#> +function New-V2024PasswordSyncGroup { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${PasswordSyncGroup}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: New-V2024PasswordSyncGroup' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/password-sync-groups' + + if (!$PasswordSyncGroup) { + throw "Error! The required parameter `PasswordSyncGroup` missing when calling createPasswordSyncGroup." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($PasswordSyncGroup -is [array])) { + $LocalVarBodyParameter = $PasswordSyncGroup | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $PasswordSyncGroup | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "PasswordSyncGroup" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Delete Password Sync Group by ID + +.DESCRIPTION + +This API deletes the specified password sync group. A token with ORG_ADMIN authority is required to call this API. + +.PARAMETER Id +The ID of password sync group to delete. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Remove-V2024PasswordSyncGroup { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024PasswordSyncGroup' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/password-sync-groups/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling deletePasswordSyncGroup." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'DELETE' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get Password Sync Group by ID + +.DESCRIPTION + +This API returns the sync group for the specified ID. A token with ORG_ADMIN authority is required to call this API. + +.PARAMETER Id +The ID of password sync group to retrieve. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +PasswordSyncGroup +#> +function Get-V2024PasswordSyncGroup { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024PasswordSyncGroup' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/password-sync-groups/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getPasswordSyncGroup." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "PasswordSyncGroup" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get Password Sync Group List + +.DESCRIPTION + +This API returns a list of password sync groups. A token with ORG_ADMIN authority is required to call this API. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +PasswordSyncGroup[] +#> +function Get-V2024PasswordSyncGroups { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024PasswordSyncGroups' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/password-sync-groups' + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "PasswordSyncGroup[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Update Password Sync Group by ID + +.DESCRIPTION + +This API updates the specified password sync group. A token with ORG_ADMIN authority is required to call this API. + +.PARAMETER Id +The ID of password sync group to update. + +.PARAMETER PasswordSyncGroup +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +PasswordSyncGroup +#> +function Update-V2024PasswordSyncGroup { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${PasswordSyncGroup}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Update-V2024PasswordSyncGroup' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/password-sync-groups/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling updatePasswordSyncGroup." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$PasswordSyncGroup) { + throw "Error! The required parameter `PasswordSyncGroup` missing when calling updatePasswordSyncGroup." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($PasswordSyncGroup -is [array])) { + $LocalVarBodyParameter = $PasswordSyncGroup | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $PasswordSyncGroup | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PUT' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "PasswordSyncGroup" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024PersonalAccessTokensApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024PersonalAccessTokensApi.ps1 new file mode 100644 index 000000000..75eaf3123 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024PersonalAccessTokensApi.ps1 @@ -0,0 +1,355 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Create Personal Access Token + +.DESCRIPTION + +This creates a personal access token. + +.PARAMETER CreatePersonalAccessTokenRequest +Name and scope of personal access token. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +CreatePersonalAccessTokenResponse +#> +function New-V2024PersonalAccessToken { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${CreatePersonalAccessTokenRequest}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: New-V2024PersonalAccessToken' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/personal-access-tokens' + + if (!$CreatePersonalAccessTokenRequest) { + throw "Error! The required parameter `CreatePersonalAccessTokenRequest` missing when calling createPersonalAccessToken." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($CreatePersonalAccessTokenRequest -is [array])) { + $LocalVarBodyParameter = $CreatePersonalAccessTokenRequest | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $CreatePersonalAccessTokenRequest | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "CreatePersonalAccessTokenResponse" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Delete Personal Access Token + +.DESCRIPTION + +This deletes a personal access token. + +.PARAMETER Id +The personal access token id + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Remove-V2024PersonalAccessToken { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024PersonalAccessToken' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/personal-access-tokens/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling deletePersonalAccessToken." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'DELETE' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List Personal Access Tokens + +.DESCRIPTION + +This gets a collection of personal access tokens associated with the optional `owner-id`. query parameter. If the `owner-id` query parameter is omitted, all personal access tokens for a tenant will be retrieved, but the caller must have the 'idn:all-personal-access-tokens:read' right. + +.PARAMETER OwnerId +The identity ID of the owner whose personal access tokens should be listed. If ""me"", the caller should have the following right: 'idn:my-personal-access-tokens:read' If an actual owner ID or if the `owner-id` parameter is omitted in the request, the caller should have the following right: 'idn:all-personal-access-tokens:read'. If the caller has the following right, then managed personal access tokens associated with `owner-id` will be retrieved: 'idn:managed-personal-access-tokens:read' + +.PARAMETER 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: **lastUsed**: *le, isnull* + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +GetPersonalAccessTokenResponse[] +#> +function Get-V2024PersonalAccessTokens { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${OwnerId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024PersonalAccessTokens' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/personal-access-tokens' + + if ($OwnerId) { + $LocalVarQueryParameters['owner-id'] = $OwnerId + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "GetPersonalAccessTokenResponse[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Patch Personal Access Token + +.DESCRIPTION + +This performs a targeted update to the field(s) of a Personal Access Token. Changing scopes for a Personal Access Token does not impact existing bearer tokens. You will need to create a new bearer token to have the new scopes. Please note that it can take up to 20 minutes for scope changes to be seen on new bearer tokens. + +.PARAMETER Id +The Personal Access Token id + +.PARAMETER JsonPatchOperation +A list of OAuth client update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. The following fields are patchable: * name * scope + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +GetPersonalAccessTokenResponse +#> +function Update-V2024PersonalAccessToken { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject[]] + ${JsonPatchOperation}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Update-V2024PersonalAccessToken' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json-patch+json') + + $LocalVarUri = '/personal-access-tokens/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling patchPersonalAccessToken." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$JsonPatchOperation) { + throw "Error! The required parameter `JsonPatchOperation` missing when calling patchPersonalAccessToken." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($JsonPatchOperation -is [array])) { + $LocalVarBodyParameter = $JsonPatchOperation | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $JsonPatchOperation | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PATCH' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "GetPersonalAccessTokenResponse" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024PublicIdentitiesApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024PublicIdentitiesApi.ps1 new file mode 100644 index 000000000..591dad829 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024PublicIdentitiesApi.ps1 @@ -0,0 +1,131 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Get a list of public identities + +.DESCRIPTION + +No description or notes available. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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* **alias**: *eq, sw* **email**: *eq, sw* **firstname**: *eq, sw* **lastname**: *eq, sw* + +.PARAMETER AddCoreFilters +If *true*, only get identities which satisfy ALL the following criteria in addition to any criteria specified by *filters*: - Should be either correlated or protected. - Should not be ""spadmin"" or ""cloudadmin"". - uid should not be null. - lastname should not be null. - email should not be null. + +.PARAMETER 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: **name** + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +PublicIdentity[] +#> +function Get-V2024PublicIdentities { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${AddCoreFilters}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024PublicIdentities' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/public-identities' + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + if ($AddCoreFilters) { + $LocalVarQueryParameters['add-core-filters'] = $AddCoreFilters + } + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "PublicIdentity[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024PublicIdentitiesConfigApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024PublicIdentitiesConfigApi.ps1 new file mode 100644 index 000000000..618378187 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024PublicIdentitiesConfigApi.ps1 @@ -0,0 +1,161 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Get the Public Identities Configuration + +.DESCRIPTION + +Returns the publicly visible attributes of an identity available to request approvers for Access Requests and Certification Campaigns. A token with ORG ADMIN authority is required to call this API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +PublicIdentityConfig +#> +function Get-V2024PublicIdentityConfig { + [CmdletBinding()] + Param ( + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024PublicIdentityConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/public-identities-config' + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "PublicIdentityConfig" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Update the Public Identities Configuration + +.DESCRIPTION + +Updates the publicly visible attributes of an identity available to request approvers for Access Requests and Certification Campaigns. A token with ORG ADMIN authority is required to call this API. + +.PARAMETER PublicIdentityConfig +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +PublicIdentityConfig +#> +function Update-V2024PublicIdentityConfig { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${PublicIdentityConfig}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Update-V2024PublicIdentityConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/public-identities-config' + + if (!$PublicIdentityConfig) { + throw "Error! The required parameter `PublicIdentityConfig` missing when calling updatePublicIdentityConfig." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($PublicIdentityConfig -is [array])) { + $LocalVarBodyParameter = $PublicIdentityConfig | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $PublicIdentityConfig | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PUT' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "PublicIdentityConfig" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024ReportsDataExtractionApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024ReportsDataExtractionApi.ps1 new file mode 100644 index 000000000..a242f4696 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024ReportsDataExtractionApi.ps1 @@ -0,0 +1,373 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Cancel Report + +.DESCRIPTION + +Cancels a running report. + +.PARAMETER Id +ID of the running Report to cancel + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Suspend-V2024Report { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Suspend-V2024Report' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/reports/{id}/cancel' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling cancelReport." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get Report File + +.DESCRIPTION + +Gets a report in file format. + +.PARAMETER TaskResultId +Unique identifier of the task result which handled report + +.PARAMETER FileFormat +Output format of the requested report file + +.PARAMETER Name +preferred Report file name, by default will be used report name from task result. + +.PARAMETER Auditable +Enables auditing for current report download. Will create an audit event and sent it to the REPORT cloud-audit kafka topic. Event will be created if there is any result present by requested taskResultId. + +.PARAMETER ReturnType + +Select the return type (optional): application/csv, application/pdf, application/json + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +System.IO.FileInfo +#> +function Get-V2024Report { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${TaskResultId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [ValidateSet("csv", "pdf")] + [String] + ${FileFormat}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Name}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Auditable}, + [String] + [ValidateSet("application/csv", "application/pdf", "application/json")] + $ReturnType, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024Report' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/csv', 'application/pdf', 'application/json') + + if ($ReturnType) { + # use the return type (MIME) provided by the user + $LocalVarAccepts = @($ReturnType) + } + + $LocalVarUri = '/reports/{taskResultId}' + if (!$TaskResultId) { + throw "Error! The required parameter `TaskResultId` missing when calling getReport." + } + $LocalVarUri = $LocalVarUri.replace('{taskResultId}', [System.Web.HTTPUtility]::UrlEncode($TaskResultId)) + + if (!$FileFormat) { + throw "Error! The required parameter `FileFormat` missing when calling getReport." + } + $LocalVarQueryParameters['fileFormat'] = $FileFormat + + if ($Name) { + $LocalVarQueryParameters['name'] = $Name + } + + if ($Auditable) { + $LocalVarQueryParameters['auditable'] = $Auditable + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "System.IO.FileInfo" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get Report Result + +.DESCRIPTION + +Get the report results for a report that was run or is running. Returns empty report result in case there are no active task definitions with used in payload task definition name. + +.PARAMETER TaskResultId +Unique identifier of the task result which handled report + +.PARAMETER Completed +state of task result to apply ordering when results are fetching from the DB + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ReportResults +#> +function Get-V2024ReportResult { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${TaskResultId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Completed}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024ReportResult' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/reports/{taskResultId}/result' + if (!$TaskResultId) { + throw "Error! The required parameter `TaskResultId` missing when calling getReportResult." + } + $LocalVarUri = $LocalVarUri.replace('{taskResultId}', [System.Web.HTTPUtility]::UrlEncode($TaskResultId)) + + if ($Completed) { + $LocalVarQueryParameters['completed'] = $Completed + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ReportResults" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Run Report + +.DESCRIPTION + +Runs a report according to input report details. If non-concurrent task is already running then it returns, otherwise new task creates and returns. + +.PARAMETER ReportDetails +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +TaskResultDetails +#> +function Start-V2024Report { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${ReportDetails}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Start-V2024Report' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/reports/run' + + if (!$ReportDetails) { + throw "Error! The required parameter `ReportDetails` missing when calling startReport." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($ReportDetails -is [array])) { + $LocalVarBodyParameter = $ReportDetails | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $ReportDetails | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "TaskResultDetails" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024RequestableObjectsApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024RequestableObjectsApi.ps1 new file mode 100644 index 000000000..79986ff6c --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024RequestableObjectsApi.ps1 @@ -0,0 +1,161 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Requestable Objects List + +.DESCRIPTION + +This endpoint returns a list of acccess items that that can be requested through the Access Request endpoints. Access items are marked with AVAILABLE, PENDING or ASSIGNED with respect to the identity provided using *identity-id* query param. Any authenticated token can call this endpoint to see their requestable access items. A token with ORG_ADMIN authority is required to call this endpoint to return a list of all of the requestable access items for the org or for another identity. + +.PARAMETER IdentityId +If present, the value returns only requestable objects for the specified identity. * Admin users can call this with any identity ID value. * Non-admin users can only specify *me* or pass their own identity ID value. * If absent, returns a list of all requestable objects for the tenant. Only admin users can make such a call. In this case, the available, pending, assigned accesses will not be annotated in the result. + +.PARAMETER Types +Filters the results to the specified type/types, where each type is one of ROLE or ACCESS_PROFILE. If absent, all types are returned. Support for additional types may be added in the future without notice. + +.PARAMETER Term +It allows searching requestable access items with a partial match on the name or description. If term is provided, then the *filter* query parameter will be ignored. + +.PARAMETER Statuses +Filters the result to the specified status/statuses, where each status is one of AVAILABLE, ASSIGNED, or PENDING. It is an error to specify this parameter without also specifying an *identity-id* parameter. Additional statuses may be added in the future without notice. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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, in, sw* + +.PARAMETER 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: **name** + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +RequestableObject[] +#> +function Get-V2024RequestableObjects { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${IdentityId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject[]] + ${Types}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Term}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject[]] + ${Statuses}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Parameter(Position = 8, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024RequestableObjects' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/requestable-objects' + + if ($IdentityId) { + $LocalVarQueryParameters['identity-id'] = $IdentityId + } + + if ($Types) { + $LocalVarQueryParameters['types'] = $Types + } + + if ($Term) { + $LocalVarQueryParameters['term'] = $Term + } + + if ($Statuses) { + $LocalVarQueryParameters['statuses'] = $Statuses + } + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "RequestableObject[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024RoleInsightsApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024RoleInsightsApi.ps1 new file mode 100644 index 000000000..b25a0d7f2 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024RoleInsightsApi.ps1 @@ -0,0 +1,924 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Generate insights for roles + +.DESCRIPTION + +Submits a create role insights request to the role insights application. At this time there are no parameters. All business roles will be processed for the customer. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +RoleInsightsResponse +#> +function New-V2024RoleInsightRequests { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: New-V2024RoleInsightRequests' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/role-insights/requests' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling createRoleInsightRequests." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "RoleInsightsResponse" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Download entitlement insights for a role + +.DESCRIPTION + +This endpoint returns the entitlement insights for a role. + +.PARAMETER InsightId +The role insight id + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER 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: **identitiesWithAccess** The default sort is **identitiesWithAccess** in descending order. + +.PARAMETER 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: **name**: *sw* **description**: *sw* + +.PARAMETER ReturnType + +Select the return type (optional): text/csv, application/json + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +String +#> +function Invoke-V2024DownloadRoleInsightsEntitlementsChanges { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${InsightId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [String] + [ValidateSet("text/csv", "application/json")] + $ReturnType, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Invoke-V2024DownloadRoleInsightsEntitlementsChanges' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('text/csv', 'application/json') + + if ($ReturnType) { + # use the return type (MIME) provided by the user + $LocalVarAccepts = @($ReturnType) + } + + $LocalVarUri = '/role-insights/{insightId}/entitlement-changes/download' + if (!$InsightId) { + throw "Error! The required parameter `InsightId` missing when calling downloadRoleInsightsEntitlementsChanges." + } + $LocalVarUri = $LocalVarUri.replace('{insightId}', [System.Web.HTTPUtility]::UrlEncode($InsightId)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling downloadRoleInsightsEntitlementsChanges." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "String" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get identities for a suggested entitlement (for a role) + +.DESCRIPTION + +Role insights suggests entitlements to be added for a role. This endpoint returns a list of identities in the role, with or without the entitlements, for a suggested entitlement so that the user can see which identities would be affected if the suggested entitlement were to be added to the role. + +.PARAMETER InsightId +The role insight id + +.PARAMETER EntitlementId +The entitlement id + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER HasEntitlement +Identity has this entitlement or not + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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: **name** + +.PARAMETER 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: **name**: *sw* + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +RoleInsightsIdentities[] +#> +function Get-V2024EntitlementChangesIdentities { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${InsightId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${EntitlementId}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${HasEntitlement}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Parameter(Position = 8, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024EntitlementChangesIdentities' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/role-insights/{insightId}/entitlement-changes/{entitlementId}/identities' + if (!$InsightId) { + throw "Error! The required parameter `InsightId` missing when calling getEntitlementChangesIdentities." + } + $LocalVarUri = $LocalVarUri.replace('{insightId}', [System.Web.HTTPUtility]::UrlEncode($InsightId)) + if (!$EntitlementId) { + throw "Error! The required parameter `EntitlementId` missing when calling getEntitlementChangesIdentities." + } + $LocalVarUri = $LocalVarUri.replace('{entitlementId}', [System.Web.HTTPUtility]::UrlEncode($EntitlementId)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getEntitlementChangesIdentities." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($HasEntitlement) { + $LocalVarQueryParameters['hasEntitlement'] = $HasEntitlement + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "RoleInsightsIdentities[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get a single role insight + +.DESCRIPTION + +This endpoint gets role insights information for a role. + +.PARAMETER InsightId +The role insight id + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +RoleInsight +#> +function Get-V2024RoleInsight { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${InsightId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024RoleInsight' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/role-insights/{insightId}' + if (!$InsightId) { + throw "Error! The required parameter `InsightId` missing when calling getRoleInsight." + } + $LocalVarUri = $LocalVarUri.replace('{insightId}', [System.Web.HTTPUtility]::UrlEncode($InsightId)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getRoleInsight." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "RoleInsight" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get role insights + +.DESCRIPTION + +This method returns detailed role insights for each role. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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: **numberOfUpdates, identitiesWithAccess, totalNumberOfIdentities** + +.PARAMETER 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: **name**: *sw* **ownerName**: *sw* **description**: *sw* + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +RoleInsight[] +#> +function Get-V2024RoleInsights { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024RoleInsights' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/role-insights' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getRoleInsights." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "RoleInsight[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get current entitlement for a role + +.DESCRIPTION + +This endpoint gets the entitlements for a role. The term ""current"" is to distinguish from the entitlement(s) an insight might recommend adding. + +.PARAMETER InsightId +The role insight id + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER 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: **name**: *sw* **description**: *sw* + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +RoleInsightsEntitlement[] +#> +function Get-V2024RoleInsightsCurrentEntitlements { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${InsightId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024RoleInsightsCurrentEntitlements' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/role-insights/{insightId}/current-entitlements' + if (!$InsightId) { + throw "Error! The required parameter `InsightId` missing when calling getRoleInsightsCurrentEntitlements." + } + $LocalVarUri = $LocalVarUri.replace('{insightId}', [System.Web.HTTPUtility]::UrlEncode($InsightId)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getRoleInsightsCurrentEntitlements." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "RoleInsightsEntitlement[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get entitlement insights for a role + +.DESCRIPTION + +This endpoint returns entitlement insights for a role. + +.PARAMETER InsightId +The role insight id + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER 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: **identitiesWithAccess, name** + +.PARAMETER 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: **name**: *sw* **description**: *sw* + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +RoleInsightsEntitlementChanges[] +#> +function Get-V2024RoleInsightsEntitlementsChanges { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${InsightId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024RoleInsightsEntitlementsChanges' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/role-insights/{insightId}/entitlement-changes' + if (!$InsightId) { + throw "Error! The required parameter `InsightId` missing when calling getRoleInsightsEntitlementsChanges." + } + $LocalVarUri = $LocalVarUri.replace('{insightId}', [System.Web.HTTPUtility]::UrlEncode($InsightId)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getRoleInsightsEntitlementsChanges." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "RoleInsightsEntitlementChanges[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Returns metadata from prior request. + +.DESCRIPTION + +This endpoint returns details of a prior role insights request. + +.PARAMETER Id +The role insights request id + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +RoleInsightsResponse +#> +function Get-V2024RoleInsightsRequests { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024RoleInsightsRequests' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/role-insights/requests/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getRoleInsightsRequests." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getRoleInsightsRequests." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "RoleInsightsResponse" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get role insights summary information + +.DESCRIPTION + +This method returns high level summary information for role insights for a customer. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +RoleInsightsSummary +#> +function Get-V2024RoleInsightsSummary { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024RoleInsightsSummary' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/role-insights/summary' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getRoleInsightsSummary." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "RoleInsightsSummary" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024RolesApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024RolesApi.ps1 new file mode 100644 index 000000000..0b9d33e54 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024RolesApi.ps1 @@ -0,0 +1,838 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Create a Role + +.DESCRIPTION + +This API creates a role. You must have a token with API, ORG_ADMIN, ROLE_ADMIN, or ROLE_SUBADMIN authority to call this API. In addition, a ROLE_SUBADMIN may not create a role including an access profile if that access profile is associated with a source the ROLE_SUBADMIN is not associated with themselves. The maximum supported length for the description field is 2000 characters. Longer descriptions will be preserved for existing roles. However, any new roles as well as any updates to existing descriptions will be limited to 2000 characters. + +.PARAMETER Role +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +Role +#> +function New-V2024Role { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${Role}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: New-V2024Role' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/roles' + + if (!$Role) { + throw "Error! The required parameter `Role` missing when calling createRole." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($Role -is [array])) { + $LocalVarBodyParameter = $Role | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $Role | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "Role" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Delete Role(s) + +.DESCRIPTION + +This endpoint initiates a bulk deletion of one or more roles. When the request is successful, the endpoint returns the bulk delete's task result ID. To follow the task, you can use [Get Task Status by ID](https://developer.sailpoint.com/docs/api/beta/get-task-status), which will return the task result's status and information. This endpoint can only bulk delete up to a limit of 50 roles per request. A token with API, ORG_ADMIN, ROLE_ADMIN, or ROLE_SUBADMIN authority is required to call this endpoint. In addition, a token with ROLE_SUBADMIN authority can only call this endpoint if all roles included in the request are associated with sources with management workgroups the ROLE_SUBADMIN is a member of. + +.PARAMETER RoleBulkDeleteRequest +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +TaskResultDto +#> +function Remove-V2024BulkRoles { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${RoleBulkDeleteRequest}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024BulkRoles' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/roles/bulk-delete' + + if (!$RoleBulkDeleteRequest) { + throw "Error! The required parameter `RoleBulkDeleteRequest` missing when calling deleteBulkRoles." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($RoleBulkDeleteRequest -is [array])) { + $LocalVarBodyParameter = $RoleBulkDeleteRequest | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $RoleBulkDeleteRequest | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "TaskResultDto" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Delete a Role + +.DESCRIPTION + +This API deletes a Role by its ID. A token with API, ORG_ADMIN, ROLE_ADMIN, or ROLE_SUBADMIN authority is required to call this API. In addition, a token with ROLE_SUBADMIN authority may only call this API if all Access Profiles included in the Role are associated to Sources with management workgroups of which the ROLE_SUBADMIN is a member. + +.PARAMETER Id +ID of the Role + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Remove-V2024Role { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024Role' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/roles/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling deleteRole." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'DELETE' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get a Role + +.DESCRIPTION + +This API returns a Role by its ID. A token with API, ORG_ADMIN, ROLE_ADMIN, or ROLE_SUBADMIN authority is required to call this API. In addition, a token with ROLE_SUBADMIN authority may only call this API if all Access Profiles included in the Role are associated to Sources with management workgroups of which the ROLE_SUBADMIN is a member. + +.PARAMETER Id +ID of the Role + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +Role +#> +function Get-V2024Role { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024Role' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/roles/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getRole." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "Role" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List Identities assigned a Role + +.DESCRIPTION + +No description or notes available. + +.PARAMETER Id +ID of the Role for which the assigned Identities are to be listed + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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* **aliasName**: *eq, sw* **email**: *eq, sw* **name**: *eq, sw, co* + +.PARAMETER 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, aliasName, email** + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +RoleIdentity[] +#> +function Get-V2024RoleAssignedIdentities { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024RoleAssignedIdentities' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/roles/{id}/assigned-identities' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getRoleAssignedIdentities." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "RoleIdentity[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List role's Entitlements + +.DESCRIPTION + +This API lists the Entitlements associated with a given role. A token with API, ORG_ADMIN, ROLE_ADMIN, or ROLE_SUBADMIN authority is required to call this API. + +.PARAMETER Id +ID of the containing role + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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* **attribute**: *eq, sw* **value**: *eq, sw* **created**: *gt, lt, ge, le* **modified**: *gt, lt, ge, le* **owner.id**: *eq, in* **source.id**: *eq, in* + +.PARAMETER 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: **name, attribute, value, created, modified** + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +Entitlement1[] +#> +function Get-V2024RoleEntitlements { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024RoleEntitlements' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/roles/{id}/entitlements' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getRoleEntitlements." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getRoleEntitlements." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "Entitlement1[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List Roles + +.DESCRIPTION + +This API returns a list of Roles. A token with API, ORG_ADMIN, ROLE_ADMIN, or ROLE_SUBADMIN authority is required to call this API. + +.PARAMETER ForSubadmin +If provided, filters the returned list according to what is visible to the indicated ROLE_SUBADMIN Identity. The value of the parameter is either an Identity ID, or the special value **me**, which is shorthand for the calling Identity's ID. A 400 Bad Request error is returned if the **for-subadmin** parameter is specified for an Identity that is not a subadmin. + +.PARAMETER Limit +Note that for this API the maximum value for limit is 50. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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* **created**: *gt, lt, ge, le* **modified**: *gt, lt, ge, le* **owner.id**: *eq, in* **requestable**: *eq* + +.PARAMETER 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: **name, created, modified** + +.PARAMETER ForSegmentIds +If present and not empty, additionally filters Roles to those which are assigned to the Segment(s) with the specified IDs. If segmentation is currently unavailable, specifying this parameter results in an error. + +.PARAMETER IncludeUnsegmented +Whether or not the response list should contain unsegmented Roles. If *for-segment-ids* is absent or empty, specifying *include-unsegmented* as false results in an error. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +Role[] +#> +function Get-V2024Roles { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${ForSubadmin}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${ForSegmentIds}, + [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${IncludeUnsegmented}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024Roles' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/roles' + + if ($ForSubadmin) { + $LocalVarQueryParameters['for-subadmin'] = $ForSubadmin + } + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + if ($ForSegmentIds) { + $LocalVarQueryParameters['for-segment-ids'] = $ForSegmentIds + } + + if ($IncludeUnsegmented) { + $LocalVarQueryParameters['include-unsegmented'] = $IncludeUnsegmented + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "Role[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Patch a specified Role + +.DESCRIPTION + +This API updates an existing role using [JSON Patch](https://tools.ietf.org/html/rfc6902) syntax. The following fields are patchable: * name * description * enabled * owner * accessProfiles * membership * requestable * accessRequestConfig * revokeRequestConfig * segments A token with API, ORG_ADMIN, ROLE_ADMIN, or ROLE_SUBADMIN authority is required to call this API. In addition, a token with ROLE_SUBADMIN authority may only call this API if all access profiles included in the role are associated to Sources with management workgroups of which the ROLE_SUBADMIN is a member. The maximum supported length for the description field is 2000 characters. Longer descriptions will be preserved for existing roles, however, any new roles as well as any updates to existing descriptions will be limited to 2000 characters. When you use this API to modify a role's membership identities, you can only modify up to a limit of 500 membership identities at a time. + +.PARAMETER Id +ID of the Role to patch + +.PARAMETER JsonPatchOperation +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +Role +#> +function Update-V2024Role { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject[]] + ${JsonPatchOperation}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Update-V2024Role' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json-patch+json') + + $LocalVarUri = '/roles/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling patchRole." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$JsonPatchOperation) { + throw "Error! The required parameter `JsonPatchOperation` missing when calling patchRole." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($JsonPatchOperation -is [array])) { + $LocalVarBodyParameter = $JsonPatchOperation | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $JsonPatchOperation | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PATCH' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "Role" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024SIMIntegrationsApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024SIMIntegrationsApi.ps1 new file mode 100644 index 000000000..8f2ccfc90 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024SIMIntegrationsApi.ps1 @@ -0,0 +1,686 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Create new SIM integration + +.DESCRIPTION + +Create a new SIM Integrations. A token with Org Admin or Service Desk Admin authority is required to access this endpoint. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER SimIntegrationDetails +DTO containing the details of the SIM integration + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ServiceDeskIntegrationDto1 +#> +function New-V2024SIMIntegration { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${SimIntegrationDetails}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: New-V2024SIMIntegration' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/sim-integrations' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling createSIMIntegration." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$SimIntegrationDetails) { + throw "Error! The required parameter `SimIntegrationDetails` missing when calling createSIMIntegration." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($SimIntegrationDetails -is [array])) { + $LocalVarBodyParameter = $SimIntegrationDetails | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $SimIntegrationDetails | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ServiceDeskIntegrationDto1" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Delete a SIM integration + +.DESCRIPTION + +Get the details of a SIM integration. A token with Org Admin or Service Desk Admin authority is required to access this endpoint. + +.PARAMETER Id +The id of the integration to delete. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Remove-V2024SIMIntegration { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024SIMIntegration' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/sim-integrations/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling deleteSIMIntegration." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling deleteSIMIntegration." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'DELETE' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get a SIM integration details. + +.DESCRIPTION + +Get the details of a SIM integration. A token with Org Admin or Service Desk Admin authority is required to access this endpoint. + +.PARAMETER Id +The id of the integration. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ServiceDeskIntegrationDto1 +#> +function Get-V2024SIMIntegration { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024SIMIntegration' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/sim-integrations/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getSIMIntegration." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getSIMIntegration." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ServiceDeskIntegrationDto1" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List the existing SIM integrations. + +.DESCRIPTION + +List the existing SIM integrations. A token with Org Admin or Service Desk Admin authority is required to access this endpoint. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ServiceDeskIntegrationDto1 +#> +function Get-V2024SIMIntegrations { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024SIMIntegrations' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/sim-integrations' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getSIMIntegrations." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ServiceDeskIntegrationDto1" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Patch a SIM beforeProvisioningRule attribute. + +.DESCRIPTION + +Patch a SIM beforeProvisioningRule attribute given a JsonPatch object. A token with Org Admin or Service Desk Admin authority is required to access this endpoint. + +.PARAMETER Id +SIM integration id + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER JsonPatch +The JsonPatch object that describes the changes of SIM beforeProvisioningRule. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ServiceDeskIntegrationDto1 +#> +function Update-V2024BeforeProvisioningRule { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${JsonPatch}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Update-V2024BeforeProvisioningRule' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json-patch+json') + + $LocalVarUri = '/sim-integrations/{id}/beforeProvisioningRule' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling patchBeforeProvisioningRule." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling patchBeforeProvisioningRule." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$JsonPatch) { + throw "Error! The required parameter `JsonPatch` missing when calling patchBeforeProvisioningRule." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($JsonPatch -is [array])) { + $LocalVarBodyParameter = $JsonPatch | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $JsonPatch | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PATCH' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ServiceDeskIntegrationDto1" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Patch a SIM attribute. + +.DESCRIPTION + +Patch a SIM attribute given a JsonPatch object. A token with Org Admin or Service Desk Admin authority is required to access this endpoint. + +.PARAMETER Id +SIM integration id + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER JsonPatch +The JsonPatch object that describes the changes of SIM + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ServiceDeskIntegrationDto1 +#> +function Update-V2024SIMAttributes { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${JsonPatch}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Update-V2024SIMAttributes' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json-patch+json') + + $LocalVarUri = '/sim-integrations/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling patchSIMAttributes." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling patchSIMAttributes." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$JsonPatch) { + throw "Error! The required parameter `JsonPatch` missing when calling patchSIMAttributes." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($JsonPatch -is [array])) { + $LocalVarBodyParameter = $JsonPatch | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $JsonPatch | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PATCH' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ServiceDeskIntegrationDto1" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Update an existing SIM integration + +.DESCRIPTION + +Update an existing SIM integration. A token with Org Admin or Service Desk Admin authority is required to access this endpoint. + +.PARAMETER Id +The id of the integration. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER SimIntegrationDetails +The full DTO of the integration containing the updated model + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ServiceDeskIntegrationDto1 +#> +function Send-V2024SIMIntegration { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${SimIntegrationDetails}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Send-V2024SIMIntegration' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/sim-integrations/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling putSIMIntegration." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling putSIMIntegration." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$SimIntegrationDetails) { + throw "Error! The required parameter `SimIntegrationDetails` missing when calling putSIMIntegration." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($SimIntegrationDetails -is [array])) { + $LocalVarBodyParameter = $SimIntegrationDetails | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $SimIntegrationDetails | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PUT' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ServiceDeskIntegrationDto1" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024SODPoliciesApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024SODPoliciesApi.ps1 new file mode 100644 index 000000000..ccec8eff5 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024SODPoliciesApi.ps1 @@ -0,0 +1,1445 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Create SOD policy + +.DESCRIPTION + +This creates both General and Conflicting Access Based policy, with a limit of 50 entitlements for each (left & right) criteria for Conflicting Access Based SOD policy. Requires role of ORG_ADMIN. + +.PARAMETER SodPolicy +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SodPolicy +#> +function New-V2024SodPolicy { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${SodPolicy}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: New-V2024SodPolicy' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/sod-policies' + + if (!$SodPolicy) { + throw "Error! The required parameter `SodPolicy` missing when calling createSodPolicy." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($SodPolicy -is [array])) { + $LocalVarBodyParameter = $SodPolicy | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $SodPolicy | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SodPolicy" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Delete SOD policy by ID + +.DESCRIPTION + +This deletes a specified SOD policy. Requires role of ORG_ADMIN. + +.PARAMETER Id +The ID of the SOD Policy to delete. + +.PARAMETER Logical +Indicates whether this is a soft delete (logical true) or a hard delete. Soft delete marks the policy as deleted and just save it with this status. It could be fully deleted or recovered further. Hard delete vise versa permanently delete SOD request during this call. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Remove-V2024SodPolicy { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Logical}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024SodPolicy' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/sod-policies/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling deleteSodPolicy." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if ($Logical) { + $LocalVarQueryParameters['logical'] = $Logical + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'DELETE' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Delete SOD policy schedule + +.DESCRIPTION + +This deletes schedule for a specified SOD policy by ID. + +.PARAMETER Id +The ID of the SOD policy the schedule must be deleted for. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Remove-V2024SodPolicySchedule { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024SodPolicySchedule' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/sod-policies/{id}/schedule' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling deleteSodPolicySchedule." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'DELETE' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Download custom violation report + +.DESCRIPTION + +This allows to download a specified named violation report for a given report reference. + +.PARAMETER ReportResultId +The ID of the report reference to download. + +.PARAMETER FileName +Custom Name for the file. + +.PARAMETER ReturnType + +Select the return type (optional): application/zip, application/json + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +System.IO.FileInfo +#> +function Get-V2024CustomViolationReport { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${ReportResultId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${FileName}, + [String] + [ValidateSet("application/zip", "application/json")] + $ReturnType, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024CustomViolationReport' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/zip', 'application/json') + + if ($ReturnType) { + # use the return type (MIME) provided by the user + $LocalVarAccepts = @($ReturnType) + } + + $LocalVarUri = '/sod-violation-report/{reportResultId}/download/{fileName}' + if (!$ReportResultId) { + throw "Error! The required parameter `ReportResultId` missing when calling getCustomViolationReport." + } + $LocalVarUri = $LocalVarUri.replace('{reportResultId}', [System.Web.HTTPUtility]::UrlEncode($ReportResultId)) + if (!$FileName) { + throw "Error! The required parameter `FileName` missing when calling getCustomViolationReport." + } + $LocalVarUri = $LocalVarUri.replace('{fileName}', [System.Web.HTTPUtility]::UrlEncode($FileName)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "System.IO.FileInfo" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Download violation report + +.DESCRIPTION + +This allows to download a violation report for a given report reference. + +.PARAMETER ReportResultId +The ID of the report reference to download. + +.PARAMETER ReturnType + +Select the return type (optional): application/zip, application/json + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +System.IO.FileInfo +#> +function Get-V2024DefaultViolationReport { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${ReportResultId}, + [String] + [ValidateSet("application/zip", "application/json")] + $ReturnType, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024DefaultViolationReport' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/zip', 'application/json') + + if ($ReturnType) { + # use the return type (MIME) provided by the user + $LocalVarAccepts = @($ReturnType) + } + + $LocalVarUri = '/sod-violation-report/{reportResultId}/download' + if (!$ReportResultId) { + throw "Error! The required parameter `ReportResultId` missing when calling getDefaultViolationReport." + } + $LocalVarUri = $LocalVarUri.replace('{reportResultId}', [System.Web.HTTPUtility]::UrlEncode($ReportResultId)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "System.IO.FileInfo" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get multi-report run task status + +.DESCRIPTION + +This endpoint gets the status for a violation report for all policy run. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ReportResultReference +#> +function Get-V2024SodAllReportRunStatus { + [CmdletBinding()] + Param ( + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024SodAllReportRunStatus' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/sod-violation-report' + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ReportResultReference" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get SOD policy by ID + +.DESCRIPTION + +This gets specified SOD policy. Requires role of ORG_ADMIN. + +.PARAMETER Id +The ID of the SOD Policy to retrieve. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SodPolicy +#> +function Get-V2024SodPolicy { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024SodPolicy' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/sod-policies/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getSodPolicy." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SodPolicy" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get SOD policy schedule + +.DESCRIPTION + +This endpoint gets a specified SOD policy's schedule. + +.PARAMETER Id +The ID of the SOD policy schedule to retrieve. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SodPolicySchedule +#> +function Get-V2024SodPolicySchedule { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024SodPolicySchedule' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/sod-policies/{id}/schedule' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getSodPolicySchedule." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SodPolicySchedule" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get violation report run status + +.DESCRIPTION + +This gets the status for a violation report run task that has already been invoked. + +.PARAMETER ReportResultId +The ID of the report reference to retrieve. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ReportResultReference +#> +function Get-V2024SodViolationReportRunStatus { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${ReportResultId}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024SodViolationReportRunStatus' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/sod-policies/sod-violation-report-status/{reportResultId}' + if (!$ReportResultId) { + throw "Error! The required parameter `ReportResultId` missing when calling getSodViolationReportRunStatus." + } + $LocalVarUri = $LocalVarUri.replace('{reportResultId}', [System.Web.HTTPUtility]::UrlEncode($ReportResultId)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ReportResultReference" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get SOD violation report status + +.DESCRIPTION + +This gets the status for a violation report run task that has already been invoked. + +.PARAMETER Id +The ID of the violation report to retrieve status for. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ReportResultReference +#> +function Get-V2024SodViolationReportStatus { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024SodViolationReportStatus' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/sod-policies/{id}/violation-report' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getSodViolationReportStatus." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ReportResultReference" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List SOD policies + +.DESCRIPTION + +This gets list of all SOD policies. Requires role of ORG_ADMIN + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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, in* **state**: *eq, in* + +.PARAMETER 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, created, modified, description** + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SodPolicy[] +#> +function Get-V2024SodPolicies { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024SodPolicies' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/sod-policies' + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SodPolicy[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Patch SOD policy by ID + +.DESCRIPTION + +Allows updating SOD Policy fields other than [""id"",""created"",""creatorId"",""policyQuery"",""type""] using the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. Requires role of ORG_ADMIN. This endpoint can only patch CONFLICTING_ACCESS_BASED type policies. Do not use this endpoint to patch general policies - doing so will build an API exception. + +.PARAMETER Id +The ID of the SOD policy being modified. + +.PARAMETER JsonPatchOperation +A list of SOD Policy update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. The following fields are patchable: * name * description * ownerRef * externalPolicyReference * compensatingControls * correctionAdvice * state * tags * violationOwnerAssignmentConfig * scheduled * conflictingAccessCriteria + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SodPolicy +#> +function Update-V2024SodPolicy { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject[]] + ${JsonPatchOperation}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Update-V2024SodPolicy' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json-patch+json') + + $LocalVarUri = '/sod-policies/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling patchSodPolicy." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$JsonPatchOperation) { + throw "Error! The required parameter `JsonPatchOperation` missing when calling patchSodPolicy." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($JsonPatchOperation -is [array])) { + $LocalVarBodyParameter = $JsonPatchOperation | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $JsonPatchOperation | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PATCH' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SodPolicy" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Update SOD Policy schedule + +.DESCRIPTION + +This updates schedule for a specified SOD policy. + +.PARAMETER Id +The ID of the SOD policy to update its schedule. + +.PARAMETER SodPolicySchedule +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SodPolicySchedule +#> +function Send-V2024PolicySchedule { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${SodPolicySchedule}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Send-V2024PolicySchedule' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/sod-policies/{id}/schedule' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling putPolicySchedule." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$SodPolicySchedule) { + throw "Error! The required parameter `SodPolicySchedule` missing when calling putPolicySchedule." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($SodPolicySchedule -is [array])) { + $LocalVarBodyParameter = $SodPolicySchedule | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $SodPolicySchedule | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PUT' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SodPolicySchedule" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Update SOD policy by ID + +.DESCRIPTION + +This updates a specified SOD policy. Requires role of ORG_ADMIN. + +.PARAMETER Id +The ID of the SOD policy to update. + +.PARAMETER SodPolicy +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SodPolicy +#> +function Send-V2024SodPolicy { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${SodPolicy}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Send-V2024SodPolicy' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/sod-policies/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling putSodPolicy." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$SodPolicy) { + throw "Error! The required parameter `SodPolicy` missing when calling putSodPolicy." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($SodPolicy -is [array])) { + $LocalVarBodyParameter = $SodPolicy | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $SodPolicy | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PUT' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SodPolicy" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Evaluate one policy by ID + +.DESCRIPTION + +Runs the scheduled report for the policy retrieved by passed policy ID. The report schedule is fetched from the policy retrieved by ID. + +.PARAMETER Id +The SOD policy ID to run. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ReportResultReference +#> +function Start-V2024EvaluateSodPolicy { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Start-V2024EvaluateSodPolicy' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/sod-policies/{id}/evaluate' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling startEvaluateSodPolicy." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ReportResultReference" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Runs all policies for org + +.DESCRIPTION + +Runs multi-policy report for the org. If a policy reports more than 5000 violations, the report mentions that the violation limit was exceeded for that policy. If the request is empty, the report runs for all policies. Otherwise, the report runs for only the filtered policy list provided. + +.PARAMETER MultiPolicyRequest +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ReportResultReference +#> +function Start-V2024SodAllPoliciesForOrg { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${MultiPolicyRequest}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Start-V2024SodAllPoliciesForOrg' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/sod-violation-report/run' + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($MultiPolicyRequest -is [array])) { + $LocalVarBodyParameter = $MultiPolicyRequest | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $MultiPolicyRequest | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ReportResultReference" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Runs SOD policy violation report + +.DESCRIPTION + +This invokes processing of violation report for given SOD policy. If the policy reports more than 5000 violations, the report returns with violation limit exceeded message. + +.PARAMETER Id +The SOD policy ID to run. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ReportResultReference +#> +function Start-V2024SodPolicy { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Start-V2024SodPolicy' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/sod-policies/{id}/violation-report/run' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling startSodPolicy." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ReportResultReference" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024SODViolationsApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024SODViolationsApi.ps1 new file mode 100644 index 000000000..f51df5d45 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024SODViolationsApi.ps1 @@ -0,0 +1,187 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Predict SOD violations for identity. + +.DESCRIPTION + +This API is used to check if granting some additional accesses would cause the subject to be in violation of any SOD policies. Returns the violations that would be caused. A token with ORG_ADMIN or API authority is required to call this API. + +.PARAMETER IdentityWithNewAccess +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ViolationPrediction +#> +function Start-V2024PredictSodViolations { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${IdentityWithNewAccess}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Start-V2024PredictSodViolations' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/sod-violations/predict' + + if (!$IdentityWithNewAccess) { + throw "Error! The required parameter `IdentityWithNewAccess` missing when calling startPredictSodViolations." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($IdentityWithNewAccess -is [array])) { + $LocalVarBodyParameter = $IdentityWithNewAccess | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $IdentityWithNewAccess | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ViolationPrediction" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Check SOD violations + +.DESCRIPTION + +This API initiates a SOD policy verification asynchronously. A token with ORG_ADMIN authority is required to call this API. + +.PARAMETER IdentityWithNewAccess1 +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SodViolationCheck +#> +function Start-V2024ViolationCheck { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${IdentityWithNewAccess1}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Start-V2024ViolationCheck' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/sod-violations/check' + + if (!$IdentityWithNewAccess1) { + throw "Error! The required parameter `IdentityWithNewAccess1` missing when calling startViolationCheck." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($IdentityWithNewAccess1 -is [array])) { + $LocalVarBodyParameter = $IdentityWithNewAccess1 | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $IdentityWithNewAccess1 | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SodViolationCheck" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024SPConfigApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024SPConfigApi.ps1 new file mode 100644 index 000000000..1b3383360 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024SPConfigApi.ps1 @@ -0,0 +1,632 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Initiates configuration objects export job + +.DESCRIPTION + +This post will export objects from the tenant to a JSON configuration file. For more information about the object types that currently support export functionality, refer to [SaaS Configuration](https://developer.sailpoint.com/idn/docs/saas-configuration/#supported-objects). + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER ExportPayload +Export options control what will be included in the export. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SpConfigExportJob +#> +function Export-V2024SpConfig { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${ExportPayload}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Export-V2024SpConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/sp-config/export' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling exportSpConfig." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$ExportPayload) { + throw "Error! The required parameter `ExportPayload` missing when calling exportSpConfig." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($ExportPayload -is [array])) { + $LocalVarBodyParameter = $ExportPayload | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $ExportPayload | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SpConfigExportJob" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Download export job result. + +.DESCRIPTION + +This endpoint gets the export file resulting from the export job with the requested `id` and downloads it to a file. The request will need one of the following security scopes: - sp:config:read - sp:config:manage + +.PARAMETER Id +The ID of the export job whose results will be downloaded. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SpConfigExportResults +#> +function Get-V2024SpConfigExport { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024SpConfigExport' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/sp-config/export/{id}/download' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getSpConfigExport." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getSpConfigExport." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SpConfigExportResults" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get export job status + +.DESCRIPTION + +This gets the status of the export job identified by the `id` parameter. The request will need one of the following security scopes: - sp:config:read - sp:config:manage + +.PARAMETER Id +The ID of the export job whose status will be returned. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SpConfigExportJobStatus +#> +function Get-V2024SpConfigExportStatus { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024SpConfigExportStatus' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/sp-config/export/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getSpConfigExportStatus." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getSpConfigExportStatus." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SpConfigExportJobStatus" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Download import job result + +.DESCRIPTION + +This gets import file resulting from the import job with the requested id and downloads it to a file. The downloaded file will contain the results of the import operation, including any error, warning or informational messages associated with the import. The request will need the following security scope: - sp:config:manage + +.PARAMETER Id +The ID of the import job whose results will be downloaded. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SpConfigImportResults +#> +function Get-V2024SpConfigImport { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024SpConfigImport' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/sp-config/import/{id}/download' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getSpConfigImport." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getSpConfigImport." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SpConfigImportResults" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get import job status + +.DESCRIPTION + +This gets the status of the import job identified by the `id` parameter. For more information about the object types that currently support import functionality, refer to [SaaS Configuration](https://developer.sailpoint.com/idn/docs/saas-configuration/#supported-objects). The request will need the following security scope: - sp:config:manage + +.PARAMETER Id +The ID of the import job whose status will be returned. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SpConfigImportJobStatus +#> +function Get-V2024SpConfigImportStatus { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024SpConfigImportStatus' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/sp-config/import/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getSpConfigImportStatus." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getSpConfigImportStatus." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SpConfigImportJobStatus" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Initiates configuration objects import job + +.DESCRIPTION + +This post will import objects from a JSON configuration file into a tenant. By default, every import will first export all existing objects supported by sp-config as a backup before the import is attempted. The backup is provided so that the state of the configuration prior to the import is available for inspection or restore if needed. The backup can be skipped by setting ""excludeBackup"" to true in the import options. If a backup is performed, the id of the backup will be provided in the ImportResult as the ""exportJobId"". This can be downloaded using the /sp-config/export/{exportJobId}/download endpoint. You cannot currently import from the Non-Employee Lifecycle Management (NELM) source. You cannot use this endpoint to back up or store NELM data. For more information about the object types that currently support import functionality, refer to [SaaS Configuration](https://developer.sailpoint.com/idn/docs/saas-configuration/#supported-objects). The request will need the following security scope: - sp:config:manage + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER Data +JSON file containing the objects to be imported. + +.PARAMETER Preview +This option is intended to give the user information about how an import operation would proceed, without having any effect on the target tenant. If this parameter is ""true"", no objects will be imported. Instead, the import process will pre-process the import file and attempt to resolve references within imported objects. The import result file will contain messages pertaining to how specific references were resolved, any errors associated with the preprocessing, and messages indicating which objects would be imported. + +.PARAMETER Options +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SpConfigJob +#> +function Import-V2024SpConfig { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.IO.FileInfo] + ${Data}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Preview}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${Options}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Import-V2024SpConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('multipart/form-data') + + $LocalVarUri = '/sp-config/import' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling importSpConfig." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($Preview) { + $LocalVarQueryParameters['preview'] = $Preview + } + + if (!$Data) { + throw "Error! The required parameter `Data` missing when calling importSpConfig." + } + $LocalVarFormParameters['data'] = $Data + + if ($Options) { + $LocalVarFormParameters['options'] = $Options + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SpConfigJob" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get config object details + +.DESCRIPTION + +This gets the list of object configurations which are known to the tenant export/import service. Object configurations that contain ""importUrl"" and ""exportUrl"" are available for export/import. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SpConfigObject[] +#> +function Get-V2024SpConfigObjects { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024SpConfigObjects' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/sp-config/config-objects' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling listSpConfigObjects." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SpConfigObject[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024SavedSearchApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024SavedSearchApi.ps1 new file mode 100644 index 000000000..587ba8b06 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024SavedSearchApi.ps1 @@ -0,0 +1,549 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Create a saved search + +.DESCRIPTION + +Creates a new saved search. + +.PARAMETER CreateSavedSearchRequest +The saved search to persist. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SavedSearch +#> +function New-V2024SavedSearch { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${CreateSavedSearchRequest}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: New-V2024SavedSearch' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/saved-searches' + + if (!$CreateSavedSearchRequest) { + throw "Error! The required parameter `CreateSavedSearchRequest` missing when calling createSavedSearch." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($CreateSavedSearchRequest -is [array])) { + $LocalVarBodyParameter = $CreateSavedSearchRequest | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $CreateSavedSearchRequest | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SavedSearch" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Delete document by ID + +.DESCRIPTION + +Deletes the specified saved search. + +.PARAMETER Id +ID of the requested document. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Remove-V2024SavedSearch { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024SavedSearch' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/saved-searches/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling deleteSavedSearch." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'DELETE' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Execute a saved search by ID + +.DESCRIPTION + +Executes the specified saved search. + +.PARAMETER Id +ID of the requested document. + +.PARAMETER SearchArguments +When saved search execution is triggered by a scheduled search, *scheduleId* will specify the ID of the triggering scheduled search. If *scheduleId* is not specified (when execution is triggered by a UI test), the *owner* and *recipients* arguments must be provided. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Invoke-V2024ExecuteSavedSearch { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${SearchArguments}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Invoke-V2024ExecuteSavedSearch' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/saved-searches/{id}/execute' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling executeSavedSearch." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$SearchArguments) { + throw "Error! The required parameter `SearchArguments` missing when calling executeSavedSearch." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($SearchArguments -is [array])) { + $LocalVarBodyParameter = $SearchArguments | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $SearchArguments | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Return saved search by ID + +.DESCRIPTION + +Returns the specified saved search. + +.PARAMETER Id +ID of the requested document. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SavedSearch +#> +function Get-V2024SavedSearch { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024SavedSearch' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/saved-searches/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getSavedSearch." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SavedSearch" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +A list of Saved Searches + +.DESCRIPTION + +Returns a list of saved searches. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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: **owner.id**: *eq* + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SavedSearch[] +#> +function Get-V2024SavedSearches { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024SavedSearches' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/saved-searches' + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SavedSearch[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Updates an existing saved search + +.DESCRIPTION + +Updates an existing saved search. >**NOTE: You cannot update the `owner` of the saved search.** + +.PARAMETER Id +ID of the requested document. + +.PARAMETER SavedSearch +The saved search to persist. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SavedSearch +#> +function Send-V2024SavedSearch { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${SavedSearch}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Send-V2024SavedSearch' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/saved-searches/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling putSavedSearch." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$SavedSearch) { + throw "Error! The required parameter `SavedSearch` missing when calling putSavedSearch." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($SavedSearch -is [array])) { + $LocalVarBodyParameter = $SavedSearch | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $SavedSearch | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PUT' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SavedSearch" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024ScheduledSearchApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024ScheduledSearchApi.ps1 new file mode 100644 index 000000000..4b4135b7b --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024ScheduledSearchApi.ps1 @@ -0,0 +1,549 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Create a new scheduled search + +.DESCRIPTION + +Creates a new scheduled search. + +.PARAMETER CreateScheduledSearchRequest +The scheduled search to persist. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ScheduledSearch +#> +function New-V2024ScheduledSearch { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${CreateScheduledSearchRequest}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: New-V2024ScheduledSearch' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/scheduled-searches' + + if (!$CreateScheduledSearchRequest) { + throw "Error! The required parameter `CreateScheduledSearchRequest` missing when calling createScheduledSearch." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($CreateScheduledSearchRequest -is [array])) { + $LocalVarBodyParameter = $CreateScheduledSearchRequest | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $CreateScheduledSearchRequest | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ScheduledSearch" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Delete a Scheduled Search + +.DESCRIPTION + +Deletes the specified scheduled search. + +.PARAMETER Id +ID of the requested document. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Remove-V2024ScheduledSearch { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024ScheduledSearch' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/scheduled-searches/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling deleteScheduledSearch." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'DELETE' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get a Scheduled Search + +.DESCRIPTION + +Returns the specified scheduled search. + +.PARAMETER Id +ID of the requested document. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ScheduledSearch +#> +function Get-V2024ScheduledSearch { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024ScheduledSearch' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/scheduled-searches/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getScheduledSearch." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ScheduledSearch" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List scheduled searches + +.DESCRIPTION + +Returns a list of scheduled searches. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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: **owner.id**: *eq* **savedSearchId**: *eq* + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ScheduledSearch[] +#> +function Get-V2024ScheduledSearch { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024ScheduledSearch' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/scheduled-searches' + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ScheduledSearch[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Unsubscribe a recipient from Scheduled Search + +.DESCRIPTION + +Unsubscribes a recipient from the specified scheduled search. + +.PARAMETER Id +ID of the requested document. + +.PARAMETER TypedReference +The recipient to be removed from the scheduled search. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Invoke-V2024UnsubscribeScheduledSearch { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${TypedReference}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Invoke-V2024UnsubscribeScheduledSearch' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/scheduled-searches/{id}/unsubscribe' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling unsubscribeScheduledSearch." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$TypedReference) { + throw "Error! The required parameter `TypedReference` missing when calling unsubscribeScheduledSearch." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($TypedReference -is [array])) { + $LocalVarBodyParameter = $TypedReference | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $TypedReference | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Update an existing Scheduled Search + +.DESCRIPTION + +Updates an existing scheduled search. + +.PARAMETER Id +ID of the requested document. + +.PARAMETER ScheduledSearch +The scheduled search to persist. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ScheduledSearch +#> +function Update-V2024ScheduledSearch { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${ScheduledSearch}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Update-V2024ScheduledSearch' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/scheduled-searches/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling updateScheduledSearch." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$ScheduledSearch) { + throw "Error! The required parameter `ScheduledSearch` missing when calling updateScheduledSearch." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($ScheduledSearch -is [array])) { + $LocalVarBodyParameter = $ScheduledSearch | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $ScheduledSearch | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PUT' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ScheduledSearch" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024SearchApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024SearchApi.ps1 new file mode 100644 index 000000000..2a715aa8d --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024SearchApi.ps1 @@ -0,0 +1,433 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Perform a Search Query Aggregation + +.DESCRIPTION + +Performs a search query aggregation and returns the aggregation result. By default, you can page a maximum of 10,000 search result records. 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. + +.PARAMETER Search +No description available. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER ReturnType + +Select the return type (optional): application/json, text/csv + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +AggregationResult +#> +function Search-V2024Aggregate { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${Search}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [String] + [ValidateSet("application/json", "text/csv")] + $ReturnType, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Search-V2024Aggregate' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json', 'text/csv') + + if ($ReturnType) { + # use the return type (MIME) provided by the user + $LocalVarAccepts = @($ReturnType) + } + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/search/aggregate' + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if (!$Search) { + throw "Error! The required parameter `Search` missing when calling searchAggregate." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($Search -is [array])) { + $LocalVarBodyParameter = $Search | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $Search | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "AggregationResult" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Count Documents Satisfying a Query + +.DESCRIPTION + +Performs a search with a provided query and returns the count of results in the X-Total-Count header. + +.PARAMETER Search +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Search-V2024Count { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${Search}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Search-V2024Count' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/search/count' + + if (!$Search) { + throw "Error! The required parameter `Search` missing when calling searchCount." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($Search -is [array])) { + $LocalVarBodyParameter = $Search | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $Search | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get a Document by ID + +.DESCRIPTION + +Fetches a single document from the specified index, using the specified document ID. + +.PARAMETER Index +The index from which to fetch the specified document. The currently supported index names are: *accessprofiles*, *accountactivities*, *entitlements*, *events*, *identities*, and *roles*. + +.PARAMETER Id +ID of the requested document. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SystemCollectionsHashtable +#> +function Search-V2024Get { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Index}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Search-V2024Get' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/search/{index}/{id}' + if (!$Index) { + throw "Error! The required parameter `Index` missing when calling searchGet." + } + $LocalVarUri = $LocalVarUri.replace('{index}', [System.Web.HTTPUtility]::UrlEncode($Index)) + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling searchGet." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SystemCollectionsHashtable" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Perform Search + +.DESCRIPTION + +Performs a search with the provided query and returns a matching result collection. By default, you can page a maximum of 10,000 search result records. 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. + +.PARAMETER Search +No description available. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SystemCollectionsHashtable[] +#> +function Search-V2024Post { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${Search}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Search-V2024Post' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/search' + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if (!$Search) { + throw "Error! The required parameter `Search` missing when calling searchPost." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($Search -is [array])) { + $LocalVarBodyParameter = $Search | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $Search | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SystemCollectionsHashtable[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024SearchAttributeConfigurationApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024SearchAttributeConfigurationApi.ps1 new file mode 100644 index 000000000..053f0c99e --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024SearchAttributeConfigurationApi.ps1 @@ -0,0 +1,409 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Configure/create search attributes in IdentityNow. + +.DESCRIPTION + +This API accepts an attribute name, an attribute display name and a list of name/value pair associates of application IDs to attribute names. It will then validate the inputs and configure/create and attribute promotion configuration in the Link ObjectConfig. A token with ORG_ADMIN authority is required to call this API. + +.PARAMETER SearchAttributeConfig +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SystemCollectionsHashtable +#> +function New-V2024SearchAttributeConfig { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${SearchAttributeConfig}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: New-V2024SearchAttributeConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/accounts/search-attribute-config' + + if (!$SearchAttributeConfig) { + throw "Error! The required parameter `SearchAttributeConfig` missing when calling createSearchAttributeConfig." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($SearchAttributeConfig -is [array])) { + $LocalVarBodyParameter = $SearchAttributeConfig | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $SearchAttributeConfig | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SystemCollectionsHashtable" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Delete search attribute in IdentityNow. + +.DESCRIPTION + +This API accepts an extended search attribute name and deletes the corresponding extended attribute configuration. A token with ORG_ADMIN authority is required to call this API. + +.PARAMETER Name +Name of the extended search attribute configuration to delete. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Remove-V2024SearchAttributeConfig { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Name}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024SearchAttributeConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/accounts/search-attribute-config/{name}' + if (!$Name) { + throw "Error! The required parameter `Name` missing when calling deleteSearchAttributeConfig." + } + $LocalVarUri = $LocalVarUri.replace('{name}', [System.Web.HTTPUtility]::UrlEncode($Name)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'DELETE' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Retrieve attribute list in IdentityNow. + +.DESCRIPTION + +This API retrieves a list of extended search attribute/application associates currently configured in IdentityNow. A token with ORG_ADMIN authority is required to call this API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SearchAttributeConfig[] +#> +function Get-V2024SearchAttributeConfig { + [CmdletBinding()] + Param ( + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024SearchAttributeConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/accounts/search-attribute-config' + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SearchAttributeConfig[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get specific attribute in IdentityNow. + +.DESCRIPTION + +This API accepts an extended search attribute name and retrieves the corresponding extended attribute configuration. A token with ORG_ADMIN authority is required to call this API. + +.PARAMETER Name +Name of the extended search attribute configuration to retrieve. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SearchAttributeConfig[] +#> +function Get-V2024SingleSearchAttributeConfig { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Name}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024SingleSearchAttributeConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/accounts/search-attribute-config/{name}' + if (!$Name) { + throw "Error! The required parameter `Name` missing when calling getSingleSearchAttributeConfig." + } + $LocalVarUri = $LocalVarUri.replace('{name}', [System.Web.HTTPUtility]::UrlEncode($Name)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SearchAttributeConfig[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Update search attribute in IdentityNow. + +.DESCRIPTION + +This API updates an existing Search Attribute Configuration. The following fields are patchable: **name**, **displayName**, **applicationAttributes** A token with ORG_ADMIN authority is required to call this API. + +.PARAMETER Name +Name of the Search Attribute Configuration to patch. + +.PARAMETER JsonPatchOperation +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SearchAttributeConfig +#> +function Update-V2024SearchAttributeConfig { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Name}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject[]] + ${JsonPatchOperation}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Update-V2024SearchAttributeConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json-patch+json') + + $LocalVarUri = '/accounts/search-attribute-config/{name}' + if (!$Name) { + throw "Error! The required parameter `Name` missing when calling patchSearchAttributeConfig." + } + $LocalVarUri = $LocalVarUri.replace('{name}', [System.Web.HTTPUtility]::UrlEncode($Name)) + + if (!$JsonPatchOperation) { + throw "Error! The required parameter `JsonPatchOperation` missing when calling patchSearchAttributeConfig." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($JsonPatchOperation -is [array])) { + $LocalVarBodyParameter = $JsonPatchOperation | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $JsonPatchOperation | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PATCH' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SearchAttributeConfig" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024SegmentsApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024SegmentsApi.ps1 new file mode 100644 index 000000000..3f7f29117 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024SegmentsApi.ps1 @@ -0,0 +1,439 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Create Segment + +.DESCRIPTION + +This API creates a segment. >**Note:** Segment definitions may take time to propagate to all identities. A token with ORG_ADMIN or API authority is required to call this API. + +.PARAMETER Segment +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +Segment +#> +function New-V2024Segment { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${Segment}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: New-V2024Segment' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/segments' + + if (!$Segment) { + throw "Error! The required parameter `Segment` missing when calling createSegment." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($Segment -is [array])) { + $LocalVarBodyParameter = $Segment | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $Segment | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "Segment" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Delete Segment by ID + +.DESCRIPTION + +This API deletes the segment specified by the given ID. >**Note:** that segment deletion may take some time to become effective. A token with ORG_ADMIN or API authority is required to call this API. + +.PARAMETER Id +The segment ID to delete. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Remove-V2024Segment { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024Segment' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/segments/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling deleteSegment." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'DELETE' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get Segment by ID + +.DESCRIPTION + +This API returns the segment specified by the given ID. A token with ORG_ADMIN or API authority is required to call this API. + +.PARAMETER Id +The segment ID to retrieve. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +Segment +#> +function Get-V2024Segment { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024Segment' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/segments/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getSegment." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "Segment" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List Segments + +.DESCRIPTION + +This API returns a list of all segments. A token with ORG_ADMIN or API authority is required to call this API. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +Segment[] +#> +function Get-V2024Segments { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024Segments' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/segments' + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "Segment[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Update Segment + +.DESCRIPTION + +Use this API to update segment fields by using the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. >**Note:** Changes to a segment may take some time to propagate to all identities. A token with ORG_ADMIN or API authority is required to call this API. + +.PARAMETER Id +The segment ID to modify. + +.PARAMETER RequestBody +A list of segment update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. The following fields are patchable: * name * description * owner * visibilityCriteria * active + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +Segment +#> +function Update-V2024Segment { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject[]] + ${RequestBody}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Update-V2024Segment' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json-patch+json') + + $LocalVarUri = '/segments/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling patchSegment." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$RequestBody) { + throw "Error! The required parameter `RequestBody` missing when calling patchSegment." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($RequestBody -is [array])) { + $LocalVarBodyParameter = $RequestBody | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $RequestBody | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PATCH' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "Segment" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024ServiceDeskIntegrationApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024ServiceDeskIntegrationApi.ps1 new file mode 100644 index 000000000..5da5e3b9b --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024ServiceDeskIntegrationApi.ps1 @@ -0,0 +1,851 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Create new Service Desk integration + +.DESCRIPTION + +Create a new Service Desk Integrations. A token with Org Admin or Service Desk Admin authority is required to access this endpoint. + +.PARAMETER ServiceDeskIntegrationDto +The specifics of a new integration to create + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ServiceDeskIntegrationDto +#> +function New-V2024ServiceDeskIntegration { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${ServiceDeskIntegrationDto}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: New-V2024ServiceDeskIntegration' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/service-desk-integrations' + + if (!$ServiceDeskIntegrationDto) { + throw "Error! The required parameter `ServiceDeskIntegrationDto` missing when calling createServiceDeskIntegration." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($ServiceDeskIntegrationDto -is [array])) { + $LocalVarBodyParameter = $ServiceDeskIntegrationDto | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $ServiceDeskIntegrationDto | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ServiceDeskIntegrationDto" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Delete a Service Desk integration + +.DESCRIPTION + +Delete an existing Service Desk integration by ID. A token with Org Admin or Service Desk Admin authority is required to access this endpoint. + +.PARAMETER Id +ID of Service Desk integration to delete + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Remove-V2024ServiceDeskIntegration { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024ServiceDeskIntegration' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/service-desk-integrations/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling deleteServiceDeskIntegration." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'DELETE' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get a Service Desk integration + +.DESCRIPTION + +Get an existing Service Desk integration by ID. A token with Org Admin or Service Desk Admin authority is required to access this endpoint. + +.PARAMETER Id +ID of the Service Desk integration to get + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ServiceDeskIntegrationDto +#> +function Get-V2024ServiceDeskIntegration { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024ServiceDeskIntegration' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/service-desk-integrations/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getServiceDeskIntegration." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ServiceDeskIntegrationDto" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Service Desk integration template by scriptName. + +.DESCRIPTION + +This API endpoint returns an existing Service Desk integration template by scriptName. A token with Org Admin or Service Desk Admin authority is required to access this endpoint. + +.PARAMETER ScriptName +The scriptName value of the Service Desk integration template to get + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ServiceDeskIntegrationTemplateDto +#> +function Get-V2024ServiceDeskIntegrationTemplate { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${ScriptName}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024ServiceDeskIntegrationTemplate' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/service-desk-integrations/templates/{scriptName}' + if (!$ScriptName) { + throw "Error! The required parameter `ScriptName` missing when calling getServiceDeskIntegrationTemplate." + } + $LocalVarUri = $LocalVarUri.replace('{scriptName}', [System.Web.HTTPUtility]::UrlEncode($ScriptName)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ServiceDeskIntegrationTemplateDto" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Service Desk Integration Types List. + +.DESCRIPTION + +This API endpoint returns the current list of supported Service Desk integration types. A token with Org Admin or Service Desk Admin authority is required to access this endpoint. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ServiceDeskIntegrationTemplateType[] +#> +function Get-V2024ServiceDeskIntegrationTypes { + [CmdletBinding()] + Param ( + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024ServiceDeskIntegrationTypes' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/service-desk-integrations/types' + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ServiceDeskIntegrationTemplateType[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List existing Service Desk Integrations + +.DESCRIPTION + +Get a list of ServiceDeskIntegrationDto for existing Service Desk Integrations. A token with Org Admin or Service Desk Admin authority is required to access this endpoint. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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: **name** + +.PARAMETER 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* **type**: *eq, in* **cluster**: *eq, in* + +.PARAMETER 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. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ServiceDeskIntegrationDto[] +#> +function Get-V2024ServiceDeskIntegrations { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024ServiceDeskIntegrations' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/service-desk-integrations' + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ServiceDeskIntegrationDto[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get the time check configuration + +.DESCRIPTION + +Get the time check configuration of queued SDIM tickets. A token with Org Admin or Service Desk Admin authority is required to access this endpoint. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +QueuedCheckConfigDetails +#> +function Get-V2024StatusCheckDetails { + [CmdletBinding()] + Param ( + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024StatusCheckDetails' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/service-desk-integrations/status-check-configuration' + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "QueuedCheckConfigDetails" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Service Desk Integration Update PATCH + +.DESCRIPTION + +Update an existing ServiceDeskIntegration by ID with a PATCH request. + +.PARAMETER Id +ID of the Service Desk integration to update + +.PARAMETER PatchServiceDeskIntegrationRequest +A list of SDIM update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. Only `replace` operations are accepted by this endpoint. A 403 Forbidden Error indicates that you attempted to PATCH a operation that is not allowed. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ServiceDeskIntegrationDto +#> +function Update-V2024ServiceDeskIntegration { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${PatchServiceDeskIntegrationRequest}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Update-V2024ServiceDeskIntegration' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json-patch+json') + + $LocalVarUri = '/service-desk-integrations/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling patchServiceDeskIntegration." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$PatchServiceDeskIntegrationRequest) { + throw "Error! The required parameter `PatchServiceDeskIntegrationRequest` missing when calling patchServiceDeskIntegration." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($PatchServiceDeskIntegrationRequest -is [array])) { + $LocalVarBodyParameter = $PatchServiceDeskIntegrationRequest | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $PatchServiceDeskIntegrationRequest | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PATCH' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ServiceDeskIntegrationDto" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Update a Service Desk integration + +.DESCRIPTION + +Update an existing Service Desk integration by ID with updated value in JSON form as the request body. A token with Org Admin or Service Desk Admin authority is required to access this endpoint. + +.PARAMETER Id +ID of the Service Desk integration to update + +.PARAMETER ServiceDeskIntegrationDto +The specifics of the integration to update + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ServiceDeskIntegrationDto +#> +function Send-V2024ServiceDeskIntegration { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${ServiceDeskIntegrationDto}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Send-V2024ServiceDeskIntegration' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/service-desk-integrations/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling putServiceDeskIntegration." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$ServiceDeskIntegrationDto) { + throw "Error! The required parameter `ServiceDeskIntegrationDto` missing when calling putServiceDeskIntegration." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($ServiceDeskIntegrationDto -is [array])) { + $LocalVarBodyParameter = $ServiceDeskIntegrationDto | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $ServiceDeskIntegrationDto | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PUT' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ServiceDeskIntegrationDto" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Update the time check configuration + +.DESCRIPTION + +Update the time check configuration of queued SDIM tickets. A token with Org Admin or Service Desk Admin authority is required to access this endpoint. + +.PARAMETER QueuedCheckConfigDetails +the modified time check configuration + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +QueuedCheckConfigDetails +#> +function Update-V2024StatusCheckDetails { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${QueuedCheckConfigDetails}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Update-V2024StatusCheckDetails' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/service-desk-integrations/status-check-configuration' + + if (!$QueuedCheckConfigDetails) { + throw "Error! The required parameter `QueuedCheckConfigDetails` missing when calling updateStatusCheckDetails." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($QueuedCheckConfigDetails -is [array])) { + $LocalVarBodyParameter = $QueuedCheckConfigDetails | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $QueuedCheckConfigDetails | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PUT' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "QueuedCheckConfigDetails" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024SourceUsagesApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024SourceUsagesApi.ps1 new file mode 100644 index 000000000..cb5687728 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024SourceUsagesApi.ps1 @@ -0,0 +1,195 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Finds status of source usage + +.DESCRIPTION + +This API returns the status of the source usage insights setup by IDN source ID. + +.PARAMETER SourceId +ID of IDN source + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SourceUsageStatus +#> +function Get-V2024StatusBySourceId { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SourceId}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024StatusBySourceId' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/source-usages/{sourceId}/status' + if (!$SourceId) { + throw "Error! The required parameter `SourceId` missing when calling getStatusBySourceId." + } + $LocalVarUri = $LocalVarUri.replace('{sourceId}', [System.Web.HTTPUtility]::UrlEncode($SourceId)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SourceUsageStatus" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Returns source usage insights + +.DESCRIPTION + +This API returns a summary of source usage insights for past 12 months. + +.PARAMETER SourceId +ID of IDN source + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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: **date** + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SourceUsage[] +#> +function Get-V2024UsagesBySourceId { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SourceId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024UsagesBySourceId' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/source-usages/{sourceId}/summaries' + if (!$SourceId) { + throw "Error! The required parameter `SourceId` missing when calling getUsagesBySourceId." + } + $LocalVarUri = $LocalVarUri.replace('{sourceId}', [System.Web.HTTPUtility]::UrlEncode($SourceId)) + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SourceUsage[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024SourcesApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024SourcesApi.ps1 new file mode 100644 index 000000000..3096a4826 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024SourcesApi.ps1 @@ -0,0 +1,3832 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Create Provisioning Policy + +.DESCRIPTION + +This API generates a create policy/template based on field value transforms. This API is intended for use when setting up JDBC Provisioning type sources, but it will also work on other source types. Transforms can be used in the provisioning policy to create a new attribute that you only need during provisioning. Refer to [Transforms in Provisioning Policies](https://developer.sailpoint.com/idn/docs/transforms/guides/transforms-in-provisioning-policies) for more information. A token with ORG_ADMIN authority is required to call this API. + +.PARAMETER SourceId +The Source id + +.PARAMETER ProvisioningPolicyDto +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ProvisioningPolicyDto +#> +function New-V2024ProvisioningPolicy { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SourceId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${ProvisioningPolicyDto}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: New-V2024ProvisioningPolicy' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/sources/{sourceId}/provisioning-policies' + if (!$SourceId) { + throw "Error! The required parameter `SourceId` missing when calling createProvisioningPolicy." + } + $LocalVarUri = $LocalVarUri.replace('{sourceId}', [System.Web.HTTPUtility]::UrlEncode($SourceId)) + + if (!$ProvisioningPolicyDto) { + throw "Error! The required parameter `ProvisioningPolicyDto` missing when calling createProvisioningPolicy." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($ProvisioningPolicyDto -is [array])) { + $LocalVarBodyParameter = $ProvisioningPolicyDto | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $ProvisioningPolicyDto | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ProvisioningPolicyDto" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Creates a source in IdentityNow. + +.DESCRIPTION + +This creates a specific source with a full source JSON representation. Any passwords are submitted as plain-text and encrypted upon receipt in IdentityNow. A token with ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API. + +.PARAMETER Source +No description available. + +.PARAMETER ProvisionAsCsv +If this parameter is `true`, it configures the source as a Delimited File (CSV) source. Setting this to `true` will automatically set the `type` of the source to `DelimitedFile`. You must use this query parameter to create a Delimited File source as you would in the UI. If you don't set this query parameter and you attempt to set the `type` attribute directly, the request won't correctly generate the source. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +Source +#> +function New-V2024Source { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${Source}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${ProvisionAsCsv}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: New-V2024Source' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/sources' + + if ($ProvisionAsCsv) { + $LocalVarQueryParameters['provisionAsCsv'] = $ProvisionAsCsv + } + + if (!$Source) { + throw "Error! The required parameter `Source` missing when calling createSource." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($Source -is [array])) { + $LocalVarBodyParameter = $Source | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $Source | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "Source" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Create Schema on Source + +.DESCRIPTION + +Use this API to create a new schema on the specified source in Identity Security Cloud (ISC). + +.PARAMETER SourceId +Source ID. + +.PARAMETER Schema +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +Schema +#> +function New-V2024SourceSchema { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SourceId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${Schema}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: New-V2024SourceSchema' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/sources/{sourceId}/schemas' + if (!$SourceId) { + throw "Error! The required parameter `SourceId` missing when calling createSourceSchema." + } + $LocalVarUri = $LocalVarUri.replace('{sourceId}', [System.Web.HTTPUtility]::UrlEncode($SourceId)) + + if (!$Schema) { + throw "Error! The required parameter `Schema` missing when calling createSourceSchema." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($Schema -is [array])) { + $LocalVarBodyParameter = $Schema | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $Schema | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "Schema" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Remove All Accounts in a Source + +.DESCRIPTION + +Use this endpoint to remove all accounts from the system without provisioning changes to the source. Accounts that are removed could be re-created during the next aggregation. This endpoint is good for: * Removing accounts that no longer exist on the source. * Removing accounts that won't be aggregated following updates to the source configuration. * Forcing accounts to be re-created following the next aggregation to re-run account processing, support testing, etc. + +.PARAMETER Id +The source id + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +TaskResultDto +#> +function Remove-V2024AccountsAsync { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024AccountsAsync' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/sources/{id}/remove-accounts' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling deleteAccountsAsync." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling deleteAccountsAsync." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "TaskResultDto" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Delete Native Change Detection Configuration + +.DESCRIPTION + +Deletes the native change detection configuration for the source specified by the given ID. A token with API, or ORG_ADMIN authority is required to call this API. + +.PARAMETER Id +The source id + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Remove-V2024NativeChangeDetectionConfig { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024NativeChangeDetectionConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/sources/{sourceId}/native-change-detection-config' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling deleteNativeChangeDetectionConfig." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling deleteNativeChangeDetectionConfig." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'DELETE' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Delete Provisioning Policy by UsageType + +.DESCRIPTION + +Deletes the provisioning policy with the specified usage on an application. A token with API, or ORG_ADMIN authority is required to call this API. + +.PARAMETER SourceId +The Source ID. + +.PARAMETER UsageType +The type of provisioning policy usage. In IdentityNow, a source can support various provisioning operations. For example, when a joiner is added to a source, this may trigger both CREATE and UPDATE provisioning operations. Each usage type is considered a provisioning policy. A source can have any number of these provisioning policies defined. These are the common usage types: CREATE - This usage type relates to 'Create Account Profile', the provisioning template for the account to be created. For example, this would be used for a joiner on a source. UPDATE - This usage type relates to 'Update Account Profile', the provisioning template for the 'Update' connector operations. For example, this would be used for an attribute sync on a source. ENABLE - This usage type relates to 'Enable Account Profile', the provisioning template for the account to be enabled. For example, this could be used for a joiner on a source once the joiner's account is created. DISABLE - This usage type relates to 'Disable Account Profile', the provisioning template for the account to be disabled. For example, this could be used when a leaver is removed temporarily from a source. You can use these four usage types for all your provisioning policy needs. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Remove-V2024ProvisioningPolicy { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SourceId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${UsageType}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024ProvisioningPolicy' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/sources/{sourceId}/provisioning-policies/{usageType}' + if (!$SourceId) { + throw "Error! The required parameter `SourceId` missing when calling deleteProvisioningPolicy." + } + $LocalVarUri = $LocalVarUri.replace('{sourceId}', [System.Web.HTTPUtility]::UrlEncode($SourceId)) + if (!$UsageType) { + throw "Error! The required parameter `UsageType` missing when calling deleteProvisioningPolicy." + } + $LocalVarUri = $LocalVarUri.replace('{usageType}', [System.Web.HTTPUtility]::UrlEncode($UsageType)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'DELETE' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Delete Source by ID + +.DESCRIPTION + +Use this API to delete a specific source in Identity Security Cloud (ISC). The API removes all the accounts on the source first, and then it deletes the source. You can retrieve the actual task execution status with this method: GET `/task-status/{id}` A token with ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API. + +.PARAMETER Id +Source ID. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +DeleteSource202Response +#> +function Remove-V2024Source { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024Source' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/sources/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling deleteSource." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'DELETE' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "DeleteSource202Response" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Delete Source Schema by ID + +.DESCRIPTION + +No description or notes available. + +.PARAMETER SourceId +The Source id. + +.PARAMETER SchemaId +The Schema id. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Remove-V2024SourceSchema { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SourceId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SchemaId}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024SourceSchema' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/sources/{sourceId}/schemas/{schemaId}' + if (!$SourceId) { + throw "Error! The required parameter `SourceId` missing when calling deleteSourceSchema." + } + $LocalVarUri = $LocalVarUri.replace('{sourceId}', [System.Web.HTTPUtility]::UrlEncode($SourceId)) + if (!$SchemaId) { + throw "Error! The required parameter `SchemaId` missing when calling deleteSourceSchema." + } + $LocalVarUri = $LocalVarUri.replace('{schemaId}', [System.Web.HTTPUtility]::UrlEncode($SchemaId)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'DELETE' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Downloads source accounts schema template + +.DESCRIPTION + +This API downloads the CSV schema that defines the account attributes on a source. >**NOTE: This API is designated only for Delimited File sources.** + +.PARAMETER Id +The Source id + +.PARAMETER ReturnType + +Select the return type (optional): text/csv, application/json + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Get-V2024AccountsSchema { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [String] + [ValidateSet("text/csv", "application/json")] + $ReturnType, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024AccountsSchema' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('text/csv', 'application/json') + + if ($ReturnType) { + # use the return type (MIME) provided by the user + $LocalVarAccepts = @($ReturnType) + } + + $LocalVarUri = '/sources/{id}/schemas/accounts' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getAccountsSchema." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Downloads source entitlements schema template + +.DESCRIPTION + +This API downloads the CSV schema that defines the entitlement attributes on a source. >**NOTE: This API is designated only for Delimited File sources.** + +.PARAMETER Id +The Source id + +.PARAMETER SchemaName +Name of entitlement schema + +.PARAMETER ReturnType + +Select the return type (optional): text/csv, application/json + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Get-V2024EntitlementsSchema { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SchemaName}, + [String] + [ValidateSet("text/csv", "application/json")] + $ReturnType, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024EntitlementsSchema' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('text/csv', 'application/json') + + if ($ReturnType) { + # use the return type (MIME) provided by the user + $LocalVarAccepts = @($ReturnType) + } + + $LocalVarUri = '/sources/{id}/schemas/entitlements' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getEntitlementsSchema." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if ($SchemaName) { + $LocalVarQueryParameters['schemaName'] = $SchemaName + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Native Change Detection Configuration + +.DESCRIPTION + +This API returns the existing native change detection configuration for a source specified by the given ID. A token with ORG_ADMIN authority is required to call this API. + +.PARAMETER Id +The source id + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +NativeChangeDetectionConfig +#> +function Get-V2024NativeChangeDetectionConfig { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024NativeChangeDetectionConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/sources/{sourceId}/native-change-detection-config' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getNativeChangeDetectionConfig." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getNativeChangeDetectionConfig." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "NativeChangeDetectionConfig" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get Provisioning Policy by UsageType + +.DESCRIPTION + +This end-point retrieves the ProvisioningPolicy with the specified usage on the specified Source in IdentityNow. A token with API, ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API. + +.PARAMETER SourceId +The Source ID. + +.PARAMETER UsageType +The type of provisioning policy usage. In IdentityNow, a source can support various provisioning operations. For example, when a joiner is added to a source, this may trigger both CREATE and UPDATE provisioning operations. Each usage type is considered a provisioning policy. A source can have any number of these provisioning policies defined. These are the common usage types: CREATE - This usage type relates to 'Create Account Profile', the provisioning template for the account to be created. For example, this would be used for a joiner on a source. UPDATE - This usage type relates to 'Update Account Profile', the provisioning template for the 'Update' connector operations. For example, this would be used for an attribute sync on a source. ENABLE - This usage type relates to 'Enable Account Profile', the provisioning template for the account to be enabled. For example, this could be used for a joiner on a source once the joiner's account is created. DISABLE - This usage type relates to 'Disable Account Profile', the provisioning template for the account to be disabled. For example, this could be used when a leaver is removed temporarily from a source. You can use these four usage types for all your provisioning policy needs. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ProvisioningPolicyDto +#> +function Get-V2024ProvisioningPolicy { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SourceId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${UsageType}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024ProvisioningPolicy' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/sources/{sourceId}/provisioning-policies/{usageType}' + if (!$SourceId) { + throw "Error! The required parameter `SourceId` missing when calling getProvisioningPolicy." + } + $LocalVarUri = $LocalVarUri.replace('{sourceId}', [System.Web.HTTPUtility]::UrlEncode($SourceId)) + if (!$UsageType) { + throw "Error! The required parameter `UsageType` missing when calling getProvisioningPolicy." + } + $LocalVarUri = $LocalVarUri.replace('{usageType}', [System.Web.HTTPUtility]::UrlEncode($UsageType)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ProvisioningPolicyDto" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get Source by ID + +.DESCRIPTION + +Use this API to get a source by a specified ID in Identity Security Cloud (ISC). A token with ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API. + +.PARAMETER Id +Source ID. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +Source +#> +function Get-V2024Source { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024Source' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/sources/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getSource." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "Source" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Attribute Sync Config + +.DESCRIPTION + +This API returns the existing attribute synchronization configuration for a source specified by the given ID. The response contains all attributes, regardless of whether they enabled or not. A token with ORG_ADMIN or HELPDESK authority is required to call this API. + +.PARAMETER Id +The source id + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +AttrSyncSourceConfig +#> +function Get-V2024SourceAttrSyncConfig { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024SourceAttrSyncConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/sources/{id}/attribute-sync-config' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getSourceAttrSyncConfig." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getSourceAttrSyncConfig." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "AttrSyncSourceConfig" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Gets source config with language translations + +.DESCRIPTION + +Looks up and returns the source config for the requested source id after populating the source config values and applying language translations. A token with ORG_ADMIN authority is required to call this API. + +.PARAMETER Id +The Source id + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER Locale +The locale to apply to the config. If no viable locale is given, it will default to ""en"" + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ConnectorDetail1 +#> +function Get-V2024SourceConfig { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [ValidateSet("de", "false", "fi", "sv", "ru", "pt", "ko", "zh-TW", "en", "it", "fr", "zh-CN", "hu", "es", "cs", "ja", "pl", "da", "nl")] + [String] + ${Locale}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024SourceConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/sources/{id}/connectors/source-config' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getSourceConfig." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getSourceConfig." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($Locale) { + $LocalVarQueryParameters['locale'] = $Locale + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ConnectorDetail1" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get Source Entitlement Request Configuration + +.DESCRIPTION + +This API gets the current entitlement request configuration for a source. This source-level configuration should apply for all the entitlements in the source. Access request to any entitlements in the source should follow this configuration unless a separate entitlement-level configuration is defined. - During access request, this source-level entitlement request configuration overrides the global organization-level configuration. - However, the entitlement-level configuration (if defined) overrides this source-level configuration. A token with ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SourceEntitlementRequestConfig +#> +function Get-V2024SourceEntitlementRequestConfig { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024SourceEntitlementRequestConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/sources/{id}/entitlement-request-config' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getSourceEntitlementRequestConfig." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SourceEntitlementRequestConfig" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Fetches source health by id + +.DESCRIPTION + +This endpoint fetches source health by source's id + +.PARAMETER SourceId +The Source id. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SourceHealthDto +#> +function Get-V2024SourceHealth { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SourceId}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024SourceHealth' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/sources/{sourceId}/source-health' + if (!$SourceId) { + throw "Error! The required parameter `SourceId` missing when calling getSourceHealth." + } + $LocalVarUri = $LocalVarUri.replace('{sourceId}', [System.Web.HTTPUtility]::UrlEncode($SourceId)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SourceHealthDto" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get Source Schema by ID + +.DESCRIPTION + +Get the Source Schema by ID in IdentityNow. + +.PARAMETER SourceId +The Source id. + +.PARAMETER SchemaId +The Schema id. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +Schema +#> +function Get-V2024SourceSchema { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SourceId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SchemaId}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024SourceSchema' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/sources/{sourceId}/schemas/{schemaId}' + if (!$SourceId) { + throw "Error! The required parameter `SourceId` missing when calling getSourceSchema." + } + $LocalVarUri = $LocalVarUri.replace('{sourceId}', [System.Web.HTTPUtility]::UrlEncode($SourceId)) + if (!$SchemaId) { + throw "Error! The required parameter `SchemaId` missing when calling getSourceSchema." + } + $LocalVarUri = $LocalVarUri.replace('{schemaId}', [System.Web.HTTPUtility]::UrlEncode($SchemaId)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "Schema" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List Schemas on Source + +.DESCRIPTION + +Use this API to list the schemas that exist on the specified source in Identity Security Cloud (ISC). + +.PARAMETER SourceId +Source ID. + +.PARAMETER IncludeTypes +If this is set to `group`, the API filters the account schema and only returns only group schemas. If this is set to `user`, the API returns the account schema for the source. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +Schema[] +#> +function Get-V2024SourceSchemas { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SourceId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [ValidateSet("group", "user")] + [String] + ${IncludeTypes}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024SourceSchemas' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/sources/{sourceId}/schemas' + if (!$SourceId) { + throw "Error! The required parameter `SourceId` missing when calling getSourceSchemas." + } + $LocalVarUri = $LocalVarUri.replace('{sourceId}', [System.Web.HTTPUtility]::UrlEncode($SourceId)) + + if ($IncludeTypes) { + $LocalVarQueryParameters['include-types'] = $IncludeTypes + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "Schema[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Account Aggregation + +.DESCRIPTION + +Starts an account aggregation on the specified source. If the target source is a delimited file source, then the CSV file needs to be included in the request body. You will also need to set the Content-Type header to `multipart/form-data`. A token with ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API. + +.PARAMETER Id +Source Id + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER File +The CSV file containing the source accounts to aggregate. + +.PARAMETER DisableOptimization +Use this flag to reprocess every account whether or not the data has changed. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +LoadAccountsTask +#> +function Import-V2024Accounts { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.IO.FileInfo] + ${File}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${DisableOptimization}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Import-V2024Accounts' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('multipart/form-data') + + $LocalVarUri = '/sources/{id}/load-accounts' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling importAccounts." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling importAccounts." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($File) { + $LocalVarFormParameters['file'] = $File + } + + if ($DisableOptimization) { + $LocalVarFormParameters['disableOptimization'] = $DisableOptimization + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "LoadAccountsTask" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Uploads source accounts schema template + +.DESCRIPTION + +This API uploads a source schema template file to configure a source's account attributes. To retrieve the file to modify and upload, log into Identity Now. Click **Admin** -> **Connections** -> **Sources** -> **`{SourceName}`** -> **Import Data** -> **Account Schema** -> **Options** -> **Download Schema** >**NOTE: This API is designated only for Delimited File sources.** + +.PARAMETER Id +The Source id + +.PARAMETER File +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +Schema +#> +function Import-V2024AccountsSchema { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.IO.FileInfo] + ${File}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Import-V2024AccountsSchema' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('multipart/form-data') + + $LocalVarUri = '/sources/{id}/schemas/accounts' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling importAccountsSchema." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if ($File) { + $LocalVarFormParameters['file'] = $File + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "Schema" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Upload connector file to source + +.DESCRIPTION + +This uploads a supplemental source connector file (like jdbc driver jars) to a source's S3 bucket. This also sends ETS and Audit events. A token with ORG_ADMIN authority is required to call this API. + +.PARAMETER SourceId +The Source id. + +.PARAMETER File +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +Source +#> +function Import-V2024ConnectorFile { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SourceId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.IO.FileInfo] + ${File}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Import-V2024ConnectorFile' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('multipart/form-data') + + $LocalVarUri = '/sources/{sourceId}/upload-connector-file' + if (!$SourceId) { + throw "Error! The required parameter `SourceId` missing when calling importConnectorFile." + } + $LocalVarUri = $LocalVarUri.replace('{sourceId}', [System.Web.HTTPUtility]::UrlEncode($SourceId)) + + if ($File) { + $LocalVarFormParameters['file'] = $File + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "Source" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Uploads source entitlements schema template + +.DESCRIPTION + +This API uploads a source schema template file to configure a source's entitlement attributes. To retrieve the file to modify and upload, log into Identity Now. Click **Admin** -> **Connections** -> **Sources** -> **`{SourceName}`** -> **Import Data** -> **Import Entitlements** -> **Download** >**NOTE: This API is designated only for Delimited File sources.** + +.PARAMETER Id +The Source id + +.PARAMETER SchemaName +Name of entitlement schema + +.PARAMETER File +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +Schema +#> +function Import-V2024EntitlementsSchema { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SchemaName}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.IO.FileInfo] + ${File}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Import-V2024EntitlementsSchema' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('multipart/form-data') + + $LocalVarUri = '/sources/{id}/schemas/entitlements' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling importEntitlementsSchema." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if ($SchemaName) { + $LocalVarQueryParameters['schemaName'] = $SchemaName + } + + if ($File) { + $LocalVarFormParameters['file'] = $File + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "Schema" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Process Uncorrelated Accounts + +.DESCRIPTION + +File is required for upload. You will also need to set the Content-Type header to `multipart/form-data` + +.PARAMETER Id +Source Id + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER File +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +LoadUncorrelatedAccountsTask +#> +function Import-V2024UncorrelatedAccounts { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.IO.FileInfo] + ${File}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Import-V2024UncorrelatedAccounts' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('multipart/form-data') + + $LocalVarUri = '/sources/{id}/load-uncorrelated-accounts' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling importUncorrelatedAccounts." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling importUncorrelatedAccounts." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($File) { + $LocalVarFormParameters['file'] = $File + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "LoadUncorrelatedAccountsTask" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Lists ProvisioningPolicies + +.DESCRIPTION + +This end-point lists all the ProvisioningPolicies in IdentityNow. A token with API, or ORG_ADMIN authority is required to call this API. + +.PARAMETER SourceId +The Source id + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ProvisioningPolicyDto[] +#> +function Get-V2024ProvisioningPolicies { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SourceId}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024ProvisioningPolicies' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/sources/{sourceId}/provisioning-policies' + if (!$SourceId) { + throw "Error! The required parameter `SourceId` missing when calling listProvisioningPolicies." + } + $LocalVarUri = $LocalVarUri.replace('{sourceId}', [System.Web.HTTPUtility]::UrlEncode($SourceId)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ProvisioningPolicyDto[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Lists all sources in IdentityNow. + +.DESCRIPTION + +This end-point lists all the sources in IdentityNow. A token with ORG_ADMIN, SOURCE_ADMIN, SOURCE_SUBADMIN, or ROLE_SUBADMIN authority is required to call this API. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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, ge, gt, le, lt, ne, isnull, sw* **name**: *co, eq, in, sw, ge, gt, ne, isnull* **type**: *eq, in, ge, gt, ne, isnull, sw* **owner.id**: *eq, in, ge, gt, le, lt, ne, isnull, sw* **features**: *ca, co* **created**: *eq, ge, gt, in, le, lt, ne, isnull, sw* **modified**: *eq, ge, gt, in, le, lt, ne, isnull, sw* **managementWorkgroup.id**: *eq, ge, gt, in, le, lt, ne, isnull, sw* **description**: *eq, sw* **authoritative**: *eq, ne, isnull* **healthy**: *isnull* **status**: *eq, in, ge, gt, le, lt, ne, isnull, sw* **connectionType**: *eq, ge, gt, in, le, lt, ne, isnull, sw* **connectorName**: *eq, ge, gt, in, ne, isnull, sw* **category**: *co, eq, ge, gt, in, le, lt, ne, sw* + +.PARAMETER 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: **type, created, modified, name, owner.name, healthy, status, id, description, owner.id, accountCorrelationConfig.id, accountCorrelationConfig.name, managerCorrelationRule.type, managerCorrelationRule.id, managerCorrelationRule.name, authoritative, managementWorkgroup.id, connectorName, connectionType** + +.PARAMETER ForSubadmin +Filter the returned list of sources for the identity specified by the parameter, which is the id of an identity with the role SOURCE_SUBADMIN. By convention, the value **me** indicates the identity id of the current user. Subadmins may only view Sources which they are able to administer; all other Sources will be filtered out when this parameter is set. If the current user is a SOURCE_SUBADMIN but fails to pass a valid value for this parameter, a 403 Forbidden is returned. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +Source[] +#> +function Get-V2024Sources { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${ForSubadmin}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024Sources' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/sources' + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + if ($ForSubadmin) { + $LocalVarQueryParameters['for-subadmin'] = $ForSubadmin + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "Source[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Peek source connector's resource objects + +.DESCRIPTION + +Retrieves a sample of data returned from account and group aggregation requests. A token with ORG_ADMIN authority is required to call this API. + +.PARAMETER SourceId +The ID of the Source + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER ResourceObjectsRequest +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ResourceObjectsResponse +#> +function Receive-V2024ResourceObjects { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SourceId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${ResourceObjectsRequest}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Receive-V2024ResourceObjects' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/sources/{sourceId}/connector/peek-resource-objects' + if (!$SourceId) { + throw "Error! The required parameter `SourceId` missing when calling peekResourceObjects." + } + $LocalVarUri = $LocalVarUri.replace('{sourceId}', [System.Web.HTTPUtility]::UrlEncode($SourceId)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling peekResourceObjects." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$ResourceObjectsRequest) { + throw "Error! The required parameter `ResourceObjectsRequest` missing when calling peekResourceObjects." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($ResourceObjectsRequest -is [array])) { + $LocalVarBodyParameter = $ResourceObjectsRequest | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $ResourceObjectsRequest | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ResourceObjectsResponse" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Ping cluster for source connector + +.DESCRIPTION + +This endpoint validates that the cluster being used by the source is reachable from IdentityNow. A token with ORG_ADMIN authority is required to call this API. + +.PARAMETER SourceId +The ID of the Source + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +StatusResponse +#> +function Ping-V2024Cluster { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SourceId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Ping-V2024Cluster' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/sources/{sourceId}/connector/ping-cluster' + if (!$SourceId) { + throw "Error! The required parameter `SourceId` missing when calling pingCluster." + } + $LocalVarUri = $LocalVarUri.replace('{sourceId}', [System.Web.HTTPUtility]::UrlEncode($SourceId)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling pingCluster." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "StatusResponse" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Update Native Change Detection Configuration + +.DESCRIPTION + +Replaces the native change detection configuration for the source specified by the given ID with the configuration provided in the request body. A token with ORG_ADMIN authority is required to call this API. + +.PARAMETER Id +The source id + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER NativeChangeDetectionConfig +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +NativeChangeDetectionConfig +#> +function Send-V2024NativeChangeDetectionConfig { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${NativeChangeDetectionConfig}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Send-V2024NativeChangeDetectionConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/sources/{sourceId}/native-change-detection-config' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling putNativeChangeDetectionConfig." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling putNativeChangeDetectionConfig." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$NativeChangeDetectionConfig) { + throw "Error! The required parameter `NativeChangeDetectionConfig` missing when calling putNativeChangeDetectionConfig." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($NativeChangeDetectionConfig -is [array])) { + $LocalVarBodyParameter = $NativeChangeDetectionConfig | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $NativeChangeDetectionConfig | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PUT' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "NativeChangeDetectionConfig" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Update Provisioning Policy by UsageType + +.DESCRIPTION + +This end-point updates the provisioning policy with the specified usage on the specified source in IdentityNow. Transforms can be used in the provisioning policy to create a new attribute that you only need during provisioning. Refer to [Transforms in Provisioning Policies](https://developer.sailpoint.com/idn/docs/transforms/guides/transforms-in-provisioning-policies) for more information. A token with API, ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API. + +.PARAMETER SourceId +The Source ID. + +.PARAMETER UsageType +The type of provisioning policy usage. In IdentityNow, a source can support various provisioning operations. For example, when a joiner is added to a source, this may trigger both CREATE and UPDATE provisioning operations. Each usage type is considered a provisioning policy. A source can have any number of these provisioning policies defined. These are the common usage types: CREATE - This usage type relates to 'Create Account Profile', the provisioning template for the account to be created. For example, this would be used for a joiner on a source. UPDATE - This usage type relates to 'Update Account Profile', the provisioning template for the 'Update' connector operations. For example, this would be used for an attribute sync on a source. ENABLE - This usage type relates to 'Enable Account Profile', the provisioning template for the account to be enabled. For example, this could be used for a joiner on a source once the joiner's account is created. DISABLE - This usage type relates to 'Disable Account Profile', the provisioning template for the account to be disabled. For example, this could be used when a leaver is removed temporarily from a source. You can use these four usage types for all your provisioning policy needs. + +.PARAMETER ProvisioningPolicyDto +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ProvisioningPolicyDto +#> +function Send-V2024ProvisioningPolicy { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SourceId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${UsageType}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${ProvisioningPolicyDto}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Send-V2024ProvisioningPolicy' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/sources/{sourceId}/provisioning-policies/{usageType}' + if (!$SourceId) { + throw "Error! The required parameter `SourceId` missing when calling putProvisioningPolicy." + } + $LocalVarUri = $LocalVarUri.replace('{sourceId}', [System.Web.HTTPUtility]::UrlEncode($SourceId)) + if (!$UsageType) { + throw "Error! The required parameter `UsageType` missing when calling putProvisioningPolicy." + } + $LocalVarUri = $LocalVarUri.replace('{usageType}', [System.Web.HTTPUtility]::UrlEncode($UsageType)) + + if (!$ProvisioningPolicyDto) { + throw "Error! The required parameter `ProvisioningPolicyDto` missing when calling putProvisioningPolicy." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($ProvisioningPolicyDto -is [array])) { + $LocalVarBodyParameter = $ProvisioningPolicyDto | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $ProvisioningPolicyDto | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PUT' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ProvisioningPolicyDto" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Update Source (Full) + +.DESCRIPTION + +Use this API to update a source in Identity Security Cloud (ISC), using a full object representation. This means that when you use this API, it completely replaces the existing source configuration. These fields are immutable, so they cannot be changed: * id * type * authoritative * connector * connectorClass * passwordPolicies Attempts to modify these fields will result in a 400 error. A token with ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API. + +.PARAMETER Id +Source ID. + +.PARAMETER Source +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +Source +#> +function Send-V2024Source { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${Source}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Send-V2024Source' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/sources/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling putSource." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$Source) { + throw "Error! The required parameter `Source` missing when calling putSource." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($Source -is [array])) { + $LocalVarBodyParameter = $Source | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $Source | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PUT' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "Source" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Update Attribute Sync Config + +.DESCRIPTION + +Replaces the attribute synchronization configuration for the source specified by the given ID with the configuration provided in the request body. Only the ""enabled"" field of the values in the ""attributes"" array is mutable. Attempting to change other attributes or add new values to the ""attributes"" array will result in an error. A token with ORG_ADMIN authority is required to call this API. + +.PARAMETER Id +The source id + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER AttrSyncSourceConfig +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +AttrSyncSourceConfig +#> +function Send-V2024SourceAttrSyncConfig { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${AttrSyncSourceConfig}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Send-V2024SourceAttrSyncConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/sources/{id}/attribute-sync-config' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling putSourceAttrSyncConfig." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling putSourceAttrSyncConfig." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$AttrSyncSourceConfig) { + throw "Error! The required parameter `AttrSyncSourceConfig` missing when calling putSourceAttrSyncConfig." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($AttrSyncSourceConfig -is [array])) { + $LocalVarBodyParameter = $AttrSyncSourceConfig | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $AttrSyncSourceConfig | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PUT' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "AttrSyncSourceConfig" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Update Source Schema (Full) + +.DESCRIPTION + +This API will completely replace an existing Schema with the submitted payload. Some fields of the Schema cannot be updated. These fields are listed below. * id * name * created * modified Any attempt to modify these fields will result in an error response with a status code of 400. > `id` must remain in the request body, but it cannot be changed. If `id` is omitted from the request body, the result will be a 400 error. + +.PARAMETER SourceId +The Source id. + +.PARAMETER SchemaId +The Schema id. + +.PARAMETER Schema +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +Schema +#> +function Send-V2024SourceSchema { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SourceId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SchemaId}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${Schema}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Send-V2024SourceSchema' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/sources/{sourceId}/schemas/{schemaId}' + if (!$SourceId) { + throw "Error! The required parameter `SourceId` missing when calling putSourceSchema." + } + $LocalVarUri = $LocalVarUri.replace('{sourceId}', [System.Web.HTTPUtility]::UrlEncode($SourceId)) + if (!$SchemaId) { + throw "Error! The required parameter `SchemaId` missing when calling putSourceSchema." + } + $LocalVarUri = $LocalVarUri.replace('{schemaId}', [System.Web.HTTPUtility]::UrlEncode($SchemaId)) + + if (!$Schema) { + throw "Error! The required parameter `Schema` missing when calling putSourceSchema." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($Schema -is [array])) { + $LocalVarBodyParameter = $Schema | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $Schema | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PUT' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "Schema" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Synchronize single source attributes. + +.DESCRIPTION + +This end-point performs attribute synchronization for a selected source. A token with ORG_ADMIN or SOURCE_ADMIN authority is required to call this API. + +.PARAMETER Id +The Source id + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SourceSyncJob +#> +function Sync-V2024AttributesForSource { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Sync-V2024AttributesForSource' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/sources/{id}/synchronize-attributes' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling syncAttributesForSource." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling syncAttributesForSource." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SourceSyncJob" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Test configuration for source connector + +.DESCRIPTION + +This endpoint performs a more detailed validation of the source's configuration that can take longer than the lighter weight credential validation performed by the checkConnection API. A token with ORG_ADMIN authority is required to call this API. + +.PARAMETER SourceId +The ID of the Source + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +StatusResponse +#> +function Test-V2024SourceConfiguration { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SourceId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Test-V2024SourceConfiguration' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/sources/{sourceId}/connector/test-configuration' + if (!$SourceId) { + throw "Error! The required parameter `SourceId` missing when calling testSourceConfiguration." + } + $LocalVarUri = $LocalVarUri.replace('{sourceId}', [System.Web.HTTPUtility]::UrlEncode($SourceId)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling testSourceConfiguration." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "StatusResponse" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Check connection for source connector. + +.DESCRIPTION + +This endpoint validates that the configured credentials are valid and will properly authenticate with the source identified by the sourceId path parameter. A token with ORG_ADMIN authority is required to call this API. + +.PARAMETER SourceId +The ID of the Source. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +StatusResponse +#> +function Test-V2024SourceConnection { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SourceId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Test-V2024SourceConnection' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/sources/{sourceId}/connector/check-connection' + if (!$SourceId) { + throw "Error! The required parameter `SourceId` missing when calling testSourceConnection." + } + $LocalVarUri = $LocalVarUri.replace('{sourceId}', [System.Web.HTTPUtility]::UrlEncode($SourceId)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling testSourceConnection." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "StatusResponse" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Bulk Update Provisioning Policies + +.DESCRIPTION + +This end-point updates a list of provisioning policies on the specified source in IdentityNow. A token with API, or ORG_ADMIN authority is required to call this API. + +.PARAMETER SourceId +The Source id. + +.PARAMETER ProvisioningPolicyDto +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ProvisioningPolicyDto[] +#> +function Update-V2024ProvisioningPoliciesInBulk { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SourceId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject[]] + ${ProvisioningPolicyDto}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Update-V2024ProvisioningPoliciesInBulk' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/sources/{sourceId}/provisioning-policies/bulk-update' + if (!$SourceId) { + throw "Error! The required parameter `SourceId` missing when calling updateProvisioningPoliciesInBulk." + } + $LocalVarUri = $LocalVarUri.replace('{sourceId}', [System.Web.HTTPUtility]::UrlEncode($SourceId)) + + if (!$ProvisioningPolicyDto) { + throw "Error! The required parameter `ProvisioningPolicyDto` missing when calling updateProvisioningPoliciesInBulk." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($ProvisioningPolicyDto -is [array])) { + $LocalVarBodyParameter = $ProvisioningPolicyDto | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $ProvisioningPolicyDto | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ProvisioningPolicyDto[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Partial update of Provisioning Policy + +.DESCRIPTION + +This API selectively updates an existing Provisioning Policy using a JSONPatch payload. Transforms can be used in the provisioning policy to create a new attribute that you only need during provisioning. Refer to [Transforms in Provisioning Policies](https://developer.sailpoint.com/idn/docs/transforms/guides/transforms-in-provisioning-policies) for more information. A token with API, ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API. + +.PARAMETER SourceId +The Source id. + +.PARAMETER UsageType +The type of provisioning policy usage. In IdentityNow, a source can support various provisioning operations. For example, when a joiner is added to a source, this may trigger both CREATE and UPDATE provisioning operations. Each usage type is considered a provisioning policy. A source can have any number of these provisioning policies defined. These are the common usage types: CREATE - This usage type relates to 'Create Account Profile', the provisioning template for the account to be created. For example, this would be used for a joiner on a source. UPDATE - This usage type relates to 'Update Account Profile', the provisioning template for the 'Update' connector operations. For example, this would be used for an attribute sync on a source. ENABLE - This usage type relates to 'Enable Account Profile', the provisioning template for the account to be enabled. For example, this could be used for a joiner on a source once the joiner's account is created. DISABLE - This usage type relates to 'Disable Account Profile', the provisioning template for the account to be disabled. For example, this could be used when a leaver is removed temporarily from a source. You can use these four usage types for all your provisioning policy needs. + +.PARAMETER JsonPatchOperation +The JSONPatch payload used to update the schema. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ProvisioningPolicyDto +#> +function Update-V2024ProvisioningPolicy { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SourceId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${UsageType}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject[]] + ${JsonPatchOperation}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Update-V2024ProvisioningPolicy' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json-patch+json') + + $LocalVarUri = '/sources/{sourceId}/provisioning-policies/{usageType}' + if (!$SourceId) { + throw "Error! The required parameter `SourceId` missing when calling updateProvisioningPolicy." + } + $LocalVarUri = $LocalVarUri.replace('{sourceId}', [System.Web.HTTPUtility]::UrlEncode($SourceId)) + if (!$UsageType) { + throw "Error! The required parameter `UsageType` missing when calling updateProvisioningPolicy." + } + $LocalVarUri = $LocalVarUri.replace('{usageType}', [System.Web.HTTPUtility]::UrlEncode($UsageType)) + + if (!$JsonPatchOperation) { + throw "Error! The required parameter `JsonPatchOperation` missing when calling updateProvisioningPolicy." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($JsonPatchOperation -is [array])) { + $LocalVarBodyParameter = $JsonPatchOperation | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $JsonPatchOperation | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PATCH' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ProvisioningPolicyDto" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Update Source (Partial) + +.DESCRIPTION + +Use this API to partially update a source in Identity Security Cloud (ISC), using a list of patch operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. These fields are immutable, so they cannot be changed: * id * type * authoritative * created * modified * connector * connectorClass * passwordPolicies Attempts to modify these fields will result in a 400 error. A token with ORG_ADMIN, SOURCE_ADMIN, SOURCE_SUBADMIN, or API authority is required to call this API. + +.PARAMETER Id +Source ID. + +.PARAMETER JsonPatchOperation +A list of account update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. Any password changes are submitted as plain-text and encrypted upon receipt in Identity Security Cloud (ISC). + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +Source +#> +function Update-V2024Source { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject[]] + ${JsonPatchOperation}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Update-V2024Source' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json-patch+json') + + $LocalVarUri = '/sources/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling updateSource." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$JsonPatchOperation) { + throw "Error! The required parameter `JsonPatchOperation` missing when calling updateSource." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($JsonPatchOperation -is [array])) { + $LocalVarBodyParameter = $JsonPatchOperation | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $JsonPatchOperation | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PATCH' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "Source" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Update Source Entitlement Request Configuration + +.DESCRIPTION + +This API replaces the current entitlement request configuration for a source. This source-level configuration should apply for all the entitlements in the source. Access request to any entitlements in the source should follow this configuration unless a separate entitlement-level configuration is defined. - During access request, this source-level entitlement request configuration overrides the global organization-level configuration. - However, the entitlement-level configuration (if defined) overrides this source-level configuration. A token with ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER SourceEntitlementRequestConfig +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SourceEntitlementRequestConfig +#> +function Update-V2024SourceEntitlementRequestConfig { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${SourceEntitlementRequestConfig}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Update-V2024SourceEntitlementRequestConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/sources/{id}/entitlement-request-config' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling updateSourceEntitlementRequestConfig." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$SourceEntitlementRequestConfig) { + throw "Error! The required parameter `SourceEntitlementRequestConfig` missing when calling updateSourceEntitlementRequestConfig." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($SourceEntitlementRequestConfig -is [array])) { + $LocalVarBodyParameter = $SourceEntitlementRequestConfig | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $SourceEntitlementRequestConfig | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PUT' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SourceEntitlementRequestConfig" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Update Source Schema (Partial) + +.DESCRIPTION + +Use this API to selectively update an existing Schema using a JSONPatch payload. The following schema fields are immutable and cannot be updated: - id - name - created - modified To switch an account attribute to a group entitlement, you need to have the following in place: - `isEntitlement: true` - Must define a schema for the group and [add it to the source](https://developer.sailpoint.com/idn/api/v3/create-source-schema) before updating the `isGroup` flag. For example, here is the `group` account attribute referencing a schema that defines the group: ```json { ""name"": ""groups"", ""type"": ""STRING"", ""schema"": { ""type"": ""CONNECTOR_SCHEMA"", ""id"": ""2c9180887671ff8c01767b4671fc7d60"", ""name"": ""group"" }, ""description"": ""The groups, roles etc. that reference account group objects"", ""isMulti"": true, ""isEntitlement"": true, ""isGroup"": true } ``` + +.PARAMETER SourceId +The Source id. + +.PARAMETER SchemaId +The Schema id. + +.PARAMETER JsonPatchOperation +The JSONPatch payload used to update the schema. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +Schema +#> +function Update-V2024SourceSchema { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SourceId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${SchemaId}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject[]] + ${JsonPatchOperation}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Update-V2024SourceSchema' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json-patch+json') + + $LocalVarUri = '/sources/{sourceId}/schemas/{schemaId}' + if (!$SourceId) { + throw "Error! The required parameter `SourceId` missing when calling updateSourceSchema." + } + $LocalVarUri = $LocalVarUri.replace('{sourceId}', [System.Web.HTTPUtility]::UrlEncode($SourceId)) + if (!$SchemaId) { + throw "Error! The required parameter `SchemaId` missing when calling updateSourceSchema." + } + $LocalVarUri = $LocalVarUri.replace('{schemaId}', [System.Web.HTTPUtility]::UrlEncode($SchemaId)) + + if (!$JsonPatchOperation) { + throw "Error! The required parameter `JsonPatchOperation` missing when calling updateSourceSchema." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($JsonPatchOperation -is [array])) { + $LocalVarBodyParameter = $JsonPatchOperation | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $JsonPatchOperation | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PATCH' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "Schema" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024SuggestedEntitlementDescriptionApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024SuggestedEntitlementDescriptionApi.ps1 new file mode 100644 index 000000000..ea3603d73 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024SuggestedEntitlementDescriptionApi.ps1 @@ -0,0 +1,712 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Submit Sed Batch Stats Request + +.DESCRIPTION + +Submit Sed Batch Stats Request. Submits batchId in the path param (e.g. {batchId}/stats). API responses with stats of the batchId. + +.PARAMETER BatchId +Batch Id + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SedBatchStats +#> +function Get-V2024SedBatchStats { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${BatchId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024SedBatchStats' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/suggested-entitlement-description-batches/{batchId}/stats' + if (!$BatchId) { + throw "Error! The required parameter `BatchId` missing when calling getSedBatchStats." + } + $LocalVarUri = $LocalVarUri.replace('{batchId}', [System.Web.HTTPUtility]::UrlEncode($BatchId)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getSedBatchStats." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SedBatchStats" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List Sed Batch Request + +.DESCRIPTION + +List Sed Batches. API responses with Sed Batch Status + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SedBatchStatus +#> +function Get-V2024SedBatches { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024SedBatches' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/suggested-entitlement-description-batches' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getSedBatches." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SedBatchStatus" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List Suggested Entitlement Description + +.DESCRIPTION + +List of Suggested Entitlement Description + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER Limit +Integer specifying the maximum number of records to return in a single API call. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). If it is not specified, a default limit is used. + +.PARAMETER 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: **batchId**: *eq* **status**: *eq, ne, in* **displayName**: *eq, co* + +.PARAMETER 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. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). 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. + +.PARAMETER CountOnly +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. This parameter differs from the Coun parameter in that this one skip executing the actual query and always return an empty array. + +.PARAMETER RequestedByAnyone +By default, the ListSeds API will only return items that you have requested to be generated. This option will allow you to see all items that have been requested + +.PARAMETER ShowPendingStatusOnly +Will limit records to items that are in ""suggested"" or ""approved"" status + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +Sed[] +#> +function Get-V2024Seds { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int64]] + ${Limit}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${CountOnly}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${RequestedByAnyone}, + [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${ShowPendingStatusOnly}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024Seds' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/suggested-entitlement-descriptions' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling listSeds." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($CountOnly) { + $LocalVarQueryParameters['count-only'] = $CountOnly + } + + if ($RequestedByAnyone) { + $LocalVarQueryParameters['requested-by-anyone'] = $RequestedByAnyone + } + + if ($ShowPendingStatusOnly) { + $LocalVarQueryParameters['show-pending-status-only'] = $ShowPendingStatusOnly + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "Sed[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Patch Suggested Entitlement Description + +.DESCRIPTION + +Patch Suggested Entitlement Description + +.PARAMETER Id +id is sed id + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER SedPatch +Sed Patch Request + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +Sed +#> +function Update-V2024Sed { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject[]] + ${SedPatch}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Update-V2024Sed' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json-patch+json') + + $LocalVarUri = '/suggested-entitlement-descriptions' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling patchSed." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling patchSed." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$SedPatch) { + throw "Error! The required parameter `SedPatch` missing when calling patchSed." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($SedPatch -is [array])) { + $LocalVarBodyParameter = $SedPatch | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $SedPatch | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PATCH' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "Sed" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Submit Bulk Approval Request + +.DESCRIPTION + +Submit Bulk Approval Request for SED. Request body takes list of SED Ids. API responses with list of SED Approval Status + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER SedApproval +Sed Approval + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SedApprovalStatus[] +#> +function Submit-V2024SedApproval { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject[]] + ${SedApproval}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Submit-V2024SedApproval' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json-patch+json') + + $LocalVarUri = '/suggested-entitlement-description-approvals' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling submitSedApproval." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$SedApproval) { + throw "Error! The required parameter `SedApproval` missing when calling submitSedApproval." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($SedApproval -is [array])) { + $LocalVarBodyParameter = $SedApproval | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $SedApproval | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SedApprovalStatus[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Submit Sed Assignment Request + +.DESCRIPTION + +Submit Assignment Request. Request body has an assignee, and list of SED Ids that are assigned to that assignee API responses with batchId that groups all approval requests together + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER SedAssignment +Sed Assignment Request + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SedAssignmentResponse +#> +function Submit-V2024SedAssignment { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${SedAssignment}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Submit-V2024SedAssignment' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json-patch+json') + + $LocalVarUri = '/suggested-entitlement-description-assignments' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling submitSedAssignment." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$SedAssignment) { + throw "Error! The required parameter `SedAssignment` missing when calling submitSedAssignment." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($SedAssignment -is [array])) { + $LocalVarBodyParameter = $SedAssignment | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $SedAssignment | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SedAssignmentResponse" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Submit Sed Batch Request + +.DESCRIPTION + +Submit Sed Batch Request. Request body has a list of entitlement Ids that user wants to have description generated by LLM. API responses with batchId that groups Ids together + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER SedBatchRequest +Sed Batch Request + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SedBatchResponse +#> +function Submit-V2024SedBatchRequest { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${SedBatchRequest}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Submit-V2024SedBatchRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json-patch+json') + + $LocalVarUri = '/suggested-entitlement-description-batches' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling submitSedBatchRequest." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($SedBatchRequest -is [array])) { + $LocalVarBodyParameter = $SedBatchRequest | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $SedBatchRequest | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SedBatchResponse" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024TaggedObjectsApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024TaggedObjectsApi.ps1 new file mode 100644 index 000000000..111a23733 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024TaggedObjectsApi.ps1 @@ -0,0 +1,777 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Delete Tagged Object + +.DESCRIPTION + +This deletes a tagged object for the specified type. + +.PARAMETER Type +The type of tagged object to delete. + +.PARAMETER Id +The ID of the object reference to delete. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Remove-V2024TaggedObject { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [ValidateSet("ACCESS_PROFILE", "APPLICATION", "CAMPAIGN", "ENTITLEMENT", "IDENTITY", "ROLE", "SOD_POLICY", "SOURCE")] + [String] + ${Type}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024TaggedObject' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/tagged-objects/{type}/{id}' + if (!$Type) { + throw "Error! The required parameter `Type` missing when calling deleteTaggedObject." + } + $LocalVarUri = $LocalVarUri.replace('{type}', [System.Web.HTTPUtility]::UrlEncode($Type)) + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling deleteTaggedObject." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'DELETE' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Remove Tags from Multiple Objects + +.DESCRIPTION + +This API removes tags from multiple objects. A token with API, CERT_ADMIN, ORG_ADMIN, REPORT_ADMIN, ROLE_ADMIN, ROLE_SUBADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API. + +.PARAMETER BulkRemoveTaggedObject +Supported object types are ACCESS_PROFILE, APPLICATION, CAMPAIGN, ENTITLEMENT, IDENTITY, ROLE, SOD_POLICY, SOURCE. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Remove-V2024TagsToManyObject { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${BulkRemoveTaggedObject}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024TagsToManyObject' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/tagged-objects/bulk-remove' + + if (!$BulkRemoveTaggedObject) { + throw "Error! The required parameter `BulkRemoveTaggedObject` missing when calling deleteTagsToManyObject." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($BulkRemoveTaggedObject -is [array])) { + $LocalVarBodyParameter = $BulkRemoveTaggedObject | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $BulkRemoveTaggedObject | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get Tagged Object + +.DESCRIPTION + +This gets a tagged object for the specified type. + +.PARAMETER Type +The type of tagged object to retrieve. + +.PARAMETER Id +The ID of the object reference to retrieve. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +TaggedObject +#> +function Get-V2024TaggedObject { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [ValidateSet("ACCESS_PROFILE", "APPLICATION", "CAMPAIGN", "ENTITLEMENT", "IDENTITY", "ROLE", "SOD_POLICY", "SOURCE")] + [String] + ${Type}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024TaggedObject' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/tagged-objects/{type}/{id}' + if (!$Type) { + throw "Error! The required parameter `Type` missing when calling getTaggedObject." + } + $LocalVarUri = $LocalVarUri.replace('{type}', [System.Web.HTTPUtility]::UrlEncode($Type)) + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getTaggedObject." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "TaggedObject" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List Tagged Objects + +.DESCRIPTION + +This API returns a list of all tagged objects. Any authenticated token may be used to call this API. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER Filters +Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **objectRef.id**: *eq, in* **objectRef.type**: *eq, in* **tagName**: *eq, in* + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +TaggedObject[] +#> +function Get-V2024TaggedObjects { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024TaggedObjects' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/tagged-objects' + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "TaggedObject[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List Tagged Objects by Type + +.DESCRIPTION + +This API returns a list of all tagged objects by type. Any authenticated token may be used to call this API. + +.PARAMETER Type +The type of tagged object to retrieve. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER Filters +Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **objectRef.id**: *eq* **objectRef.type**: *eq* + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +TaggedObject[] +#> +function Get-V2024TaggedObjectsByType { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [ValidateSet("ACCESS_PROFILE", "APPLICATION", "CAMPAIGN", "ENTITLEMENT", "IDENTITY", "ROLE", "SOD_POLICY", "SOURCE")] + [String] + ${Type}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024TaggedObjectsByType' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/tagged-objects/{type}' + if (!$Type) { + throw "Error! The required parameter `Type` missing when calling listTaggedObjectsByType." + } + $LocalVarUri = $LocalVarUri.replace('{type}', [System.Web.HTTPUtility]::UrlEncode($Type)) + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "TaggedObject[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Update Tagged Object + +.DESCRIPTION + +This updates a tagged object for the specified type. + +.PARAMETER Type +The type of tagged object to update. + +.PARAMETER Id +The ID of the object reference to update. + +.PARAMETER TaggedObject +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +TaggedObject +#> +function Send-V2024TaggedObject { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [ValidateSet("ACCESS_PROFILE", "APPLICATION", "CAMPAIGN", "ENTITLEMENT", "IDENTITY", "ROLE", "SOD_POLICY", "SOURCE")] + [String] + ${Type}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${TaggedObject}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Send-V2024TaggedObject' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/tagged-objects/{type}/{id}' + if (!$Type) { + throw "Error! The required parameter `Type` missing when calling putTaggedObject." + } + $LocalVarUri = $LocalVarUri.replace('{type}', [System.Web.HTTPUtility]::UrlEncode($Type)) + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling putTaggedObject." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$TaggedObject) { + throw "Error! The required parameter `TaggedObject` missing when calling putTaggedObject." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($TaggedObject -is [array])) { + $LocalVarBodyParameter = $TaggedObject | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $TaggedObject | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PUT' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "TaggedObject" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Add Tag to Object + +.DESCRIPTION + +This adds a tag to an object. Any authenticated token may be used to call this API. + +.PARAMETER TaggedObject +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Set-V2024TagToObject { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${TaggedObject}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Set-V2024TagToObject' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/tagged-objects' + + if (!$TaggedObject) { + throw "Error! The required parameter `TaggedObject` missing when calling setTagToObject." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($TaggedObject -is [array])) { + $LocalVarBodyParameter = $TaggedObject | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $TaggedObject | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Tag Multiple Objects + +.DESCRIPTION + +This API adds tags to multiple objects. A token with API, CERT_ADMIN, ORG_ADMIN, REPORT_ADMIN, ROLE_ADMIN, ROLE_SUBADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API. + +.PARAMETER BulkAddTaggedObject +Supported object types are ACCESS_PROFILE, APPLICATION, CAMPAIGN, ENTITLEMENT, IDENTITY, ROLE, SOD_POLICY, SOURCE. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +BulkTaggedObjectResponse[] +#> +function Set-V2024TagsToManyObjects { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${BulkAddTaggedObject}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Set-V2024TagsToManyObjects' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/tagged-objects/bulk-add' + + if (!$BulkAddTaggedObject) { + throw "Error! The required parameter `BulkAddTaggedObject` missing when calling setTagsToManyObjects." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($BulkAddTaggedObject -is [array])) { + $LocalVarBodyParameter = $BulkAddTaggedObject | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $BulkAddTaggedObject | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "BulkTaggedObjectResponse[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024TaskManagementApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024TaskManagementApi.ps1 new file mode 100644 index 000000000..1fcfcc403 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024TaskManagementApi.ps1 @@ -0,0 +1,538 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Retrieve headers only for pending task list. + +.DESCRIPTION + +Retrieve headers for a list of TaskStatus for pending tasks. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Get-V2024PendingTaskHeaders { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024PendingTaskHeaders' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/task-status/pending-tasks' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getPendingTaskHeaders." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'HEAD' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Retrieve a pending task list. + +.DESCRIPTION + +Retrieve a list of TaskStatus for pending tasks. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +TaskStatus[] +#> +function Get-V2024PendingTasks { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024PendingTasks' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/task-status/pending-tasks' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getPendingTasks." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "TaskStatus[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get task status by ID. + +.DESCRIPTION + +Get a TaskStatus for a task by task ID. + +.PARAMETER Id +Task ID. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +TaskStatus +#> +function Get-V2024TaskStatus { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024TaskStatus' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/task-status/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getTaskStatus." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getTaskStatus." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "TaskStatus" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Retrieve a task status list. + +.DESCRIPTION + +Use this endpoint to get a list of **completed** tasks. To get a list of tasks **in-progress**, please use the [get pending tasks](https://developer.sailpoint.com/docs/api/beta/get-pending-tasks) endpoint. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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* **sourceId**: *eq, in* **completionStatus**: *eq, in* **type**: *eq, in* + +.PARAMETER 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: **created** + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +TaskStatus[] +#> +function Get-V2024TaskStatusList { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024TaskStatusList' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/task-status' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getTaskStatusList." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "TaskStatus[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Update task status by ID + +.DESCRIPTION + +Update a current task status by task ID. Use this API to clear a pending task by updating the completionStatus and completed attributes. + +.PARAMETER Id +Task ID. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER JsonPatchOperation +The JSONPatch payload used to update the object. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +TaskStatus +#> +function Update-V2024TaskStatus { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject[]] + ${JsonPatchOperation}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Update-V2024TaskStatus' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json-patch+json') + + $LocalVarUri = '/task-status/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling updateTaskStatus." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling updateTaskStatus." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$JsonPatchOperation) { + throw "Error! The required parameter `JsonPatchOperation` missing when calling updateTaskStatus." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($JsonPatchOperation -is [array])) { + $LocalVarBodyParameter = $JsonPatchOperation | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $JsonPatchOperation | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PATCH' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "TaskStatus" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024TenantApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024TenantApi.ps1 new file mode 100644 index 000000000..c31ba5ac1 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024TenantApi.ps1 @@ -0,0 +1,82 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Get Tenant Information. + +.DESCRIPTION + +This rest endpoint can be used to retrieve tenant details. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +Tenant +#> +function Get-V2024Tenant { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024Tenant' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/tenant' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getTenant." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "Tenant" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024TransformsApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024TransformsApi.ps1 new file mode 100644 index 000000000..8b1d88218 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024TransformsApi.ps1 @@ -0,0 +1,455 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Create transform + +.DESCRIPTION + +Creates a new transform object immediately. By default, the internal flag is set to false to indicate that this is a custom transform. Only SailPoint employees have the ability to create a transform with internal set to true. Newly created Transforms can be used in the Identity Profile mappings within the UI. A token with transform write authority is required to call this API. + +.PARAMETER Transform +The transform to be created. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +TransformRead +#> +function New-V2024Transform { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${Transform}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: New-V2024Transform' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/transforms' + + if (!$Transform) { + throw "Error! The required parameter `Transform` missing when calling createTransform." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($Transform -is [array])) { + $LocalVarBodyParameter = $Transform | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $Transform | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "TransformRead" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Delete a transform + +.DESCRIPTION + +Deletes the transform specified by the given ID. Attempting to delete a transform that is used in one or more Identity Profile mappings will result in an error. If this occurs, you must first remove the transform from all mappings before deleting the transform. A token with transform delete authority is required to call this API. + +.PARAMETER Id +ID of the transform to delete + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Remove-V2024Transform { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024Transform' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/transforms/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling deleteTransform." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'DELETE' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Transform by ID + +.DESCRIPTION + +This API returns the transform specified by the given ID. A token with transform read authority is required to call this API. + +.PARAMETER Id +ID of the transform to retrieve + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +TransformRead +#> +function Get-V2024Transform { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024Transform' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/transforms/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getTransform." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "TransformRead" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List transforms + +.DESCRIPTION + +Gets a list of all saved transform objects. A token with transforms-list read authority is required to call this API. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER Name +Name of the transform to retrieve from the list. + +.PARAMETER 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: **internal**: *eq* **name**: *eq, sw* + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +TransformRead[] +#> +function Get-V2024Transforms { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Name}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024Transforms' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/transforms' + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($Name) { + $LocalVarQueryParameters['name'] = $Name + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "TransformRead[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Update a transform + +.DESCRIPTION + +Replaces the transform specified by the given ID with the transform provided in the request body. Only the ""attributes"" field is mutable. Attempting to change other properties (ex. ""name"" and ""type"") will result in an error. A token with transform write authority is required to call this API. + +.PARAMETER Id +ID of the transform to update + +.PARAMETER Transform +The updated transform object. Must include ""name"", ""type"", and ""attributes"" fields, but ""name"" and ""type"" must not be modified. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +TransformRead +#> +function Update-V2024Transform { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${Transform}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Update-V2024Transform' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/transforms/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling updateTransform." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($Transform -is [array])) { + $LocalVarBodyParameter = $Transform | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $Transform | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PUT' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "TransformRead" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024TriggersApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024TriggersApi.ps1 new file mode 100644 index 000000000..f9dbcaad1 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024TriggersApi.ps1 @@ -0,0 +1,1103 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Complete Trigger Invocation + +.DESCRIPTION + +Completes an invocation to a REQUEST_RESPONSE type trigger. + +.PARAMETER Id +The ID of the invocation to complete. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER CompleteInvocation +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Complete-V2024TriggerInvocation { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${CompleteInvocation}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Complete-V2024TriggerInvocation' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/trigger-invocations/{id}/complete' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling completeTriggerInvocation." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling completeTriggerInvocation." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$CompleteInvocation) { + throw "Error! The required parameter `CompleteInvocation` missing when calling completeTriggerInvocation." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($CompleteInvocation -is [array])) { + $LocalVarBodyParameter = $CompleteInvocation | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $CompleteInvocation | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Create a Subscription + +.DESCRIPTION + +This API creates a new subscription to a trigger and defines trigger invocation details. The type of subscription determines which config object is required: * HTTP subscriptions require httpConfig * EventBridge subscriptions require eventBridgeConfig + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER SubscriptionPostRequest +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +Subscription +#> +function New-V2024Subscription { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${SubscriptionPostRequest}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: New-V2024Subscription' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/trigger-subscriptions' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling createSubscription." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$SubscriptionPostRequest) { + throw "Error! The required parameter `SubscriptionPostRequest` missing when calling createSubscription." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($SubscriptionPostRequest -is [array])) { + $LocalVarBodyParameter = $SubscriptionPostRequest | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $SubscriptionPostRequest | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "Subscription" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Delete a Subscription + +.DESCRIPTION + +Deletes an existing subscription to a trigger. + +.PARAMETER Id +Subscription ID + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Remove-V2024Subscription { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024Subscription' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/trigger-subscriptions/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling deleteSubscription." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling deleteSubscription." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'DELETE' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List Subscriptions + +.DESCRIPTION + +Gets a list of all trigger subscriptions. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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* **triggerId**: *eq* **type**: *eq, le* + +.PARAMETER 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: **triggerId, triggerName** + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +Subscription[] +#> +function Get-V2024Subscriptions { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024Subscriptions' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/trigger-subscriptions' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling listSubscriptions." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "Subscription[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List Latest Invocation Statuses + +.DESCRIPTION + +Gets a list of latest invocation statuses. Statuses of successful invocations are available for up to 24 hours. Statuses of failed invocations are available for up to 48 hours. This endpoint may only fetch up to 2000 invocations, and should not be treated as a representation of the full history of invocations. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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: **triggerId**: *eq* **subscriptionId**: *eq* + +.PARAMETER 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: **triggerId, subscriptionName, created, completed** + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +InvocationStatus[] +#> +function Get-V2024TriggerInvocationStatus { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024TriggerInvocationStatus' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/trigger-invocations/status' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling listTriggerInvocationStatus." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "InvocationStatus[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List Triggers + +.DESCRIPTION + +Gets a list of triggers that are available in the tenant. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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, ge, le* + +.PARAMETER 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** + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +Trigger[] +#> +function Get-V2024Triggers { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Sorters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024Triggers' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/triggers' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling listTriggers." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + if ($Sorters) { + $LocalVarQueryParameters['sorters'] = $Sorters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "Trigger[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Patch a Subscription + +.DESCRIPTION + +This API updates a trigger subscription in IdentityNow, using a set of instructions to modify a subscription partially. The following fields are patchable: **name**, **description**, **enabled**, **type**, **filter**, **responseDeadline**, **httpConfig**, **eventBridgeConfig**, **workflowConfig** + +.PARAMETER Id +ID of the Subscription to patch + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER SubscriptionPatchRequestInner +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +Subscription +#> +function Update-V2024Subscription { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject[]] + ${SubscriptionPatchRequestInner}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Update-V2024Subscription' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json-patch+json') + + $LocalVarUri = '/trigger-subscriptions/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling patchSubscription." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling patchSubscription." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$SubscriptionPatchRequestInner) { + throw "Error! The required parameter `SubscriptionPatchRequestInner` missing when calling patchSubscription." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($SubscriptionPatchRequestInner -is [array])) { + $LocalVarBodyParameter = $SubscriptionPatchRequestInner | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $SubscriptionPatchRequestInner | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PATCH' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "Subscription" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Start a Test Invocation + +.DESCRIPTION + +Initiate a test event for all subscribers of the specified event trigger. If there are no subscribers to the specified trigger in the tenant, then no test event will be sent. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER TestInvocation +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +Invocation[] +#> +function Start-V2024TestTriggerInvocation { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${TestInvocation}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Start-V2024TestTriggerInvocation' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/trigger-invocations/test' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling startTestTriggerInvocation." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$TestInvocation) { + throw "Error! The required parameter `TestInvocation` missing when calling startTestTriggerInvocation." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($TestInvocation -is [array])) { + $LocalVarBodyParameter = $TestInvocation | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $TestInvocation | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "Invocation[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Validate a Subscription Filter + +.DESCRIPTION + +Validates a JSONPath filter expression against a provided mock input. Request requires a security scope of: + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER ValidateFilterInputDto +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ValidateFilterOutputDto +#> +function Test-V2024SubscriptionFilter { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${ValidateFilterInputDto}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Test-V2024SubscriptionFilter' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/trigger-subscriptions/validate-filter' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling testSubscriptionFilter." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$ValidateFilterInputDto) { + throw "Error! The required parameter `ValidateFilterInputDto` missing when calling testSubscriptionFilter." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($ValidateFilterInputDto -is [array])) { + $LocalVarBodyParameter = $ValidateFilterInputDto | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $ValidateFilterInputDto | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ValidateFilterOutputDto" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Update a Subscription + +.DESCRIPTION + +This API updates a trigger subscription in IdentityNow, using a full object representation. In other words, the existing Subscription is completely replaced. The following fields are immutable: * id * triggerId Attempts to modify these fields result in 400. + +.PARAMETER Id +Subscription ID + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER SubscriptionPutRequest +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +Subscription +#> +function Update-V2024Subscription { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${SubscriptionPutRequest}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Update-V2024Subscription' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/trigger-subscriptions/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling updateSubscription." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling updateSubscription." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$SubscriptionPutRequest) { + throw "Error! The required parameter `SubscriptionPutRequest` missing when calling updateSubscription." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($SubscriptionPutRequest -is [array])) { + $LocalVarBodyParameter = $SubscriptionPutRequest | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $SubscriptionPutRequest | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PUT' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "Subscription" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024UIMetadataApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024UIMetadataApi.ps1 new file mode 100644 index 000000000..d49229ec5 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024UIMetadataApi.ps1 @@ -0,0 +1,183 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Get a tenant UI metadata + +.DESCRIPTION + +This API endpoint retrieves UI metadata configured for your tenant. A token with ORG_ADMIN authority is required to call this API. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +TenantUiMetadataItemResponse +#> +function Get-V2024TenantUiMetadata { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024TenantUiMetadata' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/ui-metadata/tenant' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getTenantUiMetadata." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "TenantUiMetadataItemResponse" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Update tenant UI metadata + +.DESCRIPTION + +This API endpoint updates UI metadata for your tenant. These changes may require up to 5 minutes to take effect on the UI. A token with ORG_ADMIN authority is required to call this API. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER TenantUiMetadataItemUpdateRequest +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +TenantUiMetadataItemResponse +#> +function Set-V2024TenantUiMetadata { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${TenantUiMetadataItemUpdateRequest}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Set-V2024TenantUiMetadata' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/ui-metadata/tenant' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling setTenantUiMetadata." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$TenantUiMetadataItemUpdateRequest) { + throw "Error! The required parameter `TenantUiMetadataItemUpdateRequest` missing when calling setTenantUiMetadata." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($TenantUiMetadataItemUpdateRequest -is [array])) { + $LocalVarBodyParameter = $TenantUiMetadataItemUpdateRequest | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $TenantUiMetadataItemUpdateRequest | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PUT' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "TenantUiMetadataItemResponse" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024VendorConnectorMappingsApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024VendorConnectorMappingsApi.ps1 new file mode 100644 index 000000000..5e1055db8 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024VendorConnectorMappingsApi.ps1 @@ -0,0 +1,187 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Create a vendor connector mapping + +.DESCRIPTION + +Creates a new mapping between a SaaS vendor and an IDN connector to establish correlation paths. + +.PARAMETER VendorConnectorMapping +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +VendorConnectorMapping +#> +function New-V2024VendorConnectorMapping { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${VendorConnectorMapping}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: New-V2024VendorConnectorMapping' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/vendor-connector-mappings' + + if (!$VendorConnectorMapping) { + throw "Error! The required parameter `VendorConnectorMapping` missing when calling createVendorConnectorMapping." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($VendorConnectorMapping -is [array])) { + $LocalVarBodyParameter = $VendorConnectorMapping | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $VendorConnectorMapping | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "VendorConnectorMapping" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Delete a vendor connector mapping + +.DESCRIPTION + +Soft deletes a mapping between a SaaS vendor and an IDN connector, removing the established correlation. + +.PARAMETER VendorConnectorMapping +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +DeleteVendorConnectorMapping200Response +#> +function Remove-V2024VendorConnectorMapping { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${VendorConnectorMapping}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024VendorConnectorMapping' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/vendor-connector-mappings' + + if (!$VendorConnectorMapping) { + throw "Error! The required parameter `VendorConnectorMapping` missing when calling deleteVendorConnectorMapping." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($VendorConnectorMapping -is [array])) { + $LocalVarBodyParameter = $VendorConnectorMapping | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $VendorConnectorMapping | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'DELETE' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "DeleteVendorConnectorMapping200Response" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024WorkItemsApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024WorkItemsApi.ps1 new file mode 100644 index 000000000..37293820e --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024WorkItemsApi.ps1 @@ -0,0 +1,1101 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Approve an Approval Item + +.DESCRIPTION + +This API approves an Approval Item. Either an admin, or the owning/current user must make this request. + +.PARAMETER Id +The ID of the work item + +.PARAMETER ApprovalItemId +The ID of the approval item. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +WorkItems +#> +function Approve-V2024ApprovalItem { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${ApprovalItemId}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Approve-V2024ApprovalItem' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/work-items/{id}/approve/{approvalItemId}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling approveApprovalItem." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + if (!$ApprovalItemId) { + throw "Error! The required parameter `ApprovalItemId` missing when calling approveApprovalItem." + } + $LocalVarUri = $LocalVarUri.replace('{approvalItemId}', [System.Web.HTTPUtility]::UrlEncode($ApprovalItemId)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "WorkItems" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Bulk approve Approval Items + +.DESCRIPTION + +This API bulk approves Approval Items. Either an admin, or the owning/current user must make this request. + +.PARAMETER Id +The ID of the work item + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +WorkItems +#> +function Approve-V2024ApprovalItemsInBulk { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Approve-V2024ApprovalItemsInBulk' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/work-items/bulk-approve/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling approveApprovalItemsInBulk." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "WorkItems" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Complete a Work Item + +.DESCRIPTION + +This API completes a work item. Either an admin, or the owning/current user must make this request. + +.PARAMETER Id +The ID of the work item + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +WorkItems +#> +function Complete-V2024WorkItem { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Complete-V2024WorkItem' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/work-items/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling completeWorkItem." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "WorkItems" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Completed Work Items + +.DESCRIPTION + +This gets a collection of completed work items belonging to either the specified user(admin required), or the current user. + +.PARAMETER OwnerId +The id of the owner of the work item list being requested. Either an admin, or the owning/current user must make this request. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +WorkItems[] +#> +function Get-V2024CompletedWorkItems { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${OwnerId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024CompletedWorkItems' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/work-items/completed' + + if ($OwnerId) { + $LocalVarQueryParameters['ownerId'] = $OwnerId + } + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "WorkItems[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Count Completed Work Items + +.DESCRIPTION + +This gets a count of completed work items belonging to either the specified user(admin required), or the current user. + +.PARAMETER OwnerId +ID of the work item owner. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +WorkItemsCount +#> +function Get-V2024CountCompletedWorkItems { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${OwnerId}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024CountCompletedWorkItems' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/work-items/completed/count' + + if ($OwnerId) { + $LocalVarQueryParameters['ownerId'] = $OwnerId + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "WorkItemsCount" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Count Work Items + +.DESCRIPTION + +This gets a count of work items belonging to either the specified user(admin required), or the current user. + +.PARAMETER OwnerId +ID of the work item owner. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +WorkItemsCount +#> +function Get-V2024CountWorkItems { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${OwnerId}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024CountWorkItems' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/work-items/count' + + if ($OwnerId) { + $LocalVarQueryParameters['ownerId'] = $OwnerId + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "WorkItemsCount" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get a Work Item + +.DESCRIPTION + +This gets the details of a Work Item belonging to either the specified user(admin required), or the current user. + +.PARAMETER Id +ID of the work item. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +WorkItems +#> +function Get-V2024WorkItem { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024WorkItem' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/work-items/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getWorkItem." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "WorkItems" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Work Items Summary + +.DESCRIPTION + +This gets a summary of work items belonging to either the specified user(admin required), or the current user. + +.PARAMETER OwnerId +ID of the work item owner. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +WorkItemsSummary +#> +function Get-V2024WorkItemsSummary { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${OwnerId}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024WorkItemsSummary' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/work-items/summary' + + if ($OwnerId) { + $LocalVarQueryParameters['ownerId'] = $OwnerId + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "WorkItemsSummary" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List Work Items + +.DESCRIPTION + +This gets a collection of work items belonging to either the specified user(admin required), or the current user. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER OwnerId +ID of the work item owner. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +WorkItems[] +#> +function Get-V2024WorkItems { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${OwnerId}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024WorkItems' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/work-items' + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($OwnerId) { + $LocalVarQueryParameters['ownerId'] = $OwnerId + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "WorkItems[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Reject an Approval Item + +.DESCRIPTION + +This API rejects an Approval Item. Either an admin, or the owning/current user must make this request. + +.PARAMETER Id +The ID of the work item + +.PARAMETER ApprovalItemId +The ID of the approval item. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +WorkItems +#> +function Deny-V2024ApprovalItem { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${ApprovalItemId}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Deny-V2024ApprovalItem' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/work-items/{id}/reject/{approvalItemId}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling rejectApprovalItem." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + if (!$ApprovalItemId) { + throw "Error! The required parameter `ApprovalItemId` missing when calling rejectApprovalItem." + } + $LocalVarUri = $LocalVarUri.replace('{approvalItemId}', [System.Web.HTTPUtility]::UrlEncode($ApprovalItemId)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "WorkItems" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Bulk reject Approval Items + +.DESCRIPTION + +This API bulk rejects Approval Items. Either an admin, or the owning/current user must make this request. + +.PARAMETER Id +The ID of the work item + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +WorkItems +#> +function Deny-V2024ApprovalItemsInBulk { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Deny-V2024ApprovalItemsInBulk' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/work-items/bulk-reject/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling rejectApprovalItemsInBulk." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "WorkItems" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Forward a Work Item + +.DESCRIPTION + +This API forwards a work item to a new owner. Either an admin, or the owning/current user must make this request. Accessible to work-item Owner, ORG_ADMIN, REPORT_ADMIN, ROLE_ADMIN, ROLE_SUBADMIN, SOURCE_ADMIN, SOURCE_SUBADMIN. + +.PARAMETER Id +The ID of the work item + +.PARAMETER WorkItemForward +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Send-V2024WorkItemForward { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${WorkItemForward}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Send-V2024WorkItemForward' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/work-items/{id}/forward' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling sendWorkItemForward." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$WorkItemForward) { + throw "Error! The required parameter `WorkItemForward` missing when calling sendWorkItemForward." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($WorkItemForward -is [array])) { + $LocalVarBodyParameter = $WorkItemForward | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $WorkItemForward | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Submit Account Selections + +.DESCRIPTION + +This API submits account selections. Either an admin, or the owning/current user must make this request. + +.PARAMETER Id +The ID of the work item + +.PARAMETER RequestBody +Account Selection Data map, keyed on fieldName + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +WorkItems +#> +function Submit-V2024AccountSelection { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Collections.Hashtable] + ${RequestBody}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Submit-V2024AccountSelection' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/work-items/{id}/submit-account-selection' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling submitAccountSelection." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$RequestBody) { + throw "Error! The required parameter `RequestBody` missing when calling submitAccountSelection." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($RequestBody -is [array])) { + $LocalVarBodyParameter = $RequestBody | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $RequestBody | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "WorkItems" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024WorkReassignmentApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024WorkReassignmentApi.ps1 new file mode 100644 index 000000000..5d4834ce8 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024WorkReassignmentApi.ps1 @@ -0,0 +1,820 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Create a Reassignment Configuration + +.DESCRIPTION + +Creates a new Reassignment Configuration for the specified identity. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER ConfigurationItemRequest +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ConfigurationItemResponse +#> +function New-V2024ReassignmentConfiguration { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${ConfigurationItemRequest}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: New-V2024ReassignmentConfiguration' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/reassignment-configurations' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling createReassignmentConfiguration." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$ConfigurationItemRequest) { + throw "Error! The required parameter `ConfigurationItemRequest` missing when calling createReassignmentConfiguration." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($ConfigurationItemRequest -is [array])) { + $LocalVarBodyParameter = $ConfigurationItemRequest | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $ConfigurationItemRequest | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ConfigurationItemResponse" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Delete Reassignment Configuration + +.DESCRIPTION + +Deletes all Reassignment Configuration for the specified identity + +.PARAMETER IdentityId +unique identity id + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Remove-V2024ReassignmentConfiguration { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${IdentityId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024ReassignmentConfiguration' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/reassignment-configurations/{identityId}' + if (!$IdentityId) { + throw "Error! The required parameter `IdentityId` missing when calling deleteReassignmentConfiguration." + } + $LocalVarUri = $LocalVarUri.replace('{identityId}', [System.Web.HTTPUtility]::UrlEncode($IdentityId)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling deleteReassignmentConfiguration." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'DELETE' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Evaluate Reassignment Configuration + +.DESCRIPTION + +Evaluates the Reassignment Configuration for an `Identity` to determine if work items for the specified type should be reassigned. If a valid Reassignment Configuration is found for the identity & work type, then a lookup is initiated which recursively fetches the Reassignment Configuration for the next `TargetIdentity` until no more results are found or a max depth of 5. That lookup trail is provided in the response and the final reassigned identity in the lookup list is returned as the `reassignToId` property. If no Reassignment Configuration is found for the specified identity & config type then the requested Identity ID will be used as the `reassignToId` value and the lookupTrail node will be empty. + +.PARAMETER IdentityId +unique identity id + +.PARAMETER ConfigType +Reassignment work type + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER ExclusionFilters +Exclusion filters that disable parts of the reassignment evaluation. Possible values are listed below: - `SELF_REVIEW_DELEGATION`: This will exclude delegations of self-review reassignments + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +EvaluateResponse[] +#> +function Get-V2024EvaluateReassignmentConfiguration { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${IdentityId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${ConfigType}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String[]] + ${ExclusionFilters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024EvaluateReassignmentConfiguration' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/reassignment-configurations/{identityId}/evaluate/{configType}' + if (!$IdentityId) { + throw "Error! The required parameter `IdentityId` missing when calling getEvaluateReassignmentConfiguration." + } + $LocalVarUri = $LocalVarUri.replace('{identityId}', [System.Web.HTTPUtility]::UrlEncode($IdentityId)) + if (!$ConfigType) { + throw "Error! The required parameter `ConfigType` missing when calling getEvaluateReassignmentConfiguration." + } + $LocalVarUri = $LocalVarUri.replace('{configType}', [System.Web.HTTPUtility]::UrlEncode($ConfigType)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getEvaluateReassignmentConfiguration." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if ($ExclusionFilters) { + $LocalVarQueryParameters['exclusionFilters'] = $ExclusionFilters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "EvaluateResponse[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List Reassignment Config Types + +.DESCRIPTION + +Gets a collection of types which are available in the Reassignment Configuration UI. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ConfigType[] +#> +function Get-V2024ReassignmentConfigTypes { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024ReassignmentConfigTypes' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/reassignment-configurations/types' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getReassignmentConfigTypes." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ConfigType[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get Reassignment Configuration + +.DESCRIPTION + +Gets the Reassignment Configuration for an identity. + +.PARAMETER IdentityId +unique identity id + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ConfigurationResponse +#> +function Get-V2024ReassignmentConfiguration { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${IdentityId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024ReassignmentConfiguration' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/reassignment-configurations/{identityId}' + if (!$IdentityId) { + throw "Error! The required parameter `IdentityId` missing when calling getReassignmentConfiguration." + } + $LocalVarUri = $LocalVarUri.replace('{identityId}', [System.Web.HTTPUtility]::UrlEncode($IdentityId)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getReassignmentConfiguration." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ConfigurationResponse" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get Tenant-wide Reassignment Configuration settings + +.DESCRIPTION + +Gets the global Reassignment Configuration settings for the requestor's tenant. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +TenantConfigurationResponse +#> +function Get-V2024TenantConfigConfiguration { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024TenantConfigConfiguration' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/reassignment-configurations/tenant-config' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling getTenantConfigConfiguration." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "TenantConfigurationResponse" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List Reassignment Configurations + +.DESCRIPTION + +Gets all Reassignment configuration for the current org. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ConfigurationResponse[] +#> +function Get-V2024ReassignmentConfigurations { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024ReassignmentConfigurations' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/reassignment-configurations' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling listReassignmentConfigurations." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ConfigurationResponse[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Update Reassignment Configuration + +.DESCRIPTION + +Replaces existing Reassignment configuration for an identity with the newly provided configuration. + +.PARAMETER IdentityId +unique identity id + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER ConfigurationItemRequest +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ConfigurationItemResponse +#> +function Send-V2024ReassignmentConfig { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${IdentityId}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${ConfigurationItemRequest}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Send-V2024ReassignmentConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/reassignment-configurations/{identityId}' + if (!$IdentityId) { + throw "Error! The required parameter `IdentityId` missing when calling putReassignmentConfig." + } + $LocalVarUri = $LocalVarUri.replace('{identityId}', [System.Web.HTTPUtility]::UrlEncode($IdentityId)) + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling putReassignmentConfig." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$ConfigurationItemRequest) { + throw "Error! The required parameter `ConfigurationItemRequest` missing when calling putReassignmentConfig." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($ConfigurationItemRequest -is [array])) { + $LocalVarBodyParameter = $ConfigurationItemRequest | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $ConfigurationItemRequest | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PUT' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ConfigurationItemResponse" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Update Tenant-wide Reassignment Configuration settings + +.DESCRIPTION + +Replaces existing Tenant-wide Reassignment Configuration settings with the newly provided settings. + +.PARAMETER XSailPointExperimental +Use this header to enable this experimental API. + +.PARAMETER TenantConfigurationRequest +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +TenantConfigurationResponse +#> +function Send-V2024TenantConfiguration { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + $XSailPointExperimental = "true", + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${TenantConfigurationRequest}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Send-V2024TenantConfiguration' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/reassignment-configurations/tenant-config' + + if (!$XSailPointExperimental) { + throw "Error! The required parameter `XSailPointExperimental` missing when calling putTenantConfiguration." + } + $LocalVarHeaderParameters['X-SailPoint-Experimental'] = $XSailPointExperimental + + if (!$TenantConfigurationRequest) { + throw "Error! The required parameter `TenantConfigurationRequest` missing when calling putTenantConfiguration." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($TenantConfigurationRequest -is [array])) { + $LocalVarBodyParameter = $TenantConfigurationRequest | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $TenantConfigurationRequest | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PUT' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "TenantConfigurationResponse" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024WorkflowsApi.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024WorkflowsApi.ps1 new file mode 100644 index 000000000..3e48bd9a0 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Api/V2024WorkflowsApi.ps1 @@ -0,0 +1,1547 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Cancel Workflow Execution by ID + +.DESCRIPTION + +Use this API to cancel a running workflow execution. + +.PARAMETER Id +The workflow execution ID + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Suspend-V2024WorkflowExecution { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Suspend-V2024WorkflowExecution' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/workflow-executions/{id}/cancel' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling cancelWorkflowExecution." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Execute Workflow via External Trigger + +.DESCRIPTION + +This endpoint allows a service outside of IdentityNow to initiate a workflow that uses the ""External Trigger"" step. The external service will invoke this endpoint with the input data it wants to send to the workflow in the body. + +.PARAMETER Id +Id of the workflow + +.PARAMETER CreateExternalExecuteWorkflowRequest +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +CreateExternalExecuteWorkflow200Response +#> +function New-V2024ExternalExecuteWorkflow { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${CreateExternalExecuteWorkflowRequest}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: New-V2024ExternalExecuteWorkflow' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/workflows/execute/external/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling createExternalExecuteWorkflow." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($CreateExternalExecuteWorkflowRequest -is [array])) { + $LocalVarBodyParameter = $CreateExternalExecuteWorkflowRequest | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $CreateExternalExecuteWorkflowRequest | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "CreateExternalExecuteWorkflow200Response" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Create Workflow + +.DESCRIPTION + +Create a new workflow with the desired trigger and steps specified in the request body. + +.PARAMETER CreateWorkflowRequest +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +Workflow +#> +function New-V2024Workflow { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${CreateWorkflowRequest}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: New-V2024Workflow' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/workflows/{id}' + + if (!$CreateWorkflowRequest) { + throw "Error! The required parameter `CreateWorkflowRequest` missing when calling createWorkflow." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($CreateWorkflowRequest -is [array])) { + $LocalVarBodyParameter = $CreateWorkflowRequest | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $CreateWorkflowRequest | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "Workflow" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Generate External Trigger OAuth Client + +.DESCRIPTION + +Create OAuth client ID, client secret, and callback URL for use in an external trigger. External triggers will need this information to generate an access token to authenticate to the callback URL and submit a trigger payload that will initiate the workflow. + +.PARAMETER Id +Id of the workflow + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +WorkflowOAuthClient +#> +function New-V2024WorkflowExternalTrigger { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: New-V2024WorkflowExternalTrigger' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/workflows/{id}/external/oauth-clients' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling createWorkflowExternalTrigger." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "WorkflowOAuthClient" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Delete Workflow By Id + +.DESCRIPTION + +Delete a workflow. **Enabled workflows cannot be deleted**. They must first be disabled. + +.PARAMETER Id +Id of the Workflow + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +None +#> +function Remove-V2024Workflow { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Remove-V2024Workflow' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/workflows/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling deleteWorkflow." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'DELETE' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get Workflow By Id + +.DESCRIPTION + +Get a single workflow by id. + +.PARAMETER Id +Id of the workflow + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +Workflow +#> +function Get-V2024Workflow { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024Workflow' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/workflows/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getWorkflow." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "Workflow" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get Workflow Execution + +.DESCRIPTION + +Use this API to get a single workflow execution. Workflow executions are available for up to 90 days before being archived. If you attempt to access a workflow execution that has been archived, you will receive a ""404 Not Found"" response. + +.PARAMETER Id +Workflow execution ID. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +SystemCollectionsHashtable +#> +function Get-V2024WorkflowExecution { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024WorkflowExecution' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/workflow-executions/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getWorkflowExecution." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "SystemCollectionsHashtable" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Get Workflow Execution History + +.DESCRIPTION + +Get a detailed history of a single workflow execution. Workflow executions are available for up to 90 days before being archived. If you attempt to access a workflow execution that has been archived, you will receive a 404 Not Found. + +.PARAMETER Id +Id of the workflow execution + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +WorkflowExecutionEvent[] +#> +function Get-V2024WorkflowExecutionHistory { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024WorkflowExecutionHistory' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/workflow-executions/{id}/history' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getWorkflowExecutionHistory." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "WorkflowExecutionEvent[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List Workflow Executions + +.DESCRIPTION + +Use this API to list a specified workflow's executions. Workflow executions are available for up to 90 days before being archived. By default, you can get a maximum of 250 executions. To get executions past the first 250 records, you can do the following: 1. Use the [Get Workflows](https://developer.sailpoint.com/idn/api/beta/list-workflows) endpoint to get your workflows. 2. Get your workflow ID from the response. 3. You can then do either of the following: - Filter to find relevant workflow executions. For example, you can filter for failed workflow executions: `GET /workflows/:workflowID/executions?filters=status eq ""Failed""` - Paginate through results with the `offset` parameter. For example, you can page through 50 executions per page and use that as a way to get to the records past the first 250. Refer to [Paginating Results](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results) for more information about the query parameters you can use to achieve pagination. + +.PARAMETER Id +Workflow ID. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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: **startTime**: *eq, lt, le, gt, ge* **status**: *eq* + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +WorkflowExecution[] +#> +function Get-V2024WorkflowExecutions { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Boolean]] + ${Count}, + [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024WorkflowExecutions' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/workflows/{id}/executions' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling getWorkflowExecutions." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Count) { + $LocalVarQueryParameters['count'] = $Count + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "WorkflowExecution[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List Complete Workflow Library + +.DESCRIPTION + +This lists all triggers, actions, and operators in the library + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +ListCompleteWorkflowLibrary200ResponseInner[] +#> +function Get-V2024CompleteWorkflowLibrary { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024CompleteWorkflowLibrary' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/workflow-library' + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "ListCompleteWorkflowLibrary200ResponseInner[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List Workflow Library Actions + +.DESCRIPTION + +This lists the workflow actions available to you. + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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* + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +WorkflowLibraryAction[] +#> +function Get-V2024WorkflowLibraryActions { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024WorkflowLibraryActions' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/workflow-library/actions' + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "WorkflowLibraryAction[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List Workflow Library Operators + +.DESCRIPTION + +This lists the workflow operators available to you + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +WorkflowLibraryOperator[] +#> +function Get-V2024WorkflowLibraryOperators { + [CmdletBinding()] + Param ( + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024WorkflowLibraryOperators' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/workflow-library/operators' + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "WorkflowLibraryOperator[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List Workflow Library Triggers + +.DESCRIPTION + +This lists the workflow triggers available to you + +.PARAMETER 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. + +.PARAMETER 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. + +.PARAMETER 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* + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +WorkflowLibraryTrigger[] +#> +function Get-V2024WorkflowLibraryTriggers { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Limit}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [System.Nullable[Int32]] + ${Offset}, + [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Filters}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024WorkflowLibraryTriggers' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/workflow-library/triggers' + + if ($Limit) { + $LocalVarQueryParameters['limit'] = $Limit + } + + if ($Offset) { + $LocalVarQueryParameters['offset'] = $Offset + } + + if ($Filters) { + $LocalVarQueryParameters['filters'] = $Filters + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "WorkflowLibraryTrigger[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +List Workflows + +.DESCRIPTION + +List all workflows in the tenant. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +Workflow[] +#> +function Get-V2024Workflows { + [CmdletBinding()] + Param ( + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Get-V2024Workflows' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + $LocalVarUri = '/workflows' + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'GET' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "Workflow[]" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Patch Workflow + +.DESCRIPTION + +Partially update an existing Workflow using [JSON Patch](https://tools.ietf.org/html/rfc6902) syntax. + +.PARAMETER Id +Id of the Workflow + +.PARAMETER JsonPatchOperation +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +Workflow +#> +function Update-V2024Workflow { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject[]] + ${JsonPatchOperation}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Update-V2024Workflow' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json-patch+json') + + $LocalVarUri = '/workflows/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling patchWorkflow." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$JsonPatchOperation) { + throw "Error! The required parameter `JsonPatchOperation` missing when calling patchWorkflow." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($JsonPatchOperation -is [array])) { + $LocalVarBodyParameter = $JsonPatchOperation | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $JsonPatchOperation | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PATCH' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "Workflow" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Update Workflow + +.DESCRIPTION + +Perform a full update of a workflow. The updated workflow object is returned in the response. + +.PARAMETER Id +Id of the Workflow + +.PARAMETER WorkflowBody +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +Workflow +#> +function Send-V2024Workflow { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${WorkflowBody}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Send-V2024Workflow' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/workflows/{id}' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling putWorkflow." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$WorkflowBody) { + throw "Error! The required parameter `WorkflowBody` missing when calling putWorkflow." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($WorkflowBody -is [array])) { + $LocalVarBodyParameter = $WorkflowBody | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $WorkflowBody | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'PUT' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "Workflow" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Test Workflow via External Trigger + +.DESCRIPTION + +Validate a workflow with an ""External Trigger"" can receive input. The response includes the input that the workflow received, which can be used to validate that the input is intact when it reaches the workflow. + +.PARAMETER Id +Id of the workflow + +.PARAMETER TestExternalExecuteWorkflowRequest +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +TestExternalExecuteWorkflow200Response +#> +function Test-V2024ExternalExecuteWorkflow { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${TestExternalExecuteWorkflowRequest}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Test-V2024ExternalExecuteWorkflow' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/workflows/execute/external/{id}/test' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling testExternalExecuteWorkflow." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($TestExternalExecuteWorkflowRequest -is [array])) { + $LocalVarBodyParameter = $TestExternalExecuteWorkflowRequest | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $TestExternalExecuteWorkflowRequest | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "TestExternalExecuteWorkflow200Response" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + +<# +.SYNOPSIS + +Test Workflow By Id + +.DESCRIPTION + +Test a workflow with the provided input data. The input data should resemble the input that the trigger will send the workflow. See the [event trigger documentation](https://developer.sailpoint.com/idn/docs/event-triggers/available) for an example input for the trigger that initiates this workflow. This endpoint will return an execution ID, which can be used to lookup more information about the execution using the `Get a Workflow Execution` endpoint. **This will cause a live run of the workflow, which could result in unintended modifications to your IDN tenant.** + +.PARAMETER Id +Id of the workflow + +.PARAMETER TestWorkflowRequest +No description available. + +.PARAMETER WithHttpInfo + +A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response + +.OUTPUTS + +TestWorkflow200Response +#> +function Test-V2024Workflow { + [CmdletBinding()] + Param ( + [Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [String] + ${Id}, + [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $false)] + [PSCustomObject] + ${TestWorkflowRequest}, + [Switch] + $WithHttpInfo + ) + + Process { + 'Calling method: Test-V2024Workflow' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $LocalVarAccepts = @() + $LocalVarContentTypes = @() + $LocalVarQueryParameters = @{} + $LocalVarHeaderParameters = @{} + $LocalVarFormParameters = @{} + $LocalVarPathParameters = @{} + $LocalVarCookieParameters = @{} + $LocalVarBodyParameter = $null + + # HTTP header 'Accept' (if needed) + $LocalVarAccepts = @('application/json') + + # HTTP header 'Content-Type' + $LocalVarContentTypes = @('application/json') + + $LocalVarUri = '/workflows/{id}/test' + if (!$Id) { + throw "Error! The required parameter `Id` missing when calling testWorkflow." + } + $LocalVarUri = $LocalVarUri.replace('{id}', [System.Web.HTTPUtility]::UrlEncode($Id)) + + if (!$TestWorkflowRequest) { + throw "Error! The required parameter `TestWorkflowRequest` missing when calling testWorkflow." + } + + if ($LocalVarContentTypes.Contains('application/json-patch+json') -or ($TestWorkflowRequest -is [array])) { + $LocalVarBodyParameter = $TestWorkflowRequest | ConvertTo-Json -AsArray -Depth 100 + } else { + $LocalVarBodyParameter = $TestWorkflowRequest | ForEach-Object { + # Get array of names of object properties that can be cast to boolean TRUE + # PSObject.Properties - https://msdn.microsoft.com/en-us/library/system.management.automation.psobject.properties.aspx + $NonEmptyProperties = $_.psobject.Properties | Where-Object {$null -ne $_.Value} | Select-Object -ExpandProperty Name + + # Convert object to JSON with only non-empty properties + $_ | Select-Object -Property $NonEmptyProperties | ConvertTo-Json -Depth 100 + } + } + + + + $LocalVarResult = Invoke-V2024ApiClient -Method 'POST' ` + -Uri $LocalVarUri ` + -Accepts $LocalVarAccepts ` + -ContentTypes $LocalVarContentTypes ` + -Body $LocalVarBodyParameter ` + -HeaderParameters $LocalVarHeaderParameters ` + -QueryParameters $LocalVarQueryParameters ` + -FormParameters $LocalVarFormParameters ` + -CookieParameters $LocalVarCookieParameters ` + -ReturnType "TestWorkflow200Response" ` + -IsBodyNullable $false + + if ($WithHttpInfo.IsPresent) { + return $LocalVarResult + } else { + return $LocalVarResult["Response"] + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Client/V2024Configuration.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Client/V2024Configuration.ps1 new file mode 100644 index 000000000..e33fc3b28 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Client/V2024Configuration.ps1 @@ -0,0 +1,530 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Get the configuration object 'V2024Configuration'. + +.DESCRIPTION + +Get the configuration object 'V2024Configuration'. + +.OUTPUTS + +System.Collections.Hashtable +#> +function Get-V2024Configuration { + + $Configuration = $Script:Configuration + + if ([string]::IsNullOrEmpty($Configuration["BaseUrl"])) { + $Configuration["BaseUrl"] = "https://sailpoint.api.identitynow.com/v2024"; + } + + if (!$Configuration.containsKey("Username")) { + $Configuration["Username"] = $null + } + if (!$Configuration.containsKey("Password")) { + $Configuration["Password"] = $null + } + if (!$Configuration.containsKey("AccessToken")) { + $Configuration["AccessToken"] = $null + } + if (!$Configuration.containsKey("Cookie")) { + $Configuration["Cookie"] = $null + } + + if (!$Configuration["DefaultHeaders"]) { + $Configuration["DefaultHeaders"] = @{} + } + + if (!$Configuration["ApiKey"]) { + $Configuration["ApiKey"] = @{} + } + + if (!$Configuration["ApiKeyPrefix"]) { + $Configuration["ApiKeyPrefix"] = @{} + } + + if (!$Configuration.containsKey("SkipCertificateCheck")) { + $Configuration["SkipCertificateCheck"] = $false + } + + if (!$Configuration.containsKey("Proxy")) { + $Configuration["Proxy"] = $null + } + + Return $Configuration + +} + +<# +.SYNOPSIS + +Set the configuration. + +.DESCRIPTION + +Set the configuration. + +.PARAMETER BaseUrl +Base URL of the HTTP endpoints + +.PARAMETER Username +Username in HTTP basic authentication + +.PARAMETER Password +Password in HTTP basic authentication + +.PARAMETER ApiKey +API Keys for authentication/authorization + +.PARAMETER ApiKeyPrefix +Prefix in the API Keys + +.PARAMETER Cookie +Cookie for authentication/authorization + +.PARAMETER AccessToken +Access token for authentication/authorization + +.PARAMETER SkipCertificateCheck +Skip certificate verification + +.PARAMETER DefaultHeaders +Default HTTP headers to be included in the HTTP request + +.PARAMETER Proxy +Proxy setting in the HTTP request, e.g. + +$proxy = [System.Net.WebRequest]::GetSystemWebProxy() +$proxy.Credentials = [System.Net.CredentialCache]::DefaultCredentials + +.PARAMETER PassThru +Return an object of the Configuration + +.OUTPUTS + +System.Collections.Hashtable +#> +function Set-V2024Configuration { + + [CmdletBinding()] + Param( + [string]$BaseUrl, + [AllowEmptyString()] + [string]$Username, + [AllowEmptyString()] + [string]$Password, + [hashtable]$ApiKey, + [hashtable]$ApiKeyPrefix, + [AllowEmptyString()] + [string]$Cookie, + [AllowEmptyString()] + [string]$AccessToken, + [switch]$SkipCertificateCheck, + [hashtable]$DefaultHeaders, + [System.Object]$Proxy, + [switch]$PassThru + ) + + Process { + + If ($BaseUrl) { + # validate URL + $URL = $BaseUrl -as [System.URI] + if (!($null -ne $URL.AbsoluteURI -and $URL.Scheme -match '[http|https]')) { + throw "Invalid URL '$($BaseUrl)' cannot be used in the base URL." + } + $Script:Configuration["BaseUrl"] = $BaseUrl + } + + If ($Username) { + $Script:Configuration['Username'] = $Username + } + + If ($Password) { + $Script:Configuration['Password'] = $Password + } + + If ($ApiKey) { + $Script:Configuration['ApiKey'] = $ApiKey + } + + If ($ApiKeyPrefix) { + $Script:Configuration['ApiKeyPrefix'] = $ApiKeyPrefix + } + + If ($Cookie) { + $Script:Configuration['Cookie'] = $Cookie + } + + If ($AccessToken) { + $Script:Configuration['AccessToken'] = $AccessToken + } + + If ($SkipCertificateCheck.IsPresent) { + $Script:Configuration['SkipCertificateCheck'] = $true + } else { + $Script:Configuration['SkipCertificateCheck'] = $false + } + + If ($DefaultHeaders) { + $Script:Configuration['DefaultHeaders'] = $DefaultHeaders + } + + If ($null -ne $Proxy) { + If ($Proxy.GetType().FullName -ne "System.Net.SystemWebProxy" -and $Proxy.GetType().FullName -ne "System.Net.WebRequest+WebProxyWrapperOpaque") { + throw "Incorrect Proxy type '$($Proxy.GetType().FullName)'. Must be System.Net.SystemWebProxy or System.Net.WebRequest+WebProxyWrapperOpaque." + } + $Script:Configuration['Proxy'] = $Proxy + } else { + $Script:Configuration['Proxy'] = $null + } + + If ($PassThru.IsPresent) { + $Script:Configuration + } + } +} + +<# +.SYNOPSIS + +Set the API Key. + +.DESCRIPTION + +Set the API Key. + +.PARAMETER Id +ID of the security schema + +.PARAMETER ApiKey +API Key + +.OUTPUTS + +None +#> +function Set-V2024ConfigurationApiKey { + [CmdletBinding()] + Param( + [string]$Id, + [AllowEmptyString()] + [string]$ApiKey + ) + Process { + if (!$Script:Configuration["ApiKey"]) { + $Script:Configuration["ApiKey"] = @{} + } + $Script:Configuration["ApiKey"][$Id] = $ApiKey + } +} + +<# +.SYNOPSIS + +Set the API Key prefix. + +.DESCRIPTION + +Set the API Key prefix. + +.PARAMETER Id +ID of the security schema + +.PARAMETER ApiKey +API Key prefix + +.OUTPUTS + +None +#> +function Set-V2024ConfigurationApiKeyPrefix { + [CmdletBinding()] + Param( + [string]$Id, + [AllowEmptyString()] + [string]$ApiKeyPrefix + ) + Process { + if (!$Script:Configuration["ApiKeyPrefix"]) { + $Script:Configuration["ApiKeyPrefix"] = @{} + } + $Script:Configuration["ApiKeyPrefix"][$Id] = $ApiKeyPrefix + } +} + +<# +.SYNOPSIS + +Set the default header. + +.DESCRIPTION + +Set the default header. + +.PARAMETER Key +Key of the HTTP header + +.PARAMETER Value +Value of the HTTP header + +.OUTPUTS + +None +#> +function Set-V2024ConfigurationDefaultHeader { + [CmdletBinding()] + Param( + [string]$Key, + [AllowEmptyString()] + [string]$Value + ) + Process { + if (!$Script:Configuration["DefaultHeaders"]) { + $Script:Configuration["DefaultHeaders"] = @{} + } + $Script:Configuration["DefaultHeaders"][$Key] = $Value + } +} + + +<# +.SYNOPSIS + +Get the host setting. + +.DESCRIPTION + +Get the host setting in the form of array of hashtables. + +.OUTPUTS + +System.Collections.Hashtable[] +#> +function Get-V2024HostSetting { + return ,@( + @{ + "Url" = "https://{tenant}.api.identitynow.com/v2024"; + "Description" = "This is the production API server."; + "Variables" = @{ + "tenant" = @{ + "Description" = "This is the name of your tenant, typically your company's name."; + "DefaultValue" = "sailpoint"; + } + } + }, + @{ + "Url" = "https://{apiUrl}/v2024"; + "Description" = "This is the V2024 API server."; + "Variables" = @{ + "apiUrl" = @{ + "Description" = "This is the api url of your tenant"; + "DefaultValue" = "sailpoint.api.identitynow.com"; + } + } + } + ) + +} + +<# +.SYNOPSIS + +Get the URL from the host settings. + +.PARAMETER Index +Index of the host settings (array) + +.PARAMETER Variables +Names and values of the variables (hashtable) + +.DESCRIPTION + +Get the URL from the host settings. + +.OUTPUTS + +String +#> +function Get-V2024UrlFromHostSetting { + + [CmdletBinding()] + Param( + [Parameter(ValueFromPipeline = $true)] + [Int]$Index, + [Hashtable]$Variables = @{} + ) + + Process { + $Hosts = Get-V2024HostSetting + + # check array index out of bound + if ($Index -lt 0 -or $Index -ge $Hosts.Length) { + throw "Invalid index $index when selecting the host. Must be less than $($Hosts.Length)" + } + + $MyHost = $Hosts[$Index]; + $Url = $MyHost["Url"]; + + # go through variable and assign a value + foreach ($h in $MyHost["Variables"].GetEnumerator()) { + if ($Variables.containsKey($h.Name)) { # check to see if it's in the variables provided by the user + if ($h.Value["EnumValues"] -Contains $Variables[$h.Name]) { + $Url = $Url.replace("{$($h.Name)}", $Variables[$h.Name]) + } else { + throw "The variable '$($h.Name)' in the host URL has invalid value $($Variables[$h.Name]). Must be $($h.Value["EnumValues"] -join ",")" + } + } else { + $Url = $Url.replace("{$($h.Name)}", $h.Value["DefaultValue"]) + } + } + + return $Url; + + } +} + +<# +.SYNOPSIS +Sets the configuration for http signing. +.DESCRIPTION + +Sets the configuration for the HTTP signature security scheme. +The HTTP signature security scheme is used to sign HTTP requests with a key +which is in possession of the API client. +An 'Authorization' header is calculated by creating a hash of select headers, +and optionally the body of the HTTP request, then signing the hash value using +a key. The 'Authorization' header is added to outbound HTTP requests. + +Ref: https://openapi-generator.tech + +.PARAMETER KeyId +KeyId for HTTP signing + +.PARAMETER KeyFilePath +KeyFilePath for HTTP signing + +.PARAMETER KeyPassPhrase +KeyPassPhrase, if the HTTP signing key is protected + +.PARAMETER HttpSigningHeader +HttpSigningHeader list of HTTP headers used to calculate the signature. The two special signature headers '(request-target)' and '(created)' +SHOULD be included. + The '(created)' header expresses when the signature was created. + The '(request-target)' header is a concatenation of the lowercased :method, an + ASCII space, and the :path pseudo-headers. +If no headers are specified then '(created)' sets as default. + +.PARAMETER HashAlgorithm +HashAlgorithm to calculate the hash, Supported values are "sha256" and "sha512" + +.PARAMETER SigningAlgorithm +SigningAlgorithm specifies the signature algorithm, supported values are "RSASSA-PKCS1-v1_5" and "RSASSA-PSS" +RSA key : Supported values "RSASSA-PKCS1-v1_5" and "RSASSA-PSS", for ECDSA key this parameter is not applicable + +.PARAMETER SignatureValidityPeriod +SignatureValidityPeriod specifies the signature maximum validity time in seconds. It accepts integer value + +.OUTPUTS + +System.Collections.Hashtable +#> +function Set-V2024ConfigurationHttpSigning { + [CmdletBinding()] + param( + [Parameter(Mandatory = $true)] + [ValidateNotNullOrEmpty()] + [string]$KeyId, + [Parameter(Mandatory = $true)] + [string]$KeyFilePath, + [Parameter(Mandatory = $false)] + [securestring]$KeyPassPhrase, + [Parameter(Mandatory = $false)] + [ValidateNotNullOrEmpty()] + [string[]] $HttpSigningHeader = @("(created)"), + [Parameter(Mandatory = $false)] + [ValidateSet("sha256", "sha512")] + [string] $HashAlgorithm = "sha256", + [Parameter(Mandatory = $false)] + [ValidateSet("RSASSA-PKCS1-v1_5", "RSASSA-PSS")] + [string]$SigningAlgorithm , + [Parameter(Mandatory = $false)] + [int]$SignatureValidityPeriod + ) + + Process { + $httpSignatureConfiguration = @{ } + + if (Test-Path -Path $KeyFilePath) { + $httpSignatureConfiguration["KeyId"] = $KeyId + $httpSignatureConfiguration["KeyFilePath"] = $KeyFilePath + } + else { + throw "Private key file path does not exist" + } + + $keyType = Get-V2024KeyTypeFromFile -KeyFilePath $KeyFilePath + if ([String]::IsNullOrEmpty($SigningAlgorithm)) { + if ($keyType -eq "RSA") { + $SigningAlgorithm = "RSASSA-PKCS1-v1_5" + } + } + + if ($keyType -eq "RSA" -and + ($SigningAlgorithm -ne "RSASSA-PKCS1-v1_5" -and $SigningAlgorithm -ne "RSASSA-PSS" )) { + throw "Provided Key and SigningAlgorithm : $SigningAlgorithm is not compatible." + } + + if ($HttpSigningHeader -contains "(expires)" -and $SignatureValidityPeriod -le 0) { + throw "SignatureValidityPeriod must be greater than 0 seconds." + } + + if ($HttpSigningHeader -contains "(expires)") { + $httpSignatureConfiguration["SignatureValidityPeriod"] = $SignatureValidityPeriod + } + if ($null -ne $HttpSigningHeader -and $HttpSigningHeader.Length -gt 0) { + $httpSignatureConfiguration["HttpSigningHeader"] = $HttpSigningHeader + } + + if ($null -ne $HashAlgorithm ) { + $httpSignatureConfiguration["HashAlgorithm"] = $HashAlgorithm + } + + if ($null -ne $SigningAlgorithm) { + $httpSignatureConfiguration["SigningAlgorithm"] = $SigningAlgorithm + } + + if ($null -ne $KeyPassPhrase) { + $httpSignatureConfiguration["KeyPassPhrase"] = $KeyPassPhrase + } + + $Script:Configuration["HttpSigning"] = New-Object -TypeName PSCustomObject -Property $httpSignatureConfiguration + } +} + +<# +.SYNOPSIS + +Get the configuration object 'V2024ConfigurationHttpSigning'. + +.DESCRIPTION + +Get the configuration object 'V2024ConfigurationHttpSigning'. + +.OUTPUTS + +[PSCustomObject] +#> +function Get-V2024ConfigurationHttpSigning{ + + $httpSignatureConfiguration = $Script:Configuration["HttpSigning"] + return $httpSignatureConfiguration +} diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Access.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Access.ps1 new file mode 100644 index 000000000..f9563d532 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Access.ps1 @@ -0,0 +1,149 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +The unique ID of the referenced object. +.PARAMETER Name +The human readable name of the referenced object. +.PARAMETER DisplayName +No description available. +.PARAMETER Type +No description available. +.PARAMETER Description +No description available. +.OUTPUTS + +Access +#> + +function Initialize-V2024Access { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${DisplayName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ACCOUNT_CORRELATION_CONFIG", "ACCESS_PROFILE", "ACCESS_REQUEST_APPROVAL", "ACCOUNT", "APPLICATION", "CAMPAIGN", "CAMPAIGN_FILTER", "CERTIFICATION", "CLUSTER", "CONNECTOR_SCHEMA", "ENTITLEMENT", "GOVERNANCE_GROUP", "IDENTITY", "IDENTITY_PROFILE", "IDENTITY_REQUEST", "LIFECYCLE_STATE", "PASSWORD_POLICY", "ROLE", "RULE", "SOD_POLICY", "SOURCE", "TAG", "TAG_CATEGORY", "TASK_RESULT", "REPORT_RESULT", "SOD_VIOLATION", "ACCOUNT_ACTIVITY", "WORKGROUP")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Access' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "displayName" = ${DisplayName} + "type" = ${Type} + "description" = ${Description} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Access + +.DESCRIPTION + +Convert from JSON to Access + +.PARAMETER Json + +Json object + +.OUTPUTS + +Access +#> +function ConvertFrom-V2024JsonToAccess { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Access' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Access + $AllProperties = ("id", "name", "displayName", "type", "description") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "displayName"))) { #optional property not found + $DisplayName = $null + } else { + $DisplayName = $JsonParameters.PSobject.Properties["displayName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "displayName" = ${DisplayName} + "type" = ${Type} + "description" = ${Description} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessConstraint.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessConstraint.ps1 new file mode 100644 index 000000000..378943d65 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessConstraint.ps1 @@ -0,0 +1,136 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Type +Type of Access +.PARAMETER Ids +Must be set only if operator is SELECTED. +.PARAMETER Operator +Used to determine whether the scope of the campaign should be reduced for selected ids or all. +.OUTPUTS + +AccessConstraint +#> + +function Initialize-V2024AccessConstraint { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ENTITLEMENT", "ACCESS_PROFILE", "ROLE")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Ids}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ALL", "SELECTED")] + [String] + ${Operator} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessConstraint' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Operator) { + throw "invalid value for 'Operator', 'Operator' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "ids" = ${Ids} + "operator" = ${Operator} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessConstraint + +.DESCRIPTION + +Convert from JSON to AccessConstraint + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessConstraint +#> +function ConvertFrom-V2024JsonToAccessConstraint { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessConstraint' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessConstraint + $AllProperties = ("type", "ids", "operator") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'type' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "operator"))) { + throw "Error! JSON cannot be serialized due to the required property 'operator' missing." + } else { + $Operator = $JsonParameters.PSobject.Properties["operator"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "ids"))) { #optional property not found + $Ids = $null + } else { + $Ids = $JsonParameters.PSobject.Properties["ids"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "ids" = ${Ids} + "operator" = ${Operator} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessCriteria.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessCriteria.ps1 new file mode 100644 index 000000000..b18b38770 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessCriteria.ps1 @@ -0,0 +1,117 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Name +Business name for the access construct list +.PARAMETER CriteriaList +List of criteria. There is a min of 1 and max of 50 items in the list. +.OUTPUTS + +AccessCriteria +#> + +function Initialize-V2024AccessCriteria { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${CriteriaList} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessCriteria' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$CriteriaList -and $CriteriaList.length -gt 50) { + throw "invalid value for 'CriteriaList', number of items must be less than or equal to 50." + } + + if (!$CriteriaList -and $CriteriaList.length -lt 1) { + throw "invalid value for 'CriteriaList', number of items must be greater than or equal to 1." + } + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "criteriaList" = ${CriteriaList} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessCriteria + +.DESCRIPTION + +Convert from JSON to AccessCriteria + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessCriteria +#> +function ConvertFrom-V2024JsonToAccessCriteria { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessCriteria' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessCriteria + $AllProperties = ("name", "criteriaList") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "criteriaList"))) { #optional property not found + $CriteriaList = $null + } else { + $CriteriaList = $JsonParameters.PSobject.Properties["criteriaList"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "criteriaList" = ${CriteriaList} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessCriteriaCriteriaListInner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessCriteriaCriteriaListInner.ps1 new file mode 100644 index 000000000..bc633a4d0 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessCriteriaCriteriaListInner.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Type +Type of the propery to which this reference applies to +.PARAMETER Id +ID of the object to which this reference applies to +.PARAMETER Name +Human-readable display name of the object to which this reference applies to +.OUTPUTS + +AccessCriteriaCriteriaListInner +#> + +function Initialize-V2024AccessCriteriaCriteriaListInner { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ENTITLEMENT")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessCriteriaCriteriaListInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessCriteriaCriteriaListInner + +.DESCRIPTION + +Convert from JSON to AccessCriteriaCriteriaListInner + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessCriteriaCriteriaListInner +#> +function ConvertFrom-V2024JsonToAccessCriteriaCriteriaListInner { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessCriteriaCriteriaListInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessCriteriaCriteriaListInner + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessItemAccessProfileResponse.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessItemAccessProfileResponse.ps1 new file mode 100644 index 000000000..88523d7a9 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessItemAccessProfileResponse.ps1 @@ -0,0 +1,251 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER AccessType +the access item type. accessProfile in this case +.PARAMETER Id +the access item id +.PARAMETER Name +the access profile name +.PARAMETER SourceName +the name of the source +.PARAMETER SourceId +the id of the source +.PARAMETER Description +the description for the access profile +.PARAMETER DisplayName +the display name of the identity +.PARAMETER EntitlementCount +the number of entitlements the access profile will create +.PARAMETER AppDisplayName +the name of +.PARAMETER RemoveDate +the date the access profile is no longer assigned to the specified identity +.PARAMETER Standalone +indicates whether the access profile is standalone +.PARAMETER Revocable +indicates whether the access profile is +.OUTPUTS + +AccessItemAccessProfileResponse +#> + +function Initialize-V2024AccessItemAccessProfileResponse { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AccessType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SourceName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SourceId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${DisplayName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${EntitlementCount}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AppDisplayName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${RemoveDate}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Boolean] + ${Standalone}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Boolean] + ${Revocable} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessItemAccessProfileResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Standalone) { + throw "invalid value for 'Standalone', 'Standalone' cannot be null." + } + + if (!$Revocable) { + throw "invalid value for 'Revocable', 'Revocable' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "accessType" = ${AccessType} + "id" = ${Id} + "name" = ${Name} + "sourceName" = ${SourceName} + "sourceId" = ${SourceId} + "description" = ${Description} + "displayName" = ${DisplayName} + "entitlementCount" = ${EntitlementCount} + "appDisplayName" = ${AppDisplayName} + "removeDate" = ${RemoveDate} + "standalone" = ${Standalone} + "revocable" = ${Revocable} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessItemAccessProfileResponse + +.DESCRIPTION + +Convert from JSON to AccessItemAccessProfileResponse + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessItemAccessProfileResponse +#> +function ConvertFrom-V2024JsonToAccessItemAccessProfileResponse { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessItemAccessProfileResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessItemAccessProfileResponse + $AllProperties = ("accessType", "id", "name", "sourceName", "sourceId", "description", "displayName", "entitlementCount", "appDisplayName", "removeDate", "standalone", "revocable") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'standalone' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "standalone"))) { + throw "Error! JSON cannot be serialized due to the required property 'standalone' missing." + } else { + $Standalone = $JsonParameters.PSobject.Properties["standalone"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "revocable"))) { + throw "Error! JSON cannot be serialized due to the required property 'revocable' missing." + } else { + $Revocable = $JsonParameters.PSobject.Properties["revocable"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accessType"))) { #optional property not found + $AccessType = $null + } else { + $AccessType = $JsonParameters.PSobject.Properties["accessType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceName"))) { #optional property not found + $SourceName = $null + } else { + $SourceName = $JsonParameters.PSobject.Properties["sourceName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceId"))) { #optional property not found + $SourceId = $null + } else { + $SourceId = $JsonParameters.PSobject.Properties["sourceId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "displayName"))) { #optional property not found + $DisplayName = $null + } else { + $DisplayName = $JsonParameters.PSobject.Properties["displayName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "entitlementCount"))) { #optional property not found + $EntitlementCount = $null + } else { + $EntitlementCount = $JsonParameters.PSobject.Properties["entitlementCount"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "appDisplayName"))) { #optional property not found + $AppDisplayName = $null + } else { + $AppDisplayName = $JsonParameters.PSobject.Properties["appDisplayName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "removeDate"))) { #optional property not found + $RemoveDate = $null + } else { + $RemoveDate = $JsonParameters.PSobject.Properties["removeDate"].value + } + + $PSO = [PSCustomObject]@{ + "accessType" = ${AccessType} + "id" = ${Id} + "name" = ${Name} + "sourceName" = ${SourceName} + "sourceId" = ${SourceId} + "description" = ${Description} + "displayName" = ${DisplayName} + "entitlementCount" = ${EntitlementCount} + "appDisplayName" = ${AppDisplayName} + "removeDate" = ${RemoveDate} + "standalone" = ${Standalone} + "revocable" = ${Revocable} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessItemAccountResponse.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessItemAccountResponse.ps1 new file mode 100644 index 000000000..0579d1ce1 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessItemAccountResponse.ps1 @@ -0,0 +1,174 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER AccessType +the access item type. account in this case +.PARAMETER Id +the access item id +.PARAMETER NativeIdentity +the native identifier used to uniquely identify an acccount +.PARAMETER SourceName +the name of the source +.PARAMETER SourceId +the id of the source +.PARAMETER EntitlementCount +the number of entitlements the account will create +.PARAMETER DisplayName +the display name of the identity +.OUTPUTS + +AccessItemAccountResponse +#> + +function Initialize-V2024AccessItemAccountResponse { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AccessType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${NativeIdentity}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SourceName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SourceId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${EntitlementCount}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${DisplayName} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessItemAccountResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "accessType" = ${AccessType} + "id" = ${Id} + "nativeIdentity" = ${NativeIdentity} + "sourceName" = ${SourceName} + "sourceId" = ${SourceId} + "entitlementCount" = ${EntitlementCount} + "displayName" = ${DisplayName} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessItemAccountResponse + +.DESCRIPTION + +Convert from JSON to AccessItemAccountResponse + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessItemAccountResponse +#> +function ConvertFrom-V2024JsonToAccessItemAccountResponse { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessItemAccountResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessItemAccountResponse + $AllProperties = ("accessType", "id", "nativeIdentity", "sourceName", "sourceId", "entitlementCount", "displayName") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accessType"))) { #optional property not found + $AccessType = $null + } else { + $AccessType = $JsonParameters.PSobject.Properties["accessType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "nativeIdentity"))) { #optional property not found + $NativeIdentity = $null + } else { + $NativeIdentity = $JsonParameters.PSobject.Properties["nativeIdentity"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceName"))) { #optional property not found + $SourceName = $null + } else { + $SourceName = $JsonParameters.PSobject.Properties["sourceName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceId"))) { #optional property not found + $SourceId = $null + } else { + $SourceId = $JsonParameters.PSobject.Properties["sourceId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "entitlementCount"))) { #optional property not found + $EntitlementCount = $null + } else { + $EntitlementCount = $JsonParameters.PSobject.Properties["entitlementCount"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "displayName"))) { #optional property not found + $DisplayName = $null + } else { + $DisplayName = $JsonParameters.PSobject.Properties["displayName"].value + } + + $PSO = [PSCustomObject]@{ + "accessType" = ${AccessType} + "id" = ${Id} + "nativeIdentity" = ${NativeIdentity} + "sourceName" = ${SourceName} + "sourceId" = ${SourceId} + "entitlementCount" = ${EntitlementCount} + "displayName" = ${DisplayName} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessItemAppResponse.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessItemAppResponse.ps1 new file mode 100644 index 000000000..bf78a9e49 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessItemAppResponse.ps1 @@ -0,0 +1,148 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER AccessType +the access item type. entitlement in this case +.PARAMETER Id +the access item id +.PARAMETER DisplayName +the access item display name +.PARAMETER SourceName +the associated source name if it exists +.PARAMETER AppRoleId +the app role id +.OUTPUTS + +AccessItemAppResponse +#> + +function Initialize-V2024AccessItemAppResponse { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AccessType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${DisplayName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SourceName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AppRoleId} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessItemAppResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "accessType" = ${AccessType} + "id" = ${Id} + "displayName" = ${DisplayName} + "sourceName" = ${SourceName} + "appRoleId" = ${AppRoleId} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessItemAppResponse + +.DESCRIPTION + +Convert from JSON to AccessItemAppResponse + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessItemAppResponse +#> +function ConvertFrom-V2024JsonToAccessItemAppResponse { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessItemAppResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessItemAppResponse + $AllProperties = ("accessType", "id", "displayName", "sourceName", "appRoleId") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accessType"))) { #optional property not found + $AccessType = $null + } else { + $AccessType = $JsonParameters.PSobject.Properties["accessType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "displayName"))) { #optional property not found + $DisplayName = $null + } else { + $DisplayName = $JsonParameters.PSobject.Properties["displayName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceName"))) { #optional property not found + $SourceName = $null + } else { + $SourceName = $JsonParameters.PSobject.Properties["sourceName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "appRoleId"))) { #optional property not found + $AppRoleId = $null + } else { + $AppRoleId = $JsonParameters.PSobject.Properties["appRoleId"].value + } + + $PSO = [PSCustomObject]@{ + "accessType" = ${AccessType} + "id" = ${Id} + "displayName" = ${DisplayName} + "sourceName" = ${SourceName} + "appRoleId" = ${AppRoleId} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessItemApproverDto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessItemApproverDto.ps1 new file mode 100644 index 000000000..f34e0b936 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessItemApproverDto.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Identity who approved the access item request. + +.PARAMETER Type +DTO type of identity who approved the access item request. +.PARAMETER Id +ID of identity who approved the access item request. +.PARAMETER Name +Human-readable display name of identity who approved the access item request. +.OUTPUTS + +AccessItemApproverDto +#> + +function Initialize-V2024AccessItemApproverDto { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessItemApproverDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessItemApproverDto + +.DESCRIPTION + +Convert from JSON to AccessItemApproverDto + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessItemApproverDto +#> +function ConvertFrom-V2024JsonToAccessItemApproverDto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessItemApproverDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessItemApproverDto + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessItemAssociated.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessItemAssociated.ps1 new file mode 100644 index 000000000..e50830d22 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessItemAssociated.ps1 @@ -0,0 +1,148 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER AccessItem +No description available. +.PARAMETER IdentityId +the identity id +.PARAMETER EventType +the event type +.PARAMETER Dt +the date of event +.PARAMETER GovernanceEvent +No description available. +.OUTPUTS + +AccessItemAssociated +#> + +function Initialize-V2024AccessItemAssociated { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${AccessItem}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${IdentityId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${EventType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Dt}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${GovernanceEvent} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessItemAssociated' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "accessItem" = ${AccessItem} + "identityId" = ${IdentityId} + "eventType" = ${EventType} + "dt" = ${Dt} + "governanceEvent" = ${GovernanceEvent} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessItemAssociated + +.DESCRIPTION + +Convert from JSON to AccessItemAssociated + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessItemAssociated +#> +function ConvertFrom-V2024JsonToAccessItemAssociated { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessItemAssociated' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessItemAssociated + $AllProperties = ("accessItem", "identityId", "eventType", "dt", "governanceEvent") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accessItem"))) { #optional property not found + $AccessItem = $null + } else { + $AccessItem = $JsonParameters.PSobject.Properties["accessItem"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityId"))) { #optional property not found + $IdentityId = $null + } else { + $IdentityId = $JsonParameters.PSobject.Properties["identityId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "eventType"))) { #optional property not found + $EventType = $null + } else { + $EventType = $JsonParameters.PSobject.Properties["eventType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "dt"))) { #optional property not found + $Dt = $null + } else { + $Dt = $JsonParameters.PSobject.Properties["dt"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "governanceEvent"))) { #optional property not found + $GovernanceEvent = $null + } else { + $GovernanceEvent = $JsonParameters.PSobject.Properties["governanceEvent"].value + } + + $PSO = [PSCustomObject]@{ + "accessItem" = ${AccessItem} + "identityId" = ${IdentityId} + "eventType" = ${EventType} + "dt" = ${Dt} + "governanceEvent" = ${GovernanceEvent} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessItemAssociatedAccessItem.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessItemAssociatedAccessItem.ps1 new file mode 100644 index 000000000..6f7c4f426 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessItemAssociatedAccessItem.ps1 @@ -0,0 +1,130 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Json + +JSON object + +.OUTPUTS + +AccessItemAssociatedAccessItem +#> +function ConvertFrom-V2024JsonToAccessItemAssociatedAccessItem { + [CmdletBinding()] + Param ( + [AllowEmptyString()] + [string]$Json + ) + + Process { + $match = 0 + $matchType = $null + $matchInstance = $null + + # try to match AccessItemAccessProfileResponse defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToAccessItemAccessProfileResponse $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "AccessItemAccessProfileResponse" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'AccessItemAccessProfileResponse' defined in oneOf (V2024AccessItemAssociatedAccessItem). Proceeding to the next one if any." + } + + # try to match AccessItemAccountResponse defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToAccessItemAccountResponse $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "AccessItemAccountResponse" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'AccessItemAccountResponse' defined in oneOf (V2024AccessItemAssociatedAccessItem). Proceeding to the next one if any." + } + + # try to match AccessItemAppResponse defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToAccessItemAppResponse $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "AccessItemAppResponse" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'AccessItemAppResponse' defined in oneOf (V2024AccessItemAssociatedAccessItem). Proceeding to the next one if any." + } + + # try to match AccessItemEntitlementResponse defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToAccessItemEntitlementResponse $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "AccessItemEntitlementResponse" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'AccessItemEntitlementResponse' defined in oneOf (V2024AccessItemAssociatedAccessItem). Proceeding to the next one if any." + } + + # try to match AccessItemRoleResponse defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToAccessItemRoleResponse $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "AccessItemRoleResponse" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'AccessItemRoleResponse' defined in oneOf (V2024AccessItemAssociatedAccessItem). Proceeding to the next one if any." + } + + if ($match -gt 1) { + throw "Error! The JSON payload matches more than one type defined in oneOf schemas ([AccessItemAccessProfileResponse, AccessItemAccountResponse, AccessItemAppResponse, AccessItemEntitlementResponse, AccessItemRoleResponse]). JSON Payload: $($Json)" + } elseif ($match -eq 1) { + return [PSCustomObject]@{ + "ActualType" = ${matchType} + "ActualInstance" = ${matchInstance} + "OneOfSchemas" = @("AccessItemAccessProfileResponse", "AccessItemAccountResponse", "AccessItemAppResponse", "AccessItemEntitlementResponse", "AccessItemRoleResponse") + } + } else { + throw "Error! The JSON payload doesn't matches any type defined in oneOf schemas ([AccessItemAccessProfileResponse, AccessItemAccountResponse, AccessItemAppResponse, AccessItemEntitlementResponse, AccessItemRoleResponse]). JSON Payload: $($Json)" + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessItemDiff.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessItemDiff.ps1 new file mode 100644 index 000000000..bb780a29a --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessItemDiff.ps1 @@ -0,0 +1,136 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +the id of the access item +.PARAMETER EventType +No description available. +.PARAMETER DisplayName +the display name of the access item +.PARAMETER SourceName +the source name of the access item +.OUTPUTS + +AccessItemDiff +#> + +function Initialize-V2024AccessItemDiff { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ADD", "REMOVE")] + [String] + ${EventType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${DisplayName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SourceName} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessItemDiff' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "eventType" = ${EventType} + "displayName" = ${DisplayName} + "sourceName" = ${SourceName} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessItemDiff + +.DESCRIPTION + +Convert from JSON to AccessItemDiff + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessItemDiff +#> +function ConvertFrom-V2024JsonToAccessItemDiff { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessItemDiff' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessItemDiff + $AllProperties = ("id", "eventType", "displayName", "sourceName") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "eventType"))) { #optional property not found + $EventType = $null + } else { + $EventType = $JsonParameters.PSobject.Properties["eventType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "displayName"))) { #optional property not found + $DisplayName = $null + } else { + $DisplayName = $JsonParameters.PSobject.Properties["displayName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceName"))) { #optional property not found + $SourceName = $null + } else { + $SourceName = $JsonParameters.PSobject.Properties["sourceName"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "eventType" = ${EventType} + "displayName" = ${DisplayName} + "sourceName" = ${SourceName} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessItemEntitlementResponse.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessItemEntitlementResponse.ps1 new file mode 100644 index 000000000..213742193 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessItemEntitlementResponse.ps1 @@ -0,0 +1,255 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER AccessType +the access item type. entitlement in this case +.PARAMETER Id +the access item id +.PARAMETER Attribute +the entitlement attribute +.PARAMETER Value +the associated value +.PARAMETER EntitlementType +the type of entitlement +.PARAMETER SourceName +the name of the source +.PARAMETER SourceId +the id of the source +.PARAMETER Description +the description for the entitlment +.PARAMETER DisplayName +the display name of the identity +.PARAMETER Standalone +indicates whether the entitlement is standalone +.PARAMETER Privileged +indicates whether the entitlement is privileged +.PARAMETER CloudGoverned +indicates whether the entitlement is cloud governed +.OUTPUTS + +AccessItemEntitlementResponse +#> + +function Initialize-V2024AccessItemEntitlementResponse { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AccessType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Attribute}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Value}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${EntitlementType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SourceName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SourceId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${DisplayName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Boolean] + ${Standalone}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Boolean] + ${Privileged}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Boolean] + ${CloudGoverned} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessItemEntitlementResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Standalone) { + throw "invalid value for 'Standalone', 'Standalone' cannot be null." + } + + if (!$Privileged) { + throw "invalid value for 'Privileged', 'Privileged' cannot be null." + } + + if (!$CloudGoverned) { + throw "invalid value for 'CloudGoverned', 'CloudGoverned' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "accessType" = ${AccessType} + "id" = ${Id} + "attribute" = ${Attribute} + "value" = ${Value} + "entitlementType" = ${EntitlementType} + "sourceName" = ${SourceName} + "sourceId" = ${SourceId} + "description" = ${Description} + "displayName" = ${DisplayName} + "standalone" = ${Standalone} + "privileged" = ${Privileged} + "cloudGoverned" = ${CloudGoverned} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessItemEntitlementResponse + +.DESCRIPTION + +Convert from JSON to AccessItemEntitlementResponse + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessItemEntitlementResponse +#> +function ConvertFrom-V2024JsonToAccessItemEntitlementResponse { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessItemEntitlementResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessItemEntitlementResponse + $AllProperties = ("accessType", "id", "attribute", "value", "entitlementType", "sourceName", "sourceId", "description", "displayName", "standalone", "privileged", "cloudGoverned") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'standalone' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "standalone"))) { + throw "Error! JSON cannot be serialized due to the required property 'standalone' missing." + } else { + $Standalone = $JsonParameters.PSobject.Properties["standalone"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "privileged"))) { + throw "Error! JSON cannot be serialized due to the required property 'privileged' missing." + } else { + $Privileged = $JsonParameters.PSobject.Properties["privileged"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "cloudGoverned"))) { + throw "Error! JSON cannot be serialized due to the required property 'cloudGoverned' missing." + } else { + $CloudGoverned = $JsonParameters.PSobject.Properties["cloudGoverned"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accessType"))) { #optional property not found + $AccessType = $null + } else { + $AccessType = $JsonParameters.PSobject.Properties["accessType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attribute"))) { #optional property not found + $Attribute = $null + } else { + $Attribute = $JsonParameters.PSobject.Properties["attribute"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "value"))) { #optional property not found + $Value = $null + } else { + $Value = $JsonParameters.PSobject.Properties["value"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "entitlementType"))) { #optional property not found + $EntitlementType = $null + } else { + $EntitlementType = $JsonParameters.PSobject.Properties["entitlementType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceName"))) { #optional property not found + $SourceName = $null + } else { + $SourceName = $JsonParameters.PSobject.Properties["sourceName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceId"))) { #optional property not found + $SourceId = $null + } else { + $SourceId = $JsonParameters.PSobject.Properties["sourceId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "displayName"))) { #optional property not found + $DisplayName = $null + } else { + $DisplayName = $JsonParameters.PSobject.Properties["displayName"].value + } + + $PSO = [PSCustomObject]@{ + "accessType" = ${AccessType} + "id" = ${Id} + "attribute" = ${Attribute} + "value" = ${Value} + "entitlementType" = ${EntitlementType} + "sourceName" = ${SourceName} + "sourceId" = ${SourceId} + "description" = ${Description} + "displayName" = ${DisplayName} + "standalone" = ${Standalone} + "privileged" = ${Privileged} + "cloudGoverned" = ${CloudGoverned} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessItemRef.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessItemRef.ps1 new file mode 100644 index 000000000..ee4217c97 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessItemRef.ps1 @@ -0,0 +1,110 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +ID of the access item to retrieve the recommendation for. +.PARAMETER Type +Access item's type. +.OUTPUTS + +AccessItemRef +#> + +function Initialize-V2024AccessItemRef { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ENTITLEMENT", "ACCESS_PROFILE", "ROLE")] + [String] + ${Type} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessItemRef' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessItemRef + +.DESCRIPTION + +Convert from JSON to AccessItemRef + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessItemRef +#> +function ConvertFrom-V2024JsonToAccessItemRef { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessItemRef' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessItemRef + $AllProperties = ("id", "type") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessItemRemoved.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessItemRemoved.ps1 new file mode 100644 index 000000000..454409367 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessItemRemoved.ps1 @@ -0,0 +1,148 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER AccessItem +No description available. +.PARAMETER IdentityId +the identity id +.PARAMETER EventType +the event type +.PARAMETER Dt +the date of event +.PARAMETER GovernanceEvent +No description available. +.OUTPUTS + +AccessItemRemoved +#> + +function Initialize-V2024AccessItemRemoved { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${AccessItem}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${IdentityId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${EventType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Dt}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${GovernanceEvent} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessItemRemoved' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "accessItem" = ${AccessItem} + "identityId" = ${IdentityId} + "eventType" = ${EventType} + "dt" = ${Dt} + "governanceEvent" = ${GovernanceEvent} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessItemRemoved + +.DESCRIPTION + +Convert from JSON to AccessItemRemoved + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessItemRemoved +#> +function ConvertFrom-V2024JsonToAccessItemRemoved { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessItemRemoved' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessItemRemoved + $AllProperties = ("accessItem", "identityId", "eventType", "dt", "governanceEvent") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accessItem"))) { #optional property not found + $AccessItem = $null + } else { + $AccessItem = $JsonParameters.PSobject.Properties["accessItem"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityId"))) { #optional property not found + $IdentityId = $null + } else { + $IdentityId = $JsonParameters.PSobject.Properties["identityId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "eventType"))) { #optional property not found + $EventType = $null + } else { + $EventType = $JsonParameters.PSobject.Properties["eventType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "dt"))) { #optional property not found + $Dt = $null + } else { + $Dt = $JsonParameters.PSobject.Properties["dt"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "governanceEvent"))) { #optional property not found + $GovernanceEvent = $null + } else { + $GovernanceEvent = $JsonParameters.PSobject.Properties["governanceEvent"].value + } + + $PSO = [PSCustomObject]@{ + "accessItem" = ${AccessItem} + "identityId" = ${IdentityId} + "eventType" = ${EventType} + "dt" = ${Dt} + "governanceEvent" = ${GovernanceEvent} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessItemRequestedFor.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessItemRequestedFor.ps1 new file mode 100644 index 000000000..861d323f4 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessItemRequestedFor.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Identity the access item is requested for. + +.PARAMETER Type +DTO type of identity the access item is requested for. +.PARAMETER Id +ID of identity the access item is requested for. +.PARAMETER Name +Human-readable display name of identity the access item is requested for. +.OUTPUTS + +AccessItemRequestedFor +#> + +function Initialize-V2024AccessItemRequestedFor { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessItemRequestedFor' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessItemRequestedFor + +.DESCRIPTION + +Convert from JSON to AccessItemRequestedFor + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessItemRequestedFor +#> +function ConvertFrom-V2024JsonToAccessItemRequestedFor { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessItemRequestedFor' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessItemRequestedFor + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessItemRequestedForDto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessItemRequestedForDto.ps1 new file mode 100644 index 000000000..6ab2655b9 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessItemRequestedForDto.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Identity the access item is requested for. + +.PARAMETER Type +DTO type of identity the access item is requested for. +.PARAMETER Id +ID of identity the access item is requested for. +.PARAMETER Name +Human-readable display name of identity the access item is requested for. +.OUTPUTS + +AccessItemRequestedForDto +#> + +function Initialize-V2024AccessItemRequestedForDto { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessItemRequestedForDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessItemRequestedForDto + +.DESCRIPTION + +Convert from JSON to AccessItemRequestedForDto + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessItemRequestedForDto +#> +function ConvertFrom-V2024JsonToAccessItemRequestedForDto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessItemRequestedForDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessItemRequestedForDto + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessItemRequester.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessItemRequester.ps1 new file mode 100644 index 000000000..d838af65f --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessItemRequester.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Access item requester's identity. + +.PARAMETER Type +Access item requester's DTO type. +.PARAMETER Id +Access item requester's identity ID. +.PARAMETER Name +Access item owner's human-readable display name. +.OUTPUTS + +AccessItemRequester +#> + +function Initialize-V2024AccessItemRequester { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessItemRequester' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessItemRequester + +.DESCRIPTION + +Convert from JSON to AccessItemRequester + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessItemRequester +#> +function ConvertFrom-V2024JsonToAccessItemRequester { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessItemRequester' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessItemRequester + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessItemRequesterDto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessItemRequesterDto.ps1 new file mode 100644 index 000000000..80c6080de --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessItemRequesterDto.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Access item requester's identity. + +.PARAMETER Type +Access item requester's DTO type. +.PARAMETER Id +Access item requester's identity ID. +.PARAMETER Name +Access item owner's human-readable display name. +.OUTPUTS + +AccessItemRequesterDto +#> + +function Initialize-V2024AccessItemRequesterDto { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessItemRequesterDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessItemRequesterDto + +.DESCRIPTION + +Convert from JSON to AccessItemRequesterDto + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessItemRequesterDto +#> +function ConvertFrom-V2024JsonToAccessItemRequesterDto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessItemRequesterDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessItemRequesterDto + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessItemReviewedBy.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessItemReviewedBy.ps1 new file mode 100644 index 000000000..0cb040ad7 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessItemReviewedBy.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Identity who reviewed the access item request. + +.PARAMETER Type +DTO type of identity who reviewed the access item request. +.PARAMETER Id +ID of identity who reviewed the access item request. +.PARAMETER Name +Human-readable display name of identity who reviewed the access item request. +.OUTPUTS + +AccessItemReviewedBy +#> + +function Initialize-V2024AccessItemReviewedBy { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessItemReviewedBy' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessItemReviewedBy + +.DESCRIPTION + +Convert from JSON to AccessItemReviewedBy + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessItemReviewedBy +#> +function ConvertFrom-V2024JsonToAccessItemReviewedBy { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessItemReviewedBy' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessItemReviewedBy + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessItemRoleResponse.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessItemRoleResponse.ps1 new file mode 100644 index 000000000..fc92a4479 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessItemRoleResponse.ps1 @@ -0,0 +1,182 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER AccessType +the access item type. role in this case +.PARAMETER Id +the access item id +.PARAMETER DisplayName +the role display name +.PARAMETER Description +the description for the role +.PARAMETER SourceName +the associated source name if it exists +.PARAMETER RemoveDate +the date the role is no longer assigned to the specified identity +.PARAMETER Revocable +indicates whether the role is revocable +.OUTPUTS + +AccessItemRoleResponse +#> + +function Initialize-V2024AccessItemRoleResponse { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AccessType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${DisplayName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SourceName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${RemoveDate}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Boolean] + ${Revocable} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessItemRoleResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Revocable) { + throw "invalid value for 'Revocable', 'Revocable' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "accessType" = ${AccessType} + "id" = ${Id} + "displayName" = ${DisplayName} + "description" = ${Description} + "sourceName" = ${SourceName} + "removeDate" = ${RemoveDate} + "revocable" = ${Revocable} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessItemRoleResponse + +.DESCRIPTION + +Convert from JSON to AccessItemRoleResponse + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessItemRoleResponse +#> +function ConvertFrom-V2024JsonToAccessItemRoleResponse { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessItemRoleResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessItemRoleResponse + $AllProperties = ("accessType", "id", "displayName", "description", "sourceName", "removeDate", "revocable") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'revocable' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "revocable"))) { + throw "Error! JSON cannot be serialized due to the required property 'revocable' missing." + } else { + $Revocable = $JsonParameters.PSobject.Properties["revocable"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accessType"))) { #optional property not found + $AccessType = $null + } else { + $AccessType = $JsonParameters.PSobject.Properties["accessType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "displayName"))) { #optional property not found + $DisplayName = $null + } else { + $DisplayName = $JsonParameters.PSobject.Properties["displayName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceName"))) { #optional property not found + $SourceName = $null + } else { + $SourceName = $JsonParameters.PSobject.Properties["sourceName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "removeDate"))) { #optional property not found + $RemoveDate = $null + } else { + $RemoveDate = $JsonParameters.PSobject.Properties["removeDate"].value + } + + $PSO = [PSCustomObject]@{ + "accessType" = ${AccessType} + "id" = ${Id} + "displayName" = ${DisplayName} + "description" = ${Description} + "sourceName" = ${SourceName} + "removeDate" = ${RemoveDate} + "revocable" = ${Revocable} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessProfile.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessProfile.ps1 new file mode 100644 index 000000000..d0904f236 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessProfile.ps1 @@ -0,0 +1,263 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Access Profile + +.PARAMETER Name +Name of the Access Profile +.PARAMETER Description +Information about the Access Profile +.PARAMETER Enabled +Whether the Access Profile is enabled. If the Access Profile is enabled then you must include at least one Entitlement. +.PARAMETER Owner +No description available. +.PARAMETER Source +No description available. +.PARAMETER Entitlements +A list of entitlements associated with the Access Profile. If enabled is false this is allowed to be empty otherwise it needs to contain at least one Entitlement. +.PARAMETER Requestable +Whether the Access Profile is requestable via access request. Currently, making an Access Profile non-requestable is only supported for customers enabled with the new Request Center. Otherwise, attempting to create an Access Profile with a value **false** in this field results in a 400 error. +.PARAMETER AccessRequestConfig +No description available. +.PARAMETER RevocationRequestConfig +No description available. +.PARAMETER Segments +List of IDs of segments, if any, to which this Access Profile is assigned. +.PARAMETER ProvisioningCriteria +No description available. +.OUTPUTS + +AccessProfile +#> + +function Initialize-V2024AccessProfile { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Enabled} = $true, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Owner}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Source}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Entitlements}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Requestable} = $true, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${AccessRequestConfig}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${RevocationRequestConfig}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Segments}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${ProvisioningCriteria} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessProfile' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if (!$Owner) { + throw "invalid value for 'Owner', 'Owner' cannot be null." + } + + if (!$Source) { + throw "invalid value for 'Source', 'Source' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "description" = ${Description} + "enabled" = ${Enabled} + "owner" = ${Owner} + "source" = ${Source} + "entitlements" = ${Entitlements} + "requestable" = ${Requestable} + "accessRequestConfig" = ${AccessRequestConfig} + "revocationRequestConfig" = ${RevocationRequestConfig} + "segments" = ${Segments} + "provisioningCriteria" = ${ProvisioningCriteria} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessProfile + +.DESCRIPTION + +Convert from JSON to AccessProfile + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessProfile +#> +function ConvertFrom-V2024JsonToAccessProfile { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessProfile' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessProfile + $AllProperties = ("id", "name", "description", "created", "modified", "enabled", "owner", "source", "entitlements", "requestable", "accessRequestConfig", "revocationRequestConfig", "segments", "provisioningCriteria") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'name' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "owner"))) { + throw "Error! JSON cannot be serialized due to the required property 'owner' missing." + } else { + $Owner = $JsonParameters.PSobject.Properties["owner"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "source"))) { + throw "Error! JSON cannot be serialized due to the required property 'source' missing." + } else { + $Source = $JsonParameters.PSobject.Properties["source"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "enabled"))) { #optional property not found + $Enabled = $null + } else { + $Enabled = $JsonParameters.PSobject.Properties["enabled"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "entitlements"))) { #optional property not found + $Entitlements = $null + } else { + $Entitlements = $JsonParameters.PSobject.Properties["entitlements"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requestable"))) { #optional property not found + $Requestable = $null + } else { + $Requestable = $JsonParameters.PSobject.Properties["requestable"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accessRequestConfig"))) { #optional property not found + $AccessRequestConfig = $null + } else { + $AccessRequestConfig = $JsonParameters.PSobject.Properties["accessRequestConfig"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "revocationRequestConfig"))) { #optional property not found + $RevocationRequestConfig = $null + } else { + $RevocationRequestConfig = $JsonParameters.PSobject.Properties["revocationRequestConfig"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "segments"))) { #optional property not found + $Segments = $null + } else { + $Segments = $JsonParameters.PSobject.Properties["segments"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "provisioningCriteria"))) { #optional property not found + $ProvisioningCriteria = $null + } else { + $ProvisioningCriteria = $JsonParameters.PSobject.Properties["provisioningCriteria"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "description" = ${Description} + "created" = ${Created} + "modified" = ${Modified} + "enabled" = ${Enabled} + "owner" = ${Owner} + "source" = ${Source} + "entitlements" = ${Entitlements} + "requestable" = ${Requestable} + "accessRequestConfig" = ${AccessRequestConfig} + "revocationRequestConfig" = ${RevocationRequestConfig} + "segments" = ${Segments} + "provisioningCriteria" = ${ProvisioningCriteria} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessProfileApprovalScheme.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessProfileApprovalScheme.ps1 new file mode 100644 index 000000000..8eab6cbc2 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessProfileApprovalScheme.ps1 @@ -0,0 +1,110 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER ApproverType +Describes the individual or group that is responsible for an approval step. Values are as follows. **APP_OWNER**: The owner of the Application **OWNER**: Owner of the associated Access Profile or Role **SOURCE_OWNER**: Owner of the Source associated with an Access Profile **MANAGER**: Manager of the Identity making the request **GOVERNANCE_GROUP**: A Governance Group, the ID of which is specified by the **approverId** field +.PARAMETER ApproverId +Id of the specific approver, used only when approverType is GOVERNANCE_GROUP +.OUTPUTS + +AccessProfileApprovalScheme +#> + +function Initialize-V2024AccessProfileApprovalScheme { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("APP_OWNER", "OWNER", "SOURCE_OWNER", "MANAGER", "GOVERNANCE_GROUP")] + [String] + ${ApproverType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ApproverId} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessProfileApprovalScheme' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "approverType" = ${ApproverType} + "approverId" = ${ApproverId} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessProfileApprovalScheme + +.DESCRIPTION + +Convert from JSON to AccessProfileApprovalScheme + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessProfileApprovalScheme +#> +function ConvertFrom-V2024JsonToAccessProfileApprovalScheme { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessProfileApprovalScheme' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessProfileApprovalScheme + $AllProperties = ("approverType", "approverId") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "approverType"))) { #optional property not found + $ApproverType = $null + } else { + $ApproverType = $JsonParameters.PSobject.Properties["approverType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "approverId"))) { #optional property not found + $ApproverId = $null + } else { + $ApproverId = $JsonParameters.PSobject.Properties["approverId"].value + } + + $PSO = [PSCustomObject]@{ + "approverType" = ${ApproverType} + "approverId" = ${ApproverId} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessProfileBulkDeleteRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessProfileBulkDeleteRequest.ps1 new file mode 100644 index 000000000..b6aa817b8 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessProfileBulkDeleteRequest.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER AccessProfileIds +List of IDs of Access Profiles to be deleted. +.PARAMETER BestEffortOnly +If **true**, silently skip over any of the specified Access Profiles if they cannot be deleted because they are in use. If **false**, no deletions will be attempted if any of the Access Profiles are in use. +.OUTPUTS + +AccessProfileBulkDeleteRequest +#> + +function Initialize-V2024AccessProfileBulkDeleteRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${AccessProfileIds}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${BestEffortOnly} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessProfileBulkDeleteRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "accessProfileIds" = ${AccessProfileIds} + "bestEffortOnly" = ${BestEffortOnly} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessProfileBulkDeleteRequest + +.DESCRIPTION + +Convert from JSON to AccessProfileBulkDeleteRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessProfileBulkDeleteRequest +#> +function ConvertFrom-V2024JsonToAccessProfileBulkDeleteRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessProfileBulkDeleteRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessProfileBulkDeleteRequest + $AllProperties = ("accessProfileIds", "bestEffortOnly") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accessProfileIds"))) { #optional property not found + $AccessProfileIds = $null + } else { + $AccessProfileIds = $JsonParameters.PSobject.Properties["accessProfileIds"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "bestEffortOnly"))) { #optional property not found + $BestEffortOnly = $null + } else { + $BestEffortOnly = $JsonParameters.PSobject.Properties["bestEffortOnly"].value + } + + $PSO = [PSCustomObject]@{ + "accessProfileIds" = ${AccessProfileIds} + "bestEffortOnly" = ${BestEffortOnly} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessProfileBulkDeleteResponse.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessProfileBulkDeleteResponse.ps1 new file mode 100644 index 000000000..a3801b9ab --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessProfileBulkDeleteResponse.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER TaskId +ID of the task which is executing the bulk deletion. This can be passed to the **/task-status** API to track status. +.PARAMETER Pending +List of IDs of Access Profiles which are pending deletion. +.PARAMETER InUse +List of usages of Access Profiles targeted for deletion. +.OUTPUTS + +AccessProfileBulkDeleteResponse +#> + +function Initialize-V2024AccessProfileBulkDeleteResponse { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${TaskId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Pending}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${InUse} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessProfileBulkDeleteResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "taskId" = ${TaskId} + "pending" = ${Pending} + "inUse" = ${InUse} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessProfileBulkDeleteResponse + +.DESCRIPTION + +Convert from JSON to AccessProfileBulkDeleteResponse + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessProfileBulkDeleteResponse +#> +function ConvertFrom-V2024JsonToAccessProfileBulkDeleteResponse { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessProfileBulkDeleteResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessProfileBulkDeleteResponse + $AllProperties = ("taskId", "pending", "inUse") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "taskId"))) { #optional property not found + $TaskId = $null + } else { + $TaskId = $JsonParameters.PSobject.Properties["taskId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "pending"))) { #optional property not found + $Pending = $null + } else { + $Pending = $JsonParameters.PSobject.Properties["pending"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "inUse"))) { #optional property not found + $InUse = $null + } else { + $InUse = $JsonParameters.PSobject.Properties["inUse"].value + } + + $PSO = [PSCustomObject]@{ + "taskId" = ${TaskId} + "pending" = ${Pending} + "inUse" = ${InUse} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessProfileBulkUpdateRequestInner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessProfileBulkUpdateRequestInner.ps1 new file mode 100644 index 000000000..ce636778a --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessProfileBulkUpdateRequestInner.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Access Profile's basic details. + +.PARAMETER Id +Access Profile ID. +.PARAMETER Requestable +Access Profile is requestable or not. +.OUTPUTS + +AccessProfileBulkUpdateRequestInner +#> + +function Initialize-V2024AccessProfileBulkUpdateRequestInner { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Requestable} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessProfileBulkUpdateRequestInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "requestable" = ${Requestable} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessProfileBulkUpdateRequestInner + +.DESCRIPTION + +Convert from JSON to AccessProfileBulkUpdateRequestInner + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessProfileBulkUpdateRequestInner +#> +function ConvertFrom-V2024JsonToAccessProfileBulkUpdateRequestInner { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessProfileBulkUpdateRequestInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessProfileBulkUpdateRequestInner + $AllProperties = ("id", "requestable") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requestable"))) { #optional property not found + $Requestable = $null + } else { + $Requestable = $JsonParameters.PSobject.Properties["requestable"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "requestable" = ${Requestable} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessProfileDocument.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessProfileDocument.ps1 new file mode 100644 index 000000000..d2a9d63bd --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessProfileDocument.ps1 @@ -0,0 +1,295 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +More complete representation of an access profile. + +.PARAMETER Id +Access profile's ID. +.PARAMETER Name +Access profile's name. +.PARAMETER Description +Access item's description. +.PARAMETER Created +ISO-8601 date-time referring to the time when the object was created. +.PARAMETER Modified +ISO-8601 date-time referring to the time when the object was last modified. +.PARAMETER Synced +ISO-8601 date-time referring to the date-time when object was queued to be synced into search database for use in the search API. This date-time changes anytime there is an update to the object, which triggers a synchronization event being sent to the search database. There may be some delay between the `synced` time and the time when the updated data is actually available in the search API. +.PARAMETER Enabled +Indicates whether the access item is currently enabled. +.PARAMETER Requestable +Indicates whether the access item can be requested. +.PARAMETER RequestCommentsRequired +Indicates whether comments are required for requests to access the item. +.PARAMETER Owner +No description available. +.PARAMETER Type +Access profile's document type. This enum represents the currently supported document types. Additional values may be added in the future without notice. +.PARAMETER Source +No description available. +.PARAMETER Entitlements +Entitlements the access profile has access to. +.PARAMETER EntitlementCount +Number of entitlements. +.PARAMETER Tags +Tags that have been applied to the object. +.OUTPUTS + +AccessProfileDocument +#> + +function Initialize-V2024AccessProfileDocument { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Modified}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Synced}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Enabled} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Requestable} = $true, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${RequestCommentsRequired} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Owner}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("accessprofile", "accountactivity", "account", "aggregation", "entitlement", "event", "identity", "role")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Source}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Entitlements}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${EntitlementCount}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Tags} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessProfileDocument' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "description" = ${Description} + "created" = ${Created} + "modified" = ${Modified} + "synced" = ${Synced} + "enabled" = ${Enabled} + "requestable" = ${Requestable} + "requestCommentsRequired" = ${RequestCommentsRequired} + "owner" = ${Owner} + "_type" = ${Type} + "source" = ${Source} + "entitlements" = ${Entitlements} + "entitlementCount" = ${EntitlementCount} + "tags" = ${Tags} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessProfileDocument + +.DESCRIPTION + +Convert from JSON to AccessProfileDocument + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessProfileDocument +#> +function ConvertFrom-V2024JsonToAccessProfileDocument { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessProfileDocument' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessProfileDocument + $AllProperties = ("id", "name", "description", "created", "modified", "synced", "enabled", "requestable", "requestCommentsRequired", "owner", "_type", "source", "entitlements", "entitlementCount", "tags") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'id' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "_type"))) { + throw "Error! JSON cannot be serialized due to the required property '_type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["_type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "synced"))) { #optional property not found + $Synced = $null + } else { + $Synced = $JsonParameters.PSobject.Properties["synced"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "enabled"))) { #optional property not found + $Enabled = $null + } else { + $Enabled = $JsonParameters.PSobject.Properties["enabled"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requestable"))) { #optional property not found + $Requestable = $null + } else { + $Requestable = $JsonParameters.PSobject.Properties["requestable"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requestCommentsRequired"))) { #optional property not found + $RequestCommentsRequired = $null + } else { + $RequestCommentsRequired = $JsonParameters.PSobject.Properties["requestCommentsRequired"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "owner"))) { #optional property not found + $Owner = $null + } else { + $Owner = $JsonParameters.PSobject.Properties["owner"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "source"))) { #optional property not found + $Source = $null + } else { + $Source = $JsonParameters.PSobject.Properties["source"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "entitlements"))) { #optional property not found + $Entitlements = $null + } else { + $Entitlements = $JsonParameters.PSobject.Properties["entitlements"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "entitlementCount"))) { #optional property not found + $EntitlementCount = $null + } else { + $EntitlementCount = $JsonParameters.PSobject.Properties["entitlementCount"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "tags"))) { #optional property not found + $Tags = $null + } else { + $Tags = $JsonParameters.PSobject.Properties["tags"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "description" = ${Description} + "created" = ${Created} + "modified" = ${Modified} + "synced" = ${Synced} + "enabled" = ${Enabled} + "requestable" = ${Requestable} + "requestCommentsRequired" = ${RequestCommentsRequired} + "owner" = ${Owner} + "_type" = ${Type} + "source" = ${Source} + "entitlements" = ${Entitlements} + "entitlementCount" = ${EntitlementCount} + "tags" = ${Tags} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessProfileDocumentAllOfSource.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessProfileDocumentAllOfSource.ps1 new file mode 100644 index 000000000..af58c9114 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessProfileDocumentAllOfSource.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Access profile's source. + +.PARAMETER Id +Source's ID. +.PARAMETER Name +Source's name. +.OUTPUTS + +AccessProfileDocumentAllOfSource +#> + +function Initialize-V2024AccessProfileDocumentAllOfSource { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessProfileDocumentAllOfSource' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessProfileDocumentAllOfSource + +.DESCRIPTION + +Convert from JSON to AccessProfileDocumentAllOfSource + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessProfileDocumentAllOfSource +#> +function ConvertFrom-V2024JsonToAccessProfileDocumentAllOfSource { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessProfileDocumentAllOfSource' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessProfileDocumentAllOfSource + $AllProperties = ("id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessProfileEntitlement.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessProfileEntitlement.ps1 new file mode 100644 index 000000000..0f4db3de1 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessProfileEntitlement.ps1 @@ -0,0 +1,214 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +EntitlementReference + +.PARAMETER Id +The unique ID of the referenced object. +.PARAMETER Name +The human readable name of the referenced object. +.PARAMETER DisplayName +No description available. +.PARAMETER Type +No description available. +.PARAMETER Description +No description available. +.PARAMETER Source +No description available. +.PARAMETER Privileged +No description available. +.PARAMETER Attribute +No description available. +.PARAMETER Value +No description available. +.PARAMETER Standalone +No description available. +.OUTPUTS + +AccessProfileEntitlement +#> + +function Initialize-V2024AccessProfileEntitlement { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${DisplayName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ACCOUNT_CORRELATION_CONFIG", "ACCESS_PROFILE", "ACCESS_REQUEST_APPROVAL", "ACCOUNT", "APPLICATION", "CAMPAIGN", "CAMPAIGN_FILTER", "CERTIFICATION", "CLUSTER", "CONNECTOR_SCHEMA", "ENTITLEMENT", "GOVERNANCE_GROUP", "IDENTITY", "IDENTITY_PROFILE", "IDENTITY_REQUEST", "LIFECYCLE_STATE", "PASSWORD_POLICY", "ROLE", "RULE", "SOD_POLICY", "SOURCE", "TAG", "TAG_CATEGORY", "TASK_RESULT", "REPORT_RESULT", "SOD_VIOLATION", "ACCOUNT_ACTIVITY", "WORKGROUP")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Source}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Privileged}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Attribute}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Value}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Standalone} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessProfileEntitlement' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "displayName" = ${DisplayName} + "type" = ${Type} + "description" = ${Description} + "source" = ${Source} + "privileged" = ${Privileged} + "attribute" = ${Attribute} + "value" = ${Value} + "standalone" = ${Standalone} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessProfileEntitlement + +.DESCRIPTION + +Convert from JSON to AccessProfileEntitlement + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessProfileEntitlement +#> +function ConvertFrom-V2024JsonToAccessProfileEntitlement { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessProfileEntitlement' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessProfileEntitlement + $AllProperties = ("id", "name", "displayName", "type", "description", "source", "privileged", "attribute", "value", "standalone") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "displayName"))) { #optional property not found + $DisplayName = $null + } else { + $DisplayName = $JsonParameters.PSobject.Properties["displayName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "source"))) { #optional property not found + $Source = $null + } else { + $Source = $JsonParameters.PSobject.Properties["source"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "privileged"))) { #optional property not found + $Privileged = $null + } else { + $Privileged = $JsonParameters.PSobject.Properties["privileged"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attribute"))) { #optional property not found + $Attribute = $null + } else { + $Attribute = $JsonParameters.PSobject.Properties["attribute"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "value"))) { #optional property not found + $Value = $null + } else { + $Value = $JsonParameters.PSobject.Properties["value"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "standalone"))) { #optional property not found + $Standalone = $null + } else { + $Standalone = $JsonParameters.PSobject.Properties["standalone"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "displayName" = ${DisplayName} + "type" = ${Type} + "description" = ${Description} + "source" = ${Source} + "privileged" = ${Privileged} + "attribute" = ${Attribute} + "value" = ${Value} + "standalone" = ${Standalone} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessProfileRef.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessProfileRef.ps1 new file mode 100644 index 000000000..34d652a83 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessProfileRef.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +ID of the Access Profile +.PARAMETER Type +Type of requested object. This field must be either left null or set to 'ACCESS_PROFILE' when creating an Access Profile, otherwise a 400 Bad Request error will result. +.PARAMETER Name +Human-readable display name of the Access Profile. This field is ignored on input. +.OUTPUTS + +AccessProfileRef +#> + +function Initialize-V2024AccessProfileRef { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ACCESS_PROFILE")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessProfileRef' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessProfileRef + +.DESCRIPTION + +Convert from JSON to AccessProfileRef + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessProfileRef +#> +function ConvertFrom-V2024JsonToAccessProfileRef { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessProfileRef' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessProfileRef + $AllProperties = ("id", "type", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessProfileRole.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessProfileRole.ps1 new file mode 100644 index 000000000..288e18992 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessProfileRole.ps1 @@ -0,0 +1,188 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Role + +.PARAMETER Id +The unique ID of the referenced object. +.PARAMETER Name +The human readable name of the referenced object. +.PARAMETER DisplayName +No description available. +.PARAMETER Type +No description available. +.PARAMETER Description +No description available. +.PARAMETER Owner +No description available. +.PARAMETER Disabled +No description available. +.PARAMETER Revocable +No description available. +.OUTPUTS + +AccessProfileRole +#> + +function Initialize-V2024AccessProfileRole { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${DisplayName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ACCOUNT_CORRELATION_CONFIG", "ACCESS_PROFILE", "ACCESS_REQUEST_APPROVAL", "ACCOUNT", "APPLICATION", "CAMPAIGN", "CAMPAIGN_FILTER", "CERTIFICATION", "CLUSTER", "CONNECTOR_SCHEMA", "ENTITLEMENT", "GOVERNANCE_GROUP", "IDENTITY", "IDENTITY_PROFILE", "IDENTITY_REQUEST", "LIFECYCLE_STATE", "PASSWORD_POLICY", "ROLE", "RULE", "SOD_POLICY", "SOURCE", "TAG", "TAG_CATEGORY", "TASK_RESULT", "REPORT_RESULT", "SOD_VIOLATION", "ACCOUNT_ACTIVITY", "WORKGROUP")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Owner}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Disabled}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Revocable} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessProfileRole' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "displayName" = ${DisplayName} + "type" = ${Type} + "description" = ${Description} + "owner" = ${Owner} + "disabled" = ${Disabled} + "revocable" = ${Revocable} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessProfileRole + +.DESCRIPTION + +Convert from JSON to AccessProfileRole + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessProfileRole +#> +function ConvertFrom-V2024JsonToAccessProfileRole { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessProfileRole' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessProfileRole + $AllProperties = ("id", "name", "displayName", "type", "description", "owner", "disabled", "revocable") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "displayName"))) { #optional property not found + $DisplayName = $null + } else { + $DisplayName = $JsonParameters.PSobject.Properties["displayName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "owner"))) { #optional property not found + $Owner = $null + } else { + $Owner = $JsonParameters.PSobject.Properties["owner"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "disabled"))) { #optional property not found + $Disabled = $null + } else { + $Disabled = $JsonParameters.PSobject.Properties["disabled"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "revocable"))) { #optional property not found + $Revocable = $null + } else { + $Revocable = $JsonParameters.PSobject.Properties["revocable"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "displayName" = ${DisplayName} + "type" = ${Type} + "description" = ${Description} + "owner" = ${Owner} + "disabled" = ${Disabled} + "revocable" = ${Revocable} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessProfileSourceRef.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessProfileSourceRef.ps1 new file mode 100644 index 000000000..b52a31f0f --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessProfileSourceRef.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +The ID of the Source with with which the Access Profile is associated +.PARAMETER Type +The type of the Source, will always be SOURCE +.PARAMETER Name +The display name of the associated Source +.OUTPUTS + +AccessProfileSourceRef +#> + +function Initialize-V2024AccessProfileSourceRef { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("SOURCE")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessProfileSourceRef' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessProfileSourceRef + +.DESCRIPTION + +Convert from JSON to AccessProfileSourceRef + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessProfileSourceRef +#> +function ConvertFrom-V2024JsonToAccessProfileSourceRef { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessProfileSourceRef' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessProfileSourceRef + $AllProperties = ("id", "type", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessProfileSummary.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessProfileSummary.ps1 new file mode 100644 index 000000000..82cf56db8 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessProfileSummary.ps1 @@ -0,0 +1,188 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +This is a summary representation of an access profile. + +.PARAMETER Id +The unique ID of the referenced object. +.PARAMETER Name +The human readable name of the referenced object. +.PARAMETER DisplayName +No description available. +.PARAMETER Type +No description available. +.PARAMETER Description +No description available. +.PARAMETER Source +No description available. +.PARAMETER Owner +No description available. +.PARAMETER Revocable +No description available. +.OUTPUTS + +AccessProfileSummary +#> + +function Initialize-V2024AccessProfileSummary { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${DisplayName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ACCOUNT_CORRELATION_CONFIG", "ACCESS_PROFILE", "ACCESS_REQUEST_APPROVAL", "ACCOUNT", "APPLICATION", "CAMPAIGN", "CAMPAIGN_FILTER", "CERTIFICATION", "CLUSTER", "CONNECTOR_SCHEMA", "ENTITLEMENT", "GOVERNANCE_GROUP", "IDENTITY", "IDENTITY_PROFILE", "IDENTITY_REQUEST", "LIFECYCLE_STATE", "PASSWORD_POLICY", "ROLE", "RULE", "SOD_POLICY", "SOURCE", "TAG", "TAG_CATEGORY", "TASK_RESULT", "REPORT_RESULT", "SOD_VIOLATION", "ACCOUNT_ACTIVITY", "WORKGROUP")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Source}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Owner}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Revocable} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessProfileSummary' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "displayName" = ${DisplayName} + "type" = ${Type} + "description" = ${Description} + "source" = ${Source} + "owner" = ${Owner} + "revocable" = ${Revocable} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessProfileSummary + +.DESCRIPTION + +Convert from JSON to AccessProfileSummary + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessProfileSummary +#> +function ConvertFrom-V2024JsonToAccessProfileSummary { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessProfileSummary' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessProfileSummary + $AllProperties = ("id", "name", "displayName", "type", "description", "source", "owner", "revocable") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "displayName"))) { #optional property not found + $DisplayName = $null + } else { + $DisplayName = $JsonParameters.PSobject.Properties["displayName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "source"))) { #optional property not found + $Source = $null + } else { + $Source = $JsonParameters.PSobject.Properties["source"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "owner"))) { #optional property not found + $Owner = $null + } else { + $Owner = $JsonParameters.PSobject.Properties["owner"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "revocable"))) { #optional property not found + $Revocable = $null + } else { + $Revocable = $JsonParameters.PSobject.Properties["revocable"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "displayName" = ${DisplayName} + "type" = ${Type} + "description" = ${Description} + "source" = ${Source} + "owner" = ${Owner} + "revocable" = ${Revocable} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessProfileUpdateItem.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessProfileUpdateItem.ps1 new file mode 100644 index 000000000..eebc932c0 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessProfileUpdateItem.ps1 @@ -0,0 +1,151 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +Identifier of Access Profile in bulk update request. +.PARAMETER Requestable +Access Profile requestable or not. +.PARAMETER Status + The HTTP response status code returned for an individual Access Profile that is requested for update during a bulk update operation. > 201 - Access profile is updated successfully. > 404 - Access profile not found. +.PARAMETER Description +Human readable status description and containing additional context information about success or failures etc. +.OUTPUTS + +AccessProfileUpdateItem +#> + +function Initialize-V2024AccessProfileUpdateItem { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Boolean] + ${Requestable}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Status}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessProfileUpdateItem' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Requestable) { + throw "invalid value for 'Requestable', 'Requestable' cannot be null." + } + + if (!$Status) { + throw "invalid value for 'Status', 'Status' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "requestable" = ${Requestable} + "status" = ${Status} + "description" = ${Description} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessProfileUpdateItem + +.DESCRIPTION + +Convert from JSON to AccessProfileUpdateItem + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessProfileUpdateItem +#> +function ConvertFrom-V2024JsonToAccessProfileUpdateItem { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessProfileUpdateItem' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessProfileUpdateItem + $AllProperties = ("id", "requestable", "status", "description") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'id' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requestable"))) { + throw "Error! JSON cannot be serialized due to the required property 'requestable' missing." + } else { + $Requestable = $JsonParameters.PSobject.Properties["requestable"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { + throw "Error! JSON cannot be serialized due to the required property 'status' missing." + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "requestable" = ${Requestable} + "status" = ${Status} + "description" = ${Description} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessProfileUsage.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessProfileUsage.ps1 new file mode 100644 index 000000000..343913802 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessProfileUsage.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER AccessProfileId +ID of the Access Profile that is in use +.PARAMETER UsedBy +List of references to objects which are using the indicated Access Profile +.OUTPUTS + +AccessProfileUsage +#> + +function Initialize-V2024AccessProfileUsage { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AccessProfileId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${UsedBy} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessProfileUsage' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "accessProfileId" = ${AccessProfileId} + "usedBy" = ${UsedBy} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessProfileUsage + +.DESCRIPTION + +Convert from JSON to AccessProfileUsage + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessProfileUsage +#> +function ConvertFrom-V2024JsonToAccessProfileUsage { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessProfileUsage' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessProfileUsage + $AllProperties = ("accessProfileId", "usedBy") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accessProfileId"))) { #optional property not found + $AccessProfileId = $null + } else { + $AccessProfileId = $JsonParameters.PSobject.Properties["accessProfileId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "usedBy"))) { #optional property not found + $UsedBy = $null + } else { + $UsedBy = $JsonParameters.PSobject.Properties["usedBy"].value + } + + $PSO = [PSCustomObject]@{ + "accessProfileId" = ${AccessProfileId} + "usedBy" = ${UsedBy} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessProfileUsageUsedByInner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessProfileUsageUsedByInner.ps1 new file mode 100644 index 000000000..d19123b5f --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessProfileUsageUsedByInner.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Role using the access profile. + +.PARAMETER Type +DTO type of role using the access profile. +.PARAMETER Id +ID of role using the access profile. +.PARAMETER Name +Display name of role using the access profile. +.OUTPUTS + +AccessProfileUsageUsedByInner +#> + +function Initialize-V2024AccessProfileUsageUsedByInner { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ROLE")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessProfileUsageUsedByInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessProfileUsageUsedByInner + +.DESCRIPTION + +Convert from JSON to AccessProfileUsageUsedByInner + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessProfileUsageUsedByInner +#> +function ConvertFrom-V2024JsonToAccessProfileUsageUsedByInner { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessProfileUsageUsedByInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessProfileUsageUsedByInner + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRecommendationMessage.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRecommendationMessage.ps1 new file mode 100644 index 000000000..90e69ebca --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRecommendationMessage.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Interpretation +Information about why the access item was recommended. +.OUTPUTS + +AccessRecommendationMessage +#> + +function Initialize-V2024AccessRecommendationMessage { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Interpretation} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessRecommendationMessage' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "interpretation" = ${Interpretation} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessRecommendationMessage + +.DESCRIPTION + +Convert from JSON to AccessRecommendationMessage + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessRecommendationMessage +#> +function ConvertFrom-V2024JsonToAccessRecommendationMessage { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessRecommendationMessage' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessRecommendationMessage + $AllProperties = ("interpretation") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "interpretation"))) { #optional property not found + $Interpretation = $null + } else { + $Interpretation = $JsonParameters.PSobject.Properties["interpretation"].value + } + + $PSO = [PSCustomObject]@{ + "interpretation" = ${Interpretation} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequest.ps1 new file mode 100644 index 000000000..af1c453be --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequest.ps1 @@ -0,0 +1,156 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER RequestedFor +A list of Identity IDs for whom the Access is requested. If it's a Revoke request, there can only be one Identity ID. +.PARAMETER RequestType +No description available. +.PARAMETER RequestedItems +No description available. +.PARAMETER ClientMetadata +Arbitrary key-value pairs. They will never be processed by the IdentityNow system but will be returned on associated APIs such as /account-activities. +.OUTPUTS + +AccessRequest +#> + +function Initialize-V2024AccessRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${RequestedFor}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("GRANT_ACCESS", "REVOKE_ACCESS", "")] + [PSCustomObject] + ${RequestType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${RequestedItems}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${ClientMetadata} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$RequestedFor) { + throw "invalid value for 'RequestedFor', 'RequestedFor' cannot be null." + } + + if (!$RequestedItems) { + throw "invalid value for 'RequestedItems', 'RequestedItems' cannot be null." + } + + if ($RequestedItems.length -gt 25) { + throw "invalid value for 'RequestedItems', number of items must be less than or equal to 25." + } + + if ($RequestedItems.length -lt 1) { + throw "invalid value for 'RequestedItems', number of items must be greater than or equal to 1." + } + + + $PSO = [PSCustomObject]@{ + "requestedFor" = ${RequestedFor} + "requestType" = ${RequestType} + "requestedItems" = ${RequestedItems} + "clientMetadata" = ${ClientMetadata} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessRequest + +.DESCRIPTION + +Convert from JSON to AccessRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessRequest +#> +function ConvertFrom-V2024JsonToAccessRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessRequest + $AllProperties = ("requestedFor", "requestType", "requestedItems", "clientMetadata") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'requestedFor' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requestedFor"))) { + throw "Error! JSON cannot be serialized due to the required property 'requestedFor' missing." + } else { + $RequestedFor = $JsonParameters.PSobject.Properties["requestedFor"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requestedItems"))) { + throw "Error! JSON cannot be serialized due to the required property 'requestedItems' missing." + } else { + $RequestedItems = $JsonParameters.PSobject.Properties["requestedItems"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requestType"))) { #optional property not found + $RequestType = $null + } else { + $RequestType = $JsonParameters.PSobject.Properties["requestType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "clientMetadata"))) { #optional property not found + $ClientMetadata = $null + } else { + $ClientMetadata = $JsonParameters.PSobject.Properties["clientMetadata"].value + } + + $PSO = [PSCustomObject]@{ + "requestedFor" = ${RequestedFor} + "requestType" = ${RequestType} + "requestedItems" = ${RequestedItems} + "clientMetadata" = ${ClientMetadata} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestConfig.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestConfig.ps1 new file mode 100644 index 000000000..8e3437be7 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestConfig.ps1 @@ -0,0 +1,148 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER ApprovalsMustBeExternal +If this is true, approvals must be processed by an external system. Also, if this is true, it blocks Request Center access requests and returns an error for any user who isn't an org admin. +.PARAMETER AutoApprovalEnabled +If this is true and the requester and reviewer are the same, the request is automatically approved. +.PARAMETER RequestOnBehalfOfConfig +No description available. +.PARAMETER ApprovalReminderAndEscalationConfig +No description available. +.PARAMETER EntitlementRequestConfig +No description available. +.OUTPUTS + +AccessRequestConfig +#> + +function Initialize-V2024AccessRequestConfig { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${ApprovalsMustBeExternal} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${AutoApprovalEnabled} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${RequestOnBehalfOfConfig}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${ApprovalReminderAndEscalationConfig}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${EntitlementRequestConfig} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessRequestConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "approvalsMustBeExternal" = ${ApprovalsMustBeExternal} + "autoApprovalEnabled" = ${AutoApprovalEnabled} + "requestOnBehalfOfConfig" = ${RequestOnBehalfOfConfig} + "approvalReminderAndEscalationConfig" = ${ApprovalReminderAndEscalationConfig} + "entitlementRequestConfig" = ${EntitlementRequestConfig} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessRequestConfig + +.DESCRIPTION + +Convert from JSON to AccessRequestConfig + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessRequestConfig +#> +function ConvertFrom-V2024JsonToAccessRequestConfig { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessRequestConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessRequestConfig + $AllProperties = ("approvalsMustBeExternal", "autoApprovalEnabled", "requestOnBehalfOfConfig", "approvalReminderAndEscalationConfig", "entitlementRequestConfig") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "approvalsMustBeExternal"))) { #optional property not found + $ApprovalsMustBeExternal = $null + } else { + $ApprovalsMustBeExternal = $JsonParameters.PSobject.Properties["approvalsMustBeExternal"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "autoApprovalEnabled"))) { #optional property not found + $AutoApprovalEnabled = $null + } else { + $AutoApprovalEnabled = $JsonParameters.PSobject.Properties["autoApprovalEnabled"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requestOnBehalfOfConfig"))) { #optional property not found + $RequestOnBehalfOfConfig = $null + } else { + $RequestOnBehalfOfConfig = $JsonParameters.PSobject.Properties["requestOnBehalfOfConfig"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "approvalReminderAndEscalationConfig"))) { #optional property not found + $ApprovalReminderAndEscalationConfig = $null + } else { + $ApprovalReminderAndEscalationConfig = $JsonParameters.PSobject.Properties["approvalReminderAndEscalationConfig"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "entitlementRequestConfig"))) { #optional property not found + $EntitlementRequestConfig = $null + } else { + $EntitlementRequestConfig = $JsonParameters.PSobject.Properties["entitlementRequestConfig"].value + } + + $PSO = [PSCustomObject]@{ + "approvalsMustBeExternal" = ${ApprovalsMustBeExternal} + "autoApprovalEnabled" = ${AutoApprovalEnabled} + "requestOnBehalfOfConfig" = ${RequestOnBehalfOfConfig} + "approvalReminderAndEscalationConfig" = ${ApprovalReminderAndEscalationConfig} + "entitlementRequestConfig" = ${EntitlementRequestConfig} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestContext.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestContext.ps1 new file mode 100644 index 000000000..dc3922b4c --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestContext.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER ContextAttributes +No description available. +.OUTPUTS + +AccessRequestContext +#> + +function Initialize-V2024AccessRequestContext { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${ContextAttributes} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessRequestContext' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "contextAttributes" = ${ContextAttributes} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessRequestContext + +.DESCRIPTION + +Convert from JSON to AccessRequestContext + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessRequestContext +#> +function ConvertFrom-V2024JsonToAccessRequestContext { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessRequestContext' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessRequestContext + $AllProperties = ("contextAttributes") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "contextAttributes"))) { #optional property not found + $ContextAttributes = $null + } else { + $ContextAttributes = $JsonParameters.PSobject.Properties["contextAttributes"].value + } + + $PSO = [PSCustomObject]@{ + "contextAttributes" = ${ContextAttributes} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestDynamicApprover.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestDynamicApprover.ps1 new file mode 100644 index 000000000..c229941c5 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestDynamicApprover.ps1 @@ -0,0 +1,171 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER AccessRequestId +The unique ID of the access request object. Can be used with the [access request status endpoint](https://developer.sailpoint.com/idn/api/beta/list-access-request-status) to get the status of the request. +.PARAMETER RequestedFor +Identities access was requested for. +.PARAMETER RequestedItems +The access items that are being requested. +.PARAMETER RequestedBy +No description available. +.OUTPUTS + +AccessRequestDynamicApprover +#> + +function Initialize-V2024AccessRequestDynamicApprover { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AccessRequestId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${RequestedFor}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${RequestedItems}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${RequestedBy} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessRequestDynamicApprover' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$AccessRequestId) { + throw "invalid value for 'AccessRequestId', 'AccessRequestId' cannot be null." + } + + if (!$RequestedFor) { + throw "invalid value for 'RequestedFor', 'RequestedFor' cannot be null." + } + + if ($RequestedFor.length -gt 10) { + throw "invalid value for 'RequestedFor', number of items must be less than or equal to 10." + } + + if ($RequestedFor.length -lt 1) { + throw "invalid value for 'RequestedFor', number of items must be greater than or equal to 1." + } + + if (!$RequestedItems) { + throw "invalid value for 'RequestedItems', 'RequestedItems' cannot be null." + } + + if ($RequestedItems.length -gt 25) { + throw "invalid value for 'RequestedItems', number of items must be less than or equal to 25." + } + + if ($RequestedItems.length -lt 1) { + throw "invalid value for 'RequestedItems', number of items must be greater than or equal to 1." + } + + if (!$RequestedBy) { + throw "invalid value for 'RequestedBy', 'RequestedBy' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "accessRequestId" = ${AccessRequestId} + "requestedFor" = ${RequestedFor} + "requestedItems" = ${RequestedItems} + "requestedBy" = ${RequestedBy} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessRequestDynamicApprover + +.DESCRIPTION + +Convert from JSON to AccessRequestDynamicApprover + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessRequestDynamicApprover +#> +function ConvertFrom-V2024JsonToAccessRequestDynamicApprover { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessRequestDynamicApprover' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessRequestDynamicApprover + $AllProperties = ("accessRequestId", "requestedFor", "requestedItems", "requestedBy") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'accessRequestId' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accessRequestId"))) { + throw "Error! JSON cannot be serialized due to the required property 'accessRequestId' missing." + } else { + $AccessRequestId = $JsonParameters.PSobject.Properties["accessRequestId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requestedFor"))) { + throw "Error! JSON cannot be serialized due to the required property 'requestedFor' missing." + } else { + $RequestedFor = $JsonParameters.PSobject.Properties["requestedFor"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requestedItems"))) { + throw "Error! JSON cannot be serialized due to the required property 'requestedItems' missing." + } else { + $RequestedItems = $JsonParameters.PSobject.Properties["requestedItems"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requestedBy"))) { + throw "Error! JSON cannot be serialized due to the required property 'requestedBy' missing." + } else { + $RequestedBy = $JsonParameters.PSobject.Properties["requestedBy"].value + } + + $PSO = [PSCustomObject]@{ + "accessRequestId" = ${AccessRequestId} + "requestedFor" = ${RequestedFor} + "requestedItems" = ${RequestedItems} + "requestedBy" = ${RequestedBy} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestDynamicApprover1.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestDynamicApprover1.ps1 new file mode 100644 index 000000000..0892a47bb --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestDynamicApprover1.ps1 @@ -0,0 +1,139 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +The unique ID of the identity to add to the approver list for the access request. +.PARAMETER Name +The name of the identity to add to the approver list for the access request. +.PARAMETER Type +The type of object being referenced. +.OUTPUTS + +AccessRequestDynamicApprover1 +#> + +function Initialize-V2024AccessRequestDynamicApprover1 { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY", "GOVERNANCE_GROUP")] + [PSCustomObject] + ${Type} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessRequestDynamicApprover1' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "type" = ${Type} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessRequestDynamicApprover1 + +.DESCRIPTION + +Convert from JSON to AccessRequestDynamicApprover1 + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessRequestDynamicApprover1 +#> +function ConvertFrom-V2024JsonToAccessRequestDynamicApprover1 { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessRequestDynamicApprover1' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessRequestDynamicApprover1 + $AllProperties = ("id", "name", "type") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'id' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "type" = ${Type} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestDynamicApproverRequestedItemsInner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestDynamicApproverRequestedItemsInner.ps1 new file mode 100644 index 000000000..662a8a6a0 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestDynamicApproverRequestedItemsInner.ps1 @@ -0,0 +1,183 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +The unique ID of the access item. +.PARAMETER Name +Human friendly name of the access item. +.PARAMETER Description +Extended description of the access item. +.PARAMETER Type +The type of access item being requested. +.PARAMETER Operation +Grant or revoke the access item +.PARAMETER Comment +A comment from the requestor on why the access is needed. +.OUTPUTS + +AccessRequestDynamicApproverRequestedItemsInner +#> + +function Initialize-V2024AccessRequestDynamicApproverRequestedItemsInner { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ACCESS_PROFILE", "ROLE", "ENTITLEMENT")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("Add", "Remove")] + [PSCustomObject] + ${Operation}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Comment} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessRequestDynamicApproverRequestedItemsInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Operation) { + throw "invalid value for 'Operation', 'Operation' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "description" = ${Description} + "type" = ${Type} + "operation" = ${Operation} + "comment" = ${Comment} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessRequestDynamicApproverRequestedItemsInner + +.DESCRIPTION + +Convert from JSON to AccessRequestDynamicApproverRequestedItemsInner + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessRequestDynamicApproverRequestedItemsInner +#> +function ConvertFrom-V2024JsonToAccessRequestDynamicApproverRequestedItemsInner { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessRequestDynamicApproverRequestedItemsInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessRequestDynamicApproverRequestedItemsInner + $AllProperties = ("id", "name", "description", "type", "operation", "comment") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'id' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "operation"))) { + throw "Error! JSON cannot be serialized due to the required property 'operation' missing." + } else { + $Operation = $JsonParameters.PSobject.Properties["operation"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "comment"))) { #optional property not found + $Comment = $null + } else { + $Comment = $JsonParameters.PSobject.Properties["comment"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "description" = ${Description} + "type" = ${Type} + "operation" = ${Operation} + "comment" = ${Comment} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestItem.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestItem.ps1 new file mode 100644 index 000000000..0e63aa492 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestItem.ps1 @@ -0,0 +1,161 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Type +The type of the item being requested. +.PARAMETER Id +ID of Role, Access Profile or Entitlement being requested. +.PARAMETER Comment +Comment provided by requester. * Comment is required when the request is of type Revoke Access. +.PARAMETER ClientMetadata +Arbitrary key-value pairs. They will never be processed by the IdentityNow system but will be returned on associated APIs such as /account-activities and /access-request-status. +.PARAMETER RemoveDate +The date the role or access profile or entitlement is no longer assigned to the specified identity. Also known as the expiration date. * Specify a date in the future. * The current SLA for the deprovisioning is 24 hours. * This date can be modified to either extend or decrease the duration of access item assignments for the specified identity. You can change the expiration date for requests for yourself or direct reports, but you cannot remove an expiration date on an already approved item. If the access request has not been approved, you can cancel it and submit a new one without the expiration. If it has already been approved, then you have to revoke the access and then re-request without the expiration. +.OUTPUTS + +AccessRequestItem +#> + +function Initialize-V2024AccessRequestItem { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ACCESS_PROFILE", "ROLE", "ENTITLEMENT")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Comment}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${ClientMetadata}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${RemoveDate} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessRequestItem' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "comment" = ${Comment} + "clientMetadata" = ${ClientMetadata} + "removeDate" = ${RemoveDate} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessRequestItem + +.DESCRIPTION + +Convert from JSON to AccessRequestItem + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessRequestItem +#> +function ConvertFrom-V2024JsonToAccessRequestItem { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessRequestItem' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessRequestItem + $AllProperties = ("type", "id", "comment", "clientMetadata", "removeDate") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'type' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "comment"))) { #optional property not found + $Comment = $null + } else { + $Comment = $JsonParameters.PSobject.Properties["comment"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "clientMetadata"))) { #optional property not found + $ClientMetadata = $null + } else { + $ClientMetadata = $JsonParameters.PSobject.Properties["clientMetadata"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "removeDate"))) { #optional property not found + $RemoveDate = $null + } else { + $RemoveDate = $JsonParameters.PSobject.Properties["removeDate"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "comment" = ${Comment} + "clientMetadata" = ${ClientMetadata} + "removeDate" = ${RemoveDate} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestItemResponse.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestItemResponse.ps1 new file mode 100644 index 000000000..455514a57 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestItemResponse.ps1 @@ -0,0 +1,188 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Operation +the access request item operation +.PARAMETER AccessItemType +the access item type +.PARAMETER Name +the name of access request item +.PARAMETER Decision +the final decision for the access request +.PARAMETER Description +the description of access request item +.PARAMETER SourceId +the source id +.PARAMETER SourceName +the source Name +.PARAMETER ApprovalInfos +No description available. +.OUTPUTS + +AccessRequestItemResponse +#> + +function Initialize-V2024AccessRequestItemResponse { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Operation}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AccessItemType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("APPROVED", "REJECTED")] + [String] + ${Decision}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SourceId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SourceName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${ApprovalInfos} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessRequestItemResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "operation" = ${Operation} + "accessItemType" = ${AccessItemType} + "name" = ${Name} + "decision" = ${Decision} + "description" = ${Description} + "sourceId" = ${SourceId} + "sourceName" = ${SourceName} + "approvalInfos" = ${ApprovalInfos} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessRequestItemResponse + +.DESCRIPTION + +Convert from JSON to AccessRequestItemResponse + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessRequestItemResponse +#> +function ConvertFrom-V2024JsonToAccessRequestItemResponse { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessRequestItemResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessRequestItemResponse + $AllProperties = ("operation", "accessItemType", "name", "decision", "description", "sourceId", "sourceName", "approvalInfos") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "operation"))) { #optional property not found + $Operation = $null + } else { + $Operation = $JsonParameters.PSobject.Properties["operation"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accessItemType"))) { #optional property not found + $AccessItemType = $null + } else { + $AccessItemType = $JsonParameters.PSobject.Properties["accessItemType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "decision"))) { #optional property not found + $Decision = $null + } else { + $Decision = $JsonParameters.PSobject.Properties["decision"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceId"))) { #optional property not found + $SourceId = $null + } else { + $SourceId = $JsonParameters.PSobject.Properties["sourceId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceName"))) { #optional property not found + $SourceName = $null + } else { + $SourceName = $JsonParameters.PSobject.Properties["sourceName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "approvalInfos"))) { #optional property not found + $ApprovalInfos = $null + } else { + $ApprovalInfos = $JsonParameters.PSobject.Properties["approvalInfos"].value + } + + $PSO = [PSCustomObject]@{ + "operation" = ${Operation} + "accessItemType" = ${AccessItemType} + "name" = ${Name} + "decision" = ${Decision} + "description" = ${Description} + "sourceId" = ${SourceId} + "sourceName" = ${SourceName} + "approvalInfos" = ${ApprovalInfos} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestPhases.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestPhases.ps1 new file mode 100644 index 000000000..874d7661d --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestPhases.ps1 @@ -0,0 +1,163 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Provides additional details about this access request phase. + +.PARAMETER Started +The time that this phase started. +.PARAMETER Finished +The time that this phase finished. +.PARAMETER Name +The name of this phase. +.PARAMETER State +The state of this phase. +.PARAMETER Result +The state of this phase. +.PARAMETER PhaseReference +A reference to another object on the RequestedItemStatus that contains more details about the phase. Note that for the Provisioning phase, this will be empty if there are no manual work items. +.OUTPUTS + +AccessRequestPhases +#> + +function Initialize-V2024AccessRequestPhases { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Started}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Finished}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("PENDING", "EXECUTING", "COMPLETED", "CANCELLED", "NOT_EXECUTED")] + [String] + ${State}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("SUCCESSFUL", "FAILED", "")] + [String] + ${Result}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${PhaseReference} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessRequestPhases' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "started" = ${Started} + "finished" = ${Finished} + "name" = ${Name} + "state" = ${State} + "result" = ${Result} + "phaseReference" = ${PhaseReference} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessRequestPhases + +.DESCRIPTION + +Convert from JSON to AccessRequestPhases + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessRequestPhases +#> +function ConvertFrom-V2024JsonToAccessRequestPhases { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessRequestPhases' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessRequestPhases + $AllProperties = ("started", "finished", "name", "state", "result", "phaseReference") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "started"))) { #optional property not found + $Started = $null + } else { + $Started = $JsonParameters.PSobject.Properties["started"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "finished"))) { #optional property not found + $Finished = $null + } else { + $Finished = $JsonParameters.PSobject.Properties["finished"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "state"))) { #optional property not found + $State = $null + } else { + $State = $JsonParameters.PSobject.Properties["state"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "result"))) { #optional property not found + $Result = $null + } else { + $Result = $JsonParameters.PSobject.Properties["result"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "phaseReference"))) { #optional property not found + $PhaseReference = $null + } else { + $PhaseReference = $JsonParameters.PSobject.Properties["phaseReference"].value + } + + $PSO = [PSCustomObject]@{ + "started" = ${Started} + "finished" = ${Finished} + "name" = ${Name} + "state" = ${State} + "result" = ${Result} + "phaseReference" = ${PhaseReference} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestPostApproval.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestPostApproval.ps1 new file mode 100644 index 000000000..a74662526 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestPostApproval.ps1 @@ -0,0 +1,163 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER AccessRequestId +The unique ID of the access request. +.PARAMETER RequestedFor +Identities access was requested for. +.PARAMETER RequestedItemsStatus +Details on the outcome of each access item. +.PARAMETER RequestedBy +No description available. +.OUTPUTS + +AccessRequestPostApproval +#> + +function Initialize-V2024AccessRequestPostApproval { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AccessRequestId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${RequestedFor}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${RequestedItemsStatus}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${RequestedBy} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessRequestPostApproval' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$AccessRequestId) { + throw "invalid value for 'AccessRequestId', 'AccessRequestId' cannot be null." + } + + if (!$RequestedFor) { + throw "invalid value for 'RequestedFor', 'RequestedFor' cannot be null." + } + + if ($RequestedFor.length -gt 10) { + throw "invalid value for 'RequestedFor', number of items must be less than or equal to 10." + } + + if ($RequestedFor.length -lt 1) { + throw "invalid value for 'RequestedFor', number of items must be greater than or equal to 1." + } + + if (!$RequestedItemsStatus) { + throw "invalid value for 'RequestedItemsStatus', 'RequestedItemsStatus' cannot be null." + } + + if (!$RequestedBy) { + throw "invalid value for 'RequestedBy', 'RequestedBy' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "accessRequestId" = ${AccessRequestId} + "requestedFor" = ${RequestedFor} + "requestedItemsStatus" = ${RequestedItemsStatus} + "requestedBy" = ${RequestedBy} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessRequestPostApproval + +.DESCRIPTION + +Convert from JSON to AccessRequestPostApproval + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessRequestPostApproval +#> +function ConvertFrom-V2024JsonToAccessRequestPostApproval { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessRequestPostApproval' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessRequestPostApproval + $AllProperties = ("accessRequestId", "requestedFor", "requestedItemsStatus", "requestedBy") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'accessRequestId' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accessRequestId"))) { + throw "Error! JSON cannot be serialized due to the required property 'accessRequestId' missing." + } else { + $AccessRequestId = $JsonParameters.PSobject.Properties["accessRequestId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requestedFor"))) { + throw "Error! JSON cannot be serialized due to the required property 'requestedFor' missing." + } else { + $RequestedFor = $JsonParameters.PSobject.Properties["requestedFor"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requestedItemsStatus"))) { + throw "Error! JSON cannot be serialized due to the required property 'requestedItemsStatus' missing." + } else { + $RequestedItemsStatus = $JsonParameters.PSobject.Properties["requestedItemsStatus"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requestedBy"))) { + throw "Error! JSON cannot be serialized due to the required property 'requestedBy' missing." + } else { + $RequestedBy = $JsonParameters.PSobject.Properties["requestedBy"].value + } + + $PSO = [PSCustomObject]@{ + "accessRequestId" = ${AccessRequestId} + "requestedFor" = ${RequestedFor} + "requestedItemsStatus" = ${RequestedItemsStatus} + "requestedBy" = ${RequestedBy} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestPostApprovalRequestedItemsStatusInner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestPostApprovalRequestedItemsStatusInner.ps1 new file mode 100644 index 000000000..22d38b068 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestPostApprovalRequestedItemsStatusInner.ps1 @@ -0,0 +1,213 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +The unique ID of the access item being requested. +.PARAMETER Name +The human friendly name of the access item. +.PARAMETER Description +Detailed description of the access item. +.PARAMETER Type +The type of access item. +.PARAMETER Operation +The action to perform on the access item. +.PARAMETER Comment +A comment from the identity requesting the access. +.PARAMETER ClientMetadata +Additional customer defined metadata about the access item. +.PARAMETER ApprovalInfo +A list of one or more approvers for the access request. +.OUTPUTS + +AccessRequestPostApprovalRequestedItemsStatusInner +#> + +function Initialize-V2024AccessRequestPostApprovalRequestedItemsStatusInner { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ACCESS_PROFILE", "ROLE", "ENTITLEMENT")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("Add", "Remove")] + [PSCustomObject] + ${Operation}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Comment}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${ClientMetadata}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${ApprovalInfo} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessRequestPostApprovalRequestedItemsStatusInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Operation) { + throw "invalid value for 'Operation', 'Operation' cannot be null." + } + + if (!$ApprovalInfo) { + throw "invalid value for 'ApprovalInfo', 'ApprovalInfo' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "description" = ${Description} + "type" = ${Type} + "operation" = ${Operation} + "comment" = ${Comment} + "clientMetadata" = ${ClientMetadata} + "approvalInfo" = ${ApprovalInfo} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessRequestPostApprovalRequestedItemsStatusInner + +.DESCRIPTION + +Convert from JSON to AccessRequestPostApprovalRequestedItemsStatusInner + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessRequestPostApprovalRequestedItemsStatusInner +#> +function ConvertFrom-V2024JsonToAccessRequestPostApprovalRequestedItemsStatusInner { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessRequestPostApprovalRequestedItemsStatusInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessRequestPostApprovalRequestedItemsStatusInner + $AllProperties = ("id", "name", "description", "type", "operation", "comment", "clientMetadata", "approvalInfo") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'id' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "operation"))) { + throw "Error! JSON cannot be serialized due to the required property 'operation' missing." + } else { + $Operation = $JsonParameters.PSobject.Properties["operation"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "approvalInfo"))) { + throw "Error! JSON cannot be serialized due to the required property 'approvalInfo' missing." + } else { + $ApprovalInfo = $JsonParameters.PSobject.Properties["approvalInfo"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "comment"))) { #optional property not found + $Comment = $null + } else { + $Comment = $JsonParameters.PSobject.Properties["comment"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "clientMetadata"))) { #optional property not found + $ClientMetadata = $null + } else { + $ClientMetadata = $JsonParameters.PSobject.Properties["clientMetadata"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "description" = ${Description} + "type" = ${Type} + "operation" = ${Operation} + "comment" = ${Comment} + "clientMetadata" = ${ClientMetadata} + "approvalInfo" = ${ApprovalInfo} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInner.ps1 new file mode 100644 index 000000000..e4bdec490 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInner.ps1 @@ -0,0 +1,152 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER ApprovalComment +A comment left by the approver. +.PARAMETER ApprovalDecision +The final decision of the approver. +.PARAMETER ApproverName +The name of the approver +.PARAMETER Approver +No description available. +.OUTPUTS + +AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInner +#> + +function Initialize-V2024AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInner { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ApprovalComment}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("APPROVED", "DENIED")] + [PSCustomObject] + ${ApprovalDecision}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ApproverName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Approver} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$ApprovalDecision) { + throw "invalid value for 'ApprovalDecision', 'ApprovalDecision' cannot be null." + } + + if (!$ApproverName) { + throw "invalid value for 'ApproverName', 'ApproverName' cannot be null." + } + + if (!$Approver) { + throw "invalid value for 'Approver', 'Approver' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "approvalComment" = ${ApprovalComment} + "approvalDecision" = ${ApprovalDecision} + "approverName" = ${ApproverName} + "approver" = ${Approver} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInner + +.DESCRIPTION + +Convert from JSON to AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInner + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInner +#> +function ConvertFrom-V2024JsonToAccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInner { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInner + $AllProperties = ("approvalComment", "approvalDecision", "approverName", "approver") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'approvalDecision' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "approvalDecision"))) { + throw "Error! JSON cannot be serialized due to the required property 'approvalDecision' missing." + } else { + $ApprovalDecision = $JsonParameters.PSobject.Properties["approvalDecision"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "approverName"))) { + throw "Error! JSON cannot be serialized due to the required property 'approverName' missing." + } else { + $ApproverName = $JsonParameters.PSobject.Properties["approverName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "approver"))) { + throw "Error! JSON cannot be serialized due to the required property 'approver' missing." + } else { + $Approver = $JsonParameters.PSobject.Properties["approver"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "approvalComment"))) { #optional property not found + $ApprovalComment = $null + } else { + $ApprovalComment = $JsonParameters.PSobject.Properties["approvalComment"].value + } + + $PSO = [PSCustomObject]@{ + "approvalComment" = ${ApprovalComment} + "approvalDecision" = ${ApprovalDecision} + "approverName" = ${ApproverName} + "approver" = ${Approver} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInnerApprover.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInnerApprover.ps1 new file mode 100644 index 000000000..5c90cc7ac --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInnerApprover.ps1 @@ -0,0 +1,139 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +The identity of the approver. + +.PARAMETER Type +The type of object that is referenced +.PARAMETER Id +ID of identity who approved the access item request. +.PARAMETER Name +Human-readable display name of identity who approved the access item request. +.OUTPUTS + +AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInnerApprover +#> + +function Initialize-V2024AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInnerApprover { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInnerApprover' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInnerApprover + +.DESCRIPTION + +Convert from JSON to AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInnerApprover + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInnerApprover +#> +function ConvertFrom-V2024JsonToAccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInnerApprover { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInnerApprover' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInnerApprover + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'type' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestPreApproval.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestPreApproval.ps1 new file mode 100644 index 000000000..f7b04500c --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestPreApproval.ps1 @@ -0,0 +1,171 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER AccessRequestId +The unique ID of the access request. +.PARAMETER RequestedFor +Identities access was requested for. +.PARAMETER RequestedItems +Details of the access items being requested. +.PARAMETER RequestedBy +No description available. +.OUTPUTS + +AccessRequestPreApproval +#> + +function Initialize-V2024AccessRequestPreApproval { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AccessRequestId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${RequestedFor}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${RequestedItems}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${RequestedBy} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessRequestPreApproval' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$AccessRequestId) { + throw "invalid value for 'AccessRequestId', 'AccessRequestId' cannot be null." + } + + if (!$RequestedFor) { + throw "invalid value for 'RequestedFor', 'RequestedFor' cannot be null." + } + + if ($RequestedFor.length -gt 10) { + throw "invalid value for 'RequestedFor', number of items must be less than or equal to 10." + } + + if ($RequestedFor.length -lt 1) { + throw "invalid value for 'RequestedFor', number of items must be greater than or equal to 1." + } + + if (!$RequestedItems) { + throw "invalid value for 'RequestedItems', 'RequestedItems' cannot be null." + } + + if ($RequestedItems.length -gt 25) { + throw "invalid value for 'RequestedItems', number of items must be less than or equal to 25." + } + + if ($RequestedItems.length -lt 1) { + throw "invalid value for 'RequestedItems', number of items must be greater than or equal to 1." + } + + if (!$RequestedBy) { + throw "invalid value for 'RequestedBy', 'RequestedBy' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "accessRequestId" = ${AccessRequestId} + "requestedFor" = ${RequestedFor} + "requestedItems" = ${RequestedItems} + "requestedBy" = ${RequestedBy} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessRequestPreApproval + +.DESCRIPTION + +Convert from JSON to AccessRequestPreApproval + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessRequestPreApproval +#> +function ConvertFrom-V2024JsonToAccessRequestPreApproval { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessRequestPreApproval' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessRequestPreApproval + $AllProperties = ("accessRequestId", "requestedFor", "requestedItems", "requestedBy") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'accessRequestId' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accessRequestId"))) { + throw "Error! JSON cannot be serialized due to the required property 'accessRequestId' missing." + } else { + $AccessRequestId = $JsonParameters.PSobject.Properties["accessRequestId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requestedFor"))) { + throw "Error! JSON cannot be serialized due to the required property 'requestedFor' missing." + } else { + $RequestedFor = $JsonParameters.PSobject.Properties["requestedFor"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requestedItems"))) { + throw "Error! JSON cannot be serialized due to the required property 'requestedItems' missing." + } else { + $RequestedItems = $JsonParameters.PSobject.Properties["requestedItems"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requestedBy"))) { + throw "Error! JSON cannot be serialized due to the required property 'requestedBy' missing." + } else { + $RequestedBy = $JsonParameters.PSobject.Properties["requestedBy"].value + } + + $PSO = [PSCustomObject]@{ + "accessRequestId" = ${AccessRequestId} + "requestedFor" = ${RequestedFor} + "requestedItems" = ${RequestedItems} + "requestedBy" = ${RequestedBy} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestPreApproval1.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestPreApproval1.ps1 new file mode 100644 index 000000000..b13b0d767 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestPreApproval1.ps1 @@ -0,0 +1,138 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Approved +Whether or not to approve the access request. +.PARAMETER Comment +A comment about the decision to approve or deny the request. +.PARAMETER Approver +The name of the entity that approved or denied the request. +.OUTPUTS + +AccessRequestPreApproval1 +#> + +function Initialize-V2024AccessRequestPreApproval1 { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Boolean] + ${Approved}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Comment}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Approver} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessRequestPreApproval1' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Approved) { + throw "invalid value for 'Approved', 'Approved' cannot be null." + } + + if (!$Comment) { + throw "invalid value for 'Comment', 'Comment' cannot be null." + } + + if (!$Approver) { + throw "invalid value for 'Approver', 'Approver' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "approved" = ${Approved} + "comment" = ${Comment} + "approver" = ${Approver} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessRequestPreApproval1 + +.DESCRIPTION + +Convert from JSON to AccessRequestPreApproval1 + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessRequestPreApproval1 +#> +function ConvertFrom-V2024JsonToAccessRequestPreApproval1 { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessRequestPreApproval1' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessRequestPreApproval1 + $AllProperties = ("approved", "comment", "approver") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'approved' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "approved"))) { + throw "Error! JSON cannot be serialized due to the required property 'approved' missing." + } else { + $Approved = $JsonParameters.PSobject.Properties["approved"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "comment"))) { + throw "Error! JSON cannot be serialized due to the required property 'comment' missing." + } else { + $Comment = $JsonParameters.PSobject.Properties["comment"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "approver"))) { + throw "Error! JSON cannot be serialized due to the required property 'approver' missing." + } else { + $Approver = $JsonParameters.PSobject.Properties["approver"].value + } + + $PSO = [PSCustomObject]@{ + "approved" = ${Approved} + "comment" = ${Comment} + "approver" = ${Approver} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestPreApprovalRequestedItemsInner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestPreApprovalRequestedItemsInner.ps1 new file mode 100644 index 000000000..55e0a1745 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestPreApprovalRequestedItemsInner.ps1 @@ -0,0 +1,183 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +The unique ID of the access item being requested. +.PARAMETER Name +The human friendly name of the access item. +.PARAMETER Description +Detailed description of the access item. +.PARAMETER Type +The type of access item. +.PARAMETER Operation +The action to perform on the access item. +.PARAMETER Comment +A comment from the identity requesting the access. +.OUTPUTS + +AccessRequestPreApprovalRequestedItemsInner +#> + +function Initialize-V2024AccessRequestPreApprovalRequestedItemsInner { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ACCESS_PROFILE", "ROLE", "ENTITLEMENT")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("Add", "Remove")] + [PSCustomObject] + ${Operation}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Comment} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessRequestPreApprovalRequestedItemsInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Operation) { + throw "invalid value for 'Operation', 'Operation' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "description" = ${Description} + "type" = ${Type} + "operation" = ${Operation} + "comment" = ${Comment} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessRequestPreApprovalRequestedItemsInner + +.DESCRIPTION + +Convert from JSON to AccessRequestPreApprovalRequestedItemsInner + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessRequestPreApprovalRequestedItemsInner +#> +function ConvertFrom-V2024JsonToAccessRequestPreApprovalRequestedItemsInner { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessRequestPreApprovalRequestedItemsInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessRequestPreApprovalRequestedItemsInner + $AllProperties = ("id", "name", "description", "type", "operation", "comment") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'id' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "operation"))) { + throw "Error! JSON cannot be serialized due to the required property 'operation' missing." + } else { + $Operation = $JsonParameters.PSobject.Properties["operation"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "comment"))) { #optional property not found + $Comment = $null + } else { + $Comment = $JsonParameters.PSobject.Properties["comment"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "description" = ${Description} + "type" = ${Type} + "operation" = ${Operation} + "comment" = ${Comment} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestRecommendationActionItemDto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestRecommendationActionItemDto.ps1 new file mode 100644 index 000000000..6ca7e41a9 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestRecommendationActionItemDto.ps1 @@ -0,0 +1,121 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER IdentityId +The identity ID taking the action. +.PARAMETER Access +No description available. +.OUTPUTS + +AccessRequestRecommendationActionItemDto +#> + +function Initialize-V2024AccessRequestRecommendationActionItemDto { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${IdentityId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Access} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessRequestRecommendationActionItemDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$IdentityId) { + throw "invalid value for 'IdentityId', 'IdentityId' cannot be null." + } + + if (!$Access) { + throw "invalid value for 'Access', 'Access' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "identityId" = ${IdentityId} + "access" = ${Access} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessRequestRecommendationActionItemDto + +.DESCRIPTION + +Convert from JSON to AccessRequestRecommendationActionItemDto + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessRequestRecommendationActionItemDto +#> +function ConvertFrom-V2024JsonToAccessRequestRecommendationActionItemDto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessRequestRecommendationActionItemDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessRequestRecommendationActionItemDto + $AllProperties = ("identityId", "access") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'identityId' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityId"))) { + throw "Error! JSON cannot be serialized due to the required property 'identityId' missing." + } else { + $IdentityId = $JsonParameters.PSobject.Properties["identityId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "access"))) { + throw "Error! JSON cannot be serialized due to the required property 'access' missing." + } else { + $Access = $JsonParameters.PSobject.Properties["access"].value + } + + $PSO = [PSCustomObject]@{ + "identityId" = ${IdentityId} + "access" = ${Access} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestRecommendationActionItemResponseDto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestRecommendationActionItemResponseDto.ps1 new file mode 100644 index 000000000..d0ba9e705 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestRecommendationActionItemResponseDto.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER IdentityId +The identity ID taking the action. +.PARAMETER Access +No description available. +.PARAMETER Timestamp +No description available. +.OUTPUTS + +AccessRequestRecommendationActionItemResponseDto +#> + +function Initialize-V2024AccessRequestRecommendationActionItemResponseDto { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${IdentityId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Access}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Timestamp} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessRequestRecommendationActionItemResponseDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "identityId" = ${IdentityId} + "access" = ${Access} + "timestamp" = ${Timestamp} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessRequestRecommendationActionItemResponseDto + +.DESCRIPTION + +Convert from JSON to AccessRequestRecommendationActionItemResponseDto + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessRequestRecommendationActionItemResponseDto +#> +function ConvertFrom-V2024JsonToAccessRequestRecommendationActionItemResponseDto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessRequestRecommendationActionItemResponseDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessRequestRecommendationActionItemResponseDto + $AllProperties = ("identityId", "access", "timestamp") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityId"))) { #optional property not found + $IdentityId = $null + } else { + $IdentityId = $JsonParameters.PSobject.Properties["identityId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "access"))) { #optional property not found + $Access = $null + } else { + $Access = $JsonParameters.PSobject.Properties["access"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "timestamp"))) { #optional property not found + $Timestamp = $null + } else { + $Timestamp = $JsonParameters.PSobject.Properties["timestamp"].value + } + + $PSO = [PSCustomObject]@{ + "identityId" = ${IdentityId} + "access" = ${Access} + "timestamp" = ${Timestamp} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestRecommendationItem.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestRecommendationItem.ps1 new file mode 100644 index 000000000..788e56bda --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestRecommendationItem.ps1 @@ -0,0 +1,110 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +ID of access item being recommended. +.PARAMETER Type +No description available. +.OUTPUTS + +AccessRequestRecommendationItem +#> + +function Initialize-V2024AccessRequestRecommendationItem { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ACCESS_PROFILE", "ROLE")] + [PSCustomObject] + ${Type} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessRequestRecommendationItem' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessRequestRecommendationItem + +.DESCRIPTION + +Convert from JSON to AccessRequestRecommendationItem + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessRequestRecommendationItem +#> +function ConvertFrom-V2024JsonToAccessRequestRecommendationItem { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessRequestRecommendationItem' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessRequestRecommendationItem + $AllProperties = ("id", "type") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestRecommendationItemDetail.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestRecommendationItemDetail.ps1 new file mode 100644 index 000000000..6de44ecf9 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestRecommendationItemDetail.ps1 @@ -0,0 +1,174 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER IdentityId +Identity ID for the recommendation +.PARAMETER Access +No description available. +.PARAMETER Ignored +Whether or not the identity has already chosen to ignore this recommendation. +.PARAMETER Requested +Whether or not the identity has already chosen to request this recommendation. +.PARAMETER Viewed +Whether or not the identity reportedly viewed this recommendation. +.PARAMETER Messages +No description available. +.PARAMETER TranslationMessages +The list of translation messages +.OUTPUTS + +AccessRequestRecommendationItemDetail +#> + +function Initialize-V2024AccessRequestRecommendationItemDetail { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${IdentityId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Access}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Ignored}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Requested}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Viewed}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Messages}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${TranslationMessages} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessRequestRecommendationItemDetail' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "identityId" = ${IdentityId} + "access" = ${Access} + "ignored" = ${Ignored} + "requested" = ${Requested} + "viewed" = ${Viewed} + "messages" = ${Messages} + "translationMessages" = ${TranslationMessages} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessRequestRecommendationItemDetail + +.DESCRIPTION + +Convert from JSON to AccessRequestRecommendationItemDetail + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessRequestRecommendationItemDetail +#> +function ConvertFrom-V2024JsonToAccessRequestRecommendationItemDetail { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessRequestRecommendationItemDetail' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessRequestRecommendationItemDetail + $AllProperties = ("identityId", "access", "ignored", "requested", "viewed", "messages", "translationMessages") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityId"))) { #optional property not found + $IdentityId = $null + } else { + $IdentityId = $JsonParameters.PSobject.Properties["identityId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "access"))) { #optional property not found + $Access = $null + } else { + $Access = $JsonParameters.PSobject.Properties["access"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "ignored"))) { #optional property not found + $Ignored = $null + } else { + $Ignored = $JsonParameters.PSobject.Properties["ignored"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requested"))) { #optional property not found + $Requested = $null + } else { + $Requested = $JsonParameters.PSobject.Properties["requested"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "viewed"))) { #optional property not found + $Viewed = $null + } else { + $Viewed = $JsonParameters.PSobject.Properties["viewed"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "messages"))) { #optional property not found + $Messages = $null + } else { + $Messages = $JsonParameters.PSobject.Properties["messages"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "translationMessages"))) { #optional property not found + $TranslationMessages = $null + } else { + $TranslationMessages = $JsonParameters.PSobject.Properties["translationMessages"].value + } + + $PSO = [PSCustomObject]@{ + "identityId" = ${IdentityId} + "access" = ${Access} + "ignored" = ${Ignored} + "requested" = ${Requested} + "viewed" = ${Viewed} + "messages" = ${Messages} + "translationMessages" = ${TranslationMessages} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestRecommendationItemDetailAccess.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestRecommendationItemDetailAccess.ps1 new file mode 100644 index 000000000..c6ed99ac8 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestRecommendationItemDetailAccess.ps1 @@ -0,0 +1,136 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +ID of access item being recommended. +.PARAMETER Type +No description available. +.PARAMETER Name +Name of the access item +.PARAMETER Description +Description of the access item +.OUTPUTS + +AccessRequestRecommendationItemDetailAccess +#> + +function Initialize-V2024AccessRequestRecommendationItemDetailAccess { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ACCESS_PROFILE", "ROLE")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessRequestRecommendationItemDetailAccess' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + "name" = ${Name} + "description" = ${Description} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessRequestRecommendationItemDetailAccess + +.DESCRIPTION + +Convert from JSON to AccessRequestRecommendationItemDetailAccess + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessRequestRecommendationItemDetailAccess +#> +function ConvertFrom-V2024JsonToAccessRequestRecommendationItemDetailAccess { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessRequestRecommendationItemDetailAccess' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessRequestRecommendationItemDetailAccess + $AllProperties = ("id", "type", "name", "description") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + "name" = ${Name} + "description" = ${Description} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestRecommendationItemType.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestRecommendationItemType.ps1 new file mode 100644 index 000000000..8fb89db5e --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestRecommendationItemType.ps1 @@ -0,0 +1,24 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum AccessRequestRecommendationItemType. + +.DESCRIPTION + +The type of access item. +#> + +enum AccessRequestRecommendationItemType { + # enum value: "ACCESS_PROFILE" + ACCESS_PROFILE + # enum value: "ROLE" + ROLE +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestResponse.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestResponse.ps1 new file mode 100644 index 000000000..e92ba804a --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestResponse.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER RequesterId +the requester Id +.PARAMETER RequesterName +the requesterName +.PARAMETER Items +No description available. +.OUTPUTS + +AccessRequestResponse +#> + +function Initialize-V2024AccessRequestResponse { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${RequesterId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${RequesterName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Items} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessRequestResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "requesterId" = ${RequesterId} + "requesterName" = ${RequesterName} + "items" = ${Items} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessRequestResponse + +.DESCRIPTION + +Convert from JSON to AccessRequestResponse + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessRequestResponse +#> +function ConvertFrom-V2024JsonToAccessRequestResponse { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessRequestResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessRequestResponse + $AllProperties = ("requesterId", "requesterName", "items") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requesterId"))) { #optional property not found + $RequesterId = $null + } else { + $RequesterId = $JsonParameters.PSobject.Properties["requesterId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requesterName"))) { #optional property not found + $RequesterName = $null + } else { + $RequesterName = $JsonParameters.PSobject.Properties["requesterName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "items"))) { #optional property not found + $Items = $null + } else { + $Items = $JsonParameters.PSobject.Properties["items"].value + } + + $PSO = [PSCustomObject]@{ + "requesterId" = ${RequesterId} + "requesterName" = ${RequesterName} + "items" = ${Items} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestType.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestType.ps1 new file mode 100644 index 000000000..cceef7564 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequestType.ps1 @@ -0,0 +1,26 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum AccessRequestType. + +.DESCRIPTION + +Access request type. Defaults to GRANT_ACCESS. REVOKE_ACCESS type can only have a single Identity ID in the requestedFor field. +#> + +enum AccessRequestType { + # enum value: "GRANT_ACCESS" + GRANT_ACCESS + # enum value: "REVOKE_ACCESS" + REVOKE_ACCESS + # enum value: "null" + null +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequested.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequested.ps1 new file mode 100644 index 000000000..00e51f6d4 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessRequested.ps1 @@ -0,0 +1,135 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER AccessRequest +No description available. +.PARAMETER IdentityId +the identity id +.PARAMETER EventType +the event type +.PARAMETER Dt +the date of event +.OUTPUTS + +AccessRequested +#> + +function Initialize-V2024AccessRequested { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${AccessRequest}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${IdentityId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${EventType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Dt} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessRequested' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "accessRequest" = ${AccessRequest} + "identityId" = ${IdentityId} + "eventType" = ${EventType} + "dt" = ${Dt} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessRequested + +.DESCRIPTION + +Convert from JSON to AccessRequested + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessRequested +#> +function ConvertFrom-V2024JsonToAccessRequested { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessRequested' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessRequested + $AllProperties = ("accessRequest", "identityId", "eventType", "dt") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accessRequest"))) { #optional property not found + $AccessRequest = $null + } else { + $AccessRequest = $JsonParameters.PSobject.Properties["accessRequest"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityId"))) { #optional property not found + $IdentityId = $null + } else { + $IdentityId = $JsonParameters.PSobject.Properties["identityId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "eventType"))) { #optional property not found + $EventType = $null + } else { + $EventType = $JsonParameters.PSobject.Properties["eventType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "dt"))) { #optional property not found + $Dt = $null + } else { + $Dt = $JsonParameters.PSobject.Properties["dt"].value + } + + $PSO = [PSCustomObject]@{ + "accessRequest" = ${AccessRequest} + "identityId" = ${IdentityId} + "eventType" = ${EventType} + "dt" = ${Dt} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessReviewItem.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessReviewItem.ps1 new file mode 100644 index 000000000..bb47c352c --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessReviewItem.ps1 @@ -0,0 +1,175 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER AccessSummary +No description available. +.PARAMETER IdentitySummary +No description available. +.PARAMETER Id +The review item's id +.PARAMETER Completed +Whether the review item is complete +.PARAMETER NewAccess +Indicates whether the review item is for new access to a source +.PARAMETER Decision +No description available. +.PARAMETER Comments +Comments for this review item +.OUTPUTS + +AccessReviewItem +#> + +function Initialize-V2024AccessReviewItem { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${AccessSummary}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${IdentitySummary}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Completed}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${NewAccess}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("APPROVE", "REVOKE")] + [PSCustomObject] + ${Decision}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Comments} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessReviewItem' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "accessSummary" = ${AccessSummary} + "identitySummary" = ${IdentitySummary} + "id" = ${Id} + "completed" = ${Completed} + "newAccess" = ${NewAccess} + "decision" = ${Decision} + "comments" = ${Comments} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessReviewItem + +.DESCRIPTION + +Convert from JSON to AccessReviewItem + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessReviewItem +#> +function ConvertFrom-V2024JsonToAccessReviewItem { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessReviewItem' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessReviewItem + $AllProperties = ("accessSummary", "identitySummary", "id", "completed", "newAccess", "decision", "comments") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accessSummary"))) { #optional property not found + $AccessSummary = $null + } else { + $AccessSummary = $JsonParameters.PSobject.Properties["accessSummary"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identitySummary"))) { #optional property not found + $IdentitySummary = $null + } else { + $IdentitySummary = $JsonParameters.PSobject.Properties["identitySummary"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "completed"))) { #optional property not found + $Completed = $null + } else { + $Completed = $JsonParameters.PSobject.Properties["completed"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "newAccess"))) { #optional property not found + $NewAccess = $null + } else { + $NewAccess = $JsonParameters.PSobject.Properties["newAccess"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "decision"))) { #optional property not found + $Decision = $null + } else { + $Decision = $JsonParameters.PSobject.Properties["decision"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "comments"))) { #optional property not found + $Comments = $null + } else { + $Comments = $JsonParameters.PSobject.Properties["comments"].value + } + + $PSO = [PSCustomObject]@{ + "accessSummary" = ${AccessSummary} + "identitySummary" = ${IdentitySummary} + "id" = ${Id} + "completed" = ${Completed} + "newAccess" = ${NewAccess} + "decision" = ${Decision} + "comments" = ${Comments} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessReviewReassignment.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessReviewReassignment.ps1 new file mode 100644 index 000000000..7ac6e3d81 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessReviewReassignment.ps1 @@ -0,0 +1,138 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Reassign +No description available. +.PARAMETER ReassignTo +The ID of the identity to which the certification is reassigned +.PARAMETER Reason +The reason comment for why the reassign was made +.OUTPUTS + +AccessReviewReassignment +#> + +function Initialize-V2024AccessReviewReassignment { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Reassign}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ReassignTo}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Reason} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessReviewReassignment' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Reassign) { + throw "invalid value for 'Reassign', 'Reassign' cannot be null." + } + + if (!$ReassignTo) { + throw "invalid value for 'ReassignTo', 'ReassignTo' cannot be null." + } + + if (!$Reason) { + throw "invalid value for 'Reason', 'Reason' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "reassign" = ${Reassign} + "reassignTo" = ${ReassignTo} + "reason" = ${Reason} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessReviewReassignment + +.DESCRIPTION + +Convert from JSON to AccessReviewReassignment + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessReviewReassignment +#> +function ConvertFrom-V2024JsonToAccessReviewReassignment { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessReviewReassignment' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessReviewReassignment + $AllProperties = ("reassign", "reassignTo", "reason") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'reassign' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "reassign"))) { + throw "Error! JSON cannot be serialized due to the required property 'reassign' missing." + } else { + $Reassign = $JsonParameters.PSobject.Properties["reassign"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "reassignTo"))) { + throw "Error! JSON cannot be serialized due to the required property 'reassignTo' missing." + } else { + $ReassignTo = $JsonParameters.PSobject.Properties["reassignTo"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "reason"))) { + throw "Error! JSON cannot be serialized due to the required property 'reason' missing." + } else { + $Reason = $JsonParameters.PSobject.Properties["reason"].value + } + + $PSO = [PSCustomObject]@{ + "reassign" = ${Reassign} + "reassignTo" = ${ReassignTo} + "reason" = ${Reason} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessSummary.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessSummary.ps1 new file mode 100644 index 000000000..1f1d58ded --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessSummary.ps1 @@ -0,0 +1,135 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +An object holding the access that is being reviewed + +.PARAMETER Access +No description available. +.PARAMETER Entitlement +No description available. +.PARAMETER AccessProfile +No description available. +.PARAMETER Role +No description available. +.OUTPUTS + +AccessSummary +#> + +function Initialize-V2024AccessSummary { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Access}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Entitlement}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${AccessProfile}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Role} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessSummary' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "access" = ${Access} + "entitlement" = ${Entitlement} + "accessProfile" = ${AccessProfile} + "role" = ${Role} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessSummary + +.DESCRIPTION + +Convert from JSON to AccessSummary + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessSummary +#> +function ConvertFrom-V2024JsonToAccessSummary { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessSummary' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessSummary + $AllProperties = ("access", "entitlement", "accessProfile", "role") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "access"))) { #optional property not found + $Access = $null + } else { + $Access = $JsonParameters.PSobject.Properties["access"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "entitlement"))) { #optional property not found + $Entitlement = $null + } else { + $Entitlement = $JsonParameters.PSobject.Properties["entitlement"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accessProfile"))) { #optional property not found + $AccessProfile = $null + } else { + $AccessProfile = $JsonParameters.PSobject.Properties["accessProfile"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "role"))) { #optional property not found + $Role = $null + } else { + $Role = $JsonParameters.PSobject.Properties["role"].value + } + + $PSO = [PSCustomObject]@{ + "access" = ${Access} + "entitlement" = ${Entitlement} + "accessProfile" = ${AccessProfile} + "role" = ${Role} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessSummaryAccess.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessSummaryAccess.ps1 new file mode 100644 index 000000000..34fc195f2 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessSummaryAccess.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Type +No description available. +.PARAMETER Id +The ID of the item being certified +.PARAMETER Name +The name of the item being certified +.OUTPUTS + +AccessSummaryAccess +#> + +function Initialize-V2024AccessSummaryAccess { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ACCOUNT_CORRELATION_CONFIG", "ACCESS_PROFILE", "ACCESS_REQUEST_APPROVAL", "ACCOUNT", "APPLICATION", "CAMPAIGN", "CAMPAIGN_FILTER", "CERTIFICATION", "CLUSTER", "CONNECTOR_SCHEMA", "ENTITLEMENT", "GOVERNANCE_GROUP", "IDENTITY", "IDENTITY_PROFILE", "IDENTITY_REQUEST", "LIFECYCLE_STATE", "PASSWORD_POLICY", "ROLE", "RULE", "SOD_POLICY", "SOURCE", "TAG", "TAG_CATEGORY", "TASK_RESULT", "REPORT_RESULT", "SOD_VIOLATION", "ACCOUNT_ACTIVITY", "WORKGROUP")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccessSummaryAccess' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccessSummaryAccess + +.DESCRIPTION + +Convert from JSON to AccessSummaryAccess + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccessSummaryAccess +#> +function ConvertFrom-V2024JsonToAccessSummaryAccess { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccessSummaryAccess' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccessSummaryAccess + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessType.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessType.ps1 new file mode 100644 index 000000000..156ef47fc --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccessType.ps1 @@ -0,0 +1,24 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum AccessType. + +.DESCRIPTION + +Access type of API Client indicating online or offline use +#> + +enum AccessType { + # enum value: "ONLINE" + ONLINE + # enum value: "OFFLINE" + OFFLINE +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Account.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Account.ps1 new file mode 100644 index 000000000..f968d7eae --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Account.ps1 @@ -0,0 +1,478 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Name +Name of the Object +.PARAMETER SourceId +The unique ID of the source this account belongs to +.PARAMETER SourceName +The display name of the source this account belongs to +.PARAMETER IdentityId +The unique ID of the identity this account is correlated to +.PARAMETER CloudLifecycleState +The lifecycle state of the identity this account is correlated to +.PARAMETER IdentityState +The identity state of the identity this account is correlated to +.PARAMETER ConnectionType +The connection type of the source this account is from +.PARAMETER Type +The type of the account +.PARAMETER Attributes +The account attributes that are aggregated +.PARAMETER Authoritative +Indicates if this account is from an authoritative source +.PARAMETER Description +A description of the account +.PARAMETER Disabled +Indicates if the account is currently disabled +.PARAMETER Locked +Indicates if the account is currently locked +.PARAMETER NativeIdentity +The unique ID of the account generated by the source system +.PARAMETER SystemAccount +If true, this is a user account within IdentityNow. If false, this is an account from a source system. +.PARAMETER Uncorrelated +Indicates if this account is not correlated to an identity +.PARAMETER Uuid +The unique ID of the account as determined by the account schema +.PARAMETER ManuallyCorrelated +Indicates if the account has been manually correlated to an identity +.PARAMETER HasEntitlements +Indicates if the account has entitlements +.PARAMETER Identity +No description available. +.PARAMETER SourceOwner +No description available. +.PARAMETER Features +A string list containing the owning source's features +.PARAMETER Origin +The origin of the account either aggregated or provisioned +.PARAMETER OwnerIdentity +No description available. +.PARAMETER OwnerGroup +No description available. +.OUTPUTS + +Account +#> + +function Initialize-V2024Account { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SourceId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SourceName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${IdentityId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${CloudLifecycleState}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${IdentityState}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ConnectionType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${Attributes}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Boolean] + ${Authoritative}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Boolean] + ${Disabled}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Boolean] + ${Locked}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${NativeIdentity}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Boolean] + ${SystemAccount}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Boolean] + ${Uncorrelated}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Uuid}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Boolean] + ${ManuallyCorrelated}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Boolean] + ${HasEntitlements}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Identity}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${SourceOwner}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Features}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("AGGREGATED", "PROVISIONED", "")] + [String] + ${Origin}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${OwnerIdentity}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${OwnerGroup} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Account' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if (!$SourceId) { + throw "invalid value for 'SourceId', 'SourceId' cannot be null." + } + + if (!$SourceName) { + throw "invalid value for 'SourceName', 'SourceName' cannot be null." + } + + if (!$Authoritative) { + throw "invalid value for 'Authoritative', 'Authoritative' cannot be null." + } + + if (!$Disabled) { + throw "invalid value for 'Disabled', 'Disabled' cannot be null." + } + + if (!$Locked) { + throw "invalid value for 'Locked', 'Locked' cannot be null." + } + + if (!$NativeIdentity) { + throw "invalid value for 'NativeIdentity', 'NativeIdentity' cannot be null." + } + + if (!$SystemAccount) { + throw "invalid value for 'SystemAccount', 'SystemAccount' cannot be null." + } + + if (!$Uncorrelated) { + throw "invalid value for 'Uncorrelated', 'Uncorrelated' cannot be null." + } + + if (!$ManuallyCorrelated) { + throw "invalid value for 'ManuallyCorrelated', 'ManuallyCorrelated' cannot be null." + } + + if (!$HasEntitlements) { + throw "invalid value for 'HasEntitlements', 'HasEntitlements' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "sourceId" = ${SourceId} + "sourceName" = ${SourceName} + "identityId" = ${IdentityId} + "cloudLifecycleState" = ${CloudLifecycleState} + "identityState" = ${IdentityState} + "connectionType" = ${ConnectionType} + "type" = ${Type} + "attributes" = ${Attributes} + "authoritative" = ${Authoritative} + "description" = ${Description} + "disabled" = ${Disabled} + "locked" = ${Locked} + "nativeIdentity" = ${NativeIdentity} + "systemAccount" = ${SystemAccount} + "uncorrelated" = ${Uncorrelated} + "uuid" = ${Uuid} + "manuallyCorrelated" = ${ManuallyCorrelated} + "hasEntitlements" = ${HasEntitlements} + "identity" = ${Identity} + "sourceOwner" = ${SourceOwner} + "features" = ${Features} + "origin" = ${Origin} + "ownerIdentity" = ${OwnerIdentity} + "ownerGroup" = ${OwnerGroup} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Account + +.DESCRIPTION + +Convert from JSON to Account + +.PARAMETER Json + +Json object + +.OUTPUTS + +Account +#> +function ConvertFrom-V2024JsonToAccount { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Account' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Account + $AllProperties = ("id", "name", "created", "modified", "sourceId", "sourceName", "identityId", "cloudLifecycleState", "identityState", "connectionType", "type", "attributes", "authoritative", "description", "disabled", "locked", "nativeIdentity", "systemAccount", "uncorrelated", "uuid", "manuallyCorrelated", "hasEntitlements", "identity", "sourceOwner", "features", "origin", "ownerIdentity", "ownerGroup") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'name' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceId"))) { + throw "Error! JSON cannot be serialized due to the required property 'sourceId' missing." + } else { + $SourceId = $JsonParameters.PSobject.Properties["sourceId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceName"))) { + throw "Error! JSON cannot be serialized due to the required property 'sourceName' missing." + } else { + $SourceName = $JsonParameters.PSobject.Properties["sourceName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributes"))) { + throw "Error! JSON cannot be serialized due to the required property 'attributes' missing." + } else { + $Attributes = $JsonParameters.PSobject.Properties["attributes"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "authoritative"))) { + throw "Error! JSON cannot be serialized due to the required property 'authoritative' missing." + } else { + $Authoritative = $JsonParameters.PSobject.Properties["authoritative"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "disabled"))) { + throw "Error! JSON cannot be serialized due to the required property 'disabled' missing." + } else { + $Disabled = $JsonParameters.PSobject.Properties["disabled"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "locked"))) { + throw "Error! JSON cannot be serialized due to the required property 'locked' missing." + } else { + $Locked = $JsonParameters.PSobject.Properties["locked"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "nativeIdentity"))) { + throw "Error! JSON cannot be serialized due to the required property 'nativeIdentity' missing." + } else { + $NativeIdentity = $JsonParameters.PSobject.Properties["nativeIdentity"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "systemAccount"))) { + throw "Error! JSON cannot be serialized due to the required property 'systemAccount' missing." + } else { + $SystemAccount = $JsonParameters.PSobject.Properties["systemAccount"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "uncorrelated"))) { + throw "Error! JSON cannot be serialized due to the required property 'uncorrelated' missing." + } else { + $Uncorrelated = $JsonParameters.PSobject.Properties["uncorrelated"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "manuallyCorrelated"))) { + throw "Error! JSON cannot be serialized due to the required property 'manuallyCorrelated' missing." + } else { + $ManuallyCorrelated = $JsonParameters.PSobject.Properties["manuallyCorrelated"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "hasEntitlements"))) { + throw "Error! JSON cannot be serialized due to the required property 'hasEntitlements' missing." + } else { + $HasEntitlements = $JsonParameters.PSobject.Properties["hasEntitlements"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityId"))) { #optional property not found + $IdentityId = $null + } else { + $IdentityId = $JsonParameters.PSobject.Properties["identityId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "cloudLifecycleState"))) { #optional property not found + $CloudLifecycleState = $null + } else { + $CloudLifecycleState = $JsonParameters.PSobject.Properties["cloudLifecycleState"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityState"))) { #optional property not found + $IdentityState = $null + } else { + $IdentityState = $JsonParameters.PSobject.Properties["identityState"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "connectionType"))) { #optional property not found + $ConnectionType = $null + } else { + $ConnectionType = $JsonParameters.PSobject.Properties["connectionType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "uuid"))) { #optional property not found + $Uuid = $null + } else { + $Uuid = $JsonParameters.PSobject.Properties["uuid"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identity"))) { #optional property not found + $Identity = $null + } else { + $Identity = $JsonParameters.PSobject.Properties["identity"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceOwner"))) { #optional property not found + $SourceOwner = $null + } else { + $SourceOwner = $JsonParameters.PSobject.Properties["sourceOwner"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "features"))) { #optional property not found + $Features = $null + } else { + $Features = $JsonParameters.PSobject.Properties["features"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "origin"))) { #optional property not found + $Origin = $null + } else { + $Origin = $JsonParameters.PSobject.Properties["origin"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "ownerIdentity"))) { #optional property not found + $OwnerIdentity = $null + } else { + $OwnerIdentity = $JsonParameters.PSobject.Properties["ownerIdentity"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "ownerGroup"))) { #optional property not found + $OwnerGroup = $null + } else { + $OwnerGroup = $JsonParameters.PSobject.Properties["ownerGroup"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "created" = ${Created} + "modified" = ${Modified} + "sourceId" = ${SourceId} + "sourceName" = ${SourceName} + "identityId" = ${IdentityId} + "cloudLifecycleState" = ${CloudLifecycleState} + "identityState" = ${IdentityState} + "connectionType" = ${ConnectionType} + "type" = ${Type} + "attributes" = ${Attributes} + "authoritative" = ${Authoritative} + "description" = ${Description} + "disabled" = ${Disabled} + "locked" = ${Locked} + "nativeIdentity" = ${NativeIdentity} + "systemAccount" = ${SystemAccount} + "uncorrelated" = ${Uncorrelated} + "uuid" = ${Uuid} + "manuallyCorrelated" = ${ManuallyCorrelated} + "hasEntitlements" = ${HasEntitlements} + "identity" = ${Identity} + "sourceOwner" = ${SourceOwner} + "features" = ${Features} + "origin" = ${Origin} + "ownerIdentity" = ${OwnerIdentity} + "ownerGroup" = ${OwnerGroup} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountAction.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountAction.ps1 new file mode 100644 index 000000000..a6da7fd98 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountAction.ps1 @@ -0,0 +1,110 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Object for specifying Actions to be performed on a specified list of sources' account. + +.PARAMETER Action +Describes if action will be enabled or disabled +.PARAMETER SourceIds +List of unique source IDs. The sources must have the ENABLE feature or flat file source. See ""/sources"" endpoint for source features. +.OUTPUTS + +AccountAction +#> + +function Initialize-V2024AccountAction { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ENABLE", "DISABLE")] + [String] + ${Action}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${SourceIds} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccountAction' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "action" = ${Action} + "sourceIds" = ${SourceIds} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccountAction + +.DESCRIPTION + +Convert from JSON to AccountAction + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccountAction +#> +function ConvertFrom-V2024JsonToAccountAction { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccountAction' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccountAction + $AllProperties = ("action", "sourceIds") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "action"))) { #optional property not found + $Action = $null + } else { + $Action = $JsonParameters.PSobject.Properties["action"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceIds"))) { #optional property not found + $SourceIds = $null + } else { + $SourceIds = $JsonParameters.PSobject.Properties["sourceIds"].value + } + + $PSO = [PSCustomObject]@{ + "action" = ${Action} + "sourceIds" = ${SourceIds} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountActivity.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountActivity.ps1 new file mode 100644 index 000000000..977c8b43c --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountActivity.ps1 @@ -0,0 +1,266 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +Id of the account activity +.PARAMETER Name +The name of the activity +.PARAMETER Created +When the activity was first created +.PARAMETER Modified +When the activity was last modified +.PARAMETER Completed +When the activity was completed +.PARAMETER CompletionStatus +No description available. +.PARAMETER Type +The type of action the activity performed. Please see the following list of types. This list may grow over time. - CloudAutomated - IdentityAttributeUpdate - appRequest - LifecycleStateChange - AccountStateUpdate - AccountAttributeUpdate - CloudPasswordRequest - Attribute Synchronization Refresh - Certification - Identity Refresh - Lifecycle Change Refresh [Learn more here](https://documentation.sailpoint.com/saas/help/search/searchable-fields.html#searching-account-activity-data). +.PARAMETER RequesterIdentitySummary +No description available. +.PARAMETER TargetIdentitySummary +No description available. +.PARAMETER Errors +A list of error messages, if any, that were encountered. +.PARAMETER Warnings +A list of warning messages, if any, that were encountered. +.PARAMETER Items +Individual actions performed as part of this account activity +.PARAMETER ExecutionStatus +No description available. +.PARAMETER ClientMetadata +Arbitrary key-value pairs, if any were included in the corresponding access request +.OUTPUTS + +AccountActivity +#> + +function Initialize-V2024AccountActivity { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Modified}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Completed}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${CompletionStatus}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${RequesterIdentitySummary}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${TargetIdentitySummary}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Errors}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Warnings}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Items}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("EXECUTING", "VERIFYING", "TERMINATED", "COMPLETED")] + [PSCustomObject] + ${ExecutionStatus}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${ClientMetadata} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccountActivity' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "created" = ${Created} + "modified" = ${Modified} + "completed" = ${Completed} + "completionStatus" = ${CompletionStatus} + "type" = ${Type} + "requesterIdentitySummary" = ${RequesterIdentitySummary} + "targetIdentitySummary" = ${TargetIdentitySummary} + "errors" = ${Errors} + "warnings" = ${Warnings} + "items" = ${Items} + "executionStatus" = ${ExecutionStatus} + "clientMetadata" = ${ClientMetadata} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccountActivity + +.DESCRIPTION + +Convert from JSON to AccountActivity + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccountActivity +#> +function ConvertFrom-V2024JsonToAccountActivity { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccountActivity' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccountActivity + $AllProperties = ("id", "name", "created", "modified", "completed", "completionStatus", "type", "requesterIdentitySummary", "targetIdentitySummary", "errors", "warnings", "items", "executionStatus", "clientMetadata") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "completed"))) { #optional property not found + $Completed = $null + } else { + $Completed = $JsonParameters.PSobject.Properties["completed"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "completionStatus"))) { #optional property not found + $CompletionStatus = $null + } else { + $CompletionStatus = $JsonParameters.PSobject.Properties["completionStatus"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requesterIdentitySummary"))) { #optional property not found + $RequesterIdentitySummary = $null + } else { + $RequesterIdentitySummary = $JsonParameters.PSobject.Properties["requesterIdentitySummary"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "targetIdentitySummary"))) { #optional property not found + $TargetIdentitySummary = $null + } else { + $TargetIdentitySummary = $JsonParameters.PSobject.Properties["targetIdentitySummary"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "errors"))) { #optional property not found + $Errors = $null + } else { + $Errors = $JsonParameters.PSobject.Properties["errors"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "warnings"))) { #optional property not found + $Warnings = $null + } else { + $Warnings = $JsonParameters.PSobject.Properties["warnings"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "items"))) { #optional property not found + $Items = $null + } else { + $Items = $JsonParameters.PSobject.Properties["items"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "executionStatus"))) { #optional property not found + $ExecutionStatus = $null + } else { + $ExecutionStatus = $JsonParameters.PSobject.Properties["executionStatus"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "clientMetadata"))) { #optional property not found + $ClientMetadata = $null + } else { + $ClientMetadata = $JsonParameters.PSobject.Properties["clientMetadata"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "created" = ${Created} + "modified" = ${Modified} + "completed" = ${Completed} + "completionStatus" = ${CompletionStatus} + "type" = ${Type} + "requesterIdentitySummary" = ${RequesterIdentitySummary} + "targetIdentitySummary" = ${TargetIdentitySummary} + "errors" = ${Errors} + "warnings" = ${Warnings} + "items" = ${Items} + "executionStatus" = ${ExecutionStatus} + "clientMetadata" = ${ClientMetadata} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountActivityApprovalStatus.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountActivityApprovalStatus.ps1 new file mode 100644 index 000000000..3f56509b0 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountActivityApprovalStatus.ps1 @@ -0,0 +1,34 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum AccountActivityApprovalStatus. + +.DESCRIPTION + +The state of an approval status +#> + +enum AccountActivityApprovalStatus { + # enum value: "FINISHED" + FINISHED + # enum value: "REJECTED" + REJECTED + # enum value: "RETURNED" + RETURNED + # enum value: "EXPIRED" + EXPIRED + # enum value: "PENDING" + PENDING + # enum value: "CANCELED" + CANCELED + # enum value: "null" + null +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountActivityDocument.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountActivityDocument.ps1 new file mode 100644 index 000000000..b7fb21a3d --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountActivityDocument.ps1 @@ -0,0 +1,347 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +AccountActivity + +.PARAMETER Id +No description available. +.PARAMETER Name +No description available. +.PARAMETER Type +No description available. +.PARAMETER Action +Type of action performed in the activity. +.PARAMETER Created +ISO-8601 date-time referring to the time when the object was created. +.PARAMETER Modified +ISO-8601 date-time referring to the time when the object was last modified. +.PARAMETER Stage +Activity's current stage. +.PARAMETER Origin +Activity's origin. +.PARAMETER Status +Activity's current status. +.PARAMETER Requester +No description available. +.PARAMETER Recipient +No description available. +.PARAMETER TrackingNumber +Account activity's tracking number. +.PARAMETER Errors +Errors provided by the source while completing account actions. +.PARAMETER Warnings +Warnings provided by the source while completing account actions. +.PARAMETER Approvals +Approvals performed on an item during activity. +.PARAMETER OriginalRequests +Original actions that triggered all individual source actions related to the account action. +.PARAMETER ExpansionItems +Controls that translated the attribute requests into actual provisioning actions on the source. +.PARAMETER AccountRequests +Account data for each individual source action triggered by the original requests. +.PARAMETER Sources +Sources involved in the account activity. +.OUTPUTS + +AccountActivityDocument +#> + +function Initialize-V2024AccountActivityDocument { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("accessprofile", "accountactivity", "account", "aggregation", "entitlement", "event", "identity", "role")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Action}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Modified}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Stage}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Origin}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Status}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Requester}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Recipient}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${TrackingNumber}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Errors}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Warnings}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Approvals}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${OriginalRequests}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${ExpansionItems}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${AccountRequests}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Sources} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccountActivityDocument' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "_type" = ${Type} + "action" = ${Action} + "created" = ${Created} + "modified" = ${Modified} + "stage" = ${Stage} + "origin" = ${Origin} + "status" = ${Status} + "requester" = ${Requester} + "recipient" = ${Recipient} + "trackingNumber" = ${TrackingNumber} + "errors" = ${Errors} + "warnings" = ${Warnings} + "approvals" = ${Approvals} + "originalRequests" = ${OriginalRequests} + "expansionItems" = ${ExpansionItems} + "accountRequests" = ${AccountRequests} + "sources" = ${Sources} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccountActivityDocument + +.DESCRIPTION + +Convert from JSON to AccountActivityDocument + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccountActivityDocument +#> +function ConvertFrom-V2024JsonToAccountActivityDocument { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccountActivityDocument' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccountActivityDocument + $AllProperties = ("id", "name", "_type", "action", "created", "modified", "stage", "origin", "status", "requester", "recipient", "trackingNumber", "errors", "warnings", "approvals", "originalRequests", "expansionItems", "accountRequests", "sources") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'id' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "_type"))) { + throw "Error! JSON cannot be serialized due to the required property '_type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["_type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "action"))) { #optional property not found + $Action = $null + } else { + $Action = $JsonParameters.PSobject.Properties["action"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "stage"))) { #optional property not found + $Stage = $null + } else { + $Stage = $JsonParameters.PSobject.Properties["stage"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "origin"))) { #optional property not found + $Origin = $null + } else { + $Origin = $JsonParameters.PSobject.Properties["origin"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { #optional property not found + $Status = $null + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requester"))) { #optional property not found + $Requester = $null + } else { + $Requester = $JsonParameters.PSobject.Properties["requester"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "recipient"))) { #optional property not found + $Recipient = $null + } else { + $Recipient = $JsonParameters.PSobject.Properties["recipient"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "trackingNumber"))) { #optional property not found + $TrackingNumber = $null + } else { + $TrackingNumber = $JsonParameters.PSobject.Properties["trackingNumber"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "errors"))) { #optional property not found + $Errors = $null + } else { + $Errors = $JsonParameters.PSobject.Properties["errors"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "warnings"))) { #optional property not found + $Warnings = $null + } else { + $Warnings = $JsonParameters.PSobject.Properties["warnings"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "approvals"))) { #optional property not found + $Approvals = $null + } else { + $Approvals = $JsonParameters.PSobject.Properties["approvals"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "originalRequests"))) { #optional property not found + $OriginalRequests = $null + } else { + $OriginalRequests = $JsonParameters.PSobject.Properties["originalRequests"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "expansionItems"))) { #optional property not found + $ExpansionItems = $null + } else { + $ExpansionItems = $JsonParameters.PSobject.Properties["expansionItems"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accountRequests"))) { #optional property not found + $AccountRequests = $null + } else { + $AccountRequests = $JsonParameters.PSobject.Properties["accountRequests"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sources"))) { #optional property not found + $Sources = $null + } else { + $Sources = $JsonParameters.PSobject.Properties["sources"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "_type" = ${Type} + "action" = ${Action} + "created" = ${Created} + "modified" = ${Modified} + "stage" = ${Stage} + "origin" = ${Origin} + "status" = ${Status} + "requester" = ${Requester} + "recipient" = ${Recipient} + "trackingNumber" = ${TrackingNumber} + "errors" = ${Errors} + "warnings" = ${Warnings} + "approvals" = ${Approvals} + "originalRequests" = ${OriginalRequests} + "expansionItems" = ${ExpansionItems} + "accountRequests" = ${AccountRequests} + "sources" = ${Sources} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountActivityItem.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountActivityItem.ps1 new file mode 100644 index 000000000..30dc1ec28 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountActivityItem.ps1 @@ -0,0 +1,292 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +Item id +.PARAMETER Name +Human-readable display name of item +.PARAMETER Requested +Date and time item was requested +.PARAMETER ApprovalStatus +No description available. +.PARAMETER ProvisioningStatus +No description available. +.PARAMETER RequesterComment +No description available. +.PARAMETER ReviewerIdentitySummary +No description available. +.PARAMETER ReviewerComment +No description available. +.PARAMETER Operation +No description available. +.PARAMETER Attribute +Attribute to which account activity applies +.PARAMETER Value +Value of attribute +.PARAMETER NativeIdentity +Native identity in the target system to which the account activity applies +.PARAMETER SourceId +Id of Source to which account activity applies +.PARAMETER AccountRequestInfo +No description available. +.PARAMETER ClientMetadata +Arbitrary key-value pairs, if any were included in the corresponding access request item +.PARAMETER RemoveDate +The date the role or access profile or entitlement is no longer assigned to the specified identity. +.OUTPUTS + +AccountActivityItem +#> + +function Initialize-V2024AccountActivityItem { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Requested}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${ApprovalStatus}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("PENDING", "FINISHED", "UNVERIFIABLE", "COMMITED", "FAILED", "RETRY")] + [PSCustomObject] + ${ProvisioningStatus}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${RequesterComment}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${ReviewerIdentitySummary}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${ReviewerComment}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Operation}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Attribute}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Value}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${NativeIdentity}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SourceId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${AccountRequestInfo}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${ClientMetadata}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${RemoveDate} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccountActivityItem' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "requested" = ${Requested} + "approvalStatus" = ${ApprovalStatus} + "provisioningStatus" = ${ProvisioningStatus} + "requesterComment" = ${RequesterComment} + "reviewerIdentitySummary" = ${ReviewerIdentitySummary} + "reviewerComment" = ${ReviewerComment} + "operation" = ${Operation} + "attribute" = ${Attribute} + "value" = ${Value} + "nativeIdentity" = ${NativeIdentity} + "sourceId" = ${SourceId} + "accountRequestInfo" = ${AccountRequestInfo} + "clientMetadata" = ${ClientMetadata} + "removeDate" = ${RemoveDate} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccountActivityItem + +.DESCRIPTION + +Convert from JSON to AccountActivityItem + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccountActivityItem +#> +function ConvertFrom-V2024JsonToAccountActivityItem { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccountActivityItem' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccountActivityItem + $AllProperties = ("id", "name", "requested", "approvalStatus", "provisioningStatus", "requesterComment", "reviewerIdentitySummary", "reviewerComment", "operation", "attribute", "value", "nativeIdentity", "sourceId", "accountRequestInfo", "clientMetadata", "removeDate") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requested"))) { #optional property not found + $Requested = $null + } else { + $Requested = $JsonParameters.PSobject.Properties["requested"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "approvalStatus"))) { #optional property not found + $ApprovalStatus = $null + } else { + $ApprovalStatus = $JsonParameters.PSobject.Properties["approvalStatus"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "provisioningStatus"))) { #optional property not found + $ProvisioningStatus = $null + } else { + $ProvisioningStatus = $JsonParameters.PSobject.Properties["provisioningStatus"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requesterComment"))) { #optional property not found + $RequesterComment = $null + } else { + $RequesterComment = $JsonParameters.PSobject.Properties["requesterComment"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "reviewerIdentitySummary"))) { #optional property not found + $ReviewerIdentitySummary = $null + } else { + $ReviewerIdentitySummary = $JsonParameters.PSobject.Properties["reviewerIdentitySummary"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "reviewerComment"))) { #optional property not found + $ReviewerComment = $null + } else { + $ReviewerComment = $JsonParameters.PSobject.Properties["reviewerComment"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "operation"))) { #optional property not found + $Operation = $null + } else { + $Operation = $JsonParameters.PSobject.Properties["operation"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attribute"))) { #optional property not found + $Attribute = $null + } else { + $Attribute = $JsonParameters.PSobject.Properties["attribute"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "value"))) { #optional property not found + $Value = $null + } else { + $Value = $JsonParameters.PSobject.Properties["value"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "nativeIdentity"))) { #optional property not found + $NativeIdentity = $null + } else { + $NativeIdentity = $JsonParameters.PSobject.Properties["nativeIdentity"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceId"))) { #optional property not found + $SourceId = $null + } else { + $SourceId = $JsonParameters.PSobject.Properties["sourceId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accountRequestInfo"))) { #optional property not found + $AccountRequestInfo = $null + } else { + $AccountRequestInfo = $JsonParameters.PSobject.Properties["accountRequestInfo"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "clientMetadata"))) { #optional property not found + $ClientMetadata = $null + } else { + $ClientMetadata = $JsonParameters.PSobject.Properties["clientMetadata"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "removeDate"))) { #optional property not found + $RemoveDate = $null + } else { + $RemoveDate = $JsonParameters.PSobject.Properties["removeDate"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "requested" = ${Requested} + "approvalStatus" = ${ApprovalStatus} + "provisioningStatus" = ${ProvisioningStatus} + "requesterComment" = ${RequesterComment} + "reviewerIdentitySummary" = ${ReviewerIdentitySummary} + "reviewerComment" = ${ReviewerComment} + "operation" = ${Operation} + "attribute" = ${Attribute} + "value" = ${Value} + "nativeIdentity" = ${NativeIdentity} + "sourceId" = ${SourceId} + "accountRequestInfo" = ${AccountRequestInfo} + "clientMetadata" = ${ClientMetadata} + "removeDate" = ${RemoveDate} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountActivityItemOperation.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountActivityItemOperation.ps1 new file mode 100644 index 000000000..d7afaf3d1 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountActivityItemOperation.ps1 @@ -0,0 +1,42 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum AccountActivityItemOperation. + +.DESCRIPTION + +Represents an operation in an account activity item +#> + +enum AccountActivityItemOperation { + # enum value: "ADD" + ADD + # enum value: "CREATE" + CREATE + # enum value: "MODIFY" + MODIFY + # enum value: "DELETE" + DELETE + # enum value: "DISABLE" + DISABLE + # enum value: "ENABLE" + ENABLE + # enum value: "UNLOCK" + UNLOCK + # enum value: "LOCK" + LOCK + # enum value: "REMOVE" + REMOVE + # enum value: "SET" + SET + # enum value: "null" + null +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountActivitySearchedItem.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountActivitySearchedItem.ps1 new file mode 100644 index 000000000..bc9a89c55 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountActivitySearchedItem.ps1 @@ -0,0 +1,347 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +AccountActivity + +.PARAMETER Id +No description available. +.PARAMETER Name +No description available. +.PARAMETER Type +No description available. +.PARAMETER Action +Type of action performed in the activity. +.PARAMETER Created +ISO-8601 date-time referring to the time when the object was created. +.PARAMETER Modified +ISO-8601 date-time referring to the time when the object was last modified. +.PARAMETER Stage +Activity's current stage. +.PARAMETER Origin +Activity's origin. +.PARAMETER Status +Activity's current status. +.PARAMETER Requester +No description available. +.PARAMETER Recipient +No description available. +.PARAMETER TrackingNumber +Account activity's tracking number. +.PARAMETER Errors +Errors provided by the source while completing account actions. +.PARAMETER Warnings +Warnings provided by the source while completing account actions. +.PARAMETER Approvals +Approvals performed on an item during activity. +.PARAMETER OriginalRequests +Original actions that triggered all individual source actions related to the account action. +.PARAMETER ExpansionItems +Controls that translated the attribute requests into actual provisioning actions on the source. +.PARAMETER AccountRequests +Account data for each individual source action triggered by the original requests. +.PARAMETER Sources +Sources involved in the account activity. +.OUTPUTS + +AccountActivitySearchedItem +#> + +function Initialize-V2024AccountActivitySearchedItem { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("accessprofile", "accountactivity", "account", "aggregation", "entitlement", "event", "identity", "role")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Action}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Modified}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Stage}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Origin}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Status}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Requester}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Recipient}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${TrackingNumber}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Errors}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Warnings}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Approvals}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${OriginalRequests}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${ExpansionItems}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${AccountRequests}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Sources} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccountActivitySearchedItem' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "_type" = ${Type} + "action" = ${Action} + "created" = ${Created} + "modified" = ${Modified} + "stage" = ${Stage} + "origin" = ${Origin} + "status" = ${Status} + "requester" = ${Requester} + "recipient" = ${Recipient} + "trackingNumber" = ${TrackingNumber} + "errors" = ${Errors} + "warnings" = ${Warnings} + "approvals" = ${Approvals} + "originalRequests" = ${OriginalRequests} + "expansionItems" = ${ExpansionItems} + "accountRequests" = ${AccountRequests} + "sources" = ${Sources} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccountActivitySearchedItem + +.DESCRIPTION + +Convert from JSON to AccountActivitySearchedItem + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccountActivitySearchedItem +#> +function ConvertFrom-V2024JsonToAccountActivitySearchedItem { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccountActivitySearchedItem' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccountActivitySearchedItem + $AllProperties = ("id", "name", "_type", "action", "created", "modified", "stage", "origin", "status", "requester", "recipient", "trackingNumber", "errors", "warnings", "approvals", "originalRequests", "expansionItems", "accountRequests", "sources") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'id' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "_type"))) { + throw "Error! JSON cannot be serialized due to the required property '_type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["_type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "action"))) { #optional property not found + $Action = $null + } else { + $Action = $JsonParameters.PSobject.Properties["action"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "stage"))) { #optional property not found + $Stage = $null + } else { + $Stage = $JsonParameters.PSobject.Properties["stage"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "origin"))) { #optional property not found + $Origin = $null + } else { + $Origin = $JsonParameters.PSobject.Properties["origin"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { #optional property not found + $Status = $null + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requester"))) { #optional property not found + $Requester = $null + } else { + $Requester = $JsonParameters.PSobject.Properties["requester"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "recipient"))) { #optional property not found + $Recipient = $null + } else { + $Recipient = $JsonParameters.PSobject.Properties["recipient"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "trackingNumber"))) { #optional property not found + $TrackingNumber = $null + } else { + $TrackingNumber = $JsonParameters.PSobject.Properties["trackingNumber"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "errors"))) { #optional property not found + $Errors = $null + } else { + $Errors = $JsonParameters.PSobject.Properties["errors"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "warnings"))) { #optional property not found + $Warnings = $null + } else { + $Warnings = $JsonParameters.PSobject.Properties["warnings"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "approvals"))) { #optional property not found + $Approvals = $null + } else { + $Approvals = $JsonParameters.PSobject.Properties["approvals"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "originalRequests"))) { #optional property not found + $OriginalRequests = $null + } else { + $OriginalRequests = $JsonParameters.PSobject.Properties["originalRequests"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "expansionItems"))) { #optional property not found + $ExpansionItems = $null + } else { + $ExpansionItems = $JsonParameters.PSobject.Properties["expansionItems"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accountRequests"))) { #optional property not found + $AccountRequests = $null + } else { + $AccountRequests = $JsonParameters.PSobject.Properties["accountRequests"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sources"))) { #optional property not found + $Sources = $null + } else { + $Sources = $JsonParameters.PSobject.Properties["sources"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "_type" = ${Type} + "action" = ${Action} + "created" = ${Created} + "modified" = ${Modified} + "stage" = ${Stage} + "origin" = ${Origin} + "status" = ${Status} + "requester" = ${Requester} + "recipient" = ${Recipient} + "trackingNumber" = ${TrackingNumber} + "errors" = ${Errors} + "warnings" = ${Warnings} + "approvals" = ${Approvals} + "originalRequests" = ${OriginalRequests} + "expansionItems" = ${ExpansionItems} + "accountRequests" = ${AccountRequests} + "sources" = ${Sources} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountAggregationCompleted.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountAggregationCompleted.ps1 new file mode 100644 index 000000000..d300ea318 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountAggregationCompleted.ps1 @@ -0,0 +1,199 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Source +No description available. +.PARAMETER Status +The overall status of the aggregation. +.PARAMETER Started +The date and time when the account aggregation started. +.PARAMETER Completed +The date and time when the account aggregation finished. +.PARAMETER Errors +A list of errors that occurred during the aggregation. +.PARAMETER Warnings +A list of warnings that occurred during the aggregation. +.PARAMETER Stats +No description available. +.OUTPUTS + +AccountAggregationCompleted +#> + +function Initialize-V2024AccountAggregationCompleted { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Source}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("Success", "Failed", "Terminated")] + [PSCustomObject] + ${Status}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.DateTime] + ${Started}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.DateTime] + ${Completed}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Errors}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Warnings}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Stats} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccountAggregationCompleted' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Source) { + throw "invalid value for 'Source', 'Source' cannot be null." + } + + if (!$Status) { + throw "invalid value for 'Status', 'Status' cannot be null." + } + + if (!$Started) { + throw "invalid value for 'Started', 'Started' cannot be null." + } + + if (!$Completed) { + throw "invalid value for 'Completed', 'Completed' cannot be null." + } + + if (!$Stats) { + throw "invalid value for 'Stats', 'Stats' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "source" = ${Source} + "status" = ${Status} + "started" = ${Started} + "completed" = ${Completed} + "errors" = ${Errors} + "warnings" = ${Warnings} + "stats" = ${Stats} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccountAggregationCompleted + +.DESCRIPTION + +Convert from JSON to AccountAggregationCompleted + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccountAggregationCompleted +#> +function ConvertFrom-V2024JsonToAccountAggregationCompleted { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccountAggregationCompleted' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccountAggregationCompleted + $AllProperties = ("source", "status", "started", "completed", "errors", "warnings", "stats") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'source' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "source"))) { + throw "Error! JSON cannot be serialized due to the required property 'source' missing." + } else { + $Source = $JsonParameters.PSobject.Properties["source"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { + throw "Error! JSON cannot be serialized due to the required property 'status' missing." + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "started"))) { + throw "Error! JSON cannot be serialized due to the required property 'started' missing." + } else { + $Started = $JsonParameters.PSobject.Properties["started"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "completed"))) { + throw "Error! JSON cannot be serialized due to the required property 'completed' missing." + } else { + $Completed = $JsonParameters.PSobject.Properties["completed"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "errors"))) { + throw "Error! JSON cannot be serialized due to the required property 'errors' missing." + } else { + $Errors = $JsonParameters.PSobject.Properties["errors"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "warnings"))) { + throw "Error! JSON cannot be serialized due to the required property 'warnings' missing." + } else { + $Warnings = $JsonParameters.PSobject.Properties["warnings"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "stats"))) { + throw "Error! JSON cannot be serialized due to the required property 'stats' missing." + } else { + $Stats = $JsonParameters.PSobject.Properties["stats"].value + } + + $PSO = [PSCustomObject]@{ + "source" = ${Source} + "status" = ${Status} + "started" = ${Started} + "completed" = ${Completed} + "errors" = ${Errors} + "warnings" = ${Warnings} + "stats" = ${Stats} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountAggregationCompletedSource.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountAggregationCompletedSource.ps1 new file mode 100644 index 000000000..c461c9840 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountAggregationCompletedSource.ps1 @@ -0,0 +1,139 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +The source the accounts are being aggregated from. + +.PARAMETER Type +The DTO type of the source the accounts are being aggregated from. +.PARAMETER Id +The ID of the source the accounts are being aggregated from. +.PARAMETER Name +Display name of the source the accounts are being aggregated from. +.OUTPUTS + +AccountAggregationCompletedSource +#> + +function Initialize-V2024AccountAggregationCompletedSource { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("SOURCE")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccountAggregationCompletedSource' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccountAggregationCompletedSource + +.DESCRIPTION + +Convert from JSON to AccountAggregationCompletedSource + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccountAggregationCompletedSource +#> +function ConvertFrom-V2024JsonToAccountAggregationCompletedSource { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccountAggregationCompletedSource' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccountAggregationCompletedSource + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'type' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountAggregationCompletedStats.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountAggregationCompletedStats.ps1 new file mode 100644 index 000000000..3c906c172 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountAggregationCompletedStats.ps1 @@ -0,0 +1,212 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Overall statistics about the account aggregation. + +.PARAMETER Scanned +The number of accounts which were scanned / iterated over. +.PARAMETER Unchanged +The number of accounts which existed before, but had no changes. +.PARAMETER Changed +The number of accounts which existed before, but had changes. +.PARAMETER Added +The number of accounts which are new - have not existed before. +.PARAMETER Removed +The number accounts which existed before, but no longer exist (thus getting removed). +.OUTPUTS + +AccountAggregationCompletedStats +#> + +function Initialize-V2024AccountAggregationCompletedStats { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Int32] + ${Scanned}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Int32] + ${Unchanged}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Int32] + ${Changed}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Int32] + ${Added}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Int32] + ${Removed} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccountAggregationCompletedStats' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Scanned) { + throw "invalid value for 'Scanned', 'Scanned' cannot be null." + } + + if ($Scanned -gt 2147483647) { + throw "invalid value for 'Scanned', must be smaller than or equal to 2147483647." + } + + if ($Scanned -lt 0) { + throw "invalid value for 'Scanned', must be greater than or equal to 0." + } + + if (!$Unchanged) { + throw "invalid value for 'Unchanged', 'Unchanged' cannot be null." + } + + if ($Unchanged -gt 2147483647) { + throw "invalid value for 'Unchanged', must be smaller than or equal to 2147483647." + } + + if ($Unchanged -lt 0) { + throw "invalid value for 'Unchanged', must be greater than or equal to 0." + } + + if (!$Changed) { + throw "invalid value for 'Changed', 'Changed' cannot be null." + } + + if ($Changed -gt 2147483647) { + throw "invalid value for 'Changed', must be smaller than or equal to 2147483647." + } + + if ($Changed -lt 0) { + throw "invalid value for 'Changed', must be greater than or equal to 0." + } + + if (!$Added) { + throw "invalid value for 'Added', 'Added' cannot be null." + } + + if ($Added -gt 2147483647) { + throw "invalid value for 'Added', must be smaller than or equal to 2147483647." + } + + if ($Added -lt 0) { + throw "invalid value for 'Added', must be greater than or equal to 0." + } + + if (!$Removed) { + throw "invalid value for 'Removed', 'Removed' cannot be null." + } + + if ($Removed -gt 2147483647) { + throw "invalid value for 'Removed', must be smaller than or equal to 2147483647." + } + + if ($Removed -lt 0) { + throw "invalid value for 'Removed', must be greater than or equal to 0." + } + + + $PSO = [PSCustomObject]@{ + "scanned" = ${Scanned} + "unchanged" = ${Unchanged} + "changed" = ${Changed} + "added" = ${Added} + "removed" = ${Removed} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccountAggregationCompletedStats + +.DESCRIPTION + +Convert from JSON to AccountAggregationCompletedStats + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccountAggregationCompletedStats +#> +function ConvertFrom-V2024JsonToAccountAggregationCompletedStats { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccountAggregationCompletedStats' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccountAggregationCompletedStats + $AllProperties = ("scanned", "unchanged", "changed", "added", "removed") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'scanned' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "scanned"))) { + throw "Error! JSON cannot be serialized due to the required property 'scanned' missing." + } else { + $Scanned = $JsonParameters.PSobject.Properties["scanned"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "unchanged"))) { + throw "Error! JSON cannot be serialized due to the required property 'unchanged' missing." + } else { + $Unchanged = $JsonParameters.PSobject.Properties["unchanged"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "changed"))) { + throw "Error! JSON cannot be serialized due to the required property 'changed' missing." + } else { + $Changed = $JsonParameters.PSobject.Properties["changed"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "added"))) { + throw "Error! JSON cannot be serialized due to the required property 'added' missing." + } else { + $Added = $JsonParameters.PSobject.Properties["added"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "removed"))) { + throw "Error! JSON cannot be serialized due to the required property 'removed' missing." + } else { + $Removed = $JsonParameters.PSobject.Properties["removed"].value + } + + $PSO = [PSCustomObject]@{ + "scanned" = ${Scanned} + "unchanged" = ${Unchanged} + "changed" = ${Changed} + "added" = ${Added} + "removed" = ${Removed} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountAggregationStatus.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountAggregationStatus.ps1 new file mode 100644 index 000000000..2c0bab449 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountAggregationStatus.ps1 @@ -0,0 +1,136 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Start +When the aggregation started. +.PARAMETER Status +STARTED - Aggregation started, but source account iteration has not completed. ACCOUNTS_COLLECTED - Source account iteration completed, but all accounts have not yet been processed. COMPLETED - Aggregation completed (*possibly with errors*). CANCELLED - Aggregation cancelled by user. RETRIED - Aggregation retried because of connectivity issues with the Virtual Appliance. TERMINATED - Aggregation marked as failed after 3 tries after connectivity issues with the Virtual Appliance. +.PARAMETER TotalAccounts +The total number of *NEW, CHANGED and DELETED* accounts that need to be processed for this aggregation. This does not include accounts that were unchanged since the previous aggregation. This can be zero if there were no new, changed or deleted accounts since the previous aggregation. *Only available when status is ACCOUNTS_COLLECTED or COMPLETED.* +.PARAMETER ProcessedAccounts +The number of *NEW, CHANGED and DELETED* accounts that have been processed so far. This reflects the number of accounts that have been processed at the time of the API call, and may increase on subsequent API calls while the status is ACCOUNTS_COLLECTED. *Only available when status is ACCOUNTS_COLLECTED or COMPLETED.* +.OUTPUTS + +AccountAggregationStatus +#> + +function Initialize-V2024AccountAggregationStatus { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Start}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("STARTED", "ACCOUNTS_COLLECTED", "COMPLETED", "CANCELLED", "RETRIED", "TERMINATED")] + [String] + ${Status}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${TotalAccounts}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${ProcessedAccounts} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccountAggregationStatus' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "start" = ${Start} + "status" = ${Status} + "totalAccounts" = ${TotalAccounts} + "processedAccounts" = ${ProcessedAccounts} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccountAggregationStatus + +.DESCRIPTION + +Convert from JSON to AccountAggregationStatus + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccountAggregationStatus +#> +function ConvertFrom-V2024JsonToAccountAggregationStatus { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccountAggregationStatus' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccountAggregationStatus + $AllProperties = ("start", "status", "totalAccounts", "processedAccounts") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "start"))) { #optional property not found + $Start = $null + } else { + $Start = $JsonParameters.PSobject.Properties["start"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { #optional property not found + $Status = $null + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "totalAccounts"))) { #optional property not found + $TotalAccounts = $null + } else { + $TotalAccounts = $JsonParameters.PSobject.Properties["totalAccounts"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "processedAccounts"))) { #optional property not found + $ProcessedAccounts = $null + } else { + $ProcessedAccounts = $JsonParameters.PSobject.Properties["processedAccounts"].value + } + + $PSO = [PSCustomObject]@{ + "start" = ${Start} + "status" = ${Status} + "totalAccounts" = ${TotalAccounts} + "processedAccounts" = ${ProcessedAccounts} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountAllOfOwnerGroup.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountAllOfOwnerGroup.ps1 new file mode 100644 index 000000000..2823e1382 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountAllOfOwnerGroup.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +The governance group who owns this account, typically used for non-human accounts + +.PARAMETER Type +The type of object being referenced +.PARAMETER Id +ID of the governance group +.PARAMETER Name +Human-readable display name of the governance group +.OUTPUTS + +AccountAllOfOwnerGroup +#> + +function Initialize-V2024AccountAllOfOwnerGroup { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("GOVERNANCE_GROUP")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccountAllOfOwnerGroup' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccountAllOfOwnerGroup + +.DESCRIPTION + +Convert from JSON to AccountAllOfOwnerGroup + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccountAllOfOwnerGroup +#> +function ConvertFrom-V2024JsonToAccountAllOfOwnerGroup { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccountAllOfOwnerGroup' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccountAllOfOwnerGroup + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountAllOfOwnerIdentity.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountAllOfOwnerIdentity.ps1 new file mode 100644 index 000000000..cedaca9b3 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountAllOfOwnerIdentity.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +The identity who owns this account, typically used for non-human accounts + +.PARAMETER Type +The type of object being referenced +.PARAMETER Id +ID of the identity +.PARAMETER Name +Human-readable display name of the identity +.OUTPUTS + +AccountAllOfOwnerIdentity +#> + +function Initialize-V2024AccountAllOfOwnerIdentity { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccountAllOfOwnerIdentity' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccountAllOfOwnerIdentity + +.DESCRIPTION + +Convert from JSON to AccountAllOfOwnerIdentity + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccountAllOfOwnerIdentity +#> +function ConvertFrom-V2024JsonToAccountAllOfOwnerIdentity { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccountAllOfOwnerIdentity' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccountAllOfOwnerIdentity + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountAllOfSourceOwner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountAllOfSourceOwner.ps1 new file mode 100644 index 000000000..d3fd31a1d --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountAllOfSourceOwner.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +The owner of this object. + +.PARAMETER Type +Type of owner object. +.PARAMETER Id +Identity id +.PARAMETER Name +Human-readable display name of the owner. +.OUTPUTS + +AccountAllOfSourceOwner +#> + +function Initialize-V2024AccountAllOfSourceOwner { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccountAllOfSourceOwner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccountAllOfSourceOwner + +.DESCRIPTION + +Convert from JSON to AccountAllOfSourceOwner + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccountAllOfSourceOwner +#> +function ConvertFrom-V2024JsonToAccountAllOfSourceOwner { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccountAllOfSourceOwner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccountAllOfSourceOwner + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountAttribute.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountAttribute.ps1 new file mode 100644 index 000000000..e63f47006 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountAttribute.ps1 @@ -0,0 +1,212 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER SourceName +A reference to the source to search for the account +.PARAMETER AttributeName +The name of the attribute on the account to return. This should match the name of the account attribute name visible in the user interface, or on the source schema. +.PARAMETER AccountSortAttribute +The value of this configuration is a string name of the attribute to use when determining the ordering of returned accounts when there are multiple entries +.PARAMETER AccountSortDescending +The value of this configuration is a boolean (true/false). Controls the order of the sort when there are multiple accounts. If not defined, the transform will default to false (ascending order) +.PARAMETER AccountReturnFirstLink +The value of this configuration is a boolean (true/false). Controls which account to source a value from for an attribute. If this flag is set to true, the transform returns the value from the first account in the list, even if it is null. If it is set to false, the transform returns the first non-null value. If not defined, the transform will default to false +.PARAMETER AccountFilter +This expression queries the database to narrow search results. The value of this configuration is a sailpoint.object.Filter expression and used when searching against the database. The default filter will always include the source and identity, and any subsequent expressions will be combined in an AND operation to the existing search criteria. Only certain searchable attributes are available: - `nativeIdentity` - the Account ID - `displayName` - the Account Name - `entitlements` - a boolean value to determine if the account has entitlements +.PARAMETER AccountPropertyFilter +This expression is used to search and filter accounts in memory. The value of this configuration is a sailpoint.object.Filter expression and used when searching against the returned resultset. All account attributes are available for filtering as this operation is performed in memory. +.PARAMETER RequiresPeriodicRefresh +A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process +.PARAMETER VarInput +This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI. +.OUTPUTS + +AccountAttribute +#> + +function Initialize-V2024AccountAttribute { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SourceName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AttributeName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AccountSortAttribute} = "created", + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${AccountSortDescending} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${AccountReturnFirstLink} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AccountFilter}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AccountPropertyFilter}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${RequiresPeriodicRefresh} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${VarInput} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccountAttribute' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$SourceName) { + throw "invalid value for 'SourceName', 'SourceName' cannot be null." + } + + if (!$AttributeName) { + throw "invalid value for 'AttributeName', 'AttributeName' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "sourceName" = ${SourceName} + "attributeName" = ${AttributeName} + "accountSortAttribute" = ${AccountSortAttribute} + "accountSortDescending" = ${AccountSortDescending} + "accountReturnFirstLink" = ${AccountReturnFirstLink} + "accountFilter" = ${AccountFilter} + "accountPropertyFilter" = ${AccountPropertyFilter} + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + "input" = ${VarInput} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccountAttribute + +.DESCRIPTION + +Convert from JSON to AccountAttribute + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccountAttribute +#> +function ConvertFrom-V2024JsonToAccountAttribute { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccountAttribute' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccountAttribute + $AllProperties = ("sourceName", "attributeName", "accountSortAttribute", "accountSortDescending", "accountReturnFirstLink", "accountFilter", "accountPropertyFilter", "requiresPeriodicRefresh", "input") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'sourceName' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceName"))) { + throw "Error! JSON cannot be serialized due to the required property 'sourceName' missing." + } else { + $SourceName = $JsonParameters.PSobject.Properties["sourceName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributeName"))) { + throw "Error! JSON cannot be serialized due to the required property 'attributeName' missing." + } else { + $AttributeName = $JsonParameters.PSobject.Properties["attributeName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accountSortAttribute"))) { #optional property not found + $AccountSortAttribute = $null + } else { + $AccountSortAttribute = $JsonParameters.PSobject.Properties["accountSortAttribute"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accountSortDescending"))) { #optional property not found + $AccountSortDescending = $null + } else { + $AccountSortDescending = $JsonParameters.PSobject.Properties["accountSortDescending"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accountReturnFirstLink"))) { #optional property not found + $AccountReturnFirstLink = $null + } else { + $AccountReturnFirstLink = $JsonParameters.PSobject.Properties["accountReturnFirstLink"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accountFilter"))) { #optional property not found + $AccountFilter = $null + } else { + $AccountFilter = $JsonParameters.PSobject.Properties["accountFilter"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accountPropertyFilter"))) { #optional property not found + $AccountPropertyFilter = $null + } else { + $AccountPropertyFilter = $JsonParameters.PSobject.Properties["accountPropertyFilter"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requiresPeriodicRefresh"))) { #optional property not found + $RequiresPeriodicRefresh = $null + } else { + $RequiresPeriodicRefresh = $JsonParameters.PSobject.Properties["requiresPeriodicRefresh"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "input"))) { #optional property not found + $VarInput = $null + } else { + $VarInput = $JsonParameters.PSobject.Properties["input"].value + } + + $PSO = [PSCustomObject]@{ + "sourceName" = ${SourceName} + "attributeName" = ${AttributeName} + "accountSortAttribute" = ${AccountSortAttribute} + "accountSortDescending" = ${AccountSortDescending} + "accountReturnFirstLink" = ${AccountReturnFirstLink} + "accountFilter" = ${AccountFilter} + "accountPropertyFilter" = ${AccountPropertyFilter} + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + "input" = ${VarInput} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountAttributes.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountAttributes.ps1 new file mode 100644 index 000000000..fed6bc64a --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountAttributes.ps1 @@ -0,0 +1,104 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Attributes +The schema attribute values for the account +.OUTPUTS + +AccountAttributes +#> + +function Initialize-V2024AccountAttributes { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${Attributes} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccountAttributes' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Attributes) { + throw "invalid value for 'Attributes', 'Attributes' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "attributes" = ${Attributes} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccountAttributes + +.DESCRIPTION + +Convert from JSON to AccountAttributes + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccountAttributes +#> +function ConvertFrom-V2024JsonToAccountAttributes { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccountAttributes' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccountAttributes + $AllProperties = ("attributes") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'attributes' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributes"))) { + throw "Error! JSON cannot be serialized due to the required property 'attributes' missing." + } else { + $Attributes = $JsonParameters.PSobject.Properties["attributes"].value + } + + $PSO = [PSCustomObject]@{ + "attributes" = ${Attributes} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountAttributesChanged.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountAttributesChanged.ps1 new file mode 100644 index 000000000..831d70982 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountAttributesChanged.ps1 @@ -0,0 +1,155 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Identity +No description available. +.PARAMETER Source +No description available. +.PARAMETER Account +No description available. +.PARAMETER Changes +A list of attributes that changed. +.OUTPUTS + +AccountAttributesChanged +#> + +function Initialize-V2024AccountAttributesChanged { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Identity}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Source}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Account}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Changes} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccountAttributesChanged' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Identity) { + throw "invalid value for 'Identity', 'Identity' cannot be null." + } + + if (!$Source) { + throw "invalid value for 'Source', 'Source' cannot be null." + } + + if (!$Account) { + throw "invalid value for 'Account', 'Account' cannot be null." + } + + if (!$Changes) { + throw "invalid value for 'Changes', 'Changes' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "identity" = ${Identity} + "source" = ${Source} + "account" = ${Account} + "changes" = ${Changes} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccountAttributesChanged + +.DESCRIPTION + +Convert from JSON to AccountAttributesChanged + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccountAttributesChanged +#> +function ConvertFrom-V2024JsonToAccountAttributesChanged { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccountAttributesChanged' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccountAttributesChanged + $AllProperties = ("identity", "source", "account", "changes") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'identity' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identity"))) { + throw "Error! JSON cannot be serialized due to the required property 'identity' missing." + } else { + $Identity = $JsonParameters.PSobject.Properties["identity"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "source"))) { + throw "Error! JSON cannot be serialized due to the required property 'source' missing." + } else { + $Source = $JsonParameters.PSobject.Properties["source"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "account"))) { + throw "Error! JSON cannot be serialized due to the required property 'account' missing." + } else { + $Account = $JsonParameters.PSobject.Properties["account"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "changes"))) { + throw "Error! JSON cannot be serialized due to the required property 'changes' missing." + } else { + $Changes = $JsonParameters.PSobject.Properties["changes"].value + } + + $PSO = [PSCustomObject]@{ + "identity" = ${Identity} + "source" = ${Source} + "account" = ${Account} + "changes" = ${Changes} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountAttributesChangedAccount.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountAttributesChangedAccount.ps1 new file mode 100644 index 000000000..04e8f6fab --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountAttributesChangedAccount.ps1 @@ -0,0 +1,169 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Details of the account where the attributes changed. + +.PARAMETER Id +SailPoint generated unique identifier. +.PARAMETER Uuid +The source's unique identifier for the account. UUID is generated by the source system. +.PARAMETER Name +Name of the account. +.PARAMETER NativeIdentity +Unique ID of the account on the source. +.PARAMETER Type +The type of the account +.OUTPUTS + +AccountAttributesChangedAccount +#> + +function Initialize-V2024AccountAttributesChangedAccount { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Uuid}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${NativeIdentity}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ACCOUNT")] + [PSCustomObject] + ${Type} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccountAttributesChangedAccount' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if (!$NativeIdentity) { + throw "invalid value for 'NativeIdentity', 'NativeIdentity' cannot be null." + } + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "uuid" = ${Uuid} + "name" = ${Name} + "nativeIdentity" = ${NativeIdentity} + "type" = ${Type} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccountAttributesChangedAccount + +.DESCRIPTION + +Convert from JSON to AccountAttributesChangedAccount + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccountAttributesChangedAccount +#> +function ConvertFrom-V2024JsonToAccountAttributesChangedAccount { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccountAttributesChangedAccount' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccountAttributesChangedAccount + $AllProperties = ("id", "uuid", "name", "nativeIdentity", "type") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'id' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "uuid"))) { + throw "Error! JSON cannot be serialized due to the required property 'uuid' missing." + } else { + $Uuid = $JsonParameters.PSobject.Properties["uuid"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "nativeIdentity"))) { + throw "Error! JSON cannot be serialized due to the required property 'nativeIdentity' missing." + } else { + $NativeIdentity = $JsonParameters.PSobject.Properties["nativeIdentity"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "uuid" = ${Uuid} + "name" = ${Name} + "nativeIdentity" = ${NativeIdentity} + "type" = ${Type} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountAttributesChangedChangesInner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountAttributesChangedChangesInner.ps1 new file mode 100644 index 000000000..2d79d0553 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountAttributesChangedChangesInner.ps1 @@ -0,0 +1,130 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Attribute +The name of the attribute. +.PARAMETER OldValue +No description available. +.PARAMETER NewValue +No description available. +.OUTPUTS + +AccountAttributesChangedChangesInner +#> + +function Initialize-V2024AccountAttributesChangedChangesInner { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Attribute}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${OldValue}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${NewValue} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccountAttributesChangedChangesInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Attribute) { + throw "invalid value for 'Attribute', 'Attribute' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "attribute" = ${Attribute} + "oldValue" = ${OldValue} + "newValue" = ${NewValue} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccountAttributesChangedChangesInner + +.DESCRIPTION + +Convert from JSON to AccountAttributesChangedChangesInner + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccountAttributesChangedChangesInner +#> +function ConvertFrom-V2024JsonToAccountAttributesChangedChangesInner { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccountAttributesChangedChangesInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccountAttributesChangedChangesInner + $AllProperties = ("attribute", "oldValue", "newValue") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'attribute' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attribute"))) { + throw "Error! JSON cannot be serialized due to the required property 'attribute' missing." + } else { + $Attribute = $JsonParameters.PSobject.Properties["attribute"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "oldValue"))) { + throw "Error! JSON cannot be serialized due to the required property 'oldValue' missing." + } else { + $OldValue = $JsonParameters.PSobject.Properties["oldValue"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "newValue"))) { + throw "Error! JSON cannot be serialized due to the required property 'newValue' missing." + } else { + $NewValue = $JsonParameters.PSobject.Properties["newValue"].value + } + + $PSO = [PSCustomObject]@{ + "attribute" = ${Attribute} + "oldValue" = ${OldValue} + "newValue" = ${NewValue} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountAttributesChangedChangesInnerNewValue.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountAttributesChangedChangesInnerNewValue.ps1 new file mode 100644 index 000000000..18f925bb4 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountAttributesChangedChangesInnerNewValue.ps1 @@ -0,0 +1,107 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +The new value of the attribute. + +.PARAMETER Json + +JSON object + +.OUTPUTS + +AccountAttributesChangedChangesInnerNewValue +#> +function ConvertFrom-V2024JsonToAccountAttributesChangedChangesInnerNewValue { + [CmdletBinding()] + Param ( + [AllowEmptyString()] + [string]$Json + ) + + Process { + $match = 0 + $matchType = $null + $matchInstance = $null + + # nullable check + if ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { + return [PSCustomObject]@{ + "ActualType" = $null + "ActualInstance" = $null + "OneOfSchemas" = @("Boolean", "String", "String[]") + } + } + + # try to match Boolean defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToBoolean $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "Boolean" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'Boolean' defined in oneOf (V2024AccountAttributesChangedChangesInnerNewValue). Proceeding to the next one if any." + } + + # try to match String defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToString $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "String" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'String' defined in oneOf (V2024AccountAttributesChangedChangesInnerNewValue). Proceeding to the next one if any." + } + + # try to match String[] defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToString[] $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "String[]" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'String[]' defined in oneOf (V2024AccountAttributesChangedChangesInnerNewValue). Proceeding to the next one if any." + } + + if ($match -gt 1) { + throw "Error! The JSON payload matches more than one type defined in oneOf schemas ([Boolean, String, String[]]). JSON Payload: $($Json)" + } elseif ($match -eq 1) { + return [PSCustomObject]@{ + "ActualType" = ${matchType} + "ActualInstance" = ${matchInstance} + "OneOfSchemas" = @("Boolean", "String", "String[]") + } + } else { + throw "Error! The JSON payload doesn't matches any type defined in oneOf schemas ([Boolean, String, String[]]). JSON Payload: $($Json)" + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountAttributesChangedChangesInnerOldValue.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountAttributesChangedChangesInnerOldValue.ps1 new file mode 100644 index 000000000..084172e44 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountAttributesChangedChangesInnerOldValue.ps1 @@ -0,0 +1,107 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +The previous value of the attribute. + +.PARAMETER Json + +JSON object + +.OUTPUTS + +AccountAttributesChangedChangesInnerOldValue +#> +function ConvertFrom-V2024JsonToAccountAttributesChangedChangesInnerOldValue { + [CmdletBinding()] + Param ( + [AllowEmptyString()] + [string]$Json + ) + + Process { + $match = 0 + $matchType = $null + $matchInstance = $null + + # nullable check + if ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { + return [PSCustomObject]@{ + "ActualType" = $null + "ActualInstance" = $null + "OneOfSchemas" = @("Boolean", "String", "String[]") + } + } + + # try to match Boolean defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToBoolean $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "Boolean" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'Boolean' defined in oneOf (V2024AccountAttributesChangedChangesInnerOldValue). Proceeding to the next one if any." + } + + # try to match String defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToString $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "String" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'String' defined in oneOf (V2024AccountAttributesChangedChangesInnerOldValue). Proceeding to the next one if any." + } + + # try to match String[] defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToString[] $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "String[]" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'String[]' defined in oneOf (V2024AccountAttributesChangedChangesInnerOldValue). Proceeding to the next one if any." + } + + if ($match -gt 1) { + throw "Error! The JSON payload matches more than one type defined in oneOf schemas ([Boolean, String, String[]]). JSON Payload: $($Json)" + } elseif ($match -eq 1) { + return [PSCustomObject]@{ + "ActualType" = ${matchType} + "ActualInstance" = ${matchInstance} + "OneOfSchemas" = @("Boolean", "String", "String[]") + } + } else { + throw "Error! The JSON payload doesn't matches any type defined in oneOf schemas ([Boolean, String, String[]]). JSON Payload: $($Json)" + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountAttributesChangedIdentity.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountAttributesChangedIdentity.ps1 new file mode 100644 index 000000000..332e230ad --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountAttributesChangedIdentity.ps1 @@ -0,0 +1,139 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +The identity whose account attributes were updated. + +.PARAMETER Type +DTO type of the identity whose account attributes were updated. +.PARAMETER Id +ID of the identity whose account attributes were updated. +.PARAMETER Name +Display name of the identity whose account attributes were updated. +.OUTPUTS + +AccountAttributesChangedIdentity +#> + +function Initialize-V2024AccountAttributesChangedIdentity { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccountAttributesChangedIdentity' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccountAttributesChangedIdentity + +.DESCRIPTION + +Convert from JSON to AccountAttributesChangedIdentity + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccountAttributesChangedIdentity +#> +function ConvertFrom-V2024JsonToAccountAttributesChangedIdentity { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccountAttributesChangedIdentity' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccountAttributesChangedIdentity + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'type' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountAttributesChangedSource.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountAttributesChangedSource.ps1 new file mode 100644 index 000000000..b4cb3e817 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountAttributesChangedSource.ps1 @@ -0,0 +1,139 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +The source that contains the account. + +.PARAMETER Id +ID of the object to which this reference applies +.PARAMETER Type +The type of object that is referenced +.PARAMETER Name +Human-readable display name of the object to which this reference applies +.OUTPUTS + +AccountAttributesChangedSource +#> + +function Initialize-V2024AccountAttributesChangedSource { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("SOURCE")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccountAttributesChangedSource' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccountAttributesChangedSource + +.DESCRIPTION + +Convert from JSON to AccountAttributesChangedSource + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccountAttributesChangedSource +#> +function ConvertFrom-V2024JsonToAccountAttributesChangedSource { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccountAttributesChangedSource' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccountAttributesChangedSource + $AllProperties = ("id", "type", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'id' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountAttributesCreate.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountAttributesCreate.ps1 new file mode 100644 index 000000000..482dca2d0 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountAttributesCreate.ps1 @@ -0,0 +1,104 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Attributes +No description available. +.OUTPUTS + +AccountAttributesCreate +#> + +function Initialize-V2024AccountAttributesCreate { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Attributes} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccountAttributesCreate' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Attributes) { + throw "invalid value for 'Attributes', 'Attributes' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "attributes" = ${Attributes} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccountAttributesCreate + +.DESCRIPTION + +Convert from JSON to AccountAttributesCreate + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccountAttributesCreate +#> +function ConvertFrom-V2024JsonToAccountAttributesCreate { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccountAttributesCreate' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccountAttributesCreate + $AllProperties = ("attributes") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'attributes' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributes"))) { + throw "Error! JSON cannot be serialized due to the required property 'attributes' missing." + } else { + $Attributes = $JsonParameters.PSobject.Properties["attributes"].value + } + + $PSO = [PSCustomObject]@{ + "attributes" = ${Attributes} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountAttributesCreateAttributes.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountAttributesCreateAttributes.ps1 new file mode 100644 index 000000000..1f382387e --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountAttributesCreateAttributes.ps1 @@ -0,0 +1,107 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +The schema attribute values for the account + +.PARAMETER SourceId +Target source to create an account +.OUTPUTS + +AccountAttributesCreateAttributes +#> + +function Initialize-V2024AccountAttributesCreateAttributes { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SourceId} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccountAttributesCreateAttributes' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$SourceId) { + throw "invalid value for 'SourceId', 'SourceId' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "sourceId" = ${SourceId} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccountAttributesCreateAttributes + +.DESCRIPTION + +Convert from JSON to AccountAttributesCreateAttributes + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccountAttributesCreateAttributes +#> +function ConvertFrom-V2024JsonToAccountAttributesCreateAttributes { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccountAttributesCreateAttributes' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + $V2024AccountAttributesCreateAttributesAdditionalProperties = @{} + + # check if Json contains properties not defined in V2024AccountAttributesCreateAttributes + $AllProperties = ("sourceId") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + # store undefined properties in additionalProperties + if (!($AllProperties.Contains($name))) { + $V2024AccountAttributesCreateAttributesAdditionalProperties[$name] = $JsonParameters.PSobject.Properties[$name].value + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'sourceId' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceId"))) { + throw "Error! JSON cannot be serialized due to the required property 'sourceId' missing." + } else { + $SourceId = $JsonParameters.PSobject.Properties["sourceId"].value + } + + $PSO = [PSCustomObject]@{ + "sourceId" = ${SourceId} + "AdditionalProperties" = $V2024AccountAttributesCreateAttributesAdditionalProperties + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountCorrelated.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountCorrelated.ps1 new file mode 100644 index 000000000..2c033e9bd --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountCorrelated.ps1 @@ -0,0 +1,168 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Identity +No description available. +.PARAMETER Source +No description available. +.PARAMETER Account +No description available. +.PARAMETER Attributes +The attributes associated with the account. Attributes are unique per source. +.PARAMETER EntitlementCount +The number of entitlements associated with this account. +.OUTPUTS + +AccountCorrelated +#> + +function Initialize-V2024AccountCorrelated { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Identity}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Source}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Account}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${Attributes}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${EntitlementCount} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccountCorrelated' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Identity) { + throw "invalid value for 'Identity', 'Identity' cannot be null." + } + + if (!$Source) { + throw "invalid value for 'Source', 'Source' cannot be null." + } + + if (!$Account) { + throw "invalid value for 'Account', 'Account' cannot be null." + } + + if (!$Attributes) { + throw "invalid value for 'Attributes', 'Attributes' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "identity" = ${Identity} + "source" = ${Source} + "account" = ${Account} + "attributes" = ${Attributes} + "entitlementCount" = ${EntitlementCount} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccountCorrelated + +.DESCRIPTION + +Convert from JSON to AccountCorrelated + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccountCorrelated +#> +function ConvertFrom-V2024JsonToAccountCorrelated { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccountCorrelated' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccountCorrelated + $AllProperties = ("identity", "source", "account", "attributes", "entitlementCount") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'identity' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identity"))) { + throw "Error! JSON cannot be serialized due to the required property 'identity' missing." + } else { + $Identity = $JsonParameters.PSobject.Properties["identity"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "source"))) { + throw "Error! JSON cannot be serialized due to the required property 'source' missing." + } else { + $Source = $JsonParameters.PSobject.Properties["source"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "account"))) { + throw "Error! JSON cannot be serialized due to the required property 'account' missing." + } else { + $Account = $JsonParameters.PSobject.Properties["account"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributes"))) { + throw "Error! JSON cannot be serialized due to the required property 'attributes' missing." + } else { + $Attributes = $JsonParameters.PSobject.Properties["attributes"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "entitlementCount"))) { #optional property not found + $EntitlementCount = $null + } else { + $EntitlementCount = $JsonParameters.PSobject.Properties["entitlementCount"].value + } + + $PSO = [PSCustomObject]@{ + "identity" = ${Identity} + "source" = ${Source} + "account" = ${Account} + "attributes" = ${Attributes} + "entitlementCount" = ${EntitlementCount} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountCorrelatedAccount.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountCorrelatedAccount.ps1 new file mode 100644 index 000000000..0469e8df6 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountCorrelatedAccount.ps1 @@ -0,0 +1,169 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +The correlated account. + +.PARAMETER Type +The correlated account's DTO type. +.PARAMETER Id +The correlated account's ID. +.PARAMETER Name +The correlated account's display name. +.PARAMETER NativeIdentity +Unique ID of the account on the source. +.PARAMETER Uuid +The source's unique identifier for the account. UUID is generated by the source system. +.OUTPUTS + +AccountCorrelatedAccount +#> + +function Initialize-V2024AccountCorrelatedAccount { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ACCOUNT")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${NativeIdentity}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Uuid} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccountCorrelatedAccount' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if (!$NativeIdentity) { + throw "invalid value for 'NativeIdentity', 'NativeIdentity' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + "nativeIdentity" = ${NativeIdentity} + "uuid" = ${Uuid} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccountCorrelatedAccount + +.DESCRIPTION + +Convert from JSON to AccountCorrelatedAccount + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccountCorrelatedAccount +#> +function ConvertFrom-V2024JsonToAccountCorrelatedAccount { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccountCorrelatedAccount' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccountCorrelatedAccount + $AllProperties = ("type", "id", "name", "nativeIdentity", "uuid") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'type' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "nativeIdentity"))) { + throw "Error! JSON cannot be serialized due to the required property 'nativeIdentity' missing." + } else { + $NativeIdentity = $JsonParameters.PSobject.Properties["nativeIdentity"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "uuid"))) { #optional property not found + $Uuid = $null + } else { + $Uuid = $JsonParameters.PSobject.Properties["uuid"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + "nativeIdentity" = ${NativeIdentity} + "uuid" = ${Uuid} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountCorrelatedIdentity.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountCorrelatedIdentity.ps1 new file mode 100644 index 000000000..31b50284c --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountCorrelatedIdentity.ps1 @@ -0,0 +1,139 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Identity the account is correlated with. + +.PARAMETER Type +DTO type of the identity the account is correlated with. +.PARAMETER Id +ID of the identity the account is correlated with. +.PARAMETER Name +Display name of the identity the account is correlated with. +.OUTPUTS + +AccountCorrelatedIdentity +#> + +function Initialize-V2024AccountCorrelatedIdentity { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccountCorrelatedIdentity' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccountCorrelatedIdentity + +.DESCRIPTION + +Convert from JSON to AccountCorrelatedIdentity + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccountCorrelatedIdentity +#> +function ConvertFrom-V2024JsonToAccountCorrelatedIdentity { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccountCorrelatedIdentity' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccountCorrelatedIdentity + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'type' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountCorrelatedSource.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountCorrelatedSource.ps1 new file mode 100644 index 000000000..2aa8092aa --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountCorrelatedSource.ps1 @@ -0,0 +1,139 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +The source the accounts are being correlated from. + +.PARAMETER Type +The DTO type of the source the accounts are being correlated from. +.PARAMETER Id +The ID of the source the accounts are being correlated from. +.PARAMETER Name +Display name of the source the accounts are being correlated from. +.OUTPUTS + +AccountCorrelatedSource +#> + +function Initialize-V2024AccountCorrelatedSource { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("SOURCE")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccountCorrelatedSource' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccountCorrelatedSource + +.DESCRIPTION + +Convert from JSON to AccountCorrelatedSource + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccountCorrelatedSource +#> +function ConvertFrom-V2024JsonToAccountCorrelatedSource { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccountCorrelatedSource' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccountCorrelatedSource + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'type' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountInfoDto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountInfoDto.ps1 new file mode 100644 index 000000000..4b9e5c900 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountInfoDto.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER NativeIdentity +The unique ID of the account generated by the source system +.PARAMETER DisplayName +Display name for this account +.PARAMETER Uuid +UUID associated with this account +.OUTPUTS + +AccountInfoDto +#> + +function Initialize-V2024AccountInfoDto { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${NativeIdentity}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${DisplayName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Uuid} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccountInfoDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "nativeIdentity" = ${NativeIdentity} + "displayName" = ${DisplayName} + "uuid" = ${Uuid} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccountInfoDto + +.DESCRIPTION + +Convert from JSON to AccountInfoDto + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccountInfoDto +#> +function ConvertFrom-V2024JsonToAccountInfoDto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccountInfoDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccountInfoDto + $AllProperties = ("nativeIdentity", "displayName", "uuid") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "nativeIdentity"))) { #optional property not found + $NativeIdentity = $null + } else { + $NativeIdentity = $JsonParameters.PSobject.Properties["nativeIdentity"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "displayName"))) { #optional property not found + $DisplayName = $null + } else { + $DisplayName = $JsonParameters.PSobject.Properties["displayName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "uuid"))) { #optional property not found + $Uuid = $null + } else { + $Uuid = $JsonParameters.PSobject.Properties["uuid"].value + } + + $PSO = [PSCustomObject]@{ + "nativeIdentity" = ${NativeIdentity} + "displayName" = ${DisplayName} + "uuid" = ${Uuid} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountRequest.ps1 new file mode 100644 index 000000000..c1e0fb5de --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountRequest.ps1 @@ -0,0 +1,161 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER AccountId +Unique ID of the account +.PARAMETER AttributeRequests +No description available. +.PARAMETER Op +The operation that was performed +.PARAMETER ProvisioningTarget +No description available. +.PARAMETER Result +No description available. +.PARAMETER Source +No description available. +.OUTPUTS + +AccountRequest +#> + +function Initialize-V2024AccountRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AccountId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${AttributeRequests}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Op}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${ProvisioningTarget}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Result}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Source} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccountRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "accountId" = ${AccountId} + "attributeRequests" = ${AttributeRequests} + "op" = ${Op} + "provisioningTarget" = ${ProvisioningTarget} + "result" = ${Result} + "source" = ${Source} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccountRequest + +.DESCRIPTION + +Convert from JSON to AccountRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccountRequest +#> +function ConvertFrom-V2024JsonToAccountRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccountRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccountRequest + $AllProperties = ("accountId", "attributeRequests", "op", "provisioningTarget", "result", "source") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accountId"))) { #optional property not found + $AccountId = $null + } else { + $AccountId = $JsonParameters.PSobject.Properties["accountId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributeRequests"))) { #optional property not found + $AttributeRequests = $null + } else { + $AttributeRequests = $JsonParameters.PSobject.Properties["attributeRequests"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "op"))) { #optional property not found + $Op = $null + } else { + $Op = $JsonParameters.PSobject.Properties["op"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "provisioningTarget"))) { #optional property not found + $ProvisioningTarget = $null + } else { + $ProvisioningTarget = $JsonParameters.PSobject.Properties["provisioningTarget"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "result"))) { #optional property not found + $Result = $null + } else { + $Result = $JsonParameters.PSobject.Properties["result"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "source"))) { #optional property not found + $Source = $null + } else { + $Source = $JsonParameters.PSobject.Properties["source"].value + } + + $PSO = [PSCustomObject]@{ + "accountId" = ${AccountId} + "attributeRequests" = ${AttributeRequests} + "op" = ${Op} + "provisioningTarget" = ${ProvisioningTarget} + "result" = ${Result} + "source" = ${Source} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountRequestInfo.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountRequestInfo.ps1 new file mode 100644 index 000000000..65757e1b2 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountRequestInfo.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +If an account activity item is associated with an access request, captures details of that request. + +.PARAMETER RequestedObjectId +Id of requested object +.PARAMETER RequestedObjectName +Human-readable name of requested object +.PARAMETER RequestedObjectType +No description available. +.OUTPUTS + +AccountRequestInfo +#> + +function Initialize-V2024AccountRequestInfo { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${RequestedObjectId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${RequestedObjectName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ACCESS_PROFILE", "ROLE", "ENTITLEMENT")] + [PSCustomObject] + ${RequestedObjectType} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccountRequestInfo' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "requestedObjectId" = ${RequestedObjectId} + "requestedObjectName" = ${RequestedObjectName} + "requestedObjectType" = ${RequestedObjectType} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccountRequestInfo + +.DESCRIPTION + +Convert from JSON to AccountRequestInfo + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccountRequestInfo +#> +function ConvertFrom-V2024JsonToAccountRequestInfo { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccountRequestInfo' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccountRequestInfo + $AllProperties = ("requestedObjectId", "requestedObjectName", "requestedObjectType") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requestedObjectId"))) { #optional property not found + $RequestedObjectId = $null + } else { + $RequestedObjectId = $JsonParameters.PSobject.Properties["requestedObjectId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requestedObjectName"))) { #optional property not found + $RequestedObjectName = $null + } else { + $RequestedObjectName = $JsonParameters.PSobject.Properties["requestedObjectName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requestedObjectType"))) { #optional property not found + $RequestedObjectType = $null + } else { + $RequestedObjectType = $JsonParameters.PSobject.Properties["requestedObjectType"].value + } + + $PSO = [PSCustomObject]@{ + "requestedObjectId" = ${RequestedObjectId} + "requestedObjectName" = ${RequestedObjectName} + "requestedObjectType" = ${RequestedObjectType} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountRequestResult.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountRequestResult.ps1 new file mode 100644 index 000000000..b2f6cb4da --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountRequestResult.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Errors +No description available. +.PARAMETER Status +The status of the account request +.PARAMETER TicketId +No description available. +.OUTPUTS + +AccountRequestResult +#> + +function Initialize-V2024AccountRequestResult { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Errors}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Status}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${TicketId} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccountRequestResult' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "errors" = ${Errors} + "status" = ${Status} + "ticketId" = ${TicketId} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccountRequestResult + +.DESCRIPTION + +Convert from JSON to AccountRequestResult + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccountRequestResult +#> +function ConvertFrom-V2024JsonToAccountRequestResult { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccountRequestResult' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccountRequestResult + $AllProperties = ("errors", "status", "ticketId") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "errors"))) { #optional property not found + $Errors = $null + } else { + $Errors = $JsonParameters.PSobject.Properties["errors"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { #optional property not found + $Status = $null + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "ticketId"))) { #optional property not found + $TicketId = $null + } else { + $TicketId = $JsonParameters.PSobject.Properties["ticketId"].value + } + + $PSO = [PSCustomObject]@{ + "errors" = ${Errors} + "status" = ${Status} + "ticketId" = ${TicketId} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountSource.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountSource.ps1 new file mode 100644 index 000000000..e26fca27c --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountSource.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +The unique ID of the referenced object. +.PARAMETER Name +The human readable name of the referenced object. +.PARAMETER Type +Type of source returned. +.OUTPUTS + +AccountSource +#> + +function Initialize-V2024AccountSource { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Type} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccountSource' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "type" = ${Type} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccountSource + +.DESCRIPTION + +Convert from JSON to AccountSource + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccountSource +#> +function ConvertFrom-V2024JsonToAccountSource { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccountSource' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccountSource + $AllProperties = ("id", "name", "type") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "type" = ${Type} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountStatusChanged.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountStatusChanged.ps1 new file mode 100644 index 000000000..9ffd3aa9e --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountStatusChanged.ps1 @@ -0,0 +1,148 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER EventType +the event type +.PARAMETER IdentityId +the identity id +.PARAMETER Dt +the date of event +.PARAMETER Account +No description available. +.PARAMETER StatusChange +No description available. +.OUTPUTS + +AccountStatusChanged +#> + +function Initialize-V2024AccountStatusChanged { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${EventType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${IdentityId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Dt}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Account}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${StatusChange} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccountStatusChanged' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "eventType" = ${EventType} + "identityId" = ${IdentityId} + "dt" = ${Dt} + "account" = ${Account} + "statusChange" = ${StatusChange} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccountStatusChanged + +.DESCRIPTION + +Convert from JSON to AccountStatusChanged + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccountStatusChanged +#> +function ConvertFrom-V2024JsonToAccountStatusChanged { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccountStatusChanged' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccountStatusChanged + $AllProperties = ("eventType", "identityId", "dt", "account", "statusChange") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "eventType"))) { #optional property not found + $EventType = $null + } else { + $EventType = $JsonParameters.PSobject.Properties["eventType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityId"))) { #optional property not found + $IdentityId = $null + } else { + $IdentityId = $JsonParameters.PSobject.Properties["identityId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "dt"))) { #optional property not found + $Dt = $null + } else { + $Dt = $JsonParameters.PSobject.Properties["dt"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "account"))) { #optional property not found + $Account = $null + } else { + $Account = $JsonParameters.PSobject.Properties["account"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "statusChange"))) { #optional property not found + $StatusChange = $null + } else { + $StatusChange = $JsonParameters.PSobject.Properties["statusChange"].value + } + + $PSO = [PSCustomObject]@{ + "eventType" = ${EventType} + "identityId" = ${IdentityId} + "dt" = ${Dt} + "account" = ${Account} + "statusChange" = ${StatusChange} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountStatusChangedAccount.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountStatusChangedAccount.ps1 new file mode 100644 index 000000000..0580eb287 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountStatusChangedAccount.ps1 @@ -0,0 +1,174 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +the ID of the account in the database +.PARAMETER NativeIdentity +the native identifier of the account +.PARAMETER DisplayName +the display name of the account +.PARAMETER SourceId +the ID of the source for this account +.PARAMETER SourceName +the name of the source for this account +.PARAMETER EntitlementCount +the number of entitlements on this account +.PARAMETER AccessType +this value is always ""account"" +.OUTPUTS + +AccountStatusChangedAccount +#> + +function Initialize-V2024AccountStatusChangedAccount { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${NativeIdentity}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${DisplayName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SourceId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SourceName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${EntitlementCount}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AccessType} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccountStatusChangedAccount' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "nativeIdentity" = ${NativeIdentity} + "displayName" = ${DisplayName} + "sourceId" = ${SourceId} + "sourceName" = ${SourceName} + "entitlementCount" = ${EntitlementCount} + "accessType" = ${AccessType} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccountStatusChangedAccount + +.DESCRIPTION + +Convert from JSON to AccountStatusChangedAccount + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccountStatusChangedAccount +#> +function ConvertFrom-V2024JsonToAccountStatusChangedAccount { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccountStatusChangedAccount' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccountStatusChangedAccount + $AllProperties = ("id", "nativeIdentity", "displayName", "sourceId", "sourceName", "entitlementCount", "accessType") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "nativeIdentity"))) { #optional property not found + $NativeIdentity = $null + } else { + $NativeIdentity = $JsonParameters.PSobject.Properties["nativeIdentity"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "displayName"))) { #optional property not found + $DisplayName = $null + } else { + $DisplayName = $JsonParameters.PSobject.Properties["displayName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceId"))) { #optional property not found + $SourceId = $null + } else { + $SourceId = $JsonParameters.PSobject.Properties["sourceId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceName"))) { #optional property not found + $SourceName = $null + } else { + $SourceName = $JsonParameters.PSobject.Properties["sourceName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "entitlementCount"))) { #optional property not found + $EntitlementCount = $null + } else { + $EntitlementCount = $JsonParameters.PSobject.Properties["entitlementCount"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accessType"))) { #optional property not found + $AccessType = $null + } else { + $AccessType = $JsonParameters.PSobject.Properties["accessType"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "nativeIdentity" = ${NativeIdentity} + "displayName" = ${DisplayName} + "sourceId" = ${SourceId} + "sourceName" = ${SourceName} + "entitlementCount" = ${EntitlementCount} + "accessType" = ${AccessType} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountStatusChangedStatusChange.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountStatusChangedStatusChange.ps1 new file mode 100644 index 000000000..38388c3a4 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountStatusChangedStatusChange.ps1 @@ -0,0 +1,111 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER PreviousStatus +the previous status of the account +.PARAMETER NewStatus +the new status of the account +.OUTPUTS + +AccountStatusChangedStatusChange +#> + +function Initialize-V2024AccountStatusChangedStatusChange { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("enabled", "disabled", "locked")] + [String] + ${PreviousStatus}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("enabled", "disabled", "locked")] + [String] + ${NewStatus} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccountStatusChangedStatusChange' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "previousStatus" = ${PreviousStatus} + "newStatus" = ${NewStatus} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccountStatusChangedStatusChange + +.DESCRIPTION + +Convert from JSON to AccountStatusChangedStatusChange + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccountStatusChangedStatusChange +#> +function ConvertFrom-V2024JsonToAccountStatusChangedStatusChange { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccountStatusChangedStatusChange' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccountStatusChangedStatusChange + $AllProperties = ("previousStatus", "newStatus") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "previousStatus"))) { #optional property not found + $PreviousStatus = $null + } else { + $PreviousStatus = $JsonParameters.PSobject.Properties["previousStatus"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "newStatus"))) { #optional property not found + $NewStatus = $null + } else { + $NewStatus = $JsonParameters.PSobject.Properties["newStatus"].value + } + + $PSO = [PSCustomObject]@{ + "previousStatus" = ${PreviousStatus} + "newStatus" = ${NewStatus} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountToggleRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountToggleRequest.ps1 new file mode 100644 index 000000000..82b429bbe --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountToggleRequest.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Request used for account enable/disable + +.PARAMETER ExternalVerificationId +If set, an external process validates that the user wants to proceed with this request. +.PARAMETER ForceProvisioning +If set, provisioning updates the account attribute at the source. This option is used when the account is not synced to ensure the attribute is updated. Providing 'true' for an unlocked account will add and process 'Unlock' operation by the workflow. +.OUTPUTS + +AccountToggleRequest +#> + +function Initialize-V2024AccountToggleRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ExternalVerificationId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${ForceProvisioning} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccountToggleRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "externalVerificationId" = ${ExternalVerificationId} + "forceProvisioning" = ${ForceProvisioning} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccountToggleRequest + +.DESCRIPTION + +Convert from JSON to AccountToggleRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccountToggleRequest +#> +function ConvertFrom-V2024JsonToAccountToggleRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccountToggleRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccountToggleRequest + $AllProperties = ("externalVerificationId", "forceProvisioning") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "externalVerificationId"))) { #optional property not found + $ExternalVerificationId = $null + } else { + $ExternalVerificationId = $JsonParameters.PSobject.Properties["externalVerificationId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "forceProvisioning"))) { #optional property not found + $ForceProvisioning = $null + } else { + $ForceProvisioning = $JsonParameters.PSobject.Properties["forceProvisioning"].value + } + + $PSO = [PSCustomObject]@{ + "externalVerificationId" = ${ExternalVerificationId} + "forceProvisioning" = ${ForceProvisioning} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountUncorrelated.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountUncorrelated.ps1 new file mode 100644 index 000000000..870989b70 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountUncorrelated.ps1 @@ -0,0 +1,151 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Identity +No description available. +.PARAMETER Source +No description available. +.PARAMETER Account +No description available. +.PARAMETER EntitlementCount +The number of entitlements associated with this account. +.OUTPUTS + +AccountUncorrelated +#> + +function Initialize-V2024AccountUncorrelated { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Identity}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Source}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Account}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${EntitlementCount} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccountUncorrelated' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Identity) { + throw "invalid value for 'Identity', 'Identity' cannot be null." + } + + if (!$Source) { + throw "invalid value for 'Source', 'Source' cannot be null." + } + + if (!$Account) { + throw "invalid value for 'Account', 'Account' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "identity" = ${Identity} + "source" = ${Source} + "account" = ${Account} + "entitlementCount" = ${EntitlementCount} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccountUncorrelated + +.DESCRIPTION + +Convert from JSON to AccountUncorrelated + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccountUncorrelated +#> +function ConvertFrom-V2024JsonToAccountUncorrelated { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccountUncorrelated' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccountUncorrelated + $AllProperties = ("identity", "source", "account", "entitlementCount") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'identity' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identity"))) { + throw "Error! JSON cannot be serialized due to the required property 'identity' missing." + } else { + $Identity = $JsonParameters.PSobject.Properties["identity"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "source"))) { + throw "Error! JSON cannot be serialized due to the required property 'source' missing." + } else { + $Source = $JsonParameters.PSobject.Properties["source"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "account"))) { + throw "Error! JSON cannot be serialized due to the required property 'account' missing." + } else { + $Account = $JsonParameters.PSobject.Properties["account"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "entitlementCount"))) { #optional property not found + $EntitlementCount = $null + } else { + $EntitlementCount = $JsonParameters.PSobject.Properties["entitlementCount"].value + } + + $PSO = [PSCustomObject]@{ + "identity" = ${Identity} + "source" = ${Source} + "account" = ${Account} + "entitlementCount" = ${EntitlementCount} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountUncorrelatedAccount.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountUncorrelatedAccount.ps1 new file mode 100644 index 000000000..2e065699e --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountUncorrelatedAccount.ps1 @@ -0,0 +1,169 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Uncorrelated account. + +.PARAMETER Type +Uncorrelated account's DTO type. +.PARAMETER Id +Uncorrelated account's ID. +.PARAMETER Name +Uncorrelated account's display name. +.PARAMETER NativeIdentity +Unique ID of the account on the source. +.PARAMETER Uuid +The source's unique identifier for the account. UUID is generated by the source system. +.OUTPUTS + +AccountUncorrelatedAccount +#> + +function Initialize-V2024AccountUncorrelatedAccount { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ACCOUNT")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${NativeIdentity}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Uuid} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccountUncorrelatedAccount' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if (!$NativeIdentity) { + throw "invalid value for 'NativeIdentity', 'NativeIdentity' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + "nativeIdentity" = ${NativeIdentity} + "uuid" = ${Uuid} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccountUncorrelatedAccount + +.DESCRIPTION + +Convert from JSON to AccountUncorrelatedAccount + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccountUncorrelatedAccount +#> +function ConvertFrom-V2024JsonToAccountUncorrelatedAccount { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccountUncorrelatedAccount' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccountUncorrelatedAccount + $AllProperties = ("type", "id", "name", "nativeIdentity", "uuid") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'type' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "nativeIdentity"))) { + throw "Error! JSON cannot be serialized due to the required property 'nativeIdentity' missing." + } else { + $NativeIdentity = $JsonParameters.PSobject.Properties["nativeIdentity"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "uuid"))) { #optional property not found + $Uuid = $null + } else { + $Uuid = $JsonParameters.PSobject.Properties["uuid"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + "nativeIdentity" = ${NativeIdentity} + "uuid" = ${Uuid} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountUncorrelatedIdentity.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountUncorrelatedIdentity.ps1 new file mode 100644 index 000000000..bc5f229e8 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountUncorrelatedIdentity.ps1 @@ -0,0 +1,139 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Identity the account is uncorrelated with. + +.PARAMETER Type +DTO type of the identity the account is uncorrelated with. +.PARAMETER Id +ID of the identity the account is uncorrelated with. +.PARAMETER Name +Display name of the identity the account is uncorrelated with. +.OUTPUTS + +AccountUncorrelatedIdentity +#> + +function Initialize-V2024AccountUncorrelatedIdentity { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccountUncorrelatedIdentity' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccountUncorrelatedIdentity + +.DESCRIPTION + +Convert from JSON to AccountUncorrelatedIdentity + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccountUncorrelatedIdentity +#> +function ConvertFrom-V2024JsonToAccountUncorrelatedIdentity { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccountUncorrelatedIdentity' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccountUncorrelatedIdentity + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'type' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountUncorrelatedSource.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountUncorrelatedSource.ps1 new file mode 100644 index 000000000..3b107254d --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountUncorrelatedSource.ps1 @@ -0,0 +1,139 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +The source the accounts are uncorrelated from. + +.PARAMETER Type +The DTO type of the source the accounts are uncorrelated from. +.PARAMETER Id +The ID of the source the accounts are uncorrelated from. +.PARAMETER Name +Display name of the source the accounts are uncorrelated from. +.OUTPUTS + +AccountUncorrelatedSource +#> + +function Initialize-V2024AccountUncorrelatedSource { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("SOURCE")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccountUncorrelatedSource' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccountUncorrelatedSource + +.DESCRIPTION + +Convert from JSON to AccountUncorrelatedSource + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccountUncorrelatedSource +#> +function ConvertFrom-V2024JsonToAccountUncorrelatedSource { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccountUncorrelatedSource' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccountUncorrelatedSource + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'type' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountUnlockRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountUnlockRequest.ps1 new file mode 100644 index 000000000..967f34458 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountUnlockRequest.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Request used for account unlock + +.PARAMETER ExternalVerificationId +If set, an external process validates that the user wants to proceed with this request. +.PARAMETER UnlockIDNAccount +If set, the IDN account is unlocked after the workflow completes. +.PARAMETER ForceProvisioning +If set, provisioning updates the account attribute at the source. This option is used when the account is not synced to ensure the attribute is updated. +.OUTPUTS + +AccountUnlockRequest +#> + +function Initialize-V2024AccountUnlockRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ExternalVerificationId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${UnlockIDNAccount}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${ForceProvisioning} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccountUnlockRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "externalVerificationId" = ${ExternalVerificationId} + "unlockIDNAccount" = ${UnlockIDNAccount} + "forceProvisioning" = ${ForceProvisioning} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccountUnlockRequest + +.DESCRIPTION + +Convert from JSON to AccountUnlockRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccountUnlockRequest +#> +function ConvertFrom-V2024JsonToAccountUnlockRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccountUnlockRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccountUnlockRequest + $AllProperties = ("externalVerificationId", "unlockIDNAccount", "forceProvisioning") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "externalVerificationId"))) { #optional property not found + $ExternalVerificationId = $null + } else { + $ExternalVerificationId = $JsonParameters.PSobject.Properties["externalVerificationId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "unlockIDNAccount"))) { #optional property not found + $UnlockIDNAccount = $null + } else { + $UnlockIDNAccount = $JsonParameters.PSobject.Properties["unlockIDNAccount"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "forceProvisioning"))) { #optional property not found + $ForceProvisioning = $null + } else { + $ForceProvisioning = $JsonParameters.PSobject.Properties["forceProvisioning"].value + } + + $PSO = [PSCustomObject]@{ + "externalVerificationId" = ${ExternalVerificationId} + "unlockIDNAccount" = ${UnlockIDNAccount} + "forceProvisioning" = ${ForceProvisioning} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountUsage.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountUsage.ps1 new file mode 100644 index 000000000..595dd0346 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountUsage.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Date +The first day of the month for which activity is aggregated. +.PARAMETER Count +The number of days within the month that the account was active in a source. +.OUTPUTS + +AccountUsage +#> + +function Initialize-V2024AccountUsage { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Date}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int64]] + ${Count} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccountUsage' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "date" = ${Date} + "count" = ${Count} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccountUsage + +.DESCRIPTION + +Convert from JSON to AccountUsage + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccountUsage +#> +function ConvertFrom-V2024JsonToAccountUsage { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccountUsage' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccountUsage + $AllProperties = ("date", "count") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "date"))) { #optional property not found + $Date = $null + } else { + $Date = $JsonParameters.PSobject.Properties["date"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "count"))) { #optional property not found + $Count = $null + } else { + $Count = $JsonParameters.PSobject.Properties["count"].value + } + + $PSO = [PSCustomObject]@{ + "date" = ${Date} + "count" = ${Count} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountsAsyncResult.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountsAsyncResult.ps1 new file mode 100644 index 000000000..afed44dd6 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountsAsyncResult.ps1 @@ -0,0 +1,104 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Accounts async response containing details on started async process + +.PARAMETER Id +id of the task +.OUTPUTS + +AccountsAsyncResult +#> + +function Initialize-V2024AccountsAsyncResult { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccountsAsyncResult' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccountsAsyncResult + +.DESCRIPTION + +Convert from JSON to AccountsAsyncResult + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccountsAsyncResult +#> +function ConvertFrom-V2024JsonToAccountsAsyncResult { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccountsAsyncResult' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccountsAsyncResult + $AllProperties = ("id") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'id' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountsCollectedForAggregation.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountsCollectedForAggregation.ps1 new file mode 100644 index 000000000..3abb6ca0f --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountsCollectedForAggregation.ps1 @@ -0,0 +1,199 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Source +No description available. +.PARAMETER Status +The overall status of the collection. +.PARAMETER Started +The date and time when the account collection started. +.PARAMETER Completed +The date and time when the account collection finished. +.PARAMETER Errors +A list of errors that occurred during the collection. +.PARAMETER Warnings +A list of warnings that occurred during the collection. +.PARAMETER Stats +No description available. +.OUTPUTS + +AccountsCollectedForAggregation +#> + +function Initialize-V2024AccountsCollectedForAggregation { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Source}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("Success", "Failed", "Terminated")] + [PSCustomObject] + ${Status}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.DateTime] + ${Started}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.DateTime] + ${Completed}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Errors}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Warnings}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Stats} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccountsCollectedForAggregation' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Source) { + throw "invalid value for 'Source', 'Source' cannot be null." + } + + if (!$Status) { + throw "invalid value for 'Status', 'Status' cannot be null." + } + + if (!$Started) { + throw "invalid value for 'Started', 'Started' cannot be null." + } + + if (!$Completed) { + throw "invalid value for 'Completed', 'Completed' cannot be null." + } + + if (!$Stats) { + throw "invalid value for 'Stats', 'Stats' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "source" = ${Source} + "status" = ${Status} + "started" = ${Started} + "completed" = ${Completed} + "errors" = ${Errors} + "warnings" = ${Warnings} + "stats" = ${Stats} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccountsCollectedForAggregation + +.DESCRIPTION + +Convert from JSON to AccountsCollectedForAggregation + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccountsCollectedForAggregation +#> +function ConvertFrom-V2024JsonToAccountsCollectedForAggregation { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccountsCollectedForAggregation' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccountsCollectedForAggregation + $AllProperties = ("source", "status", "started", "completed", "errors", "warnings", "stats") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'source' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "source"))) { + throw "Error! JSON cannot be serialized due to the required property 'source' missing." + } else { + $Source = $JsonParameters.PSobject.Properties["source"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { + throw "Error! JSON cannot be serialized due to the required property 'status' missing." + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "started"))) { + throw "Error! JSON cannot be serialized due to the required property 'started' missing." + } else { + $Started = $JsonParameters.PSobject.Properties["started"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "completed"))) { + throw "Error! JSON cannot be serialized due to the required property 'completed' missing." + } else { + $Completed = $JsonParameters.PSobject.Properties["completed"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "errors"))) { + throw "Error! JSON cannot be serialized due to the required property 'errors' missing." + } else { + $Errors = $JsonParameters.PSobject.Properties["errors"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "warnings"))) { + throw "Error! JSON cannot be serialized due to the required property 'warnings' missing." + } else { + $Warnings = $JsonParameters.PSobject.Properties["warnings"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "stats"))) { + throw "Error! JSON cannot be serialized due to the required property 'stats' missing." + } else { + $Stats = $JsonParameters.PSobject.Properties["stats"].value + } + + $PSO = [PSCustomObject]@{ + "source" = ${Source} + "status" = ${Status} + "started" = ${Started} + "completed" = ${Completed} + "errors" = ${Errors} + "warnings" = ${Warnings} + "stats" = ${Stats} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountsCollectedForAggregationSource.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountsCollectedForAggregationSource.ps1 new file mode 100644 index 000000000..771bf3e74 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountsCollectedForAggregationSource.ps1 @@ -0,0 +1,139 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Reference to the source that has been aggregated. + +.PARAMETER Id +ID of the object to which this reference applies +.PARAMETER Type +The type of object that is referenced +.PARAMETER Name +Human-readable display name of the object to which this reference applies +.OUTPUTS + +AccountsCollectedForAggregationSource +#> + +function Initialize-V2024AccountsCollectedForAggregationSource { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("SOURCE")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccountsCollectedForAggregationSource' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccountsCollectedForAggregationSource + +.DESCRIPTION + +Convert from JSON to AccountsCollectedForAggregationSource + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccountsCollectedForAggregationSource +#> +function ConvertFrom-V2024JsonToAccountsCollectedForAggregationSource { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccountsCollectedForAggregationSource' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccountsCollectedForAggregationSource + $AllProperties = ("id", "type", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'id' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountsCollectedForAggregationStats.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountsCollectedForAggregationStats.ps1 new file mode 100644 index 000000000..779a90a2f --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountsCollectedForAggregationStats.ps1 @@ -0,0 +1,212 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Overall statistics about the account collection. + +.PARAMETER Scanned +The number of accounts which were scanned / iterated over. +.PARAMETER Unchanged +The number of accounts which existed before, but had no changes. +.PARAMETER Changed +The number of accounts which existed before, but had changes. +.PARAMETER Added +The number of accounts which are new - have not existed before. +.PARAMETER Removed +The number accounts which existed before, but no longer exist (thus getting removed). +.OUTPUTS + +AccountsCollectedForAggregationStats +#> + +function Initialize-V2024AccountsCollectedForAggregationStats { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Int32] + ${Scanned}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Int32] + ${Unchanged}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Int32] + ${Changed}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Int32] + ${Added}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Int32] + ${Removed} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccountsCollectedForAggregationStats' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Scanned) { + throw "invalid value for 'Scanned', 'Scanned' cannot be null." + } + + if ($Scanned -gt 2147483647) { + throw "invalid value for 'Scanned', must be smaller than or equal to 2147483647." + } + + if ($Scanned -lt 0) { + throw "invalid value for 'Scanned', must be greater than or equal to 0." + } + + if (!$Unchanged) { + throw "invalid value for 'Unchanged', 'Unchanged' cannot be null." + } + + if ($Unchanged -gt 2147483647) { + throw "invalid value for 'Unchanged', must be smaller than or equal to 2147483647." + } + + if ($Unchanged -lt 0) { + throw "invalid value for 'Unchanged', must be greater than or equal to 0." + } + + if (!$Changed) { + throw "invalid value for 'Changed', 'Changed' cannot be null." + } + + if ($Changed -gt 2147483647) { + throw "invalid value for 'Changed', must be smaller than or equal to 2147483647." + } + + if ($Changed -lt 0) { + throw "invalid value for 'Changed', must be greater than or equal to 0." + } + + if (!$Added) { + throw "invalid value for 'Added', 'Added' cannot be null." + } + + if ($Added -gt 2147483647) { + throw "invalid value for 'Added', must be smaller than or equal to 2147483647." + } + + if ($Added -lt 0) { + throw "invalid value for 'Added', must be greater than or equal to 0." + } + + if (!$Removed) { + throw "invalid value for 'Removed', 'Removed' cannot be null." + } + + if ($Removed -gt 2147483647) { + throw "invalid value for 'Removed', must be smaller than or equal to 2147483647." + } + + if ($Removed -lt 0) { + throw "invalid value for 'Removed', must be greater than or equal to 0." + } + + + $PSO = [PSCustomObject]@{ + "scanned" = ${Scanned} + "unchanged" = ${Unchanged} + "changed" = ${Changed} + "added" = ${Added} + "removed" = ${Removed} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccountsCollectedForAggregationStats + +.DESCRIPTION + +Convert from JSON to AccountsCollectedForAggregationStats + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccountsCollectedForAggregationStats +#> +function ConvertFrom-V2024JsonToAccountsCollectedForAggregationStats { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccountsCollectedForAggregationStats' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccountsCollectedForAggregationStats + $AllProperties = ("scanned", "unchanged", "changed", "added", "removed") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'scanned' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "scanned"))) { + throw "Error! JSON cannot be serialized due to the required property 'scanned' missing." + } else { + $Scanned = $JsonParameters.PSobject.Properties["scanned"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "unchanged"))) { + throw "Error! JSON cannot be serialized due to the required property 'unchanged' missing." + } else { + $Unchanged = $JsonParameters.PSobject.Properties["unchanged"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "changed"))) { + throw "Error! JSON cannot be serialized due to the required property 'changed' missing." + } else { + $Changed = $JsonParameters.PSobject.Properties["changed"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "added"))) { + throw "Error! JSON cannot be serialized due to the required property 'added' missing." + } else { + $Added = $JsonParameters.PSobject.Properties["added"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "removed"))) { + throw "Error! JSON cannot be serialized due to the required property 'removed' missing." + } else { + $Removed = $JsonParameters.PSobject.Properties["removed"].value + } + + $PSO = [PSCustomObject]@{ + "scanned" = ${Scanned} + "unchanged" = ${Unchanged} + "changed" = ${Changed} + "added" = ${Added} + "removed" = ${Removed} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountsExportReportArguments.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountsExportReportArguments.ps1 new file mode 100644 index 000000000..23da73eca --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AccountsExportReportArguments.ps1 @@ -0,0 +1,121 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Arguments for Account Export (ACCOUNTS) + +.PARAMETER Application +Id of the authoritative source to export related accounts e.g. identities +.PARAMETER SourceName +Name of the authoritative source for accounts export +.OUTPUTS + +AccountsExportReportArguments +#> + +function Initialize-V2024AccountsExportReportArguments { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Application}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SourceName} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AccountsExportReportArguments' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Application) { + throw "invalid value for 'Application', 'Application' cannot be null." + } + + if (!$SourceName) { + throw "invalid value for 'SourceName', 'SourceName' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "application" = ${Application} + "sourceName" = ${SourceName} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AccountsExportReportArguments + +.DESCRIPTION + +Convert from JSON to AccountsExportReportArguments + +.PARAMETER Json + +Json object + +.OUTPUTS + +AccountsExportReportArguments +#> +function ConvertFrom-V2024JsonToAccountsExportReportArguments { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AccountsExportReportArguments' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AccountsExportReportArguments + $AllProperties = ("application", "sourceName") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'application' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "application"))) { + throw "Error! JSON cannot be serialized due to the required property 'application' missing." + } else { + $Application = $JsonParameters.PSobject.Properties["application"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceName"))) { + throw "Error! JSON cannot be serialized due to the required property 'sourceName' missing." + } else { + $SourceName = $JsonParameters.PSobject.Properties["sourceName"].value + } + + $PSO = [PSCustomObject]@{ + "application" = ${Application} + "sourceName" = ${SourceName} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ActivateCampaignOptions.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ActivateCampaignOptions.ps1 new file mode 100644 index 000000000..a477076b9 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ActivateCampaignOptions.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER TimeZone +The timezone must be in a valid ISO 8601 format. Timezones in ISO 8601 are represented as UTC (represented as 'Z') or as an offset from UTC. The offset format can be +/-hh:mm, +/-hhmm, or +/-hh. +.OUTPUTS + +ActivateCampaignOptions +#> + +function Initialize-V2024ActivateCampaignOptions { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${TimeZone} = "Z" + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ActivateCampaignOptions' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "timeZone" = ${TimeZone} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ActivateCampaignOptions + +.DESCRIPTION + +Convert from JSON to ActivateCampaignOptions + +.PARAMETER Json + +Json object + +.OUTPUTS + +ActivateCampaignOptions +#> +function ConvertFrom-V2024JsonToActivateCampaignOptions { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ActivateCampaignOptions' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ActivateCampaignOptions + $AllProperties = ("timeZone") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "timeZone"))) { #optional property not found + $TimeZone = $null + } else { + $TimeZone = $JsonParameters.PSobject.Properties["timeZone"].value + } + + $PSO = [PSCustomObject]@{ + "timeZone" = ${TimeZone} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ActivityInsights.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ActivityInsights.ps1 new file mode 100644 index 000000000..b37ebceb2 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ActivityInsights.ps1 @@ -0,0 +1,131 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Insights into account activity + +.PARAMETER AccountID +UUID of the account +.PARAMETER UsageDays +The number of days of activity +.PARAMETER UsageDaysState +Status indicating if the activity is complete or unknown +.OUTPUTS + +ActivityInsights +#> + +function Initialize-V2024ActivityInsights { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AccountID}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${UsageDays}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("COMPLETE", "UNKNOWN")] + [String] + ${UsageDaysState} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ActivityInsights' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if ($UsageDays -and $UsageDays -gt 90) { + throw "invalid value for 'UsageDays', must be smaller than or equal to 90." + } + + if ($UsageDays -and $UsageDays -lt 0) { + throw "invalid value for 'UsageDays', must be greater than or equal to 0." + } + + + $PSO = [PSCustomObject]@{ + "accountID" = ${AccountID} + "usageDays" = ${UsageDays} + "usageDaysState" = ${UsageDaysState} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ActivityInsights + +.DESCRIPTION + +Convert from JSON to ActivityInsights + +.PARAMETER Json + +Json object + +.OUTPUTS + +ActivityInsights +#> +function ConvertFrom-V2024JsonToActivityInsights { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ActivityInsights' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ActivityInsights + $AllProperties = ("accountID", "usageDays", "usageDaysState") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accountID"))) { #optional property not found + $AccountID = $null + } else { + $AccountID = $JsonParameters.PSobject.Properties["accountID"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "usageDays"))) { #optional property not found + $UsageDays = $null + } else { + $UsageDays = $JsonParameters.PSobject.Properties["usageDays"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "usageDaysState"))) { #optional property not found + $UsageDaysState = $null + } else { + $UsageDaysState = $JsonParameters.PSobject.Properties["usageDaysState"].value + } + + $PSO = [PSCustomObject]@{ + "accountID" = ${AccountID} + "usageDays" = ${UsageDays} + "usageDaysState" = ${UsageDaysState} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AdminReviewReassign.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AdminReviewReassign.ps1 new file mode 100644 index 000000000..d34e1da81 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AdminReviewReassign.ps1 @@ -0,0 +1,130 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER CertificationIds +List of certification IDs to reassign +.PARAMETER ReassignTo +No description available. +.PARAMETER Reason +Comment to explain why the certification was reassigned +.OUTPUTS + +AdminReviewReassign +#> + +function Initialize-V2024AdminReviewReassign { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${CertificationIds}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${ReassignTo}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Reason} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AdminReviewReassign' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$CertificationIds -and $CertificationIds.length -gt 250) { + throw "invalid value for 'CertificationIds', number of items must be less than or equal to 250." + } + + if (!$CertificationIds -and $CertificationIds.length -lt 1) { + throw "invalid value for 'CertificationIds', number of items must be greater than or equal to 1." + } + + + $PSO = [PSCustomObject]@{ + "certificationIds" = ${CertificationIds} + "reassignTo" = ${ReassignTo} + "reason" = ${Reason} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AdminReviewReassign + +.DESCRIPTION + +Convert from JSON to AdminReviewReassign + +.PARAMETER Json + +Json object + +.OUTPUTS + +AdminReviewReassign +#> +function ConvertFrom-V2024JsonToAdminReviewReassign { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AdminReviewReassign' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AdminReviewReassign + $AllProperties = ("certificationIds", "reassignTo", "reason") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "certificationIds"))) { #optional property not found + $CertificationIds = $null + } else { + $CertificationIds = $JsonParameters.PSobject.Properties["certificationIds"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "reassignTo"))) { #optional property not found + $ReassignTo = $null + } else { + $ReassignTo = $JsonParameters.PSobject.Properties["reassignTo"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "reason"))) { #optional property not found + $Reason = $null + } else { + $Reason = $JsonParameters.PSobject.Properties["reason"].value + } + + $PSO = [PSCustomObject]@{ + "certificationIds" = ${CertificationIds} + "reassignTo" = ${ReassignTo} + "reason" = ${Reason} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AdminReviewReassignReassignTo.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AdminReviewReassignReassignTo.ps1 new file mode 100644 index 000000000..b254373f3 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AdminReviewReassignReassignTo.ps1 @@ -0,0 +1,110 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +The identity ID to which the review is being assigned. +.PARAMETER Type +The type of the ID provided. +.OUTPUTS + +AdminReviewReassignReassignTo +#> + +function Initialize-V2024AdminReviewReassignReassignTo { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY")] + [String] + ${Type} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AdminReviewReassignReassignTo' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AdminReviewReassignReassignTo + +.DESCRIPTION + +Convert from JSON to AdminReviewReassignReassignTo + +.PARAMETER Json + +Json object + +.OUTPUTS + +AdminReviewReassignReassignTo +#> +function ConvertFrom-V2024JsonToAdminReviewReassignReassignTo { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AdminReviewReassignReassignTo' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AdminReviewReassignReassignTo + $AllProperties = ("id", "type") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AggregationResult.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AggregationResult.ps1 new file mode 100644 index 000000000..090cf03f3 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AggregationResult.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Aggregations +The document containing the results of the aggregation. This document is controlled by Elasticsearch and depends on the type of aggregation query that is run. See Elasticsearch [Aggregations](https://www.elastic.co/guide/en/elasticsearch/reference/5.2/search-aggregations.html) documentation for information. +.PARAMETER Hits +The results of the aggregation search query. +.OUTPUTS + +AggregationResult +#> + +function Initialize-V2024AggregationResult { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Aggregations}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Hits} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AggregationResult' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "aggregations" = ${Aggregations} + "hits" = ${Hits} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AggregationResult + +.DESCRIPTION + +Convert from JSON to AggregationResult + +.PARAMETER Json + +Json object + +.OUTPUTS + +AggregationResult +#> +function ConvertFrom-V2024JsonToAggregationResult { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AggregationResult' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AggregationResult + $AllProperties = ("aggregations", "hits") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "aggregations"))) { #optional property not found + $Aggregations = $null + } else { + $Aggregations = $JsonParameters.PSobject.Properties["aggregations"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "hits"))) { #optional property not found + $Hits = $null + } else { + $Hits = $JsonParameters.PSobject.Properties["hits"].value + } + + $PSO = [PSCustomObject]@{ + "aggregations" = ${Aggregations} + "hits" = ${Hits} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AggregationType.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AggregationType.ps1 new file mode 100644 index 000000000..20bcd0ee4 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AggregationType.ps1 @@ -0,0 +1,24 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum AggregationType. + +.DESCRIPTION + +Enum representing the currently available query languages for aggregations, which are used to perform calculations or groupings on search results. Additional values may be added in the future without notice. +#> + +enum AggregationType { + # enum value: "DSL" + DSL + # enum value: "SAILPOINT" + SAILPOINT +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Aggregations.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Aggregations.ps1 new file mode 100644 index 000000000..11d2bcdde --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Aggregations.ps1 @@ -0,0 +1,135 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Nested +No description available. +.PARAMETER Metric +No description available. +.PARAMETER VarFilter +No description available. +.PARAMETER Bucket +No description available. +.OUTPUTS + +Aggregations +#> + +function Initialize-V2024Aggregations { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Nested}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Metric}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${VarFilter}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Bucket} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Aggregations' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "nested" = ${Nested} + "metric" = ${Metric} + "filter" = ${VarFilter} + "bucket" = ${Bucket} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Aggregations + +.DESCRIPTION + +Convert from JSON to Aggregations + +.PARAMETER Json + +Json object + +.OUTPUTS + +Aggregations +#> +function ConvertFrom-V2024JsonToAggregations { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Aggregations' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Aggregations + $AllProperties = ("nested", "metric", "filter", "bucket") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "nested"))) { #optional property not found + $Nested = $null + } else { + $Nested = $JsonParameters.PSobject.Properties["nested"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "metric"))) { #optional property not found + $Metric = $null + } else { + $Metric = $JsonParameters.PSobject.Properties["metric"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "filter"))) { #optional property not found + $VarFilter = $null + } else { + $VarFilter = $JsonParameters.PSobject.Properties["filter"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "bucket"))) { #optional property not found + $Bucket = $null + } else { + $Bucket = $JsonParameters.PSobject.Properties["bucket"].value + } + + $PSO = [PSCustomObject]@{ + "nested" = ${Nested} + "metric" = ${Metric} + "filter" = ${VarFilter} + "bucket" = ${Bucket} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/App.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/App.ps1 new file mode 100644 index 000000000..aea74e44b --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/App.ps1 @@ -0,0 +1,135 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +The unique ID of the referenced object. +.PARAMETER Name +The human readable name of the referenced object. +.PARAMETER Source +No description available. +.PARAMETER Account +No description available. +.OUTPUTS + +App +#> + +function Initialize-V2024App { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Source}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Account} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024App' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "source" = ${Source} + "account" = ${Account} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to App + +.DESCRIPTION + +Convert from JSON to App + +.PARAMETER Json + +Json object + +.OUTPUTS + +App +#> +function ConvertFrom-V2024JsonToApp { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024App' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024App + $AllProperties = ("id", "name", "source", "account") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "source"))) { #optional property not found + $Source = $null + } else { + $Source = $JsonParameters.PSobject.Properties["source"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "account"))) { #optional property not found + $Account = $null + } else { + $Account = $JsonParameters.PSobject.Properties["account"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "source" = ${Source} + "account" = ${Account} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AppAllOfAccount.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AppAllOfAccount.ps1 new file mode 100644 index 000000000..6f11cbdcd --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AppAllOfAccount.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +The SailPoint generated unique ID +.PARAMETER AccountId +The account ID generated by the source +.OUTPUTS + +AppAllOfAccount +#> + +function Initialize-V2024AppAllOfAccount { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AccountId} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AppAllOfAccount' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "accountId" = ${AccountId} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AppAllOfAccount + +.DESCRIPTION + +Convert from JSON to AppAllOfAccount + +.PARAMETER Json + +Json object + +.OUTPUTS + +AppAllOfAccount +#> +function ConvertFrom-V2024JsonToAppAllOfAccount { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AppAllOfAccount' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AppAllOfAccount + $AllProperties = ("id", "accountId") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accountId"))) { #optional property not found + $AccountId = $null + } else { + $AccountId = $JsonParameters.PSobject.Properties["accountId"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "accountId" = ${AccountId} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Approval.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Approval.ps1 new file mode 100644 index 000000000..8bfffde17 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Approval.ps1 @@ -0,0 +1,307 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Approval Object + +.PARAMETER ApprovalId +The Approval ID +.PARAMETER Approvers +Object representation of an approver of an approval +.PARAMETER CreatedDate +Date the approval was created +.PARAMETER Type +Type of approval +.PARAMETER Name +The name of the approval for a given locale +.PARAMETER BatchRequest +The name of the approval for a given locale +.PARAMETER Description +The description of the approval for a given locale +.PARAMETER Priority +The priority of the approval +.PARAMETER Requester +Object representation of the requester of the approval +.PARAMETER Comments +Object representation of a comment on the approval +.PARAMETER ApprovedBy +Array of approvers who have approved the approval +.PARAMETER RejectedBy +Array of approvers who have rejected the approval +.PARAMETER CompletedDate +Date the approval was completed +.PARAMETER ApprovalCriteria +Criteria that needs to be met for an approval to be marked as approved +.PARAMETER Status +The current status of the approval +.PARAMETER AdditionalAttributes +Json string representing additional attributes known about the object to be approved. +.PARAMETER ReferenceData +Reference data related to the approval +.OUTPUTS + +Approval +#> + +function Initialize-V2024Approval { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ApprovalId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Approvers}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${CreatedDate}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${BatchRequest}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("HIGH", "MEDIUM", "LOW")] + [String] + ${Priority}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Requester}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Comments}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${ApprovedBy}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${RejectedBy}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${CompletedDate}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("SINGLE", "DOUBLE", "TRIPLE", "QUARTER", "HALF", "ALL")] + [String] + ${ApprovalCriteria}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("PENDING", "APPROVED", "REJECTED")] + [String] + ${Status}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AdditionalAttributes}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${ReferenceData} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Approval' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "approvalId" = ${ApprovalId} + "approvers" = ${Approvers} + "createdDate" = ${CreatedDate} + "type" = ${Type} + "name" = ${Name} + "batchRequest" = ${BatchRequest} + "description" = ${Description} + "priority" = ${Priority} + "requester" = ${Requester} + "comments" = ${Comments} + "approvedBy" = ${ApprovedBy} + "rejectedBy" = ${RejectedBy} + "completedDate" = ${CompletedDate} + "approvalCriteria" = ${ApprovalCriteria} + "status" = ${Status} + "additionalAttributes" = ${AdditionalAttributes} + "referenceData" = ${ReferenceData} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Approval + +.DESCRIPTION + +Convert from JSON to Approval + +.PARAMETER Json + +Json object + +.OUTPUTS + +Approval +#> +function ConvertFrom-V2024JsonToApproval { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Approval' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Approval + $AllProperties = ("approvalId", "approvers", "createdDate", "type", "name", "batchRequest", "description", "priority", "requester", "comments", "approvedBy", "rejectedBy", "completedDate", "approvalCriteria", "status", "additionalAttributes", "referenceData") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "approvalId"))) { #optional property not found + $ApprovalId = $null + } else { + $ApprovalId = $JsonParameters.PSobject.Properties["approvalId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "approvers"))) { #optional property not found + $Approvers = $null + } else { + $Approvers = $JsonParameters.PSobject.Properties["approvers"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "createdDate"))) { #optional property not found + $CreatedDate = $null + } else { + $CreatedDate = $JsonParameters.PSobject.Properties["createdDate"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "batchRequest"))) { #optional property not found + $BatchRequest = $null + } else { + $BatchRequest = $JsonParameters.PSobject.Properties["batchRequest"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "priority"))) { #optional property not found + $Priority = $null + } else { + $Priority = $JsonParameters.PSobject.Properties["priority"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requester"))) { #optional property not found + $Requester = $null + } else { + $Requester = $JsonParameters.PSobject.Properties["requester"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "comments"))) { #optional property not found + $Comments = $null + } else { + $Comments = $JsonParameters.PSobject.Properties["comments"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "approvedBy"))) { #optional property not found + $ApprovedBy = $null + } else { + $ApprovedBy = $JsonParameters.PSobject.Properties["approvedBy"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "rejectedBy"))) { #optional property not found + $RejectedBy = $null + } else { + $RejectedBy = $JsonParameters.PSobject.Properties["rejectedBy"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "completedDate"))) { #optional property not found + $CompletedDate = $null + } else { + $CompletedDate = $JsonParameters.PSobject.Properties["completedDate"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "approvalCriteria"))) { #optional property not found + $ApprovalCriteria = $null + } else { + $ApprovalCriteria = $JsonParameters.PSobject.Properties["approvalCriteria"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { #optional property not found + $Status = $null + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "additionalAttributes"))) { #optional property not found + $AdditionalAttributes = $null + } else { + $AdditionalAttributes = $JsonParameters.PSobject.Properties["additionalAttributes"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "referenceData"))) { #optional property not found + $ReferenceData = $null + } else { + $ReferenceData = $JsonParameters.PSobject.Properties["referenceData"].value + } + + $PSO = [PSCustomObject]@{ + "approvalId" = ${ApprovalId} + "approvers" = ${Approvers} + "createdDate" = ${CreatedDate} + "type" = ${Type} + "name" = ${Name} + "batchRequest" = ${BatchRequest} + "description" = ${Description} + "priority" = ${Priority} + "requester" = ${Requester} + "comments" = ${Comments} + "approvedBy" = ${ApprovedBy} + "rejectedBy" = ${RejectedBy} + "completedDate" = ${CompletedDate} + "approvalCriteria" = ${ApprovalCriteria} + "status" = ${Status} + "additionalAttributes" = ${AdditionalAttributes} + "referenceData" = ${ReferenceData} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Approval1.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Approval1.ps1 new file mode 100644 index 000000000..c342d9bb7 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Approval1.ps1 @@ -0,0 +1,161 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Comments +No description available. +.PARAMETER Created +A date-time in ISO-8601 format +.PARAMETER Modified +A date-time in ISO-8601 format +.PARAMETER Owner +No description available. +.PARAMETER Result +The result of the approval +.PARAMETER Type +No description available. +.OUTPUTS + +Approval1 +#> + +function Initialize-V2024Approval1 { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Comments}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Modified}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Owner}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Result}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Type} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Approval1' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "comments" = ${Comments} + "created" = ${Created} + "modified" = ${Modified} + "owner" = ${Owner} + "result" = ${Result} + "type" = ${Type} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Approval1 + +.DESCRIPTION + +Convert from JSON to Approval1 + +.PARAMETER Json + +Json object + +.OUTPUTS + +Approval1 +#> +function ConvertFrom-V2024JsonToApproval1 { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Approval1' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Approval1 + $AllProperties = ("comments", "created", "modified", "owner", "result", "type") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "comments"))) { #optional property not found + $Comments = $null + } else { + $Comments = $JsonParameters.PSobject.Properties["comments"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "owner"))) { #optional property not found + $Owner = $null + } else { + $Owner = $JsonParameters.PSobject.Properties["owner"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "result"))) { #optional property not found + $Result = $null + } else { + $Result = $JsonParameters.PSobject.Properties["result"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + $PSO = [PSCustomObject]@{ + "comments" = ${Comments} + "created" = ${Created} + "modified" = ${Modified} + "owner" = ${Owner} + "result" = ${Result} + "type" = ${Type} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ApprovalBatch.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ApprovalBatch.ps1 new file mode 100644 index 000000000..ede1d6734 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ApprovalBatch.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Batch properties if an approval is sent via batching. + +.PARAMETER BatchId +ID of the batch +.PARAMETER BatchSize +How many approvals are going to be in this batch. Defaults to 1 if not provided. +.OUTPUTS + +ApprovalBatch +#> + +function Initialize-V2024ApprovalBatch { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${BatchId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int64]] + ${BatchSize} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ApprovalBatch' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "batchId" = ${BatchId} + "batchSize" = ${BatchSize} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ApprovalBatch + +.DESCRIPTION + +Convert from JSON to ApprovalBatch + +.PARAMETER Json + +Json object + +.OUTPUTS + +ApprovalBatch +#> +function ConvertFrom-V2024JsonToApprovalBatch { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ApprovalBatch' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ApprovalBatch + $AllProperties = ("batchId", "batchSize") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "batchId"))) { #optional property not found + $BatchId = $null + } else { + $BatchId = $JsonParameters.PSobject.Properties["batchId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "batchSize"))) { #optional property not found + $BatchSize = $null + } else { + $BatchSize = $JsonParameters.PSobject.Properties["batchSize"].value + } + + $PSO = [PSCustomObject]@{ + "batchId" = ${BatchId} + "batchSize" = ${BatchSize} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ApprovalComment.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ApprovalComment.ps1 new file mode 100644 index 000000000..d4f130dde --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ApprovalComment.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Comments Object + +.PARAMETER Author +No description available. +.PARAMETER Comment +Comment to be left on an approval +.PARAMETER CreatedDate +Date the comment was created +.OUTPUTS + +ApprovalComment +#> + +function Initialize-V2024ApprovalComment { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Author}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Comment}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${CreatedDate} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ApprovalComment' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "author" = ${Author} + "comment" = ${Comment} + "createdDate" = ${CreatedDate} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ApprovalComment + +.DESCRIPTION + +Convert from JSON to ApprovalComment + +.PARAMETER Json + +Json object + +.OUTPUTS + +ApprovalComment +#> +function ConvertFrom-V2024JsonToApprovalComment { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ApprovalComment' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ApprovalComment + $AllProperties = ("author", "comment", "createdDate") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "author"))) { #optional property not found + $Author = $null + } else { + $Author = $JsonParameters.PSobject.Properties["author"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "comment"))) { #optional property not found + $Comment = $null + } else { + $Comment = $JsonParameters.PSobject.Properties["comment"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "createdDate"))) { #optional property not found + $CreatedDate = $null + } else { + $CreatedDate = $JsonParameters.PSobject.Properties["createdDate"].value + } + + $PSO = [PSCustomObject]@{ + "author" = ${Author} + "comment" = ${Comment} + "createdDate" = ${CreatedDate} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ApprovalComment1.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ApprovalComment1.ps1 new file mode 100644 index 000000000..4c48f0b46 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ApprovalComment1.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Comment +The comment text +.PARAMETER Commenter +The name of the commenter +.PARAMETER Date +A date-time in ISO-8601 format +.OUTPUTS + +ApprovalComment1 +#> + +function Initialize-V2024ApprovalComment1 { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Comment}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Commenter}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Date} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ApprovalComment1' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "comment" = ${Comment} + "commenter" = ${Commenter} + "date" = ${Date} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ApprovalComment1 + +.DESCRIPTION + +Convert from JSON to ApprovalComment1 + +.PARAMETER Json + +Json object + +.OUTPUTS + +ApprovalComment1 +#> +function ConvertFrom-V2024JsonToApprovalComment1 { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ApprovalComment1' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ApprovalComment1 + $AllProperties = ("comment", "commenter", "date") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "comment"))) { #optional property not found + $Comment = $null + } else { + $Comment = $JsonParameters.PSobject.Properties["comment"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "commenter"))) { #optional property not found + $Commenter = $null + } else { + $Commenter = $JsonParameters.PSobject.Properties["commenter"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "date"))) { #optional property not found + $Date = $null + } else { + $Date = $JsonParameters.PSobject.Properties["date"].value + } + + $PSO = [PSCustomObject]@{ + "comment" = ${Comment} + "commenter" = ${Commenter} + "date" = ${Date} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ApprovalDescription.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ApprovalDescription.ps1 new file mode 100644 index 000000000..050c02a4b --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ApprovalDescription.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +The description of what the approval is asking for + +.PARAMETER Value +The description of what the approval is asking for +.PARAMETER Locale +What locale the description of the approval is using +.OUTPUTS + +ApprovalDescription +#> + +function Initialize-V2024ApprovalDescription { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Value}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Locale} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ApprovalDescription' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "value" = ${Value} + "locale" = ${Locale} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ApprovalDescription + +.DESCRIPTION + +Convert from JSON to ApprovalDescription + +.PARAMETER Json + +Json object + +.OUTPUTS + +ApprovalDescription +#> +function ConvertFrom-V2024JsonToApprovalDescription { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ApprovalDescription' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ApprovalDescription + $AllProperties = ("value", "locale") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "value"))) { #optional property not found + $Value = $null + } else { + $Value = $JsonParameters.PSobject.Properties["value"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "locale"))) { #optional property not found + $Locale = $null + } else { + $Locale = $JsonParameters.PSobject.Properties["locale"].value + } + + $PSO = [PSCustomObject]@{ + "value" = ${Value} + "locale" = ${Locale} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ApprovalDto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ApprovalDto.ps1 new file mode 100644 index 000000000..1c85864c1 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ApprovalDto.ps1 @@ -0,0 +1,161 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Payload for changing the fields of an approval. + +.PARAMETER Comments +Object representation of a comment on the approval +.PARAMETER ApprovedBy +An array of identities who have approved the approval +.PARAMETER RejectedBy +An array of identities who have rejected the approval +.PARAMETER ReassignFrom +No description available. +.PARAMETER ReassignTo +No description available. +.PARAMETER AdditionalAttributes +Any additional attributes that the approval request may need +.OUTPUTS + +ApprovalDto +#> + +function Initialize-V2024ApprovalDto { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Comments}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${ApprovedBy}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${RejectedBy}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${ReassignFrom}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${ReassignTo}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${AdditionalAttributes} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ApprovalDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "comments" = ${Comments} + "approvedBy" = ${ApprovedBy} + "rejectedBy" = ${RejectedBy} + "reassignFrom" = ${ReassignFrom} + "reassignTo" = ${ReassignTo} + "additionalAttributes" = ${AdditionalAttributes} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ApprovalDto + +.DESCRIPTION + +Convert from JSON to ApprovalDto + +.PARAMETER Json + +Json object + +.OUTPUTS + +ApprovalDto +#> +function ConvertFrom-V2024JsonToApprovalDto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ApprovalDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ApprovalDto + $AllProperties = ("comments", "approvedBy", "rejectedBy", "reassignFrom", "reassignTo", "additionalAttributes") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "comments"))) { #optional property not found + $Comments = $null + } else { + $Comments = $JsonParameters.PSobject.Properties["comments"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "approvedBy"))) { #optional property not found + $ApprovedBy = $null + } else { + $ApprovedBy = $JsonParameters.PSobject.Properties["approvedBy"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "rejectedBy"))) { #optional property not found + $RejectedBy = $null + } else { + $RejectedBy = $JsonParameters.PSobject.Properties["rejectedBy"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "reassignFrom"))) { #optional property not found + $ReassignFrom = $null + } else { + $ReassignFrom = $JsonParameters.PSobject.Properties["reassignFrom"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "reassignTo"))) { #optional property not found + $ReassignTo = $null + } else { + $ReassignTo = $JsonParameters.PSobject.Properties["reassignTo"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "additionalAttributes"))) { #optional property not found + $AdditionalAttributes = $null + } else { + $AdditionalAttributes = $JsonParameters.PSobject.Properties["additionalAttributes"].value + } + + $PSO = [PSCustomObject]@{ + "comments" = ${Comments} + "approvedBy" = ${ApprovedBy} + "rejectedBy" = ${RejectedBy} + "reassignFrom" = ${ReassignFrom} + "reassignTo" = ${ReassignTo} + "additionalAttributes" = ${AdditionalAttributes} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ApprovalForwardHistory.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ApprovalForwardHistory.ps1 new file mode 100644 index 000000000..7aaf2c870 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ApprovalForwardHistory.ps1 @@ -0,0 +1,162 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER OldApproverName +Display name of approver from whom the approval was forwarded. +.PARAMETER NewApproverName +Display name of approver to whom the approval was forwarded. +.PARAMETER Comment +Comment made while forwarding. +.PARAMETER Modified +Time at which approval was forwarded. +.PARAMETER ForwarderName +Display name of forwarder who forwarded the approval. +.PARAMETER ReassignmentType +No description available. +.OUTPUTS + +ApprovalForwardHistory +#> + +function Initialize-V2024ApprovalForwardHistory { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${OldApproverName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${NewApproverName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Comment}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Modified}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ForwarderName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("MANUAL_REASSIGNMENT", "AUTOMATIC_REASSIGNMENT", "AUTO_ESCALATION", "SELF_REVIEW_DELEGATION")] + [PSCustomObject] + ${ReassignmentType} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ApprovalForwardHistory' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "oldApproverName" = ${OldApproverName} + "newApproverName" = ${NewApproverName} + "comment" = ${Comment} + "modified" = ${Modified} + "forwarderName" = ${ForwarderName} + "reassignmentType" = ${ReassignmentType} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ApprovalForwardHistory + +.DESCRIPTION + +Convert from JSON to ApprovalForwardHistory + +.PARAMETER Json + +Json object + +.OUTPUTS + +ApprovalForwardHistory +#> +function ConvertFrom-V2024JsonToApprovalForwardHistory { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ApprovalForwardHistory' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ApprovalForwardHistory + $AllProperties = ("oldApproverName", "newApproverName", "comment", "modified", "forwarderName", "reassignmentType") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "oldApproverName"))) { #optional property not found + $OldApproverName = $null + } else { + $OldApproverName = $JsonParameters.PSobject.Properties["oldApproverName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "newApproverName"))) { #optional property not found + $NewApproverName = $null + } else { + $NewApproverName = $JsonParameters.PSobject.Properties["newApproverName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "comment"))) { #optional property not found + $Comment = $null + } else { + $Comment = $JsonParameters.PSobject.Properties["comment"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "forwarderName"))) { #optional property not found + $ForwarderName = $null + } else { + $ForwarderName = $JsonParameters.PSobject.Properties["forwarderName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "reassignmentType"))) { #optional property not found + $ReassignmentType = $null + } else { + $ReassignmentType = $JsonParameters.PSobject.Properties["reassignmentType"].value + } + + $PSO = [PSCustomObject]@{ + "oldApproverName" = ${OldApproverName} + "newApproverName" = ${NewApproverName} + "comment" = ${Comment} + "modified" = ${Modified} + "forwarderName" = ${ForwarderName} + "reassignmentType" = ${ReassignmentType} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ApprovalIdentity.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ApprovalIdentity.ps1 new file mode 100644 index 000000000..c19bb7a4b --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ApprovalIdentity.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Identity Object + +.PARAMETER Id +The identity ID +.PARAMETER Type +Indication of what group the identity belongs to. Ie, IDENTITY, GOVERNANCE_GROUP, etc +.PARAMETER Name +Name of the identity +.OUTPUTS + +ApprovalIdentity +#> + +function Initialize-V2024ApprovalIdentity { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ApprovalIdentity' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ApprovalIdentity + +.DESCRIPTION + +Convert from JSON to ApprovalIdentity + +.PARAMETER Json + +Json object + +.OUTPUTS + +ApprovalIdentity +#> +function ConvertFrom-V2024JsonToApprovalIdentity { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ApprovalIdentity' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ApprovalIdentity + $AllProperties = ("id", "type", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ApprovalInfoResponse.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ApprovalInfoResponse.ps1 new file mode 100644 index 000000000..dc76d7da7 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ApprovalInfoResponse.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +the id of approver +.PARAMETER Name +the name of approver +.PARAMETER Status +the status of the approval request +.OUTPUTS + +ApprovalInfoResponse +#> + +function Initialize-V2024ApprovalInfoResponse { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Status} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ApprovalInfoResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "status" = ${Status} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ApprovalInfoResponse + +.DESCRIPTION + +Convert from JSON to ApprovalInfoResponse + +.PARAMETER Json + +Json object + +.OUTPUTS + +ApprovalInfoResponse +#> +function ConvertFrom-V2024JsonToApprovalInfoResponse { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ApprovalInfoResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ApprovalInfoResponse + $AllProperties = ("id", "name", "status") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { #optional property not found + $Status = $null + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "status" = ${Status} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ApprovalItemDetails.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ApprovalItemDetails.ps1 new file mode 100644 index 000000000..28c2fcdc3 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ApprovalItemDetails.ps1 @@ -0,0 +1,174 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +The approval item's ID +.PARAMETER Account +The account referenced by the approval item +.PARAMETER Application +The name of the application/source +.PARAMETER Name +The attribute's name +.PARAMETER Operation +The attribute's operation +.PARAMETER Value +The attribute's value +.PARAMETER State +No description available. +.OUTPUTS + +ApprovalItemDetails +#> + +function Initialize-V2024ApprovalItemDetails { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Account}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Application}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Operation}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Value}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${State} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ApprovalItemDetails' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "account" = ${Account} + "application" = ${Application} + "name" = ${Name} + "operation" = ${Operation} + "value" = ${Value} + "state" = ${State} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ApprovalItemDetails + +.DESCRIPTION + +Convert from JSON to ApprovalItemDetails + +.PARAMETER Json + +Json object + +.OUTPUTS + +ApprovalItemDetails +#> +function ConvertFrom-V2024JsonToApprovalItemDetails { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ApprovalItemDetails' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ApprovalItemDetails + $AllProperties = ("id", "account", "application", "name", "operation", "value", "state") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "account"))) { #optional property not found + $Account = $null + } else { + $Account = $JsonParameters.PSobject.Properties["account"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "application"))) { #optional property not found + $Application = $null + } else { + $Application = $JsonParameters.PSobject.Properties["application"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "operation"))) { #optional property not found + $Operation = $null + } else { + $Operation = $JsonParameters.PSobject.Properties["operation"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "value"))) { #optional property not found + $Value = $null + } else { + $Value = $JsonParameters.PSobject.Properties["value"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "state"))) { #optional property not found + $State = $null + } else { + $State = $JsonParameters.PSobject.Properties["state"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "account" = ${Account} + "application" = ${Application} + "name" = ${Name} + "operation" = ${Operation} + "value" = ${Value} + "state" = ${State} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ApprovalItems.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ApprovalItems.ps1 new file mode 100644 index 000000000..26fff224f --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ApprovalItems.ps1 @@ -0,0 +1,174 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +The approval item's ID +.PARAMETER Account +The account referenced by the approval item +.PARAMETER Application +The name of the application/source +.PARAMETER Name +The attribute's name +.PARAMETER Operation +The attribute's operation +.PARAMETER Value +The attribute's value +.PARAMETER State +No description available. +.OUTPUTS + +ApprovalItems +#> + +function Initialize-V2024ApprovalItems { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Account}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Application}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Operation}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Value}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${State} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ApprovalItems' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "account" = ${Account} + "application" = ${Application} + "name" = ${Name} + "operation" = ${Operation} + "value" = ${Value} + "state" = ${State} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ApprovalItems + +.DESCRIPTION + +Convert from JSON to ApprovalItems + +.PARAMETER Json + +Json object + +.OUTPUTS + +ApprovalItems +#> +function ConvertFrom-V2024JsonToApprovalItems { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ApprovalItems' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ApprovalItems + $AllProperties = ("id", "account", "application", "name", "operation", "value", "state") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "account"))) { #optional property not found + $Account = $null + } else { + $Account = $JsonParameters.PSobject.Properties["account"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "application"))) { #optional property not found + $Application = $null + } else { + $Application = $JsonParameters.PSobject.Properties["application"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "operation"))) { #optional property not found + $Operation = $null + } else { + $Operation = $JsonParameters.PSobject.Properties["operation"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "value"))) { #optional property not found + $Value = $null + } else { + $Value = $JsonParameters.PSobject.Properties["value"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "state"))) { #optional property not found + $State = $null + } else { + $State = $JsonParameters.PSobject.Properties["state"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "account" = ${Account} + "application" = ${Application} + "name" = ${Name} + "operation" = ${Operation} + "value" = ${Value} + "state" = ${State} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ApprovalName.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ApprovalName.ps1 new file mode 100644 index 000000000..91bbf6edc --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ApprovalName.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Approval Name Object + +.PARAMETER Value +Name of the approval +.PARAMETER Locale +What locale the name of the approval is using +.OUTPUTS + +ApprovalName +#> + +function Initialize-V2024ApprovalName { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Value}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Locale} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ApprovalName' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "value" = ${Value} + "locale" = ${Locale} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ApprovalName + +.DESCRIPTION + +Convert from JSON to ApprovalName + +.PARAMETER Json + +Json object + +.OUTPUTS + +ApprovalName +#> +function ConvertFrom-V2024JsonToApprovalName { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ApprovalName' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ApprovalName + $AllProperties = ("value", "locale") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "value"))) { #optional property not found + $Value = $null + } else { + $Value = $JsonParameters.PSobject.Properties["value"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "locale"))) { #optional property not found + $Locale = $null + } else { + $Locale = $JsonParameters.PSobject.Properties["locale"].value + } + + $PSO = [PSCustomObject]@{ + "value" = ${Value} + "locale" = ${Locale} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ApprovalReference.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ApprovalReference.ps1 new file mode 100644 index 000000000..338f10e4f --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ApprovalReference.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Reference objects related to the approval + +.PARAMETER Id +Id of the reference object +.PARAMETER Type +What reference object does this ID correspond to +.OUTPUTS + +ApprovalReference +#> + +function Initialize-V2024ApprovalReference { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Type} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ApprovalReference' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ApprovalReference + +.DESCRIPTION + +Convert from JSON to ApprovalReference + +.PARAMETER Json + +Json object + +.OUTPUTS + +ApprovalReference +#> +function ConvertFrom-V2024JsonToApprovalReference { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ApprovalReference' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ApprovalReference + $AllProperties = ("id", "type") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ApprovalReminderAndEscalationConfig.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ApprovalReminderAndEscalationConfig.ps1 new file mode 100644 index 000000000..1d8dd8e5c --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ApprovalReminderAndEscalationConfig.ps1 @@ -0,0 +1,139 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER DaysUntilEscalation +Number of days to wait before the first reminder. If no reminders are configured, then this is the number of days to wait before escalation. +.PARAMETER DaysBetweenReminders +Number of days to wait between reminder notifications. +.PARAMETER MaxReminders +Maximum number of reminder notification to send to the reviewer before approval escalation. +.PARAMETER FallbackApproverRef +No description available. +.OUTPUTS + +ApprovalReminderAndEscalationConfig +#> + +function Initialize-V2024ApprovalReminderAndEscalationConfig { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${DaysUntilEscalation}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${DaysBetweenReminders}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${MaxReminders}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${FallbackApproverRef} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ApprovalReminderAndEscalationConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if ($MaxReminders -and $MaxReminders -lt 1) { + throw "invalid value for 'MaxReminders', must be greater than or equal to 1." + } + + + $PSO = [PSCustomObject]@{ + "daysUntilEscalation" = ${DaysUntilEscalation} + "daysBetweenReminders" = ${DaysBetweenReminders} + "maxReminders" = ${MaxReminders} + "fallbackApproverRef" = ${FallbackApproverRef} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ApprovalReminderAndEscalationConfig + +.DESCRIPTION + +Convert from JSON to ApprovalReminderAndEscalationConfig + +.PARAMETER Json + +Json object + +.OUTPUTS + +ApprovalReminderAndEscalationConfig +#> +function ConvertFrom-V2024JsonToApprovalReminderAndEscalationConfig { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ApprovalReminderAndEscalationConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ApprovalReminderAndEscalationConfig + $AllProperties = ("daysUntilEscalation", "daysBetweenReminders", "maxReminders", "fallbackApproverRef") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "daysUntilEscalation"))) { #optional property not found + $DaysUntilEscalation = $null + } else { + $DaysUntilEscalation = $JsonParameters.PSobject.Properties["daysUntilEscalation"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "daysBetweenReminders"))) { #optional property not found + $DaysBetweenReminders = $null + } else { + $DaysBetweenReminders = $JsonParameters.PSobject.Properties["daysBetweenReminders"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "maxReminders"))) { #optional property not found + $MaxReminders = $null + } else { + $MaxReminders = $JsonParameters.PSobject.Properties["maxReminders"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "fallbackApproverRef"))) { #optional property not found + $FallbackApproverRef = $null + } else { + $FallbackApproverRef = $JsonParameters.PSobject.Properties["fallbackApproverRef"].value + } + + $PSO = [PSCustomObject]@{ + "daysUntilEscalation" = ${DaysUntilEscalation} + "daysBetweenReminders" = ${DaysBetweenReminders} + "maxReminders" = ${MaxReminders} + "fallbackApproverRef" = ${FallbackApproverRef} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ApprovalScheme.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ApprovalScheme.ps1 new file mode 100644 index 000000000..9dfe19001 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ApprovalScheme.ps1 @@ -0,0 +1,34 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum ApprovalScheme. + +.DESCRIPTION + +Describes the individual or group that is responsible for an approval step. +#> + +enum ApprovalScheme { + # enum value: "APP_OWNER" + APP_OWNER + # enum value: "SOURCE_OWNER" + SOURCE_OWNER + # enum value: "MANAGER" + MANAGER + # enum value: "ROLE_OWNER" + ROLE_OWNER + # enum value: "ACCESS_PROFILE_OWNER" + ACCESS_PROFILE_OWNER + # enum value: "ENTITLEMENT_OWNER" + ENTITLEMENT_OWNER + # enum value: "GOVERNANCE_GROUP" + GOVERNANCE_GROUP +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ApprovalSchemeForRole.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ApprovalSchemeForRole.ps1 new file mode 100644 index 000000000..47edabfce --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ApprovalSchemeForRole.ps1 @@ -0,0 +1,110 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER ApproverType +Describes the individual or group that is responsible for an approval step. Values are as follows. **OWNER**: Owner of the associated Role **MANAGER**: Manager of the Identity making the request **GOVERNANCE_GROUP**: A Governance Group, the ID of which is specified by the **approverId** field +.PARAMETER ApproverId +Id of the specific approver, used only when approverType is GOVERNANCE_GROUP +.OUTPUTS + +ApprovalSchemeForRole +#> + +function Initialize-V2024ApprovalSchemeForRole { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("OWNER", "MANAGER", "GOVERNANCE_GROUP")] + [String] + ${ApproverType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ApproverId} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ApprovalSchemeForRole' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "approverType" = ${ApproverType} + "approverId" = ${ApproverId} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ApprovalSchemeForRole + +.DESCRIPTION + +Convert from JSON to ApprovalSchemeForRole + +.PARAMETER Json + +Json object + +.OUTPUTS + +ApprovalSchemeForRole +#> +function ConvertFrom-V2024JsonToApprovalSchemeForRole { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ApprovalSchemeForRole' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ApprovalSchemeForRole + $AllProperties = ("approverType", "approverId") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "approverType"))) { #optional property not found + $ApproverType = $null + } else { + $ApproverType = $JsonParameters.PSobject.Properties["approverType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "approverId"))) { #optional property not found + $ApproverId = $null + } else { + $ApproverId = $JsonParameters.PSobject.Properties["approverId"].value + } + + $PSO = [PSCustomObject]@{ + "approverType" = ${ApproverType} + "approverId" = ${ApproverId} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ApprovalStatus.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ApprovalStatus.ps1 new file mode 100644 index 000000000..2828e506c --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ApprovalStatus.ps1 @@ -0,0 +1,30 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum ApprovalStatus. + +.DESCRIPTION + +Enum representing the non-employee request approval status +#> + +enum ApprovalStatus { + # enum value: "APPROVED" + APPROVED + # enum value: "REJECTED" + REJECTED + # enum value: "PENDING" + PENDING + # enum value: "NOT_READY" + NOT_READY + # enum value: "CANCELLED" + CANCELLED +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ApprovalStatusDto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ApprovalStatusDto.ps1 new file mode 100644 index 000000000..2c4169c46 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ApprovalStatusDto.ps1 @@ -0,0 +1,202 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Forwarded +True if the request for this item was forwarded from one owner to another. +.PARAMETER OriginalOwner +No description available. +.PARAMETER CurrentOwner +No description available. +.PARAMETER Modified +Time at which item was modified. +.PARAMETER Status +No description available. +.PARAMETER Scheme +No description available. +.PARAMETER ErrorMessages +If the request failed, includes any error messages that were generated. +.PARAMETER Comment +Comment, if any, provided by the approver. +.PARAMETER RemoveDate +The date the role or access profile or entitlement is no longer assigned to the specified identity. +.OUTPUTS + +ApprovalStatusDto +#> + +function Initialize-V2024ApprovalStatusDto { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Forwarded} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${OriginalOwner}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${CurrentOwner}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Modified}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("PENDING", "APPROVED", "REJECTED", "EXPIRED", "CANCELLED", "ARCHIVED")] + [PSCustomObject] + ${Status}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("APP_OWNER", "SOURCE_OWNER", "MANAGER", "ROLE_OWNER", "ACCESS_PROFILE_OWNER", "ENTITLEMENT_OWNER", "GOVERNANCE_GROUP")] + [PSCustomObject] + ${Scheme}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${ErrorMessages}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Comment}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${RemoveDate} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ApprovalStatusDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "forwarded" = ${Forwarded} + "originalOwner" = ${OriginalOwner} + "currentOwner" = ${CurrentOwner} + "modified" = ${Modified} + "status" = ${Status} + "scheme" = ${Scheme} + "errorMessages" = ${ErrorMessages} + "comment" = ${Comment} + "removeDate" = ${RemoveDate} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ApprovalStatusDto + +.DESCRIPTION + +Convert from JSON to ApprovalStatusDto + +.PARAMETER Json + +Json object + +.OUTPUTS + +ApprovalStatusDto +#> +function ConvertFrom-V2024JsonToApprovalStatusDto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ApprovalStatusDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ApprovalStatusDto + $AllProperties = ("forwarded", "originalOwner", "currentOwner", "modified", "status", "scheme", "errorMessages", "comment", "removeDate") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "forwarded"))) { #optional property not found + $Forwarded = $null + } else { + $Forwarded = $JsonParameters.PSobject.Properties["forwarded"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "originalOwner"))) { #optional property not found + $OriginalOwner = $null + } else { + $OriginalOwner = $JsonParameters.PSobject.Properties["originalOwner"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "currentOwner"))) { #optional property not found + $CurrentOwner = $null + } else { + $CurrentOwner = $JsonParameters.PSobject.Properties["currentOwner"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { #optional property not found + $Status = $null + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "scheme"))) { #optional property not found + $Scheme = $null + } else { + $Scheme = $JsonParameters.PSobject.Properties["scheme"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "errorMessages"))) { #optional property not found + $ErrorMessages = $null + } else { + $ErrorMessages = $JsonParameters.PSobject.Properties["errorMessages"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "comment"))) { #optional property not found + $Comment = $null + } else { + $Comment = $JsonParameters.PSobject.Properties["comment"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "removeDate"))) { #optional property not found + $RemoveDate = $null + } else { + $RemoveDate = $JsonParameters.PSobject.Properties["removeDate"].value + } + + $PSO = [PSCustomObject]@{ + "forwarded" = ${Forwarded} + "originalOwner" = ${OriginalOwner} + "currentOwner" = ${CurrentOwner} + "modified" = ${Modified} + "status" = ${Status} + "scheme" = ${Scheme} + "errorMessages" = ${ErrorMessages} + "comment" = ${Comment} + "removeDate" = ${RemoveDate} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ApprovalStatusDtoCurrentOwner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ApprovalStatusDtoCurrentOwner.ps1 new file mode 100644 index 000000000..c1840df7a --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ApprovalStatusDtoCurrentOwner.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Type +DTO type of identity who reviewed the access item request. +.PARAMETER Id +ID of identity who reviewed the access item request. +.PARAMETER Name +Human-readable display name of identity who reviewed the access item request. +.OUTPUTS + +ApprovalStatusDtoCurrentOwner +#> + +function Initialize-V2024ApprovalStatusDtoCurrentOwner { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ApprovalStatusDtoCurrentOwner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ApprovalStatusDtoCurrentOwner + +.DESCRIPTION + +Convert from JSON to ApprovalStatusDtoCurrentOwner + +.PARAMETER Json + +Json object + +.OUTPUTS + +ApprovalStatusDtoCurrentOwner +#> +function ConvertFrom-V2024JsonToApprovalStatusDtoCurrentOwner { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ApprovalStatusDtoCurrentOwner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ApprovalStatusDtoCurrentOwner + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ApprovalStatusDtoOriginalOwner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ApprovalStatusDtoOriginalOwner.ps1 new file mode 100644 index 000000000..6eef40be2 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ApprovalStatusDtoOriginalOwner.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Identity of orginal approval owner. + +.PARAMETER Type +DTO type of original approval owner's identity. +.PARAMETER Id +ID of original approval owner's identity. +.PARAMETER Name +Display name of original approval owner. +.OUTPUTS + +ApprovalStatusDtoOriginalOwner +#> + +function Initialize-V2024ApprovalStatusDtoOriginalOwner { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("GOVERNANCE_GROUP", "IDENTITY")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ApprovalStatusDtoOriginalOwner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ApprovalStatusDtoOriginalOwner + +.DESCRIPTION + +Convert from JSON to ApprovalStatusDtoOriginalOwner + +.PARAMETER Json + +Json object + +.OUTPUTS + +ApprovalStatusDtoOriginalOwner +#> +function ConvertFrom-V2024JsonToApprovalStatusDtoOriginalOwner { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ApprovalStatusDtoOriginalOwner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ApprovalStatusDtoOriginalOwner + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ApprovalSummary.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ApprovalSummary.ps1 new file mode 100644 index 000000000..ef36fab3b --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ApprovalSummary.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Pending +The number of pending access requests approvals. +.PARAMETER Approved +The number of approved access requests approvals. +.PARAMETER Rejected +The number of rejected access requests approvals. +.OUTPUTS + +ApprovalSummary +#> + +function Initialize-V2024ApprovalSummary { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${Pending}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${Approved}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${Rejected} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ApprovalSummary' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "pending" = ${Pending} + "approved" = ${Approved} + "rejected" = ${Rejected} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ApprovalSummary + +.DESCRIPTION + +Convert from JSON to ApprovalSummary + +.PARAMETER Json + +Json object + +.OUTPUTS + +ApprovalSummary +#> +function ConvertFrom-V2024JsonToApprovalSummary { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ApprovalSummary' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ApprovalSummary + $AllProperties = ("pending", "approved", "rejected") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "pending"))) { #optional property not found + $Pending = $null + } else { + $Pending = $JsonParameters.PSobject.Properties["pending"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "approved"))) { #optional property not found + $Approved = $null + } else { + $Approved = $JsonParameters.PSobject.Properties["approved"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "rejected"))) { #optional property not found + $Rejected = $null + } else { + $Rejected = $JsonParameters.PSobject.Properties["rejected"].value + } + + $PSO = [PSCustomObject]@{ + "pending" = ${Pending} + "approved" = ${Approved} + "rejected" = ${Rejected} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Argument.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Argument.ps1 new file mode 100644 index 000000000..27444ed3d --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Argument.ps1 @@ -0,0 +1,130 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Name +the name of the argument +.PARAMETER Description +the description of the argument +.PARAMETER Type +the programmatic type of the argument +.OUTPUTS + +Argument +#> + +function Initialize-V2024Argument { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Type} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Argument' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "description" = ${Description} + "type" = ${Type} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Argument + +.DESCRIPTION + +Convert from JSON to Argument + +.PARAMETER Json + +Json object + +.OUTPUTS + +Argument +#> +function ConvertFrom-V2024JsonToArgument { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Argument' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Argument + $AllProperties = ("name", "description", "type") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'name' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "description" = ${Description} + "type" = ${Type} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ArrayInner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ArrayInner.ps1 new file mode 100644 index 000000000..571a5c144 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ArrayInner.ps1 @@ -0,0 +1,102 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Json + +JSON object + +.OUTPUTS + +ArrayInner +#> +function ConvertFrom-V2024JsonToArrayInner { + [CmdletBinding()] + Param ( + [AllowEmptyString()] + [string]$Json + ) + + Process { + $match = 0 + $matchType = $null + $matchInstance = $null + + if ($match -ne 0) { # no match yet + # try to match Int32 defined in the anyOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToInt32 $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "Int32" + $match++ + break + } + } + } catch { + # fail to match the schema defined in anyOf, proceed to the next one + Write-Debug "Failed to match 'Int32' defined in anyOf (V2024ArrayInner). Proceeding to the next one if any." + } + } + + if ($match -ne 0) { # no match yet + # try to match String defined in the anyOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToString $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "String" + $match++ + break + } + } + } catch { + # fail to match the schema defined in anyOf, proceed to the next one + Write-Debug "Failed to match 'String' defined in anyOf (V2024ArrayInner). Proceeding to the next one if any." + } + } + + if ($match -ne 0) { # no match yet + # try to match SystemCollectionsHashtable defined in the anyOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToSystemCollectionsHashtable $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "SystemCollectionsHashtable" + $match++ + break + } + } + } catch { + # fail to match the schema defined in anyOf, proceed to the next one + Write-Debug "Failed to match 'SystemCollectionsHashtable' defined in anyOf (V2024ArrayInner). Proceeding to the next one if any." + } + } + + if ($match -eq 1) { + return [PSCustomObject]@{ + "ActualType" = ${matchType} + "ActualInstance" = ${matchInstance} + "anyOfSchemas" = @("Int32", "String", "SystemCollectionsHashtable") + } + } else { + throw "Error! The JSON payload doesn't matches any type defined in anyOf schemas ([Int32, String, SystemCollectionsHashtable]). JSON Payload: $($Json)" + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AssignmentContextDto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AssignmentContextDto.ps1 new file mode 100644 index 000000000..94c13d10a --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AssignmentContextDto.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Requested +No description available. +.PARAMETER Matched +No description available. +.PARAMETER ComputedDate +Date that the assignment will was evaluated +.OUTPUTS + +AssignmentContextDto +#> + +function Initialize-V2024AssignmentContextDto { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Requested}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Matched}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ComputedDate} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AssignmentContextDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "requested" = ${Requested} + "matched" = ${Matched} + "computedDate" = ${ComputedDate} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AssignmentContextDto + +.DESCRIPTION + +Convert from JSON to AssignmentContextDto + +.PARAMETER Json + +Json object + +.OUTPUTS + +AssignmentContextDto +#> +function ConvertFrom-V2024JsonToAssignmentContextDto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AssignmentContextDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AssignmentContextDto + $AllProperties = ("requested", "matched", "computedDate") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requested"))) { #optional property not found + $Requested = $null + } else { + $Requested = $JsonParameters.PSobject.Properties["requested"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "matched"))) { #optional property not found + $Matched = $null + } else { + $Matched = $JsonParameters.PSobject.Properties["matched"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "computedDate"))) { #optional property not found + $ComputedDate = $null + } else { + $ComputedDate = $JsonParameters.PSobject.Properties["computedDate"].value + } + + $PSO = [PSCustomObject]@{ + "requested" = ${Requested} + "matched" = ${Matched} + "computedDate" = ${ComputedDate} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AttrSyncSource.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AttrSyncSource.ps1 new file mode 100644 index 000000000..3ef0d9ed3 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AttrSyncSource.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Target source for attribute synchronization. + +.PARAMETER Type +DTO type of target source for attribute synchronization. +.PARAMETER Id +ID of target source for attribute synchronization. +.PARAMETER Name +Human-readable name of target source for attribute synchronization. +.OUTPUTS + +AttrSyncSource +#> + +function Initialize-V2024AttrSyncSource { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("SOURCE")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AttrSyncSource' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AttrSyncSource + +.DESCRIPTION + +Convert from JSON to AttrSyncSource + +.PARAMETER Json + +Json object + +.OUTPUTS + +AttrSyncSource +#> +function ConvertFrom-V2024JsonToAttrSyncSource { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AttrSyncSource' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AttrSyncSource + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AttrSyncSourceAttributeConfig.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AttrSyncSourceAttributeConfig.ps1 new file mode 100644 index 000000000..cbe686cec --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AttrSyncSourceAttributeConfig.ps1 @@ -0,0 +1,155 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Specification of source attribute sync mapping configuration for an identity attribute + +.PARAMETER Name +Name of the identity attribute +.PARAMETER DisplayName +Display name of the identity attribute +.PARAMETER Enabled +Determines whether or not the attribute is enabled for synchronization +.PARAMETER Target +Name of the source account attribute to which the identity attribute value will be synchronized if enabled +.OUTPUTS + +AttrSyncSourceAttributeConfig +#> + +function Initialize-V2024AttrSyncSourceAttributeConfig { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${DisplayName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Boolean] + ${Enabled}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Target} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AttrSyncSourceAttributeConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if (!$DisplayName) { + throw "invalid value for 'DisplayName', 'DisplayName' cannot be null." + } + + if (!$Enabled) { + throw "invalid value for 'Enabled', 'Enabled' cannot be null." + } + + if (!$Target) { + throw "invalid value for 'Target', 'Target' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "displayName" = ${DisplayName} + "enabled" = ${Enabled} + "target" = ${Target} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AttrSyncSourceAttributeConfig + +.DESCRIPTION + +Convert from JSON to AttrSyncSourceAttributeConfig + +.PARAMETER Json + +Json object + +.OUTPUTS + +AttrSyncSourceAttributeConfig +#> +function ConvertFrom-V2024JsonToAttrSyncSourceAttributeConfig { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AttrSyncSourceAttributeConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AttrSyncSourceAttributeConfig + $AllProperties = ("name", "displayName", "enabled", "target") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'name' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "displayName"))) { + throw "Error! JSON cannot be serialized due to the required property 'displayName' missing." + } else { + $DisplayName = $JsonParameters.PSobject.Properties["displayName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "enabled"))) { + throw "Error! JSON cannot be serialized due to the required property 'enabled' missing." + } else { + $Enabled = $JsonParameters.PSobject.Properties["enabled"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "target"))) { + throw "Error! JSON cannot be serialized due to the required property 'target' missing." + } else { + $Target = $JsonParameters.PSobject.Properties["target"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "displayName" = ${DisplayName} + "enabled" = ${Enabled} + "target" = ${Target} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AttrSyncSourceConfig.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AttrSyncSourceConfig.ps1 new file mode 100644 index 000000000..70461638e --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AttrSyncSourceConfig.ps1 @@ -0,0 +1,121 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Specification of attribute sync configuration for a source + +.PARAMETER Source +No description available. +.PARAMETER Attributes +Attribute synchronization configuration for specific identity attributes in the context of a source +.OUTPUTS + +AttrSyncSourceConfig +#> + +function Initialize-V2024AttrSyncSourceConfig { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Source}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Attributes} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AttrSyncSourceConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Source) { + throw "invalid value for 'Source', 'Source' cannot be null." + } + + if (!$Attributes) { + throw "invalid value for 'Attributes', 'Attributes' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "source" = ${Source} + "attributes" = ${Attributes} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AttrSyncSourceConfig + +.DESCRIPTION + +Convert from JSON to AttrSyncSourceConfig + +.PARAMETER Json + +Json object + +.OUTPUTS + +AttrSyncSourceConfig +#> +function ConvertFrom-V2024JsonToAttrSyncSourceConfig { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AttrSyncSourceConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AttrSyncSourceConfig + $AllProperties = ("source", "attributes") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'source' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "source"))) { + throw "Error! JSON cannot be serialized due to the required property 'source' missing." + } else { + $Source = $JsonParameters.PSobject.Properties["source"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributes"))) { + throw "Error! JSON cannot be serialized due to the required property 'attributes' missing." + } else { + $Attributes = $JsonParameters.PSobject.Properties["attributes"].value + } + + $PSO = [PSCustomObject]@{ + "source" = ${Source} + "attributes" = ${Attributes} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AttributeChange.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AttributeChange.ps1 new file mode 100644 index 000000000..ff6db6884 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AttributeChange.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Name +the attribute name +.PARAMETER PreviousValue +the old value of attribute +.PARAMETER NewValue +the new value of attribute +.OUTPUTS + +AttributeChange +#> + +function Initialize-V2024AttributeChange { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${PreviousValue}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${NewValue} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AttributeChange' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "previousValue" = ${PreviousValue} + "newValue" = ${NewValue} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AttributeChange + +.DESCRIPTION + +Convert from JSON to AttributeChange + +.PARAMETER Json + +Json object + +.OUTPUTS + +AttributeChange +#> +function ConvertFrom-V2024JsonToAttributeChange { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AttributeChange' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AttributeChange + $AllProperties = ("name", "previousValue", "newValue") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "previousValue"))) { #optional property not found + $PreviousValue = $null + } else { + $PreviousValue = $JsonParameters.PSobject.Properties["previousValue"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "newValue"))) { #optional property not found + $NewValue = $null + } else { + $NewValue = $JsonParameters.PSobject.Properties["newValue"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "previousValue" = ${PreviousValue} + "newValue" = ${NewValue} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AttributeDTO.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AttributeDTO.ps1 new file mode 100644 index 000000000..d7d057c9c --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AttributeDTO.ps1 @@ -0,0 +1,187 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Key +Technical name of the Attribute. This is unique and cannot be changed after creation. +.PARAMETER Name +The display name of the key. +.PARAMETER Multiselect +Indicates whether the attribute can have multiple values. +.PARAMETER Status +The status of the Attribute. +.PARAMETER Type +The type of the Attribute. This can be either ""custom"" or ""governance"". +.PARAMETER ObjectTypes +An array of object types this attributes values can be applied to. Possible values are ""all"" or ""entitlement"". Value ""all"" means this attribute can be used with all object types that are supported. +.PARAMETER Description +The description of the Attribute. +.PARAMETER Values +No description available. +.OUTPUTS + +AttributeDTO +#> + +function Initialize-V2024AttributeDTO { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Key}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Multiselect} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Status}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${ObjectTypes}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Values} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AttributeDTO' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "key" = ${Key} + "name" = ${Name} + "multiselect" = ${Multiselect} + "status" = ${Status} + "type" = ${Type} + "objectTypes" = ${ObjectTypes} + "description" = ${Description} + "values" = ${Values} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AttributeDTO + +.DESCRIPTION + +Convert from JSON to AttributeDTO + +.PARAMETER Json + +Json object + +.OUTPUTS + +AttributeDTO +#> +function ConvertFrom-V2024JsonToAttributeDTO { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AttributeDTO' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AttributeDTO + $AllProperties = ("key", "name", "multiselect", "status", "type", "objectTypes", "description", "values") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "key"))) { #optional property not found + $Key = $null + } else { + $Key = $JsonParameters.PSobject.Properties["key"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "multiselect"))) { #optional property not found + $Multiselect = $null + } else { + $Multiselect = $JsonParameters.PSobject.Properties["multiselect"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { #optional property not found + $Status = $null + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "objectTypes"))) { #optional property not found + $ObjectTypes = $null + } else { + $ObjectTypes = $JsonParameters.PSobject.Properties["objectTypes"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "values"))) { #optional property not found + $Values = $null + } else { + $Values = $JsonParameters.PSobject.Properties["values"].value + } + + $PSO = [PSCustomObject]@{ + "key" = ${Key} + "name" = ${Name} + "multiselect" = ${Multiselect} + "status" = ${Status} + "type" = ${Type} + "objectTypes" = ${ObjectTypes} + "description" = ${Description} + "values" = ${Values} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AttributeDTOList.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AttributeDTOList.ps1 new file mode 100644 index 000000000..dbaec8742 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AttributeDTOList.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Attributes +No description available. +.OUTPUTS + +AttributeDTOList +#> + +function Initialize-V2024AttributeDTOList { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Attributes} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AttributeDTOList' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "attributes" = ${Attributes} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AttributeDTOList + +.DESCRIPTION + +Convert from JSON to AttributeDTOList + +.PARAMETER Json + +Json object + +.OUTPUTS + +AttributeDTOList +#> +function ConvertFrom-V2024JsonToAttributeDTOList { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AttributeDTOList' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AttributeDTOList + $AllProperties = ("attributes") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributes"))) { #optional property not found + $Attributes = $null + } else { + $Attributes = $JsonParameters.PSobject.Properties["attributes"].value + } + + $PSO = [PSCustomObject]@{ + "attributes" = ${Attributes} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AttributeDefinition.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AttributeDefinition.ps1 new file mode 100644 index 000000000..98af54c57 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AttributeDefinition.ps1 @@ -0,0 +1,175 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Name +The name of the attribute. +.PARAMETER Type +No description available. +.PARAMETER Schema +No description available. +.PARAMETER Description +A human-readable description of the attribute. +.PARAMETER IsMulti +Flag indicating whether or not the attribute is multi-valued. +.PARAMETER IsEntitlement +Flag indicating whether or not the attribute is an entitlement. +.PARAMETER IsGroup +Flag indicating whether or not the attribute represents a group. This can only be `true` if `isEntitlement` is also `true` **and** there is a schema defined for the attribute.. +.OUTPUTS + +AttributeDefinition +#> + +function Initialize-V2024AttributeDefinition { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("STRING", "LONG", "INT", "BOOLEAN")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Schema}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${IsMulti} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${IsEntitlement} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${IsGroup} = $false + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AttributeDefinition' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "type" = ${Type} + "schema" = ${Schema} + "description" = ${Description} + "isMulti" = ${IsMulti} + "isEntitlement" = ${IsEntitlement} + "isGroup" = ${IsGroup} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AttributeDefinition + +.DESCRIPTION + +Convert from JSON to AttributeDefinition + +.PARAMETER Json + +Json object + +.OUTPUTS + +AttributeDefinition +#> +function ConvertFrom-V2024JsonToAttributeDefinition { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AttributeDefinition' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AttributeDefinition + $AllProperties = ("name", "type", "schema", "description", "isMulti", "isEntitlement", "isGroup") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "schema"))) { #optional property not found + $Schema = $null + } else { + $Schema = $JsonParameters.PSobject.Properties["schema"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "isMulti"))) { #optional property not found + $IsMulti = $null + } else { + $IsMulti = $JsonParameters.PSobject.Properties["isMulti"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "isEntitlement"))) { #optional property not found + $IsEntitlement = $null + } else { + $IsEntitlement = $JsonParameters.PSobject.Properties["isEntitlement"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "isGroup"))) { #optional property not found + $IsGroup = $null + } else { + $IsGroup = $JsonParameters.PSobject.Properties["isGroup"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "type" = ${Type} + "schema" = ${Schema} + "description" = ${Description} + "isMulti" = ${IsMulti} + "isEntitlement" = ${IsEntitlement} + "isGroup" = ${IsGroup} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AttributeDefinitionSchema.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AttributeDefinitionSchema.ps1 new file mode 100644 index 000000000..888bf7d6d --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AttributeDefinitionSchema.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +A reference to the schema on the source to the attribute values map to. + +.PARAMETER Type +The type of object being referenced +.PARAMETER Id +The object ID this reference applies to. +.PARAMETER Name +The human-readable display name of the object. +.OUTPUTS + +AttributeDefinitionSchema +#> + +function Initialize-V2024AttributeDefinitionSchema { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("CONNECTOR_SCHEMA")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AttributeDefinitionSchema' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AttributeDefinitionSchema + +.DESCRIPTION + +Convert from JSON to AttributeDefinitionSchema + +.PARAMETER Json + +Json object + +.OUTPUTS + +AttributeDefinitionSchema +#> +function ConvertFrom-V2024JsonToAttributeDefinitionSchema { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AttributeDefinitionSchema' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AttributeDefinitionSchema + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AttributeDefinitionType.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AttributeDefinitionType.ps1 new file mode 100644 index 000000000..72db977b5 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AttributeDefinitionType.ps1 @@ -0,0 +1,28 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum AttributeDefinitionType. + +.DESCRIPTION + +The underlying type of the value which an AttributeDefinition represents. +#> + +enum AttributeDefinitionType { + # enum value: "STRING" + STRING + # enum value: "LONG" + LONG + # enum value: "INT" + INT + # enum value: "BOOLEAN" + BOOLEAN +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AttributeRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AttributeRequest.ps1 new file mode 100644 index 000000000..066f9d700 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AttributeRequest.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Name +Attribute name. +.PARAMETER Op +Operation to perform on attribute. +.PARAMETER Value +Value of attribute. +.OUTPUTS + +AttributeRequest +#> + +function Initialize-V2024AttributeRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Op}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Value} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AttributeRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "op" = ${Op} + "value" = ${Value} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AttributeRequest + +.DESCRIPTION + +Convert from JSON to AttributeRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +AttributeRequest +#> +function ConvertFrom-V2024JsonToAttributeRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AttributeRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AttributeRequest + $AllProperties = ("name", "op", "value") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "op"))) { #optional property not found + $Op = $null + } else { + $Op = $JsonParameters.PSobject.Properties["op"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "value"))) { #optional property not found + $Value = $null + } else { + $Value = $JsonParameters.PSobject.Properties["value"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "op" = ${Op} + "value" = ${Value} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AttributeValueDTO.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AttributeValueDTO.ps1 new file mode 100644 index 000000000..8512aa9c7 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AttributeValueDTO.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Value +Technical name of the Attribute value. This is unique and cannot be changed after creation. +.PARAMETER Name +The display name of the Attribute value. +.PARAMETER Status +The status of the Attribute value. +.OUTPUTS + +AttributeValueDTO +#> + +function Initialize-V2024AttributeValueDTO { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Value}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Status} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AttributeValueDTO' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "value" = ${Value} + "name" = ${Name} + "status" = ${Status} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AttributeValueDTO + +.DESCRIPTION + +Convert from JSON to AttributeValueDTO + +.PARAMETER Json + +Json object + +.OUTPUTS + +AttributeValueDTO +#> +function ConvertFrom-V2024JsonToAttributeValueDTO { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AttributeValueDTO' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AttributeValueDTO + $AllProperties = ("value", "name", "status") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "value"))) { #optional property not found + $Value = $null + } else { + $Value = $JsonParameters.PSobject.Properties["value"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { #optional property not found + $Status = $null + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + $PSO = [PSCustomObject]@{ + "value" = ${Value} + "name" = ${Name} + "status" = ${Status} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AttributesChanged.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AttributesChanged.ps1 new file mode 100644 index 000000000..b13a3e3d9 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AttributesChanged.ps1 @@ -0,0 +1,135 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Changes +No description available. +.PARAMETER EventType +the event type +.PARAMETER IdentityId +the identity id +.PARAMETER Dt +the date of event +.OUTPUTS + +AttributesChanged +#> + +function Initialize-V2024AttributesChanged { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Changes}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${EventType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${IdentityId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Dt} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AttributesChanged' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "changes" = ${Changes} + "eventType" = ${EventType} + "identityId" = ${IdentityId} + "dt" = ${Dt} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AttributesChanged + +.DESCRIPTION + +Convert from JSON to AttributesChanged + +.PARAMETER Json + +Json object + +.OUTPUTS + +AttributesChanged +#> +function ConvertFrom-V2024JsonToAttributesChanged { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AttributesChanged' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AttributesChanged + $AllProperties = ("changes", "eventType", "identityId", "dt") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "changes"))) { #optional property not found + $Changes = $null + } else { + $Changes = $JsonParameters.PSobject.Properties["changes"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "eventType"))) { #optional property not found + $EventType = $null + } else { + $EventType = $JsonParameters.PSobject.Properties["eventType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityId"))) { #optional property not found + $IdentityId = $null + } else { + $IdentityId = $JsonParameters.PSobject.Properties["identityId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "dt"))) { #optional property not found + $Dt = $null + } else { + $Dt = $JsonParameters.PSobject.Properties["dt"].value + } + + $PSO = [PSCustomObject]@{ + "changes" = ${Changes} + "eventType" = ${EventType} + "identityId" = ${IdentityId} + "dt" = ${Dt} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AuditDetails.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AuditDetails.ps1 new file mode 100644 index 000000000..0e41778e5 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AuditDetails.ps1 @@ -0,0 +1,135 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Audit details for the reassignment configuration of an identity + +.PARAMETER Created +Initial date and time when the record was created +.PARAMETER CreatedBy +No description available. +.PARAMETER Modified +Last modified date and time for the record +.PARAMETER ModifiedBy +No description available. +.OUTPUTS + +AuditDetails +#> + +function Initialize-V2024AuditDetails { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${CreatedBy}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Modified}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${ModifiedBy} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AuditDetails' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "created" = ${Created} + "createdBy" = ${CreatedBy} + "modified" = ${Modified} + "modifiedBy" = ${ModifiedBy} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AuditDetails + +.DESCRIPTION + +Convert from JSON to AuditDetails + +.PARAMETER Json + +Json object + +.OUTPUTS + +AuditDetails +#> +function ConvertFrom-V2024JsonToAuditDetails { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AuditDetails' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AuditDetails + $AllProperties = ("created", "createdBy", "modified", "modifiedBy") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "createdBy"))) { #optional property not found + $CreatedBy = $null + } else { + $CreatedBy = $JsonParameters.PSobject.Properties["createdBy"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modifiedBy"))) { #optional property not found + $ModifiedBy = $null + } else { + $ModifiedBy = $JsonParameters.PSobject.Properties["modifiedBy"].value + } + + $PSO = [PSCustomObject]@{ + "created" = ${Created} + "createdBy" = ${CreatedBy} + "modified" = ${Modified} + "modifiedBy" = ${ModifiedBy} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AuthProfile.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AuthProfile.ps1 new file mode 100644 index 000000000..48a622821 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AuthProfile.ps1 @@ -0,0 +1,175 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Name +Authentication Profile name. +.PARAMETER OffNetwork +Use it to block access from off network. +.PARAMETER UntrustedGeography +Use it to block access from untrusted geoographies. +.PARAMETER ApplicationId +Application ID. +.PARAMETER ApplicationName +Application name. +.PARAMETER Type +Type of the Authentication Profile. +.PARAMETER StrongAuthLogin +Use it to enable strong authentication. +.OUTPUTS + +AuthProfile +#> + +function Initialize-V2024AuthProfile { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${OffNetwork} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${UntrustedGeography} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ApplicationId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ApplicationName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("BLOCK", "MFA", "NON_PTA", "PTA")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${StrongAuthLogin} = $false + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AuthProfile' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "offNetwork" = ${OffNetwork} + "untrustedGeography" = ${UntrustedGeography} + "applicationId" = ${ApplicationId} + "applicationName" = ${ApplicationName} + "type" = ${Type} + "strongAuthLogin" = ${StrongAuthLogin} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AuthProfile + +.DESCRIPTION + +Convert from JSON to AuthProfile + +.PARAMETER Json + +Json object + +.OUTPUTS + +AuthProfile +#> +function ConvertFrom-V2024JsonToAuthProfile { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AuthProfile' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AuthProfile + $AllProperties = ("name", "offNetwork", "untrustedGeography", "applicationId", "applicationName", "type", "strongAuthLogin") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "offNetwork"))) { #optional property not found + $OffNetwork = $null + } else { + $OffNetwork = $JsonParameters.PSobject.Properties["offNetwork"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "untrustedGeography"))) { #optional property not found + $UntrustedGeography = $null + } else { + $UntrustedGeography = $JsonParameters.PSobject.Properties["untrustedGeography"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "applicationId"))) { #optional property not found + $ApplicationId = $null + } else { + $ApplicationId = $JsonParameters.PSobject.Properties["applicationId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "applicationName"))) { #optional property not found + $ApplicationName = $null + } else { + $ApplicationName = $JsonParameters.PSobject.Properties["applicationName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "strongAuthLogin"))) { #optional property not found + $StrongAuthLogin = $null + } else { + $StrongAuthLogin = $JsonParameters.PSobject.Properties["strongAuthLogin"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "offNetwork" = ${OffNetwork} + "untrustedGeography" = ${UntrustedGeography} + "applicationId" = ${ApplicationId} + "applicationName" = ${ApplicationName} + "type" = ${Type} + "strongAuthLogin" = ${StrongAuthLogin} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AuthProfileSummary.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AuthProfileSummary.ps1 new file mode 100644 index 000000000..82d882a14 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AuthProfileSummary.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Tenant +Tenant name. +.PARAMETER Id +Identity ID. +.OUTPUTS + +AuthProfileSummary +#> + +function Initialize-V2024AuthProfileSummary { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Tenant}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AuthProfileSummary' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "tenant" = ${Tenant} + "id" = ${Id} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AuthProfileSummary + +.DESCRIPTION + +Convert from JSON to AuthProfileSummary + +.PARAMETER Json + +Json object + +.OUTPUTS + +AuthProfileSummary +#> +function ConvertFrom-V2024JsonToAuthProfileSummary { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AuthProfileSummary' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AuthProfileSummary + $AllProperties = ("tenant", "id") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "tenant"))) { #optional property not found + $Tenant = $null + } else { + $Tenant = $JsonParameters.PSobject.Properties["tenant"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + $PSO = [PSCustomObject]@{ + "tenant" = ${Tenant} + "id" = ${Id} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/AuthUser.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AuthUser.ps1 new file mode 100644 index 000000000..b2dddecdb --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/AuthUser.ps1 @@ -0,0 +1,305 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Tenant +Tenant name. +.PARAMETER Id +Identity ID. +.PARAMETER Uid +Identity's unique identitifier. +.PARAMETER VarProfile +ID of the auth profile associated with the auth user. +.PARAMETER IdentificationNumber +Auth user's employee number. +.PARAMETER Email +Auth user's email. +.PARAMETER Phone +Auth user's phone number. +.PARAMETER WorkPhone +Auth user's work phone number. +.PARAMETER PersonalEmail +Auth user's personal email. +.PARAMETER Firstname +Auth user's first name. +.PARAMETER Lastname +Auth user's last name. +.PARAMETER DisplayName +Auth user's name in displayed format. +.PARAMETER Alias +Auth user's alias. +.PARAMETER LastPasswordChangeDate +Date of last password change. +.PARAMETER LastLoginTimestamp +Timestamp of the last login (long type value). +.PARAMETER CurrentLoginTimestamp +Timestamp of the current login (long type value). +.PARAMETER Capabilities +Array of the auth user's capabilities. +.OUTPUTS + +AuthUser +#> + +function Initialize-V2024AuthUser { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Tenant}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Uid}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${VarProfile}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${IdentificationNumber}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Email}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Phone}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${WorkPhone}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${PersonalEmail}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Firstname}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Lastname}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${DisplayName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Alias}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${LastPasswordChangeDate}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int64]] + ${LastLoginTimestamp}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int64]] + ${CurrentLoginTimestamp}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("CERT_ADMIN", "CLOUD_GOV_ADMIN", "CLOUD_GOV_USER", "HELPDESK", "ORG_ADMIN", "REPORT_ADMIN", "ROLE_ADMIN", "ROLE_SUBADMIN", "SAAS_MANAGEMENT_ADMIN", "SAAS_MANAGEMENT_READER", "SOURCE_ADMIN", "SOURCE_SUBADMIN", "das:ui-administrator", "das:ui-compliance_manager", "das:ui-auditor", "das:ui-data-scope", "sp:aic-dashboard-read", "sp:aic-dashboard-write", "sp:ui-config-hub-admin", "sp:ui-config-hub-backup-admin", "sp:ui-config-hub-read")] + [String[]] + ${Capabilities} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024AuthUser' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "tenant" = ${Tenant} + "id" = ${Id} + "uid" = ${Uid} + "profile" = ${VarProfile} + "identificationNumber" = ${IdentificationNumber} + "email" = ${Email} + "phone" = ${Phone} + "workPhone" = ${WorkPhone} + "personalEmail" = ${PersonalEmail} + "firstname" = ${Firstname} + "lastname" = ${Lastname} + "displayName" = ${DisplayName} + "alias" = ${Alias} + "lastPasswordChangeDate" = ${LastPasswordChangeDate} + "lastLoginTimestamp" = ${LastLoginTimestamp} + "currentLoginTimestamp" = ${CurrentLoginTimestamp} + "capabilities" = ${Capabilities} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to AuthUser + +.DESCRIPTION + +Convert from JSON to AuthUser + +.PARAMETER Json + +Json object + +.OUTPUTS + +AuthUser +#> +function ConvertFrom-V2024JsonToAuthUser { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024AuthUser' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024AuthUser + $AllProperties = ("tenant", "id", "uid", "profile", "identificationNumber", "email", "phone", "workPhone", "personalEmail", "firstname", "lastname", "displayName", "alias", "lastPasswordChangeDate", "lastLoginTimestamp", "currentLoginTimestamp", "capabilities") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "tenant"))) { #optional property not found + $Tenant = $null + } else { + $Tenant = $JsonParameters.PSobject.Properties["tenant"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "uid"))) { #optional property not found + $Uid = $null + } else { + $Uid = $JsonParameters.PSobject.Properties["uid"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "profile"))) { #optional property not found + $VarProfile = $null + } else { + $VarProfile = $JsonParameters.PSobject.Properties["profile"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identificationNumber"))) { #optional property not found + $IdentificationNumber = $null + } else { + $IdentificationNumber = $JsonParameters.PSobject.Properties["identificationNumber"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "email"))) { #optional property not found + $Email = $null + } else { + $Email = $JsonParameters.PSobject.Properties["email"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "phone"))) { #optional property not found + $Phone = $null + } else { + $Phone = $JsonParameters.PSobject.Properties["phone"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "workPhone"))) { #optional property not found + $WorkPhone = $null + } else { + $WorkPhone = $JsonParameters.PSobject.Properties["workPhone"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "personalEmail"))) { #optional property not found + $PersonalEmail = $null + } else { + $PersonalEmail = $JsonParameters.PSobject.Properties["personalEmail"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "firstname"))) { #optional property not found + $Firstname = $null + } else { + $Firstname = $JsonParameters.PSobject.Properties["firstname"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "lastname"))) { #optional property not found + $Lastname = $null + } else { + $Lastname = $JsonParameters.PSobject.Properties["lastname"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "displayName"))) { #optional property not found + $DisplayName = $null + } else { + $DisplayName = $JsonParameters.PSobject.Properties["displayName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "alias"))) { #optional property not found + $Alias = $null + } else { + $Alias = $JsonParameters.PSobject.Properties["alias"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "lastPasswordChangeDate"))) { #optional property not found + $LastPasswordChangeDate = $null + } else { + $LastPasswordChangeDate = $JsonParameters.PSobject.Properties["lastPasswordChangeDate"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "lastLoginTimestamp"))) { #optional property not found + $LastLoginTimestamp = $null + } else { + $LastLoginTimestamp = $JsonParameters.PSobject.Properties["lastLoginTimestamp"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "currentLoginTimestamp"))) { #optional property not found + $CurrentLoginTimestamp = $null + } else { + $CurrentLoginTimestamp = $JsonParameters.PSobject.Properties["currentLoginTimestamp"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "capabilities"))) { #optional property not found + $Capabilities = $null + } else { + $Capabilities = $JsonParameters.PSobject.Properties["capabilities"].value + } + + $PSO = [PSCustomObject]@{ + "tenant" = ${Tenant} + "id" = ${Id} + "uid" = ${Uid} + "profile" = ${VarProfile} + "identificationNumber" = ${IdentificationNumber} + "email" = ${Email} + "phone" = ${Phone} + "workPhone" = ${WorkPhone} + "personalEmail" = ${PersonalEmail} + "firstname" = ${Firstname} + "lastname" = ${Lastname} + "displayName" = ${DisplayName} + "alias" = ${Alias} + "lastPasswordChangeDate" = ${LastPasswordChangeDate} + "lastLoginTimestamp" = ${LastLoginTimestamp} + "currentLoginTimestamp" = ${CurrentLoginTimestamp} + "capabilities" = ${Capabilities} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Base64Decode.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Base64Decode.ps1 new file mode 100644 index 000000000..4fe0209cc --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Base64Decode.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER RequiresPeriodicRefresh +A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process +.PARAMETER VarInput +This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI. +.OUTPUTS + +Base64Decode +#> + +function Initialize-V2024Base64Decode { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${RequiresPeriodicRefresh} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${VarInput} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Base64Decode' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + "input" = ${VarInput} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Base64Decode + +.DESCRIPTION + +Convert from JSON to Base64Decode + +.PARAMETER Json + +Json object + +.OUTPUTS + +Base64Decode +#> +function ConvertFrom-V2024JsonToBase64Decode { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Base64Decode' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Base64Decode + $AllProperties = ("requiresPeriodicRefresh", "input") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requiresPeriodicRefresh"))) { #optional property not found + $RequiresPeriodicRefresh = $null + } else { + $RequiresPeriodicRefresh = $JsonParameters.PSobject.Properties["requiresPeriodicRefresh"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "input"))) { #optional property not found + $VarInput = $null + } else { + $VarInput = $JsonParameters.PSobject.Properties["input"].value + } + + $PSO = [PSCustomObject]@{ + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + "input" = ${VarInput} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Base64Encode.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Base64Encode.ps1 new file mode 100644 index 000000000..c57b30f8a --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Base64Encode.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER RequiresPeriodicRefresh +A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process +.PARAMETER VarInput +This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI. +.OUTPUTS + +Base64Encode +#> + +function Initialize-V2024Base64Encode { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${RequiresPeriodicRefresh} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${VarInput} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Base64Encode' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + "input" = ${VarInput} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Base64Encode + +.DESCRIPTION + +Convert from JSON to Base64Encode + +.PARAMETER Json + +Json object + +.OUTPUTS + +Base64Encode +#> +function ConvertFrom-V2024JsonToBase64Encode { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Base64Encode' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Base64Encode + $AllProperties = ("requiresPeriodicRefresh", "input") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requiresPeriodicRefresh"))) { #optional property not found + $RequiresPeriodicRefresh = $null + } else { + $RequiresPeriodicRefresh = $JsonParameters.PSobject.Properties["requiresPeriodicRefresh"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "input"))) { #optional property not found + $VarInput = $null + } else { + $VarInput = $JsonParameters.PSobject.Properties["input"].value + } + + $PSO = [PSCustomObject]@{ + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + "input" = ${VarInput} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/BaseAccess.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/BaseAccess.ps1 new file mode 100644 index 000000000..620842676 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/BaseAccess.ps1 @@ -0,0 +1,213 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +The unique ID of the referenced object. +.PARAMETER Name +The human readable name of the referenced object. +.PARAMETER Description +Access item's description. +.PARAMETER Created +ISO-8601 date-time referring to the time when the object was created. +.PARAMETER Modified +ISO-8601 date-time referring to the time when the object was last modified. +.PARAMETER Synced +ISO-8601 date-time referring to the date-time when object was queued to be synced into search database for use in the search API. This date-time changes anytime there is an update to the object, which triggers a synchronization event being sent to the search database. There may be some delay between the `synced` time and the time when the updated data is actually available in the search API. +.PARAMETER Enabled +Indicates whether the access item is currently enabled. +.PARAMETER Requestable +Indicates whether the access item can be requested. +.PARAMETER RequestCommentsRequired +Indicates whether comments are required for requests to access the item. +.PARAMETER Owner +No description available. +.OUTPUTS + +BaseAccess +#> + +function Initialize-V2024BaseAccess { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Modified}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Synced}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Enabled} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Requestable} = $true, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${RequestCommentsRequired} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Owner} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024BaseAccess' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "description" = ${Description} + "created" = ${Created} + "modified" = ${Modified} + "synced" = ${Synced} + "enabled" = ${Enabled} + "requestable" = ${Requestable} + "requestCommentsRequired" = ${RequestCommentsRequired} + "owner" = ${Owner} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to BaseAccess + +.DESCRIPTION + +Convert from JSON to BaseAccess + +.PARAMETER Json + +Json object + +.OUTPUTS + +BaseAccess +#> +function ConvertFrom-V2024JsonToBaseAccess { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024BaseAccess' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024BaseAccess + $AllProperties = ("id", "name", "description", "created", "modified", "synced", "enabled", "requestable", "requestCommentsRequired", "owner") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "synced"))) { #optional property not found + $Synced = $null + } else { + $Synced = $JsonParameters.PSobject.Properties["synced"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "enabled"))) { #optional property not found + $Enabled = $null + } else { + $Enabled = $JsonParameters.PSobject.Properties["enabled"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requestable"))) { #optional property not found + $Requestable = $null + } else { + $Requestable = $JsonParameters.PSobject.Properties["requestable"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requestCommentsRequired"))) { #optional property not found + $RequestCommentsRequired = $null + } else { + $RequestCommentsRequired = $JsonParameters.PSobject.Properties["requestCommentsRequired"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "owner"))) { #optional property not found + $Owner = $null + } else { + $Owner = $JsonParameters.PSobject.Properties["owner"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "description" = ${Description} + "created" = ${Created} + "modified" = ${Modified} + "synced" = ${Synced} + "enabled" = ${Enabled} + "requestable" = ${Requestable} + "requestCommentsRequired" = ${RequestCommentsRequired} + "owner" = ${Owner} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/BaseAccessAllOfOwner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/BaseAccessAllOfOwner.ps1 new file mode 100644 index 000000000..33b94d3a4 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/BaseAccessAllOfOwner.ps1 @@ -0,0 +1,136 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Owner's identity. + +.PARAMETER Type +Owner's DTO type. +.PARAMETER Id +Owner's identity ID. +.PARAMETER Name +Owner's display name. +.PARAMETER Email +Owner's email. +.OUTPUTS + +BaseAccessAllOfOwner +#> + +function Initialize-V2024BaseAccessAllOfOwner { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Email} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024BaseAccessAllOfOwner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + "email" = ${Email} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to BaseAccessAllOfOwner + +.DESCRIPTION + +Convert from JSON to BaseAccessAllOfOwner + +.PARAMETER Json + +Json object + +.OUTPUTS + +BaseAccessAllOfOwner +#> +function ConvertFrom-V2024JsonToBaseAccessAllOfOwner { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024BaseAccessAllOfOwner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024BaseAccessAllOfOwner + $AllProperties = ("type", "id", "name", "email") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "email"))) { #optional property not found + $Email = $null + } else { + $Email = $JsonParameters.PSobject.Properties["email"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + "email" = ${Email} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/BaseAccessProfile.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/BaseAccessProfile.ps1 new file mode 100644 index 000000000..2538d586e --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/BaseAccessProfile.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +Access profile's unique ID. +.PARAMETER Name +Access profile's display name. +.OUTPUTS + +BaseAccessProfile +#> + +function Initialize-V2024BaseAccessProfile { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024BaseAccessProfile' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to BaseAccessProfile + +.DESCRIPTION + +Convert from JSON to BaseAccessProfile + +.PARAMETER Json + +Json object + +.OUTPUTS + +BaseAccessProfile +#> +function ConvertFrom-V2024JsonToBaseAccessProfile { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024BaseAccessProfile' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024BaseAccessProfile + $AllProperties = ("id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/BaseAccount.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/BaseAccount.ps1 new file mode 100644 index 000000000..5a6539977 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/BaseAccount.ps1 @@ -0,0 +1,226 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +The unique ID of the referenced object. +.PARAMETER Name +The human readable name of the referenced object. +.PARAMETER AccountId +Account ID. +.PARAMETER Source +No description available. +.PARAMETER Disabled +Indicates whether the account is disabled. +.PARAMETER Locked +Indicates whether the account is locked. +.PARAMETER Privileged +Indicates whether the account is privileged. +.PARAMETER ManuallyCorrelated +Indicates whether the account has been manually correlated to an identity. +.PARAMETER PasswordLastSet +A date-time in ISO-8601 format +.PARAMETER EntitlementAttributes +Map or dictionary of key/value pairs. +.PARAMETER Created +ISO-8601 date-time referring to the time when the object was created. +.OUTPUTS + +BaseAccount +#> + +function Initialize-V2024BaseAccount { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AccountId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Source}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Disabled} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Locked} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Privileged} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${ManuallyCorrelated} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${PasswordLastSet}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${EntitlementAttributes}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Created} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024BaseAccount' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "accountId" = ${AccountId} + "source" = ${Source} + "disabled" = ${Disabled} + "locked" = ${Locked} + "privileged" = ${Privileged} + "manuallyCorrelated" = ${ManuallyCorrelated} + "passwordLastSet" = ${PasswordLastSet} + "entitlementAttributes" = ${EntitlementAttributes} + "created" = ${Created} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to BaseAccount + +.DESCRIPTION + +Convert from JSON to BaseAccount + +.PARAMETER Json + +Json object + +.OUTPUTS + +BaseAccount +#> +function ConvertFrom-V2024JsonToBaseAccount { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024BaseAccount' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024BaseAccount + $AllProperties = ("id", "name", "accountId", "source", "disabled", "locked", "privileged", "manuallyCorrelated", "passwordLastSet", "entitlementAttributes", "created") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accountId"))) { #optional property not found + $AccountId = $null + } else { + $AccountId = $JsonParameters.PSobject.Properties["accountId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "source"))) { #optional property not found + $Source = $null + } else { + $Source = $JsonParameters.PSobject.Properties["source"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "disabled"))) { #optional property not found + $Disabled = $null + } else { + $Disabled = $JsonParameters.PSobject.Properties["disabled"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "locked"))) { #optional property not found + $Locked = $null + } else { + $Locked = $JsonParameters.PSobject.Properties["locked"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "privileged"))) { #optional property not found + $Privileged = $null + } else { + $Privileged = $JsonParameters.PSobject.Properties["privileged"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "manuallyCorrelated"))) { #optional property not found + $ManuallyCorrelated = $null + } else { + $ManuallyCorrelated = $JsonParameters.PSobject.Properties["manuallyCorrelated"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "passwordLastSet"))) { #optional property not found + $PasswordLastSet = $null + } else { + $PasswordLastSet = $JsonParameters.PSobject.Properties["passwordLastSet"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "entitlementAttributes"))) { #optional property not found + $EntitlementAttributes = $null + } else { + $EntitlementAttributes = $JsonParameters.PSobject.Properties["entitlementAttributes"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "accountId" = ${AccountId} + "source" = ${Source} + "disabled" = ${Disabled} + "locked" = ${Locked} + "privileged" = ${Privileged} + "manuallyCorrelated" = ${ManuallyCorrelated} + "passwordLastSet" = ${PasswordLastSet} + "entitlementAttributes" = ${EntitlementAttributes} + "created" = ${Created} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/BaseCommonDto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/BaseCommonDto.ps1 new file mode 100644 index 000000000..bcedc25ee --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/BaseCommonDto.ps1 @@ -0,0 +1,125 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Name +Name of the Object +.OUTPUTS + +BaseCommonDto +#> + +function Initialize-V2024BaseCommonDto { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024BaseCommonDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to BaseCommonDto + +.DESCRIPTION + +Convert from JSON to BaseCommonDto + +.PARAMETER Json + +Json object + +.OUTPUTS + +BaseCommonDto +#> +function ConvertFrom-V2024JsonToBaseCommonDto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024BaseCommonDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024BaseCommonDto + $AllProperties = ("id", "name", "created", "modified") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'name' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "created" = ${Created} + "modified" = ${Modified} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/BaseCommonDto1.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/BaseCommonDto1.ps1 new file mode 100644 index 000000000..c14e4623c --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/BaseCommonDto1.ps1 @@ -0,0 +1,125 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Name +Name of the Object +.OUTPUTS + +BaseCommonDto1 +#> + +function Initialize-V2024BaseCommonDto1 { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024BaseCommonDto1' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to BaseCommonDto1 + +.DESCRIPTION + +Convert from JSON to BaseCommonDto1 + +.PARAMETER Json + +Json object + +.OUTPUTS + +BaseCommonDto1 +#> +function ConvertFrom-V2024JsonToBaseCommonDto1 { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024BaseCommonDto1' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024BaseCommonDto1 + $AllProperties = ("id", "name", "created", "modified") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'name' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "created" = ${Created} + "modified" = ${Modified} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/BaseDocument.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/BaseDocument.ps1 new file mode 100644 index 000000000..554ed0a65 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/BaseDocument.ps1 @@ -0,0 +1,139 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +No description available. +.PARAMETER Name +No description available. +.PARAMETER Type +No description available. +.OUTPUTS + +BaseDocument +#> + +function Initialize-V2024BaseDocument { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("accessprofile", "accountactivity", "account", "aggregation", "entitlement", "event", "identity", "role")] + [PSCustomObject] + ${Type} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024BaseDocument' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "_type" = ${Type} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to BaseDocument + +.DESCRIPTION + +Convert from JSON to BaseDocument + +.PARAMETER Json + +Json object + +.OUTPUTS + +BaseDocument +#> +function ConvertFrom-V2024JsonToBaseDocument { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024BaseDocument' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024BaseDocument + $AllProperties = ("id", "name", "_type") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'id' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "_type"))) { + throw "Error! JSON cannot be serialized due to the required property '_type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["_type"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "_type" = ${Type} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/BaseEntitlement.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/BaseEntitlement.ps1 new file mode 100644 index 000000000..e4ba0cced --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/BaseEntitlement.ps1 @@ -0,0 +1,187 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER HasPermissions +Indicates whether the entitlement has permissions. +.PARAMETER Description +Entitlement's description. +.PARAMETER Attribute +Entitlement attribute's name. +.PARAMETER Value +Entitlement's value. +.PARAMETER Schema +Entitlement's schema. +.PARAMETER Privileged +Indicates whether the entitlement is privileged. +.PARAMETER Id +Entitlement's ID. +.PARAMETER Name +Entitlement's name. +.OUTPUTS + +BaseEntitlement +#> + +function Initialize-V2024BaseEntitlement { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${HasPermissions} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Attribute}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Value}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Schema}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Privileged} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024BaseEntitlement' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "hasPermissions" = ${HasPermissions} + "description" = ${Description} + "attribute" = ${Attribute} + "value" = ${Value} + "schema" = ${Schema} + "privileged" = ${Privileged} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to BaseEntitlement + +.DESCRIPTION + +Convert from JSON to BaseEntitlement + +.PARAMETER Json + +Json object + +.OUTPUTS + +BaseEntitlement +#> +function ConvertFrom-V2024JsonToBaseEntitlement { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024BaseEntitlement' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024BaseEntitlement + $AllProperties = ("hasPermissions", "description", "attribute", "value", "schema", "privileged", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "hasPermissions"))) { #optional property not found + $HasPermissions = $null + } else { + $HasPermissions = $JsonParameters.PSobject.Properties["hasPermissions"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attribute"))) { #optional property not found + $Attribute = $null + } else { + $Attribute = $JsonParameters.PSobject.Properties["attribute"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "value"))) { #optional property not found + $Value = $null + } else { + $Value = $JsonParameters.PSobject.Properties["value"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "schema"))) { #optional property not found + $Schema = $null + } else { + $Schema = $JsonParameters.PSobject.Properties["schema"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "privileged"))) { #optional property not found + $Privileged = $null + } else { + $Privileged = $JsonParameters.PSobject.Properties["privileged"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "hasPermissions" = ${HasPermissions} + "description" = ${Description} + "attribute" = ${Attribute} + "value" = ${Value} + "schema" = ${Schema} + "privileged" = ${Privileged} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/BaseReferenceDto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/BaseReferenceDto.ps1 new file mode 100644 index 000000000..c8f108786 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/BaseReferenceDto.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Type +No description available. +.PARAMETER Id +ID of the object to which this reference applies +.PARAMETER Name +Human-readable display name of the object to which this reference applies +.OUTPUTS + +BaseReferenceDto +#> + +function Initialize-V2024BaseReferenceDto { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ACCOUNT_CORRELATION_CONFIG", "ACCESS_PROFILE", "ACCESS_REQUEST_APPROVAL", "ACCOUNT", "APPLICATION", "CAMPAIGN", "CAMPAIGN_FILTER", "CERTIFICATION", "CLUSTER", "CONNECTOR_SCHEMA", "ENTITLEMENT", "GOVERNANCE_GROUP", "IDENTITY", "IDENTITY_PROFILE", "IDENTITY_REQUEST", "LIFECYCLE_STATE", "PASSWORD_POLICY", "ROLE", "RULE", "SOD_POLICY", "SOURCE", "TAG", "TAG_CATEGORY", "TASK_RESULT", "REPORT_RESULT", "SOD_VIOLATION", "ACCOUNT_ACTIVITY", "WORKGROUP")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024BaseReferenceDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to BaseReferenceDto + +.DESCRIPTION + +Convert from JSON to BaseReferenceDto + +.PARAMETER Json + +Json object + +.OUTPUTS + +BaseReferenceDto +#> +function ConvertFrom-V2024JsonToBaseReferenceDto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024BaseReferenceDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024BaseReferenceDto + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/BaseReferenceDto1.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/BaseReferenceDto1.ps1 new file mode 100644 index 000000000..5e104d3ed --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/BaseReferenceDto1.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +the application ID +.PARAMETER Name +the application name +.OUTPUTS + +BaseReferenceDto1 +#> + +function Initialize-V2024BaseReferenceDto1 { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024BaseReferenceDto1' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to BaseReferenceDto1 + +.DESCRIPTION + +Convert from JSON to BaseReferenceDto1 + +.PARAMETER Json + +Json object + +.OUTPUTS + +BaseReferenceDto1 +#> +function ConvertFrom-V2024JsonToBaseReferenceDto1 { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024BaseReferenceDto1' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024BaseReferenceDto1 + $AllProperties = ("id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/BaseSegment.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/BaseSegment.ps1 new file mode 100644 index 000000000..10ffe0519 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/BaseSegment.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +Segment's unique ID. +.PARAMETER Name +Segment's display name. +.OUTPUTS + +BaseSegment +#> + +function Initialize-V2024BaseSegment { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024BaseSegment' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to BaseSegment + +.DESCRIPTION + +Convert from JSON to BaseSegment + +.PARAMETER Json + +Json object + +.OUTPUTS + +BaseSegment +#> +function ConvertFrom-V2024JsonToBaseSegment { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024BaseSegment' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024BaseSegment + $AllProperties = ("id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/BasicAuthConfig.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/BasicAuthConfig.ps1 new file mode 100644 index 000000000..bc66c81aa --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/BasicAuthConfig.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Config required if BASIC_AUTH is used. + +.PARAMETER UserName +The username to authenticate. +.PARAMETER Password +The password to authenticate. On response, this field is set to null as to not return secrets. +.OUTPUTS + +BasicAuthConfig +#> + +function Initialize-V2024BasicAuthConfig { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${UserName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Password} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024BasicAuthConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "userName" = ${UserName} + "password" = ${Password} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to BasicAuthConfig + +.DESCRIPTION + +Convert from JSON to BasicAuthConfig + +.PARAMETER Json + +Json object + +.OUTPUTS + +BasicAuthConfig +#> +function ConvertFrom-V2024JsonToBasicAuthConfig { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024BasicAuthConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024BasicAuthConfig + $AllProperties = ("userName", "password") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "userName"))) { #optional property not found + $UserName = $null + } else { + $UserName = $JsonParameters.PSobject.Properties["userName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "password"))) { #optional property not found + $Password = $null + } else { + $Password = $JsonParameters.PSobject.Properties["password"].value + } + + $PSO = [PSCustomObject]@{ + "userName" = ${UserName} + "password" = ${Password} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/BearerTokenAuthConfig.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/BearerTokenAuthConfig.ps1 new file mode 100644 index 000000000..21d326050 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/BearerTokenAuthConfig.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Config required if BEARER_TOKEN authentication is used. On response, this field is set to null as to not return secrets. + +.PARAMETER BearerToken +Bearer token +.OUTPUTS + +BearerTokenAuthConfig +#> + +function Initialize-V2024BearerTokenAuthConfig { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${BearerToken} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024BearerTokenAuthConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "bearerToken" = ${BearerToken} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to BearerTokenAuthConfig + +.DESCRIPTION + +Convert from JSON to BearerTokenAuthConfig + +.PARAMETER Json + +Json object + +.OUTPUTS + +BearerTokenAuthConfig +#> +function ConvertFrom-V2024JsonToBearerTokenAuthConfig { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024BearerTokenAuthConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024BearerTokenAuthConfig + $AllProperties = ("bearerToken") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "bearerToken"))) { #optional property not found + $BearerToken = $null + } else { + $BearerToken = $JsonParameters.PSobject.Properties["bearerToken"].value + } + + $PSO = [PSCustomObject]@{ + "bearerToken" = ${BearerToken} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/BeforeProvisioningRuleDto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/BeforeProvisioningRuleDto.ps1 new file mode 100644 index 000000000..51a3a8211 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/BeforeProvisioningRuleDto.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Before Provisioning Rule. + +.PARAMETER Type +Before Provisioning Rule DTO type. +.PARAMETER Id +Before Provisioning Rule ID. +.PARAMETER Name +Rule display name. +.OUTPUTS + +BeforeProvisioningRuleDto +#> + +function Initialize-V2024BeforeProvisioningRuleDto { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("RULE")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024BeforeProvisioningRuleDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to BeforeProvisioningRuleDto + +.DESCRIPTION + +Convert from JSON to BeforeProvisioningRuleDto + +.PARAMETER Json + +Json object + +.OUTPUTS + +BeforeProvisioningRuleDto +#> +function ConvertFrom-V2024JsonToBeforeProvisioningRuleDto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024BeforeProvisioningRuleDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024BeforeProvisioningRuleDto + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Bound.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Bound.ps1 new file mode 100644 index 000000000..79e54defd --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Bound.ps1 @@ -0,0 +1,117 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Value +The value of the range's endpoint. +.PARAMETER Inclusive +Indicates if the endpoint is included in the range. +.OUTPUTS + +Bound +#> + +function Initialize-V2024Bound { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Value}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Inclusive} = $false + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Bound' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Value) { + throw "invalid value for 'Value', 'Value' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "value" = ${Value} + "inclusive" = ${Inclusive} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Bound + +.DESCRIPTION + +Convert from JSON to Bound + +.PARAMETER Json + +Json object + +.OUTPUTS + +Bound +#> +function ConvertFrom-V2024JsonToBound { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Bound' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Bound + $AllProperties = ("value", "inclusive") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'value' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "value"))) { + throw "Error! JSON cannot be serialized due to the required property 'value' missing." + } else { + $Value = $JsonParameters.PSobject.Properties["value"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "inclusive"))) { #optional property not found + $Inclusive = $null + } else { + $Inclusive = $JsonParameters.PSobject.Properties["inclusive"].value + } + + $PSO = [PSCustomObject]@{ + "value" = ${Value} + "inclusive" = ${Inclusive} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/BrandingItem.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/BrandingItem.ps1 new file mode 100644 index 000000000..cb89679e8 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/BrandingItem.ps1 @@ -0,0 +1,187 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Name +name of branding item +.PARAMETER ProductName +product name +.PARAMETER ActionButtonColor +hex value of color for action button +.PARAMETER ActiveLinkColor +hex value of color for link +.PARAMETER NavigationColor +hex value of color for navigation bar +.PARAMETER EmailFromAddress +email from address +.PARAMETER StandardLogoURL +url to standard logo +.PARAMETER LoginInformationalMessage +login information message +.OUTPUTS + +BrandingItem +#> + +function Initialize-V2024BrandingItem { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ProductName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ActionButtonColor}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ActiveLinkColor}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${NavigationColor}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${EmailFromAddress}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${StandardLogoURL}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${LoginInformationalMessage} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024BrandingItem' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "productName" = ${ProductName} + "actionButtonColor" = ${ActionButtonColor} + "activeLinkColor" = ${ActiveLinkColor} + "navigationColor" = ${NavigationColor} + "emailFromAddress" = ${EmailFromAddress} + "standardLogoURL" = ${StandardLogoURL} + "loginInformationalMessage" = ${LoginInformationalMessage} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to BrandingItem + +.DESCRIPTION + +Convert from JSON to BrandingItem + +.PARAMETER Json + +Json object + +.OUTPUTS + +BrandingItem +#> +function ConvertFrom-V2024JsonToBrandingItem { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024BrandingItem' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024BrandingItem + $AllProperties = ("name", "productName", "actionButtonColor", "activeLinkColor", "navigationColor", "emailFromAddress", "standardLogoURL", "loginInformationalMessage") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "productName"))) { #optional property not found + $ProductName = $null + } else { + $ProductName = $JsonParameters.PSobject.Properties["productName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "actionButtonColor"))) { #optional property not found + $ActionButtonColor = $null + } else { + $ActionButtonColor = $JsonParameters.PSobject.Properties["actionButtonColor"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "activeLinkColor"))) { #optional property not found + $ActiveLinkColor = $null + } else { + $ActiveLinkColor = $JsonParameters.PSobject.Properties["activeLinkColor"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "navigationColor"))) { #optional property not found + $NavigationColor = $null + } else { + $NavigationColor = $JsonParameters.PSobject.Properties["navigationColor"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "emailFromAddress"))) { #optional property not found + $EmailFromAddress = $null + } else { + $EmailFromAddress = $JsonParameters.PSobject.Properties["emailFromAddress"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "standardLogoURL"))) { #optional property not found + $StandardLogoURL = $null + } else { + $StandardLogoURL = $JsonParameters.PSobject.Properties["standardLogoURL"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "loginInformationalMessage"))) { #optional property not found + $LoginInformationalMessage = $null + } else { + $LoginInformationalMessage = $JsonParameters.PSobject.Properties["loginInformationalMessage"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "productName" = ${ProductName} + "actionButtonColor" = ${ActionButtonColor} + "activeLinkColor" = ${ActiveLinkColor} + "navigationColor" = ${NavigationColor} + "emailFromAddress" = ${EmailFromAddress} + "standardLogoURL" = ${StandardLogoURL} + "loginInformationalMessage" = ${LoginInformationalMessage} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/BrandingItemCreate.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/BrandingItemCreate.ps1 new file mode 100644 index 000000000..75fa85090 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/BrandingItemCreate.ps1 @@ -0,0 +1,195 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Name +name of branding item +.PARAMETER ProductName +product name +.PARAMETER ActionButtonColor +hex value of color for action button +.PARAMETER ActiveLinkColor +hex value of color for link +.PARAMETER NavigationColor +hex value of color for navigation bar +.PARAMETER EmailFromAddress +email from address +.PARAMETER LoginInformationalMessage +login information message +.PARAMETER FileStandard +png file with logo +.OUTPUTS + +BrandingItemCreate +#> + +function Initialize-V2024BrandingItemCreate { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ProductName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ActionButtonColor}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ActiveLinkColor}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${NavigationColor}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${EmailFromAddress}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${LoginInformationalMessage}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.IO.FileInfo] + ${FileStandard} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024BrandingItemCreate' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "productName" = ${ProductName} + "actionButtonColor" = ${ActionButtonColor} + "activeLinkColor" = ${ActiveLinkColor} + "navigationColor" = ${NavigationColor} + "emailFromAddress" = ${EmailFromAddress} + "loginInformationalMessage" = ${LoginInformationalMessage} + "fileStandard" = ${FileStandard} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to BrandingItemCreate + +.DESCRIPTION + +Convert from JSON to BrandingItemCreate + +.PARAMETER Json + +Json object + +.OUTPUTS + +BrandingItemCreate +#> +function ConvertFrom-V2024JsonToBrandingItemCreate { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024BrandingItemCreate' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024BrandingItemCreate + $AllProperties = ("name", "productName", "actionButtonColor", "activeLinkColor", "navigationColor", "emailFromAddress", "loginInformationalMessage", "fileStandard") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'name' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "productName"))) { + throw "Error! JSON cannot be serialized due to the required property 'productName' missing." + } else { + $ProductName = $JsonParameters.PSobject.Properties["productName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "actionButtonColor"))) { #optional property not found + $ActionButtonColor = $null + } else { + $ActionButtonColor = $JsonParameters.PSobject.Properties["actionButtonColor"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "activeLinkColor"))) { #optional property not found + $ActiveLinkColor = $null + } else { + $ActiveLinkColor = $JsonParameters.PSobject.Properties["activeLinkColor"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "navigationColor"))) { #optional property not found + $NavigationColor = $null + } else { + $NavigationColor = $JsonParameters.PSobject.Properties["navigationColor"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "emailFromAddress"))) { #optional property not found + $EmailFromAddress = $null + } else { + $EmailFromAddress = $JsonParameters.PSobject.Properties["emailFromAddress"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "loginInformationalMessage"))) { #optional property not found + $LoginInformationalMessage = $null + } else { + $LoginInformationalMessage = $JsonParameters.PSobject.Properties["loginInformationalMessage"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "fileStandard"))) { #optional property not found + $FileStandard = $null + } else { + $FileStandard = $JsonParameters.PSobject.Properties["fileStandard"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "productName" = ${ProductName} + "actionButtonColor" = ${ActionButtonColor} + "activeLinkColor" = ${ActiveLinkColor} + "navigationColor" = ${NavigationColor} + "emailFromAddress" = ${EmailFromAddress} + "loginInformationalMessage" = ${LoginInformationalMessage} + "fileStandard" = ${FileStandard} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/BucketAggregation.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/BucketAggregation.ps1 new file mode 100644 index 000000000..f30b4a0a9 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/BucketAggregation.ps1 @@ -0,0 +1,161 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +The bucket to group the results of the aggregation query by. + +.PARAMETER Name +The name of the bucket aggregate to be included in the result. +.PARAMETER Type +No description available. +.PARAMETER Field +The field to bucket on. Prefix the field name with '@' to reference a nested object. +.PARAMETER Size +Maximum number of buckets to include. +.PARAMETER MinDocCount +Minimum number of documents a bucket should have. +.OUTPUTS + +BucketAggregation +#> + +function Initialize-V2024BucketAggregation { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("TERMS")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Field}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${Size}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${MinDocCount} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024BucketAggregation' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if (!$Field) { + throw "invalid value for 'Field', 'Field' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "type" = ${Type} + "field" = ${Field} + "size" = ${Size} + "minDocCount" = ${MinDocCount} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to BucketAggregation + +.DESCRIPTION + +Convert from JSON to BucketAggregation + +.PARAMETER Json + +Json object + +.OUTPUTS + +BucketAggregation +#> +function ConvertFrom-V2024JsonToBucketAggregation { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024BucketAggregation' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024BucketAggregation + $AllProperties = ("name", "type", "field", "size", "minDocCount") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'name' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "field"))) { + throw "Error! JSON cannot be serialized due to the required property 'field' missing." + } else { + $Field = $JsonParameters.PSobject.Properties["field"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "size"))) { #optional property not found + $Size = $null + } else { + $Size = $JsonParameters.PSobject.Properties["size"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "minDocCount"))) { #optional property not found + $MinDocCount = $null + } else { + $MinDocCount = $JsonParameters.PSobject.Properties["minDocCount"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "type" = ${Type} + "field" = ${Field} + "size" = ${Size} + "minDocCount" = ${MinDocCount} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/BucketType.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/BucketType.ps1 new file mode 100644 index 000000000..b7623f2cb --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/BucketType.ps1 @@ -0,0 +1,22 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum BucketType. + +.DESCRIPTION + +Enum representing the currently supported bucket aggregation types. Additional values may be added in the future without notice. +#> + +enum BucketType { + # enum value: "TERMS" + TERMS +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/BulkAddTaggedObject.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/BulkAddTaggedObject.ps1 new file mode 100644 index 000000000..d0f4913d1 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/BulkAddTaggedObject.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER ObjectRefs +No description available. +.PARAMETER Tags +Label to be applied to an Object +.PARAMETER Operation +If APPEND, tags are appended to the list of tags for the object. A 400 error is returned if this would add duplicate tags to the object. If MERGE, tags are merged with the existing tags. Duplicate tags are silently ignored. +.OUTPUTS + +BulkAddTaggedObject +#> + +function Initialize-V2024BulkAddTaggedObject { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${ObjectRefs}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Tags}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("APPEND", "MERGE")] + [String] + ${Operation} = "APPEND" + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024BulkAddTaggedObject' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "objectRefs" = ${ObjectRefs} + "tags" = ${Tags} + "operation" = ${Operation} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to BulkAddTaggedObject + +.DESCRIPTION + +Convert from JSON to BulkAddTaggedObject + +.PARAMETER Json + +Json object + +.OUTPUTS + +BulkAddTaggedObject +#> +function ConvertFrom-V2024JsonToBulkAddTaggedObject { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024BulkAddTaggedObject' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024BulkAddTaggedObject + $AllProperties = ("objectRefs", "tags", "operation") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "objectRefs"))) { #optional property not found + $ObjectRefs = $null + } else { + $ObjectRefs = $JsonParameters.PSobject.Properties["objectRefs"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "tags"))) { #optional property not found + $Tags = $null + } else { + $Tags = $JsonParameters.PSobject.Properties["tags"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "operation"))) { #optional property not found + $Operation = $null + } else { + $Operation = $JsonParameters.PSobject.Properties["operation"].value + } + + $PSO = [PSCustomObject]@{ + "objectRefs" = ${ObjectRefs} + "tags" = ${Tags} + "operation" = ${Operation} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/BulkIdentitiesAccountsResponse.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/BulkIdentitiesAccountsResponse.ps1 new file mode 100644 index 000000000..bc7cbd4aa --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/BulkIdentitiesAccountsResponse.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Bulk response object. + +.PARAMETER Id +Identifier of bulk request item. +.PARAMETER StatusCode +Response status value. +.PARAMETER Message +Status containing additional context information about failures. +.OUTPUTS + +BulkIdentitiesAccountsResponse +#> + +function Initialize-V2024BulkIdentitiesAccountsResponse { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${StatusCode}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Message} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024BulkIdentitiesAccountsResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "statusCode" = ${StatusCode} + "message" = ${Message} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to BulkIdentitiesAccountsResponse + +.DESCRIPTION + +Convert from JSON to BulkIdentitiesAccountsResponse + +.PARAMETER Json + +Json object + +.OUTPUTS + +BulkIdentitiesAccountsResponse +#> +function ConvertFrom-V2024JsonToBulkIdentitiesAccountsResponse { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024BulkIdentitiesAccountsResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024BulkIdentitiesAccountsResponse + $AllProperties = ("id", "statusCode", "message") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "statusCode"))) { #optional property not found + $StatusCode = $null + } else { + $StatusCode = $JsonParameters.PSobject.Properties["statusCode"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "message"))) { #optional property not found + $Message = $null + } else { + $Message = $JsonParameters.PSobject.Properties["message"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "statusCode" = ${StatusCode} + "message" = ${Message} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/BulkRemoveTaggedObject.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/BulkRemoveTaggedObject.ps1 new file mode 100644 index 000000000..94f52898a --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/BulkRemoveTaggedObject.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER ObjectRefs +No description available. +.PARAMETER Tags +Label to be applied to an Object +.OUTPUTS + +BulkRemoveTaggedObject +#> + +function Initialize-V2024BulkRemoveTaggedObject { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${ObjectRefs}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Tags} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024BulkRemoveTaggedObject' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "objectRefs" = ${ObjectRefs} + "tags" = ${Tags} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to BulkRemoveTaggedObject + +.DESCRIPTION + +Convert from JSON to BulkRemoveTaggedObject + +.PARAMETER Json + +Json object + +.OUTPUTS + +BulkRemoveTaggedObject +#> +function ConvertFrom-V2024JsonToBulkRemoveTaggedObject { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024BulkRemoveTaggedObject' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024BulkRemoveTaggedObject + $AllProperties = ("objectRefs", "tags") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "objectRefs"))) { #optional property not found + $ObjectRefs = $null + } else { + $ObjectRefs = $JsonParameters.PSobject.Properties["objectRefs"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "tags"))) { #optional property not found + $Tags = $null + } else { + $Tags = $JsonParameters.PSobject.Properties["tags"].value + } + + $PSO = [PSCustomObject]@{ + "objectRefs" = ${ObjectRefs} + "tags" = ${Tags} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/BulkTaggedObjectResponse.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/BulkTaggedObjectResponse.ps1 new file mode 100644 index 000000000..669216ff3 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/BulkTaggedObjectResponse.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER ObjectRefs +No description available. +.PARAMETER Tags +Label to be applied to an Object +.OUTPUTS + +BulkTaggedObjectResponse +#> + +function Initialize-V2024BulkTaggedObjectResponse { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${ObjectRefs}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Tags} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024BulkTaggedObjectResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "objectRefs" = ${ObjectRefs} + "tags" = ${Tags} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to BulkTaggedObjectResponse + +.DESCRIPTION + +Convert from JSON to BulkTaggedObjectResponse + +.PARAMETER Json + +Json object + +.OUTPUTS + +BulkTaggedObjectResponse +#> +function ConvertFrom-V2024JsonToBulkTaggedObjectResponse { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024BulkTaggedObjectResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024BulkTaggedObjectResponse + $AllProperties = ("objectRefs", "tags") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "objectRefs"))) { #optional property not found + $ObjectRefs = $null + } else { + $ObjectRefs = $JsonParameters.PSobject.Properties["objectRefs"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "tags"))) { #optional property not found + $Tags = $null + } else { + $Tags = $JsonParameters.PSobject.Properties["tags"].value + } + + $PSO = [PSCustomObject]@{ + "objectRefs" = ${ObjectRefs} + "tags" = ${Tags} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Campaign.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Campaign.ps1 new file mode 100644 index 000000000..f4de66a55 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Campaign.ps1 @@ -0,0 +1,340 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Name +The campaign name. If this object is part of a template, special formatting applies; see the `/campaign-templates/{id}/generate` endpoint documentation for details. +.PARAMETER Description +The campaign description. If this object is part of a template, special formatting applies; see the `/campaign-templates/{id}/generate` endpoint documentation for details. +.PARAMETER Deadline +The campaign's completion deadline. This date must be in the future in order to activate the campaign. If you try to activate a campaign with a deadline of today or in the past, you will receive a 400 error response. +.PARAMETER Type +The type of campaign. Could be extended in the future. +.PARAMETER EmailNotificationEnabled +Enables email notification for this campaign +.PARAMETER AutoRevokeAllowed +Allows auto revoke for this campaign +.PARAMETER RecommendationsEnabled +Enables IAI for this campaign. Accepts true even if the IAI product feature is off. If IAI is turned off then campaigns generated from this template will indicate false. The real value will then be returned if IAI is ever enabled for the org in the future. +.PARAMETER CorrelatedStatus +The correlatedStatus of the campaign. Only SOURCE_OWNER campaigns can be Uncorrelated. An Uncorrelated certification campaign only includes Uncorrelated identities (An identity is uncorrelated if it has no accounts on an authoritative source). +.PARAMETER VarFilter +No description available. +.PARAMETER SunsetCommentsRequired +Determines if comments on sunset date changes are required. +.PARAMETER SourceOwnerCampaignInfo +No description available. +.PARAMETER SearchCampaignInfo +No description available. +.PARAMETER RoleCompositionCampaignInfo +No description available. +.PARAMETER MandatoryCommentRequirement +Determines whether comments are required for decisions during certification reviews. You can require comments for all decisions, revoke-only decisions, or no decisions. By default, comments are not required for decisions. +.OUTPUTS + +Campaign +#> + +function Initialize-V2024Campaign { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Deadline}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("MANAGER", "SOURCE_OWNER", "SEARCH", "ROLE_COMPOSITION")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${EmailNotificationEnabled} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${AutoRevokeAllowed} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${RecommendationsEnabled} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("CORRELATED", "UNCORRELATED")] + [PSCustomObject] + ${CorrelatedStatus}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${VarFilter}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${SunsetCommentsRequired} = $true, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${SourceOwnerCampaignInfo}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${SearchCampaignInfo}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${RoleCompositionCampaignInfo}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ALL_DECISIONS", "REVOKE_ONLY_DECISIONS", "NO_DECISIONS")] + [String] + ${MandatoryCommentRequirement} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Campaign' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if (!$Description) { + throw "invalid value for 'Description', 'Description' cannot be null." + } + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "description" = ${Description} + "deadline" = ${Deadline} + "type" = ${Type} + "emailNotificationEnabled" = ${EmailNotificationEnabled} + "autoRevokeAllowed" = ${AutoRevokeAllowed} + "recommendationsEnabled" = ${RecommendationsEnabled} + "correlatedStatus" = ${CorrelatedStatus} + "filter" = ${VarFilter} + "sunsetCommentsRequired" = ${SunsetCommentsRequired} + "sourceOwnerCampaignInfo" = ${SourceOwnerCampaignInfo} + "searchCampaignInfo" = ${SearchCampaignInfo} + "roleCompositionCampaignInfo" = ${RoleCompositionCampaignInfo} + "mandatoryCommentRequirement" = ${MandatoryCommentRequirement} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Campaign + +.DESCRIPTION + +Convert from JSON to Campaign + +.PARAMETER Json + +Json object + +.OUTPUTS + +Campaign +#> +function ConvertFrom-V2024JsonToCampaign { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Campaign' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Campaign + $AllProperties = ("id", "name", "description", "deadline", "type", "emailNotificationEnabled", "autoRevokeAllowed", "recommendationsEnabled", "status", "correlatedStatus", "created", "totalCertifications", "completedCertifications", "alerts", "modified", "filter", "sunsetCommentsRequired", "sourceOwnerCampaignInfo", "searchCampaignInfo", "roleCompositionCampaignInfo", "sourcesWithOrphanEntitlements", "mandatoryCommentRequirement") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'name' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { + throw "Error! JSON cannot be serialized due to the required property 'description' missing." + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "deadline"))) { #optional property not found + $Deadline = $null + } else { + $Deadline = $JsonParameters.PSobject.Properties["deadline"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "emailNotificationEnabled"))) { #optional property not found + $EmailNotificationEnabled = $null + } else { + $EmailNotificationEnabled = $JsonParameters.PSobject.Properties["emailNotificationEnabled"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "autoRevokeAllowed"))) { #optional property not found + $AutoRevokeAllowed = $null + } else { + $AutoRevokeAllowed = $JsonParameters.PSobject.Properties["autoRevokeAllowed"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "recommendationsEnabled"))) { #optional property not found + $RecommendationsEnabled = $null + } else { + $RecommendationsEnabled = $JsonParameters.PSobject.Properties["recommendationsEnabled"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { #optional property not found + $Status = $null + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "correlatedStatus"))) { #optional property not found + $CorrelatedStatus = $null + } else { + $CorrelatedStatus = $JsonParameters.PSobject.Properties["correlatedStatus"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "totalCertifications"))) { #optional property not found + $TotalCertifications = $null + } else { + $TotalCertifications = $JsonParameters.PSobject.Properties["totalCertifications"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "completedCertifications"))) { #optional property not found + $CompletedCertifications = $null + } else { + $CompletedCertifications = $JsonParameters.PSobject.Properties["completedCertifications"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "alerts"))) { #optional property not found + $Alerts = $null + } else { + $Alerts = $JsonParameters.PSobject.Properties["alerts"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "filter"))) { #optional property not found + $VarFilter = $null + } else { + $VarFilter = $JsonParameters.PSobject.Properties["filter"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sunsetCommentsRequired"))) { #optional property not found + $SunsetCommentsRequired = $null + } else { + $SunsetCommentsRequired = $JsonParameters.PSobject.Properties["sunsetCommentsRequired"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceOwnerCampaignInfo"))) { #optional property not found + $SourceOwnerCampaignInfo = $null + } else { + $SourceOwnerCampaignInfo = $JsonParameters.PSobject.Properties["sourceOwnerCampaignInfo"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "searchCampaignInfo"))) { #optional property not found + $SearchCampaignInfo = $null + } else { + $SearchCampaignInfo = $JsonParameters.PSobject.Properties["searchCampaignInfo"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "roleCompositionCampaignInfo"))) { #optional property not found + $RoleCompositionCampaignInfo = $null + } else { + $RoleCompositionCampaignInfo = $JsonParameters.PSobject.Properties["roleCompositionCampaignInfo"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourcesWithOrphanEntitlements"))) { #optional property not found + $SourcesWithOrphanEntitlements = $null + } else { + $SourcesWithOrphanEntitlements = $JsonParameters.PSobject.Properties["sourcesWithOrphanEntitlements"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "mandatoryCommentRequirement"))) { #optional property not found + $MandatoryCommentRequirement = $null + } else { + $MandatoryCommentRequirement = $JsonParameters.PSobject.Properties["mandatoryCommentRequirement"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "description" = ${Description} + "deadline" = ${Deadline} + "type" = ${Type} + "emailNotificationEnabled" = ${EmailNotificationEnabled} + "autoRevokeAllowed" = ${AutoRevokeAllowed} + "recommendationsEnabled" = ${RecommendationsEnabled} + "status" = ${Status} + "correlatedStatus" = ${CorrelatedStatus} + "created" = ${Created} + "totalCertifications" = ${TotalCertifications} + "completedCertifications" = ${CompletedCertifications} + "alerts" = ${Alerts} + "modified" = ${Modified} + "filter" = ${VarFilter} + "sunsetCommentsRequired" = ${SunsetCommentsRequired} + "sourceOwnerCampaignInfo" = ${SourceOwnerCampaignInfo} + "searchCampaignInfo" = ${SearchCampaignInfo} + "roleCompositionCampaignInfo" = ${RoleCompositionCampaignInfo} + "sourcesWithOrphanEntitlements" = ${SourcesWithOrphanEntitlements} + "mandatoryCommentRequirement" = ${MandatoryCommentRequirement} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignActivated.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignActivated.ps1 new file mode 100644 index 000000000..0ef115f71 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignActivated.ps1 @@ -0,0 +1,104 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Campaign +No description available. +.OUTPUTS + +CampaignActivated +#> + +function Initialize-V2024CampaignActivated { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Campaign} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CampaignActivated' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Campaign) { + throw "invalid value for 'Campaign', 'Campaign' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "campaign" = ${Campaign} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CampaignActivated + +.DESCRIPTION + +Convert from JSON to CampaignActivated + +.PARAMETER Json + +Json object + +.OUTPUTS + +CampaignActivated +#> +function ConvertFrom-V2024JsonToCampaignActivated { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CampaignActivated' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CampaignActivated + $AllProperties = ("campaign") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'campaign' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "campaign"))) { + throw "Error! JSON cannot be serialized due to the required property 'campaign' missing." + } else { + $Campaign = $JsonParameters.PSobject.Properties["campaign"].value + } + + $PSO = [PSCustomObject]@{ + "campaign" = ${Campaign} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignActivatedCampaign.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignActivatedCampaign.ps1 new file mode 100644 index 000000000..e76507d25 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignActivatedCampaign.ps1 @@ -0,0 +1,238 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Details about the certification campaign that was activated. + +.PARAMETER Id +Unique ID for the campaign. +.PARAMETER Name +The human friendly name of the campaign. +.PARAMETER Description +Extended description of the campaign. +.PARAMETER Created +The date and time the campaign was created. +.PARAMETER Modified +The date and time the campaign was last modified. +.PARAMETER Deadline +The date and time the campaign is due. +.PARAMETER Type +The type of campaign. +.PARAMETER CampaignOwner +No description available. +.PARAMETER Status +The current status of the campaign. +.OUTPUTS + +CampaignActivatedCampaign +#> + +function Initialize-V2024CampaignActivatedCampaign { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.DateTime] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Modified}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.DateTime] + ${Deadline}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("MANAGER", "SOURCE_OWNER", "SEARCH", "ROLE_COMPOSITION")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${CampaignOwner}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ACTIVE")] + [PSCustomObject] + ${Status} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CampaignActivatedCampaign' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if (!$Description) { + throw "invalid value for 'Description', 'Description' cannot be null." + } + + if (!$Created) { + throw "invalid value for 'Created', 'Created' cannot be null." + } + + if (!$Deadline) { + throw "invalid value for 'Deadline', 'Deadline' cannot be null." + } + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$CampaignOwner) { + throw "invalid value for 'CampaignOwner', 'CampaignOwner' cannot be null." + } + + if (!$Status) { + throw "invalid value for 'Status', 'Status' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "description" = ${Description} + "created" = ${Created} + "modified" = ${Modified} + "deadline" = ${Deadline} + "type" = ${Type} + "campaignOwner" = ${CampaignOwner} + "status" = ${Status} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CampaignActivatedCampaign + +.DESCRIPTION + +Convert from JSON to CampaignActivatedCampaign + +.PARAMETER Json + +Json object + +.OUTPUTS + +CampaignActivatedCampaign +#> +function ConvertFrom-V2024JsonToCampaignActivatedCampaign { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CampaignActivatedCampaign' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CampaignActivatedCampaign + $AllProperties = ("id", "name", "description", "created", "modified", "deadline", "type", "campaignOwner", "status") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'id' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { + throw "Error! JSON cannot be serialized due to the required property 'description' missing." + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { + throw "Error! JSON cannot be serialized due to the required property 'created' missing." + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "deadline"))) { + throw "Error! JSON cannot be serialized due to the required property 'deadline' missing." + } else { + $Deadline = $JsonParameters.PSobject.Properties["deadline"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "campaignOwner"))) { + throw "Error! JSON cannot be serialized due to the required property 'campaignOwner' missing." + } else { + $CampaignOwner = $JsonParameters.PSobject.Properties["campaignOwner"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { + throw "Error! JSON cannot be serialized due to the required property 'status' missing." + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "description" = ${Description} + "created" = ${Created} + "modified" = ${Modified} + "deadline" = ${Deadline} + "type" = ${Type} + "campaignOwner" = ${CampaignOwner} + "status" = ${Status} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignActivatedCampaignCampaignOwner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignActivatedCampaignCampaignOwner.ps1 new file mode 100644 index 000000000..89d20f1ce --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignActivatedCampaignCampaignOwner.ps1 @@ -0,0 +1,138 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Details of the identity that owns the campaign. + +.PARAMETER Id +The unique ID of the identity. +.PARAMETER DisplayName +The human friendly name of the identity. +.PARAMETER Email +The primary email address of the identity. +.OUTPUTS + +CampaignActivatedCampaignCampaignOwner +#> + +function Initialize-V2024CampaignActivatedCampaignCampaignOwner { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${DisplayName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Email} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CampaignActivatedCampaignCampaignOwner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$DisplayName) { + throw "invalid value for 'DisplayName', 'DisplayName' cannot be null." + } + + if (!$Email) { + throw "invalid value for 'Email', 'Email' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "displayName" = ${DisplayName} + "email" = ${Email} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CampaignActivatedCampaignCampaignOwner + +.DESCRIPTION + +Convert from JSON to CampaignActivatedCampaignCampaignOwner + +.PARAMETER Json + +Json object + +.OUTPUTS + +CampaignActivatedCampaignCampaignOwner +#> +function ConvertFrom-V2024JsonToCampaignActivatedCampaignCampaignOwner { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CampaignActivatedCampaignCampaignOwner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CampaignActivatedCampaignCampaignOwner + $AllProperties = ("id", "displayName", "email") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'id' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "displayName"))) { + throw "Error! JSON cannot be serialized due to the required property 'displayName' missing." + } else { + $DisplayName = $JsonParameters.PSobject.Properties["displayName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "email"))) { + throw "Error! JSON cannot be serialized due to the required property 'email' missing." + } else { + $Email = $JsonParameters.PSobject.Properties["email"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "displayName" = ${DisplayName} + "email" = ${Email} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignAlert.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignAlert.ps1 new file mode 100644 index 000000000..ef46dae93 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignAlert.ps1 @@ -0,0 +1,110 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Level +Denotes the level of the message +.PARAMETER Localizations +No description available. +.OUTPUTS + +CampaignAlert +#> + +function Initialize-V2024CampaignAlert { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ERROR", "WARN", "INFO")] + [String] + ${Level}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Localizations} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CampaignAlert' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "level" = ${Level} + "localizations" = ${Localizations} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CampaignAlert + +.DESCRIPTION + +Convert from JSON to CampaignAlert + +.PARAMETER Json + +Json object + +.OUTPUTS + +CampaignAlert +#> +function ConvertFrom-V2024JsonToCampaignAlert { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CampaignAlert' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CampaignAlert + $AllProperties = ("level", "localizations") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "level"))) { #optional property not found + $Level = $null + } else { + $Level = $JsonParameters.PSobject.Properties["level"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "localizations"))) { #optional property not found + $Localizations = $null + } else { + $Localizations = $JsonParameters.PSobject.Properties["localizations"].value + } + + $PSO = [PSCustomObject]@{ + "level" = ${Level} + "localizations" = ${Localizations} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignAllOfFilter.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignAllOfFilter.ps1 new file mode 100644 index 000000000..60a44a258 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignAllOfFilter.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Determines which items will be included in this campaign. The default campaign filter is used if this field is left blank. + +.PARAMETER Id +The ID of whatever type of filter is being used. +.PARAMETER Type +Type of the filter +.PARAMETER Name +Name of the filter +.OUTPUTS + +CampaignAllOfFilter +#> + +function Initialize-V2024CampaignAllOfFilter { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("CAMPAIGN_FILTER", "RULE")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CampaignAllOfFilter' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CampaignAllOfFilter + +.DESCRIPTION + +Convert from JSON to CampaignAllOfFilter + +.PARAMETER Json + +Json object + +.OUTPUTS + +CampaignAllOfFilter +#> +function ConvertFrom-V2024JsonToCampaignAllOfFilter { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CampaignAllOfFilter' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CampaignAllOfFilter + $AllProperties = ("id", "type", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignAllOfRoleCompositionCampaignInfo.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignAllOfRoleCompositionCampaignInfo.ps1 new file mode 100644 index 000000000..69eb2805a --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignAllOfRoleCompositionCampaignInfo.ps1 @@ -0,0 +1,156 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Optional configuration options for role composition campaigns. + +.PARAMETER Reviewer +No description available. +.PARAMETER RoleIds +Optional list of roles to include in this campaign. Only one of `roleIds` and `query` may be set; if neither are set, all roles are included. +.PARAMETER RemediatorRef +No description available. +.PARAMETER Query +Optional search query to scope this campaign to a set of roles. Only one of `roleIds` and `query` may be set; if neither are set, all roles are included. +.PARAMETER Description +Describes this role composition campaign. Intended for storing the query used, and possibly the number of roles selected/available. +.OUTPUTS + +CampaignAllOfRoleCompositionCampaignInfo +#> + +function Initialize-V2024CampaignAllOfRoleCompositionCampaignInfo { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Reviewer}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${RoleIds}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${RemediatorRef}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Query}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CampaignAllOfRoleCompositionCampaignInfo' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$RemediatorRef) { + throw "invalid value for 'RemediatorRef', 'RemediatorRef' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "reviewer" = ${Reviewer} + "roleIds" = ${RoleIds} + "remediatorRef" = ${RemediatorRef} + "query" = ${Query} + "description" = ${Description} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CampaignAllOfRoleCompositionCampaignInfo + +.DESCRIPTION + +Convert from JSON to CampaignAllOfRoleCompositionCampaignInfo + +.PARAMETER Json + +Json object + +.OUTPUTS + +CampaignAllOfRoleCompositionCampaignInfo +#> +function ConvertFrom-V2024JsonToCampaignAllOfRoleCompositionCampaignInfo { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CampaignAllOfRoleCompositionCampaignInfo' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CampaignAllOfRoleCompositionCampaignInfo + $AllProperties = ("reviewer", "roleIds", "remediatorRef", "query", "description") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'remediatorRef' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "remediatorRef"))) { + throw "Error! JSON cannot be serialized due to the required property 'remediatorRef' missing." + } else { + $RemediatorRef = $JsonParameters.PSobject.Properties["remediatorRef"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "reviewer"))) { #optional property not found + $Reviewer = $null + } else { + $Reviewer = $JsonParameters.PSobject.Properties["reviewer"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "roleIds"))) { #optional property not found + $RoleIds = $null + } else { + $RoleIds = $JsonParameters.PSobject.Properties["roleIds"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "query"))) { #optional property not found + $Query = $null + } else { + $Query = $JsonParameters.PSobject.Properties["query"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + $PSO = [PSCustomObject]@{ + "reviewer" = ${Reviewer} + "roleIds" = ${RoleIds} + "remediatorRef" = ${RemediatorRef} + "query" = ${Query} + "description" = ${Description} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignAllOfRoleCompositionCampaignInfoRemediatorRef.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignAllOfRoleCompositionCampaignInfoRemediatorRef.ps1 new file mode 100644 index 000000000..3f34bf658 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignAllOfRoleCompositionCampaignInfoRemediatorRef.ps1 @@ -0,0 +1,129 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +This determines who remediation tasks will be assigned to. Remediation tasks are created for each revoke decision on items in the campaign. The only legal remediator type is 'IDENTITY', and the chosen identity must be a Role Admin or Org Admin. + +.PARAMETER Type +Legal Remediator Type +.PARAMETER Id +The ID of the remediator. +.OUTPUTS + +CampaignAllOfRoleCompositionCampaignInfoRemediatorRef +#> + +function Initialize-V2024CampaignAllOfRoleCompositionCampaignInfoRemediatorRef { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CampaignAllOfRoleCompositionCampaignInfoRemediatorRef' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CampaignAllOfRoleCompositionCampaignInfoRemediatorRef + +.DESCRIPTION + +Convert from JSON to CampaignAllOfRoleCompositionCampaignInfoRemediatorRef + +.PARAMETER Json + +Json object + +.OUTPUTS + +CampaignAllOfRoleCompositionCampaignInfoRemediatorRef +#> +function ConvertFrom-V2024JsonToCampaignAllOfRoleCompositionCampaignInfoRemediatorRef { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CampaignAllOfRoleCompositionCampaignInfoRemediatorRef' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CampaignAllOfRoleCompositionCampaignInfoRemediatorRef + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'type' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignAllOfSearchCampaignInfo.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignAllOfSearchCampaignInfo.ps1 new file mode 100644 index 000000000..5d791bc33 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignAllOfSearchCampaignInfo.ps1 @@ -0,0 +1,178 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Must be set only if the campaign type is SEARCH. + +.PARAMETER Type +The type of search campaign represented. +.PARAMETER Description +Describes this search campaign. Intended for storing the query used, and possibly the number of identities selected/available. +.PARAMETER Reviewer +No description available. +.PARAMETER Query +The scope for the campaign. The campaign will cover identities returned by the query and identities that have access items returned by the query. One of `query` or `identityIds` must be set. +.PARAMETER IdentityIds +A direct list of identities to include in this campaign. One of `identityIds` or `query` must be set. +.PARAMETER AccessConstraints +Further reduces the scope of the campaign by excluding identities (from `query` or `identityIds`) that do not have this access. +.OUTPUTS + +CampaignAllOfSearchCampaignInfo +#> + +function Initialize-V2024CampaignAllOfSearchCampaignInfo { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY", "ACCESS")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Reviewer}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Query}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${IdentityIds}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${AccessConstraints} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CampaignAllOfSearchCampaignInfo' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$IdentityIds -and $IdentityIds.length -gt 1000) { + throw "invalid value for 'IdentityIds', number of items must be less than or equal to 1000." + } + + if (!$AccessConstraints -and $AccessConstraints.length -gt 1000) { + throw "invalid value for 'AccessConstraints', number of items must be less than or equal to 1000." + } + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "description" = ${Description} + "reviewer" = ${Reviewer} + "query" = ${Query} + "identityIds" = ${IdentityIds} + "accessConstraints" = ${AccessConstraints} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CampaignAllOfSearchCampaignInfo + +.DESCRIPTION + +Convert from JSON to CampaignAllOfSearchCampaignInfo + +.PARAMETER Json + +Json object + +.OUTPUTS + +CampaignAllOfSearchCampaignInfo +#> +function ConvertFrom-V2024JsonToCampaignAllOfSearchCampaignInfo { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CampaignAllOfSearchCampaignInfo' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CampaignAllOfSearchCampaignInfo + $AllProperties = ("type", "description", "reviewer", "query", "identityIds", "accessConstraints") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'type' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "reviewer"))) { #optional property not found + $Reviewer = $null + } else { + $Reviewer = $JsonParameters.PSobject.Properties["reviewer"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "query"))) { #optional property not found + $Query = $null + } else { + $Query = $JsonParameters.PSobject.Properties["query"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityIds"))) { #optional property not found + $IdentityIds = $null + } else { + $IdentityIds = $JsonParameters.PSobject.Properties["identityIds"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accessConstraints"))) { #optional property not found + $AccessConstraints = $null + } else { + $AccessConstraints = $JsonParameters.PSobject.Properties["accessConstraints"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "description" = ${Description} + "reviewer" = ${Reviewer} + "query" = ${Query} + "identityIds" = ${IdentityIds} + "accessConstraints" = ${AccessConstraints} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignAllOfSearchCampaignInfoReviewer.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignAllOfSearchCampaignInfoReviewer.ps1 new file mode 100644 index 000000000..a4dbae9ce --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignAllOfSearchCampaignInfoReviewer.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +If specified, this identity or governance group will be the reviewer for all certifications in this campaign. The allowed DTO types are IDENTITY and GOVERNANCE_GROUP. + +.PARAMETER Type +The reviewer's DTO type. +.PARAMETER Id +The reviewer's ID. +.PARAMETER Name +The reviewer's name. +.OUTPUTS + +CampaignAllOfSearchCampaignInfoReviewer +#> + +function Initialize-V2024CampaignAllOfSearchCampaignInfoReviewer { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("GOVERNANCE_GROUP", "IDENTITY")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CampaignAllOfSearchCampaignInfoReviewer' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CampaignAllOfSearchCampaignInfoReviewer + +.DESCRIPTION + +Convert from JSON to CampaignAllOfSearchCampaignInfoReviewer + +.PARAMETER Json + +Json object + +.OUTPUTS + +CampaignAllOfSearchCampaignInfoReviewer +#> +function ConvertFrom-V2024JsonToCampaignAllOfSearchCampaignInfoReviewer { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CampaignAllOfSearchCampaignInfoReviewer' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CampaignAllOfSearchCampaignInfoReviewer + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignAllOfSourceOwnerCampaignInfo.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignAllOfSourceOwnerCampaignInfo.ps1 new file mode 100644 index 000000000..105b71be1 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignAllOfSourceOwnerCampaignInfo.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Must be set only if the campaign type is SOURCE_OWNER. + +.PARAMETER SourceIds +The list of sources to be included in the campaign. +.OUTPUTS + +CampaignAllOfSourceOwnerCampaignInfo +#> + +function Initialize-V2024CampaignAllOfSourceOwnerCampaignInfo { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${SourceIds} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CampaignAllOfSourceOwnerCampaignInfo' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "sourceIds" = ${SourceIds} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CampaignAllOfSourceOwnerCampaignInfo + +.DESCRIPTION + +Convert from JSON to CampaignAllOfSourceOwnerCampaignInfo + +.PARAMETER Json + +Json object + +.OUTPUTS + +CampaignAllOfSourceOwnerCampaignInfo +#> +function ConvertFrom-V2024JsonToCampaignAllOfSourceOwnerCampaignInfo { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CampaignAllOfSourceOwnerCampaignInfo' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CampaignAllOfSourceOwnerCampaignInfo + $AllProperties = ("sourceIds") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceIds"))) { #optional property not found + $SourceIds = $null + } else { + $SourceIds = $JsonParameters.PSobject.Properties["sourceIds"].value + } + + $PSO = [PSCustomObject]@{ + "sourceIds" = ${SourceIds} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignAllOfSourcesWithOrphanEntitlements.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignAllOfSourcesWithOrphanEntitlements.ps1 new file mode 100644 index 000000000..e65c7c138 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignAllOfSourcesWithOrphanEntitlements.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +Id of the source +.PARAMETER Type +Type +.PARAMETER Name +Name of the source +.OUTPUTS + +CampaignAllOfSourcesWithOrphanEntitlements +#> + +function Initialize-V2024CampaignAllOfSourcesWithOrphanEntitlements { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("SOURCE")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CampaignAllOfSourcesWithOrphanEntitlements' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CampaignAllOfSourcesWithOrphanEntitlements + +.DESCRIPTION + +Convert from JSON to CampaignAllOfSourcesWithOrphanEntitlements + +.PARAMETER Json + +Json object + +.OUTPUTS + +CampaignAllOfSourcesWithOrphanEntitlements +#> +function ConvertFrom-V2024JsonToCampaignAllOfSourcesWithOrphanEntitlements { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CampaignAllOfSourcesWithOrphanEntitlements' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CampaignAllOfSourcesWithOrphanEntitlements + $AllProperties = ("id", "type", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignCompleteOptions.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignCompleteOptions.ps1 new file mode 100644 index 000000000..96bf93213 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignCompleteOptions.ps1 @@ -0,0 +1,97 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER AutoCompleteAction +Determines whether to auto-approve(APPROVE) or auto-revoke(REVOKE) upon campaign completion. +.OUTPUTS + +CampaignCompleteOptions +#> + +function Initialize-V2024CampaignCompleteOptions { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("APPROVE", "REVOKE")] + [String] + ${AutoCompleteAction} = "APPROVE" + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CampaignCompleteOptions' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "autoCompleteAction" = ${AutoCompleteAction} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CampaignCompleteOptions + +.DESCRIPTION + +Convert from JSON to CampaignCompleteOptions + +.PARAMETER Json + +Json object + +.OUTPUTS + +CampaignCompleteOptions +#> +function ConvertFrom-V2024JsonToCampaignCompleteOptions { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CampaignCompleteOptions' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CampaignCompleteOptions + $AllProperties = ("autoCompleteAction") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "autoCompleteAction"))) { #optional property not found + $AutoCompleteAction = $null + } else { + $AutoCompleteAction = $JsonParameters.PSobject.Properties["autoCompleteAction"].value + } + + $PSO = [PSCustomObject]@{ + "autoCompleteAction" = ${AutoCompleteAction} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignEnded.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignEnded.ps1 new file mode 100644 index 000000000..33e1e1c77 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignEnded.ps1 @@ -0,0 +1,104 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Campaign +No description available. +.OUTPUTS + +CampaignEnded +#> + +function Initialize-V2024CampaignEnded { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Campaign} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CampaignEnded' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Campaign) { + throw "invalid value for 'Campaign', 'Campaign' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "campaign" = ${Campaign} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CampaignEnded + +.DESCRIPTION + +Convert from JSON to CampaignEnded + +.PARAMETER Json + +Json object + +.OUTPUTS + +CampaignEnded +#> +function ConvertFrom-V2024JsonToCampaignEnded { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CampaignEnded' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CampaignEnded + $AllProperties = ("campaign") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'campaign' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "campaign"))) { + throw "Error! JSON cannot be serialized due to the required property 'campaign' missing." + } else { + $Campaign = $JsonParameters.PSobject.Properties["campaign"].value + } + + $PSO = [PSCustomObject]@{ + "campaign" = ${Campaign} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignEndedCampaign.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignEndedCampaign.ps1 new file mode 100644 index 000000000..6f311b9ff --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignEndedCampaign.ps1 @@ -0,0 +1,238 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Details about the certification campaign that ended. + +.PARAMETER Id +Unique ID for the campaign. +.PARAMETER Name +The human friendly name of the campaign. +.PARAMETER Description +Extended description of the campaign. +.PARAMETER Created +The date and time the campaign was created. +.PARAMETER Modified +The date and time the campaign was last modified. +.PARAMETER Deadline +The date and time the campaign is due. +.PARAMETER Type +The type of campaign. +.PARAMETER CampaignOwner +No description available. +.PARAMETER Status +The current status of the campaign. +.OUTPUTS + +CampaignEndedCampaign +#> + +function Initialize-V2024CampaignEndedCampaign { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.DateTime] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Modified}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.DateTime] + ${Deadline}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("MANAGER", "SOURCE_OWNER", "SEARCH", "ROLE_COMPOSITION")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${CampaignOwner}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("COMPLETED")] + [PSCustomObject] + ${Status} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CampaignEndedCampaign' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if (!$Description) { + throw "invalid value for 'Description', 'Description' cannot be null." + } + + if (!$Created) { + throw "invalid value for 'Created', 'Created' cannot be null." + } + + if (!$Deadline) { + throw "invalid value for 'Deadline', 'Deadline' cannot be null." + } + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$CampaignOwner) { + throw "invalid value for 'CampaignOwner', 'CampaignOwner' cannot be null." + } + + if (!$Status) { + throw "invalid value for 'Status', 'Status' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "description" = ${Description} + "created" = ${Created} + "modified" = ${Modified} + "deadline" = ${Deadline} + "type" = ${Type} + "campaignOwner" = ${CampaignOwner} + "status" = ${Status} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CampaignEndedCampaign + +.DESCRIPTION + +Convert from JSON to CampaignEndedCampaign + +.PARAMETER Json + +Json object + +.OUTPUTS + +CampaignEndedCampaign +#> +function ConvertFrom-V2024JsonToCampaignEndedCampaign { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CampaignEndedCampaign' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CampaignEndedCampaign + $AllProperties = ("id", "name", "description", "created", "modified", "deadline", "type", "campaignOwner", "status") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'id' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { + throw "Error! JSON cannot be serialized due to the required property 'description' missing." + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { + throw "Error! JSON cannot be serialized due to the required property 'created' missing." + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "deadline"))) { + throw "Error! JSON cannot be serialized due to the required property 'deadline' missing." + } else { + $Deadline = $JsonParameters.PSobject.Properties["deadline"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "campaignOwner"))) { + throw "Error! JSON cannot be serialized due to the required property 'campaignOwner' missing." + } else { + $CampaignOwner = $JsonParameters.PSobject.Properties["campaignOwner"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { + throw "Error! JSON cannot be serialized due to the required property 'status' missing." + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "description" = ${Description} + "created" = ${Created} + "modified" = ${Modified} + "deadline" = ${Deadline} + "type" = ${Type} + "campaignOwner" = ${CampaignOwner} + "status" = ${Status} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignFilterDetails.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignFilterDetails.ps1 new file mode 100644 index 000000000..3dc3e93dc --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignFilterDetails.ps1 @@ -0,0 +1,161 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Campaign Filter Details + +.PARAMETER Name +Campaign filter name. +.PARAMETER Description +Campaign filter description. +.PARAMETER Owner +Owner of the filter. This field automatically populates at creation time with the current user. +.PARAMETER Mode +Mode/type of filter, either the INCLUSION or EXCLUSION type. The INCLUSION type includes the data in generated campaigns as per specified in the criteria, whereas the EXCLUSION type excludes the data in generated campaigns as per specified in criteria. +.PARAMETER CriteriaList +List of criteria. +.OUTPUTS + +CampaignFilterDetails +#> + +function Initialize-V2024CampaignFilterDetails { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Owner}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("INCLUSION", "EXCLUSION")] + [PSCustomObject] + ${Mode}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${CriteriaList} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CampaignFilterDetails' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if (!$Mode) { + throw "invalid value for 'Mode', 'Mode' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "description" = ${Description} + "owner" = ${Owner} + "mode" = ${Mode} + "criteriaList" = ${CriteriaList} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CampaignFilterDetails + +.DESCRIPTION + +Convert from JSON to CampaignFilterDetails + +.PARAMETER Json + +Json object + +.OUTPUTS + +CampaignFilterDetails +#> +function ConvertFrom-V2024JsonToCampaignFilterDetails { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CampaignFilterDetails' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CampaignFilterDetails + $AllProperties = ("name", "description", "owner", "mode", "criteriaList") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'name' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "owner"))) { + throw "Error! JSON cannot be serialized due to the required property 'owner' missing." + } else { + $Owner = $JsonParameters.PSobject.Properties["owner"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "mode"))) { + throw "Error! JSON cannot be serialized due to the required property 'mode' missing." + } else { + $Mode = $JsonParameters.PSobject.Properties["mode"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "criteriaList"))) { #optional property not found + $CriteriaList = $null + } else { + $CriteriaList = $JsonParameters.PSobject.Properties["criteriaList"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "description" = ${Description} + "owner" = ${Owner} + "mode" = ${Mode} + "criteriaList" = ${CriteriaList} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignFilterDetailsCriteriaListInner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignFilterDetailsCriteriaListInner.ps1 new file mode 100644 index 000000000..7e14aec65 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignFilterDetailsCriteriaListInner.ps1 @@ -0,0 +1,148 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Type +No description available. +.PARAMETER Operation +No description available. +.PARAMETER Property +Specified key from the type of criteria. +.PARAMETER Value +Value for the specified key from the type of criteria. +.OUTPUTS + +CampaignFilterDetailsCriteriaListInner +#> + +function Initialize-V2024CampaignFilterDetailsCriteriaListInner { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("COMPOSITE", "ROLE", "IDENTITY", "IDENTITY_ATTRIBUTE", "ENTITLEMENT", "ACCESS_PROFILE", "SOURCE", "ACCOUNT", "AGGREGATED_ENTITLEMENT", "INVALID_CERTIFIABLE_ENTITY")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Operation}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Property}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Value} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CampaignFilterDetailsCriteriaListInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Operation) { + throw "invalid value for 'Operation', 'Operation' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "operation" = ${Operation} + "property" = ${Property} + "value" = ${Value} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CampaignFilterDetailsCriteriaListInner + +.DESCRIPTION + +Convert from JSON to CampaignFilterDetailsCriteriaListInner + +.PARAMETER Json + +Json object + +.OUTPUTS + +CampaignFilterDetailsCriteriaListInner +#> +function ConvertFrom-V2024JsonToCampaignFilterDetailsCriteriaListInner { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CampaignFilterDetailsCriteriaListInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CampaignFilterDetailsCriteriaListInner + $AllProperties = ("type", "operation", "property", "value") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'type' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "operation"))) { + throw "Error! JSON cannot be serialized due to the required property 'operation' missing." + } else { + $Operation = $JsonParameters.PSobject.Properties["operation"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "property"))) { + throw "Error! JSON cannot be serialized due to the required property 'property' missing." + } else { + $Property = $JsonParameters.PSobject.Properties["property"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "value"))) { + throw "Error! JSON cannot be serialized due to the required property 'value' missing." + } else { + $Value = $JsonParameters.PSobject.Properties["value"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "operation" = ${Operation} + "property" = ${Property} + "value" = ${Value} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignGenerated.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignGenerated.ps1 new file mode 100644 index 000000000..20986f30a --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignGenerated.ps1 @@ -0,0 +1,104 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Campaign +No description available. +.OUTPUTS + +CampaignGenerated +#> + +function Initialize-V2024CampaignGenerated { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Campaign} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CampaignGenerated' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Campaign) { + throw "invalid value for 'Campaign', 'Campaign' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "campaign" = ${Campaign} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CampaignGenerated + +.DESCRIPTION + +Convert from JSON to CampaignGenerated + +.PARAMETER Json + +Json object + +.OUTPUTS + +CampaignGenerated +#> +function ConvertFrom-V2024JsonToCampaignGenerated { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CampaignGenerated' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CampaignGenerated + $AllProperties = ("campaign") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'campaign' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "campaign"))) { + throw "Error! JSON cannot be serialized due to the required property 'campaign' missing." + } else { + $Campaign = $JsonParameters.PSobject.Properties["campaign"].value + } + + $PSO = [PSCustomObject]@{ + "campaign" = ${Campaign} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignGeneratedCampaign.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignGeneratedCampaign.ps1 new file mode 100644 index 000000000..2a22c604c --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignGeneratedCampaign.ps1 @@ -0,0 +1,234 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Details about the campaign that was generated. + +.PARAMETER Id +The unique ID of the campaign. +.PARAMETER Name +Human friendly name of the campaign. +.PARAMETER Description +Extended description of the campaign. +.PARAMETER Created +The date and time the campaign was created. +.PARAMETER Modified +The date and time the campaign was last modified. +.PARAMETER Deadline +The date and time when the campaign must be finished by. +.PARAMETER Type +The type of campaign that was generated. +.PARAMETER CampaignOwner +No description available. +.PARAMETER Status +The current status of the campaign. +.OUTPUTS + +CampaignGeneratedCampaign +#> + +function Initialize-V2024CampaignGeneratedCampaign { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.DateTime] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Modified}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Deadline}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("MANAGER", "SOURCE_OWNER", "SEARCH", "ROLE_COMPOSITION")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${CampaignOwner}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("STAGED", "ACTIVATING", "ACTIVE")] + [PSCustomObject] + ${Status} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CampaignGeneratedCampaign' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if (!$Description) { + throw "invalid value for 'Description', 'Description' cannot be null." + } + + if (!$Created) { + throw "invalid value for 'Created', 'Created' cannot be null." + } + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$CampaignOwner) { + throw "invalid value for 'CampaignOwner', 'CampaignOwner' cannot be null." + } + + if (!$Status) { + throw "invalid value for 'Status', 'Status' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "description" = ${Description} + "created" = ${Created} + "modified" = ${Modified} + "deadline" = ${Deadline} + "type" = ${Type} + "campaignOwner" = ${CampaignOwner} + "status" = ${Status} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CampaignGeneratedCampaign + +.DESCRIPTION + +Convert from JSON to CampaignGeneratedCampaign + +.PARAMETER Json + +Json object + +.OUTPUTS + +CampaignGeneratedCampaign +#> +function ConvertFrom-V2024JsonToCampaignGeneratedCampaign { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CampaignGeneratedCampaign' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CampaignGeneratedCampaign + $AllProperties = ("id", "name", "description", "created", "modified", "deadline", "type", "campaignOwner", "status") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'id' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { + throw "Error! JSON cannot be serialized due to the required property 'description' missing." + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { + throw "Error! JSON cannot be serialized due to the required property 'created' missing." + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "campaignOwner"))) { + throw "Error! JSON cannot be serialized due to the required property 'campaignOwner' missing." + } else { + $CampaignOwner = $JsonParameters.PSobject.Properties["campaignOwner"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { + throw "Error! JSON cannot be serialized due to the required property 'status' missing." + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "deadline"))) { #optional property not found + $Deadline = $null + } else { + $Deadline = $JsonParameters.PSobject.Properties["deadline"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "description" = ${Description} + "created" = ${Created} + "modified" = ${Modified} + "deadline" = ${Deadline} + "type" = ${Type} + "campaignOwner" = ${CampaignOwner} + "status" = ${Status} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignGeneratedCampaignCampaignOwner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignGeneratedCampaignCampaignOwner.ps1 new file mode 100644 index 000000000..032ab4438 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignGeneratedCampaignCampaignOwner.ps1 @@ -0,0 +1,138 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +The identity that owns the campaign. + +.PARAMETER Id +The unique ID of the identity. +.PARAMETER DisplayName +The display name of the identity. +.PARAMETER Email +The primary email address of the identity. +.OUTPUTS + +CampaignGeneratedCampaignCampaignOwner +#> + +function Initialize-V2024CampaignGeneratedCampaignCampaignOwner { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${DisplayName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Email} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CampaignGeneratedCampaignCampaignOwner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$DisplayName) { + throw "invalid value for 'DisplayName', 'DisplayName' cannot be null." + } + + if (!$Email) { + throw "invalid value for 'Email', 'Email' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "displayName" = ${DisplayName} + "email" = ${Email} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CampaignGeneratedCampaignCampaignOwner + +.DESCRIPTION + +Convert from JSON to CampaignGeneratedCampaignCampaignOwner + +.PARAMETER Json + +Json object + +.OUTPUTS + +CampaignGeneratedCampaignCampaignOwner +#> +function ConvertFrom-V2024JsonToCampaignGeneratedCampaignCampaignOwner { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CampaignGeneratedCampaignCampaignOwner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CampaignGeneratedCampaignCampaignOwner + $AllProperties = ("id", "displayName", "email") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'id' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "displayName"))) { + throw "Error! JSON cannot be serialized due to the required property 'displayName' missing." + } else { + $DisplayName = $JsonParameters.PSobject.Properties["displayName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "email"))) { + throw "Error! JSON cannot be serialized due to the required property 'email' missing." + } else { + $Email = $JsonParameters.PSobject.Properties["email"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "displayName" = ${DisplayName} + "email" = ${Email} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignReference.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignReference.ps1 new file mode 100644 index 000000000..700fef7d7 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignReference.ps1 @@ -0,0 +1,206 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +The unique ID of the campaign. +.PARAMETER Name +The name of the campaign. +.PARAMETER Type +The type of object that is being referenced. +.PARAMETER CampaignType +The type of the campaign. +.PARAMETER Description +The description of the campaign set by the admin who created it. +.PARAMETER CorrelatedStatus +The correlatedStatus of the campaign. Only SOURCE_OWNER campaigns can be Uncorrelated. An Uncorrelated certification campaign only includes Uncorrelated identities (An identity is uncorrelated if it has no accounts on an authoritative source). +.PARAMETER MandatoryCommentRequirement +Determines whether comments are required for decisions during certification reviews. You can require comments for all decisions, revoke-only decisions, or no decisions. By default, comments are not required for decisions. +.OUTPUTS + +CampaignReference +#> + +function Initialize-V2024CampaignReference { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("CAMPAIGN")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("MANAGER", "SOURCE_OWNER", "SEARCH")] + [String] + ${CampaignType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("CORRELATED", "UNCORRELATED")] + [PSCustomObject] + ${CorrelatedStatus}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ALL_DECISIONS", "REVOKE_ONLY_DECISIONS", "NO_DECISIONS")] + [String] + ${MandatoryCommentRequirement} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CampaignReference' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$CampaignType) { + throw "invalid value for 'CampaignType', 'CampaignType' cannot be null." + } + + if (!$CorrelatedStatus) { + throw "invalid value for 'CorrelatedStatus', 'CorrelatedStatus' cannot be null." + } + + if (!$MandatoryCommentRequirement) { + throw "invalid value for 'MandatoryCommentRequirement', 'MandatoryCommentRequirement' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "type" = ${Type} + "campaignType" = ${CampaignType} + "description" = ${Description} + "correlatedStatus" = ${CorrelatedStatus} + "mandatoryCommentRequirement" = ${MandatoryCommentRequirement} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CampaignReference + +.DESCRIPTION + +Convert from JSON to CampaignReference + +.PARAMETER Json + +Json object + +.OUTPUTS + +CampaignReference +#> +function ConvertFrom-V2024JsonToCampaignReference { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CampaignReference' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CampaignReference + $AllProperties = ("id", "name", "type", "campaignType", "description", "correlatedStatus", "mandatoryCommentRequirement") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'id' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "campaignType"))) { + throw "Error! JSON cannot be serialized due to the required property 'campaignType' missing." + } else { + $CampaignType = $JsonParameters.PSobject.Properties["campaignType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { + throw "Error! JSON cannot be serialized due to the required property 'description' missing." + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "correlatedStatus"))) { + throw "Error! JSON cannot be serialized due to the required property 'correlatedStatus' missing." + } else { + $CorrelatedStatus = $JsonParameters.PSobject.Properties["correlatedStatus"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "mandatoryCommentRequirement"))) { + throw "Error! JSON cannot be serialized due to the required property 'mandatoryCommentRequirement' missing." + } else { + $MandatoryCommentRequirement = $JsonParameters.PSobject.Properties["mandatoryCommentRequirement"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "type" = ${Type} + "campaignType" = ${CampaignType} + "description" = ${Description} + "correlatedStatus" = ${CorrelatedStatus} + "mandatoryCommentRequirement" = ${MandatoryCommentRequirement} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignReport.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignReport.ps1 new file mode 100644 index 000000000..1f61d3503 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignReport.ps1 @@ -0,0 +1,166 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Type +SOD policy violation report result DTO type. +.PARAMETER Id +SOD policy violation report result ID. +.PARAMETER Name +Human-readable name of the SOD policy violation report result. +.PARAMETER Status +Status of a SOD policy violation report. +.PARAMETER ReportType +No description available. +.OUTPUTS + +CampaignReport +#> + +function Initialize-V2024CampaignReport { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("REPORT_RESULT")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("SUCCESS", "WARNING", "ERROR", "TERMINATED", "TEMP_ERROR", "PENDING")] + [String] + ${Status}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("CAMPAIGN_COMPOSITION_REPORT", "CAMPAIGN_REMEDIATION_STATUS_REPORT", "CAMPAIGN_STATUS_REPORT", "CERTIFICATION_SIGNOFF_REPORT")] + [PSCustomObject] + ${ReportType} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CampaignReport' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$ReportType) { + throw "invalid value for 'ReportType', 'ReportType' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + "status" = ${Status} + "reportType" = ${ReportType} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CampaignReport + +.DESCRIPTION + +Convert from JSON to CampaignReport + +.PARAMETER Json + +Json object + +.OUTPUTS + +CampaignReport +#> +function ConvertFrom-V2024JsonToCampaignReport { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CampaignReport' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CampaignReport + $AllProperties = ("type", "id", "name", "status", "reportType", "lastRunAt") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'reportType' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "reportType"))) { + throw "Error! JSON cannot be serialized due to the required property 'reportType' missing." + } else { + $ReportType = $JsonParameters.PSobject.Properties["reportType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { #optional property not found + $Status = $null + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "lastRunAt"))) { #optional property not found + $LastRunAt = $null + } else { + $LastRunAt = $JsonParameters.PSobject.Properties["lastRunAt"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + "status" = ${Status} + "reportType" = ${ReportType} + "lastRunAt" = ${LastRunAt} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignReportsConfig.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignReportsConfig.ps1 new file mode 100644 index 000000000..bdc8d9831 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignReportsConfig.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER IdentityAttributeColumns +list of identity attribute columns +.OUTPUTS + +CampaignReportsConfig +#> + +function Initialize-V2024CampaignReportsConfig { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${IdentityAttributeColumns} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CampaignReportsConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "identityAttributeColumns" = ${IdentityAttributeColumns} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CampaignReportsConfig + +.DESCRIPTION + +Convert from JSON to CampaignReportsConfig + +.PARAMETER Json + +Json object + +.OUTPUTS + +CampaignReportsConfig +#> +function ConvertFrom-V2024JsonToCampaignReportsConfig { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CampaignReportsConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CampaignReportsConfig + $AllProperties = ("identityAttributeColumns") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityAttributeColumns"))) { #optional property not found + $IdentityAttributeColumns = $null + } else { + $IdentityAttributeColumns = $JsonParameters.PSobject.Properties["identityAttributeColumns"].value + } + + $PSO = [PSCustomObject]@{ + "identityAttributeColumns" = ${IdentityAttributeColumns} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignTemplate.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignTemplate.ps1 new file mode 100644 index 000000000..a0945e530 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignTemplate.ps1 @@ -0,0 +1,198 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Campaign Template + +.PARAMETER Id +Id of the campaign template +.PARAMETER Name +This template's name. Has no bearing on generated campaigns' names. +.PARAMETER Description +This template's description. Has no bearing on generated campaigns' descriptions. +.PARAMETER OwnerRef +No description available. +.PARAMETER DeadlineDuration +The time period during which the campaign should be completed, formatted as an ISO-8601 Duration. When this template generates a campaign, the campaign's deadline will be the current date plus this duration. For example, if generation occurred on 2020-01-01 and this field was ""P2W"" (two weeks), the resulting campaign's deadline would be 2020-01-15 (the current date plus 14 days). +.PARAMETER Campaign +This will hold campaign related information like name, description etc. +.OUTPUTS + +CampaignTemplate +#> + +function Initialize-V2024CampaignTemplate { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${OwnerRef}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${DeadlineDuration}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Campaign} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CampaignTemplate' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if (!$Description) { + throw "invalid value for 'Description', 'Description' cannot be null." + } + + if (!$Campaign) { + throw "invalid value for 'Campaign', 'Campaign' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "description" = ${Description} + "ownerRef" = ${OwnerRef} + "deadlineDuration" = ${DeadlineDuration} + "campaign" = ${Campaign} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CampaignTemplate + +.DESCRIPTION + +Convert from JSON to CampaignTemplate + +.PARAMETER Json + +Json object + +.OUTPUTS + +CampaignTemplate +#> +function ConvertFrom-V2024JsonToCampaignTemplate { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CampaignTemplate' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CampaignTemplate + $AllProperties = ("id", "name", "description", "created", "modified", "scheduled", "ownerRef", "deadlineDuration", "campaign") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'name' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { + throw "Error! JSON cannot be serialized due to the required property 'description' missing." + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { + throw "Error! JSON cannot be serialized due to the required property 'created' missing." + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { + throw "Error! JSON cannot be serialized due to the required property 'modified' missing." + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "campaign"))) { + throw "Error! JSON cannot be serialized due to the required property 'campaign' missing." + } else { + $Campaign = $JsonParameters.PSobject.Properties["campaign"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "scheduled"))) { #optional property not found + $Scheduled = $null + } else { + $Scheduled = $JsonParameters.PSobject.Properties["scheduled"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "ownerRef"))) { #optional property not found + $OwnerRef = $null + } else { + $OwnerRef = $JsonParameters.PSobject.Properties["ownerRef"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "deadlineDuration"))) { #optional property not found + $DeadlineDuration = $null + } else { + $DeadlineDuration = $JsonParameters.PSobject.Properties["deadlineDuration"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "description" = ${Description} + "created" = ${Created} + "modified" = ${Modified} + "scheduled" = ${Scheduled} + "ownerRef" = ${OwnerRef} + "deadlineDuration" = ${DeadlineDuration} + "campaign" = ${Campaign} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignTemplateOwnerRef.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignTemplateOwnerRef.ps1 new file mode 100644 index 000000000..a3707c48f --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignTemplateOwnerRef.ps1 @@ -0,0 +1,136 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +The owner of this template, and the owner of campaigns generated from this template via a schedule. This field is automatically populated at creation time with the current user. + +.PARAMETER Id +Id of the owner +.PARAMETER Type +Type of the owner +.PARAMETER Name +Name of the owner +.PARAMETER Email +Email of the owner +.OUTPUTS + +CampaignTemplateOwnerRef +#> + +function Initialize-V2024CampaignTemplateOwnerRef { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Email} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CampaignTemplateOwnerRef' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + "name" = ${Name} + "email" = ${Email} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CampaignTemplateOwnerRef + +.DESCRIPTION + +Convert from JSON to CampaignTemplateOwnerRef + +.PARAMETER Json + +Json object + +.OUTPUTS + +CampaignTemplateOwnerRef +#> +function ConvertFrom-V2024JsonToCampaignTemplateOwnerRef { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CampaignTemplateOwnerRef' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CampaignTemplateOwnerRef + $AllProperties = ("id", "type", "name", "email") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "email"))) { #optional property not found + $Email = $null + } else { + $Email = $JsonParameters.PSobject.Properties["email"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + "name" = ${Name} + "email" = ${Email} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignsDeleteRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignsDeleteRequest.ps1 new file mode 100644 index 000000000..27f8a74c8 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CampaignsDeleteRequest.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Ids +The ids of the campaigns to delete +.OUTPUTS + +CampaignsDeleteRequest +#> + +function Initialize-V2024CampaignsDeleteRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Ids} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CampaignsDeleteRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "ids" = ${Ids} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CampaignsDeleteRequest + +.DESCRIPTION + +Convert from JSON to CampaignsDeleteRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +CampaignsDeleteRequest +#> +function ConvertFrom-V2024JsonToCampaignsDeleteRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CampaignsDeleteRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CampaignsDeleteRequest + $AllProperties = ("ids") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "ids"))) { #optional property not found + $Ids = $null + } else { + $Ids = $JsonParameters.PSobject.Properties["ids"].value + } + + $PSO = [PSCustomObject]@{ + "ids" = ${Ids} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CancelAccessRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CancelAccessRequest.ps1 new file mode 100644 index 000000000..b89753084 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CancelAccessRequest.ps1 @@ -0,0 +1,121 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Request body payload for cancel access request endpoint. + +.PARAMETER AccountActivityId +This refers to the identityRequestId. To successfully cancel an access request, you must provide the identityRequestId. +.PARAMETER Comment +Reason for cancelling the pending access request. +.OUTPUTS + +CancelAccessRequest +#> + +function Initialize-V2024CancelAccessRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AccountActivityId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Comment} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CancelAccessRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$AccountActivityId) { + throw "invalid value for 'AccountActivityId', 'AccountActivityId' cannot be null." + } + + if (!$Comment) { + throw "invalid value for 'Comment', 'Comment' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "accountActivityId" = ${AccountActivityId} + "comment" = ${Comment} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CancelAccessRequest + +.DESCRIPTION + +Convert from JSON to CancelAccessRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +CancelAccessRequest +#> +function ConvertFrom-V2024JsonToCancelAccessRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CancelAccessRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CancelAccessRequest + $AllProperties = ("accountActivityId", "comment") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'accountActivityId' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accountActivityId"))) { + throw "Error! JSON cannot be serialized due to the required property 'accountActivityId' missing." + } else { + $AccountActivityId = $JsonParameters.PSobject.Properties["accountActivityId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "comment"))) { + throw "Error! JSON cannot be serialized due to the required property 'comment' missing." + } else { + $Comment = $JsonParameters.PSobject.Properties["comment"].value + } + + $PSO = [PSCustomObject]@{ + "accountActivityId" = ${AccountActivityId} + "comment" = ${Comment} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CancelledRequestDetails.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CancelledRequestDetails.ps1 new file mode 100644 index 000000000..9684a282b --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CancelledRequestDetails.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Provides additional details for a request that has been cancelled. + +.PARAMETER Comment +Comment made by the owner when cancelling the associated request. +.PARAMETER Owner +No description available. +.PARAMETER Modified +Date comment was added by the owner when cancelling the associated request. +.OUTPUTS + +CancelledRequestDetails +#> + +function Initialize-V2024CancelledRequestDetails { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Comment}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Owner}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Modified} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CancelledRequestDetails' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "comment" = ${Comment} + "owner" = ${Owner} + "modified" = ${Modified} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CancelledRequestDetails + +.DESCRIPTION + +Convert from JSON to CancelledRequestDetails + +.PARAMETER Json + +Json object + +.OUTPUTS + +CancelledRequestDetails +#> +function ConvertFrom-V2024JsonToCancelledRequestDetails { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CancelledRequestDetails' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CancelledRequestDetails + $AllProperties = ("comment", "owner", "modified") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "comment"))) { #optional property not found + $Comment = $null + } else { + $Comment = $JsonParameters.PSobject.Properties["comment"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "owner"))) { #optional property not found + $Owner = $null + } else { + $Owner = $JsonParameters.PSobject.Properties["owner"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + $PSO = [PSCustomObject]@{ + "comment" = ${Comment} + "owner" = ${Owner} + "modified" = ${Modified} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Certification.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Certification.ps1 new file mode 100644 index 000000000..c9b63516c --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Certification.ps1 @@ -0,0 +1,305 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +id of the certification +.PARAMETER Name +name of the certification +.PARAMETER Campaign +No description available. +.PARAMETER Completed +Have all decisions been made? +.PARAMETER IdentitiesCompleted +The number of identities for whom all decisions have been made and are complete. +.PARAMETER IdentitiesTotal +The total number of identities in the Certification, both complete and incomplete. +.PARAMETER Created +created date +.PARAMETER Modified +modified date +.PARAMETER DecisionsMade +The number of approve/revoke/acknowledge decisions that have been made. +.PARAMETER DecisionsTotal +The total number of approve/revoke/acknowledge decisions. +.PARAMETER Due +The due date of the certification. +.PARAMETER Signed +The date the reviewer signed off on the Certification. +.PARAMETER Reviewer +No description available. +.PARAMETER Reassignment +No description available. +.PARAMETER HasErrors +Identifies if the certification has an error +.PARAMETER ErrorMessage +Description of the certification error +.PARAMETER Phase +No description available. +.OUTPUTS + +Certification +#> + +function Initialize-V2024Certification { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Campaign}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Completed}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${IdentitiesCompleted}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${IdentitiesTotal}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Modified}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${DecisionsMade}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${DecisionsTotal}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Due}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Signed}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Reviewer}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Reassignment}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${HasErrors}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ErrorMessage}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("STAGED", "ACTIVE", "SIGNED")] + [PSCustomObject] + ${Phase} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Certification' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "campaign" = ${Campaign} + "completed" = ${Completed} + "identitiesCompleted" = ${IdentitiesCompleted} + "identitiesTotal" = ${IdentitiesTotal} + "created" = ${Created} + "modified" = ${Modified} + "decisionsMade" = ${DecisionsMade} + "decisionsTotal" = ${DecisionsTotal} + "due" = ${Due} + "signed" = ${Signed} + "reviewer" = ${Reviewer} + "reassignment" = ${Reassignment} + "hasErrors" = ${HasErrors} + "errorMessage" = ${ErrorMessage} + "phase" = ${Phase} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Certification + +.DESCRIPTION + +Convert from JSON to Certification + +.PARAMETER Json + +Json object + +.OUTPUTS + +Certification +#> +function ConvertFrom-V2024JsonToCertification { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Certification' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Certification + $AllProperties = ("id", "name", "campaign", "completed", "identitiesCompleted", "identitiesTotal", "created", "modified", "decisionsMade", "decisionsTotal", "due", "signed", "reviewer", "reassignment", "hasErrors", "errorMessage", "phase") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "campaign"))) { #optional property not found + $Campaign = $null + } else { + $Campaign = $JsonParameters.PSobject.Properties["campaign"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "completed"))) { #optional property not found + $Completed = $null + } else { + $Completed = $JsonParameters.PSobject.Properties["completed"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identitiesCompleted"))) { #optional property not found + $IdentitiesCompleted = $null + } else { + $IdentitiesCompleted = $JsonParameters.PSobject.Properties["identitiesCompleted"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identitiesTotal"))) { #optional property not found + $IdentitiesTotal = $null + } else { + $IdentitiesTotal = $JsonParameters.PSobject.Properties["identitiesTotal"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "decisionsMade"))) { #optional property not found + $DecisionsMade = $null + } else { + $DecisionsMade = $JsonParameters.PSobject.Properties["decisionsMade"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "decisionsTotal"))) { #optional property not found + $DecisionsTotal = $null + } else { + $DecisionsTotal = $JsonParameters.PSobject.Properties["decisionsTotal"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "due"))) { #optional property not found + $Due = $null + } else { + $Due = $JsonParameters.PSobject.Properties["due"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "signed"))) { #optional property not found + $Signed = $null + } else { + $Signed = $JsonParameters.PSobject.Properties["signed"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "reviewer"))) { #optional property not found + $Reviewer = $null + } else { + $Reviewer = $JsonParameters.PSobject.Properties["reviewer"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "reassignment"))) { #optional property not found + $Reassignment = $null + } else { + $Reassignment = $JsonParameters.PSobject.Properties["reassignment"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "hasErrors"))) { #optional property not found + $HasErrors = $null + } else { + $HasErrors = $JsonParameters.PSobject.Properties["hasErrors"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "errorMessage"))) { #optional property not found + $ErrorMessage = $null + } else { + $ErrorMessage = $JsonParameters.PSobject.Properties["errorMessage"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "phase"))) { #optional property not found + $Phase = $null + } else { + $Phase = $JsonParameters.PSobject.Properties["phase"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "campaign" = ${Campaign} + "completed" = ${Completed} + "identitiesCompleted" = ${IdentitiesCompleted} + "identitiesTotal" = ${IdentitiesTotal} + "created" = ${Created} + "modified" = ${Modified} + "decisionsMade" = ${DecisionsMade} + "decisionsTotal" = ${DecisionsTotal} + "due" = ${Due} + "signed" = ${Signed} + "reviewer" = ${Reviewer} + "reassignment" = ${Reassignment} + "hasErrors" = ${HasErrors} + "errorMessage" = ${ErrorMessage} + "phase" = ${Phase} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CertificationDecision.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CertificationDecision.ps1 new file mode 100644 index 000000000..3fc442788 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CertificationDecision.ps1 @@ -0,0 +1,24 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum CertificationDecision. + +.DESCRIPTION + +The decision to approve or revoke the review item +#> + +enum CertificationDecision { + # enum value: "APPROVE" + APPROVE + # enum value: "REVOKE" + REVOKE +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CertificationDto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CertificationDto.ps1 new file mode 100644 index 000000000..a01a96036 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CertificationDto.ps1 @@ -0,0 +1,301 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER CampaignRef +No description available. +.PARAMETER Phase +No description available. +.PARAMETER Due +The due date of the certification. +.PARAMETER Signed +The date the reviewer signed off on the certification. +.PARAMETER Reviewer +No description available. +.PARAMETER Reassignment +No description available. +.PARAMETER HasErrors +Indicates it the certification has any errors. +.PARAMETER ErrorMessage +A message indicating what the error is. +.PARAMETER Completed +Indicates if all certification decisions have been made. +.PARAMETER DecisionsMade +The number of approve/revoke/acknowledge decisions that have been made by the reviewer. +.PARAMETER DecisionsTotal +The total number of approve/revoke/acknowledge decisions for the certification. +.PARAMETER EntitiesCompleted +The number of entities (identities, access profiles, roles, etc.) for which all decisions have been made and are complete. +.PARAMETER EntitiesTotal +The total number of entities (identities, access profiles, roles, etc.) in the certification, both complete and incomplete. +.OUTPUTS + +CertificationDto +#> + +function Initialize-V2024CertificationDto { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${CampaignRef}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("STAGED", "ACTIVE", "SIGNED")] + [PSCustomObject] + ${Phase}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.DateTime] + ${Due}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.DateTime] + ${Signed}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Reviewer}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Reassignment}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Boolean] + ${HasErrors}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ErrorMessage}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Boolean] + ${Completed}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Int32] + ${DecisionsMade}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Int32] + ${DecisionsTotal}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Int32] + ${EntitiesCompleted}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Int32] + ${EntitiesTotal} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CertificationDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$CampaignRef) { + throw "invalid value for 'CampaignRef', 'CampaignRef' cannot be null." + } + + if (!$Phase) { + throw "invalid value for 'Phase', 'Phase' cannot be null." + } + + if (!$Due) { + throw "invalid value for 'Due', 'Due' cannot be null." + } + + if (!$Signed) { + throw "invalid value for 'Signed', 'Signed' cannot be null." + } + + if (!$Reviewer) { + throw "invalid value for 'Reviewer', 'Reviewer' cannot be null." + } + + if (!$HasErrors) { + throw "invalid value for 'HasErrors', 'HasErrors' cannot be null." + } + + if (!$Completed) { + throw "invalid value for 'Completed', 'Completed' cannot be null." + } + + if (!$DecisionsMade) { + throw "invalid value for 'DecisionsMade', 'DecisionsMade' cannot be null." + } + + if (!$DecisionsTotal) { + throw "invalid value for 'DecisionsTotal', 'DecisionsTotal' cannot be null." + } + + if (!$EntitiesCompleted) { + throw "invalid value for 'EntitiesCompleted', 'EntitiesCompleted' cannot be null." + } + + if (!$EntitiesTotal) { + throw "invalid value for 'EntitiesTotal', 'EntitiesTotal' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "campaignRef" = ${CampaignRef} + "phase" = ${Phase} + "due" = ${Due} + "signed" = ${Signed} + "reviewer" = ${Reviewer} + "reassignment" = ${Reassignment} + "hasErrors" = ${HasErrors} + "errorMessage" = ${ErrorMessage} + "completed" = ${Completed} + "decisionsMade" = ${DecisionsMade} + "decisionsTotal" = ${DecisionsTotal} + "entitiesCompleted" = ${EntitiesCompleted} + "entitiesTotal" = ${EntitiesTotal} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CertificationDto + +.DESCRIPTION + +Convert from JSON to CertificationDto + +.PARAMETER Json + +Json object + +.OUTPUTS + +CertificationDto +#> +function ConvertFrom-V2024JsonToCertificationDto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CertificationDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CertificationDto + $AllProperties = ("campaignRef", "phase", "due", "signed", "reviewer", "reassignment", "hasErrors", "errorMessage", "completed", "decisionsMade", "decisionsTotal", "entitiesCompleted", "entitiesTotal") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'campaignRef' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "campaignRef"))) { + throw "Error! JSON cannot be serialized due to the required property 'campaignRef' missing." + } else { + $CampaignRef = $JsonParameters.PSobject.Properties["campaignRef"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "phase"))) { + throw "Error! JSON cannot be serialized due to the required property 'phase' missing." + } else { + $Phase = $JsonParameters.PSobject.Properties["phase"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "due"))) { + throw "Error! JSON cannot be serialized due to the required property 'due' missing." + } else { + $Due = $JsonParameters.PSobject.Properties["due"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "signed"))) { + throw "Error! JSON cannot be serialized due to the required property 'signed' missing." + } else { + $Signed = $JsonParameters.PSobject.Properties["signed"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "reviewer"))) { + throw "Error! JSON cannot be serialized due to the required property 'reviewer' missing." + } else { + $Reviewer = $JsonParameters.PSobject.Properties["reviewer"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "hasErrors"))) { + throw "Error! JSON cannot be serialized due to the required property 'hasErrors' missing." + } else { + $HasErrors = $JsonParameters.PSobject.Properties["hasErrors"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "completed"))) { + throw "Error! JSON cannot be serialized due to the required property 'completed' missing." + } else { + $Completed = $JsonParameters.PSobject.Properties["completed"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "decisionsMade"))) { + throw "Error! JSON cannot be serialized due to the required property 'decisionsMade' missing." + } else { + $DecisionsMade = $JsonParameters.PSobject.Properties["decisionsMade"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "decisionsTotal"))) { + throw "Error! JSON cannot be serialized due to the required property 'decisionsTotal' missing." + } else { + $DecisionsTotal = $JsonParameters.PSobject.Properties["decisionsTotal"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "entitiesCompleted"))) { + throw "Error! JSON cannot be serialized due to the required property 'entitiesCompleted' missing." + } else { + $EntitiesCompleted = $JsonParameters.PSobject.Properties["entitiesCompleted"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "entitiesTotal"))) { + throw "Error! JSON cannot be serialized due to the required property 'entitiesTotal' missing." + } else { + $EntitiesTotal = $JsonParameters.PSobject.Properties["entitiesTotal"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "reassignment"))) { #optional property not found + $Reassignment = $null + } else { + $Reassignment = $JsonParameters.PSobject.Properties["reassignment"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "errorMessage"))) { #optional property not found + $ErrorMessage = $null + } else { + $ErrorMessage = $JsonParameters.PSobject.Properties["errorMessage"].value + } + + $PSO = [PSCustomObject]@{ + "campaignRef" = ${CampaignRef} + "phase" = ${Phase} + "due" = ${Due} + "signed" = ${Signed} + "reviewer" = ${Reviewer} + "reassignment" = ${Reassignment} + "hasErrors" = ${HasErrors} + "errorMessage" = ${ErrorMessage} + "completed" = ${Completed} + "decisionsMade" = ${DecisionsMade} + "decisionsTotal" = ${DecisionsTotal} + "entitiesCompleted" = ${EntitiesCompleted} + "entitiesTotal" = ${EntitiesTotal} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CertificationIdentitySummary.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CertificationIdentitySummary.ps1 new file mode 100644 index 000000000..80ccb36e8 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CertificationIdentitySummary.ps1 @@ -0,0 +1,135 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +The ID of the identity summary +.PARAMETER Name +Name of the linked identity +.PARAMETER IdentityId +The ID of the identity being certified +.PARAMETER Completed +Indicates whether the review items for the linked identity's certification have been completed +.OUTPUTS + +CertificationIdentitySummary +#> + +function Initialize-V2024CertificationIdentitySummary { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${IdentityId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Completed} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CertificationIdentitySummary' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "identityId" = ${IdentityId} + "completed" = ${Completed} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CertificationIdentitySummary + +.DESCRIPTION + +Convert from JSON to CertificationIdentitySummary + +.PARAMETER Json + +Json object + +.OUTPUTS + +CertificationIdentitySummary +#> +function ConvertFrom-V2024JsonToCertificationIdentitySummary { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CertificationIdentitySummary' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CertificationIdentitySummary + $AllProperties = ("id", "name", "identityId", "completed") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityId"))) { #optional property not found + $IdentityId = $null + } else { + $IdentityId = $JsonParameters.PSobject.Properties["identityId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "completed"))) { #optional property not found + $Completed = $null + } else { + $Completed = $JsonParameters.PSobject.Properties["completed"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "identityId" = ${IdentityId} + "completed" = ${Completed} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CertificationPhase.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CertificationPhase.ps1 new file mode 100644 index 000000000..26b0eb96a --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CertificationPhase.ps1 @@ -0,0 +1,26 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum CertificationPhase. + +.DESCRIPTION + +The current phase of the campaign. * `STAGED`: The campaign is waiting to be activated. * `ACTIVE`: The campaign is active. * `SIGNED`: The reviewer has signed off on the campaign, and it is considered complete. +#> + +enum CertificationPhase { + # enum value: "STAGED" + STAGED + # enum value: "ACTIVE" + ACTIVE + # enum value: "SIGNED" + SIGNED +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CertificationReference.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CertificationReference.ps1 new file mode 100644 index 000000000..870854943 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CertificationReference.ps1 @@ -0,0 +1,136 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +The id of the certification. +.PARAMETER Name +The name of the certification. +.PARAMETER Type +No description available. +.PARAMETER Reviewer +No description available. +.OUTPUTS + +CertificationReference +#> + +function Initialize-V2024CertificationReference { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("CERTIFICATION")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Reviewer} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CertificationReference' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "type" = ${Type} + "reviewer" = ${Reviewer} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CertificationReference + +.DESCRIPTION + +Convert from JSON to CertificationReference + +.PARAMETER Json + +Json object + +.OUTPUTS + +CertificationReference +#> +function ConvertFrom-V2024JsonToCertificationReference { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CertificationReference' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CertificationReference + $AllProperties = ("id", "name", "type", "reviewer") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "reviewer"))) { #optional property not found + $Reviewer = $null + } else { + $Reviewer = $JsonParameters.PSobject.Properties["reviewer"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "type" = ${Type} + "reviewer" = ${Reviewer} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CertificationReference1.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CertificationReference1.ps1 new file mode 100644 index 000000000..ee97c54b5 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CertificationReference1.ps1 @@ -0,0 +1,136 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Previous certification. + +.PARAMETER Type +DTO type of certification for review. +.PARAMETER Id +ID of certification for review. +.PARAMETER Name +Display name of certification for review. +.PARAMETER Reviewer +No description available. +.OUTPUTS + +CertificationReference1 +#> + +function Initialize-V2024CertificationReference1 { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("CERTIFICATION")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Reviewer} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CertificationReference1' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + "reviewer" = ${Reviewer} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CertificationReference1 + +.DESCRIPTION + +Convert from JSON to CertificationReference1 + +.PARAMETER Json + +Json object + +.OUTPUTS + +CertificationReference1 +#> +function ConvertFrom-V2024JsonToCertificationReference1 { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CertificationReference1' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CertificationReference1 + $AllProperties = ("type", "id", "name", "reviewer") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "reviewer"))) { #optional property not found + $Reviewer = $null + } else { + $Reviewer = $JsonParameters.PSobject.Properties["reviewer"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + "reviewer" = ${Reviewer} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CertificationReferenceDto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CertificationReferenceDto.ps1 new file mode 100644 index 000000000..ee544c765 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CertificationReferenceDto.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Certification for review. + +.PARAMETER Type +DTO type of certification for review. +.PARAMETER Id +ID of certification for review. +.PARAMETER Name +Display name of certification for review. +.OUTPUTS + +CertificationReferenceDto +#> + +function Initialize-V2024CertificationReferenceDto { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("CERTIFICATION")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CertificationReferenceDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CertificationReferenceDto + +.DESCRIPTION + +Convert from JSON to CertificationReferenceDto + +.PARAMETER Json + +Json object + +.OUTPUTS + +CertificationReferenceDto +#> +function ConvertFrom-V2024JsonToCertificationReferenceDto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CertificationReferenceDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CertificationReferenceDto + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CertificationSignedOff.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CertificationSignedOff.ps1 new file mode 100644 index 000000000..4b7b8507c --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CertificationSignedOff.ps1 @@ -0,0 +1,104 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Certification +No description available. +.OUTPUTS + +CertificationSignedOff +#> + +function Initialize-V2024CertificationSignedOff { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Certification} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CertificationSignedOff' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Certification) { + throw "invalid value for 'Certification', 'Certification' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "certification" = ${Certification} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CertificationSignedOff + +.DESCRIPTION + +Convert from JSON to CertificationSignedOff + +.PARAMETER Json + +Json object + +.OUTPUTS + +CertificationSignedOff +#> +function ConvertFrom-V2024JsonToCertificationSignedOff { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CertificationSignedOff' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CertificationSignedOff + $AllProperties = ("certification") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'certification' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "certification"))) { + throw "Error! JSON cannot be serialized due to the required property 'certification' missing." + } else { + $Certification = $JsonParameters.PSobject.Properties["certification"].value + } + + $PSO = [PSCustomObject]@{ + "certification" = ${Certification} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CertificationSignedOffCertification.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CertificationSignedOffCertification.ps1 new file mode 100644 index 000000000..5f06c7698 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CertificationSignedOffCertification.ps1 @@ -0,0 +1,365 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +The certification campaign that was signed off on. + +.PARAMETER Id +Unique ID of the certification. +.PARAMETER Name +The name of the certification. +.PARAMETER Created +The date and time the certification was created. +.PARAMETER Modified +The date and time the certification was last modified. +.PARAMETER CampaignRef +No description available. +.PARAMETER Phase +No description available. +.PARAMETER Due +The due date of the certification. +.PARAMETER Signed +The date the reviewer signed off on the certification. +.PARAMETER Reviewer +No description available. +.PARAMETER Reassignment +No description available. +.PARAMETER HasErrors +Indicates it the certification has any errors. +.PARAMETER ErrorMessage +A message indicating what the error is. +.PARAMETER Completed +Indicates if all certification decisions have been made. +.PARAMETER DecisionsMade +The number of approve/revoke/acknowledge decisions that have been made by the reviewer. +.PARAMETER DecisionsTotal +The total number of approve/revoke/acknowledge decisions for the certification. +.PARAMETER EntitiesCompleted +The number of entities (identities, access profiles, roles, etc.) for which all decisions have been made and are complete. +.PARAMETER EntitiesTotal +The total number of entities (identities, access profiles, roles, etc.) in the certification, both complete and incomplete. +.OUTPUTS + +CertificationSignedOffCertification +#> + +function Initialize-V2024CertificationSignedOffCertification { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.DateTime] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Modified}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${CampaignRef}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("STAGED", "ACTIVE", "SIGNED")] + [PSCustomObject] + ${Phase}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.DateTime] + ${Due}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.DateTime] + ${Signed}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Reviewer}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Reassignment}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Boolean] + ${HasErrors}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ErrorMessage}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Boolean] + ${Completed}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Int32] + ${DecisionsMade}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Int32] + ${DecisionsTotal}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Int32] + ${EntitiesCompleted}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Int32] + ${EntitiesTotal} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CertificationSignedOffCertification' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if (!$Created) { + throw "invalid value for 'Created', 'Created' cannot be null." + } + + if (!$CampaignRef) { + throw "invalid value for 'CampaignRef', 'CampaignRef' cannot be null." + } + + if (!$Phase) { + throw "invalid value for 'Phase', 'Phase' cannot be null." + } + + if (!$Due) { + throw "invalid value for 'Due', 'Due' cannot be null." + } + + if (!$Signed) { + throw "invalid value for 'Signed', 'Signed' cannot be null." + } + + if (!$Reviewer) { + throw "invalid value for 'Reviewer', 'Reviewer' cannot be null." + } + + if (!$HasErrors) { + throw "invalid value for 'HasErrors', 'HasErrors' cannot be null." + } + + if (!$Completed) { + throw "invalid value for 'Completed', 'Completed' cannot be null." + } + + if (!$DecisionsMade) { + throw "invalid value for 'DecisionsMade', 'DecisionsMade' cannot be null." + } + + if (!$DecisionsTotal) { + throw "invalid value for 'DecisionsTotal', 'DecisionsTotal' cannot be null." + } + + if (!$EntitiesCompleted) { + throw "invalid value for 'EntitiesCompleted', 'EntitiesCompleted' cannot be null." + } + + if (!$EntitiesTotal) { + throw "invalid value for 'EntitiesTotal', 'EntitiesTotal' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "created" = ${Created} + "modified" = ${Modified} + "campaignRef" = ${CampaignRef} + "phase" = ${Phase} + "due" = ${Due} + "signed" = ${Signed} + "reviewer" = ${Reviewer} + "reassignment" = ${Reassignment} + "hasErrors" = ${HasErrors} + "errorMessage" = ${ErrorMessage} + "completed" = ${Completed} + "decisionsMade" = ${DecisionsMade} + "decisionsTotal" = ${DecisionsTotal} + "entitiesCompleted" = ${EntitiesCompleted} + "entitiesTotal" = ${EntitiesTotal} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CertificationSignedOffCertification + +.DESCRIPTION + +Convert from JSON to CertificationSignedOffCertification + +.PARAMETER Json + +Json object + +.OUTPUTS + +CertificationSignedOffCertification +#> +function ConvertFrom-V2024JsonToCertificationSignedOffCertification { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CertificationSignedOffCertification' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CertificationSignedOffCertification + $AllProperties = ("id", "name", "created", "modified", "campaignRef", "phase", "due", "signed", "reviewer", "reassignment", "hasErrors", "errorMessage", "completed", "decisionsMade", "decisionsTotal", "entitiesCompleted", "entitiesTotal") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'id' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { + throw "Error! JSON cannot be serialized due to the required property 'created' missing." + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "campaignRef"))) { + throw "Error! JSON cannot be serialized due to the required property 'campaignRef' missing." + } else { + $CampaignRef = $JsonParameters.PSobject.Properties["campaignRef"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "phase"))) { + throw "Error! JSON cannot be serialized due to the required property 'phase' missing." + } else { + $Phase = $JsonParameters.PSobject.Properties["phase"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "due"))) { + throw "Error! JSON cannot be serialized due to the required property 'due' missing." + } else { + $Due = $JsonParameters.PSobject.Properties["due"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "signed"))) { + throw "Error! JSON cannot be serialized due to the required property 'signed' missing." + } else { + $Signed = $JsonParameters.PSobject.Properties["signed"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "reviewer"))) { + throw "Error! JSON cannot be serialized due to the required property 'reviewer' missing." + } else { + $Reviewer = $JsonParameters.PSobject.Properties["reviewer"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "hasErrors"))) { + throw "Error! JSON cannot be serialized due to the required property 'hasErrors' missing." + } else { + $HasErrors = $JsonParameters.PSobject.Properties["hasErrors"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "completed"))) { + throw "Error! JSON cannot be serialized due to the required property 'completed' missing." + } else { + $Completed = $JsonParameters.PSobject.Properties["completed"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "decisionsMade"))) { + throw "Error! JSON cannot be serialized due to the required property 'decisionsMade' missing." + } else { + $DecisionsMade = $JsonParameters.PSobject.Properties["decisionsMade"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "decisionsTotal"))) { + throw "Error! JSON cannot be serialized due to the required property 'decisionsTotal' missing." + } else { + $DecisionsTotal = $JsonParameters.PSobject.Properties["decisionsTotal"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "entitiesCompleted"))) { + throw "Error! JSON cannot be serialized due to the required property 'entitiesCompleted' missing." + } else { + $EntitiesCompleted = $JsonParameters.PSobject.Properties["entitiesCompleted"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "entitiesTotal"))) { + throw "Error! JSON cannot be serialized due to the required property 'entitiesTotal' missing." + } else { + $EntitiesTotal = $JsonParameters.PSobject.Properties["entitiesTotal"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "reassignment"))) { #optional property not found + $Reassignment = $null + } else { + $Reassignment = $JsonParameters.PSobject.Properties["reassignment"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "errorMessage"))) { #optional property not found + $ErrorMessage = $null + } else { + $ErrorMessage = $JsonParameters.PSobject.Properties["errorMessage"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "created" = ${Created} + "modified" = ${Modified} + "campaignRef" = ${CampaignRef} + "phase" = ${Phase} + "due" = ${Due} + "signed" = ${Signed} + "reviewer" = ${Reviewer} + "reassignment" = ${Reassignment} + "hasErrors" = ${HasErrors} + "errorMessage" = ${ErrorMessage} + "completed" = ${Completed} + "decisionsMade" = ${DecisionsMade} + "decisionsTotal" = ${DecisionsTotal} + "entitiesCompleted" = ${EntitiesCompleted} + "entitiesTotal" = ${EntitiesTotal} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CertificationTask.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CertificationTask.ps1 new file mode 100644 index 000000000..9439f0add --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CertificationTask.ps1 @@ -0,0 +1,190 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +The ID of the certification task. +.PARAMETER Type +The type of the certification task. More values may be added in the future. +.PARAMETER TargetType +The type of item that is being operated on by this task whose ID is stored in the targetId field. +.PARAMETER TargetId +The ID of the item being operated on by this task. +.PARAMETER Status +The status of the task. +.PARAMETER Errors +No description available. +.PARAMETER ReassignmentTrailDTOs +Reassignment trails that lead to self certification identity +.PARAMETER Created +The date and time on which this task was created. +.OUTPUTS + +CertificationTask +#> + +function Initialize-V2024CertificationTask { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("REASSIGN", "ADMIN_REASSIGN", "COMPLETE_CERTIFICATION", "FINISH_CERTIFICATION", "COMPLETE_CAMPAIGN", "ACTIVATE_CAMPAIGN", "CAMPAIGN_CREATE", "CAMPAIGN_DELETE")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("CERTIFICATION", "CAMPAIGN")] + [String] + ${TargetType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${TargetId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("QUEUED", "IN_PROGRESS", "SUCCESS", "ERROR")] + [String] + ${Status}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Errors}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${ReassignmentTrailDTOs}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Created} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CertificationTask' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + "targetType" = ${TargetType} + "targetId" = ${TargetId} + "status" = ${Status} + "errors" = ${Errors} + "reassignmentTrailDTOs" = ${ReassignmentTrailDTOs} + "created" = ${Created} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CertificationTask + +.DESCRIPTION + +Convert from JSON to CertificationTask + +.PARAMETER Json + +Json object + +.OUTPUTS + +CertificationTask +#> +function ConvertFrom-V2024JsonToCertificationTask { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CertificationTask' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CertificationTask + $AllProperties = ("id", "type", "targetType", "targetId", "status", "errors", "reassignmentTrailDTOs", "created") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "targetType"))) { #optional property not found + $TargetType = $null + } else { + $TargetType = $JsonParameters.PSobject.Properties["targetType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "targetId"))) { #optional property not found + $TargetId = $null + } else { + $TargetId = $JsonParameters.PSobject.Properties["targetId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { #optional property not found + $Status = $null + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "errors"))) { #optional property not found + $Errors = $null + } else { + $Errors = $JsonParameters.PSobject.Properties["errors"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "reassignmentTrailDTOs"))) { #optional property not found + $ReassignmentTrailDTOs = $null + } else { + $ReassignmentTrailDTOs = $JsonParameters.PSobject.Properties["reassignmentTrailDTOs"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + "targetType" = ${TargetType} + "targetId" = ${TargetId} + "status" = ${Status} + "errors" = ${Errors} + "reassignmentTrailDTOs" = ${ReassignmentTrailDTOs} + "created" = ${Created} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CertifierResponse.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CertifierResponse.ps1 new file mode 100644 index 000000000..da7fcb48b --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CertifierResponse.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +the id of the certifier +.PARAMETER DisplayName +the name of the certifier +.OUTPUTS + +CertifierResponse +#> + +function Initialize-V2024CertifierResponse { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${DisplayName} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CertifierResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "displayName" = ${DisplayName} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CertifierResponse + +.DESCRIPTION + +Convert from JSON to CertifierResponse + +.PARAMETER Json + +Json object + +.OUTPUTS + +CertifierResponse +#> +function ConvertFrom-V2024JsonToCertifierResponse { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CertifierResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CertifierResponse + $AllProperties = ("id", "displayName") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "displayName"))) { #optional property not found + $DisplayName = $null + } else { + $DisplayName = $JsonParameters.PSobject.Properties["displayName"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "displayName" = ${DisplayName} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ClientLogConfiguration.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ClientLogConfiguration.ps1 new file mode 100644 index 000000000..ae527babe --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ClientLogConfiguration.ps1 @@ -0,0 +1,169 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Client Runtime Logging Configuration + +.PARAMETER ClientId +Log configuration's client ID +.PARAMETER DurationMinutes +Duration in minutes for log configuration to remain in effect before resetting to defaults +.PARAMETER Expiration +Expiration date-time of the log configuration request +.PARAMETER RootLevel +No description available. +.PARAMETER LogLevels +Mapping of identifiers to Standard Log Level values +.OUTPUTS + +ClientLogConfiguration +#> + +function Initialize-V2024ClientLogConfiguration { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ClientId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Int32] + ${DurationMinutes}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Expiration}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("false", "FATAL", "ERROR", "WARN", "INFO", "DEBUG", "TRACE")] + [PSCustomObject] + ${RootLevel}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${LogLevels} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ClientLogConfiguration' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$DurationMinutes) { + throw "invalid value for 'DurationMinutes', 'DurationMinutes' cannot be null." + } + + if ($DurationMinutes -gt 1440) { + throw "invalid value for 'DurationMinutes', must be smaller than or equal to 1440." + } + + if ($DurationMinutes -lt 5) { + throw "invalid value for 'DurationMinutes', must be greater than or equal to 5." + } + + if (!$RootLevel) { + throw "invalid value for 'RootLevel', 'RootLevel' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "clientId" = ${ClientId} + "durationMinutes" = ${DurationMinutes} + "expiration" = ${Expiration} + "rootLevel" = ${RootLevel} + "logLevels" = ${LogLevels} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ClientLogConfiguration + +.DESCRIPTION + +Convert from JSON to ClientLogConfiguration + +.PARAMETER Json + +Json object + +.OUTPUTS + +ClientLogConfiguration +#> +function ConvertFrom-V2024JsonToClientLogConfiguration { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ClientLogConfiguration' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ClientLogConfiguration + $AllProperties = ("clientId", "durationMinutes", "expiration", "rootLevel", "logLevels") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'durationMinutes' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "durationMinutes"))) { + throw "Error! JSON cannot be serialized due to the required property 'durationMinutes' missing." + } else { + $DurationMinutes = $JsonParameters.PSobject.Properties["durationMinutes"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "rootLevel"))) { + throw "Error! JSON cannot be serialized due to the required property 'rootLevel' missing." + } else { + $RootLevel = $JsonParameters.PSobject.Properties["rootLevel"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "clientId"))) { #optional property not found + $ClientId = $null + } else { + $ClientId = $JsonParameters.PSobject.Properties["clientId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "expiration"))) { #optional property not found + $Expiration = $null + } else { + $Expiration = $JsonParameters.PSobject.Properties["expiration"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "logLevels"))) { #optional property not found + $LogLevels = $null + } else { + $LogLevels = $JsonParameters.PSobject.Properties["logLevels"].value + } + + $PSO = [PSCustomObject]@{ + "clientId" = ${ClientId} + "durationMinutes" = ${DurationMinutes} + "expiration" = ${Expiration} + "rootLevel" = ${RootLevel} + "logLevels" = ${LogLevels} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ClientType.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ClientType.ps1 new file mode 100644 index 000000000..04cf1fa65 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ClientType.ps1 @@ -0,0 +1,24 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum ClientType. + +.DESCRIPTION + +Type of an API Client indicating public or confidentials use +#> + +enum ClientType { + # enum value: "CONFIDENTIAL" + CONFIDENTIAL + # enum value: "PUBLIC" + PUBLIC +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CloseAccessRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CloseAccessRequest.ps1 new file mode 100644 index 000000000..71aa1b4db --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CloseAccessRequest.ps1 @@ -0,0 +1,145 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Request body payload for close access requests endpoint. + +.PARAMETER AccessRequestIds +Access Request IDs for the requests to be closed. Accepts 1-500 Identity Request IDs per request. +.PARAMETER Message +Reason for closing the access request. Displayed under Warnings in IdentityNow. +.PARAMETER ExecutionStatus +The request's provisioning status. Displayed as Stage in IdentityNow. +.PARAMETER CompletionStatus +The request's overall status. Displayed as Status in IdentityNow. +.OUTPUTS + +CloseAccessRequest +#> + +function Initialize-V2024CloseAccessRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${AccessRequestIds}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Message} = "The IdentityNow Administrator manually closed this request.", + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("Terminated", "Completed")] + [String] + ${ExecutionStatus} = "Terminated", + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("Success", "Incomplete", "Failure")] + [String] + ${CompletionStatus} = "Failure" + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CloseAccessRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$AccessRequestIds) { + throw "invalid value for 'AccessRequestIds', 'AccessRequestIds' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "accessRequestIds" = ${AccessRequestIds} + "message" = ${Message} + "executionStatus" = ${ExecutionStatus} + "completionStatus" = ${CompletionStatus} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CloseAccessRequest + +.DESCRIPTION + +Convert from JSON to CloseAccessRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +CloseAccessRequest +#> +function ConvertFrom-V2024JsonToCloseAccessRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CloseAccessRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CloseAccessRequest + $AllProperties = ("accessRequestIds", "message", "executionStatus", "completionStatus") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'accessRequestIds' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accessRequestIds"))) { + throw "Error! JSON cannot be serialized due to the required property 'accessRequestIds' missing." + } else { + $AccessRequestIds = $JsonParameters.PSobject.Properties["accessRequestIds"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "message"))) { #optional property not found + $Message = $null + } else { + $Message = $JsonParameters.PSobject.Properties["message"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "executionStatus"))) { #optional property not found + $ExecutionStatus = $null + } else { + $ExecutionStatus = $JsonParameters.PSobject.Properties["executionStatus"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "completionStatus"))) { #optional property not found + $CompletionStatus = $null + } else { + $CompletionStatus = $JsonParameters.PSobject.Properties["completionStatus"].value + } + + $PSO = [PSCustomObject]@{ + "accessRequestIds" = ${AccessRequestIds} + "message" = ${Message} + "executionStatus" = ${ExecutionStatus} + "completionStatus" = ${CompletionStatus} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Column.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Column.ps1 new file mode 100644 index 000000000..cd51eca9b --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Column.ps1 @@ -0,0 +1,117 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Field +The name of the field. +.PARAMETER Header +The value of the header. +.OUTPUTS + +Column +#> + +function Initialize-V2024Column { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Field}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Header} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Column' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Field) { + throw "invalid value for 'Field', 'Field' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "field" = ${Field} + "header" = ${Header} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Column + +.DESCRIPTION + +Convert from JSON to Column + +.PARAMETER Json + +Json object + +.OUTPUTS + +Column +#> +function ConvertFrom-V2024JsonToColumn { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Column' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Column + $AllProperties = ("field", "header") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'field' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "field"))) { + throw "Error! JSON cannot be serialized due to the required property 'field' missing." + } else { + $Field = $JsonParameters.PSobject.Properties["field"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "header"))) { #optional property not found + $Header = $null + } else { + $Header = $JsonParameters.PSobject.Properties["header"].value + } + + $PSO = [PSCustomObject]@{ + "field" = ${Field} + "header" = ${Header} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Comment.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Comment.ps1 new file mode 100644 index 000000000..c65c72124 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Comment.ps1 @@ -0,0 +1,135 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER CommenterId +Id of the identity making the comment +.PARAMETER CommenterName +Human-readable display name of the identity making the comment +.PARAMETER Body +Content of the comment +.PARAMETER Date +Date and time comment was made +.OUTPUTS + +Comment +#> + +function Initialize-V2024Comment { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${CommenterId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${CommenterName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Body}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Date} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Comment' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "commenterId" = ${CommenterId} + "commenterName" = ${CommenterName} + "body" = ${Body} + "date" = ${Date} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Comment + +.DESCRIPTION + +Convert from JSON to Comment + +.PARAMETER Json + +Json object + +.OUTPUTS + +Comment +#> +function ConvertFrom-V2024JsonToComment { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Comment' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Comment + $AllProperties = ("commenterId", "commenterName", "body", "date") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "commenterId"))) { #optional property not found + $CommenterId = $null + } else { + $CommenterId = $JsonParameters.PSobject.Properties["commenterId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "commenterName"))) { #optional property not found + $CommenterName = $null + } else { + $CommenterName = $JsonParameters.PSobject.Properties["commenterName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "body"))) { #optional property not found + $Body = $null + } else { + $Body = $JsonParameters.PSobject.Properties["body"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "date"))) { #optional property not found + $Date = $null + } else { + $Date = $JsonParameters.PSobject.Properties["date"].value + } + + $PSO = [PSCustomObject]@{ + "commenterId" = ${CommenterId} + "commenterName" = ${CommenterName} + "body" = ${Body} + "date" = ${Date} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CommentDto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CommentDto.ps1 new file mode 100644 index 000000000..da73dfd68 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CommentDto.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Comment +Comment content. +.PARAMETER Created +Date and time comment was created. +.PARAMETER Author +No description available. +.OUTPUTS + +CommentDto +#> + +function Initialize-V2024CommentDto { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Comment}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Author} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CommentDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "comment" = ${Comment} + "created" = ${Created} + "author" = ${Author} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CommentDto + +.DESCRIPTION + +Convert from JSON to CommentDto + +.PARAMETER Json + +Json object + +.OUTPUTS + +CommentDto +#> +function ConvertFrom-V2024JsonToCommentDto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CommentDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CommentDto + $AllProperties = ("comment", "created", "author") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "comment"))) { #optional property not found + $Comment = $null + } else { + $Comment = $JsonParameters.PSobject.Properties["comment"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "author"))) { #optional property not found + $Author = $null + } else { + $Author = $JsonParameters.PSobject.Properties["author"].value + } + + $PSO = [PSCustomObject]@{ + "comment" = ${Comment} + "created" = ${Created} + "author" = ${Author} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CommentDtoAuthor.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CommentDtoAuthor.ps1 new file mode 100644 index 000000000..de252208a --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CommentDtoAuthor.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Author of the comment + +.PARAMETER Type +The type of object +.PARAMETER Id +The unique ID of the object +.PARAMETER Name +The display name of the object +.OUTPUTS + +CommentDtoAuthor +#> + +function Initialize-V2024CommentDtoAuthor { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CommentDtoAuthor' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CommentDtoAuthor + +.DESCRIPTION + +Convert from JSON to CommentDtoAuthor + +.PARAMETER Json + +Json object + +.OUTPUTS + +CommentDtoAuthor +#> +function ConvertFrom-V2024JsonToCommentDtoAuthor { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CommentDtoAuthor' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CommentDtoAuthor + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CommonAccessIDStatus.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CommonAccessIDStatus.ps1 new file mode 100644 index 000000000..096618b89 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CommonAccessIDStatus.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER ConfirmedIds +List of confirmed common access ids. +.PARAMETER DeniedIds +List of denied common access ids. +.OUTPUTS + +CommonAccessIDStatus +#> + +function Initialize-V2024CommonAccessIDStatus { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${ConfirmedIds}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${DeniedIds} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CommonAccessIDStatus' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "confirmedIds" = ${ConfirmedIds} + "deniedIds" = ${DeniedIds} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CommonAccessIDStatus + +.DESCRIPTION + +Convert from JSON to CommonAccessIDStatus + +.PARAMETER Json + +Json object + +.OUTPUTS + +CommonAccessIDStatus +#> +function ConvertFrom-V2024JsonToCommonAccessIDStatus { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CommonAccessIDStatus' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CommonAccessIDStatus + $AllProperties = ("confirmedIds", "deniedIds") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "confirmedIds"))) { #optional property not found + $ConfirmedIds = $null + } else { + $ConfirmedIds = $JsonParameters.PSobject.Properties["confirmedIds"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "deniedIds"))) { #optional property not found + $DeniedIds = $null + } else { + $DeniedIds = $JsonParameters.PSobject.Properties["deniedIds"].value + } + + $PSO = [PSCustomObject]@{ + "confirmedIds" = ${ConfirmedIds} + "deniedIds" = ${DeniedIds} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CommonAccessItemAccess.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CommonAccessItemAccess.ps1 new file mode 100644 index 000000000..561c95f7a --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CommonAccessItemAccess.ps1 @@ -0,0 +1,162 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +Common access ID +.PARAMETER Type +No description available. +.PARAMETER Name +Common access name +.PARAMETER Description +Common access description +.PARAMETER OwnerName +Common access owner name +.PARAMETER OwnerId +Common access owner ID +.OUTPUTS + +CommonAccessItemAccess +#> + +function Initialize-V2024CommonAccessItemAccess { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ACCESS_PROFILE", "ROLE")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${OwnerName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${OwnerId} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CommonAccessItemAccess' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + "name" = ${Name} + "description" = ${Description} + "ownerName" = ${OwnerName} + "ownerId" = ${OwnerId} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CommonAccessItemAccess + +.DESCRIPTION + +Convert from JSON to CommonAccessItemAccess + +.PARAMETER Json + +Json object + +.OUTPUTS + +CommonAccessItemAccess +#> +function ConvertFrom-V2024JsonToCommonAccessItemAccess { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CommonAccessItemAccess' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CommonAccessItemAccess + $AllProperties = ("id", "type", "name", "description", "ownerName", "ownerId") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "ownerName"))) { #optional property not found + $OwnerName = $null + } else { + $OwnerName = $JsonParameters.PSobject.Properties["ownerName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "ownerId"))) { #optional property not found + $OwnerId = $null + } else { + $OwnerId = $JsonParameters.PSobject.Properties["ownerId"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + "name" = ${Name} + "description" = ${Description} + "ownerName" = ${OwnerName} + "ownerId" = ${OwnerId} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CommonAccessItemRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CommonAccessItemRequest.ps1 new file mode 100644 index 000000000..fdc47df0a --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CommonAccessItemRequest.ps1 @@ -0,0 +1,110 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Access +No description available. +.PARAMETER Status +No description available. +.OUTPUTS + +CommonAccessItemRequest +#> + +function Initialize-V2024CommonAccessItemRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Access}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("CONFIRMED", "DENIED")] + [PSCustomObject] + ${Status} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CommonAccessItemRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "access" = ${Access} + "status" = ${Status} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CommonAccessItemRequest + +.DESCRIPTION + +Convert from JSON to CommonAccessItemRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +CommonAccessItemRequest +#> +function ConvertFrom-V2024JsonToCommonAccessItemRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CommonAccessItemRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CommonAccessItemRequest + $AllProperties = ("access", "status") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "access"))) { #optional property not found + $Access = $null + } else { + $Access = $JsonParameters.PSobject.Properties["access"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { #optional property not found + $Status = $null + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + $PSO = [PSCustomObject]@{ + "access" = ${Access} + "status" = ${Status} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CommonAccessItemResponse.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CommonAccessItemResponse.ps1 new file mode 100644 index 000000000..9b842906a --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CommonAccessItemResponse.ps1 @@ -0,0 +1,175 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +Common Access Item ID +.PARAMETER Access +No description available. +.PARAMETER Status +No description available. +.PARAMETER LastUpdated +No description available. +.PARAMETER ReviewedByUser +No description available. +.PARAMETER LastReviewed +No description available. +.PARAMETER CreatedByUser +No description available. +.OUTPUTS + +CommonAccessItemResponse +#> + +function Initialize-V2024CommonAccessItemResponse { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Access}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("CONFIRMED", "DENIED")] + [PSCustomObject] + ${Status}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${LastUpdated}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${ReviewedByUser}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${LastReviewed}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${CreatedByUser} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CommonAccessItemResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "access" = ${Access} + "status" = ${Status} + "lastUpdated" = ${LastUpdated} + "reviewedByUser" = ${ReviewedByUser} + "lastReviewed" = ${LastReviewed} + "createdByUser" = ${CreatedByUser} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CommonAccessItemResponse + +.DESCRIPTION + +Convert from JSON to CommonAccessItemResponse + +.PARAMETER Json + +Json object + +.OUTPUTS + +CommonAccessItemResponse +#> +function ConvertFrom-V2024JsonToCommonAccessItemResponse { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CommonAccessItemResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CommonAccessItemResponse + $AllProperties = ("id", "access", "status", "lastUpdated", "reviewedByUser", "lastReviewed", "createdByUser") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "access"))) { #optional property not found + $Access = $null + } else { + $Access = $JsonParameters.PSobject.Properties["access"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { #optional property not found + $Status = $null + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "lastUpdated"))) { #optional property not found + $LastUpdated = $null + } else { + $LastUpdated = $JsonParameters.PSobject.Properties["lastUpdated"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "reviewedByUser"))) { #optional property not found + $ReviewedByUser = $null + } else { + $ReviewedByUser = $JsonParameters.PSobject.Properties["reviewedByUser"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "lastReviewed"))) { #optional property not found + $LastReviewed = $null + } else { + $LastReviewed = $JsonParameters.PSobject.Properties["lastReviewed"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "createdByUser"))) { #optional property not found + $CreatedByUser = $null + } else { + $CreatedByUser = $JsonParameters.PSobject.Properties["createdByUser"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "access" = ${Access} + "status" = ${Status} + "lastUpdated" = ${LastUpdated} + "reviewedByUser" = ${ReviewedByUser} + "lastReviewed" = ${LastReviewed} + "createdByUser" = ${CreatedByUser} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CommonAccessItemState.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CommonAccessItemState.ps1 new file mode 100644 index 000000000..b8688c0d7 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CommonAccessItemState.ps1 @@ -0,0 +1,24 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum CommonAccessItemState. + +.DESCRIPTION + +State of common access item. +#> + +enum CommonAccessItemState { + # enum value: "CONFIRMED" + CONFIRMED + # enum value: "DENIED" + DENIED +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CommonAccessResponse.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CommonAccessResponse.ps1 new file mode 100644 index 000000000..47118ea80 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CommonAccessResponse.ps1 @@ -0,0 +1,175 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +Unique ID of the common access item +.PARAMETER Access +No description available. +.PARAMETER Status +CONFIRMED or DENIED +.PARAMETER CommonAccessType +No description available. +.PARAMETER ReviewedByUser +true if user has confirmed or denied status +.PARAMETER CreatedByUser +No description available. +.OUTPUTS + +CommonAccessResponse +#> + +function Initialize-V2024CommonAccessResponse { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Access}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Status}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${CommonAccessType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${ReviewedByUser}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${CreatedByUser} = $false + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CommonAccessResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "access" = ${Access} + "status" = ${Status} + "commonAccessType" = ${CommonAccessType} + "reviewedByUser" = ${ReviewedByUser} + "createdByUser" = ${CreatedByUser} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CommonAccessResponse + +.DESCRIPTION + +Convert from JSON to CommonAccessResponse + +.PARAMETER Json + +Json object + +.OUTPUTS + +CommonAccessResponse +#> +function ConvertFrom-V2024JsonToCommonAccessResponse { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CommonAccessResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CommonAccessResponse + $AllProperties = ("id", "access", "status", "commonAccessType", "lastUpdated", "reviewedByUser", "lastReviewed", "createdByUser") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "access"))) { #optional property not found + $Access = $null + } else { + $Access = $JsonParameters.PSobject.Properties["access"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { #optional property not found + $Status = $null + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "commonAccessType"))) { #optional property not found + $CommonAccessType = $null + } else { + $CommonAccessType = $JsonParameters.PSobject.Properties["commonAccessType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "lastUpdated"))) { #optional property not found + $LastUpdated = $null + } else { + $LastUpdated = $JsonParameters.PSobject.Properties["lastUpdated"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "reviewedByUser"))) { #optional property not found + $ReviewedByUser = $null + } else { + $ReviewedByUser = $JsonParameters.PSobject.Properties["reviewedByUser"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "lastReviewed"))) { #optional property not found + $LastReviewed = $null + } else { + $LastReviewed = $JsonParameters.PSobject.Properties["lastReviewed"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "createdByUser"))) { #optional property not found + $CreatedByUser = $null + } else { + $CreatedByUser = $JsonParameters.PSobject.Properties["createdByUser"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "access" = ${Access} + "status" = ${Status} + "commonAccessType" = ${CommonAccessType} + "lastUpdated" = ${LastUpdated} + "reviewedByUser" = ${ReviewedByUser} + "lastReviewed" = ${LastReviewed} + "createdByUser" = ${CreatedByUser} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CommonAccessType.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CommonAccessType.ps1 new file mode 100644 index 000000000..4f36d0243 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CommonAccessType.ps1 @@ -0,0 +1,24 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum CommonAccessType. + +.DESCRIPTION + +The type of access item. +#> + +enum CommonAccessType { + # enum value: "ACCESS_PROFILE" + ACCESS_PROFILE + # enum value: "ROLE" + ROLE +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CompleteInvocation.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CompleteInvocation.ps1 new file mode 100644 index 000000000..23fb05e62 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CompleteInvocation.ps1 @@ -0,0 +1,134 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Secret +Unique invocation secret that was generated when the invocation was created. Required to authenticate to the endpoint. +.PARAMETER VarError +The error message to indicate a failed invocation or error if any. +.PARAMETER Output +Trigger output to complete the invocation. Its schema is defined in the trigger definition. +.OUTPUTS + +CompleteInvocation +#> + +function Initialize-V2024CompleteInvocation { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Secret}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${VarError}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Output} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CompleteInvocation' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Secret) { + throw "invalid value for 'Secret', 'Secret' cannot be null." + } + + if (!$Output) { + throw "invalid value for 'Output', 'Output' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "secret" = ${Secret} + "error" = ${VarError} + "output" = ${Output} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CompleteInvocation + +.DESCRIPTION + +Convert from JSON to CompleteInvocation + +.PARAMETER Json + +Json object + +.OUTPUTS + +CompleteInvocation +#> +function ConvertFrom-V2024JsonToCompleteInvocation { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CompleteInvocation' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CompleteInvocation + $AllProperties = ("secret", "error", "output") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'secret' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "secret"))) { + throw "Error! JSON cannot be serialized due to the required property 'secret' missing." + } else { + $Secret = $JsonParameters.PSobject.Properties["secret"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "output"))) { + throw "Error! JSON cannot be serialized due to the required property 'output' missing." + } else { + $Output = $JsonParameters.PSobject.Properties["output"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "error"))) { #optional property not found + $VarError = $null + } else { + $VarError = $JsonParameters.PSobject.Properties["error"].value + } + + $PSO = [PSCustomObject]@{ + "secret" = ${Secret} + "error" = ${VarError} + "output" = ${Output} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CompleteInvocationInput.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CompleteInvocationInput.ps1 new file mode 100644 index 000000000..426139d03 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CompleteInvocationInput.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER LocalizedError +No description available. +.PARAMETER Output +Trigger output that completed the invocation. Its schema is defined in the trigger definition. +.OUTPUTS + +CompleteInvocationInput +#> + +function Initialize-V2024CompleteInvocationInput { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${LocalizedError}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Output} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CompleteInvocationInput' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "localizedError" = ${LocalizedError} + "output" = ${Output} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CompleteInvocationInput + +.DESCRIPTION + +Convert from JSON to CompleteInvocationInput + +.PARAMETER Json + +Json object + +.OUTPUTS + +CompleteInvocationInput +#> +function ConvertFrom-V2024JsonToCompleteInvocationInput { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CompleteInvocationInput' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CompleteInvocationInput + $AllProperties = ("localizedError", "output") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "localizedError"))) { #optional property not found + $LocalizedError = $null + } else { + $LocalizedError = $JsonParameters.PSobject.Properties["localizedError"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "output"))) { #optional property not found + $Output = $null + } else { + $Output = $JsonParameters.PSobject.Properties["output"].value + } + + $PSO = [PSCustomObject]@{ + "localizedError" = ${LocalizedError} + "output" = ${Output} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CompletedApproval.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CompletedApproval.ps1 new file mode 100644 index 000000000..acb9e359c --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CompletedApproval.ps1 @@ -0,0 +1,384 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +The approval id. +.PARAMETER Name +The name of the approval. +.PARAMETER Created +When the approval was created. +.PARAMETER Modified +When the approval was modified last time. +.PARAMETER RequestCreated +When the access-request was created. +.PARAMETER RequestType +No description available. +.PARAMETER Requester +No description available. +.PARAMETER RequestedFor +No description available. +.PARAMETER ReviewedBy +No description available. +.PARAMETER Owner +No description available. +.PARAMETER RequestedObject +No description available. +.PARAMETER RequesterComment +No description available. +.PARAMETER ReviewerComment +No description available. +.PARAMETER PreviousReviewersComments +The history of the previous reviewers comments. +.PARAMETER ForwardHistory +The history of approval forward action. +.PARAMETER CommentRequiredWhenRejected +When true the rejector has to provide comments when rejecting +.PARAMETER State +No description available. +.PARAMETER RemoveDate +The date the role or access profile or entitlement is no longer assigned to the specified identity. +.PARAMETER RemoveDateUpdateRequested +If true, then the request was to change the remove date or sunset date. +.PARAMETER CurrentRemoveDate +The remove date or sunset date that was assigned at the time of the request. +.PARAMETER SodViolationContext +No description available. +.PARAMETER PreApprovalTriggerResult +No description available. +.PARAMETER ClientMetadata +Arbitrary key-value pairs provided during the request. +.OUTPUTS + +CompletedApproval +#> + +function Initialize-V2024CompletedApproval { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Modified}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${RequestCreated}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("GRANT_ACCESS", "REVOKE_ACCESS", "")] + [PSCustomObject] + ${RequestType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Requester}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${RequestedFor}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${ReviewedBy}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Owner}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${RequestedObject}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${RequesterComment}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${ReviewerComment}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${PreviousReviewersComments}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${ForwardHistory}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${CommentRequiredWhenRejected} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("APPROVED", "REJECTED")] + [PSCustomObject] + ${State}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${RemoveDate}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${RemoveDateUpdateRequested} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${CurrentRemoveDate}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${SodViolationContext}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${PreApprovalTriggerResult}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${ClientMetadata} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CompletedApproval' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "created" = ${Created} + "modified" = ${Modified} + "requestCreated" = ${RequestCreated} + "requestType" = ${RequestType} + "requester" = ${Requester} + "requestedFor" = ${RequestedFor} + "reviewedBy" = ${ReviewedBy} + "owner" = ${Owner} + "requestedObject" = ${RequestedObject} + "requesterComment" = ${RequesterComment} + "reviewerComment" = ${ReviewerComment} + "previousReviewersComments" = ${PreviousReviewersComments} + "forwardHistory" = ${ForwardHistory} + "commentRequiredWhenRejected" = ${CommentRequiredWhenRejected} + "state" = ${State} + "removeDate" = ${RemoveDate} + "removeDateUpdateRequested" = ${RemoveDateUpdateRequested} + "currentRemoveDate" = ${CurrentRemoveDate} + "sodViolationContext" = ${SodViolationContext} + "preApprovalTriggerResult" = ${PreApprovalTriggerResult} + "clientMetadata" = ${ClientMetadata} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CompletedApproval + +.DESCRIPTION + +Convert from JSON to CompletedApproval + +.PARAMETER Json + +Json object + +.OUTPUTS + +CompletedApproval +#> +function ConvertFrom-V2024JsonToCompletedApproval { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CompletedApproval' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CompletedApproval + $AllProperties = ("id", "name", "created", "modified", "requestCreated", "requestType", "requester", "requestedFor", "reviewedBy", "owner", "requestedObject", "requesterComment", "reviewerComment", "previousReviewersComments", "forwardHistory", "commentRequiredWhenRejected", "state", "removeDate", "removeDateUpdateRequested", "currentRemoveDate", "sodViolationContext", "preApprovalTriggerResult", "clientMetadata") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requestCreated"))) { #optional property not found + $RequestCreated = $null + } else { + $RequestCreated = $JsonParameters.PSobject.Properties["requestCreated"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requestType"))) { #optional property not found + $RequestType = $null + } else { + $RequestType = $JsonParameters.PSobject.Properties["requestType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requester"))) { #optional property not found + $Requester = $null + } else { + $Requester = $JsonParameters.PSobject.Properties["requester"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requestedFor"))) { #optional property not found + $RequestedFor = $null + } else { + $RequestedFor = $JsonParameters.PSobject.Properties["requestedFor"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "reviewedBy"))) { #optional property not found + $ReviewedBy = $null + } else { + $ReviewedBy = $JsonParameters.PSobject.Properties["reviewedBy"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "owner"))) { #optional property not found + $Owner = $null + } else { + $Owner = $JsonParameters.PSobject.Properties["owner"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requestedObject"))) { #optional property not found + $RequestedObject = $null + } else { + $RequestedObject = $JsonParameters.PSobject.Properties["requestedObject"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requesterComment"))) { #optional property not found + $RequesterComment = $null + } else { + $RequesterComment = $JsonParameters.PSobject.Properties["requesterComment"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "reviewerComment"))) { #optional property not found + $ReviewerComment = $null + } else { + $ReviewerComment = $JsonParameters.PSobject.Properties["reviewerComment"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "previousReviewersComments"))) { #optional property not found + $PreviousReviewersComments = $null + } else { + $PreviousReviewersComments = $JsonParameters.PSobject.Properties["previousReviewersComments"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "forwardHistory"))) { #optional property not found + $ForwardHistory = $null + } else { + $ForwardHistory = $JsonParameters.PSobject.Properties["forwardHistory"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "commentRequiredWhenRejected"))) { #optional property not found + $CommentRequiredWhenRejected = $null + } else { + $CommentRequiredWhenRejected = $JsonParameters.PSobject.Properties["commentRequiredWhenRejected"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "state"))) { #optional property not found + $State = $null + } else { + $State = $JsonParameters.PSobject.Properties["state"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "removeDate"))) { #optional property not found + $RemoveDate = $null + } else { + $RemoveDate = $JsonParameters.PSobject.Properties["removeDate"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "removeDateUpdateRequested"))) { #optional property not found + $RemoveDateUpdateRequested = $null + } else { + $RemoveDateUpdateRequested = $JsonParameters.PSobject.Properties["removeDateUpdateRequested"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "currentRemoveDate"))) { #optional property not found + $CurrentRemoveDate = $null + } else { + $CurrentRemoveDate = $JsonParameters.PSobject.Properties["currentRemoveDate"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sodViolationContext"))) { #optional property not found + $SodViolationContext = $null + } else { + $SodViolationContext = $JsonParameters.PSobject.Properties["sodViolationContext"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "preApprovalTriggerResult"))) { #optional property not found + $PreApprovalTriggerResult = $null + } else { + $PreApprovalTriggerResult = $JsonParameters.PSobject.Properties["preApprovalTriggerResult"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "clientMetadata"))) { #optional property not found + $ClientMetadata = $null + } else { + $ClientMetadata = $JsonParameters.PSobject.Properties["clientMetadata"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "created" = ${Created} + "modified" = ${Modified} + "requestCreated" = ${RequestCreated} + "requestType" = ${RequestType} + "requester" = ${Requester} + "requestedFor" = ${RequestedFor} + "reviewedBy" = ${ReviewedBy} + "owner" = ${Owner} + "requestedObject" = ${RequestedObject} + "requesterComment" = ${RequesterComment} + "reviewerComment" = ${ReviewerComment} + "previousReviewersComments" = ${PreviousReviewersComments} + "forwardHistory" = ${ForwardHistory} + "commentRequiredWhenRejected" = ${CommentRequiredWhenRejected} + "state" = ${State} + "removeDate" = ${RemoveDate} + "removeDateUpdateRequested" = ${RemoveDateUpdateRequested} + "currentRemoveDate" = ${CurrentRemoveDate} + "sodViolationContext" = ${SodViolationContext} + "preApprovalTriggerResult" = ${PreApprovalTriggerResult} + "clientMetadata" = ${ClientMetadata} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CompletedApprovalPreApprovalTriggerResult.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CompletedApprovalPreApprovalTriggerResult.ps1 new file mode 100644 index 000000000..a6bfe3edc --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CompletedApprovalPreApprovalTriggerResult.ps1 @@ -0,0 +1,136 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +If the access request submitted event trigger is configured and this access request was intercepted by it, then this is the result of the trigger's decision to either approve or deny the request. + +.PARAMETER Comment +The comment from the trigger +.PARAMETER Decision +No description available. +.PARAMETER Reviewer +The name of the approver +.PARAMETER Date +The date and time the trigger decided on the request +.OUTPUTS + +CompletedApprovalPreApprovalTriggerResult +#> + +function Initialize-V2024CompletedApprovalPreApprovalTriggerResult { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Comment}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("APPROVED", "REJECTED")] + [PSCustomObject] + ${Decision}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Reviewer}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Date} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CompletedApprovalPreApprovalTriggerResult' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "comment" = ${Comment} + "decision" = ${Decision} + "reviewer" = ${Reviewer} + "date" = ${Date} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CompletedApprovalPreApprovalTriggerResult + +.DESCRIPTION + +Convert from JSON to CompletedApprovalPreApprovalTriggerResult + +.PARAMETER Json + +Json object + +.OUTPUTS + +CompletedApprovalPreApprovalTriggerResult +#> +function ConvertFrom-V2024JsonToCompletedApprovalPreApprovalTriggerResult { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CompletedApprovalPreApprovalTriggerResult' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CompletedApprovalPreApprovalTriggerResult + $AllProperties = ("comment", "decision", "reviewer", "date") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "comment"))) { #optional property not found + $Comment = $null + } else { + $Comment = $JsonParameters.PSobject.Properties["comment"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "decision"))) { #optional property not found + $Decision = $null + } else { + $Decision = $JsonParameters.PSobject.Properties["decision"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "reviewer"))) { #optional property not found + $Reviewer = $null + } else { + $Reviewer = $JsonParameters.PSobject.Properties["reviewer"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "date"))) { #optional property not found + $Date = $null + } else { + $Date = $JsonParameters.PSobject.Properties["date"].value + } + + $PSO = [PSCustomObject]@{ + "comment" = ${Comment} + "decision" = ${Decision} + "reviewer" = ${Reviewer} + "date" = ${Date} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CompletedApprovalRequesterComment.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CompletedApprovalRequesterComment.ps1 new file mode 100644 index 000000000..f46203484 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CompletedApprovalRequesterComment.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Comment +Comment content. +.PARAMETER Created +Date and time comment was created. +.PARAMETER Author +No description available. +.OUTPUTS + +CompletedApprovalRequesterComment +#> + +function Initialize-V2024CompletedApprovalRequesterComment { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Comment}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Author} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CompletedApprovalRequesterComment' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "comment" = ${Comment} + "created" = ${Created} + "author" = ${Author} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CompletedApprovalRequesterComment + +.DESCRIPTION + +Convert from JSON to CompletedApprovalRequesterComment + +.PARAMETER Json + +Json object + +.OUTPUTS + +CompletedApprovalRequesterComment +#> +function ConvertFrom-V2024JsonToCompletedApprovalRequesterComment { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CompletedApprovalRequesterComment' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CompletedApprovalRequesterComment + $AllProperties = ("comment", "created", "author") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "comment"))) { #optional property not found + $Comment = $null + } else { + $Comment = $JsonParameters.PSobject.Properties["comment"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "author"))) { #optional property not found + $Author = $null + } else { + $Author = $JsonParameters.PSobject.Properties["author"].value + } + + $PSO = [PSCustomObject]@{ + "comment" = ${Comment} + "created" = ${Created} + "author" = ${Author} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CompletedApprovalReviewerComment.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CompletedApprovalReviewerComment.ps1 new file mode 100644 index 000000000..d02104bf5 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CompletedApprovalReviewerComment.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Comment +Comment content. +.PARAMETER Created +Date and time comment was created. +.PARAMETER Author +No description available. +.OUTPUTS + +CompletedApprovalReviewerComment +#> + +function Initialize-V2024CompletedApprovalReviewerComment { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Comment}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Author} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CompletedApprovalReviewerComment' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "comment" = ${Comment} + "created" = ${Created} + "author" = ${Author} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CompletedApprovalReviewerComment + +.DESCRIPTION + +Convert from JSON to CompletedApprovalReviewerComment + +.PARAMETER Json + +Json object + +.OUTPUTS + +CompletedApprovalReviewerComment +#> +function ConvertFrom-V2024JsonToCompletedApprovalReviewerComment { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CompletedApprovalReviewerComment' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CompletedApprovalReviewerComment + $AllProperties = ("comment", "created", "author") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "comment"))) { #optional property not found + $Comment = $null + } else { + $Comment = $JsonParameters.PSobject.Properties["comment"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "author"))) { #optional property not found + $Author = $null + } else { + $Author = $JsonParameters.PSobject.Properties["author"].value + } + + $PSO = [PSCustomObject]@{ + "comment" = ${Comment} + "created" = ${Created} + "author" = ${Author} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CompletedApprovalState.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CompletedApprovalState.ps1 new file mode 100644 index 000000000..c08563296 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CompletedApprovalState.ps1 @@ -0,0 +1,24 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum CompletedApprovalState. + +.DESCRIPTION + +Enum represents completed approval object's state. +#> + +enum CompletedApprovalState { + # enum value: "APPROVED" + APPROVED + # enum value: "REJECTED" + REJECTED +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CompletionStatus.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CompletionStatus.ps1 new file mode 100644 index 000000000..b05cf4159 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CompletionStatus.ps1 @@ -0,0 +1,30 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum CompletionStatus. + +.DESCRIPTION + +The status after completion. +#> + +enum CompletionStatus { + # enum value: "SUCCESS" + SUCCESS + # enum value: "FAILURE" + FAILURE + # enum value: "INCOMPLETE" + INCOMPLETE + # enum value: "PENDING" + PENDING + # enum value: "null" + null +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Concatenation.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Concatenation.ps1 new file mode 100644 index 000000000..a033ca557 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Concatenation.ps1 @@ -0,0 +1,130 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Values +An array of items to join together +.PARAMETER RequiresPeriodicRefresh +A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process +.PARAMETER VarInput +This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI. +.OUTPUTS + +Concatenation +#> + +function Initialize-V2024Concatenation { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Values}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${RequiresPeriodicRefresh} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${VarInput} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Concatenation' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Values) { + throw "invalid value for 'Values', 'Values' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "values" = ${Values} + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + "input" = ${VarInput} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Concatenation + +.DESCRIPTION + +Convert from JSON to Concatenation + +.PARAMETER Json + +Json object + +.OUTPUTS + +Concatenation +#> +function ConvertFrom-V2024JsonToConcatenation { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Concatenation' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Concatenation + $AllProperties = ("values", "requiresPeriodicRefresh", "input") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'values' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "values"))) { + throw "Error! JSON cannot be serialized due to the required property 'values' missing." + } else { + $Values = $JsonParameters.PSobject.Properties["values"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requiresPeriodicRefresh"))) { #optional property not found + $RequiresPeriodicRefresh = $null + } else { + $RequiresPeriodicRefresh = $JsonParameters.PSobject.Properties["requiresPeriodicRefresh"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "input"))) { #optional property not found + $VarInput = $null + } else { + $VarInput = $JsonParameters.PSobject.Properties["input"].value + } + + $PSO = [PSCustomObject]@{ + "values" = ${Values} + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + "input" = ${VarInput} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConditionEffect.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConditionEffect.ps1 new file mode 100644 index 000000000..14cc76de9 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConditionEffect.ps1 @@ -0,0 +1,110 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Effect produced by a condition. + +.PARAMETER EffectType +Type of effect to perform when the conditions are evaluated for this logic block. HIDE ConditionEffectTypeHide Disables validations. SHOW ConditionEffectTypeShow Enables validations. DISABLE ConditionEffectTypeDisable Disables validations. ENABLE ConditionEffectTypeEnable Enables validations. REQUIRE ConditionEffectTypeRequire OPTIONAL ConditionEffectTypeOptional SUBMIT_MESSAGE ConditionEffectTypeSubmitMessage SUBMIT_NOTIFICATION ConditionEffectTypeSubmitNotification SET_DEFAULT_VALUE ConditionEffectTypeSetDefaultValue This value is ignored on purpose. +.PARAMETER Config +No description available. +.OUTPUTS + +ConditionEffect +#> + +function Initialize-V2024ConditionEffect { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("HIDE", "SHOW", "DISABLE", "ENABLE", "REQUIRE", "OPTIONAL", "SUBMIT_MESSAGE", "SUBMIT_NOTIFICATION", "SET_DEFAULT_VALUE")] + [String] + ${EffectType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Config} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ConditionEffect' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "effectType" = ${EffectType} + "config" = ${Config} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ConditionEffect + +.DESCRIPTION + +Convert from JSON to ConditionEffect + +.PARAMETER Json + +Json object + +.OUTPUTS + +ConditionEffect +#> +function ConvertFrom-V2024JsonToConditionEffect { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ConditionEffect' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ConditionEffect + $AllProperties = ("effectType", "config") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "effectType"))) { #optional property not found + $EffectType = $null + } else { + $EffectType = $JsonParameters.PSobject.Properties["effectType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "config"))) { #optional property not found + $Config = $null + } else { + $Config = $JsonParameters.PSobject.Properties["config"].value + } + + $PSO = [PSCustomObject]@{ + "effectType" = ${EffectType} + "config" = ${Config} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConditionEffectConfig.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConditionEffectConfig.ps1 new file mode 100644 index 000000000..de655c960 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConditionEffectConfig.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Arbitrary map containing a configuration based on the EffectType. + +.PARAMETER DefaultValueLabel +Effect type's label. +.PARAMETER Element +Element's identifier. +.OUTPUTS + +ConditionEffectConfig +#> + +function Initialize-V2024ConditionEffectConfig { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${DefaultValueLabel}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Element} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ConditionEffectConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "defaultValueLabel" = ${DefaultValueLabel} + "element" = ${Element} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ConditionEffectConfig + +.DESCRIPTION + +Convert from JSON to ConditionEffectConfig + +.PARAMETER Json + +Json object + +.OUTPUTS + +ConditionEffectConfig +#> +function ConvertFrom-V2024JsonToConditionEffectConfig { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ConditionEffectConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ConditionEffectConfig + $AllProperties = ("defaultValueLabel", "element") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "defaultValueLabel"))) { #optional property not found + $DefaultValueLabel = $null + } else { + $DefaultValueLabel = $JsonParameters.PSobject.Properties["defaultValueLabel"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "element"))) { #optional property not found + $Element = $null + } else { + $Element = $JsonParameters.PSobject.Properties["element"].value + } + + $PSO = [PSCustomObject]@{ + "defaultValueLabel" = ${DefaultValueLabel} + "element" = ${Element} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConditionRule.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConditionRule.ps1 new file mode 100644 index 000000000..05b60c7ea --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConditionRule.ps1 @@ -0,0 +1,151 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER SourceType +Defines the type of object being selected. It will be either a reference to a form input (by input name) or a form element (by technical key). INPUT ConditionRuleSourceTypeInput ELEMENT ConditionRuleSourceTypeElement +.PARAMETER Source +Source - if the sourceType is ConditionRuleSourceTypeInput, the source type is the name of the form input to accept. However, if the sourceType is ConditionRuleSourceTypeElement, the source is the name of a technical key of an element to retrieve its value. +.PARAMETER Operator +ConditionRuleComparisonOperatorType value. EQ ConditionRuleComparisonOperatorTypeEquals This comparison operator compares the source and target for equality. NE ConditionRuleComparisonOperatorTypeNotEquals This comparison operator compares the source and target for inequality. CO ConditionRuleComparisonOperatorTypeContains This comparison operator searches the source to see whether it contains the value. NOT_CO ConditionRuleComparisonOperatorTypeNotContains IN ConditionRuleComparisonOperatorTypeIncludes This comparison operator searches the source if it equals any of the values. NOT_IN ConditionRuleComparisonOperatorTypeNotIncludes EM ConditionRuleComparisonOperatorTypeEmpty NOT_EM ConditionRuleComparisonOperatorTypeNotEmpty SW ConditionRuleComparisonOperatorTypeStartsWith Checks whether a string starts with another substring of the same string. This operator is case-sensitive. NOT_SW ConditionRuleComparisonOperatorTypeNotStartsWith EW ConditionRuleComparisonOperatorTypeEndsWith Checks whether a string ends with another substring of the same string. This operator is case-sensitive. NOT_EW ConditionRuleComparisonOperatorTypeNotEndsWith +.PARAMETER ValueType +ConditionRuleValueType type. STRING ConditionRuleValueTypeString This value is a static string. STRING_LIST ConditionRuleValueTypeStringList This value is an array of string values. INPUT ConditionRuleValueTypeInput This value is a reference to a form input. ELEMENT ConditionRuleValueTypeElement This value is a reference to a form element (by technical key). LIST ConditionRuleValueTypeList BOOLEAN ConditionRuleValueTypeBoolean +.PARAMETER Value +Based on the ValueType. +.OUTPUTS + +ConditionRule +#> + +function Initialize-V2024ConditionRule { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("INPUT", "ELEMENT")] + [String] + ${SourceType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Source}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("EQ", "NE", "CO", "NOT_CO", "IN", "NOT_IN", "EM", "NOT_EM", "SW", "NOT_SW", "EW", "NOT_EW")] + [String] + ${Operator}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("STRING", "STRING_LIST", "INPUT", "ELEMENT", "LIST", "BOOLEAN")] + [String] + ${ValueType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Value} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ConditionRule' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "sourceType" = ${SourceType} + "source" = ${Source} + "operator" = ${Operator} + "valueType" = ${ValueType} + "value" = ${Value} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ConditionRule + +.DESCRIPTION + +Convert from JSON to ConditionRule + +.PARAMETER Json + +Json object + +.OUTPUTS + +ConditionRule +#> +function ConvertFrom-V2024JsonToConditionRule { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ConditionRule' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ConditionRule + $AllProperties = ("sourceType", "source", "operator", "valueType", "value") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceType"))) { #optional property not found + $SourceType = $null + } else { + $SourceType = $JsonParameters.PSobject.Properties["sourceType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "source"))) { #optional property not found + $Source = $null + } else { + $Source = $JsonParameters.PSobject.Properties["source"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "operator"))) { #optional property not found + $Operator = $null + } else { + $Operator = $JsonParameters.PSobject.Properties["operator"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "valueType"))) { #optional property not found + $ValueType = $null + } else { + $ValueType = $JsonParameters.PSobject.Properties["valueType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "value"))) { #optional property not found + $Value = $null + } else { + $Value = $JsonParameters.PSobject.Properties["value"].value + } + + $PSO = [PSCustomObject]@{ + "sourceType" = ${SourceType} + "source" = ${Source} + "operator" = ${Operator} + "valueType" = ${ValueType} + "value" = ${Value} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Conditional.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Conditional.ps1 new file mode 100644 index 000000000..9dc079e23 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Conditional.ps1 @@ -0,0 +1,164 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Expression +A comparison statement that follows the structure of `ValueA eq ValueB` where `ValueA` and `ValueB` are static strings or outputs of other transforms. The `eq` operator is the only valid comparison +.PARAMETER PositiveCondition +The output of the transform if the expression evalutes to true +.PARAMETER NegativeCondition +The output of the transform if the expression evalutes to false +.PARAMETER RequiresPeriodicRefresh +A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process +.PARAMETER VarInput +This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI. +.OUTPUTS + +Conditional +#> + +function Initialize-V2024Conditional { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Expression}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${PositiveCondition}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${NegativeCondition}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${RequiresPeriodicRefresh} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${VarInput} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Conditional' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Expression) { + throw "invalid value for 'Expression', 'Expression' cannot be null." + } + + if (!$PositiveCondition) { + throw "invalid value for 'PositiveCondition', 'PositiveCondition' cannot be null." + } + + if (!$NegativeCondition) { + throw "invalid value for 'NegativeCondition', 'NegativeCondition' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "expression" = ${Expression} + "positiveCondition" = ${PositiveCondition} + "negativeCondition" = ${NegativeCondition} + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + "input" = ${VarInput} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Conditional + +.DESCRIPTION + +Convert from JSON to Conditional + +.PARAMETER Json + +Json object + +.OUTPUTS + +Conditional +#> +function ConvertFrom-V2024JsonToConditional { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Conditional' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Conditional + $AllProperties = ("expression", "positiveCondition", "negativeCondition", "requiresPeriodicRefresh", "input") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'expression' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "expression"))) { + throw "Error! JSON cannot be serialized due to the required property 'expression' missing." + } else { + $Expression = $JsonParameters.PSobject.Properties["expression"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "positiveCondition"))) { + throw "Error! JSON cannot be serialized due to the required property 'positiveCondition' missing." + } else { + $PositiveCondition = $JsonParameters.PSobject.Properties["positiveCondition"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "negativeCondition"))) { + throw "Error! JSON cannot be serialized due to the required property 'negativeCondition' missing." + } else { + $NegativeCondition = $JsonParameters.PSobject.Properties["negativeCondition"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requiresPeriodicRefresh"))) { #optional property not found + $RequiresPeriodicRefresh = $null + } else { + $RequiresPeriodicRefresh = $JsonParameters.PSobject.Properties["requiresPeriodicRefresh"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "input"))) { #optional property not found + $VarInput = $null + } else { + $VarInput = $JsonParameters.PSobject.Properties["input"].value + } + + $PSO = [PSCustomObject]@{ + "expression" = ${Expression} + "positiveCondition" = ${PositiveCondition} + "negativeCondition" = ${NegativeCondition} + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + "input" = ${VarInput} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConfigObject.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConfigObject.ps1 new file mode 100644 index 000000000..9f47ef851 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConfigObject.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Config export and import format for individual object configurations. + +.PARAMETER Version +Current version of configuration object. +.PARAMETER Self +No description available. +.PARAMETER Object +Object details. Format dependant on the object type. +.OUTPUTS + +ConfigObject +#> + +function Initialize-V2024ConfigObject { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${Version}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Self}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${Object} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ConfigObject' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "version" = ${Version} + "self" = ${Self} + "object" = ${Object} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ConfigObject + +.DESCRIPTION + +Convert from JSON to ConfigObject + +.PARAMETER Json + +Json object + +.OUTPUTS + +ConfigObject +#> +function ConvertFrom-V2024JsonToConfigObject { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ConfigObject' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ConfigObject + $AllProperties = ("version", "self", "object") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "version"))) { #optional property not found + $Version = $null + } else { + $Version = $JsonParameters.PSobject.Properties["version"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "self"))) { #optional property not found + $Self = $null + } else { + $Self = $JsonParameters.PSobject.Properties["self"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "object"))) { #optional property not found + $Object = $null + } else { + $Object = $JsonParameters.PSobject.Properties["object"].value + } + + $PSO = [PSCustomObject]@{ + "version" = ${Version} + "self" = ${Self} + "object" = ${Object} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConfigType.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConfigType.ps1 new file mode 100644 index 000000000..848e4ac5c --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConfigType.ps1 @@ -0,0 +1,150 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Type of Reassignment Configuration. + +.PARAMETER Priority +No description available. +.PARAMETER InternalName +No description available. +.PARAMETER InternalNameCamel +No description available. +.PARAMETER DisplayName +Human readable display name of the type to be shown on UI +.PARAMETER Description +Description of the type of work to be reassigned, displayed by the UI. +.OUTPUTS + +ConfigType +#> + +function Initialize-V2024ConfigType { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${Priority}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("accessRequests", "certifications", "manualTasks")] + [PSCustomObject] + ${InternalName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ACCESS_REQUESTS", "CERTIFICATIONS", "MANUAL_TASKS")] + [PSCustomObject] + ${InternalNameCamel}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${DisplayName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ConfigType' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "priority" = ${Priority} + "internalName" = ${InternalName} + "internalNameCamel" = ${InternalNameCamel} + "displayName" = ${DisplayName} + "description" = ${Description} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ConfigType + +.DESCRIPTION + +Convert from JSON to ConfigType + +.PARAMETER Json + +Json object + +.OUTPUTS + +ConfigType +#> +function ConvertFrom-V2024JsonToConfigType { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ConfigType' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ConfigType + $AllProperties = ("priority", "internalName", "internalNameCamel", "displayName", "description") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "priority"))) { #optional property not found + $Priority = $null + } else { + $Priority = $JsonParameters.PSobject.Properties["priority"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "internalName"))) { #optional property not found + $InternalName = $null + } else { + $InternalName = $JsonParameters.PSobject.Properties["internalName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "internalNameCamel"))) { #optional property not found + $InternalNameCamel = $null + } else { + $InternalNameCamel = $JsonParameters.PSobject.Properties["internalNameCamel"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "displayName"))) { #optional property not found + $DisplayName = $null + } else { + $DisplayName = $JsonParameters.PSobject.Properties["displayName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + $PSO = [PSCustomObject]@{ + "priority" = ${Priority} + "internalName" = ${InternalName} + "internalNameCamel" = ${InternalNameCamel} + "displayName" = ${DisplayName} + "description" = ${Description} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConfigTypeEnum.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConfigTypeEnum.ps1 new file mode 100644 index 000000000..e0a75dbda --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConfigTypeEnum.ps1 @@ -0,0 +1,26 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum ConfigTypeEnum. + +.DESCRIPTION + +Enum list of valid work types that can be selected for a Reassignment Configuration +#> + +enum ConfigTypeEnum { + # enum value: "ACCESS_REQUESTS" + ACCESS_REQUESTS + # enum value: "CERTIFICATIONS" + CERTIFICATIONS + # enum value: "MANUAL_TASKS" + MANUAL_TASKS +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConfigTypeEnumCamel.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConfigTypeEnumCamel.ps1 new file mode 100644 index 000000000..bdb4b31af --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConfigTypeEnumCamel.ps1 @@ -0,0 +1,26 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum ConfigTypeEnumCamel. + +.DESCRIPTION + +Enum list of valid work types that can be selected for a Reassignment Configuration +#> + +enum ConfigTypeEnumCamel { + # enum value: "accessRequests" + accessRequests + # enum value: "certifications" + certifications + # enum value: "manualTasks" + manualTasks +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConfigurationDetailsResponse.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConfigurationDetailsResponse.ps1 new file mode 100644 index 000000000..5b40c06ae --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConfigurationDetailsResponse.ps1 @@ -0,0 +1,149 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +The request body of Reassignment Configuration Details for a specific identity and config type + +.PARAMETER ConfigType +No description available. +.PARAMETER TargetIdentity +No description available. +.PARAMETER StartDate +The date from which to start reassigning work items +.PARAMETER EndDate +The date from which to stop reassigning work items. If this is an empty string it indicates a permanent reassignment. +.PARAMETER AuditDetails +No description available. +.OUTPUTS + +ConfigurationDetailsResponse +#> + +function Initialize-V2024ConfigurationDetailsResponse { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ACCESS_REQUESTS", "CERTIFICATIONS", "MANUAL_TASKS")] + [PSCustomObject] + ${ConfigType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${TargetIdentity}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${StartDate}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${EndDate}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${AuditDetails} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ConfigurationDetailsResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "configType" = ${ConfigType} + "targetIdentity" = ${TargetIdentity} + "startDate" = ${StartDate} + "endDate" = ${EndDate} + "auditDetails" = ${AuditDetails} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ConfigurationDetailsResponse + +.DESCRIPTION + +Convert from JSON to ConfigurationDetailsResponse + +.PARAMETER Json + +Json object + +.OUTPUTS + +ConfigurationDetailsResponse +#> +function ConvertFrom-V2024JsonToConfigurationDetailsResponse { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ConfigurationDetailsResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ConfigurationDetailsResponse + $AllProperties = ("configType", "targetIdentity", "startDate", "endDate", "auditDetails") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "configType"))) { #optional property not found + $ConfigType = $null + } else { + $ConfigType = $JsonParameters.PSobject.Properties["configType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "targetIdentity"))) { #optional property not found + $TargetIdentity = $null + } else { + $TargetIdentity = $JsonParameters.PSobject.Properties["targetIdentity"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "startDate"))) { #optional property not found + $StartDate = $null + } else { + $StartDate = $JsonParameters.PSobject.Properties["startDate"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "endDate"))) { #optional property not found + $EndDate = $null + } else { + $EndDate = $JsonParameters.PSobject.Properties["endDate"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "auditDetails"))) { #optional property not found + $AuditDetails = $null + } else { + $AuditDetails = $JsonParameters.PSobject.Properties["auditDetails"].value + } + + $PSO = [PSCustomObject]@{ + "configType" = ${ConfigType} + "targetIdentity" = ${TargetIdentity} + "startDate" = ${StartDate} + "endDate" = ${EndDate} + "auditDetails" = ${AuditDetails} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConfigurationItemRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConfigurationItemRequest.ps1 new file mode 100644 index 000000000..e3b05fbb6 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConfigurationItemRequest.ps1 @@ -0,0 +1,149 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +The request body for creation or update of a Reassignment Configuration for a single identity and work type + +.PARAMETER ReassignedFromId +The identity id to reassign an item from +.PARAMETER ReassignedToId +The identity id to reassign an item to +.PARAMETER ConfigType +No description available. +.PARAMETER StartDate +The date from which to start reassigning work items +.PARAMETER EndDate +The date from which to stop reassigning work items. If this is an null string it indicates a permanent reassignment. +.OUTPUTS + +ConfigurationItemRequest +#> + +function Initialize-V2024ConfigurationItemRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ReassignedFromId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ReassignedToId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ACCESS_REQUESTS", "CERTIFICATIONS", "MANUAL_TASKS")] + [PSCustomObject] + ${ConfigType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${StartDate}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${EndDate} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ConfigurationItemRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "reassignedFromId" = ${ReassignedFromId} + "reassignedToId" = ${ReassignedToId} + "configType" = ${ConfigType} + "startDate" = ${StartDate} + "endDate" = ${EndDate} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ConfigurationItemRequest + +.DESCRIPTION + +Convert from JSON to ConfigurationItemRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +ConfigurationItemRequest +#> +function ConvertFrom-V2024JsonToConfigurationItemRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ConfigurationItemRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ConfigurationItemRequest + $AllProperties = ("reassignedFromId", "reassignedToId", "configType", "startDate", "endDate") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "reassignedFromId"))) { #optional property not found + $ReassignedFromId = $null + } else { + $ReassignedFromId = $JsonParameters.PSobject.Properties["reassignedFromId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "reassignedToId"))) { #optional property not found + $ReassignedToId = $null + } else { + $ReassignedToId = $JsonParameters.PSobject.Properties["reassignedToId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "configType"))) { #optional property not found + $ConfigType = $null + } else { + $ConfigType = $JsonParameters.PSobject.Properties["configType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "startDate"))) { #optional property not found + $StartDate = $null + } else { + $StartDate = $JsonParameters.PSobject.Properties["startDate"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "endDate"))) { #optional property not found + $EndDate = $null + } else { + $EndDate = $JsonParameters.PSobject.Properties["endDate"].value + } + + $PSO = [PSCustomObject]@{ + "reassignedFromId" = ${ReassignedFromId} + "reassignedToId" = ${ReassignedToId} + "configType" = ${ConfigType} + "startDate" = ${StartDate} + "endDate" = ${EndDate} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConfigurationItemResponse.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConfigurationItemResponse.ps1 new file mode 100644 index 000000000..920d3e8f6 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConfigurationItemResponse.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +The response body of a Reassignment Configuration for a single identity + +.PARAMETER Identity +No description available. +.PARAMETER ConfigDetails +Details of how work should be reassigned for an Identity +.OUTPUTS + +ConfigurationItemResponse +#> + +function Initialize-V2024ConfigurationItemResponse { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Identity}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${ConfigDetails} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ConfigurationItemResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "identity" = ${Identity} + "configDetails" = ${ConfigDetails} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ConfigurationItemResponse + +.DESCRIPTION + +Convert from JSON to ConfigurationItemResponse + +.PARAMETER Json + +Json object + +.OUTPUTS + +ConfigurationItemResponse +#> +function ConvertFrom-V2024JsonToConfigurationItemResponse { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ConfigurationItemResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ConfigurationItemResponse + $AllProperties = ("identity", "configDetails") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identity"))) { #optional property not found + $Identity = $null + } else { + $Identity = $JsonParameters.PSobject.Properties["identity"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "configDetails"))) { #optional property not found + $ConfigDetails = $null + } else { + $ConfigDetails = $JsonParameters.PSobject.Properties["configDetails"].value + } + + $PSO = [PSCustomObject]@{ + "identity" = ${Identity} + "configDetails" = ${ConfigDetails} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConfigurationResponse.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConfigurationResponse.ps1 new file mode 100644 index 000000000..bd07a1316 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConfigurationResponse.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +The response body of a Reassignment Configuration for a single identity + +.PARAMETER Identity +No description available. +.PARAMETER ConfigDetails +Details of how work should be reassigned for an Identity +.OUTPUTS + +ConfigurationResponse +#> + +function Initialize-V2024ConfigurationResponse { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Identity}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${ConfigDetails} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ConfigurationResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "identity" = ${Identity} + "configDetails" = ${ConfigDetails} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ConfigurationResponse + +.DESCRIPTION + +Convert from JSON to ConfigurationResponse + +.PARAMETER Json + +Json object + +.OUTPUTS + +ConfigurationResponse +#> +function ConvertFrom-V2024JsonToConfigurationResponse { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ConfigurationResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ConfigurationResponse + $AllProperties = ("identity", "configDetails") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identity"))) { #optional property not found + $Identity = $null + } else { + $Identity = $JsonParameters.PSobject.Properties["identity"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "configDetails"))) { #optional property not found + $ConfigDetails = $null + } else { + $ConfigDetails = $JsonParameters.PSobject.Properties["configDetails"].value + } + + $PSO = [PSCustomObject]@{ + "identity" = ${Identity} + "configDetails" = ${ConfigDetails} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConflictingAccessCriteria.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConflictingAccessCriteria.ps1 new file mode 100644 index 000000000..373dad949 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConflictingAccessCriteria.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER LeftCriteria +No description available. +.PARAMETER RightCriteria +No description available. +.OUTPUTS + +ConflictingAccessCriteria +#> + +function Initialize-V2024ConflictingAccessCriteria { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${LeftCriteria}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${RightCriteria} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ConflictingAccessCriteria' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "leftCriteria" = ${LeftCriteria} + "rightCriteria" = ${RightCriteria} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ConflictingAccessCriteria + +.DESCRIPTION + +Convert from JSON to ConflictingAccessCriteria + +.PARAMETER Json + +Json object + +.OUTPUTS + +ConflictingAccessCriteria +#> +function ConvertFrom-V2024JsonToConflictingAccessCriteria { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ConflictingAccessCriteria' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ConflictingAccessCriteria + $AllProperties = ("leftCriteria", "rightCriteria") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "leftCriteria"))) { #optional property not found + $LeftCriteria = $null + } else { + $LeftCriteria = $JsonParameters.PSobject.Properties["leftCriteria"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "rightCriteria"))) { #optional property not found + $RightCriteria = $null + } else { + $RightCriteria = $JsonParameters.PSobject.Properties["rightCriteria"].value + } + + $PSO = [PSCustomObject]@{ + "leftCriteria" = ${LeftCriteria} + "rightCriteria" = ${RightCriteria} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConnectedObject.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConnectedObject.ps1 new file mode 100644 index 000000000..929a33680 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConnectedObject.ps1 @@ -0,0 +1,136 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Type +No description available. +.PARAMETER Id +ID of the object to which this reference applies +.PARAMETER Name +Human-readable name of Connected object +.PARAMETER Description +Description of the Connected object. +.OUTPUTS + +ConnectedObject +#> + +function Initialize-V2024ConnectedObject { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ACCESS_PROFILE", "ROLE", "SOD_POLICY", "SOURCE")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ConnectedObject' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + "description" = ${Description} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ConnectedObject + +.DESCRIPTION + +Convert from JSON to ConnectedObject + +.PARAMETER Json + +Json object + +.OUTPUTS + +ConnectedObject +#> +function ConvertFrom-V2024JsonToConnectedObject { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ConnectedObject' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ConnectedObject + $AllProperties = ("type", "id", "name", "description") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + "description" = ${Description} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConnectedObjectType.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConnectedObjectType.ps1 new file mode 100644 index 000000000..760822e11 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConnectedObjectType.ps1 @@ -0,0 +1,28 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum ConnectedObjectType. + +.DESCRIPTION + +An enumeration of the types of Objects associated with a Governance Group. Supported object types are ACCESS_PROFILE, ROLE, SOD_POLICY and SOURCE. +#> + +enum ConnectedObjectType { + # enum value: "ACCESS_PROFILE" + ACCESS_PROFILE + # enum value: "ROLE" + ROLE + # enum value: "SOD_POLICY" + SOD_POLICY + # enum value: "SOURCE" + SOURCE +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConnectorDetail.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConnectorDetail.ps1 new file mode 100644 index 000000000..c44e8d114 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConnectorDetail.ps1 @@ -0,0 +1,292 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Name +The connector name +.PARAMETER Type +The connector type +.PARAMETER ClassName +The connector class name +.PARAMETER ScriptName +The connector script name +.PARAMETER ApplicationXml +The connector application xml +.PARAMETER CorrelationConfigXml +The connector correlation config xml +.PARAMETER SourceConfigXml +The connector source config xml +.PARAMETER SourceConfig +The connector source config +.PARAMETER SourceConfigFrom +The connector source config origin +.PARAMETER S3Location +storage path key for this connector +.PARAMETER UploadedFiles +The list of uploaded files supported by the connector. If there was any executable files uploaded to thee connector. Typically this be empty as the executable be uploaded at source creation. +.PARAMETER FileUpload +true if the source is file upload +.PARAMETER DirectConnect +true if the source is a direct connect source +.PARAMETER TranslationProperties +A map containing translation attributes by loacale key +.PARAMETER ConnectorMetadata +A map containing metadata pertinent to the UI to be used +.PARAMETER Status +The connector status +.OUTPUTS + +ConnectorDetail +#> + +function Initialize-V2024ConnectorDetail { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ClassName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ScriptName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ApplicationXml}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${CorrelationConfigXml}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SourceConfigXml}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SourceConfig}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SourceConfigFrom}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${S3Location}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${UploadedFiles}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${FileUpload} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${DirectConnect} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${TranslationProperties}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${ConnectorMetadata}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("DEPRECATED", "DEVELOPMENT", "DEMO", "RELEASED")] + [String] + ${Status} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ConnectorDetail' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "type" = ${Type} + "className" = ${ClassName} + "scriptName" = ${ScriptName} + "applicationXml" = ${ApplicationXml} + "correlationConfigXml" = ${CorrelationConfigXml} + "sourceConfigXml" = ${SourceConfigXml} + "sourceConfig" = ${SourceConfig} + "sourceConfigFrom" = ${SourceConfigFrom} + "s3Location" = ${S3Location} + "uploadedFiles" = ${UploadedFiles} + "fileUpload" = ${FileUpload} + "directConnect" = ${DirectConnect} + "translationProperties" = ${TranslationProperties} + "connectorMetadata" = ${ConnectorMetadata} + "status" = ${Status} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ConnectorDetail + +.DESCRIPTION + +Convert from JSON to ConnectorDetail + +.PARAMETER Json + +Json object + +.OUTPUTS + +ConnectorDetail +#> +function ConvertFrom-V2024JsonToConnectorDetail { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ConnectorDetail' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ConnectorDetail + $AllProperties = ("name", "type", "className", "scriptName", "applicationXml", "correlationConfigXml", "sourceConfigXml", "sourceConfig", "sourceConfigFrom", "s3Location", "uploadedFiles", "fileUpload", "directConnect", "translationProperties", "connectorMetadata", "status") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "className"))) { #optional property not found + $ClassName = $null + } else { + $ClassName = $JsonParameters.PSobject.Properties["className"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "scriptName"))) { #optional property not found + $ScriptName = $null + } else { + $ScriptName = $JsonParameters.PSobject.Properties["scriptName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "applicationXml"))) { #optional property not found + $ApplicationXml = $null + } else { + $ApplicationXml = $JsonParameters.PSobject.Properties["applicationXml"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "correlationConfigXml"))) { #optional property not found + $CorrelationConfigXml = $null + } else { + $CorrelationConfigXml = $JsonParameters.PSobject.Properties["correlationConfigXml"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceConfigXml"))) { #optional property not found + $SourceConfigXml = $null + } else { + $SourceConfigXml = $JsonParameters.PSobject.Properties["sourceConfigXml"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceConfig"))) { #optional property not found + $SourceConfig = $null + } else { + $SourceConfig = $JsonParameters.PSobject.Properties["sourceConfig"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceConfigFrom"))) { #optional property not found + $SourceConfigFrom = $null + } else { + $SourceConfigFrom = $JsonParameters.PSobject.Properties["sourceConfigFrom"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "s3Location"))) { #optional property not found + $S3Location = $null + } else { + $S3Location = $JsonParameters.PSobject.Properties["s3Location"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "uploadedFiles"))) { #optional property not found + $UploadedFiles = $null + } else { + $UploadedFiles = $JsonParameters.PSobject.Properties["uploadedFiles"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "fileUpload"))) { #optional property not found + $FileUpload = $null + } else { + $FileUpload = $JsonParameters.PSobject.Properties["fileUpload"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "directConnect"))) { #optional property not found + $DirectConnect = $null + } else { + $DirectConnect = $JsonParameters.PSobject.Properties["directConnect"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "translationProperties"))) { #optional property not found + $TranslationProperties = $null + } else { + $TranslationProperties = $JsonParameters.PSobject.Properties["translationProperties"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "connectorMetadata"))) { #optional property not found + $ConnectorMetadata = $null + } else { + $ConnectorMetadata = $JsonParameters.PSobject.Properties["connectorMetadata"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { #optional property not found + $Status = $null + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "type" = ${Type} + "className" = ${ClassName} + "scriptName" = ${ScriptName} + "applicationXml" = ${ApplicationXml} + "correlationConfigXml" = ${CorrelationConfigXml} + "sourceConfigXml" = ${SourceConfigXml} + "sourceConfig" = ${SourceConfig} + "sourceConfigFrom" = ${SourceConfigFrom} + "s3Location" = ${S3Location} + "uploadedFiles" = ${UploadedFiles} + "fileUpload" = ${FileUpload} + "directConnect" = ${DirectConnect} + "translationProperties" = ${TranslationProperties} + "connectorMetadata" = ${ConnectorMetadata} + "status" = ${Status} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConnectorDetail1.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConnectorDetail1.ps1 new file mode 100644 index 000000000..4c9f1f05e --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConnectorDetail1.ps1 @@ -0,0 +1,174 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Name +The connector name +.PARAMETER SourceConfigXml +XML representation of the source config data +.PARAMETER SourceConfig +JSON representation of the source config data +.PARAMETER DirectConnect +true if the source is a direct connect source +.PARAMETER FileUpload +Connector config's file upload attribute, false if not there +.PARAMETER UploadedFiles +List of uploaded file strings for the connector +.PARAMETER ConnectorMetadata +Object containing metadata pertinent to the UI to be used +.OUTPUTS + +ConnectorDetail1 +#> + +function Initialize-V2024ConnectorDetail1 { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SourceConfigXml}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SourceConfig}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${DirectConnect}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${FileUpload}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${UploadedFiles}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${ConnectorMetadata} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ConnectorDetail1' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "sourceConfigXml" = ${SourceConfigXml} + "sourceConfig" = ${SourceConfig} + "directConnect" = ${DirectConnect} + "fileUpload" = ${FileUpload} + "uploadedFiles" = ${UploadedFiles} + "connectorMetadata" = ${ConnectorMetadata} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ConnectorDetail1 + +.DESCRIPTION + +Convert from JSON to ConnectorDetail1 + +.PARAMETER Json + +Json object + +.OUTPUTS + +ConnectorDetail1 +#> +function ConvertFrom-V2024JsonToConnectorDetail1 { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ConnectorDetail1' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ConnectorDetail1 + $AllProperties = ("name", "sourceConfigXml", "sourceConfig", "directConnect", "fileUpload", "uploadedFiles", "connectorMetadata") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceConfigXml"))) { #optional property not found + $SourceConfigXml = $null + } else { + $SourceConfigXml = $JsonParameters.PSobject.Properties["sourceConfigXml"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceConfig"))) { #optional property not found + $SourceConfig = $null + } else { + $SourceConfig = $JsonParameters.PSobject.Properties["sourceConfig"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "directConnect"))) { #optional property not found + $DirectConnect = $null + } else { + $DirectConnect = $JsonParameters.PSobject.Properties["directConnect"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "fileUpload"))) { #optional property not found + $FileUpload = $null + } else { + $FileUpload = $JsonParameters.PSobject.Properties["fileUpload"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "uploadedFiles"))) { #optional property not found + $UploadedFiles = $null + } else { + $UploadedFiles = $JsonParameters.PSobject.Properties["uploadedFiles"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "connectorMetadata"))) { #optional property not found + $ConnectorMetadata = $null + } else { + $ConnectorMetadata = $JsonParameters.PSobject.Properties["connectorMetadata"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "sourceConfigXml" = ${SourceConfigXml} + "sourceConfig" = ${SourceConfig} + "directConnect" = ${DirectConnect} + "fileUpload" = ${FileUpload} + "uploadedFiles" = ${UploadedFiles} + "connectorMetadata" = ${ConnectorMetadata} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConnectorRuleCreateRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConnectorRuleCreateRequest.ps1 new file mode 100644 index 000000000..6f2ab20e1 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConnectorRuleCreateRequest.ps1 @@ -0,0 +1,186 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +ConnectorRuleCreateRequest + +.PARAMETER Name +the name of the rule +.PARAMETER Description +a description of the rule's purpose +.PARAMETER Type +the type of rule +.PARAMETER Signature +No description available. +.PARAMETER SourceCode +No description available. +.PARAMETER Attributes +a map of string to objects +.OUTPUTS + +ConnectorRuleCreateRequest +#> + +function Initialize-V2024ConnectorRuleCreateRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("BuildMap", "ConnectorAfterCreate", "ConnectorAfterDelete", "ConnectorAfterModify", "ConnectorBeforeCreate", "ConnectorBeforeDelete", "ConnectorBeforeModify", "JDBCBuildMap", "JDBCOperationProvisioning", "JDBCProvision", "PeopleSoftHRMSBuildMap", "PeopleSoftHRMSOperationProvisioning", "PeopleSoftHRMSProvision", "RACFPermissionCustomization", "SAPBuildMap", "SapHrManagerRule", "SapHrOperationProvisioning", "SapHrProvision", "SuccessFactorsOperationProvisioning", "WebServiceAfterOperationRule", "WebServiceBeforeOperationRule")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Signature}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${SourceCode}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Attributes} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ConnectorRuleCreateRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if ($Name.length -gt 128) { + throw "invalid value for 'Name', the character length must be smaller than or equal to 128." + } + + if ($Name.length -lt 1) { + throw "invalid value for 'Name', the character length must be great than or equal to 1." + } + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$SourceCode) { + throw "invalid value for 'SourceCode', 'SourceCode' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "description" = ${Description} + "type" = ${Type} + "signature" = ${Signature} + "sourceCode" = ${SourceCode} + "attributes" = ${Attributes} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ConnectorRuleCreateRequest + +.DESCRIPTION + +Convert from JSON to ConnectorRuleCreateRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +ConnectorRuleCreateRequest +#> +function ConvertFrom-V2024JsonToConnectorRuleCreateRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ConnectorRuleCreateRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ConnectorRuleCreateRequest + $AllProperties = ("name", "description", "type", "signature", "sourceCode", "attributes") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'name' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceCode"))) { + throw "Error! JSON cannot be serialized due to the required property 'sourceCode' missing." + } else { + $SourceCode = $JsonParameters.PSobject.Properties["sourceCode"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "signature"))) { #optional property not found + $Signature = $null + } else { + $Signature = $JsonParameters.PSobject.Properties["signature"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributes"))) { #optional property not found + $Attributes = $null + } else { + $Attributes = $JsonParameters.PSobject.Properties["attributes"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "description" = ${Description} + "type" = ${Type} + "signature" = ${Signature} + "sourceCode" = ${SourceCode} + "attributes" = ${Attributes} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConnectorRuleCreateRequestSignature.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConnectorRuleCreateRequestSignature.ps1 new file mode 100644 index 000000000..db2343290 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConnectorRuleCreateRequestSignature.ps1 @@ -0,0 +1,117 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +The rule's function signature. Describes the rule's input arguments and output (if any) + +.PARAMETER VarInput +No description available. +.PARAMETER Output +No description available. +.OUTPUTS + +ConnectorRuleCreateRequestSignature +#> + +function Initialize-V2024ConnectorRuleCreateRequestSignature { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${VarInput}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Output} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ConnectorRuleCreateRequestSignature' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$VarInput) { + throw "invalid value for 'VarInput', 'VarInput' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "input" = ${VarInput} + "output" = ${Output} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ConnectorRuleCreateRequestSignature + +.DESCRIPTION + +Convert from JSON to ConnectorRuleCreateRequestSignature + +.PARAMETER Json + +Json object + +.OUTPUTS + +ConnectorRuleCreateRequestSignature +#> +function ConvertFrom-V2024JsonToConnectorRuleCreateRequestSignature { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ConnectorRuleCreateRequestSignature' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ConnectorRuleCreateRequestSignature + $AllProperties = ("input", "output") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'input' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "input"))) { + throw "Error! JSON cannot be serialized due to the required property 'input' missing." + } else { + $VarInput = $JsonParameters.PSobject.Properties["input"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "output"))) { #optional property not found + $Output = $null + } else { + $Output = $JsonParameters.PSobject.Properties["output"].value + } + + $PSO = [PSCustomObject]@{ + "input" = ${VarInput} + "output" = ${Output} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConnectorRuleResponse.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConnectorRuleResponse.ps1 new file mode 100644 index 000000000..ad201f4fd --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConnectorRuleResponse.ps1 @@ -0,0 +1,233 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +ConnectorRuleResponse + +.PARAMETER Name +the name of the rule +.PARAMETER Description +a description of the rule's purpose +.PARAMETER Type +the type of rule +.PARAMETER Signature +No description available. +.PARAMETER SourceCode +No description available. +.PARAMETER Attributes +a map of string to objects +.PARAMETER Id +the ID of the rule +.PARAMETER Created +an ISO 8601 UTC timestamp when this rule was created +.PARAMETER Modified +an ISO 8601 UTC timestamp when this rule was last modified +.OUTPUTS + +ConnectorRuleResponse +#> + +function Initialize-V2024ConnectorRuleResponse { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("BuildMap", "ConnectorAfterCreate", "ConnectorAfterDelete", "ConnectorAfterModify", "ConnectorBeforeCreate", "ConnectorBeforeDelete", "ConnectorBeforeModify", "JDBCBuildMap", "JDBCOperationProvisioning", "JDBCProvision", "PeopleSoftHRMSBuildMap", "PeopleSoftHRMSOperationProvisioning", "PeopleSoftHRMSProvision", "RACFPermissionCustomization", "SAPBuildMap", "SapHrManagerRule", "SapHrOperationProvisioning", "SapHrProvision", "SuccessFactorsOperationProvisioning", "WebServiceAfterOperationRule", "WebServiceBeforeOperationRule")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Signature}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${SourceCode}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Attributes}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Modified} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ConnectorRuleResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if ($Name.length -gt 128) { + throw "invalid value for 'Name', the character length must be smaller than or equal to 128." + } + + if ($Name.length -lt 1) { + throw "invalid value for 'Name', the character length must be great than or equal to 1." + } + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$SourceCode) { + throw "invalid value for 'SourceCode', 'SourceCode' cannot be null." + } + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Created) { + throw "invalid value for 'Created', 'Created' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "description" = ${Description} + "type" = ${Type} + "signature" = ${Signature} + "sourceCode" = ${SourceCode} + "attributes" = ${Attributes} + "id" = ${Id} + "created" = ${Created} + "modified" = ${Modified} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ConnectorRuleResponse + +.DESCRIPTION + +Convert from JSON to ConnectorRuleResponse + +.PARAMETER Json + +Json object + +.OUTPUTS + +ConnectorRuleResponse +#> +function ConvertFrom-V2024JsonToConnectorRuleResponse { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ConnectorRuleResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ConnectorRuleResponse + $AllProperties = ("name", "description", "type", "signature", "sourceCode", "attributes", "id", "created", "modified") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'name' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceCode"))) { + throw "Error! JSON cannot be serialized due to the required property 'sourceCode' missing." + } else { + $SourceCode = $JsonParameters.PSobject.Properties["sourceCode"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { + throw "Error! JSON cannot be serialized due to the required property 'created' missing." + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "signature"))) { #optional property not found + $Signature = $null + } else { + $Signature = $JsonParameters.PSobject.Properties["signature"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributes"))) { #optional property not found + $Attributes = $null + } else { + $Attributes = $JsonParameters.PSobject.Properties["attributes"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "description" = ${Description} + "type" = ${Type} + "signature" = ${Signature} + "sourceCode" = ${SourceCode} + "attributes" = ${Attributes} + "id" = ${Id} + "created" = ${Created} + "modified" = ${Modified} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConnectorRuleUpdateRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConnectorRuleUpdateRequest.ps1 new file mode 100644 index 000000000..f75736a1a --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConnectorRuleUpdateRequest.ps1 @@ -0,0 +1,203 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +ConnectorRuleUpdateRequest + +.PARAMETER Name +the name of the rule +.PARAMETER Description +a description of the rule's purpose +.PARAMETER Type +the type of rule +.PARAMETER Signature +No description available. +.PARAMETER SourceCode +No description available. +.PARAMETER Attributes +a map of string to objects +.PARAMETER Id +the ID of the rule to update +.OUTPUTS + +ConnectorRuleUpdateRequest +#> + +function Initialize-V2024ConnectorRuleUpdateRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("BuildMap", "ConnectorAfterCreate", "ConnectorAfterDelete", "ConnectorAfterModify", "ConnectorBeforeCreate", "ConnectorBeforeDelete", "ConnectorBeforeModify", "JDBCBuildMap", "JDBCOperationProvisioning", "JDBCProvision", "PeopleSoftHRMSBuildMap", "PeopleSoftHRMSOperationProvisioning", "PeopleSoftHRMSProvision", "RACFPermissionCustomization", "SAPBuildMap", "SapHrManagerRule", "SapHrOperationProvisioning", "SapHrProvision", "SuccessFactorsOperationProvisioning", "WebServiceAfterOperationRule", "WebServiceBeforeOperationRule")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Signature}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${SourceCode}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Attributes}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ConnectorRuleUpdateRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if ($Name.length -gt 128) { + throw "invalid value for 'Name', the character length must be smaller than or equal to 128." + } + + if ($Name.length -lt 1) { + throw "invalid value for 'Name', the character length must be great than or equal to 1." + } + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$SourceCode) { + throw "invalid value for 'SourceCode', 'SourceCode' cannot be null." + } + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "description" = ${Description} + "type" = ${Type} + "signature" = ${Signature} + "sourceCode" = ${SourceCode} + "attributes" = ${Attributes} + "id" = ${Id} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ConnectorRuleUpdateRequest + +.DESCRIPTION + +Convert from JSON to ConnectorRuleUpdateRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +ConnectorRuleUpdateRequest +#> +function ConvertFrom-V2024JsonToConnectorRuleUpdateRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ConnectorRuleUpdateRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ConnectorRuleUpdateRequest + $AllProperties = ("name", "description", "type", "signature", "sourceCode", "attributes", "id") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'name' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceCode"))) { + throw "Error! JSON cannot be serialized due to the required property 'sourceCode' missing." + } else { + $SourceCode = $JsonParameters.PSobject.Properties["sourceCode"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "signature"))) { #optional property not found + $Signature = $null + } else { + $Signature = $JsonParameters.PSobject.Properties["signature"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributes"))) { #optional property not found + $Attributes = $null + } else { + $Attributes = $JsonParameters.PSobject.Properties["attributes"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "description" = ${Description} + "type" = ${Type} + "signature" = ${Signature} + "sourceCode" = ${SourceCode} + "attributes" = ${Attributes} + "id" = ${Id} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConnectorRuleValidationResponse.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConnectorRuleValidationResponse.ps1 new file mode 100644 index 000000000..d15b0db46 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConnectorRuleValidationResponse.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +ConnectorRuleValidationResponse + +.PARAMETER State +No description available. +.PARAMETER Details +No description available. +.OUTPUTS + +ConnectorRuleValidationResponse +#> + +function Initialize-V2024ConnectorRuleValidationResponse { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("OK", "ERROR")] + [String] + ${State}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Details} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ConnectorRuleValidationResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$State) { + throw "invalid value for 'State', 'State' cannot be null." + } + + if (!$Details) { + throw "invalid value for 'Details', 'Details' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "state" = ${State} + "details" = ${Details} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ConnectorRuleValidationResponse + +.DESCRIPTION + +Convert from JSON to ConnectorRuleValidationResponse + +.PARAMETER Json + +Json object + +.OUTPUTS + +ConnectorRuleValidationResponse +#> +function ConvertFrom-V2024JsonToConnectorRuleValidationResponse { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ConnectorRuleValidationResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ConnectorRuleValidationResponse + $AllProperties = ("state", "details") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'state' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "state"))) { + throw "Error! JSON cannot be serialized due to the required property 'state' missing." + } else { + $State = $JsonParameters.PSobject.Properties["state"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "details"))) { + throw "Error! JSON cannot be serialized due to the required property 'details' missing." + } else { + $Details = $JsonParameters.PSobject.Properties["details"].value + } + + $PSO = [PSCustomObject]@{ + "state" = ${State} + "details" = ${Details} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConnectorRuleValidationResponseDetailsInner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConnectorRuleValidationResponseDetailsInner.ps1 new file mode 100644 index 000000000..de4073d5a --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ConnectorRuleValidationResponseDetailsInner.ps1 @@ -0,0 +1,134 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +CodeErrorDetail + +.PARAMETER Line +The line number where the issue occurred +.PARAMETER Column +the column number where the issue occurred +.PARAMETER Messsage +a description of the issue in the code +.OUTPUTS + +ConnectorRuleValidationResponseDetailsInner +#> + +function Initialize-V2024ConnectorRuleValidationResponseDetailsInner { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Int32] + ${Line}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Int32] + ${Column}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Messsage} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ConnectorRuleValidationResponseDetailsInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Line) { + throw "invalid value for 'Line', 'Line' cannot be null." + } + + if (!$Column) { + throw "invalid value for 'Column', 'Column' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "line" = ${Line} + "column" = ${Column} + "messsage" = ${Messsage} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ConnectorRuleValidationResponseDetailsInner + +.DESCRIPTION + +Convert from JSON to ConnectorRuleValidationResponseDetailsInner + +.PARAMETER Json + +Json object + +.OUTPUTS + +ConnectorRuleValidationResponseDetailsInner +#> +function ConvertFrom-V2024JsonToConnectorRuleValidationResponseDetailsInner { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ConnectorRuleValidationResponseDetailsInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ConnectorRuleValidationResponseDetailsInner + $AllProperties = ("line", "column", "messsage") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'line' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "line"))) { + throw "Error! JSON cannot be serialized due to the required property 'line' missing." + } else { + $Line = $JsonParameters.PSobject.Properties["line"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "column"))) { + throw "Error! JSON cannot be serialized due to the required property 'column' missing." + } else { + $Column = $JsonParameters.PSobject.Properties["column"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "messsage"))) { #optional property not found + $Messsage = $null + } else { + $Messsage = $JsonParameters.PSobject.Properties["messsage"].value + } + + $PSO = [PSCustomObject]@{ + "line" = ${Line} + "column" = ${Column} + "messsage" = ${Messsage} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ContextAttributeDto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ContextAttributeDto.ps1 new file mode 100644 index 000000000..0bc78737e --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ContextAttributeDto.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Attribute +The name of the attribute +.PARAMETER Value +No description available. +.PARAMETER Derived +True if the attribute was derived. +.OUTPUTS + +ContextAttributeDto +#> + +function Initialize-V2024ContextAttributeDto { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Attribute}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Value}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Derived} = $false + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ContextAttributeDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "attribute" = ${Attribute} + "value" = ${Value} + "derived" = ${Derived} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ContextAttributeDto + +.DESCRIPTION + +Convert from JSON to ContextAttributeDto + +.PARAMETER Json + +Json object + +.OUTPUTS + +ContextAttributeDto +#> +function ConvertFrom-V2024JsonToContextAttributeDto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ContextAttributeDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ContextAttributeDto + $AllProperties = ("attribute", "value", "derived") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attribute"))) { #optional property not found + $Attribute = $null + } else { + $Attribute = $JsonParameters.PSobject.Properties["attribute"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "value"))) { #optional property not found + $Value = $null + } else { + $Value = $JsonParameters.PSobject.Properties["value"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "derived"))) { #optional property not found + $Derived = $null + } else { + $Derived = $JsonParameters.PSobject.Properties["derived"].value + } + + $PSO = [PSCustomObject]@{ + "attribute" = ${Attribute} + "value" = ${Value} + "derived" = ${Derived} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ContextAttributeDtoValue.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ContextAttributeDtoValue.ps1 new file mode 100644 index 000000000..165a7f5b2 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ContextAttributeDtoValue.ps1 @@ -0,0 +1,82 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +The value of the attribute. This can be either a string or a multi-valued string + +.PARAMETER Json + +JSON object + +.OUTPUTS + +ContextAttributeDtoValue +#> +function ConvertFrom-V2024JsonToContextAttributeDtoValue { + [CmdletBinding()] + Param ( + [AllowEmptyString()] + [string]$Json + ) + + Process { + $match = 0 + $matchType = $null + $matchInstance = $null + + # try to match String defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToString $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "String" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'String' defined in oneOf (V2024ContextAttributeDtoValue). Proceeding to the next one if any." + } + + # try to match String[] defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToString[] $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "String[]" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'String[]' defined in oneOf (V2024ContextAttributeDtoValue). Proceeding to the next one if any." + } + + if ($match -gt 1) { + throw "Error! The JSON payload matches more than one type defined in oneOf schemas ([String, String[]]). JSON Payload: $($Json)" + } elseif ($match -eq 1) { + return [PSCustomObject]@{ + "ActualType" = ${matchType} + "ActualInstance" = ${matchInstance} + "OneOfSchemas" = @("String", "String[]") + } + } else { + throw "Error! The JSON payload doesn't matches any type defined in oneOf schemas ([String, String[]]). JSON Payload: $($Json)" + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CorrelatedGovernanceEvent.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CorrelatedGovernanceEvent.ps1 new file mode 100644 index 000000000..3c2174d2e --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CorrelatedGovernanceEvent.ps1 @@ -0,0 +1,175 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Name +The name of the governance event, such as the certification name or access request ID. +.PARAMETER Dt +The date that the certification or access request was completed. +.PARAMETER Type +The type of governance event. +.PARAMETER GovernanceId +The ID of the instance that caused the event - either the certification ID or access request ID. +.PARAMETER Owners +The owners of the governance event (the certifiers or approvers) +.PARAMETER Reviewers +The owners of the governance event (the certifiers or approvers), this field should be preferred over owners +.PARAMETER DecisionMaker +No description available. +.OUTPUTS + +CorrelatedGovernanceEvent +#> + +function Initialize-V2024CorrelatedGovernanceEvent { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Dt}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("certification", "accessRequest")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${GovernanceId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Owners}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Reviewers}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${DecisionMaker} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CorrelatedGovernanceEvent' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "dt" = ${Dt} + "type" = ${Type} + "governanceId" = ${GovernanceId} + "owners" = ${Owners} + "reviewers" = ${Reviewers} + "decisionMaker" = ${DecisionMaker} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CorrelatedGovernanceEvent + +.DESCRIPTION + +Convert from JSON to CorrelatedGovernanceEvent + +.PARAMETER Json + +Json object + +.OUTPUTS + +CorrelatedGovernanceEvent +#> +function ConvertFrom-V2024JsonToCorrelatedGovernanceEvent { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CorrelatedGovernanceEvent' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CorrelatedGovernanceEvent + $AllProperties = ("name", "dt", "type", "governanceId", "owners", "reviewers", "decisionMaker") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "dt"))) { #optional property not found + $Dt = $null + } else { + $Dt = $JsonParameters.PSobject.Properties["dt"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "governanceId"))) { #optional property not found + $GovernanceId = $null + } else { + $GovernanceId = $JsonParameters.PSobject.Properties["governanceId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "owners"))) { #optional property not found + $Owners = $null + } else { + $Owners = $JsonParameters.PSobject.Properties["owners"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "reviewers"))) { #optional property not found + $Reviewers = $null + } else { + $Reviewers = $JsonParameters.PSobject.Properties["reviewers"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "decisionMaker"))) { #optional property not found + $DecisionMaker = $null + } else { + $DecisionMaker = $JsonParameters.PSobject.Properties["decisionMaker"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "dt" = ${Dt} + "type" = ${Type} + "governanceId" = ${GovernanceId} + "owners" = ${Owners} + "reviewers" = ${Reviewers} + "decisionMaker" = ${DecisionMaker} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CreateDomainDkim405Response.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CreateDomainDkim405Response.ps1 new file mode 100644 index 000000000..39be60424 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CreateDomainDkim405Response.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER ErrorName +A message describing the error +.PARAMETER ErrorMessage +Description of the error +.PARAMETER TrackingId +Unique tracking id for the error. +.OUTPUTS + +CreateDomainDkim405Response +#> + +function Initialize-V2024CreateDomainDkim405Response { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${ErrorName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${ErrorMessage}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${TrackingId} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CreateDomainDkim405Response' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "errorName" = ${ErrorName} + "errorMessage" = ${ErrorMessage} + "trackingId" = ${TrackingId} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CreateDomainDkim405Response + +.DESCRIPTION + +Convert from JSON to CreateDomainDkim405Response + +.PARAMETER Json + +Json object + +.OUTPUTS + +CreateDomainDkim405Response +#> +function ConvertFrom-V2024JsonToCreateDomainDkim405Response { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CreateDomainDkim405Response' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CreateDomainDkim405Response + $AllProperties = ("errorName", "errorMessage", "trackingId") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "errorName"))) { #optional property not found + $ErrorName = $null + } else { + $ErrorName = $JsonParameters.PSobject.Properties["errorName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "errorMessage"))) { #optional property not found + $ErrorMessage = $null + } else { + $ErrorMessage = $JsonParameters.PSobject.Properties["errorMessage"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "trackingId"))) { #optional property not found + $TrackingId = $null + } else { + $TrackingId = $JsonParameters.PSobject.Properties["trackingId"].value + } + + $PSO = [PSCustomObject]@{ + "errorName" = ${ErrorName} + "errorMessage" = ${ErrorMessage} + "trackingId" = ${TrackingId} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CreateExternalExecuteWorkflow200Response.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CreateExternalExecuteWorkflow200Response.ps1 new file mode 100644 index 000000000..49779dffc --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CreateExternalExecuteWorkflow200Response.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER WorkflowExecutionId +The workflow execution id +.PARAMETER Message +An error message if any errors occurred +.OUTPUTS + +CreateExternalExecuteWorkflow200Response +#> + +function Initialize-V2024CreateExternalExecuteWorkflow200Response { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${WorkflowExecutionId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Message} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CreateExternalExecuteWorkflow200Response' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "workflowExecutionId" = ${WorkflowExecutionId} + "message" = ${Message} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CreateExternalExecuteWorkflow200Response + +.DESCRIPTION + +Convert from JSON to CreateExternalExecuteWorkflow200Response + +.PARAMETER Json + +Json object + +.OUTPUTS + +CreateExternalExecuteWorkflow200Response +#> +function ConvertFrom-V2024JsonToCreateExternalExecuteWorkflow200Response { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CreateExternalExecuteWorkflow200Response' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CreateExternalExecuteWorkflow200Response + $AllProperties = ("workflowExecutionId", "message") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "workflowExecutionId"))) { #optional property not found + $WorkflowExecutionId = $null + } else { + $WorkflowExecutionId = $JsonParameters.PSobject.Properties["workflowExecutionId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "message"))) { #optional property not found + $Message = $null + } else { + $Message = $JsonParameters.PSobject.Properties["message"].value + } + + $PSO = [PSCustomObject]@{ + "workflowExecutionId" = ${WorkflowExecutionId} + "message" = ${Message} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CreateExternalExecuteWorkflowRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CreateExternalExecuteWorkflowRequest.ps1 new file mode 100644 index 000000000..144e72c1a --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CreateExternalExecuteWorkflowRequest.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER VarInput +The input for the workflow +.OUTPUTS + +CreateExternalExecuteWorkflowRequest +#> + +function Initialize-V2024CreateExternalExecuteWorkflowRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${VarInput} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CreateExternalExecuteWorkflowRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "input" = ${VarInput} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CreateExternalExecuteWorkflowRequest + +.DESCRIPTION + +Convert from JSON to CreateExternalExecuteWorkflowRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +CreateExternalExecuteWorkflowRequest +#> +function ConvertFrom-V2024JsonToCreateExternalExecuteWorkflowRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CreateExternalExecuteWorkflowRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CreateExternalExecuteWorkflowRequest + $AllProperties = ("input") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "input"))) { #optional property not found + $VarInput = $null + } else { + $VarInput = $JsonParameters.PSobject.Properties["input"].value + } + + $PSO = [PSCustomObject]@{ + "input" = ${VarInput} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CreateFormDefinitionFileRequestRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CreateFormDefinitionFileRequestRequest.ps1 new file mode 100644 index 000000000..07b796ee0 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CreateFormDefinitionFileRequestRequest.ps1 @@ -0,0 +1,104 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER File +File specifying the multipart +.OUTPUTS + +CreateFormDefinitionFileRequestRequest +#> + +function Initialize-V2024CreateFormDefinitionFileRequestRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.IO.FileInfo] + ${File} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CreateFormDefinitionFileRequestRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$File) { + throw "invalid value for 'File', 'File' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "file" = ${File} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CreateFormDefinitionFileRequestRequest + +.DESCRIPTION + +Convert from JSON to CreateFormDefinitionFileRequestRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +CreateFormDefinitionFileRequestRequest +#> +function ConvertFrom-V2024JsonToCreateFormDefinitionFileRequestRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CreateFormDefinitionFileRequestRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CreateFormDefinitionFileRequestRequest + $AllProperties = ("file") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'file' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "file"))) { + throw "Error! JSON cannot be serialized due to the required property 'file' missing." + } else { + $File = $JsonParameters.PSobject.Properties["file"].value + } + + $PSO = [PSCustomObject]@{ + "file" = ${File} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CreateFormDefinitionRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CreateFormDefinitionRequest.ps1 new file mode 100644 index 000000000..14b597d10 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CreateFormDefinitionRequest.ps1 @@ -0,0 +1,198 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Description +Description is the form definition description +.PARAMETER FormConditions +FormConditions is the conditional logic that modify the form dynamically modify the form as the recipient is interacting out the form +.PARAMETER FormElements +FormElements is a list of nested form elements +.PARAMETER FormInput +FormInput is a list of form inputs that are required when creating a form-instance object +.PARAMETER Name +Name is the form definition name +.PARAMETER Owner +No description available. +.PARAMETER UsedBy +UsedBy is a list of objects where when any system uses a particular form it reaches out to the form service to record it is currently being used +.OUTPUTS + +CreateFormDefinitionRequest +#> + +function Initialize-V2024CreateFormDefinitionRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${FormConditions}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${FormElements}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${FormInput}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Owner}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${UsedBy} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CreateFormDefinitionRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Description -and $Description.length -gt 2000) { + throw "invalid value for 'Description', the character length must be smaller than or equal to 2000." + } + + if (!$Description -and $Description.length -lt 0) { + throw "invalid value for 'Description', the character length must be great than or equal to 0." + } + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if ($Name.length -gt 255) { + throw "invalid value for 'Name', the character length must be smaller than or equal to 255." + } + + if (!$Owner) { + throw "invalid value for 'Owner', 'Owner' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "description" = ${Description} + "formConditions" = ${FormConditions} + "formElements" = ${FormElements} + "formInput" = ${FormInput} + "name" = ${Name} + "owner" = ${Owner} + "usedBy" = ${UsedBy} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CreateFormDefinitionRequest + +.DESCRIPTION + +Convert from JSON to CreateFormDefinitionRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +CreateFormDefinitionRequest +#> +function ConvertFrom-V2024JsonToCreateFormDefinitionRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CreateFormDefinitionRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CreateFormDefinitionRequest + $AllProperties = ("description", "formConditions", "formElements", "formInput", "name", "owner", "usedBy") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'name' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "owner"))) { + throw "Error! JSON cannot be serialized due to the required property 'owner' missing." + } else { + $Owner = $JsonParameters.PSobject.Properties["owner"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "formConditions"))) { #optional property not found + $FormConditions = $null + } else { + $FormConditions = $JsonParameters.PSobject.Properties["formConditions"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "formElements"))) { #optional property not found + $FormElements = $null + } else { + $FormElements = $JsonParameters.PSobject.Properties["formElements"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "formInput"))) { #optional property not found + $FormInput = $null + } else { + $FormInput = $JsonParameters.PSobject.Properties["formInput"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "usedBy"))) { #optional property not found + $UsedBy = $null + } else { + $UsedBy = $JsonParameters.PSobject.Properties["usedBy"].value + } + + $PSO = [PSCustomObject]@{ + "description" = ${Description} + "formConditions" = ${FormConditions} + "formElements" = ${FormElements} + "formInput" = ${FormInput} + "name" = ${Name} + "owner" = ${Owner} + "usedBy" = ${UsedBy} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CreateFormInstanceRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CreateFormInstanceRequest.ps1 new file mode 100644 index 000000000..64c8b7067 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CreateFormInstanceRequest.ps1 @@ -0,0 +1,208 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER CreatedBy +No description available. +.PARAMETER Expire +Expire is required +.PARAMETER FormDefinitionId +FormDefinitionID is the id of the form definition that created this form +.PARAMETER FormInput +FormInput is an object of form input labels to value +.PARAMETER Recipients +Recipients is required +.PARAMETER StandAloneForm +StandAloneForm is a boolean flag to indicate if this form should be available for users to complete via the standalone form UI or should this only be available to be completed by as an embedded form +.PARAMETER State +State is required, if not present initial state is FormInstanceStateAssigned ASSIGNED FormInstanceStateAssigned IN_PROGRESS FormInstanceStateInProgress SUBMITTED FormInstanceStateSubmitted COMPLETED FormInstanceStateCompleted CANCELLED FormInstanceStateCancelled +.PARAMETER Ttl +TTL an epoch timestamp in seconds, it most be in seconds or dynamodb will ignore it SEE: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/time-to-live-ttl-before-you-start.html +.OUTPUTS + +CreateFormInstanceRequest +#> + +function Initialize-V2024CreateFormInstanceRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${CreatedBy}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Expire}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${FormDefinitionId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${FormInput}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Recipients}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${StandAloneForm} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ASSIGNED", "IN_PROGRESS", "SUBMITTED", "COMPLETED", "CANCELLED")] + [String] + ${State}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int64]] + ${Ttl} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CreateFormInstanceRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$CreatedBy) { + throw "invalid value for 'CreatedBy', 'CreatedBy' cannot be null." + } + + if (!$Expire) { + throw "invalid value for 'Expire', 'Expire' cannot be null." + } + + if (!$FormDefinitionId) { + throw "invalid value for 'FormDefinitionId', 'FormDefinitionId' cannot be null." + } + + if (!$Recipients) { + throw "invalid value for 'Recipients', 'Recipients' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "createdBy" = ${CreatedBy} + "expire" = ${Expire} + "formDefinitionId" = ${FormDefinitionId} + "formInput" = ${FormInput} + "recipients" = ${Recipients} + "standAloneForm" = ${StandAloneForm} + "state" = ${State} + "ttl" = ${Ttl} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CreateFormInstanceRequest + +.DESCRIPTION + +Convert from JSON to CreateFormInstanceRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +CreateFormInstanceRequest +#> +function ConvertFrom-V2024JsonToCreateFormInstanceRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CreateFormInstanceRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CreateFormInstanceRequest + $AllProperties = ("createdBy", "expire", "formDefinitionId", "formInput", "recipients", "standAloneForm", "state", "ttl") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'createdBy' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "createdBy"))) { + throw "Error! JSON cannot be serialized due to the required property 'createdBy' missing." + } else { + $CreatedBy = $JsonParameters.PSobject.Properties["createdBy"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "expire"))) { + throw "Error! JSON cannot be serialized due to the required property 'expire' missing." + } else { + $Expire = $JsonParameters.PSobject.Properties["expire"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "formDefinitionId"))) { + throw "Error! JSON cannot be serialized due to the required property 'formDefinitionId' missing." + } else { + $FormDefinitionId = $JsonParameters.PSobject.Properties["formDefinitionId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "recipients"))) { + throw "Error! JSON cannot be serialized due to the required property 'recipients' missing." + } else { + $Recipients = $JsonParameters.PSobject.Properties["recipients"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "formInput"))) { #optional property not found + $FormInput = $null + } else { + $FormInput = $JsonParameters.PSobject.Properties["formInput"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "standAloneForm"))) { #optional property not found + $StandAloneForm = $null + } else { + $StandAloneForm = $JsonParameters.PSobject.Properties["standAloneForm"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "state"))) { #optional property not found + $State = $null + } else { + $State = $JsonParameters.PSobject.Properties["state"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "ttl"))) { #optional property not found + $Ttl = $null + } else { + $Ttl = $JsonParameters.PSobject.Properties["ttl"].value + } + + $PSO = [PSCustomObject]@{ + "createdBy" = ${CreatedBy} + "expire" = ${Expire} + "formDefinitionId" = ${FormDefinitionId} + "formInput" = ${FormInput} + "recipients" = ${Recipients} + "standAloneForm" = ${StandAloneForm} + "state" = ${State} + "ttl" = ${Ttl} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CreateOAuthClientRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CreateOAuthClientRequest.ps1 new file mode 100644 index 000000000..53b3cd64a --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CreateOAuthClientRequest.ps1 @@ -0,0 +1,296 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER BusinessName +The name of the business the API Client should belong to +.PARAMETER HomepageUrl +The homepage URL associated with the owner of the API Client +.PARAMETER Name +A human-readable name for the API Client +.PARAMETER Description +A description of the API Client +.PARAMETER AccessTokenValiditySeconds +The number of seconds an access token generated for this API Client is valid for +.PARAMETER RefreshTokenValiditySeconds +The number of seconds a refresh token generated for this API Client is valid for +.PARAMETER RedirectUris +A list of the approved redirect URIs. Provide one or more URIs when assigning the AUTHORIZATION_CODE grant type to a new OAuth Client. +.PARAMETER GrantTypes +A list of OAuth 2.0 grant types this API Client can be used with +.PARAMETER AccessType +No description available. +.PARAMETER Type +No description available. +.PARAMETER Internal +An indicator of whether the API Client can be used for requests internal within the product. +.PARAMETER Enabled +An indicator of whether the API Client is enabled for use +.PARAMETER StrongAuthSupported +An indicator of whether the API Client supports strong authentication +.PARAMETER ClaimsSupported +An indicator of whether the API Client supports the serialization of SAML claims when used with the authorization_code flow +.PARAMETER Scope +Scopes of the API Client. If no scope is specified, the client will be created with the default scope ""sp:scopes:all"". This means the API Client will have all the rights of the owner who created it. +.OUTPUTS + +CreateOAuthClientRequest +#> + +function Initialize-V2024CreateOAuthClientRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${BusinessName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${HomepageUrl}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Int32] + ${AccessTokenValiditySeconds}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${RefreshTokenValiditySeconds}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${RedirectUris}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${GrantTypes}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ONLINE", "OFFLINE")] + [PSCustomObject] + ${AccessType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("CONFIDENTIAL", "PUBLIC")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Internal}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Boolean] + ${Enabled}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${StrongAuthSupported}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${ClaimsSupported}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Scope} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CreateOAuthClientRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$AccessTokenValiditySeconds) { + throw "invalid value for 'AccessTokenValiditySeconds', 'AccessTokenValiditySeconds' cannot be null." + } + + if (!$AccessType) { + throw "invalid value for 'AccessType', 'AccessType' cannot be null." + } + + if (!$Enabled) { + throw "invalid value for 'Enabled', 'Enabled' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "businessName" = ${BusinessName} + "homepageUrl" = ${HomepageUrl} + "name" = ${Name} + "description" = ${Description} + "accessTokenValiditySeconds" = ${AccessTokenValiditySeconds} + "refreshTokenValiditySeconds" = ${RefreshTokenValiditySeconds} + "redirectUris" = ${RedirectUris} + "grantTypes" = ${GrantTypes} + "accessType" = ${AccessType} + "type" = ${Type} + "internal" = ${Internal} + "enabled" = ${Enabled} + "strongAuthSupported" = ${StrongAuthSupported} + "claimsSupported" = ${ClaimsSupported} + "scope" = ${Scope} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CreateOAuthClientRequest + +.DESCRIPTION + +Convert from JSON to CreateOAuthClientRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +CreateOAuthClientRequest +#> +function ConvertFrom-V2024JsonToCreateOAuthClientRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CreateOAuthClientRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CreateOAuthClientRequest + $AllProperties = ("businessName", "homepageUrl", "name", "description", "accessTokenValiditySeconds", "refreshTokenValiditySeconds", "redirectUris", "grantTypes", "accessType", "type", "internal", "enabled", "strongAuthSupported", "claimsSupported", "scope") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'name' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { + throw "Error! JSON cannot be serialized due to the required property 'description' missing." + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accessTokenValiditySeconds"))) { + throw "Error! JSON cannot be serialized due to the required property 'accessTokenValiditySeconds' missing." + } else { + $AccessTokenValiditySeconds = $JsonParameters.PSobject.Properties["accessTokenValiditySeconds"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "grantTypes"))) { + throw "Error! JSON cannot be serialized due to the required property 'grantTypes' missing." + } else { + $GrantTypes = $JsonParameters.PSobject.Properties["grantTypes"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accessType"))) { + throw "Error! JSON cannot be serialized due to the required property 'accessType' missing." + } else { + $AccessType = $JsonParameters.PSobject.Properties["accessType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "enabled"))) { + throw "Error! JSON cannot be serialized due to the required property 'enabled' missing." + } else { + $Enabled = $JsonParameters.PSobject.Properties["enabled"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "businessName"))) { #optional property not found + $BusinessName = $null + } else { + $BusinessName = $JsonParameters.PSobject.Properties["businessName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "homepageUrl"))) { #optional property not found + $HomepageUrl = $null + } else { + $HomepageUrl = $JsonParameters.PSobject.Properties["homepageUrl"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "refreshTokenValiditySeconds"))) { #optional property not found + $RefreshTokenValiditySeconds = $null + } else { + $RefreshTokenValiditySeconds = $JsonParameters.PSobject.Properties["refreshTokenValiditySeconds"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "redirectUris"))) { #optional property not found + $RedirectUris = $null + } else { + $RedirectUris = $JsonParameters.PSobject.Properties["redirectUris"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "internal"))) { #optional property not found + $Internal = $null + } else { + $Internal = $JsonParameters.PSobject.Properties["internal"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "strongAuthSupported"))) { #optional property not found + $StrongAuthSupported = $null + } else { + $StrongAuthSupported = $JsonParameters.PSobject.Properties["strongAuthSupported"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "claimsSupported"))) { #optional property not found + $ClaimsSupported = $null + } else { + $ClaimsSupported = $JsonParameters.PSobject.Properties["claimsSupported"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "scope"))) { #optional property not found + $Scope = $null + } else { + $Scope = $JsonParameters.PSobject.Properties["scope"].value + } + + $PSO = [PSCustomObject]@{ + "businessName" = ${BusinessName} + "homepageUrl" = ${HomepageUrl} + "name" = ${Name} + "description" = ${Description} + "accessTokenValiditySeconds" = ${AccessTokenValiditySeconds} + "refreshTokenValiditySeconds" = ${RefreshTokenValiditySeconds} + "redirectUris" = ${RedirectUris} + "grantTypes" = ${GrantTypes} + "accessType" = ${AccessType} + "type" = ${Type} + "internal" = ${Internal} + "enabled" = ${Enabled} + "strongAuthSupported" = ${StrongAuthSupported} + "claimsSupported" = ${ClaimsSupported} + "scope" = ${Scope} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CreateOAuthClientResponse.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CreateOAuthClientResponse.ps1 new file mode 100644 index 000000000..28608e60f --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CreateOAuthClientResponse.ps1 @@ -0,0 +1,408 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +ID of the OAuth client +.PARAMETER Secret +Secret of the OAuth client (This field is only returned on the intial create call.) +.PARAMETER BusinessName +The name of the business the API Client should belong to +.PARAMETER HomepageUrl +The homepage URL associated with the owner of the API Client +.PARAMETER Name +A human-readable name for the API Client +.PARAMETER Description +A description of the API Client +.PARAMETER AccessTokenValiditySeconds +The number of seconds an access token generated for this API Client is valid for +.PARAMETER RefreshTokenValiditySeconds +The number of seconds a refresh token generated for this API Client is valid for +.PARAMETER RedirectUris +A list of the approved redirect URIs used with the authorization_code flow +.PARAMETER GrantTypes +A list of OAuth 2.0 grant types this API Client can be used with +.PARAMETER AccessType +No description available. +.PARAMETER Type +No description available. +.PARAMETER Internal +An indicator of whether the API Client can be used for requests internal to IDN +.PARAMETER Enabled +An indicator of whether the API Client is enabled for use +.PARAMETER StrongAuthSupported +An indicator of whether the API Client supports strong authentication +.PARAMETER ClaimsSupported +An indicator of whether the API Client supports the serialization of SAML claims when used with the authorization_code flow +.PARAMETER Created +The date and time, down to the millisecond, when the API Client was created +.PARAMETER Modified +The date and time, down to the millisecond, when the API Client was last updated +.PARAMETER Scope +Scopes of the API Client. +.OUTPUTS + +CreateOAuthClientResponse +#> + +function Initialize-V2024CreateOAuthClientResponse { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Secret}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${BusinessName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${HomepageUrl}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Int32] + ${AccessTokenValiditySeconds}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Int32] + ${RefreshTokenValiditySeconds}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${RedirectUris}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${GrantTypes}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ONLINE", "OFFLINE")] + [PSCustomObject] + ${AccessType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("CONFIDENTIAL", "PUBLIC")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Boolean] + ${Internal}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Boolean] + ${Enabled}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Boolean] + ${StrongAuthSupported}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Boolean] + ${ClaimsSupported}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.DateTime] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.DateTime] + ${Modified}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Scope} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CreateOAuthClientResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Secret) { + throw "invalid value for 'Secret', 'Secret' cannot be null." + } + + if (!$BusinessName) { + throw "invalid value for 'BusinessName', 'BusinessName' cannot be null." + } + + if (!$HomepageUrl) { + throw "invalid value for 'HomepageUrl', 'HomepageUrl' cannot be null." + } + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if (!$Description) { + throw "invalid value for 'Description', 'Description' cannot be null." + } + + if (!$AccessTokenValiditySeconds) { + throw "invalid value for 'AccessTokenValiditySeconds', 'AccessTokenValiditySeconds' cannot be null." + } + + if (!$RefreshTokenValiditySeconds) { + throw "invalid value for 'RefreshTokenValiditySeconds', 'RefreshTokenValiditySeconds' cannot be null." + } + + if (!$RedirectUris) { + throw "invalid value for 'RedirectUris', 'RedirectUris' cannot be null." + } + + if (!$GrantTypes) { + throw "invalid value for 'GrantTypes', 'GrantTypes' cannot be null." + } + + if (!$AccessType) { + throw "invalid value for 'AccessType', 'AccessType' cannot be null." + } + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Internal) { + throw "invalid value for 'Internal', 'Internal' cannot be null." + } + + if (!$Enabled) { + throw "invalid value for 'Enabled', 'Enabled' cannot be null." + } + + if (!$StrongAuthSupported) { + throw "invalid value for 'StrongAuthSupported', 'StrongAuthSupported' cannot be null." + } + + if (!$ClaimsSupported) { + throw "invalid value for 'ClaimsSupported', 'ClaimsSupported' cannot be null." + } + + if (!$Created) { + throw "invalid value for 'Created', 'Created' cannot be null." + } + + if (!$Modified) { + throw "invalid value for 'Modified', 'Modified' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "secret" = ${Secret} + "businessName" = ${BusinessName} + "homepageUrl" = ${HomepageUrl} + "name" = ${Name} + "description" = ${Description} + "accessTokenValiditySeconds" = ${AccessTokenValiditySeconds} + "refreshTokenValiditySeconds" = ${RefreshTokenValiditySeconds} + "redirectUris" = ${RedirectUris} + "grantTypes" = ${GrantTypes} + "accessType" = ${AccessType} + "type" = ${Type} + "internal" = ${Internal} + "enabled" = ${Enabled} + "strongAuthSupported" = ${StrongAuthSupported} + "claimsSupported" = ${ClaimsSupported} + "created" = ${Created} + "modified" = ${Modified} + "scope" = ${Scope} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CreateOAuthClientResponse + +.DESCRIPTION + +Convert from JSON to CreateOAuthClientResponse + +.PARAMETER Json + +Json object + +.OUTPUTS + +CreateOAuthClientResponse +#> +function ConvertFrom-V2024JsonToCreateOAuthClientResponse { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CreateOAuthClientResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CreateOAuthClientResponse + $AllProperties = ("id", "secret", "businessName", "homepageUrl", "name", "description", "accessTokenValiditySeconds", "refreshTokenValiditySeconds", "redirectUris", "grantTypes", "accessType", "type", "internal", "enabled", "strongAuthSupported", "claimsSupported", "created", "modified", "scope") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'id' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "secret"))) { + throw "Error! JSON cannot be serialized due to the required property 'secret' missing." + } else { + $Secret = $JsonParameters.PSobject.Properties["secret"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "businessName"))) { + throw "Error! JSON cannot be serialized due to the required property 'businessName' missing." + } else { + $BusinessName = $JsonParameters.PSobject.Properties["businessName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "homepageUrl"))) { + throw "Error! JSON cannot be serialized due to the required property 'homepageUrl' missing." + } else { + $HomepageUrl = $JsonParameters.PSobject.Properties["homepageUrl"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { + throw "Error! JSON cannot be serialized due to the required property 'description' missing." + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accessTokenValiditySeconds"))) { + throw "Error! JSON cannot be serialized due to the required property 'accessTokenValiditySeconds' missing." + } else { + $AccessTokenValiditySeconds = $JsonParameters.PSobject.Properties["accessTokenValiditySeconds"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "refreshTokenValiditySeconds"))) { + throw "Error! JSON cannot be serialized due to the required property 'refreshTokenValiditySeconds' missing." + } else { + $RefreshTokenValiditySeconds = $JsonParameters.PSobject.Properties["refreshTokenValiditySeconds"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "redirectUris"))) { + throw "Error! JSON cannot be serialized due to the required property 'redirectUris' missing." + } else { + $RedirectUris = $JsonParameters.PSobject.Properties["redirectUris"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "grantTypes"))) { + throw "Error! JSON cannot be serialized due to the required property 'grantTypes' missing." + } else { + $GrantTypes = $JsonParameters.PSobject.Properties["grantTypes"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accessType"))) { + throw "Error! JSON cannot be serialized due to the required property 'accessType' missing." + } else { + $AccessType = $JsonParameters.PSobject.Properties["accessType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "internal"))) { + throw "Error! JSON cannot be serialized due to the required property 'internal' missing." + } else { + $Internal = $JsonParameters.PSobject.Properties["internal"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "enabled"))) { + throw "Error! JSON cannot be serialized due to the required property 'enabled' missing." + } else { + $Enabled = $JsonParameters.PSobject.Properties["enabled"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "strongAuthSupported"))) { + throw "Error! JSON cannot be serialized due to the required property 'strongAuthSupported' missing." + } else { + $StrongAuthSupported = $JsonParameters.PSobject.Properties["strongAuthSupported"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "claimsSupported"))) { + throw "Error! JSON cannot be serialized due to the required property 'claimsSupported' missing." + } else { + $ClaimsSupported = $JsonParameters.PSobject.Properties["claimsSupported"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { + throw "Error! JSON cannot be serialized due to the required property 'created' missing." + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { + throw "Error! JSON cannot be serialized due to the required property 'modified' missing." + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "scope"))) { + throw "Error! JSON cannot be serialized due to the required property 'scope' missing." + } else { + $Scope = $JsonParameters.PSobject.Properties["scope"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "secret" = ${Secret} + "businessName" = ${BusinessName} + "homepageUrl" = ${HomepageUrl} + "name" = ${Name} + "description" = ${Description} + "accessTokenValiditySeconds" = ${AccessTokenValiditySeconds} + "refreshTokenValiditySeconds" = ${RefreshTokenValiditySeconds} + "redirectUris" = ${RedirectUris} + "grantTypes" = ${GrantTypes} + "accessType" = ${AccessType} + "type" = ${Type} + "internal" = ${Internal} + "enabled" = ${Enabled} + "strongAuthSupported" = ${StrongAuthSupported} + "claimsSupported" = ${ClaimsSupported} + "created" = ${Created} + "modified" = ${Modified} + "scope" = ${Scope} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CreatePersonalAccessTokenRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CreatePersonalAccessTokenRequest.ps1 new file mode 100644 index 000000000..86be39008 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CreatePersonalAccessTokenRequest.ps1 @@ -0,0 +1,117 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Object for specifying the name of a personal access token to create + +.PARAMETER Name +The name of the personal access token (PAT) to be created. Cannot be the same as another PAT owned by the user for whom this PAT is being created. +.PARAMETER Scope +Scopes of the personal access token. If no scope is specified, the token will be created with the default scope ""sp:scopes:all"". This means the personal access token will have all the rights of the owner who created it. +.OUTPUTS + +CreatePersonalAccessTokenRequest +#> + +function Initialize-V2024CreatePersonalAccessTokenRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Scope} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CreatePersonalAccessTokenRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "scope" = ${Scope} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CreatePersonalAccessTokenRequest + +.DESCRIPTION + +Convert from JSON to CreatePersonalAccessTokenRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +CreatePersonalAccessTokenRequest +#> +function ConvertFrom-V2024JsonToCreatePersonalAccessTokenRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CreatePersonalAccessTokenRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CreatePersonalAccessTokenRequest + $AllProperties = ("name", "scope") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'name' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "scope"))) { #optional property not found + $Scope = $null + } else { + $Scope = $JsonParameters.PSobject.Properties["scope"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "scope" = ${Scope} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CreatePersonalAccessTokenResponse.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CreatePersonalAccessTokenResponse.ps1 new file mode 100644 index 000000000..6d25d2f43 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CreatePersonalAccessTokenResponse.ps1 @@ -0,0 +1,185 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +The ID of the personal access token (to be used as the username for Basic Auth). +.PARAMETER Secret +The secret of the personal access token (to be used as the password for Basic Auth). +.PARAMETER Scope +Scopes of the personal access token. +.PARAMETER Name +The name of the personal access token. Cannot be the same as other personal access tokens owned by a user. +.PARAMETER Owner +No description available. +.PARAMETER Created +The date and time, down to the millisecond, when this personal access token was created. +.OUTPUTS + +CreatePersonalAccessTokenResponse +#> + +function Initialize-V2024CreatePersonalAccessTokenResponse { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Secret}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Scope}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Owner}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.DateTime] + ${Created} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CreatePersonalAccessTokenResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Secret) { + throw "invalid value for 'Secret', 'Secret' cannot be null." + } + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if (!$Owner) { + throw "invalid value for 'Owner', 'Owner' cannot be null." + } + + if (!$Created) { + throw "invalid value for 'Created', 'Created' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "secret" = ${Secret} + "scope" = ${Scope} + "name" = ${Name} + "owner" = ${Owner} + "created" = ${Created} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CreatePersonalAccessTokenResponse + +.DESCRIPTION + +Convert from JSON to CreatePersonalAccessTokenResponse + +.PARAMETER Json + +Json object + +.OUTPUTS + +CreatePersonalAccessTokenResponse +#> +function ConvertFrom-V2024JsonToCreatePersonalAccessTokenResponse { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CreatePersonalAccessTokenResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CreatePersonalAccessTokenResponse + $AllProperties = ("id", "secret", "scope", "name", "owner", "created") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'id' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "secret"))) { + throw "Error! JSON cannot be serialized due to the required property 'secret' missing." + } else { + $Secret = $JsonParameters.PSobject.Properties["secret"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "scope"))) { + throw "Error! JSON cannot be serialized due to the required property 'scope' missing." + } else { + $Scope = $JsonParameters.PSobject.Properties["scope"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "owner"))) { + throw "Error! JSON cannot be serialized due to the required property 'owner' missing." + } else { + $Owner = $JsonParameters.PSobject.Properties["owner"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { + throw "Error! JSON cannot be serialized due to the required property 'created' missing." + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "secret" = ${Secret} + "scope" = ${Scope} + "name" = ${Name} + "owner" = ${Owner} + "created" = ${Created} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CreateSavedSearchRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CreateSavedSearchRequest.ps1 new file mode 100644 index 000000000..d26a8c78d --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CreateSavedSearchRequest.ps1 @@ -0,0 +1,238 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Name +The name of the saved search. +.PARAMETER Description +The description of the saved search. +.PARAMETER Created +A date-time in ISO-8601 format +.PARAMETER Modified +A date-time in ISO-8601 format +.PARAMETER Indices +The names of the Elasticsearch indices in which to search. +.PARAMETER Columns +The columns to be returned (specifies the order in which they will be presented) for each document type. The currently supported document types are: _accessprofile_, _accountactivity_, _account_, _aggregation_, _entitlement_, _event_, _identity_, and _role_. +.PARAMETER Query +The search query using Elasticsearch [Query String Query](https://www.elastic.co/guide/en/elasticsearch/reference/5.2/query-dsl-query-string-query.html#query-string) syntax from the Query DSL. +.PARAMETER Fields +The fields to be searched against in a multi-field query. +.PARAMETER OrderBy +Sort by index. This takes precedence over the `sort` property. +.PARAMETER Sort +The fields to be used to sort the search results. +.PARAMETER Filters +No description available. +.OUTPUTS + +CreateSavedSearchRequest +#> + +function Initialize-V2024CreateSavedSearchRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Modified}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Indices}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${Columns}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Query}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Fields}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${OrderBy}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Sort}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Filters} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CreateSavedSearchRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Indices) { + throw "invalid value for 'Indices', 'Indices' cannot be null." + } + + if (!$Query) { + throw "invalid value for 'Query', 'Query' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "description" = ${Description} + "created" = ${Created} + "modified" = ${Modified} + "indices" = ${Indices} + "columns" = ${Columns} + "query" = ${Query} + "fields" = ${Fields} + "orderBy" = ${OrderBy} + "sort" = ${Sort} + "filters" = ${Filters} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CreateSavedSearchRequest + +.DESCRIPTION + +Convert from JSON to CreateSavedSearchRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +CreateSavedSearchRequest +#> +function ConvertFrom-V2024JsonToCreateSavedSearchRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CreateSavedSearchRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CreateSavedSearchRequest + $AllProperties = ("name", "description", "created", "modified", "indices", "columns", "query", "fields", "orderBy", "sort", "filters") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'indices' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "indices"))) { + throw "Error! JSON cannot be serialized due to the required property 'indices' missing." + } else { + $Indices = $JsonParameters.PSobject.Properties["indices"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "query"))) { + throw "Error! JSON cannot be serialized due to the required property 'query' missing." + } else { + $Query = $JsonParameters.PSobject.Properties["query"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "columns"))) { #optional property not found + $Columns = $null + } else { + $Columns = $JsonParameters.PSobject.Properties["columns"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "fields"))) { #optional property not found + $Fields = $null + } else { + $Fields = $JsonParameters.PSobject.Properties["fields"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "orderBy"))) { #optional property not found + $OrderBy = $null + } else { + $OrderBy = $JsonParameters.PSobject.Properties["orderBy"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sort"))) { #optional property not found + $Sort = $null + } else { + $Sort = $JsonParameters.PSobject.Properties["sort"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "filters"))) { #optional property not found + $Filters = $null + } else { + $Filters = $JsonParameters.PSobject.Properties["filters"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "description" = ${Description} + "created" = ${Created} + "modified" = ${Modified} + "indices" = ${Indices} + "columns" = ${Columns} + "query" = ${Query} + "fields" = ${Fields} + "orderBy" = ${OrderBy} + "sort" = ${Sort} + "filters" = ${Filters} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CreateScheduledSearchRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CreateScheduledSearchRequest.ps1 new file mode 100644 index 000000000..100664e15 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CreateScheduledSearchRequest.ps1 @@ -0,0 +1,217 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Name +The name of the scheduled search. +.PARAMETER Description +The description of the scheduled search. +.PARAMETER SavedSearchId +The ID of the saved search that will be executed. +.PARAMETER Schedule +No description available. +.PARAMETER Recipients +A list of identities that should receive the scheduled search report via email. +.PARAMETER Enabled +Indicates if the scheduled search is enabled. +.PARAMETER EmailEmptyResults +Indicates if email generation should occur when search returns no results. +.PARAMETER DisplayQueryDetails +Indicates if the generated email should include the query and search results preview (which could include PII). +.OUTPUTS + +CreateScheduledSearchRequest +#> + +function Initialize-V2024CreateScheduledSearchRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SavedSearchId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Schedule}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Recipients}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Enabled} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${EmailEmptyResults} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${DisplayQueryDetails} = $false + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CreateScheduledSearchRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$SavedSearchId) { + throw "invalid value for 'SavedSearchId', 'SavedSearchId' cannot be null." + } + + if (!$Schedule) { + throw "invalid value for 'Schedule', 'Schedule' cannot be null." + } + + if (!$Recipients) { + throw "invalid value for 'Recipients', 'Recipients' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "description" = ${Description} + "savedSearchId" = ${SavedSearchId} + "schedule" = ${Schedule} + "recipients" = ${Recipients} + "enabled" = ${Enabled} + "emailEmptyResults" = ${EmailEmptyResults} + "displayQueryDetails" = ${DisplayQueryDetails} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CreateScheduledSearchRequest + +.DESCRIPTION + +Convert from JSON to CreateScheduledSearchRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +CreateScheduledSearchRequest +#> +function ConvertFrom-V2024JsonToCreateScheduledSearchRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CreateScheduledSearchRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CreateScheduledSearchRequest + $AllProperties = ("name", "description", "savedSearchId", "created", "modified", "schedule", "recipients", "enabled", "emailEmptyResults", "displayQueryDetails") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'savedSearchId' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "savedSearchId"))) { + throw "Error! JSON cannot be serialized due to the required property 'savedSearchId' missing." + } else { + $SavedSearchId = $JsonParameters.PSobject.Properties["savedSearchId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "schedule"))) { + throw "Error! JSON cannot be serialized due to the required property 'schedule' missing." + } else { + $Schedule = $JsonParameters.PSobject.Properties["schedule"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "recipients"))) { + throw "Error! JSON cannot be serialized due to the required property 'recipients' missing." + } else { + $Recipients = $JsonParameters.PSobject.Properties["recipients"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "enabled"))) { #optional property not found + $Enabled = $null + } else { + $Enabled = $JsonParameters.PSobject.Properties["enabled"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "emailEmptyResults"))) { #optional property not found + $EmailEmptyResults = $null + } else { + $EmailEmptyResults = $JsonParameters.PSobject.Properties["emailEmptyResults"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "displayQueryDetails"))) { #optional property not found + $DisplayQueryDetails = $null + } else { + $DisplayQueryDetails = $JsonParameters.PSobject.Properties["displayQueryDetails"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "description" = ${Description} + "savedSearchId" = ${SavedSearchId} + "created" = ${Created} + "modified" = ${Modified} + "schedule" = ${Schedule} + "recipients" = ${Recipients} + "enabled" = ${Enabled} + "emailEmptyResults" = ${EmailEmptyResults} + "displayQueryDetails" = ${DisplayQueryDetails} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CreateWorkflowRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CreateWorkflowRequest.ps1 new file mode 100644 index 000000000..d52e8c6a6 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CreateWorkflowRequest.ps1 @@ -0,0 +1,173 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Name +The name of the workflow +.PARAMETER Owner +No description available. +.PARAMETER Description +Description of what the workflow accomplishes +.PARAMETER Definition +No description available. +.PARAMETER Enabled +Enable or disable the workflow. Workflows cannot be created in an enabled state. +.PARAMETER Trigger +No description available. +.OUTPUTS + +CreateWorkflowRequest +#> + +function Initialize-V2024CreateWorkflowRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Owner}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Definition}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Enabled} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Trigger} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CreateWorkflowRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if (!$Owner) { + throw "invalid value for 'Owner', 'Owner' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "owner" = ${Owner} + "description" = ${Description} + "definition" = ${Definition} + "enabled" = ${Enabled} + "trigger" = ${Trigger} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CreateWorkflowRequest + +.DESCRIPTION + +Convert from JSON to CreateWorkflowRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +CreateWorkflowRequest +#> +function ConvertFrom-V2024JsonToCreateWorkflowRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CreateWorkflowRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CreateWorkflowRequest + $AllProperties = ("name", "owner", "description", "definition", "enabled", "trigger") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'name' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "owner"))) { + throw "Error! JSON cannot be serialized due to the required property 'owner' missing." + } else { + $Owner = $JsonParameters.PSobject.Properties["owner"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "definition"))) { #optional property not found + $Definition = $null + } else { + $Definition = $JsonParameters.PSobject.Properties["definition"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "enabled"))) { #optional property not found + $Enabled = $null + } else { + $Enabled = $JsonParameters.PSobject.Properties["enabled"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "trigger"))) { #optional property not found + $Trigger = $null + } else { + $Trigger = $JsonParameters.PSobject.Properties["trigger"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "owner" = ${Owner} + "description" = ${Description} + "definition" = ${Definition} + "enabled" = ${Enabled} + "trigger" = ${Trigger} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CriteriaType.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CriteriaType.ps1 new file mode 100644 index 000000000..0a94ec97f --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CriteriaType.ps1 @@ -0,0 +1,40 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum CriteriaType. + +.DESCRIPTION + +Type of the criteria in the filter. The `COMPOSITE` filter can contain multiple filters in an AND/OR relationship. +#> + +enum CriteriaType { + # enum value: "COMPOSITE" + COMPOSITE + # enum value: "ROLE" + ROLE + # enum value: "IDENTITY" + IDENTITY + # enum value: "IDENTITY_ATTRIBUTE" + IDENTITY_ATTRIBUTE + # enum value: "ENTITLEMENT" + ENTITLEMENT + # enum value: "ACCESS_PROFILE" + ACCESS_PROFILE + # enum value: "SOURCE" + SOURCE + # enum value: "ACCOUNT" + ACCOUNT + # enum value: "AGGREGATED_ENTITLEMENT" + AGGREGATED_ENTITLEMENT + # enum value: "INVALID_CERTIFIABLE_ENTITY" + INVALID_CERTIFIABLE_ENTITY +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/CustomPasswordInstruction.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CustomPasswordInstruction.ps1 new file mode 100644 index 000000000..ed90d4408 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/CustomPasswordInstruction.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER PageId +The page ID that represents the page for forget user name, reset password and unlock account flow. +.PARAMETER PageContent +The custom instructions for the specified page. Allow basic HTML format and maximum length is 1000 characters. The custom instructions will be sanitized to avoid attacks. If the customization text includes a link, like ... clicking on this will open the link on the current browser page. If you want your link to be redirected to a different page, please redirect it to ""_blank"" like this: link. This will open a new tab when the link is clicked. Notice we're only supporting _blank as the redirection target. +.PARAMETER Locale +The locale for the custom instructions, a BCP47 language tag. The default value is \""default\"". +.OUTPUTS + +CustomPasswordInstruction +#> + +function Initialize-V2024CustomPasswordInstruction { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("change-password:enter-password", "change-password:finish", "flow-selection:select", "forget-username:user-email", "mfa:enter-code", "mfa:enter-kba", "mfa:select", "reset-password:enter-password", "reset-password:enter-username", "reset-password:finish", "unlock-account:enter-username", "unlock-account:finish")] + [String] + ${PageId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${PageContent}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Locale} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024CustomPasswordInstruction' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "pageId" = ${PageId} + "pageContent" = ${PageContent} + "locale" = ${Locale} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to CustomPasswordInstruction + +.DESCRIPTION + +Convert from JSON to CustomPasswordInstruction + +.PARAMETER Json + +Json object + +.OUTPUTS + +CustomPasswordInstruction +#> +function ConvertFrom-V2024JsonToCustomPasswordInstruction { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024CustomPasswordInstruction' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024CustomPasswordInstruction + $AllProperties = ("pageId", "pageContent", "locale") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "pageId"))) { #optional property not found + $PageId = $null + } else { + $PageId = $JsonParameters.PSobject.Properties["pageId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "pageContent"))) { #optional property not found + $PageContent = $null + } else { + $PageContent = $JsonParameters.PSobject.Properties["pageContent"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "locale"))) { #optional property not found + $Locale = $null + } else { + $Locale = $JsonParameters.PSobject.Properties["locale"].value + } + + $PSO = [PSCustomObject]@{ + "pageId" = ${PageId} + "pageContent" = ${PageContent} + "locale" = ${Locale} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/DataAccess.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/DataAccess.ps1 new file mode 100644 index 000000000..683f60f19 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/DataAccess.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +DAS data for the entitlement + +.PARAMETER Policies +List of classification policies that apply to resources the entitlement \ groups has access to +.PARAMETER Categories +List of classification categories that apply to resources the entitlement \ groups has access to +.PARAMETER ImpactScore +No description available. +.OUTPUTS + +DataAccess +#> + +function Initialize-V2024DataAccess { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Policies}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Categories}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${ImpactScore} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024DataAccess' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "policies" = ${Policies} + "categories" = ${Categories} + "impactScore" = ${ImpactScore} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to DataAccess + +.DESCRIPTION + +Convert from JSON to DataAccess + +.PARAMETER Json + +Json object + +.OUTPUTS + +DataAccess +#> +function ConvertFrom-V2024JsonToDataAccess { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024DataAccess' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024DataAccess + $AllProperties = ("policies", "categories", "impactScore") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "policies"))) { #optional property not found + $Policies = $null + } else { + $Policies = $JsonParameters.PSobject.Properties["policies"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "categories"))) { #optional property not found + $Categories = $null + } else { + $Categories = $JsonParameters.PSobject.Properties["categories"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "impactScore"))) { #optional property not found + $ImpactScore = $null + } else { + $ImpactScore = $JsonParameters.PSobject.Properties["impactScore"].value + } + + $PSO = [PSCustomObject]@{ + "policies" = ${Policies} + "categories" = ${Categories} + "impactScore" = ${ImpactScore} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/DataAccessCategoriesInner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/DataAccessCategoriesInner.ps1 new file mode 100644 index 000000000..651a30124 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/DataAccessCategoriesInner.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Value +Value of the category +.PARAMETER MatchCount +Number of matched for each category +.OUTPUTS + +DataAccessCategoriesInner +#> + +function Initialize-V2024DataAccessCategoriesInner { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Value}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${MatchCount} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024DataAccessCategoriesInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "value" = ${Value} + "matchCount" = ${MatchCount} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to DataAccessCategoriesInner + +.DESCRIPTION + +Convert from JSON to DataAccessCategoriesInner + +.PARAMETER Json + +Json object + +.OUTPUTS + +DataAccessCategoriesInner +#> +function ConvertFrom-V2024JsonToDataAccessCategoriesInner { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024DataAccessCategoriesInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024DataAccessCategoriesInner + $AllProperties = ("value", "matchCount") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "value"))) { #optional property not found + $Value = $null + } else { + $Value = $JsonParameters.PSobject.Properties["value"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "matchCount"))) { #optional property not found + $MatchCount = $null + } else { + $MatchCount = $JsonParameters.PSobject.Properties["matchCount"].value + } + + $PSO = [PSCustomObject]@{ + "value" = ${Value} + "matchCount" = ${MatchCount} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/DataAccessImpactScore.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/DataAccessImpactScore.ps1 new file mode 100644 index 000000000..93fa8f305 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/DataAccessImpactScore.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Value +Impact Score for this data +.OUTPUTS + +DataAccessImpactScore +#> + +function Initialize-V2024DataAccessImpactScore { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Value} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024DataAccessImpactScore' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "value" = ${Value} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to DataAccessImpactScore + +.DESCRIPTION + +Convert from JSON to DataAccessImpactScore + +.PARAMETER Json + +Json object + +.OUTPUTS + +DataAccessImpactScore +#> +function ConvertFrom-V2024JsonToDataAccessImpactScore { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024DataAccessImpactScore' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024DataAccessImpactScore + $AllProperties = ("value") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "value"))) { #optional property not found + $Value = $null + } else { + $Value = $JsonParameters.PSobject.Properties["value"].value + } + + $PSO = [PSCustomObject]@{ + "value" = ${Value} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/DataAccessPoliciesInner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/DataAccessPoliciesInner.ps1 new file mode 100644 index 000000000..f4d99333d --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/DataAccessPoliciesInner.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Value +Value of the policy +.OUTPUTS + +DataAccessPoliciesInner +#> + +function Initialize-V2024DataAccessPoliciesInner { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Value} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024DataAccessPoliciesInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "value" = ${Value} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to DataAccessPoliciesInner + +.DESCRIPTION + +Convert from JSON to DataAccessPoliciesInner + +.PARAMETER Json + +Json object + +.OUTPUTS + +DataAccessPoliciesInner +#> +function ConvertFrom-V2024JsonToDataAccessPoliciesInner { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024DataAccessPoliciesInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024DataAccessPoliciesInner + $AllProperties = ("value") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "value"))) { #optional property not found + $Value = $null + } else { + $Value = $JsonParameters.PSobject.Properties["value"].value + } + + $PSO = [PSCustomObject]@{ + "value" = ${Value} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/DateCompare.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/DateCompare.ps1 new file mode 100644 index 000000000..807167706 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/DateCompare.ps1 @@ -0,0 +1,199 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER FirstDate +No description available. +.PARAMETER SecondDate +No description available. +.PARAMETER Operator +This is the comparison to perform. | Operation | Description | | --------- | ------- | | LT | Strictly less than: firstDate < secondDate | | LTE | Less than or equal to: firstDate <= secondDate | | GT | Strictly greater than: firstDate > secondDate | | GTE | Greater than or equal to: firstDate >= secondDate | +.PARAMETER PositiveCondition +The output of the transform if the expression evalutes to true +.PARAMETER NegativeCondition +The output of the transform if the expression evalutes to false +.PARAMETER RequiresPeriodicRefresh +A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process +.PARAMETER VarInput +This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI. +.OUTPUTS + +DateCompare +#> + +function Initialize-V2024DateCompare { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${FirstDate}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${SecondDate}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("LT", "LTE", "GT", "GTE")] + [String] + ${Operator}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${PositiveCondition}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${NegativeCondition}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${RequiresPeriodicRefresh} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${VarInput} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024DateCompare' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$FirstDate) { + throw "invalid value for 'FirstDate', 'FirstDate' cannot be null." + } + + if (!$SecondDate) { + throw "invalid value for 'SecondDate', 'SecondDate' cannot be null." + } + + if (!$Operator) { + throw "invalid value for 'Operator', 'Operator' cannot be null." + } + + if (!$PositiveCondition) { + throw "invalid value for 'PositiveCondition', 'PositiveCondition' cannot be null." + } + + if (!$NegativeCondition) { + throw "invalid value for 'NegativeCondition', 'NegativeCondition' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "firstDate" = ${FirstDate} + "secondDate" = ${SecondDate} + "operator" = ${Operator} + "positiveCondition" = ${PositiveCondition} + "negativeCondition" = ${NegativeCondition} + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + "input" = ${VarInput} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to DateCompare + +.DESCRIPTION + +Convert from JSON to DateCompare + +.PARAMETER Json + +Json object + +.OUTPUTS + +DateCompare +#> +function ConvertFrom-V2024JsonToDateCompare { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024DateCompare' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024DateCompare + $AllProperties = ("firstDate", "secondDate", "operator", "positiveCondition", "negativeCondition", "requiresPeriodicRefresh", "input") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'firstDate' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "firstDate"))) { + throw "Error! JSON cannot be serialized due to the required property 'firstDate' missing." + } else { + $FirstDate = $JsonParameters.PSobject.Properties["firstDate"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "secondDate"))) { + throw "Error! JSON cannot be serialized due to the required property 'secondDate' missing." + } else { + $SecondDate = $JsonParameters.PSobject.Properties["secondDate"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "operator"))) { + throw "Error! JSON cannot be serialized due to the required property 'operator' missing." + } else { + $Operator = $JsonParameters.PSobject.Properties["operator"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "positiveCondition"))) { + throw "Error! JSON cannot be serialized due to the required property 'positiveCondition' missing." + } else { + $PositiveCondition = $JsonParameters.PSobject.Properties["positiveCondition"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "negativeCondition"))) { + throw "Error! JSON cannot be serialized due to the required property 'negativeCondition' missing." + } else { + $NegativeCondition = $JsonParameters.PSobject.Properties["negativeCondition"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requiresPeriodicRefresh"))) { #optional property not found + $RequiresPeriodicRefresh = $null + } else { + $RequiresPeriodicRefresh = $JsonParameters.PSobject.Properties["requiresPeriodicRefresh"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "input"))) { #optional property not found + $VarInput = $null + } else { + $VarInput = $JsonParameters.PSobject.Properties["input"].value + } + + $PSO = [PSCustomObject]@{ + "firstDate" = ${FirstDate} + "secondDate" = ${SecondDate} + "operator" = ${Operator} + "positiveCondition" = ${PositiveCondition} + "negativeCondition" = ${NegativeCondition} + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + "input" = ${VarInput} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/DateCompareFirstDate.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/DateCompareFirstDate.ps1 new file mode 100644 index 000000000..e854ac49f --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/DateCompareFirstDate.ps1 @@ -0,0 +1,82 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +This is the first date to consider (The date that would be on the left hand side of the comparison operation). + +.PARAMETER Json + +JSON object + +.OUTPUTS + +DateCompareFirstDate +#> +function ConvertFrom-V2024JsonToDateCompareFirstDate { + [CmdletBinding()] + Param ( + [AllowEmptyString()] + [string]$Json + ) + + Process { + $match = 0 + $matchType = $null + $matchInstance = $null + + # try to match AccountAttribute defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToAccountAttribute $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "AccountAttribute" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'AccountAttribute' defined in oneOf (V2024DateCompareFirstDate). Proceeding to the next one if any." + } + + # try to match DateFormat defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToDateFormat $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "DateFormat" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'DateFormat' defined in oneOf (V2024DateCompareFirstDate). Proceeding to the next one if any." + } + + if ($match -gt 1) { + throw "Error! The JSON payload matches more than one type defined in oneOf schemas ([AccountAttribute, DateFormat]). JSON Payload: $($Json)" + } elseif ($match -eq 1) { + return [PSCustomObject]@{ + "ActualType" = ${matchType} + "ActualInstance" = ${matchInstance} + "OneOfSchemas" = @("AccountAttribute", "DateFormat") + } + } else { + throw "Error! The JSON payload doesn't matches any type defined in oneOf schemas ([AccountAttribute, DateFormat]). JSON Payload: $($Json)" + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/DateCompareSecondDate.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/DateCompareSecondDate.ps1 new file mode 100644 index 000000000..0ec673a02 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/DateCompareSecondDate.ps1 @@ -0,0 +1,82 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +This is the second date to consider (The date that would be on the right hand side of the comparison operation). + +.PARAMETER Json + +JSON object + +.OUTPUTS + +DateCompareSecondDate +#> +function ConvertFrom-V2024JsonToDateCompareSecondDate { + [CmdletBinding()] + Param ( + [AllowEmptyString()] + [string]$Json + ) + + Process { + $match = 0 + $matchType = $null + $matchInstance = $null + + # try to match AccountAttribute defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToAccountAttribute $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "AccountAttribute" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'AccountAttribute' defined in oneOf (V2024DateCompareSecondDate). Proceeding to the next one if any." + } + + # try to match DateFormat defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToDateFormat $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "DateFormat" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'DateFormat' defined in oneOf (V2024DateCompareSecondDate). Proceeding to the next one if any." + } + + if ($match -gt 1) { + throw "Error! The JSON payload matches more than one type defined in oneOf schemas ([AccountAttribute, DateFormat]). JSON Payload: $($Json)" + } elseif ($match -eq 1) { + return [PSCustomObject]@{ + "ActualType" = ${matchType} + "ActualInstance" = ${matchInstance} + "OneOfSchemas" = @("AccountAttribute", "DateFormat") + } + } else { + throw "Error! The JSON payload doesn't matches any type defined in oneOf schemas ([AccountAttribute, DateFormat]). JSON Payload: $($Json)" + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/DateFormat.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/DateFormat.ps1 new file mode 100644 index 000000000..2112394dd --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/DateFormat.ps1 @@ -0,0 +1,135 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER InputFormat +No description available. +.PARAMETER OutputFormat +No description available. +.PARAMETER RequiresPeriodicRefresh +A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process +.PARAMETER VarInput +This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI. +.OUTPUTS + +DateFormat +#> + +function Initialize-V2024DateFormat { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${InputFormat}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${OutputFormat}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${RequiresPeriodicRefresh} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${VarInput} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024DateFormat' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "inputFormat" = ${InputFormat} + "outputFormat" = ${OutputFormat} + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + "input" = ${VarInput} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to DateFormat + +.DESCRIPTION + +Convert from JSON to DateFormat + +.PARAMETER Json + +Json object + +.OUTPUTS + +DateFormat +#> +function ConvertFrom-V2024JsonToDateFormat { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024DateFormat' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024DateFormat + $AllProperties = ("inputFormat", "outputFormat", "requiresPeriodicRefresh", "input") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "inputFormat"))) { #optional property not found + $InputFormat = $null + } else { + $InputFormat = $JsonParameters.PSobject.Properties["inputFormat"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "outputFormat"))) { #optional property not found + $OutputFormat = $null + } else { + $OutputFormat = $JsonParameters.PSobject.Properties["outputFormat"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requiresPeriodicRefresh"))) { #optional property not found + $RequiresPeriodicRefresh = $null + } else { + $RequiresPeriodicRefresh = $JsonParameters.PSobject.Properties["requiresPeriodicRefresh"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "input"))) { #optional property not found + $VarInput = $null + } else { + $VarInput = $JsonParameters.PSobject.Properties["input"].value + } + + $PSO = [PSCustomObject]@{ + "inputFormat" = ${InputFormat} + "outputFormat" = ${OutputFormat} + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + "input" = ${VarInput} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/DateFormatInputFormat.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/DateFormatInputFormat.ps1 new file mode 100644 index 000000000..c4c41fd06 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/DateFormatInputFormat.ps1 @@ -0,0 +1,82 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +A string value indicating either the explicit SimpleDateFormat or the built-in named format that the data is coming in as. *If no inputFormat is provided, the transform assumes that it is in ISO8601 format* + +.PARAMETER Json + +JSON object + +.OUTPUTS + +DateFormatInputFormat +#> +function ConvertFrom-V2024JsonToDateFormatInputFormat { + [CmdletBinding()] + Param ( + [AllowEmptyString()] + [string]$Json + ) + + Process { + $match = 0 + $matchType = $null + $matchInstance = $null + + # try to match NamedConstructs defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToNamedConstructs $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "NamedConstructs" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'NamedConstructs' defined in oneOf (V2024DateFormatInputFormat). Proceeding to the next one if any." + } + + # try to match String defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToString $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "String" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'String' defined in oneOf (V2024DateFormatInputFormat). Proceeding to the next one if any." + } + + if ($match -gt 1) { + throw "Error! The JSON payload matches more than one type defined in oneOf schemas ([NamedConstructs, String]). JSON Payload: $($Json)" + } elseif ($match -eq 1) { + return [PSCustomObject]@{ + "ActualType" = ${matchType} + "ActualInstance" = ${matchInstance} + "OneOfSchemas" = @("NamedConstructs", "String") + } + } else { + throw "Error! The JSON payload doesn't matches any type defined in oneOf schemas ([NamedConstructs, String]). JSON Payload: $($Json)" + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/DateFormatOutputFormat.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/DateFormatOutputFormat.ps1 new file mode 100644 index 000000000..891ca79ee --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/DateFormatOutputFormat.ps1 @@ -0,0 +1,82 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +A string value indicating either the explicit SimpleDateFormat or the built-in named format that the data should be formatted into. *If no inputFormat is provided, the transform assumes that it is in ISO8601 format* + +.PARAMETER Json + +JSON object + +.OUTPUTS + +DateFormatOutputFormat +#> +function ConvertFrom-V2024JsonToDateFormatOutputFormat { + [CmdletBinding()] + Param ( + [AllowEmptyString()] + [string]$Json + ) + + Process { + $match = 0 + $matchType = $null + $matchInstance = $null + + # try to match NamedConstructs defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToNamedConstructs $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "NamedConstructs" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'NamedConstructs' defined in oneOf (V2024DateFormatOutputFormat). Proceeding to the next one if any." + } + + # try to match String defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToString $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "String" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'String' defined in oneOf (V2024DateFormatOutputFormat). Proceeding to the next one if any." + } + + if ($match -gt 1) { + throw "Error! The JSON payload matches more than one type defined in oneOf schemas ([NamedConstructs, String]). JSON Payload: $($Json)" + } elseif ($match -eq 1) { + return [PSCustomObject]@{ + "ActualType" = ${matchType} + "ActualInstance" = ${matchInstance} + "OneOfSchemas" = @("NamedConstructs", "String") + } + } else { + throw "Error! The JSON payload doesn't matches any type defined in oneOf schemas ([NamedConstructs, String]). JSON Payload: $($Json)" + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/DateMath.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/DateMath.ps1 new file mode 100644 index 000000000..24a10c1b8 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/DateMath.ps1 @@ -0,0 +1,143 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Expression +A string value of the date and time components to operation on, along with the math operations to execute. +.PARAMETER RoundUp +A boolean value to indicate whether the transform should round up or down when a rounding `/` operation is defined in the expression. If not provided, the transform will default to `false` `true` indicates the transform should round up (i.e., truncate the fractional date/time component indicated and then add one unit of that component) `false` indicates the transform should round down (i.e., truncate the fractional date/time component indicated) +.PARAMETER RequiresPeriodicRefresh +A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process +.PARAMETER VarInput +This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI. +.OUTPUTS + +DateMath +#> + +function Initialize-V2024DateMath { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Expression}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${RoundUp} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${RequiresPeriodicRefresh} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${VarInput} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024DateMath' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Expression) { + throw "invalid value for 'Expression', 'Expression' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "expression" = ${Expression} + "roundUp" = ${RoundUp} + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + "input" = ${VarInput} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to DateMath + +.DESCRIPTION + +Convert from JSON to DateMath + +.PARAMETER Json + +Json object + +.OUTPUTS + +DateMath +#> +function ConvertFrom-V2024JsonToDateMath { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024DateMath' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024DateMath + $AllProperties = ("expression", "roundUp", "requiresPeriodicRefresh", "input") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'expression' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "expression"))) { + throw "Error! JSON cannot be serialized due to the required property 'expression' missing." + } else { + $Expression = $JsonParameters.PSobject.Properties["expression"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "roundUp"))) { #optional property not found + $RoundUp = $null + } else { + $RoundUp = $JsonParameters.PSobject.Properties["roundUp"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requiresPeriodicRefresh"))) { #optional property not found + $RequiresPeriodicRefresh = $null + } else { + $RequiresPeriodicRefresh = $JsonParameters.PSobject.Properties["requiresPeriodicRefresh"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "input"))) { #optional property not found + $VarInput = $null + } else { + $VarInput = $JsonParameters.PSobject.Properties["input"].value + } + + $PSO = [PSCustomObject]@{ + "expression" = ${Expression} + "roundUp" = ${RoundUp} + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + "input" = ${VarInput} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/DecomposeDiacriticalMarks.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/DecomposeDiacriticalMarks.ps1 new file mode 100644 index 000000000..035c8080e --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/DecomposeDiacriticalMarks.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER RequiresPeriodicRefresh +A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process +.PARAMETER VarInput +This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI. +.OUTPUTS + +DecomposeDiacriticalMarks +#> + +function Initialize-V2024DecomposeDiacriticalMarks { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${RequiresPeriodicRefresh} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${VarInput} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024DecomposeDiacriticalMarks' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + "input" = ${VarInput} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to DecomposeDiacriticalMarks + +.DESCRIPTION + +Convert from JSON to DecomposeDiacriticalMarks + +.PARAMETER Json + +Json object + +.OUTPUTS + +DecomposeDiacriticalMarks +#> +function ConvertFrom-V2024JsonToDecomposeDiacriticalMarks { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024DecomposeDiacriticalMarks' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024DecomposeDiacriticalMarks + $AllProperties = ("requiresPeriodicRefresh", "input") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requiresPeriodicRefresh"))) { #optional property not found + $RequiresPeriodicRefresh = $null + } else { + $RequiresPeriodicRefresh = $JsonParameters.PSobject.Properties["requiresPeriodicRefresh"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "input"))) { #optional property not found + $VarInput = $null + } else { + $VarInput = $JsonParameters.PSobject.Properties["input"].value + } + + $PSO = [PSCustomObject]@{ + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + "input" = ${VarInput} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/DeleteNonEmployeeRecordsInBulkRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/DeleteNonEmployeeRecordsInBulkRequest.ps1 new file mode 100644 index 000000000..fe55f03fe --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/DeleteNonEmployeeRecordsInBulkRequest.ps1 @@ -0,0 +1,104 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Ids +List of non-employee ids. +.OUTPUTS + +DeleteNonEmployeeRecordsInBulkRequest +#> + +function Initialize-V2024DeleteNonEmployeeRecordsInBulkRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Ids} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024DeleteNonEmployeeRecordsInBulkRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Ids) { + throw "invalid value for 'Ids', 'Ids' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "ids" = ${Ids} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to DeleteNonEmployeeRecordsInBulkRequest + +.DESCRIPTION + +Convert from JSON to DeleteNonEmployeeRecordsInBulkRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +DeleteNonEmployeeRecordsInBulkRequest +#> +function ConvertFrom-V2024JsonToDeleteNonEmployeeRecordsInBulkRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024DeleteNonEmployeeRecordsInBulkRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024DeleteNonEmployeeRecordsInBulkRequest + $AllProperties = ("ids") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'ids' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "ids"))) { + throw "Error! JSON cannot be serialized due to the required property 'ids' missing." + } else { + $Ids = $JsonParameters.PSobject.Properties["ids"].value + } + + $PSO = [PSCustomObject]@{ + "ids" = ${Ids} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/DeleteSource202Response.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/DeleteSource202Response.ps1 new file mode 100644 index 000000000..9cc40be4a --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/DeleteSource202Response.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Type +Type of object being referenced. +.PARAMETER Id +Task result ID. +.PARAMETER Name +Task result's human-readable display name (this should be null/empty). +.OUTPUTS + +DeleteSource202Response +#> + +function Initialize-V2024DeleteSource202Response { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("TASK_RESULT")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024DeleteSource202Response' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to DeleteSource202Response + +.DESCRIPTION + +Convert from JSON to DeleteSource202Response + +.PARAMETER Json + +Json object + +.OUTPUTS + +DeleteSource202Response +#> +function ConvertFrom-V2024JsonToDeleteSource202Response { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024DeleteSource202Response' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024DeleteSource202Response + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/DeleteVendorConnectorMapping200Response.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/DeleteVendorConnectorMapping200Response.ps1 new file mode 100644 index 000000000..30906652f --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/DeleteVendorConnectorMapping200Response.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Count +The number of vendor connector mappings successfully deleted. +.OUTPUTS + +DeleteVendorConnectorMapping200Response +#> + +function Initialize-V2024DeleteVendorConnectorMapping200Response { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${Count} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024DeleteVendorConnectorMapping200Response' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "count" = ${Count} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to DeleteVendorConnectorMapping200Response + +.DESCRIPTION + +Convert from JSON to DeleteVendorConnectorMapping200Response + +.PARAMETER Json + +Json object + +.OUTPUTS + +DeleteVendorConnectorMapping200Response +#> +function ConvertFrom-V2024JsonToDeleteVendorConnectorMapping200Response { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024DeleteVendorConnectorMapping200Response' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024DeleteVendorConnectorMapping200Response + $AllProperties = ("count") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "count"))) { #optional property not found + $Count = $null + } else { + $Count = $JsonParameters.PSobject.Properties["count"].value + } + + $PSO = [PSCustomObject]@{ + "count" = ${Count} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/DiscoveredApplicationsInner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/DiscoveredApplicationsInner.ps1 new file mode 100644 index 000000000..b35fbbb32 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/DiscoveredApplicationsInner.ps1 @@ -0,0 +1,174 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +Unique identifier for the discovered application. +.PARAMETER Name +Name of the discovered application. +.PARAMETER DiscoverySource +Source from which the application was discovered. +.PARAMETER DiscoveredVendor +The vendor associated with the discovered application. +.PARAMETER Description +A brief description of the discovered application. +.PARAMETER RecommendedConnectors +List of recommended connectors for the application. +.PARAMETER DiscoveredTimestamp +The timestamp when the application was discovered, in ISO 8601 format. +.OUTPUTS + +DiscoveredApplicationsInner +#> + +function Initialize-V2024DiscoveredApplicationsInner { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${DiscoverySource}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${DiscoveredVendor}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${RecommendedConnectors}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${DiscoveredTimestamp} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024DiscoveredApplicationsInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "discoverySource" = ${DiscoverySource} + "discoveredVendor" = ${DiscoveredVendor} + "description" = ${Description} + "recommendedConnectors" = ${RecommendedConnectors} + "discoveredTimestamp" = ${DiscoveredTimestamp} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to DiscoveredApplicationsInner + +.DESCRIPTION + +Convert from JSON to DiscoveredApplicationsInner + +.PARAMETER Json + +Json object + +.OUTPUTS + +DiscoveredApplicationsInner +#> +function ConvertFrom-V2024JsonToDiscoveredApplicationsInner { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024DiscoveredApplicationsInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024DiscoveredApplicationsInner + $AllProperties = ("id", "name", "discoverySource", "discoveredVendor", "description", "recommendedConnectors", "discoveredTimestamp") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "discoverySource"))) { #optional property not found + $DiscoverySource = $null + } else { + $DiscoverySource = $JsonParameters.PSobject.Properties["discoverySource"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "discoveredVendor"))) { #optional property not found + $DiscoveredVendor = $null + } else { + $DiscoveredVendor = $JsonParameters.PSobject.Properties["discoveredVendor"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "recommendedConnectors"))) { #optional property not found + $RecommendedConnectors = $null + } else { + $RecommendedConnectors = $JsonParameters.PSobject.Properties["recommendedConnectors"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "discoveredTimestamp"))) { #optional property not found + $DiscoveredTimestamp = $null + } else { + $DiscoveredTimestamp = $JsonParameters.PSobject.Properties["discoveredTimestamp"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "discoverySource" = ${DiscoverySource} + "discoveredVendor" = ${DiscoveredVendor} + "description" = ${Description} + "recommendedConnectors" = ${RecommendedConnectors} + "discoveredTimestamp" = ${DiscoveredTimestamp} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/DisplayReference.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/DisplayReference.ps1 new file mode 100644 index 000000000..12e91a8fc --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/DisplayReference.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +The unique ID of the referenced object. +.PARAMETER Name +The human readable name of the referenced object. +.PARAMETER DisplayName +No description available. +.OUTPUTS + +DisplayReference +#> + +function Initialize-V2024DisplayReference { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${DisplayName} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024DisplayReference' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "displayName" = ${DisplayName} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to DisplayReference + +.DESCRIPTION + +Convert from JSON to DisplayReference + +.PARAMETER Json + +Json object + +.OUTPUTS + +DisplayReference +#> +function ConvertFrom-V2024JsonToDisplayReference { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024DisplayReference' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024DisplayReference + $AllProperties = ("id", "name", "displayName") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "displayName"))) { #optional property not found + $DisplayName = $null + } else { + $DisplayName = $JsonParameters.PSobject.Properties["displayName"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "displayName" = ${DisplayName} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/DkimAttributes.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/DkimAttributes.ps1 new file mode 100644 index 000000000..b0ee7eb7e --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/DkimAttributes.ps1 @@ -0,0 +1,148 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +DKIM attributes for a domain or identity + +.PARAMETER Id +UUID associated with domain to be verified +.PARAMETER Address +The identity or domain address +.PARAMETER DkimEnabled +Whether or not DKIM has been enabled for this domain / identity +.PARAMETER DkimTokens +The tokens to be added to a DNS for verification +.PARAMETER DkimVerificationStatus +The current status if the domain /identity has been verified. Ie Success, Failed, Pending +.OUTPUTS + +DkimAttributes +#> + +function Initialize-V2024DkimAttributes { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Address}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${DkimEnabled} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${DkimTokens}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${DkimVerificationStatus} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024DkimAttributes' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "address" = ${Address} + "dkimEnabled" = ${DkimEnabled} + "dkimTokens" = ${DkimTokens} + "dkimVerificationStatus" = ${DkimVerificationStatus} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to DkimAttributes + +.DESCRIPTION + +Convert from JSON to DkimAttributes + +.PARAMETER Json + +Json object + +.OUTPUTS + +DkimAttributes +#> +function ConvertFrom-V2024JsonToDkimAttributes { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024DkimAttributes' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024DkimAttributes + $AllProperties = ("id", "address", "dkimEnabled", "dkimTokens", "dkimVerificationStatus") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "address"))) { #optional property not found + $Address = $null + } else { + $Address = $JsonParameters.PSobject.Properties["address"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "dkimEnabled"))) { #optional property not found + $DkimEnabled = $null + } else { + $DkimEnabled = $JsonParameters.PSobject.Properties["dkimEnabled"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "dkimTokens"))) { #optional property not found + $DkimTokens = $null + } else { + $DkimTokens = $JsonParameters.PSobject.Properties["dkimTokens"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "dkimVerificationStatus"))) { #optional property not found + $DkimVerificationStatus = $null + } else { + $DkimVerificationStatus = $JsonParameters.PSobject.Properties["dkimVerificationStatus"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "address" = ${Address} + "dkimEnabled" = ${DkimEnabled} + "dkimTokens" = ${DkimTokens} + "dkimVerificationStatus" = ${DkimVerificationStatus} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/DocumentType.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/DocumentType.ps1 new file mode 100644 index 000000000..be961e544 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/DocumentType.ps1 @@ -0,0 +1,36 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum DocumentType. + +.DESCRIPTION + +Enum representing the currently supported document types. Additional values may be added in the future without notice. +#> + +enum DocumentType { + # enum value: "accessprofile" + accessprofile + # enum value: "accountactivity" + accountactivity + # enum value: "account" + account + # enum value: "aggregation" + aggregation + # enum value: "entitlement" + entitlement + # enum value: "event" + event + # enum value: "identity" + identity + # enum value: "role" + role +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/DomainAddress.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/DomainAddress.ps1 new file mode 100644 index 000000000..0b92ed4dd --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/DomainAddress.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Domain +A domain address +.OUTPUTS + +DomainAddress +#> + +function Initialize-V2024DomainAddress { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Domain} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024DomainAddress' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "domain" = ${Domain} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to DomainAddress + +.DESCRIPTION + +Convert from JSON to DomainAddress + +.PARAMETER Json + +Json object + +.OUTPUTS + +DomainAddress +#> +function ConvertFrom-V2024JsonToDomainAddress { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024DomainAddress' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024DomainAddress + $AllProperties = ("domain") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "domain"))) { #optional property not found + $Domain = $null + } else { + $Domain = $JsonParameters.PSobject.Properties["domain"].value + } + + $PSO = [PSCustomObject]@{ + "domain" = ${Domain} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/DomainStatusDto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/DomainStatusDto.ps1 new file mode 100644 index 000000000..a4f982fff --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/DomainStatusDto.ps1 @@ -0,0 +1,148 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Domain status DTO containing everything required to verify via DKIM + +.PARAMETER Id +New UUID associated with domain to be verified +.PARAMETER Domain +A domain address +.PARAMETER DkimEnabled +DKIM is enabled for this domain +.PARAMETER DkimTokens +DKIM tokens required for authentication +.PARAMETER DkimVerificationStatus +Status of DKIM authentication +.OUTPUTS + +DomainStatusDto +#> + +function Initialize-V2024DomainStatusDto { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Domain}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${DkimEnabled}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${DkimTokens}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${DkimVerificationStatus} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024DomainStatusDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "domain" = ${Domain} + "dkimEnabled" = ${DkimEnabled} + "dkimTokens" = ${DkimTokens} + "dkimVerificationStatus" = ${DkimVerificationStatus} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to DomainStatusDto + +.DESCRIPTION + +Convert from JSON to DomainStatusDto + +.PARAMETER Json + +Json object + +.OUTPUTS + +DomainStatusDto +#> +function ConvertFrom-V2024JsonToDomainStatusDto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024DomainStatusDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024DomainStatusDto + $AllProperties = ("id", "domain", "dkimEnabled", "dkimTokens", "dkimVerificationStatus") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "domain"))) { #optional property not found + $Domain = $null + } else { + $Domain = $JsonParameters.PSobject.Properties["domain"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "dkimEnabled"))) { #optional property not found + $DkimEnabled = $null + } else { + $DkimEnabled = $JsonParameters.PSobject.Properties["dkimEnabled"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "dkimTokens"))) { #optional property not found + $DkimTokens = $null + } else { + $DkimTokens = $JsonParameters.PSobject.Properties["dkimTokens"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "dkimVerificationStatus"))) { #optional property not found + $DkimVerificationStatus = $null + } else { + $DkimVerificationStatus = $JsonParameters.PSobject.Properties["dkimVerificationStatus"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "domain" = ${Domain} + "dkimEnabled" = ${DkimEnabled} + "dkimTokens" = ${DkimTokens} + "dkimVerificationStatus" = ${DkimVerificationStatus} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/DtoType.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/DtoType.ps1 new file mode 100644 index 000000000..d2dd6a1ec --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/DtoType.ps1 @@ -0,0 +1,76 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum DtoType. + +.DESCRIPTION + +An enumeration of the types of DTOs supported within the IdentityNow infrastructure. +#> + +enum DtoType { + # enum value: "ACCOUNT_CORRELATION_CONFIG" + ACCOUNT_CORRELATION_CONFIG + # enum value: "ACCESS_PROFILE" + ACCESS_PROFILE + # enum value: "ACCESS_REQUEST_APPROVAL" + ACCESS_REQUEST_APPROVAL + # enum value: "ACCOUNT" + ACCOUNT + # enum value: "APPLICATION" + APPLICATION + # enum value: "CAMPAIGN" + CAMPAIGN + # enum value: "CAMPAIGN_FILTER" + CAMPAIGN_FILTER + # enum value: "CERTIFICATION" + CERTIFICATION + # enum value: "CLUSTER" + CLUSTER + # enum value: "CONNECTOR_SCHEMA" + CONNECTOR_SCHEMA + # enum value: "ENTITLEMENT" + ENTITLEMENT + # enum value: "GOVERNANCE_GROUP" + GOVERNANCE_GROUP + # enum value: "IDENTITY" + IDENTITY + # enum value: "IDENTITY_PROFILE" + IDENTITY_PROFILE + # enum value: "IDENTITY_REQUEST" + IDENTITY_REQUEST + # enum value: "LIFECYCLE_STATE" + LIFECYCLE_STATE + # enum value: "PASSWORD_POLICY" + PASSWORD_POLICY + # enum value: "ROLE" + ROLE + # enum value: "RULE" + RULE + # enum value: "SOD_POLICY" + SOD_POLICY + # enum value: "SOURCE" + SOURCE + # enum value: "TAG" + TAG + # enum value: "TAG_CATEGORY" + TAG_CATEGORY + # enum value: "TASK_RESULT" + TASK_RESULT + # enum value: "REPORT_RESULT" + REPORT_RESULT + # enum value: "SOD_VIOLATION" + SOD_VIOLATION + # enum value: "ACCOUNT_ACTIVITY" + ACCOUNT_ACTIVITY + # enum value: "WORKGROUP" + WORKGROUP +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/E164phone.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/E164phone.ps1 new file mode 100644 index 000000000..de9521ea8 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/E164phone.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER DefaultRegion +This is an optional attribute that can be used to define the region of the phone number to format into. If defaultRegion is not provided, it will take US as the default country. The format of the country code should be in [ISO 3166-1 alpha-2 format](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) +.PARAMETER RequiresPeriodicRefresh +A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process +.PARAMETER VarInput +This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI. +.OUTPUTS + +E164phone +#> + +function Initialize-V2024E164phone { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${DefaultRegion}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${RequiresPeriodicRefresh} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${VarInput} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024E164phone' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "defaultRegion" = ${DefaultRegion} + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + "input" = ${VarInput} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to E164phone + +.DESCRIPTION + +Convert from JSON to E164phone + +.PARAMETER Json + +Json object + +.OUTPUTS + +E164phone +#> +function ConvertFrom-V2024JsonToE164phone { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024E164phone' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024E164phone + $AllProperties = ("defaultRegion", "requiresPeriodicRefresh", "input") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "defaultRegion"))) { #optional property not found + $DefaultRegion = $null + } else { + $DefaultRegion = $JsonParameters.PSobject.Properties["defaultRegion"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requiresPeriodicRefresh"))) { #optional property not found + $RequiresPeriodicRefresh = $null + } else { + $RequiresPeriodicRefresh = $JsonParameters.PSobject.Properties["requiresPeriodicRefresh"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "input"))) { #optional property not found + $VarInput = $null + } else { + $VarInput = $JsonParameters.PSobject.Properties["input"].value + } + + $PSO = [PSCustomObject]@{ + "defaultRegion" = ${DefaultRegion} + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + "input" = ${VarInput} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/EmailNotificationOption.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/EmailNotificationOption.ps1 new file mode 100644 index 000000000..1b2fe6493 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/EmailNotificationOption.ps1 @@ -0,0 +1,135 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +This is used for representing email configuration for a lifecycle state + +.PARAMETER NotifyManagers +If true, then the manager is notified of the lifecycle state change. +.PARAMETER NotifyAllAdmins +If true, then all the admins are notified of the lifecycle state change. +.PARAMETER NotifySpecificUsers +If true, then the users specified in ""emailAddressList"" below are notified of lifecycle state change. +.PARAMETER EmailAddressList +List of user email addresses. If ""notifySpecificUsers"" option is true, then these users are notified of lifecycle state change. +.OUTPUTS + +EmailNotificationOption +#> + +function Initialize-V2024EmailNotificationOption { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${NotifyManagers} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${NotifyAllAdmins} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${NotifySpecificUsers} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${EmailAddressList} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024EmailNotificationOption' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "notifyManagers" = ${NotifyManagers} + "notifyAllAdmins" = ${NotifyAllAdmins} + "notifySpecificUsers" = ${NotifySpecificUsers} + "emailAddressList" = ${EmailAddressList} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to EmailNotificationOption + +.DESCRIPTION + +Convert from JSON to EmailNotificationOption + +.PARAMETER Json + +Json object + +.OUTPUTS + +EmailNotificationOption +#> +function ConvertFrom-V2024JsonToEmailNotificationOption { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024EmailNotificationOption' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024EmailNotificationOption + $AllProperties = ("notifyManagers", "notifyAllAdmins", "notifySpecificUsers", "emailAddressList") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "notifyManagers"))) { #optional property not found + $NotifyManagers = $null + } else { + $NotifyManagers = $JsonParameters.PSobject.Properties["notifyManagers"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "notifyAllAdmins"))) { #optional property not found + $NotifyAllAdmins = $null + } else { + $NotifyAllAdmins = $JsonParameters.PSobject.Properties["notifyAllAdmins"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "notifySpecificUsers"))) { #optional property not found + $NotifySpecificUsers = $null + } else { + $NotifySpecificUsers = $JsonParameters.PSobject.Properties["notifySpecificUsers"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "emailAddressList"))) { #optional property not found + $EmailAddressList = $null + } else { + $EmailAddressList = $JsonParameters.PSobject.Properties["emailAddressList"].value + } + + $PSO = [PSCustomObject]@{ + "notifyManagers" = ${NotifyManagers} + "notifyAllAdmins" = ${NotifyAllAdmins} + "notifySpecificUsers" = ${NotifySpecificUsers} + "emailAddressList" = ${EmailAddressList} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/EmailStatusDto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/EmailStatusDto.ps1 new file mode 100644 index 000000000..78ff80dc6 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/EmailStatusDto.ps1 @@ -0,0 +1,136 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +No description available. +.PARAMETER Email +No description available. +.PARAMETER IsVerifiedByDomain +No description available. +.PARAMETER VerificationStatus +No description available. +.OUTPUTS + +EmailStatusDto +#> + +function Initialize-V2024EmailStatusDto { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Email}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${IsVerifiedByDomain}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("PENDING", "SUCCESS", "FAILED")] + [String] + ${VerificationStatus} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024EmailStatusDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "email" = ${Email} + "isVerifiedByDomain" = ${IsVerifiedByDomain} + "verificationStatus" = ${VerificationStatus} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to EmailStatusDto + +.DESCRIPTION + +Convert from JSON to EmailStatusDto + +.PARAMETER Json + +Json object + +.OUTPUTS + +EmailStatusDto +#> +function ConvertFrom-V2024JsonToEmailStatusDto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024EmailStatusDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024EmailStatusDto + $AllProperties = ("id", "email", "isVerifiedByDomain", "verificationStatus") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "email"))) { #optional property not found + $Email = $null + } else { + $Email = $JsonParameters.PSobject.Properties["email"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "isVerifiedByDomain"))) { #optional property not found + $IsVerifiedByDomain = $null + } else { + $IsVerifiedByDomain = $JsonParameters.PSobject.Properties["isVerifiedByDomain"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "verificationStatus"))) { #optional property not found + $VerificationStatus = $null + } else { + $VerificationStatus = $JsonParameters.PSobject.Properties["verificationStatus"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "email" = ${Email} + "isVerifiedByDomain" = ${IsVerifiedByDomain} + "verificationStatus" = ${VerificationStatus} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Entitlement.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Entitlement.ps1 new file mode 100644 index 000000000..388d807e7 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Entitlement.ps1 @@ -0,0 +1,265 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +The entitlement id +.PARAMETER Name +The entitlement name +.PARAMETER Attribute +The entitlement attribute name +.PARAMETER Value +The value of the entitlement +.PARAMETER SourceSchemaObjectType +The object type of the entitlement from the source schema +.PARAMETER Description +The description of the entitlement +.PARAMETER Privileged +True if the entitlement is privileged +.PARAMETER CloudGoverned +True if the entitlement is cloud governed +.PARAMETER Created +Time when the entitlement was created +.PARAMETER Modified +Time when the entitlement was last modified +.PARAMETER Source +No description available. +.PARAMETER Attributes +A map of free-form key-value pairs from the source system +.PARAMETER Segments +List of IDs of segments, if any, to which this Entitlement is assigned. +.PARAMETER DirectPermissions +No description available. +.OUTPUTS + +Entitlement +#> + +function Initialize-V2024Entitlement { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Attribute}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Value}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SourceSchemaObjectType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Privileged}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${CloudGoverned}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Modified}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Source}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${Attributes}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Segments}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${DirectPermissions} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Entitlement' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "attribute" = ${Attribute} + "value" = ${Value} + "sourceSchemaObjectType" = ${SourceSchemaObjectType} + "description" = ${Description} + "privileged" = ${Privileged} + "cloudGoverned" = ${CloudGoverned} + "created" = ${Created} + "modified" = ${Modified} + "source" = ${Source} + "attributes" = ${Attributes} + "segments" = ${Segments} + "directPermissions" = ${DirectPermissions} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Entitlement + +.DESCRIPTION + +Convert from JSON to Entitlement + +.PARAMETER Json + +Json object + +.OUTPUTS + +Entitlement +#> +function ConvertFrom-V2024JsonToEntitlement { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Entitlement' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Entitlement + $AllProperties = ("id", "name", "attribute", "value", "sourceSchemaObjectType", "description", "privileged", "cloudGoverned", "created", "modified", "source", "attributes", "segments", "directPermissions") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attribute"))) { #optional property not found + $Attribute = $null + } else { + $Attribute = $JsonParameters.PSobject.Properties["attribute"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "value"))) { #optional property not found + $Value = $null + } else { + $Value = $JsonParameters.PSobject.Properties["value"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceSchemaObjectType"))) { #optional property not found + $SourceSchemaObjectType = $null + } else { + $SourceSchemaObjectType = $JsonParameters.PSobject.Properties["sourceSchemaObjectType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "privileged"))) { #optional property not found + $Privileged = $null + } else { + $Privileged = $JsonParameters.PSobject.Properties["privileged"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "cloudGoverned"))) { #optional property not found + $CloudGoverned = $null + } else { + $CloudGoverned = $JsonParameters.PSobject.Properties["cloudGoverned"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "source"))) { #optional property not found + $Source = $null + } else { + $Source = $JsonParameters.PSobject.Properties["source"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributes"))) { #optional property not found + $Attributes = $null + } else { + $Attributes = $JsonParameters.PSobject.Properties["attributes"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "segments"))) { #optional property not found + $Segments = $null + } else { + $Segments = $JsonParameters.PSobject.Properties["segments"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "directPermissions"))) { #optional property not found + $DirectPermissions = $null + } else { + $DirectPermissions = $JsonParameters.PSobject.Properties["directPermissions"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "attribute" = ${Attribute} + "value" = ${Value} + "sourceSchemaObjectType" = ${SourceSchemaObjectType} + "description" = ${Description} + "privileged" = ${Privileged} + "cloudGoverned" = ${CloudGoverned} + "created" = ${Created} + "modified" = ${Modified} + "source" = ${Source} + "attributes" = ${Attributes} + "segments" = ${Segments} + "directPermissions" = ${DirectPermissions} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Entitlement1.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Entitlement1.ps1 new file mode 100644 index 000000000..3ba39d4eb --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Entitlement1.ps1 @@ -0,0 +1,317 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +The entitlement id +.PARAMETER Name +The entitlement name +.PARAMETER Created +Time when the entitlement was created +.PARAMETER Modified +Time when the entitlement was last modified +.PARAMETER Attribute +The entitlement attribute name +.PARAMETER Value +The value of the entitlement +.PARAMETER SourceSchemaObjectType +The object type of the entitlement from the source schema +.PARAMETER Privileged +True if the entitlement is privileged +.PARAMETER CloudGoverned +True if the entitlement is cloud governed +.PARAMETER Description +The description of the entitlement +.PARAMETER Requestable +True if the entitlement is requestable +.PARAMETER Attributes +A map of free-form key-value pairs from the source system +.PARAMETER Source +No description available. +.PARAMETER Owner +No description available. +.PARAMETER DirectPermissions +No description available. +.PARAMETER Segments +List of IDs of segments, if any, to which this Entitlement is assigned. +.PARAMETER ManuallyUpdatedFields +No description available. +.PARAMETER AccessModelMetadata +No description available. +.OUTPUTS + +Entitlement1 +#> + +function Initialize-V2024Entitlement1 { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Modified}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Attribute}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Value}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SourceSchemaObjectType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Privileged} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${CloudGoverned} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Requestable} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${Attributes}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Source}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Owner}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${DirectPermissions}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Segments}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${ManuallyUpdatedFields}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${AccessModelMetadata} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Entitlement1' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "created" = ${Created} + "modified" = ${Modified} + "attribute" = ${Attribute} + "value" = ${Value} + "sourceSchemaObjectType" = ${SourceSchemaObjectType} + "privileged" = ${Privileged} + "cloudGoverned" = ${CloudGoverned} + "description" = ${Description} + "requestable" = ${Requestable} + "attributes" = ${Attributes} + "source" = ${Source} + "owner" = ${Owner} + "directPermissions" = ${DirectPermissions} + "segments" = ${Segments} + "manuallyUpdatedFields" = ${ManuallyUpdatedFields} + "accessModelMetadata" = ${AccessModelMetadata} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Entitlement1 + +.DESCRIPTION + +Convert from JSON to Entitlement1 + +.PARAMETER Json + +Json object + +.OUTPUTS + +Entitlement1 +#> +function ConvertFrom-V2024JsonToEntitlement1 { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Entitlement1' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Entitlement1 + $AllProperties = ("id", "name", "created", "modified", "attribute", "value", "sourceSchemaObjectType", "privileged", "cloudGoverned", "description", "requestable", "attributes", "source", "owner", "directPermissions", "segments", "manuallyUpdatedFields", "accessModelMetadata") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attribute"))) { #optional property not found + $Attribute = $null + } else { + $Attribute = $JsonParameters.PSobject.Properties["attribute"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "value"))) { #optional property not found + $Value = $null + } else { + $Value = $JsonParameters.PSobject.Properties["value"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceSchemaObjectType"))) { #optional property not found + $SourceSchemaObjectType = $null + } else { + $SourceSchemaObjectType = $JsonParameters.PSobject.Properties["sourceSchemaObjectType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "privileged"))) { #optional property not found + $Privileged = $null + } else { + $Privileged = $JsonParameters.PSobject.Properties["privileged"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "cloudGoverned"))) { #optional property not found + $CloudGoverned = $null + } else { + $CloudGoverned = $JsonParameters.PSobject.Properties["cloudGoverned"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requestable"))) { #optional property not found + $Requestable = $null + } else { + $Requestable = $JsonParameters.PSobject.Properties["requestable"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributes"))) { #optional property not found + $Attributes = $null + } else { + $Attributes = $JsonParameters.PSobject.Properties["attributes"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "source"))) { #optional property not found + $Source = $null + } else { + $Source = $JsonParameters.PSobject.Properties["source"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "owner"))) { #optional property not found + $Owner = $null + } else { + $Owner = $JsonParameters.PSobject.Properties["owner"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "directPermissions"))) { #optional property not found + $DirectPermissions = $null + } else { + $DirectPermissions = $JsonParameters.PSobject.Properties["directPermissions"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "segments"))) { #optional property not found + $Segments = $null + } else { + $Segments = $JsonParameters.PSobject.Properties["segments"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "manuallyUpdatedFields"))) { #optional property not found + $ManuallyUpdatedFields = $null + } else { + $ManuallyUpdatedFields = $JsonParameters.PSobject.Properties["manuallyUpdatedFields"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accessModelMetadata"))) { #optional property not found + $AccessModelMetadata = $null + } else { + $AccessModelMetadata = $JsonParameters.PSobject.Properties["accessModelMetadata"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "created" = ${Created} + "modified" = ${Modified} + "attribute" = ${Attribute} + "value" = ${Value} + "sourceSchemaObjectType" = ${SourceSchemaObjectType} + "privileged" = ${Privileged} + "cloudGoverned" = ${CloudGoverned} + "description" = ${Description} + "requestable" = ${Requestable} + "attributes" = ${Attributes} + "source" = ${Source} + "owner" = ${Owner} + "directPermissions" = ${DirectPermissions} + "segments" = ${Segments} + "manuallyUpdatedFields" = ${ManuallyUpdatedFields} + "accessModelMetadata" = ${AccessModelMetadata} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Entitlement1AccessModelMetadata.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Entitlement1AccessModelMetadata.ps1 new file mode 100644 index 000000000..d36ddaa96 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Entitlement1AccessModelMetadata.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Attributes +No description available. +.OUTPUTS + +Entitlement1AccessModelMetadata +#> + +function Initialize-V2024Entitlement1AccessModelMetadata { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Attributes} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Entitlement1AccessModelMetadata' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "attributes" = ${Attributes} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Entitlement1AccessModelMetadata + +.DESCRIPTION + +Convert from JSON to Entitlement1AccessModelMetadata + +.PARAMETER Json + +Json object + +.OUTPUTS + +Entitlement1AccessModelMetadata +#> +function ConvertFrom-V2024JsonToEntitlement1AccessModelMetadata { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Entitlement1AccessModelMetadata' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Entitlement1AccessModelMetadata + $AllProperties = ("attributes") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributes"))) { #optional property not found + $Attributes = $null + } else { + $Attributes = $JsonParameters.PSobject.Properties["attributes"].value + } + + $PSO = [PSCustomObject]@{ + "attributes" = ${Attributes} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Entitlement1ManuallyUpdatedFields.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Entitlement1ManuallyUpdatedFields.ps1 new file mode 100644 index 000000000..026d6fb69 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Entitlement1ManuallyUpdatedFields.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER DISPLAYNAME +True if the entitlements name was updated manually via entitlement import csv or patch endpoint. False means that property value has not been change after first entitlement aggregation. Field refers to [Entitlement response schema](https://developer.sailpoint.com/idn/api/beta/get-entitlement) > `name` property. +.PARAMETER DESCRIPTION +True if the entitlement description was updated manually via entitlement import csv or patch endpoint. False means that property value has not been change after first entitlement aggregation. Field refers to [Entitlement response schema](https://developer.sailpoint.com/idn/api/beta/get-entitlement) > `description` property. +.OUTPUTS + +Entitlement1ManuallyUpdatedFields +#> + +function Initialize-V2024Entitlement1ManuallyUpdatedFields { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${DISPLAYNAME} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${DESCRIPTION} = $false + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Entitlement1ManuallyUpdatedFields' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "DISPLAY_NAME" = ${DISPLAYNAME} + "DESCRIPTION" = ${DESCRIPTION} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Entitlement1ManuallyUpdatedFields + +.DESCRIPTION + +Convert from JSON to Entitlement1ManuallyUpdatedFields + +.PARAMETER Json + +Json object + +.OUTPUTS + +Entitlement1ManuallyUpdatedFields +#> +function ConvertFrom-V2024JsonToEntitlement1ManuallyUpdatedFields { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Entitlement1ManuallyUpdatedFields' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Entitlement1ManuallyUpdatedFields + $AllProperties = ("DISPLAY_NAME", "DESCRIPTION") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "DISPLAY_NAME"))) { #optional property not found + $DISPLAYNAME = $null + } else { + $DISPLAYNAME = $JsonParameters.PSobject.Properties["DISPLAY_NAME"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "DESCRIPTION"))) { #optional property not found + $DESCRIPTION = $null + } else { + $DESCRIPTION = $JsonParameters.PSobject.Properties["DESCRIPTION"].value + } + + $PSO = [PSCustomObject]@{ + "DISPLAY_NAME" = ${DISPLAYNAME} + "DESCRIPTION" = ${DESCRIPTION} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Entitlement1Owner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Entitlement1Owner.ps1 new file mode 100644 index 000000000..e2fd08c21 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Entitlement1Owner.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +The owner id for the entitlement +.PARAMETER Name +The owner name for the entitlement +.PARAMETER Type +The type of the owner. Initially only type IDENTITY is supported +.OUTPUTS + +Entitlement1Owner +#> + +function Initialize-V2024Entitlement1Owner { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY")] + [String] + ${Type} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Entitlement1Owner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "type" = ${Type} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Entitlement1Owner + +.DESCRIPTION + +Convert from JSON to Entitlement1Owner + +.PARAMETER Json + +Json object + +.OUTPUTS + +Entitlement1Owner +#> +function ConvertFrom-V2024JsonToEntitlement1Owner { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Entitlement1Owner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Entitlement1Owner + $AllProperties = ("id", "name", "type") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "type" = ${Type} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Entitlement1Source.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Entitlement1Source.ps1 new file mode 100644 index 000000000..66c4eb9e8 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Entitlement1Source.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +The source ID +.PARAMETER Type +The source type, will always be ""SOURCE"" +.PARAMETER Name +The source name +.OUTPUTS + +Entitlement1Source +#> + +function Initialize-V2024Entitlement1Source { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Entitlement1Source' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Entitlement1Source + +.DESCRIPTION + +Convert from JSON to Entitlement1Source + +.PARAMETER Json + +Json object + +.OUTPUTS + +Entitlement1Source +#> +function ConvertFrom-V2024JsonToEntitlement1Source { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Entitlement1Source' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Entitlement1Source + $AllProperties = ("id", "type", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/EntitlementAccessRequestConfig.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/EntitlementAccessRequestConfig.ps1 new file mode 100644 index 000000000..507dcdab5 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/EntitlementAccessRequestConfig.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER ApprovalSchemes +Ordered list of approval steps for the access request. Empty when no approval is required. +.PARAMETER RequestCommentRequired +If the requester must provide a comment during access request. +.PARAMETER DenialCommentRequired +If the reviewer must provide a comment when denying the access request. +.OUTPUTS + +EntitlementAccessRequestConfig +#> + +function Initialize-V2024EntitlementAccessRequestConfig { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${ApprovalSchemes}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${RequestCommentRequired} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${DenialCommentRequired} = $false + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024EntitlementAccessRequestConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "approvalSchemes" = ${ApprovalSchemes} + "requestCommentRequired" = ${RequestCommentRequired} + "denialCommentRequired" = ${DenialCommentRequired} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to EntitlementAccessRequestConfig + +.DESCRIPTION + +Convert from JSON to EntitlementAccessRequestConfig + +.PARAMETER Json + +Json object + +.OUTPUTS + +EntitlementAccessRequestConfig +#> +function ConvertFrom-V2024JsonToEntitlementAccessRequestConfig { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024EntitlementAccessRequestConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024EntitlementAccessRequestConfig + $AllProperties = ("approvalSchemes", "requestCommentRequired", "denialCommentRequired") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "approvalSchemes"))) { #optional property not found + $ApprovalSchemes = $null + } else { + $ApprovalSchemes = $JsonParameters.PSobject.Properties["approvalSchemes"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requestCommentRequired"))) { #optional property not found + $RequestCommentRequired = $null + } else { + $RequestCommentRequired = $JsonParameters.PSobject.Properties["requestCommentRequired"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "denialCommentRequired"))) { #optional property not found + $DenialCommentRequired = $null + } else { + $DenialCommentRequired = $JsonParameters.PSobject.Properties["denialCommentRequired"].value + } + + $PSO = [PSCustomObject]@{ + "approvalSchemes" = ${ApprovalSchemes} + "requestCommentRequired" = ${RequestCommentRequired} + "denialCommentRequired" = ${DenialCommentRequired} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/EntitlementApprovalScheme.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/EntitlementApprovalScheme.ps1 new file mode 100644 index 000000000..17b0e7559 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/EntitlementApprovalScheme.ps1 @@ -0,0 +1,110 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER ApproverType +Describes the individual or group that is responsible for an approval step. Values are as follows. **ENTITLEMENT_OWNER**: Owner of the associated Entitlement **SOURCE_OWNER**: Owner of the associated Source **MANAGER**: Manager of the Identity for whom the request is being made **GOVERNANCE_GROUP**: A Governance Group, the ID of which is specified by the **approverId** field +.PARAMETER ApproverId +Id of the specific approver, used only when approverType is GOVERNANCE_GROUP +.OUTPUTS + +EntitlementApprovalScheme +#> + +function Initialize-V2024EntitlementApprovalScheme { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ENTITLEMENT_OWNER", "SOURCE_OWNER", "MANAGER", "GOVERNANCE_GROUP")] + [String] + ${ApproverType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ApproverId} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024EntitlementApprovalScheme' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "approverType" = ${ApproverType} + "approverId" = ${ApproverId} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to EntitlementApprovalScheme + +.DESCRIPTION + +Convert from JSON to EntitlementApprovalScheme + +.PARAMETER Json + +Json object + +.OUTPUTS + +EntitlementApprovalScheme +#> +function ConvertFrom-V2024JsonToEntitlementApprovalScheme { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024EntitlementApprovalScheme' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024EntitlementApprovalScheme + $AllProperties = ("approverType", "approverId") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "approverType"))) { #optional property not found + $ApproverType = $null + } else { + $ApproverType = $JsonParameters.PSobject.Properties["approverType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "approverId"))) { #optional property not found + $ApproverId = $null + } else { + $ApproverId = $JsonParameters.PSobject.Properties["approverId"].value + } + + $PSO = [PSCustomObject]@{ + "approverType" = ${ApproverType} + "approverId" = ${ApproverId} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/EntitlementBulkUpdateRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/EntitlementBulkUpdateRequest.ps1 new file mode 100644 index 000000000..0e2535483 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/EntitlementBulkUpdateRequest.ps1 @@ -0,0 +1,125 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER EntitlementIds +List of entitlement ids to update +.PARAMETER JsonPatch +No description available. +.OUTPUTS + +EntitlementBulkUpdateRequest +#> + +function Initialize-V2024EntitlementBulkUpdateRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${EntitlementIds}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${JsonPatch} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024EntitlementBulkUpdateRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$EntitlementIds) { + throw "invalid value for 'EntitlementIds', 'EntitlementIds' cannot be null." + } + + if ($EntitlementIds.length -gt 50) { + throw "invalid value for 'EntitlementIds', number of items must be less than or equal to 50." + } + + if (!$JsonPatch) { + throw "invalid value for 'JsonPatch', 'JsonPatch' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "entitlementIds" = ${EntitlementIds} + "jsonPatch" = ${JsonPatch} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to EntitlementBulkUpdateRequest + +.DESCRIPTION + +Convert from JSON to EntitlementBulkUpdateRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +EntitlementBulkUpdateRequest +#> +function ConvertFrom-V2024JsonToEntitlementBulkUpdateRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024EntitlementBulkUpdateRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024EntitlementBulkUpdateRequest + $AllProperties = ("entitlementIds", "jsonPatch") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'entitlementIds' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "entitlementIds"))) { + throw "Error! JSON cannot be serialized due to the required property 'entitlementIds' missing." + } else { + $EntitlementIds = $JsonParameters.PSobject.Properties["entitlementIds"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "jsonPatch"))) { + throw "Error! JSON cannot be serialized due to the required property 'jsonPatch' missing." + } else { + $JsonPatch = $JsonParameters.PSobject.Properties["jsonPatch"].value + } + + $PSO = [PSCustomObject]@{ + "entitlementIds" = ${EntitlementIds} + "jsonPatch" = ${JsonPatch} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/EntitlementDocument.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/EntitlementDocument.ps1 new file mode 100644 index 000000000..6cfd73c2d --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/EntitlementDocument.ps1 @@ -0,0 +1,295 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Entitlement + +.PARAMETER Id +No description available. +.PARAMETER Name +No description available. +.PARAMETER Type +No description available. +.PARAMETER Modified +ISO-8601 date-time referring to the time when the object was last modified. +.PARAMETER Synced +ISO-8601 date-time referring to the date-time when object was queued to be synced into search database for use in the search API. This date-time changes anytime there is an update to the object, which triggers a synchronization event being sent to the search database. There may be some delay between the `synced` time and the time when the updated data is actually available in the search API. +.PARAMETER DisplayName +Entitlement's display name. +.PARAMETER Source +No description available. +.PARAMETER Segments +Segments with the role. +.PARAMETER SegmentCount +Number of segments with the role. +.PARAMETER Requestable +Indicates whether the entitlement is requestable. +.PARAMETER CloudGoverned +Indicates whether the entitlement is cloud governed. +.PARAMETER Created +ISO-8601 date-time referring to the time when the object was created. +.PARAMETER Privileged +Indicates whether the entitlement is privileged. +.PARAMETER IdentityCount +Number of identities who have access to the entitlement. +.PARAMETER Tags +Tags that have been applied to the object. +.OUTPUTS + +EntitlementDocument +#> + +function Initialize-V2024EntitlementDocument { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("accessprofile", "accountactivity", "account", "aggregation", "entitlement", "event", "identity", "role")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Modified}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Synced}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${DisplayName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Source}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Segments}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${SegmentCount}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Requestable} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${CloudGoverned} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Privileged} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${IdentityCount}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Tags} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024EntitlementDocument' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "_type" = ${Type} + "modified" = ${Modified} + "synced" = ${Synced} + "displayName" = ${DisplayName} + "source" = ${Source} + "segments" = ${Segments} + "segmentCount" = ${SegmentCount} + "requestable" = ${Requestable} + "cloudGoverned" = ${CloudGoverned} + "created" = ${Created} + "privileged" = ${Privileged} + "identityCount" = ${IdentityCount} + "tags" = ${Tags} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to EntitlementDocument + +.DESCRIPTION + +Convert from JSON to EntitlementDocument + +.PARAMETER Json + +Json object + +.OUTPUTS + +EntitlementDocument +#> +function ConvertFrom-V2024JsonToEntitlementDocument { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024EntitlementDocument' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024EntitlementDocument + $AllProperties = ("id", "name", "_type", "modified", "synced", "displayName", "source", "segments", "segmentCount", "requestable", "cloudGoverned", "created", "privileged", "identityCount", "tags") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'id' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "_type"))) { + throw "Error! JSON cannot be serialized due to the required property '_type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["_type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "synced"))) { #optional property not found + $Synced = $null + } else { + $Synced = $JsonParameters.PSobject.Properties["synced"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "displayName"))) { #optional property not found + $DisplayName = $null + } else { + $DisplayName = $JsonParameters.PSobject.Properties["displayName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "source"))) { #optional property not found + $Source = $null + } else { + $Source = $JsonParameters.PSobject.Properties["source"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "segments"))) { #optional property not found + $Segments = $null + } else { + $Segments = $JsonParameters.PSobject.Properties["segments"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "segmentCount"))) { #optional property not found + $SegmentCount = $null + } else { + $SegmentCount = $JsonParameters.PSobject.Properties["segmentCount"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requestable"))) { #optional property not found + $Requestable = $null + } else { + $Requestable = $JsonParameters.PSobject.Properties["requestable"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "cloudGoverned"))) { #optional property not found + $CloudGoverned = $null + } else { + $CloudGoverned = $JsonParameters.PSobject.Properties["cloudGoverned"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "privileged"))) { #optional property not found + $Privileged = $null + } else { + $Privileged = $JsonParameters.PSobject.Properties["privileged"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityCount"))) { #optional property not found + $IdentityCount = $null + } else { + $IdentityCount = $JsonParameters.PSobject.Properties["identityCount"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "tags"))) { #optional property not found + $Tags = $null + } else { + $Tags = $JsonParameters.PSobject.Properties["tags"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "_type" = ${Type} + "modified" = ${Modified} + "synced" = ${Synced} + "displayName" = ${DisplayName} + "source" = ${Source} + "segments" = ${Segments} + "segmentCount" = ${SegmentCount} + "requestable" = ${Requestable} + "cloudGoverned" = ${CloudGoverned} + "created" = ${Created} + "privileged" = ${Privileged} + "identityCount" = ${IdentityCount} + "tags" = ${Tags} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/EntitlementDocumentAllOfSource.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/EntitlementDocumentAllOfSource.ps1 new file mode 100644 index 000000000..f8ed7e2b3 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/EntitlementDocumentAllOfSource.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Entitlement's source. + +.PARAMETER Id +ID of entitlement's source. +.PARAMETER Name +Display name of entitlement's source. +.OUTPUTS + +EntitlementDocumentAllOfSource +#> + +function Initialize-V2024EntitlementDocumentAllOfSource { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024EntitlementDocumentAllOfSource' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to EntitlementDocumentAllOfSource + +.DESCRIPTION + +Convert from JSON to EntitlementDocumentAllOfSource + +.PARAMETER Json + +Json object + +.OUTPUTS + +EntitlementDocumentAllOfSource +#> +function ConvertFrom-V2024JsonToEntitlementDocumentAllOfSource { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024EntitlementDocumentAllOfSource' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024EntitlementDocumentAllOfSource + $AllProperties = ("id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/EntitlementDto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/EntitlementDto.ps1 new file mode 100644 index 000000000..a67dfd0b4 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/EntitlementDto.ps1 @@ -0,0 +1,229 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Name +Name of the Object +.PARAMETER Attribute +Name of the entitlement attribute +.PARAMETER Value +Raw value of the entitlement +.PARAMETER Description +Entitlment description +.PARAMETER Attributes +Entitlement attributes +.PARAMETER SourceSchemaObjectType +Schema objectType on the given application that maps to an Account Group +.PARAMETER Privileged +Determines if this Entitlement is privileged. +.PARAMETER CloudGoverned +Determines if this Entitlement is goverened in the cloud. +.PARAMETER Source +No description available. +.OUTPUTS + +EntitlementDto +#> + +function Initialize-V2024EntitlementDto { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Attribute}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Value}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${Attributes}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SourceSchemaObjectType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Privileged}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${CloudGoverned}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Source} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024EntitlementDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "attribute" = ${Attribute} + "value" = ${Value} + "description" = ${Description} + "attributes" = ${Attributes} + "sourceSchemaObjectType" = ${SourceSchemaObjectType} + "privileged" = ${Privileged} + "cloudGoverned" = ${CloudGoverned} + "source" = ${Source} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to EntitlementDto + +.DESCRIPTION + +Convert from JSON to EntitlementDto + +.PARAMETER Json + +Json object + +.OUTPUTS + +EntitlementDto +#> +function ConvertFrom-V2024JsonToEntitlementDto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024EntitlementDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024EntitlementDto + $AllProperties = ("id", "name", "created", "modified", "attribute", "value", "description", "attributes", "sourceSchemaObjectType", "privileged", "cloudGoverned", "source") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'name' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attribute"))) { #optional property not found + $Attribute = $null + } else { + $Attribute = $JsonParameters.PSobject.Properties["attribute"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "value"))) { #optional property not found + $Value = $null + } else { + $Value = $JsonParameters.PSobject.Properties["value"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributes"))) { #optional property not found + $Attributes = $null + } else { + $Attributes = $JsonParameters.PSobject.Properties["attributes"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceSchemaObjectType"))) { #optional property not found + $SourceSchemaObjectType = $null + } else { + $SourceSchemaObjectType = $JsonParameters.PSobject.Properties["sourceSchemaObjectType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "privileged"))) { #optional property not found + $Privileged = $null + } else { + $Privileged = $JsonParameters.PSobject.Properties["privileged"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "cloudGoverned"))) { #optional property not found + $CloudGoverned = $null + } else { + $CloudGoverned = $JsonParameters.PSobject.Properties["cloudGoverned"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "source"))) { #optional property not found + $Source = $null + } else { + $Source = $JsonParameters.PSobject.Properties["source"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "created" = ${Created} + "modified" = ${Modified} + "attribute" = ${Attribute} + "value" = ${Value} + "description" = ${Description} + "attributes" = ${Attributes} + "sourceSchemaObjectType" = ${SourceSchemaObjectType} + "privileged" = ${Privileged} + "cloudGoverned" = ${CloudGoverned} + "source" = ${Source} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/EntitlementRef.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/EntitlementRef.ps1 new file mode 100644 index 000000000..271b2529a --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/EntitlementRef.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Entitlement including a specific set of access. + +.PARAMETER Type +Entitlement's DTO type. +.PARAMETER Id +Entitlement's ID. +.PARAMETER Name +Entitlement's display name. +.OUTPUTS + +EntitlementRef +#> + +function Initialize-V2024EntitlementRef { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ENTITLEMENT")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024EntitlementRef' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to EntitlementRef + +.DESCRIPTION + +Convert from JSON to EntitlementRef + +.PARAMETER Json + +Json object + +.OUTPUTS + +EntitlementRef +#> +function ConvertFrom-V2024JsonToEntitlementRef { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024EntitlementRef' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024EntitlementRef + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/EntitlementRef1.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/EntitlementRef1.ps1 new file mode 100644 index 000000000..60377bc6f --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/EntitlementRef1.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Entitlement including a specific set of access. + +.PARAMETER Type +Entitlement's DTO type. +.PARAMETER Id +Entitlement's ID. +.PARAMETER Name +Entitlement's display name. +.OUTPUTS + +EntitlementRef1 +#> + +function Initialize-V2024EntitlementRef1 { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ENTITLEMENT")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024EntitlementRef1' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to EntitlementRef1 + +.DESCRIPTION + +Convert from JSON to EntitlementRef1 + +.PARAMETER Json + +Json object + +.OUTPUTS + +EntitlementRef1 +#> +function ConvertFrom-V2024JsonToEntitlementRef1 { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024EntitlementRef1' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024EntitlementRef1 + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/EntitlementRequestConfig.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/EntitlementRequestConfig.ps1 new file mode 100644 index 000000000..21896dd01 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/EntitlementRequestConfig.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER AccessRequestConfig +No description available. +.OUTPUTS + +EntitlementRequestConfig +#> + +function Initialize-V2024EntitlementRequestConfig { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${AccessRequestConfig} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024EntitlementRequestConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "accessRequestConfig" = ${AccessRequestConfig} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to EntitlementRequestConfig + +.DESCRIPTION + +Convert from JSON to EntitlementRequestConfig + +.PARAMETER Json + +Json object + +.OUTPUTS + +EntitlementRequestConfig +#> +function ConvertFrom-V2024JsonToEntitlementRequestConfig { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024EntitlementRequestConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024EntitlementRequestConfig + $AllProperties = ("accessRequestConfig") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accessRequestConfig"))) { #optional property not found + $AccessRequestConfig = $null + } else { + $AccessRequestConfig = $JsonParameters.PSobject.Properties["accessRequestConfig"].value + } + + $PSO = [PSCustomObject]@{ + "accessRequestConfig" = ${AccessRequestConfig} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/EntitlementRequestConfig1.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/EntitlementRequestConfig1.ps1 new file mode 100644 index 000000000..ba3697a3b --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/EntitlementRequestConfig1.ps1 @@ -0,0 +1,135 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER AllowEntitlementRequest +If this is true, entitlement requests are allowed. +.PARAMETER RequestCommentsRequired +If this is true, comments are required to submit entitlement requests. +.PARAMETER DeniedCommentsRequired +If this is true, comments are required to reject entitlement requests. +.PARAMETER GrantRequestApprovalSchemes +Approval schemes for granting entitlement request. This can be empty if no approval is needed. Multiple schemes must be comma-separated. The valid schemes are ""entitlementOwner"", ""sourceOwner"", ""manager"" and ""workgroup:{id}"". You can use multiple governance groups (workgroups). +.OUTPUTS + +EntitlementRequestConfig1 +#> + +function Initialize-V2024EntitlementRequestConfig1 { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${AllowEntitlementRequest} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${RequestCommentsRequired} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${DeniedCommentsRequired} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${GrantRequestApprovalSchemes} = "sourceOwner" + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024EntitlementRequestConfig1' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "allowEntitlementRequest" = ${AllowEntitlementRequest} + "requestCommentsRequired" = ${RequestCommentsRequired} + "deniedCommentsRequired" = ${DeniedCommentsRequired} + "grantRequestApprovalSchemes" = ${GrantRequestApprovalSchemes} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to EntitlementRequestConfig1 + +.DESCRIPTION + +Convert from JSON to EntitlementRequestConfig1 + +.PARAMETER Json + +Json object + +.OUTPUTS + +EntitlementRequestConfig1 +#> +function ConvertFrom-V2024JsonToEntitlementRequestConfig1 { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024EntitlementRequestConfig1' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024EntitlementRequestConfig1 + $AllProperties = ("allowEntitlementRequest", "requestCommentsRequired", "deniedCommentsRequired", "grantRequestApprovalSchemes") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "allowEntitlementRequest"))) { #optional property not found + $AllowEntitlementRequest = $null + } else { + $AllowEntitlementRequest = $JsonParameters.PSobject.Properties["allowEntitlementRequest"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requestCommentsRequired"))) { #optional property not found + $RequestCommentsRequired = $null + } else { + $RequestCommentsRequired = $JsonParameters.PSobject.Properties["requestCommentsRequired"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "deniedCommentsRequired"))) { #optional property not found + $DeniedCommentsRequired = $null + } else { + $DeniedCommentsRequired = $JsonParameters.PSobject.Properties["deniedCommentsRequired"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "grantRequestApprovalSchemes"))) { #optional property not found + $GrantRequestApprovalSchemes = $null + } else { + $GrantRequestApprovalSchemes = $JsonParameters.PSobject.Properties["grantRequestApprovalSchemes"].value + } + + $PSO = [PSCustomObject]@{ + "allowEntitlementRequest" = ${AllowEntitlementRequest} + "requestCommentsRequired" = ${RequestCommentsRequired} + "deniedCommentsRequired" = ${DeniedCommentsRequired} + "grantRequestApprovalSchemes" = ${GrantRequestApprovalSchemes} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/EntitlementSource.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/EntitlementSource.ps1 new file mode 100644 index 000000000..add419bca --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/EntitlementSource.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +The source ID +.PARAMETER Type +The source type, will always be ""SOURCE"" +.PARAMETER Name +The source name +.OUTPUTS + +EntitlementSource +#> + +function Initialize-V2024EntitlementSource { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024EntitlementSource' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to EntitlementSource + +.DESCRIPTION + +Convert from JSON to EntitlementSource + +.PARAMETER Json + +Json object + +.OUTPUTS + +EntitlementSource +#> +function ConvertFrom-V2024JsonToEntitlementSource { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024EntitlementSource' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024EntitlementSource + $AllProperties = ("id", "type", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/EntitlementSourceResetBaseReferenceDto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/EntitlementSourceResetBaseReferenceDto.ps1 new file mode 100644 index 000000000..0b01ea089 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/EntitlementSourceResetBaseReferenceDto.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Type +The DTO type +.PARAMETER Id +The task ID of the object to which this reference applies +.PARAMETER Name +Human-readable display name of the object to which this reference applies +.OUTPUTS + +EntitlementSourceResetBaseReferenceDto +#> + +function Initialize-V2024EntitlementSourceResetBaseReferenceDto { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024EntitlementSourceResetBaseReferenceDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to EntitlementSourceResetBaseReferenceDto + +.DESCRIPTION + +Convert from JSON to EntitlementSourceResetBaseReferenceDto + +.PARAMETER Json + +Json object + +.OUTPUTS + +EntitlementSourceResetBaseReferenceDto +#> +function ConvertFrom-V2024JsonToEntitlementSourceResetBaseReferenceDto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024EntitlementSourceResetBaseReferenceDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024EntitlementSourceResetBaseReferenceDto + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/EntitlementSummary.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/EntitlementSummary.ps1 new file mode 100644 index 000000000..6748dab4f --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/EntitlementSummary.ps1 @@ -0,0 +1,214 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +EntitlementReference + +.PARAMETER Id +The unique ID of the referenced object. +.PARAMETER Name +The human readable name of the referenced object. +.PARAMETER DisplayName +No description available. +.PARAMETER Type +No description available. +.PARAMETER Description +No description available. +.PARAMETER Source +No description available. +.PARAMETER Privileged +No description available. +.PARAMETER Attribute +No description available. +.PARAMETER Value +No description available. +.PARAMETER Standalone +No description available. +.OUTPUTS + +EntitlementSummary +#> + +function Initialize-V2024EntitlementSummary { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${DisplayName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ACCOUNT_CORRELATION_CONFIG", "ACCESS_PROFILE", "ACCESS_REQUEST_APPROVAL", "ACCOUNT", "APPLICATION", "CAMPAIGN", "CAMPAIGN_FILTER", "CERTIFICATION", "CLUSTER", "CONNECTOR_SCHEMA", "ENTITLEMENT", "GOVERNANCE_GROUP", "IDENTITY", "IDENTITY_PROFILE", "IDENTITY_REQUEST", "LIFECYCLE_STATE", "PASSWORD_POLICY", "ROLE", "RULE", "SOD_POLICY", "SOURCE", "TAG", "TAG_CATEGORY", "TASK_RESULT", "REPORT_RESULT", "SOD_VIOLATION", "ACCOUNT_ACTIVITY", "WORKGROUP")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Source}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Privileged}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Attribute}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Value}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Standalone} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024EntitlementSummary' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "displayName" = ${DisplayName} + "type" = ${Type} + "description" = ${Description} + "source" = ${Source} + "privileged" = ${Privileged} + "attribute" = ${Attribute} + "value" = ${Value} + "standalone" = ${Standalone} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to EntitlementSummary + +.DESCRIPTION + +Convert from JSON to EntitlementSummary + +.PARAMETER Json + +Json object + +.OUTPUTS + +EntitlementSummary +#> +function ConvertFrom-V2024JsonToEntitlementSummary { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024EntitlementSummary' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024EntitlementSummary + $AllProperties = ("id", "name", "displayName", "type", "description", "source", "privileged", "attribute", "value", "standalone") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "displayName"))) { #optional property not found + $DisplayName = $null + } else { + $DisplayName = $JsonParameters.PSobject.Properties["displayName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "source"))) { #optional property not found + $Source = $null + } else { + $Source = $JsonParameters.PSobject.Properties["source"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "privileged"))) { #optional property not found + $Privileged = $null + } else { + $Privileged = $JsonParameters.PSobject.Properties["privileged"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attribute"))) { #optional property not found + $Attribute = $null + } else { + $Attribute = $JsonParameters.PSobject.Properties["attribute"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "value"))) { #optional property not found + $Value = $null + } else { + $Value = $JsonParameters.PSobject.Properties["value"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "standalone"))) { #optional property not found + $Standalone = $null + } else { + $Standalone = $JsonParameters.PSobject.Properties["standalone"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "displayName" = ${DisplayName} + "type" = ${Type} + "description" = ${Description} + "source" = ${Source} + "privileged" = ${Privileged} + "attribute" = ${Attribute} + "value" = ${Value} + "standalone" = ${Standalone} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/EntityCreatedByDTO.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/EntityCreatedByDTO.ps1 new file mode 100644 index 000000000..57d6912b4 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/EntityCreatedByDTO.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +ID of the creator +.PARAMETER DisplayName +The display name of the creator +.OUTPUTS + +EntityCreatedByDTO +#> + +function Initialize-V2024EntityCreatedByDTO { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${DisplayName} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024EntityCreatedByDTO' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "displayName" = ${DisplayName} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to EntityCreatedByDTO + +.DESCRIPTION + +Convert from JSON to EntityCreatedByDTO + +.PARAMETER Json + +Json object + +.OUTPUTS + +EntityCreatedByDTO +#> +function ConvertFrom-V2024JsonToEntityCreatedByDTO { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024EntityCreatedByDTO' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024EntityCreatedByDTO + $AllProperties = ("id", "displayName") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "displayName"))) { #optional property not found + $DisplayName = $null + } else { + $DisplayName = $JsonParameters.PSobject.Properties["displayName"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "displayName" = ${DisplayName} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ErrorMessage.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ErrorMessage.ps1 new file mode 100644 index 000000000..d6448c1ff --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ErrorMessage.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Locale +Locale is the current Locale +.PARAMETER LocaleOrigin +LocaleOrigin holds possible values of how the locale was selected +.PARAMETER Text +Text is the actual text of the error message +.OUTPUTS + +ErrorMessage +#> + +function Initialize-V2024ErrorMessage { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Locale}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${LocaleOrigin}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Text} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ErrorMessage' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "locale" = ${Locale} + "localeOrigin" = ${LocaleOrigin} + "text" = ${Text} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ErrorMessage + +.DESCRIPTION + +Convert from JSON to ErrorMessage + +.PARAMETER Json + +Json object + +.OUTPUTS + +ErrorMessage +#> +function ConvertFrom-V2024JsonToErrorMessage { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ErrorMessage' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ErrorMessage + $AllProperties = ("locale", "localeOrigin", "text") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "locale"))) { #optional property not found + $Locale = $null + } else { + $Locale = $JsonParameters.PSobject.Properties["locale"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "localeOrigin"))) { #optional property not found + $LocaleOrigin = $null + } else { + $LocaleOrigin = $JsonParameters.PSobject.Properties["localeOrigin"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "text"))) { #optional property not found + $Text = $null + } else { + $Text = $JsonParameters.PSobject.Properties["text"].value + } + + $PSO = [PSCustomObject]@{ + "locale" = ${Locale} + "localeOrigin" = ${LocaleOrigin} + "text" = ${Text} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ErrorMessageDto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ErrorMessageDto.ps1 new file mode 100644 index 000000000..817c42995 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ErrorMessageDto.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Locale +The locale for the message text, a BCP 47 language tag. +.PARAMETER LocaleOrigin +No description available. +.PARAMETER Text +Actual text of the error message in the indicated locale. +.OUTPUTS + +ErrorMessageDto +#> + +function Initialize-V2024ErrorMessageDto { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Locale}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("DEFAULT", "REQUEST", "")] + [PSCustomObject] + ${LocaleOrigin}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Text} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ErrorMessageDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "locale" = ${Locale} + "localeOrigin" = ${LocaleOrigin} + "text" = ${Text} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ErrorMessageDto + +.DESCRIPTION + +Convert from JSON to ErrorMessageDto + +.PARAMETER Json + +Json object + +.OUTPUTS + +ErrorMessageDto +#> +function ConvertFrom-V2024JsonToErrorMessageDto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ErrorMessageDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ErrorMessageDto + $AllProperties = ("locale", "localeOrigin", "text") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "locale"))) { #optional property not found + $Locale = $null + } else { + $Locale = $JsonParameters.PSobject.Properties["locale"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "localeOrigin"))) { #optional property not found + $LocaleOrigin = $null + } else { + $LocaleOrigin = $JsonParameters.PSobject.Properties["localeOrigin"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "text"))) { #optional property not found + $Text = $null + } else { + $Text = $JsonParameters.PSobject.Properties["text"].value + } + + $PSO = [PSCustomObject]@{ + "locale" = ${Locale} + "localeOrigin" = ${LocaleOrigin} + "text" = ${Text} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ErrorResponseDto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ErrorResponseDto.ps1 new file mode 100644 index 000000000..d0786465f --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ErrorResponseDto.ps1 @@ -0,0 +1,135 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER DetailCode +Fine-grained error code providing more detail of the error. +.PARAMETER TrackingId +Unique tracking id for the error. +.PARAMETER Messages +Generic localized reason for error +.PARAMETER Causes +Plain-text descriptive reasons to provide additional detail to the text provided in the messages field +.OUTPUTS + +ErrorResponseDto +#> + +function Initialize-V2024ErrorResponseDto { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${DetailCode}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${TrackingId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Messages}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Causes} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ErrorResponseDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "detailCode" = ${DetailCode} + "trackingId" = ${TrackingId} + "messages" = ${Messages} + "causes" = ${Causes} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ErrorResponseDto + +.DESCRIPTION + +Convert from JSON to ErrorResponseDto + +.PARAMETER Json + +Json object + +.OUTPUTS + +ErrorResponseDto +#> +function ConvertFrom-V2024JsonToErrorResponseDto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ErrorResponseDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ErrorResponseDto + $AllProperties = ("detailCode", "trackingId", "messages", "causes") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "detailCode"))) { #optional property not found + $DetailCode = $null + } else { + $DetailCode = $JsonParameters.PSobject.Properties["detailCode"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "trackingId"))) { #optional property not found + $TrackingId = $null + } else { + $TrackingId = $JsonParameters.PSobject.Properties["trackingId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "messages"))) { #optional property not found + $Messages = $null + } else { + $Messages = $JsonParameters.PSobject.Properties["messages"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "causes"))) { #optional property not found + $Causes = $null + } else { + $Causes = $JsonParameters.PSobject.Properties["causes"].value + } + + $PSO = [PSCustomObject]@{ + "detailCode" = ${DetailCode} + "trackingId" = ${TrackingId} + "messages" = ${Messages} + "causes" = ${Causes} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/EvaluateResponse.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/EvaluateResponse.ps1 new file mode 100644 index 000000000..52b60dd01 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/EvaluateResponse.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +The response body for Evaluate Reassignment Configuration + +.PARAMETER ReassignToId +The Identity ID which should be the recipient of any work items sent to a specific identity & work type +.PARAMETER LookupTrail +List of Reassignments found by looking up the next `TargetIdentity` in a ReassignmentConfiguration +.OUTPUTS + +EvaluateResponse +#> + +function Initialize-V2024EvaluateResponse { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ReassignToId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${LookupTrail} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024EvaluateResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "reassignToId" = ${ReassignToId} + "lookupTrail" = ${LookupTrail} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to EvaluateResponse + +.DESCRIPTION + +Convert from JSON to EvaluateResponse + +.PARAMETER Json + +Json object + +.OUTPUTS + +EvaluateResponse +#> +function ConvertFrom-V2024JsonToEvaluateResponse { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024EvaluateResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024EvaluateResponse + $AllProperties = ("reassignToId", "lookupTrail") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "reassignToId"))) { #optional property not found + $ReassignToId = $null + } else { + $ReassignToId = $JsonParameters.PSobject.Properties["reassignToId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "lookupTrail"))) { #optional property not found + $LookupTrail = $null + } else { + $LookupTrail = $JsonParameters.PSobject.Properties["lookupTrail"].value + } + + $PSO = [PSCustomObject]@{ + "reassignToId" = ${ReassignToId} + "lookupTrail" = ${LookupTrail} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/EventAttributes.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/EventAttributes.ps1 new file mode 100644 index 000000000..6959ebb8f --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/EventAttributes.ps1 @@ -0,0 +1,130 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Attributes related to an IdentityNow ETS event + +.PARAMETER Id +The unique ID of the trigger +.PARAMETER VarFilter +JSON path expression that will limit which events the trigger will fire on +.PARAMETER Description +Description of the event trigger +.OUTPUTS + +EventAttributes +#> + +function Initialize-V2024EventAttributes { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${VarFilter}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024EventAttributes' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "filter.$" = ${VarFilter} + "description" = ${Description} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to EventAttributes + +.DESCRIPTION + +Convert from JSON to EventAttributes + +.PARAMETER Json + +Json object + +.OUTPUTS + +EventAttributes +#> +function ConvertFrom-V2024JsonToEventAttributes { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024EventAttributes' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024EventAttributes + $AllProperties = ("id", "filter.$", "description") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'id' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "filter.$"))) { #optional property not found + $VarFilter = $null + } else { + $VarFilter = $JsonParameters.PSobject.Properties["filter.$"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "filter.$" = ${VarFilter} + "description" = ${Description} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/EventBridgeConfig.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/EventBridgeConfig.ps1 new file mode 100644 index 000000000..d90c98d04 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/EventBridgeConfig.ps1 @@ -0,0 +1,121 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER AwsAccount +AWS Account Number (12-digit number) that has the EventBridge Partner Event Source Resource. +.PARAMETER AwsRegion +AWS Region that has the EventBridge Partner Event Source Resource. See https://docs.aws.amazon.com/general/latest/gr/rande.html for a full list of available values. +.OUTPUTS + +EventBridgeConfig +#> + +function Initialize-V2024EventBridgeConfig { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AwsAccount}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AwsRegion} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024EventBridgeConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$AwsAccount) { + throw "invalid value for 'AwsAccount', 'AwsAccount' cannot be null." + } + + if (!$AwsRegion) { + throw "invalid value for 'AwsRegion', 'AwsRegion' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "awsAccount" = ${AwsAccount} + "awsRegion" = ${AwsRegion} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to EventBridgeConfig + +.DESCRIPTION + +Convert from JSON to EventBridgeConfig + +.PARAMETER Json + +Json object + +.OUTPUTS + +EventBridgeConfig +#> +function ConvertFrom-V2024JsonToEventBridgeConfig { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024EventBridgeConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024EventBridgeConfig + $AllProperties = ("awsAccount", "awsRegion") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'awsAccount' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "awsAccount"))) { + throw "Error! JSON cannot be serialized due to the required property 'awsAccount' missing." + } else { + $AwsAccount = $JsonParameters.PSobject.Properties["awsAccount"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "awsRegion"))) { + throw "Error! JSON cannot be serialized due to the required property 'awsRegion' missing." + } else { + $AwsRegion = $JsonParameters.PSobject.Properties["awsRegion"].value + } + + $PSO = [PSCustomObject]@{ + "awsAccount" = ${AwsAccount} + "awsRegion" = ${AwsRegion} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/EventDocument.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/EventDocument.ps1 new file mode 100644 index 000000000..835b0a0b9 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/EventDocument.ps1 @@ -0,0 +1,334 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Event + +.PARAMETER Id +No description available. +.PARAMETER Name +No description available. +.PARAMETER Type +No description available. +.PARAMETER Created +ISO-8601 date-time referring to the time when the object was created. +.PARAMETER Synced +ISO-8601 date-time referring to the date-time when object was queued to be synced into search database for use in the search API. This date-time changes anytime there is an update to the object, which triggers a synchronization event being sent to the search database. There may be some delay between the `synced` time and the time when the updated data is actually available in the search API. +.PARAMETER Action +Name of the event as it's displayed in audit reports. +.PARAMETER Type +Event type. Refer to [Event Types](https://documentation.sailpoint.com/saas/help/search/index.html#event-types) for a list of event types and their meanings. +.PARAMETER Actor +Name of the actor that generated the event. +.PARAMETER Target +Name of the target, or recipient, of the event. +.PARAMETER Stack +The event's stack. +.PARAMETER TrackingNumber +ID of the group of events. +.PARAMETER IpAddress +Target system's IP address. +.PARAMETER Details +ID of event's details. +.PARAMETER Attributes +Attributes involved in the event. +.PARAMETER Objects +Objects the event is happening to. +.PARAMETER Operation +Operation, or action, performed during the event. +.PARAMETER Status +Event status. Refer to [Event Statuses](https://documentation.sailpoint.com/saas/help/search/index.html#event-statuses) for a list of event statuses and their meanings. +.PARAMETER TechnicalName +Event's normalized name. This normalized name always follows the pattern of 'objects_operation_status'. +.OUTPUTS + +EventDocument +#> + +function Initialize-V2024EventDocument { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("accessprofile", "accountactivity", "account", "aggregation", "entitlement", "event", "identity", "role")] + [PSCustomObject] + ${DocumentType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Synced}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Action}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Actor}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Target}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Stack}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${TrackingNumber}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${IpAddress}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Details}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${Attributes}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Objects}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Operation}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Status}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${TechnicalName} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024EventDocument' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "_type" = ${DocumentType} + "created" = ${Created} + "synced" = ${Synced} + "action" = ${Action} + "type" = ${Type} + "actor" = ${Actor} + "target" = ${Target} + "stack" = ${Stack} + "trackingNumber" = ${TrackingNumber} + "ipAddress" = ${IpAddress} + "details" = ${Details} + "attributes" = ${Attributes} + "objects" = ${Objects} + "operation" = ${Operation} + "status" = ${Status} + "technicalName" = ${TechnicalName} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to EventDocument + +.DESCRIPTION + +Convert from JSON to EventDocument + +.PARAMETER Json + +Json object + +.OUTPUTS + +EventDocument +#> +function ConvertFrom-V2024JsonToEventDocument { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024EventDocument' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024EventDocument + $AllProperties = ("id", "name", "_type", "created", "synced", "action", "type", "actor", "target", "stack", "trackingNumber", "ipAddress", "details", "attributes", "objects", "operation", "status", "technicalName") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'id' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "_type"))) { + throw "Error! JSON cannot be serialized due to the required property '_type' missing." + } else { + $DocumentType = $JsonParameters.PSobject.Properties["_type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "synced"))) { #optional property not found + $Synced = $null + } else { + $Synced = $JsonParameters.PSobject.Properties["synced"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "action"))) { #optional property not found + $Action = $null + } else { + $Action = $JsonParameters.PSobject.Properties["action"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "actor"))) { #optional property not found + $Actor = $null + } else { + $Actor = $JsonParameters.PSobject.Properties["actor"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "target"))) { #optional property not found + $Target = $null + } else { + $Target = $JsonParameters.PSobject.Properties["target"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "stack"))) { #optional property not found + $Stack = $null + } else { + $Stack = $JsonParameters.PSobject.Properties["stack"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "trackingNumber"))) { #optional property not found + $TrackingNumber = $null + } else { + $TrackingNumber = $JsonParameters.PSobject.Properties["trackingNumber"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "ipAddress"))) { #optional property not found + $IpAddress = $null + } else { + $IpAddress = $JsonParameters.PSobject.Properties["ipAddress"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "details"))) { #optional property not found + $Details = $null + } else { + $Details = $JsonParameters.PSobject.Properties["details"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributes"))) { #optional property not found + $Attributes = $null + } else { + $Attributes = $JsonParameters.PSobject.Properties["attributes"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "objects"))) { #optional property not found + $Objects = $null + } else { + $Objects = $JsonParameters.PSobject.Properties["objects"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "operation"))) { #optional property not found + $Operation = $null + } else { + $Operation = $JsonParameters.PSobject.Properties["operation"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { #optional property not found + $Status = $null + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "technicalName"))) { #optional property not found + $TechnicalName = $null + } else { + $TechnicalName = $JsonParameters.PSobject.Properties["technicalName"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "_type" = ${DocumentType} + "created" = ${Created} + "synced" = ${Synced} + "action" = ${Action} + "type" = ${Type} + "actor" = ${Actor} + "target" = ${Target} + "stack" = ${Stack} + "trackingNumber" = ${TrackingNumber} + "ipAddress" = ${IpAddress} + "details" = ${Details} + "attributes" = ${Attributes} + "objects" = ${Objects} + "operation" = ${Operation} + "status" = ${Status} + "technicalName" = ${TechnicalName} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ExceptionAccessCriteria.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ExceptionAccessCriteria.ps1 new file mode 100644 index 000000000..06ac3f063 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ExceptionAccessCriteria.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER LeftCriteria +No description available. +.PARAMETER RightCriteria +No description available. +.OUTPUTS + +ExceptionAccessCriteria +#> + +function Initialize-V2024ExceptionAccessCriteria { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${LeftCriteria}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${RightCriteria} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ExceptionAccessCriteria' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "leftCriteria" = ${LeftCriteria} + "rightCriteria" = ${RightCriteria} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ExceptionAccessCriteria + +.DESCRIPTION + +Convert from JSON to ExceptionAccessCriteria + +.PARAMETER Json + +Json object + +.OUTPUTS + +ExceptionAccessCriteria +#> +function ConvertFrom-V2024JsonToExceptionAccessCriteria { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ExceptionAccessCriteria' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ExceptionAccessCriteria + $AllProperties = ("leftCriteria", "rightCriteria") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "leftCriteria"))) { #optional property not found + $LeftCriteria = $null + } else { + $LeftCriteria = $JsonParameters.PSobject.Properties["leftCriteria"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "rightCriteria"))) { #optional property not found + $RightCriteria = $null + } else { + $RightCriteria = $JsonParameters.PSobject.Properties["rightCriteria"].value + } + + $PSO = [PSCustomObject]@{ + "leftCriteria" = ${LeftCriteria} + "rightCriteria" = ${RightCriteria} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ExceptionCriteria.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ExceptionCriteria.ps1 new file mode 100644 index 000000000..39611da28 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ExceptionCriteria.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER CriteriaList +List of exception criteria. There is a min of 1 and max of 50 items in the list. +.OUTPUTS + +ExceptionCriteria +#> + +function Initialize-V2024ExceptionCriteria { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${CriteriaList} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ExceptionCriteria' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "criteriaList" = ${CriteriaList} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ExceptionCriteria + +.DESCRIPTION + +Convert from JSON to ExceptionCriteria + +.PARAMETER Json + +Json object + +.OUTPUTS + +ExceptionCriteria +#> +function ConvertFrom-V2024JsonToExceptionCriteria { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ExceptionCriteria' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ExceptionCriteria + $AllProperties = ("criteriaList") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "criteriaList"))) { #optional property not found + $CriteriaList = $null + } else { + $CriteriaList = $JsonParameters.PSobject.Properties["criteriaList"].value + } + + $PSO = [PSCustomObject]@{ + "criteriaList" = ${CriteriaList} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ExceptionCriteriaAccess.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ExceptionCriteriaAccess.ps1 new file mode 100644 index 000000000..9a59cb7ae --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ExceptionCriteriaAccess.ps1 @@ -0,0 +1,136 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Access reference with addition of boolean existing flag to indicate whether the access was extant + +.PARAMETER Type +No description available. +.PARAMETER Id +ID of the object to which this reference applies +.PARAMETER Name +Human-readable display name of the object to which this reference applies +.PARAMETER Existing +Whether the subject identity already had that access or not +.OUTPUTS + +ExceptionCriteriaAccess +#> + +function Initialize-V2024ExceptionCriteriaAccess { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ACCOUNT_CORRELATION_CONFIG", "ACCESS_PROFILE", "ACCESS_REQUEST_APPROVAL", "ACCOUNT", "APPLICATION", "CAMPAIGN", "CAMPAIGN_FILTER", "CERTIFICATION", "CLUSTER", "CONNECTOR_SCHEMA", "ENTITLEMENT", "GOVERNANCE_GROUP", "IDENTITY", "IDENTITY_PROFILE", "IDENTITY_REQUEST", "LIFECYCLE_STATE", "PASSWORD_POLICY", "ROLE", "RULE", "SOD_POLICY", "SOURCE", "TAG", "TAG_CATEGORY", "TASK_RESULT", "REPORT_RESULT", "SOD_VIOLATION", "ACCOUNT_ACTIVITY", "WORKGROUP")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Existing} = $false + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ExceptionCriteriaAccess' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + "existing" = ${Existing} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ExceptionCriteriaAccess + +.DESCRIPTION + +Convert from JSON to ExceptionCriteriaAccess + +.PARAMETER Json + +Json object + +.OUTPUTS + +ExceptionCriteriaAccess +#> +function ConvertFrom-V2024JsonToExceptionCriteriaAccess { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ExceptionCriteriaAccess' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ExceptionCriteriaAccess + $AllProperties = ("type", "id", "name", "existing") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "existing"))) { #optional property not found + $Existing = $null + } else { + $Existing = $JsonParameters.PSobject.Properties["existing"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + "existing" = ${Existing} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ExceptionCriteriaCriteriaListInner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ExceptionCriteriaCriteriaListInner.ps1 new file mode 100644 index 000000000..3b0751e07 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ExceptionCriteriaCriteriaListInner.ps1 @@ -0,0 +1,136 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +The types of objects supported for SOD violations + +.PARAMETER Type +The type of object that is referenced +.PARAMETER Id +ID of the object to which this reference applies +.PARAMETER Name +Human-readable display name of the object to which this reference applies +.PARAMETER Existing +Whether the subject identity already had that access or not +.OUTPUTS + +ExceptionCriteriaCriteriaListInner +#> + +function Initialize-V2024ExceptionCriteriaCriteriaListInner { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ENTITLEMENT")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Existing} = $false + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ExceptionCriteriaCriteriaListInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + "existing" = ${Existing} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ExceptionCriteriaCriteriaListInner + +.DESCRIPTION + +Convert from JSON to ExceptionCriteriaCriteriaListInner + +.PARAMETER Json + +Json object + +.OUTPUTS + +ExceptionCriteriaCriteriaListInner +#> +function ConvertFrom-V2024JsonToExceptionCriteriaCriteriaListInner { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ExceptionCriteriaCriteriaListInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ExceptionCriteriaCriteriaListInner + $AllProperties = ("type", "id", "name", "existing") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "existing"))) { #optional property not found + $Existing = $null + } else { + $Existing = $JsonParameters.PSobject.Properties["existing"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + "existing" = ${Existing} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ExecutionStatus.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ExecutionStatus.ps1 new file mode 100644 index 000000000..ea85d2399 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ExecutionStatus.ps1 @@ -0,0 +1,28 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum ExecutionStatus. + +.DESCRIPTION + +The current state of execution. +#> + +enum ExecutionStatus { + # enum value: "EXECUTING" + EXECUTING + # enum value: "VERIFYING" + VERIFYING + # enum value: "TERMINATED" + TERMINATED + # enum value: "COMPLETED" + COMPLETED +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ExpansionItem.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ExpansionItem.ps1 new file mode 100644 index 000000000..355463d0b --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ExpansionItem.ps1 @@ -0,0 +1,148 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER AccountId +The ID of the account +.PARAMETER Cause +No description available. +.PARAMETER Name +The name of the item +.PARAMETER AttributeRequests +No description available. +.PARAMETER Source +No description available. +.OUTPUTS + +ExpansionItem +#> + +function Initialize-V2024ExpansionItem { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AccountId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Cause}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${AttributeRequests}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Source} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ExpansionItem' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "accountId" = ${AccountId} + "cause" = ${Cause} + "name" = ${Name} + "attributeRequests" = ${AttributeRequests} + "source" = ${Source} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ExpansionItem + +.DESCRIPTION + +Convert from JSON to ExpansionItem + +.PARAMETER Json + +Json object + +.OUTPUTS + +ExpansionItem +#> +function ConvertFrom-V2024JsonToExpansionItem { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ExpansionItem' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ExpansionItem + $AllProperties = ("accountId", "cause", "name", "attributeRequests", "source") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accountId"))) { #optional property not found + $AccountId = $null + } else { + $AccountId = $JsonParameters.PSobject.Properties["accountId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "cause"))) { #optional property not found + $Cause = $null + } else { + $Cause = $JsonParameters.PSobject.Properties["cause"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributeRequests"))) { #optional property not found + $AttributeRequests = $null + } else { + $AttributeRequests = $JsonParameters.PSobject.Properties["attributeRequests"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "source"))) { #optional property not found + $Source = $null + } else { + $Source = $JsonParameters.PSobject.Properties["source"].value + } + + $PSO = [PSCustomObject]@{ + "accountId" = ${AccountId} + "cause" = ${Cause} + "name" = ${Name} + "attributeRequests" = ${AttributeRequests} + "source" = ${Source} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ExportFormDefinitionsByTenant200ResponseInner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ExportFormDefinitionsByTenant200ResponseInner.ps1 new file mode 100644 index 000000000..cd57d3148 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ExportFormDefinitionsByTenant200ResponseInner.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Object +No description available. +.PARAMETER Self +No description available. +.PARAMETER Version +No description available. +.OUTPUTS + +ExportFormDefinitionsByTenant200ResponseInner +#> + +function Initialize-V2024ExportFormDefinitionsByTenant200ResponseInner { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Object}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Self}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${Version} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ExportFormDefinitionsByTenant200ResponseInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "object" = ${Object} + "self" = ${Self} + "version" = ${Version} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ExportFormDefinitionsByTenant200ResponseInner + +.DESCRIPTION + +Convert from JSON to ExportFormDefinitionsByTenant200ResponseInner + +.PARAMETER Json + +Json object + +.OUTPUTS + +ExportFormDefinitionsByTenant200ResponseInner +#> +function ConvertFrom-V2024JsonToExportFormDefinitionsByTenant200ResponseInner { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ExportFormDefinitionsByTenant200ResponseInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ExportFormDefinitionsByTenant200ResponseInner + $AllProperties = ("object", "self", "version") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "object"))) { #optional property not found + $Object = $null + } else { + $Object = $JsonParameters.PSobject.Properties["object"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "self"))) { #optional property not found + $Self = $null + } else { + $Self = $JsonParameters.PSobject.Properties["self"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "version"))) { #optional property not found + $Version = $null + } else { + $Version = $JsonParameters.PSobject.Properties["version"].value + } + + $PSO = [PSCustomObject]@{ + "object" = ${Object} + "self" = ${Self} + "version" = ${Version} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ExportOptions.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ExportOptions.ps1 new file mode 100644 index 000000000..0109325c8 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ExportOptions.ps1 @@ -0,0 +1,124 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER ExcludeTypes +Object type names to be excluded from an sp-config export command. +.PARAMETER IncludeTypes +Object type names to be included in an sp-config export command. IncludeTypes takes precedence over excludeTypes. +.PARAMETER ObjectOptions +Additional options targeting specific objects related to each item in the includeTypes field +.OUTPUTS + +ExportOptions +#> + +function Initialize-V2024ExportOptions { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ACCESS_PROFILE", "ACCESS_REQUEST_CONFIG", "ATTR_SYNC_SOURCE_CONFIG", "AUTH_ORG", "CAMPAIGN_FILTER", "FORM_DEFINITION", "GOVERNANCE_GROUP", "IDENTITY_OBJECT_CONFIG", "IDENTITY_PROFILE", "LIFECYCLE_STATE", "NOTIFICATION_TEMPLATE", "PASSWORD_POLICY", "PASSWORD_SYNC_GROUP", "PUBLIC_IDENTITIES_CONFIG", "ROLE", "RULE", "SEGMENT", "SERVICE_DESK_INTEGRATION", "SOD_POLICY", "SOURCE", "TAG", "TRANSFORM", "TRIGGER_SUBSCRIPTION", "WORKFLOW")] + [String[]] + ${ExcludeTypes}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ACCESS_PROFILE", "ACCESS_REQUEST_CONFIG", "ATTR_SYNC_SOURCE_CONFIG", "AUTH_ORG", "CAMPAIGN_FILTER", "FORM_DEFINITION", "GOVERNANCE_GROUP", "IDENTITY_OBJECT_CONFIG", "IDENTITY_PROFILE", "LIFECYCLE_STATE", "NOTIFICATION_TEMPLATE", "PASSWORD_POLICY", "PASSWORD_SYNC_GROUP", "PUBLIC_IDENTITIES_CONFIG", "ROLE", "RULE", "SEGMENT", "SERVICE_DESK_INTEGRATION", "SOD_POLICY", "SOURCE", "TAG", "TRANSFORM", "TRIGGER_SUBSCRIPTION", "WORKFLOW")] + [String[]] + ${IncludeTypes}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${ObjectOptions} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ExportOptions' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "excludeTypes" = ${ExcludeTypes} + "includeTypes" = ${IncludeTypes} + "objectOptions" = ${ObjectOptions} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ExportOptions + +.DESCRIPTION + +Convert from JSON to ExportOptions + +.PARAMETER Json + +Json object + +.OUTPUTS + +ExportOptions +#> +function ConvertFrom-V2024JsonToExportOptions { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ExportOptions' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ExportOptions + $AllProperties = ("excludeTypes", "includeTypes", "objectOptions") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "excludeTypes"))) { #optional property not found + $ExcludeTypes = $null + } else { + $ExcludeTypes = $JsonParameters.PSobject.Properties["excludeTypes"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "includeTypes"))) { #optional property not found + $IncludeTypes = $null + } else { + $IncludeTypes = $JsonParameters.PSobject.Properties["includeTypes"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "objectOptions"))) { #optional property not found + $ObjectOptions = $null + } else { + $ObjectOptions = $JsonParameters.PSobject.Properties["objectOptions"].value + } + + $PSO = [PSCustomObject]@{ + "excludeTypes" = ${ExcludeTypes} + "includeTypes" = ${IncludeTypes} + "objectOptions" = ${ObjectOptions} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ExportPayload.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ExportPayload.ps1 new file mode 100644 index 000000000..1408b900f --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ExportPayload.ps1 @@ -0,0 +1,137 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Description +Optional user defined description/name for export job. +.PARAMETER ExcludeTypes +Object type names to be excluded from an sp-config export command. +.PARAMETER IncludeTypes +Object type names to be included in an sp-config export command. IncludeTypes takes precedence over excludeTypes. +.PARAMETER ObjectOptions +Additional options targeting specific objects related to each item in the includeTypes field +.OUTPUTS + +ExportPayload +#> + +function Initialize-V2024ExportPayload { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ACCESS_PROFILE", "ACCESS_REQUEST_CONFIG", "ATTR_SYNC_SOURCE_CONFIG", "AUTH_ORG", "CAMPAIGN_FILTER", "FORM_DEFINITION", "GOVERNANCE_GROUP", "IDENTITY_OBJECT_CONFIG", "IDENTITY_PROFILE", "LIFECYCLE_STATE", "NOTIFICATION_TEMPLATE", "PASSWORD_POLICY", "PASSWORD_SYNC_GROUP", "PUBLIC_IDENTITIES_CONFIG", "ROLE", "RULE", "SEGMENT", "SERVICE_DESK_INTEGRATION", "SOD_POLICY", "SOURCE", "TAG", "TRANSFORM", "TRIGGER_SUBSCRIPTION", "WORKFLOW")] + [String[]] + ${ExcludeTypes}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ACCESS_PROFILE", "ACCESS_REQUEST_CONFIG", "ATTR_SYNC_SOURCE_CONFIG", "AUTH_ORG", "CAMPAIGN_FILTER", "FORM_DEFINITION", "GOVERNANCE_GROUP", "IDENTITY_OBJECT_CONFIG", "IDENTITY_PROFILE", "LIFECYCLE_STATE", "NOTIFICATION_TEMPLATE", "PASSWORD_POLICY", "PASSWORD_SYNC_GROUP", "PUBLIC_IDENTITIES_CONFIG", "ROLE", "RULE", "SEGMENT", "SERVICE_DESK_INTEGRATION", "SOD_POLICY", "SOURCE", "TAG", "TRANSFORM", "TRIGGER_SUBSCRIPTION", "WORKFLOW")] + [String[]] + ${IncludeTypes}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${ObjectOptions} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ExportPayload' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "description" = ${Description} + "excludeTypes" = ${ExcludeTypes} + "includeTypes" = ${IncludeTypes} + "objectOptions" = ${ObjectOptions} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ExportPayload + +.DESCRIPTION + +Convert from JSON to ExportPayload + +.PARAMETER Json + +Json object + +.OUTPUTS + +ExportPayload +#> +function ConvertFrom-V2024JsonToExportPayload { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ExportPayload' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ExportPayload + $AllProperties = ("description", "excludeTypes", "includeTypes", "objectOptions") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "excludeTypes"))) { #optional property not found + $ExcludeTypes = $null + } else { + $ExcludeTypes = $JsonParameters.PSobject.Properties["excludeTypes"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "includeTypes"))) { #optional property not found + $IncludeTypes = $null + } else { + $IncludeTypes = $JsonParameters.PSobject.Properties["includeTypes"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "objectOptions"))) { #optional property not found + $ObjectOptions = $null + } else { + $ObjectOptions = $JsonParameters.PSobject.Properties["objectOptions"].value + } + + $PSO = [PSCustomObject]@{ + "description" = ${Description} + "excludeTypes" = ${ExcludeTypes} + "includeTypes" = ${IncludeTypes} + "objectOptions" = ${ObjectOptions} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Expression.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Expression.ps1 new file mode 100644 index 000000000..d9a6ac79b --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Expression.ps1 @@ -0,0 +1,136 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Operator +Operator for the expression +.PARAMETER Attribute +Name for the attribute +.PARAMETER Value +No description available. +.PARAMETER Children +List of expressions +.OUTPUTS + +Expression +#> + +function Initialize-V2024Expression { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("AND", "EQUALS")] + [String] + ${Operator}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Attribute}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Value}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Children} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Expression' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "operator" = ${Operator} + "attribute" = ${Attribute} + "value" = ${Value} + "children" = ${Children} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Expression + +.DESCRIPTION + +Convert from JSON to Expression + +.PARAMETER Json + +Json object + +.OUTPUTS + +Expression +#> +function ConvertFrom-V2024JsonToExpression { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Expression' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Expression + $AllProperties = ("operator", "attribute", "value", "children") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "operator"))) { #optional property not found + $Operator = $null + } else { + $Operator = $JsonParameters.PSobject.Properties["operator"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attribute"))) { #optional property not found + $Attribute = $null + } else { + $Attribute = $JsonParameters.PSobject.Properties["attribute"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "value"))) { #optional property not found + $Value = $null + } else { + $Value = $JsonParameters.PSobject.Properties["value"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "children"))) { #optional property not found + $Children = $null + } else { + $Children = $JsonParameters.PSobject.Properties["children"].value + } + + $PSO = [PSCustomObject]@{ + "operator" = ${Operator} + "attribute" = ${Attribute} + "value" = ${Value} + "children" = ${Children} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ExpressionChildrenInner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ExpressionChildrenInner.ps1 new file mode 100644 index 000000000..f16693167 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ExpressionChildrenInner.ps1 @@ -0,0 +1,136 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Operator +Operator for the expression +.PARAMETER Attribute +Name for the attribute +.PARAMETER Value +No description available. +.PARAMETER Children +There cannot be anymore nested children. This will always be null. +.OUTPUTS + +ExpressionChildrenInner +#> + +function Initialize-V2024ExpressionChildrenInner { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("AND", "EQUALS")] + [String] + ${Operator}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Attribute}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Value}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Children} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ExpressionChildrenInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "operator" = ${Operator} + "attribute" = ${Attribute} + "value" = ${Value} + "children" = ${Children} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ExpressionChildrenInner + +.DESCRIPTION + +Convert from JSON to ExpressionChildrenInner + +.PARAMETER Json + +Json object + +.OUTPUTS + +ExpressionChildrenInner +#> +function ConvertFrom-V2024JsonToExpressionChildrenInner { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ExpressionChildrenInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ExpressionChildrenInner + $AllProperties = ("operator", "attribute", "value", "children") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "operator"))) { #optional property not found + $Operator = $null + } else { + $Operator = $JsonParameters.PSobject.Properties["operator"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attribute"))) { #optional property not found + $Attribute = $null + } else { + $Attribute = $JsonParameters.PSobject.Properties["attribute"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "value"))) { #optional property not found + $Value = $null + } else { + $Value = $JsonParameters.PSobject.Properties["value"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "children"))) { #optional property not found + $Children = $null + } else { + $Children = $JsonParameters.PSobject.Properties["children"].value + } + + $PSO = [PSCustomObject]@{ + "operator" = ${Operator} + "attribute" = ${Attribute} + "value" = ${Value} + "children" = ${Children} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ExternalAttributes.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ExternalAttributes.ps1 new file mode 100644 index 000000000..6c63e1e13 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ExternalAttributes.ps1 @@ -0,0 +1,135 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Attributes related to an external trigger + +.PARAMETER Name +A unique name for the external trigger +.PARAMETER Description +Additonal context about the external trigger +.PARAMETER ClientId +OAuth Client ID to authenticate with this trigger +.PARAMETER Url +URL to invoke this workflow +.OUTPUTS + +ExternalAttributes +#> + +function Initialize-V2024ExternalAttributes { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ClientId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Url} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ExternalAttributes' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "description" = ${Description} + "clientId" = ${ClientId} + "url" = ${Url} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ExternalAttributes + +.DESCRIPTION + +Convert from JSON to ExternalAttributes + +.PARAMETER Json + +Json object + +.OUTPUTS + +ExternalAttributes +#> +function ConvertFrom-V2024JsonToExternalAttributes { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ExternalAttributes' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ExternalAttributes + $AllProperties = ("name", "description", "clientId", "url") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "clientId"))) { #optional property not found + $ClientId = $null + } else { + $ClientId = $JsonParameters.PSobject.Properties["clientId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "url"))) { #optional property not found + $Url = $null + } else { + $Url = $JsonParameters.PSobject.Properties["url"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "description" = ${Description} + "clientId" = ${ClientId} + "url" = ${Url} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/FeatureValueDto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/FeatureValueDto.ps1 new file mode 100644 index 000000000..8b14fbb19 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/FeatureValueDto.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Feature +The type of feature +.PARAMETER Numerator +The number of identities that have access to the feature +.PARAMETER Denominator +The number of identities with the corresponding feature +.OUTPUTS + +FeatureValueDto +#> + +function Initialize-V2024FeatureValueDto { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Feature}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${Numerator}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${Denominator} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024FeatureValueDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "feature" = ${Feature} + "numerator" = ${Numerator} + "denominator" = ${Denominator} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to FeatureValueDto + +.DESCRIPTION + +Convert from JSON to FeatureValueDto + +.PARAMETER Json + +Json object + +.OUTPUTS + +FeatureValueDto +#> +function ConvertFrom-V2024JsonToFeatureValueDto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024FeatureValueDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024FeatureValueDto + $AllProperties = ("feature", "numerator", "denominator") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "feature"))) { #optional property not found + $Feature = $null + } else { + $Feature = $JsonParameters.PSobject.Properties["feature"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "numerator"))) { #optional property not found + $Numerator = $null + } else { + $Numerator = $JsonParameters.PSobject.Properties["numerator"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "denominator"))) { #optional property not found + $Denominator = $null + } else { + $Denominator = $JsonParameters.PSobject.Properties["denominator"].value + } + + $PSO = [PSCustomObject]@{ + "feature" = ${Feature} + "numerator" = ${Numerator} + "denominator" = ${Denominator} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/FieldDetailsDto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/FieldDetailsDto.ps1 new file mode 100644 index 000000000..c8df0b5f7 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/FieldDetailsDto.ps1 @@ -0,0 +1,155 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Name +The name of the attribute. +.PARAMETER Transform +The transform to apply to the field +.PARAMETER Attributes +Attributes required for the transform +.PARAMETER Type +The type of the attribute. +.PARAMETER IsMultiValued +Flag indicating whether or not the attribute is multi-valued. +.OUTPUTS + +FieldDetailsDto +#> + +function Initialize-V2024FieldDetailsDto { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Transform}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Attributes}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${IsMultiValued} = $false + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024FieldDetailsDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "transform" = ${Transform} + "attributes" = ${Attributes} + "type" = ${Type} + "isMultiValued" = ${IsMultiValued} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to FieldDetailsDto + +.DESCRIPTION + +Convert from JSON to FieldDetailsDto + +.PARAMETER Json + +Json object + +.OUTPUTS + +FieldDetailsDto +#> +function ConvertFrom-V2024JsonToFieldDetailsDto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024FieldDetailsDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024FieldDetailsDto + $AllProperties = ("name", "transform", "attributes", "isRequired", "type", "isMultiValued") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "transform"))) { #optional property not found + $Transform = $null + } else { + $Transform = $JsonParameters.PSobject.Properties["transform"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributes"))) { #optional property not found + $Attributes = $null + } else { + $Attributes = $JsonParameters.PSobject.Properties["attributes"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "isRequired"))) { #optional property not found + $IsRequired = $null + } else { + $IsRequired = $JsonParameters.PSobject.Properties["isRequired"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "isMultiValued"))) { #optional property not found + $IsMultiValued = $null + } else { + $IsMultiValued = $JsonParameters.PSobject.Properties["isMultiValued"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "transform" = ${Transform} + "attributes" = ${Attributes} + "isRequired" = ${IsRequired} + "type" = ${Type} + "isMultiValued" = ${IsMultiValued} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/FilterAggregation.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/FilterAggregation.ps1 new file mode 100644 index 000000000..bc40bd289 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/FilterAggregation.ps1 @@ -0,0 +1,152 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +An additional filter to constrain the results of the search query. + +.PARAMETER Name +The name of the filter aggregate to be included in the result. +.PARAMETER Type +No description available. +.PARAMETER Field +The search field to apply the filter to. Prefix the field name with '@' to reference a nested object. +.PARAMETER Value +The value to filter on. +.OUTPUTS + +FilterAggregation +#> + +function Initialize-V2024FilterAggregation { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("TERM")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Field}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Value} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024FilterAggregation' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if (!$Field) { + throw "invalid value for 'Field', 'Field' cannot be null." + } + + if (!$Value) { + throw "invalid value for 'Value', 'Value' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "type" = ${Type} + "field" = ${Field} + "value" = ${Value} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to FilterAggregation + +.DESCRIPTION + +Convert from JSON to FilterAggregation + +.PARAMETER Json + +Json object + +.OUTPUTS + +FilterAggregation +#> +function ConvertFrom-V2024JsonToFilterAggregation { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024FilterAggregation' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024FilterAggregation + $AllProperties = ("name", "type", "field", "value") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'name' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "field"))) { + throw "Error! JSON cannot be serialized due to the required property 'field' missing." + } else { + $Field = $JsonParameters.PSobject.Properties["field"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "value"))) { + throw "Error! JSON cannot be serialized due to the required property 'value' missing." + } else { + $Value = $JsonParameters.PSobject.Properties["value"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "type" = ${Type} + "field" = ${Field} + "value" = ${Value} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/FilterType.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/FilterType.ps1 new file mode 100644 index 000000000..e448bf2f2 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/FilterType.ps1 @@ -0,0 +1,26 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum FilterType. + +.DESCRIPTION + +Enum representing the currently supported filter types. Additional values may be added in the future without notice. +#> + +enum FilterType { + # enum value: "EXISTS" + EXISTS + # enum value: "RANGE" + RANGE + # enum value: "TERMS" + TERMS +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/FirstValid.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/FirstValid.ps1 new file mode 100644 index 000000000..646db77bb --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/FirstValid.ps1 @@ -0,0 +1,130 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Values +An array of attributes to evaluate for existence. +.PARAMETER IgnoreErrors +a true or false value representing to move on to the next option if an error (like an Null Pointer Exception) were to occur. +.PARAMETER RequiresPeriodicRefresh +A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process +.OUTPUTS + +FirstValid +#> + +function Initialize-V2024FirstValid { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Values}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${IgnoreErrors} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${RequiresPeriodicRefresh} = $false + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024FirstValid' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Values) { + throw "invalid value for 'Values', 'Values' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "values" = ${Values} + "ignoreErrors" = ${IgnoreErrors} + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to FirstValid + +.DESCRIPTION + +Convert from JSON to FirstValid + +.PARAMETER Json + +Json object + +.OUTPUTS + +FirstValid +#> +function ConvertFrom-V2024JsonToFirstValid { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024FirstValid' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024FirstValid + $AllProperties = ("values", "ignoreErrors", "requiresPeriodicRefresh") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'values' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "values"))) { + throw "Error! JSON cannot be serialized due to the required property 'values' missing." + } else { + $Values = $JsonParameters.PSobject.Properties["values"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "ignoreErrors"))) { #optional property not found + $IgnoreErrors = $null + } else { + $IgnoreErrors = $JsonParameters.PSobject.Properties["ignoreErrors"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requiresPeriodicRefresh"))) { #optional property not found + $RequiresPeriodicRefresh = $null + } else { + $RequiresPeriodicRefresh = $JsonParameters.PSobject.Properties["requiresPeriodicRefresh"].value + } + + $PSO = [PSCustomObject]@{ + "values" = ${Values} + "ignoreErrors" = ${IgnoreErrors} + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormCondition.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormCondition.ps1 new file mode 100644 index 000000000..9eece37d8 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormCondition.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Represent a form conditional. + +.PARAMETER RuleOperator +ConditionRuleLogicalOperatorType value. AND ConditionRuleLogicalOperatorTypeAnd OR ConditionRuleLogicalOperatorTypeOr +.PARAMETER Rules +List of rules. +.PARAMETER Effects +List of effects. +.OUTPUTS + +FormCondition +#> + +function Initialize-V2024FormCondition { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("AND", "OR")] + [String] + ${RuleOperator}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Rules}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Effects} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024FormCondition' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "ruleOperator" = ${RuleOperator} + "rules" = ${Rules} + "effects" = ${Effects} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to FormCondition + +.DESCRIPTION + +Convert from JSON to FormCondition + +.PARAMETER Json + +Json object + +.OUTPUTS + +FormCondition +#> +function ConvertFrom-V2024JsonToFormCondition { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024FormCondition' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024FormCondition + $AllProperties = ("ruleOperator", "rules", "effects") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "ruleOperator"))) { #optional property not found + $RuleOperator = $null + } else { + $RuleOperator = $JsonParameters.PSobject.Properties["ruleOperator"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "rules"))) { #optional property not found + $Rules = $null + } else { + $Rules = $JsonParameters.PSobject.Properties["rules"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "effects"))) { #optional property not found + $Effects = $null + } else { + $Effects = $JsonParameters.PSobject.Properties["effects"].value + } + + $PSO = [PSCustomObject]@{ + "ruleOperator" = ${RuleOperator} + "rules" = ${Rules} + "effects" = ${Effects} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormDefinitionDynamicSchemaRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormDefinitionDynamicSchemaRequest.ps1 new file mode 100644 index 000000000..bfa8eba9b --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormDefinitionDynamicSchemaRequest.ps1 @@ -0,0 +1,148 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Attributes +No description available. +.PARAMETER Description +Description is the form definition dynamic schema description text +.PARAMETER Id +ID is a unique identifier +.PARAMETER Type +Type is the form definition dynamic schema type +.PARAMETER VersionNumber +VersionNumber is the form definition dynamic schema version number +.OUTPUTS + +FormDefinitionDynamicSchemaRequest +#> + +function Initialize-V2024FormDefinitionDynamicSchemaRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Attributes}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int64]] + ${VersionNumber} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024FormDefinitionDynamicSchemaRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "attributes" = ${Attributes} + "description" = ${Description} + "id" = ${Id} + "type" = ${Type} + "versionNumber" = ${VersionNumber} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to FormDefinitionDynamicSchemaRequest + +.DESCRIPTION + +Convert from JSON to FormDefinitionDynamicSchemaRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +FormDefinitionDynamicSchemaRequest +#> +function ConvertFrom-V2024JsonToFormDefinitionDynamicSchemaRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024FormDefinitionDynamicSchemaRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024FormDefinitionDynamicSchemaRequest + $AllProperties = ("attributes", "description", "id", "type", "versionNumber") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributes"))) { #optional property not found + $Attributes = $null + } else { + $Attributes = $JsonParameters.PSobject.Properties["attributes"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "versionNumber"))) { #optional property not found + $VersionNumber = $null + } else { + $VersionNumber = $JsonParameters.PSobject.Properties["versionNumber"].value + } + + $PSO = [PSCustomObject]@{ + "attributes" = ${Attributes} + "description" = ${Description} + "id" = ${Id} + "type" = ${Type} + "versionNumber" = ${VersionNumber} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormDefinitionDynamicSchemaRequestAttributes.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormDefinitionDynamicSchemaRequestAttributes.ps1 new file mode 100644 index 000000000..a5a0300f9 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormDefinitionDynamicSchemaRequestAttributes.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER FormDefinitionId +FormDefinitionID is a unique guid identifying this form definition +.OUTPUTS + +FormDefinitionDynamicSchemaRequestAttributes +#> + +function Initialize-V2024FormDefinitionDynamicSchemaRequestAttributes { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${FormDefinitionId} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024FormDefinitionDynamicSchemaRequestAttributes' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "formDefinitionId" = ${FormDefinitionId} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to FormDefinitionDynamicSchemaRequestAttributes + +.DESCRIPTION + +Convert from JSON to FormDefinitionDynamicSchemaRequestAttributes + +.PARAMETER Json + +Json object + +.OUTPUTS + +FormDefinitionDynamicSchemaRequestAttributes +#> +function ConvertFrom-V2024JsonToFormDefinitionDynamicSchemaRequestAttributes { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024FormDefinitionDynamicSchemaRequestAttributes' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024FormDefinitionDynamicSchemaRequestAttributes + $AllProperties = ("formDefinitionId") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "formDefinitionId"))) { #optional property not found + $FormDefinitionId = $null + } else { + $FormDefinitionId = $JsonParameters.PSobject.Properties["formDefinitionId"].value + } + + $PSO = [PSCustomObject]@{ + "formDefinitionId" = ${FormDefinitionId} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormDefinitionDynamicSchemaResponse.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormDefinitionDynamicSchemaResponse.ps1 new file mode 100644 index 000000000..5b6e73a0b --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormDefinitionDynamicSchemaResponse.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER OutputSchema +OutputSchema holds a JSON schema generated dynamically +.OUTPUTS + +FormDefinitionDynamicSchemaResponse +#> + +function Initialize-V2024FormDefinitionDynamicSchemaResponse { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${OutputSchema} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024FormDefinitionDynamicSchemaResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "outputSchema" = ${OutputSchema} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to FormDefinitionDynamicSchemaResponse + +.DESCRIPTION + +Convert from JSON to FormDefinitionDynamicSchemaResponse + +.PARAMETER Json + +Json object + +.OUTPUTS + +FormDefinitionDynamicSchemaResponse +#> +function ConvertFrom-V2024JsonToFormDefinitionDynamicSchemaResponse { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024FormDefinitionDynamicSchemaResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024FormDefinitionDynamicSchemaResponse + $AllProperties = ("outputSchema") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "outputSchema"))) { #optional property not found + $OutputSchema = $null + } else { + $OutputSchema = $JsonParameters.PSobject.Properties["outputSchema"].value + } + + $PSO = [PSCustomObject]@{ + "outputSchema" = ${OutputSchema} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormDefinitionFileUploadResponse.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormDefinitionFileUploadResponse.ps1 new file mode 100644 index 000000000..8daa597ad --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormDefinitionFileUploadResponse.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Created +Created is the date the file was uploaded +.PARAMETER FileId +fileId is a unique ULID that serves as an identifier for the form definition file +.PARAMETER FormDefinitionId +FormDefinitionID is a unique guid identifying this form definition +.OUTPUTS + +FormDefinitionFileUploadResponse +#> + +function Initialize-V2024FormDefinitionFileUploadResponse { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${FileId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${FormDefinitionId} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024FormDefinitionFileUploadResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "created" = ${Created} + "fileId" = ${FileId} + "formDefinitionId" = ${FormDefinitionId} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to FormDefinitionFileUploadResponse + +.DESCRIPTION + +Convert from JSON to FormDefinitionFileUploadResponse + +.PARAMETER Json + +Json object + +.OUTPUTS + +FormDefinitionFileUploadResponse +#> +function ConvertFrom-V2024JsonToFormDefinitionFileUploadResponse { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024FormDefinitionFileUploadResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024FormDefinitionFileUploadResponse + $AllProperties = ("created", "fileId", "formDefinitionId") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "fileId"))) { #optional property not found + $FileId = $null + } else { + $FileId = $JsonParameters.PSobject.Properties["fileId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "formDefinitionId"))) { #optional property not found + $FormDefinitionId = $null + } else { + $FormDefinitionId = $JsonParameters.PSobject.Properties["formDefinitionId"].value + } + + $PSO = [PSCustomObject]@{ + "created" = ${Created} + "fileId" = ${FileId} + "formDefinitionId" = ${FormDefinitionId} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormDefinitionInput.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormDefinitionInput.ps1 new file mode 100644 index 000000000..c6b224dff --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormDefinitionInput.ps1 @@ -0,0 +1,136 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +Unique identifier for the form input. +.PARAMETER Type +FormDefinitionInputType value. STRING FormDefinitionInputTypeString +.PARAMETER Label +Name for the form input. +.PARAMETER Description +Form input's description. +.OUTPUTS + +FormDefinitionInput +#> + +function Initialize-V2024FormDefinitionInput { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("STRING")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Label}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024FormDefinitionInput' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + "label" = ${Label} + "description" = ${Description} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to FormDefinitionInput + +.DESCRIPTION + +Convert from JSON to FormDefinitionInput + +.PARAMETER Json + +Json object + +.OUTPUTS + +FormDefinitionInput +#> +function ConvertFrom-V2024JsonToFormDefinitionInput { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024FormDefinitionInput' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024FormDefinitionInput + $AllProperties = ("id", "type", "label", "description") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "label"))) { #optional property not found + $Label = $null + } else { + $Label = $JsonParameters.PSobject.Properties["label"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + "label" = ${Label} + "description" = ${Description} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormDefinitionResponse.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormDefinitionResponse.ps1 new file mode 100644 index 000000000..f7e4b3719 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormDefinitionResponse.ps1 @@ -0,0 +1,213 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +Unique guid identifying the form definition. +.PARAMETER Name +Name of the form definition. +.PARAMETER Description +Form definition's description. +.PARAMETER Owner +No description available. +.PARAMETER UsedBy +List of objects using the form definition. Whenever a system uses a form, the API reaches out to the form service to record that the system is currently using it. +.PARAMETER FormInput +List of form inputs required to create a form-instance object. +.PARAMETER FormElements +List of nested form elements. +.PARAMETER FormConditions +Conditional logic that can dynamically modify the form as the recipient is interacting with it. +.PARAMETER Created +Created is the date the form definition was created +.PARAMETER Modified +Modified is the last date the form definition was modified +.OUTPUTS + +FormDefinitionResponse +#> + +function Initialize-V2024FormDefinitionResponse { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Owner}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${UsedBy}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${FormInput}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${FormElements}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${FormConditions}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Modified} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024FormDefinitionResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "description" = ${Description} + "owner" = ${Owner} + "usedBy" = ${UsedBy} + "formInput" = ${FormInput} + "formElements" = ${FormElements} + "formConditions" = ${FormConditions} + "created" = ${Created} + "modified" = ${Modified} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to FormDefinitionResponse + +.DESCRIPTION + +Convert from JSON to FormDefinitionResponse + +.PARAMETER Json + +Json object + +.OUTPUTS + +FormDefinitionResponse +#> +function ConvertFrom-V2024JsonToFormDefinitionResponse { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024FormDefinitionResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024FormDefinitionResponse + $AllProperties = ("id", "name", "description", "owner", "usedBy", "formInput", "formElements", "formConditions", "created", "modified") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "owner"))) { #optional property not found + $Owner = $null + } else { + $Owner = $JsonParameters.PSobject.Properties["owner"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "usedBy"))) { #optional property not found + $UsedBy = $null + } else { + $UsedBy = $JsonParameters.PSobject.Properties["usedBy"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "formInput"))) { #optional property not found + $FormInput = $null + } else { + $FormInput = $JsonParameters.PSobject.Properties["formInput"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "formElements"))) { #optional property not found + $FormElements = $null + } else { + $FormElements = $JsonParameters.PSobject.Properties["formElements"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "formConditions"))) { #optional property not found + $FormConditions = $null + } else { + $FormConditions = $JsonParameters.PSobject.Properties["formConditions"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "description" = ${Description} + "owner" = ${Owner} + "usedBy" = ${UsedBy} + "formInput" = ${FormInput} + "formElements" = ${FormElements} + "formConditions" = ${FormConditions} + "created" = ${Created} + "modified" = ${Modified} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormDetails.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormDetails.ps1 new file mode 100644 index 000000000..961f92ac5 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormDetails.ps1 @@ -0,0 +1,161 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +ID of the form +.PARAMETER Name +Name of the form +.PARAMETER Title +The form title +.PARAMETER Subtitle +The form subtitle. +.PARAMETER TargetUser +The name of the user that should be shown this form +.PARAMETER Sections +Sections of the form +.OUTPUTS + +FormDetails +#> + +function Initialize-V2024FormDetails { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Title}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Subtitle}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${TargetUser}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Sections} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024FormDetails' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "title" = ${Title} + "subtitle" = ${Subtitle} + "targetUser" = ${TargetUser} + "sections" = ${Sections} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to FormDetails + +.DESCRIPTION + +Convert from JSON to FormDetails + +.PARAMETER Json + +Json object + +.OUTPUTS + +FormDetails +#> +function ConvertFrom-V2024JsonToFormDetails { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024FormDetails' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024FormDetails + $AllProperties = ("id", "name", "title", "subtitle", "targetUser", "sections") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "title"))) { #optional property not found + $Title = $null + } else { + $Title = $JsonParameters.PSobject.Properties["title"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "subtitle"))) { #optional property not found + $Subtitle = $null + } else { + $Subtitle = $JsonParameters.PSobject.Properties["subtitle"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "targetUser"))) { #optional property not found + $TargetUser = $null + } else { + $TargetUser = $JsonParameters.PSobject.Properties["targetUser"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sections"))) { #optional property not found + $Sections = $null + } else { + $Sections = $JsonParameters.PSobject.Properties["sections"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "title" = ${Title} + "subtitle" = ${Subtitle} + "targetUser" = ${TargetUser} + "sections" = ${Sections} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormElement.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormElement.ps1 new file mode 100644 index 000000000..77ca005f5 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormElement.ps1 @@ -0,0 +1,149 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +Form element identifier. +.PARAMETER ElementType +FormElementType value. TEXT FormElementTypeText TOGGLE FormElementTypeToggle TEXTAREA FormElementTypeTextArea HIDDEN FormElementTypeHidden PHONE FormElementTypePhone EMAIL FormElementTypeEmail SELECT FormElementTypeSelect DATE FormElementTypeDate SECTION FormElementTypeSection COLUMN_SET FormElementTypeColumns IMAGE FormElementTypeImage DESCRIPTION FormElementTypeDescription +.PARAMETER Config +Config object. +.PARAMETER Key +Technical key. +.PARAMETER Validations +No description available. +.OUTPUTS + +FormElement +#> + +function Initialize-V2024FormElement { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("TEXT", "TOGGLE", "TEXTAREA", "HIDDEN", "PHONE", "EMAIL", "SELECT", "DATE", "SECTION", "COLUMN_SET", "IMAGE", "DESCRIPTION")] + [String] + ${ElementType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${Config}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Key}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Validations} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024FormElement' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "elementType" = ${ElementType} + "config" = ${Config} + "key" = ${Key} + "validations" = ${Validations} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to FormElement + +.DESCRIPTION + +Convert from JSON to FormElement + +.PARAMETER Json + +Json object + +.OUTPUTS + +FormElement +#> +function ConvertFrom-V2024JsonToFormElement { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024FormElement' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024FormElement + $AllProperties = ("id", "elementType", "config", "key", "validations") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "elementType"))) { #optional property not found + $ElementType = $null + } else { + $ElementType = $JsonParameters.PSobject.Properties["elementType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "config"))) { #optional property not found + $Config = $null + } else { + $Config = $JsonParameters.PSobject.Properties["config"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "key"))) { #optional property not found + $Key = $null + } else { + $Key = $JsonParameters.PSobject.Properties["key"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "validations"))) { #optional property not found + $Validations = $null + } else { + $Validations = $JsonParameters.PSobject.Properties["validations"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "elementType" = ${ElementType} + "config" = ${Config} + "key" = ${Key} + "validations" = ${Validations} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormElementDataSourceConfigOptions.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormElementDataSourceConfigOptions.ps1 new file mode 100644 index 000000000..05c2957ce --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormElementDataSourceConfigOptions.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Label +Label is the main label to display to the user when selecting this option +.PARAMETER SubLabel +SubLabel is the sub label to display below the label in diminutive styling to help describe or identify this option +.PARAMETER Value +Value is the value to save as an entry when the user selects this option +.OUTPUTS + +FormElementDataSourceConfigOptions +#> + +function Initialize-V2024FormElementDataSourceConfigOptions { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Label}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SubLabel}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Value} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024FormElementDataSourceConfigOptions' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "label" = ${Label} + "subLabel" = ${SubLabel} + "value" = ${Value} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to FormElementDataSourceConfigOptions + +.DESCRIPTION + +Convert from JSON to FormElementDataSourceConfigOptions + +.PARAMETER Json + +Json object + +.OUTPUTS + +FormElementDataSourceConfigOptions +#> +function ConvertFrom-V2024JsonToFormElementDataSourceConfigOptions { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024FormElementDataSourceConfigOptions' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024FormElementDataSourceConfigOptions + $AllProperties = ("label", "subLabel", "value") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "label"))) { #optional property not found + $Label = $null + } else { + $Label = $JsonParameters.PSobject.Properties["label"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "subLabel"))) { #optional property not found + $SubLabel = $null + } else { + $SubLabel = $JsonParameters.PSobject.Properties["subLabel"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "value"))) { #optional property not found + $Value = $null + } else { + $Value = $JsonParameters.PSobject.Properties["value"].value + } + + $PSO = [PSCustomObject]@{ + "label" = ${Label} + "subLabel" = ${SubLabel} + "value" = ${Value} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormElementDynamicDataSource.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormElementDynamicDataSource.ps1 new file mode 100644 index 000000000..64880addd --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormElementDynamicDataSource.ps1 @@ -0,0 +1,110 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Config +No description available. +.PARAMETER DataSourceType +DataSourceType is a FormElementDataSourceType value STATIC FormElementDataSourceTypeStatic INTERNAL FormElementDataSourceTypeInternal SEARCH FormElementDataSourceTypeSearch FORM_INPUT FormElementDataSourceTypeFormInput +.OUTPUTS + +FormElementDynamicDataSource +#> + +function Initialize-V2024FormElementDynamicDataSource { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Config}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("STATIC", "INTERNAL", "SEARCH", "FORM_INPUT")] + [String] + ${DataSourceType} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024FormElementDynamicDataSource' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "config" = ${Config} + "dataSourceType" = ${DataSourceType} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to FormElementDynamicDataSource + +.DESCRIPTION + +Convert from JSON to FormElementDynamicDataSource + +.PARAMETER Json + +Json object + +.OUTPUTS + +FormElementDynamicDataSource +#> +function ConvertFrom-V2024JsonToFormElementDynamicDataSource { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024FormElementDynamicDataSource' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024FormElementDynamicDataSource + $AllProperties = ("config", "dataSourceType") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "config"))) { #optional property not found + $Config = $null + } else { + $Config = $JsonParameters.PSobject.Properties["config"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "dataSourceType"))) { #optional property not found + $DataSourceType = $null + } else { + $DataSourceType = $JsonParameters.PSobject.Properties["dataSourceType"].value + } + + $PSO = [PSCustomObject]@{ + "config" = ${Config} + "dataSourceType" = ${DataSourceType} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormElementDynamicDataSourceConfig.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormElementDynamicDataSourceConfig.ps1 new file mode 100644 index 000000000..6d768b838 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormElementDynamicDataSourceConfig.ps1 @@ -0,0 +1,137 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER AggregationBucketField +AggregationBucketField is the aggregation bucket field name +.PARAMETER Indices +Indices is a list of indices to use +.PARAMETER ObjectType +ObjectType is a PreDefinedSelectOption value IDENTITY PreDefinedSelectOptionIdentity ACCESS_PROFILE PreDefinedSelectOptionAccessProfile SOURCES PreDefinedSelectOptionSources ROLE PreDefinedSelectOptionRole ENTITLEMENT PreDefinedSelectOptionEntitlement +.PARAMETER Query +Query is a text +.OUTPUTS + +FormElementDynamicDataSourceConfig +#> + +function Initialize-V2024FormElementDynamicDataSourceConfig { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AggregationBucketField}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("accessprofiles", "accountactivities", "entitlements", "identities", "events", "roles", "*")] + [String[]] + ${Indices}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY", "ACCESS_PROFILE", "SOURCES", "ROLE", "ENTITLEMENT")] + [String] + ${ObjectType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Query} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024FormElementDynamicDataSourceConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "aggregationBucketField" = ${AggregationBucketField} + "indices" = ${Indices} + "objectType" = ${ObjectType} + "query" = ${Query} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to FormElementDynamicDataSourceConfig + +.DESCRIPTION + +Convert from JSON to FormElementDynamicDataSourceConfig + +.PARAMETER Json + +Json object + +.OUTPUTS + +FormElementDynamicDataSourceConfig +#> +function ConvertFrom-V2024JsonToFormElementDynamicDataSourceConfig { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024FormElementDynamicDataSourceConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024FormElementDynamicDataSourceConfig + $AllProperties = ("aggregationBucketField", "indices", "objectType", "query") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "aggregationBucketField"))) { #optional property not found + $AggregationBucketField = $null + } else { + $AggregationBucketField = $JsonParameters.PSobject.Properties["aggregationBucketField"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "indices"))) { #optional property not found + $Indices = $null + } else { + $Indices = $JsonParameters.PSobject.Properties["indices"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "objectType"))) { #optional property not found + $ObjectType = $null + } else { + $ObjectType = $JsonParameters.PSobject.Properties["objectType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "query"))) { #optional property not found + $Query = $null + } else { + $Query = $JsonParameters.PSobject.Properties["query"].value + } + + $PSO = [PSCustomObject]@{ + "aggregationBucketField" = ${AggregationBucketField} + "indices" = ${Indices} + "objectType" = ${ObjectType} + "query" = ${Query} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormElementPreviewRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormElementPreviewRequest.ps1 new file mode 100644 index 000000000..7fcac440d --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormElementPreviewRequest.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER DataSource +No description available. +.OUTPUTS + +FormElementPreviewRequest +#> + +function Initialize-V2024FormElementPreviewRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${DataSource} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024FormElementPreviewRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "dataSource" = ${DataSource} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to FormElementPreviewRequest + +.DESCRIPTION + +Convert from JSON to FormElementPreviewRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +FormElementPreviewRequest +#> +function ConvertFrom-V2024JsonToFormElementPreviewRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024FormElementPreviewRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024FormElementPreviewRequest + $AllProperties = ("dataSource") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "dataSource"))) { #optional property not found + $DataSource = $null + } else { + $DataSource = $JsonParameters.PSobject.Properties["dataSource"].value + } + + $PSO = [PSCustomObject]@{ + "dataSource" = ${DataSource} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormElementValidationsSet.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormElementValidationsSet.ps1 new file mode 100644 index 000000000..bcec1432c --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormElementValidationsSet.ps1 @@ -0,0 +1,97 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Set of FormElementValidation items. + +.PARAMETER ValidationType +No description available. +.OUTPUTS + +FormElementValidationsSet +#> + +function Initialize-V2024FormElementValidationsSet { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("REQUIRED", "MIN_LENGTH", "MAX_LENGTH", "REGEX", "DATE", "MAX_DATE", "MIN_DATE", "LESS_THAN_DATE", "PHONE", "EMAIL", "DATA_SOURCE", "TEXTAREA")] + [String] + ${ValidationType} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024FormElementValidationsSet' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "validationType" = ${ValidationType} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to FormElementValidationsSet + +.DESCRIPTION + +Convert from JSON to FormElementValidationsSet + +.PARAMETER Json + +Json object + +.OUTPUTS + +FormElementValidationsSet +#> +function ConvertFrom-V2024JsonToFormElementValidationsSet { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024FormElementValidationsSet' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024FormElementValidationsSet + $AllProperties = ("validationType") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "validationType"))) { #optional property not found + $ValidationType = $null + } else { + $ValidationType = $JsonParameters.PSobject.Properties["validationType"].value + } + + $PSO = [PSCustomObject]@{ + "validationType" = ${ValidationType} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormError.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormError.ps1 new file mode 100644 index 000000000..25ae4d004 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormError.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Key +Key is the technical key +.PARAMETER Messages +Messages is a list of web.ErrorMessage items +.PARAMETER Value +Value is the value associated with a Key +.OUTPUTS + +FormError +#> + +function Initialize-V2024FormError { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Key}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Messages}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Value} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024FormError' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "key" = ${Key} + "messages" = ${Messages} + "value" = ${Value} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to FormError + +.DESCRIPTION + +Convert from JSON to FormError + +.PARAMETER Json + +Json object + +.OUTPUTS + +FormError +#> +function ConvertFrom-V2024JsonToFormError { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024FormError' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024FormError + $AllProperties = ("key", "messages", "value") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "key"))) { #optional property not found + $Key = $null + } else { + $Key = $JsonParameters.PSobject.Properties["key"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "messages"))) { #optional property not found + $Messages = $null + } else { + $Messages = $JsonParameters.PSobject.Properties["messages"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "value"))) { #optional property not found + $Value = $null + } else { + $Value = $JsonParameters.PSobject.Properties["value"].value + } + + $PSO = [PSCustomObject]@{ + "key" = ${Key} + "messages" = ${Messages} + "value" = ${Value} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormInstanceCreatedBy.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormInstanceCreatedBy.ps1 new file mode 100644 index 000000000..a4ad576c3 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormInstanceCreatedBy.ps1 @@ -0,0 +1,110 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +ID is a unique identifier +.PARAMETER Type +Type is a form instance created by type enum value WORKFLOW_EXECUTION FormInstanceCreatedByTypeWorkflowExecution SOURCE FormInstanceCreatedByTypeSource +.OUTPUTS + +FormInstanceCreatedBy +#> + +function Initialize-V2024FormInstanceCreatedBy { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("WORKFLOW_EXECUTION", "SOURCE")] + [String] + ${Type} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024FormInstanceCreatedBy' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to FormInstanceCreatedBy + +.DESCRIPTION + +Convert from JSON to FormInstanceCreatedBy + +.PARAMETER Json + +Json object + +.OUTPUTS + +FormInstanceCreatedBy +#> +function ConvertFrom-V2024JsonToFormInstanceCreatedBy { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024FormInstanceCreatedBy' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024FormInstanceCreatedBy + $AllProperties = ("id", "type") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormInstanceRecipient.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormInstanceRecipient.ps1 new file mode 100644 index 000000000..613660423 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormInstanceRecipient.ps1 @@ -0,0 +1,110 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +ID is a unique identifier +.PARAMETER Type +Type is a FormInstanceRecipientType value IDENTITY FormInstanceRecipientIdentity +.OUTPUTS + +FormInstanceRecipient +#> + +function Initialize-V2024FormInstanceRecipient { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY")] + [String] + ${Type} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024FormInstanceRecipient' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to FormInstanceRecipient + +.DESCRIPTION + +Convert from JSON to FormInstanceRecipient + +.PARAMETER Json + +Json object + +.OUTPUTS + +FormInstanceRecipient +#> +function ConvertFrom-V2024JsonToFormInstanceRecipient { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024FormInstanceRecipient' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024FormInstanceRecipient + $AllProperties = ("id", "type") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormInstanceResponse.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormInstanceResponse.ps1 new file mode 100644 index 000000000..74e5e6e20 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormInstanceResponse.ps1 @@ -0,0 +1,279 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Created +Created is the date the form instance was assigned +.PARAMETER CreatedBy +No description available. +.PARAMETER Expire +Expire is the maximum amount of time that a form can be in progress. After this time is reached then the form will be moved to a CANCELED state automatically. The user will no longer be able to complete the submission. When a form instance is expires an audit log will be generated for that record +.PARAMETER FormConditions +FormConditions is the conditional logic that modify the form dynamically modify the form as the recipient is interacting out the form +.PARAMETER FormData +FormData is the data provided by the form on submit. The data is in a key -> value map +.PARAMETER FormDefinitionId +FormDefinitionID is the id of the form definition that created this form +.PARAMETER FormElements +FormElements is the configuration of the form, this would be a repeat of the fields from the form-config +.PARAMETER FormErrors +FormErrors is an array of form validation errors from the last time the form instance was transitioned to the SUBMITTED state. If the form instance had validation errors then it would be moved to the IN PROGRESS state where the client can retrieve these errors +.PARAMETER FormInput +FormInput is an object of form input labels to value +.PARAMETER Id +Unique guid identifying this form instance +.PARAMETER Modified +Modified is the last date the form instance was modified +.PARAMETER Recipients +Recipients references to the recipient of a form. The recipients are those who are responsible for filling out a form and completing it +.PARAMETER StandAloneForm +StandAloneForm is a boolean flag to indicate if this form should be available for users to complete via the standalone form UI or should this only be available to be completed by as an embedded form +.PARAMETER StandAloneFormUrl +StandAloneFormURL is the URL where this form may be completed by the designated recipients using the standalone form UI +.PARAMETER State +State the state of the form instance ASSIGNED FormInstanceStateAssigned IN_PROGRESS FormInstanceStateInProgress SUBMITTED FormInstanceStateSubmitted COMPLETED FormInstanceStateCompleted CANCELLED FormInstanceStateCancelled +.OUTPUTS + +FormInstanceResponse +#> + +function Initialize-V2024FormInstanceResponse { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${CreatedBy}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Expire}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${FormConditions}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${FormData}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${FormDefinitionId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${FormElements}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${FormErrors}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${FormInput}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Modified}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Recipients}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${StandAloneForm} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${StandAloneFormUrl}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ASSIGNED", "IN_PROGRESS", "SUBMITTED", "COMPLETED", "CANCELLED")] + [String] + ${State} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024FormInstanceResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "created" = ${Created} + "createdBy" = ${CreatedBy} + "expire" = ${Expire} + "formConditions" = ${FormConditions} + "formData" = ${FormData} + "formDefinitionId" = ${FormDefinitionId} + "formElements" = ${FormElements} + "formErrors" = ${FormErrors} + "formInput" = ${FormInput} + "id" = ${Id} + "modified" = ${Modified} + "recipients" = ${Recipients} + "standAloneForm" = ${StandAloneForm} + "standAloneFormUrl" = ${StandAloneFormUrl} + "state" = ${State} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to FormInstanceResponse + +.DESCRIPTION + +Convert from JSON to FormInstanceResponse + +.PARAMETER Json + +Json object + +.OUTPUTS + +FormInstanceResponse +#> +function ConvertFrom-V2024JsonToFormInstanceResponse { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024FormInstanceResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024FormInstanceResponse + $AllProperties = ("created", "createdBy", "expire", "formConditions", "formData", "formDefinitionId", "formElements", "formErrors", "formInput", "id", "modified", "recipients", "standAloneForm", "standAloneFormUrl", "state") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "createdBy"))) { #optional property not found + $CreatedBy = $null + } else { + $CreatedBy = $JsonParameters.PSobject.Properties["createdBy"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "expire"))) { #optional property not found + $Expire = $null + } else { + $Expire = $JsonParameters.PSobject.Properties["expire"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "formConditions"))) { #optional property not found + $FormConditions = $null + } else { + $FormConditions = $JsonParameters.PSobject.Properties["formConditions"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "formData"))) { #optional property not found + $FormData = $null + } else { + $FormData = $JsonParameters.PSobject.Properties["formData"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "formDefinitionId"))) { #optional property not found + $FormDefinitionId = $null + } else { + $FormDefinitionId = $JsonParameters.PSobject.Properties["formDefinitionId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "formElements"))) { #optional property not found + $FormElements = $null + } else { + $FormElements = $JsonParameters.PSobject.Properties["formElements"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "formErrors"))) { #optional property not found + $FormErrors = $null + } else { + $FormErrors = $JsonParameters.PSobject.Properties["formErrors"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "formInput"))) { #optional property not found + $FormInput = $null + } else { + $FormInput = $JsonParameters.PSobject.Properties["formInput"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "recipients"))) { #optional property not found + $Recipients = $null + } else { + $Recipients = $JsonParameters.PSobject.Properties["recipients"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "standAloneForm"))) { #optional property not found + $StandAloneForm = $null + } else { + $StandAloneForm = $JsonParameters.PSobject.Properties["standAloneForm"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "standAloneFormUrl"))) { #optional property not found + $StandAloneFormUrl = $null + } else { + $StandAloneFormUrl = $JsonParameters.PSobject.Properties["standAloneFormUrl"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "state"))) { #optional property not found + $State = $null + } else { + $State = $JsonParameters.PSobject.Properties["state"].value + } + + $PSO = [PSCustomObject]@{ + "created" = ${Created} + "createdBy" = ${CreatedBy} + "expire" = ${Expire} + "formConditions" = ${FormConditions} + "formData" = ${FormData} + "formDefinitionId" = ${FormDefinitionId} + "formElements" = ${FormElements} + "formErrors" = ${FormErrors} + "formInput" = ${FormInput} + "id" = ${Id} + "modified" = ${Modified} + "recipients" = ${Recipients} + "standAloneForm" = ${StandAloneForm} + "standAloneFormUrl" = ${StandAloneFormUrl} + "state" = ${State} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormItemDetails.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormItemDetails.ps1 new file mode 100644 index 000000000..bacc6b686 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormItemDetails.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Name +Name of the FormItem +.OUTPUTS + +FormItemDetails +#> + +function Initialize-V2024FormItemDetails { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024FormItemDetails' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to FormItemDetails + +.DESCRIPTION + +Convert from JSON to FormItemDetails + +.PARAMETER Json + +Json object + +.OUTPUTS + +FormItemDetails +#> +function ConvertFrom-V2024JsonToFormItemDetails { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024FormItemDetails' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024FormItemDetails + $AllProperties = ("name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormOwner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormOwner.ps1 new file mode 100644 index 000000000..96b0113ee --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormOwner.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Type +FormOwnerType value. IDENTITY FormOwnerTypeIdentity +.PARAMETER Id +Unique identifier of the form's owner. +.PARAMETER Name +Name of the form's owner. +.OUTPUTS + +FormOwner +#> + +function Initialize-V2024FormOwner { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024FormOwner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to FormOwner + +.DESCRIPTION + +Convert from JSON to FormOwner + +.PARAMETER Json + +Json object + +.OUTPUTS + +FormOwner +#> +function ConvertFrom-V2024JsonToFormOwner { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024FormOwner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024FormOwner + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormUsedBy.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormUsedBy.ps1 new file mode 100644 index 000000000..0a07653c2 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/FormUsedBy.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Type +FormUsedByType value. WORKFLOW FormUsedByTypeWorkflow SOURCE FormUsedByTypeSource MySailPoint FormUsedByType +.PARAMETER Id +Unique identifier of the system using the form. +.PARAMETER Name +Name of the system using the form. +.OUTPUTS + +FormUsedBy +#> + +function Initialize-V2024FormUsedBy { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("WORKFLOW", "SOURCE", "MySailPoint")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024FormUsedBy' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to FormUsedBy + +.DESCRIPTION + +Convert from JSON to FormUsedBy + +.PARAMETER Json + +Json object + +.OUTPUTS + +FormUsedBy +#> +function ConvertFrom-V2024JsonToFormUsedBy { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024FormUsedBy' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024FormUsedBy + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ForwardApprovalDto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ForwardApprovalDto.ps1 new file mode 100644 index 000000000..ca302aae5 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ForwardApprovalDto.ps1 @@ -0,0 +1,137 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER NewOwnerId +The Id of the new owner +.PARAMETER Comment +The comment provided by the forwarder +.OUTPUTS + +ForwardApprovalDto +#> + +function Initialize-V2024ForwardApprovalDto { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${NewOwnerId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Comment} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ForwardApprovalDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$NewOwnerId) { + throw "invalid value for 'NewOwnerId', 'NewOwnerId' cannot be null." + } + + if ($NewOwnerId.length -gt 255) { + throw "invalid value for 'NewOwnerId', the character length must be smaller than or equal to 255." + } + + if ($NewOwnerId.length -lt 1) { + throw "invalid value for 'NewOwnerId', the character length must be great than or equal to 1." + } + + if (!$Comment) { + throw "invalid value for 'Comment', 'Comment' cannot be null." + } + + if ($Comment.length -gt 255) { + throw "invalid value for 'Comment', the character length must be smaller than or equal to 255." + } + + if ($Comment.length -lt 1) { + throw "invalid value for 'Comment', the character length must be great than or equal to 1." + } + + + $PSO = [PSCustomObject]@{ + "newOwnerId" = ${NewOwnerId} + "comment" = ${Comment} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ForwardApprovalDto + +.DESCRIPTION + +Convert from JSON to ForwardApprovalDto + +.PARAMETER Json + +Json object + +.OUTPUTS + +ForwardApprovalDto +#> +function ConvertFrom-V2024JsonToForwardApprovalDto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ForwardApprovalDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ForwardApprovalDto + $AllProperties = ("newOwnerId", "comment") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'newOwnerId' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "newOwnerId"))) { + throw "Error! JSON cannot be serialized due to the required property 'newOwnerId' missing." + } else { + $NewOwnerId = $JsonParameters.PSobject.Properties["newOwnerId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "comment"))) { + throw "Error! JSON cannot be serialized due to the required property 'comment' missing." + } else { + $Comment = $JsonParameters.PSobject.Properties["comment"].value + } + + $PSO = [PSCustomObject]@{ + "newOwnerId" = ${NewOwnerId} + "comment" = ${Comment} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/GenerateRandomString.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/GenerateRandomString.ps1 new file mode 100644 index 000000000..46daff4c8 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/GenerateRandomString.ps1 @@ -0,0 +1,185 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Name +This must always be set to ""Cloud Services Deployment Utility"" +.PARAMETER Operation +The operation to perform `generateRandomString` +.PARAMETER IncludeNumbers +This must be either ""true"" or ""false"" to indicate whether the generator logic should include numbers +.PARAMETER IncludeSpecialChars +This must be either ""true"" or ""false"" to indicate whether the generator logic should include special characters +.PARAMETER Length +This specifies how long the randomly generated string needs to be >NOTE Due to identity attribute data constraints, the maximum allowable value is 450 characters +.PARAMETER RequiresPeriodicRefresh +A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process +.OUTPUTS + +GenerateRandomString +#> + +function Initialize-V2024GenerateRandomString { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Operation}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Boolean] + ${IncludeNumbers}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Boolean] + ${IncludeSpecialChars}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Length}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${RequiresPeriodicRefresh} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024GenerateRandomString' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if (!$Operation) { + throw "invalid value for 'Operation', 'Operation' cannot be null." + } + + if (!$IncludeNumbers) { + throw "invalid value for 'IncludeNumbers', 'IncludeNumbers' cannot be null." + } + + if (!$IncludeSpecialChars) { + throw "invalid value for 'IncludeSpecialChars', 'IncludeSpecialChars' cannot be null." + } + + if (!$Length) { + throw "invalid value for 'Length', 'Length' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "operation" = ${Operation} + "includeNumbers" = ${IncludeNumbers} + "includeSpecialChars" = ${IncludeSpecialChars} + "length" = ${Length} + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to GenerateRandomString + +.DESCRIPTION + +Convert from JSON to GenerateRandomString + +.PARAMETER Json + +Json object + +.OUTPUTS + +GenerateRandomString +#> +function ConvertFrom-V2024JsonToGenerateRandomString { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024GenerateRandomString' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024GenerateRandomString + $AllProperties = ("name", "operation", "includeNumbers", "includeSpecialChars", "length", "requiresPeriodicRefresh") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'name' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "operation"))) { + throw "Error! JSON cannot be serialized due to the required property 'operation' missing." + } else { + $Operation = $JsonParameters.PSobject.Properties["operation"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "includeNumbers"))) { + throw "Error! JSON cannot be serialized due to the required property 'includeNumbers' missing." + } else { + $IncludeNumbers = $JsonParameters.PSobject.Properties["includeNumbers"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "includeSpecialChars"))) { + throw "Error! JSON cannot be serialized due to the required property 'includeSpecialChars' missing." + } else { + $IncludeSpecialChars = $JsonParameters.PSobject.Properties["includeSpecialChars"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "length"))) { + throw "Error! JSON cannot be serialized due to the required property 'length' missing." + } else { + $Length = $JsonParameters.PSobject.Properties["length"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requiresPeriodicRefresh"))) { #optional property not found + $RequiresPeriodicRefresh = $null + } else { + $RequiresPeriodicRefresh = $JsonParameters.PSobject.Properties["requiresPeriodicRefresh"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "operation" = ${Operation} + "includeNumbers" = ${IncludeNumbers} + "includeSpecialChars" = ${IncludeSpecialChars} + "length" = ${Length} + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/GetActiveCampaigns200ResponseInner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/GetActiveCampaigns200ResponseInner.ps1 new file mode 100644 index 000000000..3194bf2f6 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/GetActiveCampaigns200ResponseInner.ps1 @@ -0,0 +1,82 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Json + +JSON object + +.OUTPUTS + +GetActiveCampaigns200ResponseInner +#> +function ConvertFrom-V2024JsonToGetActiveCampaigns200ResponseInner { + [CmdletBinding()] + Param ( + [AllowEmptyString()] + [string]$Json + ) + + Process { + $match = 0 + $matchType = $null + $matchInstance = $null + + # try to match Campaign defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToCampaign $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "Campaign" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'Campaign' defined in oneOf (V2024GetActiveCampaigns200ResponseInner). Proceeding to the next one if any." + } + + # try to match SlimCampaign defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToSlimCampaign $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "SlimCampaign" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'SlimCampaign' defined in oneOf (V2024GetActiveCampaigns200ResponseInner). Proceeding to the next one if any." + } + + if ($match -gt 1) { + throw "Error! The JSON payload matches more than one type defined in oneOf schemas ([Campaign, SlimCampaign]). JSON Payload: $($Json)" + } elseif ($match -eq 1) { + return [PSCustomObject]@{ + "ActualType" = ${matchType} + "ActualInstance" = ${matchInstance} + "OneOfSchemas" = @("Campaign", "SlimCampaign") + } + } else { + throw "Error! The JSON payload doesn't matches any type defined in oneOf schemas ([Campaign, SlimCampaign]). JSON Payload: $($Json)" + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/GetHistoricalIdentityEvents200ResponseInner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/GetHistoricalIdentityEvents200ResponseInner.ps1 new file mode 100644 index 000000000..98d586aa5 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/GetHistoricalIdentityEvents200ResponseInner.ps1 @@ -0,0 +1,156 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Json + +JSON object + +.OUTPUTS + +GetHistoricalIdentityEvents200ResponseInner +#> +function ConvertFrom-V2024JsonToGetHistoricalIdentityEvents200ResponseInner { + [CmdletBinding()] + Param ( + [AllowEmptyString()] + [string]$Json + ) + + Process { + $match = 0 + $matchType = $null + $matchInstance = $null + + if ($match -ne 0) { # no match yet + # try to match AccessItemAssociated defined in the anyOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToAccessItemAssociated $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "AccessItemAssociated" + $match++ + break + } + } + } catch { + # fail to match the schema defined in anyOf, proceed to the next one + Write-Debug "Failed to match 'AccessItemAssociated' defined in anyOf (V2024GetHistoricalIdentityEvents200ResponseInner). Proceeding to the next one if any." + } + } + + if ($match -ne 0) { # no match yet + # try to match AccessItemRemoved defined in the anyOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToAccessItemRemoved $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "AccessItemRemoved" + $match++ + break + } + } + } catch { + # fail to match the schema defined in anyOf, proceed to the next one + Write-Debug "Failed to match 'AccessItemRemoved' defined in anyOf (V2024GetHistoricalIdentityEvents200ResponseInner). Proceeding to the next one if any." + } + } + + if ($match -ne 0) { # no match yet + # try to match AccessRequested defined in the anyOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToAccessRequested $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "AccessRequested" + $match++ + break + } + } + } catch { + # fail to match the schema defined in anyOf, proceed to the next one + Write-Debug "Failed to match 'AccessRequested' defined in anyOf (V2024GetHistoricalIdentityEvents200ResponseInner). Proceeding to the next one if any." + } + } + + if ($match -ne 0) { # no match yet + # try to match AccountStatusChanged defined in the anyOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToAccountStatusChanged $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "AccountStatusChanged" + $match++ + break + } + } + } catch { + # fail to match the schema defined in anyOf, proceed to the next one + Write-Debug "Failed to match 'AccountStatusChanged' defined in anyOf (V2024GetHistoricalIdentityEvents200ResponseInner). Proceeding to the next one if any." + } + } + + if ($match -ne 0) { # no match yet + # try to match AttributesChanged defined in the anyOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToAttributesChanged $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "AttributesChanged" + $match++ + break + } + } + } catch { + # fail to match the schema defined in anyOf, proceed to the next one + Write-Debug "Failed to match 'AttributesChanged' defined in anyOf (V2024GetHistoricalIdentityEvents200ResponseInner). Proceeding to the next one if any." + } + } + + if ($match -ne 0) { # no match yet + # try to match IdentityCertified defined in the anyOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToIdentityCertified $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "IdentityCertified" + $match++ + break + } + } + } catch { + # fail to match the schema defined in anyOf, proceed to the next one + Write-Debug "Failed to match 'IdentityCertified' defined in anyOf (V2024GetHistoricalIdentityEvents200ResponseInner). Proceeding to the next one if any." + } + } + + if ($match -eq 1) { + return [PSCustomObject]@{ + "ActualType" = ${matchType} + "ActualInstance" = ${matchInstance} + "anyOfSchemas" = @("AccessItemAssociated", "AccessItemRemoved", "AccessRequested", "AccountStatusChanged", "AttributesChanged", "IdentityCertified") + } + } else { + throw "Error! The JSON payload doesn't matches any type defined in anyOf schemas ([AccessItemAssociated, AccessItemRemoved, AccessRequested, AccountStatusChanged, AttributesChanged, IdentityCertified]). JSON Payload: $($Json)" + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/GetOAuthClientResponse.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/GetOAuthClientResponse.ps1 new file mode 100644 index 000000000..dbc18b0c0 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/GetOAuthClientResponse.ps1 @@ -0,0 +1,414 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +ID of the OAuth client +.PARAMETER BusinessName +The name of the business the API Client should belong to +.PARAMETER HomepageUrl +The homepage URL associated with the owner of the API Client +.PARAMETER Name +A human-readable name for the API Client +.PARAMETER Description +A description of the API Client +.PARAMETER AccessTokenValiditySeconds +The number of seconds an access token generated for this API Client is valid for +.PARAMETER RefreshTokenValiditySeconds +The number of seconds a refresh token generated for this API Client is valid for +.PARAMETER RedirectUris +A list of the approved redirect URIs used with the authorization_code flow +.PARAMETER GrantTypes +A list of OAuth 2.0 grant types this API Client can be used with +.PARAMETER AccessType +No description available. +.PARAMETER Type +No description available. +.PARAMETER Internal +An indicator of whether the API Client can be used for requests internal to IDN +.PARAMETER Enabled +An indicator of whether the API Client is enabled for use +.PARAMETER StrongAuthSupported +An indicator of whether the API Client supports strong authentication +.PARAMETER ClaimsSupported +An indicator of whether the API Client supports the serialization of SAML claims when used with the authorization_code flow +.PARAMETER Created +The date and time, down to the millisecond, when the API Client was created +.PARAMETER Modified +The date and time, down to the millisecond, when the API Client was last updated +.PARAMETER Secret +No description available. +.PARAMETER Metadata +No description available. +.PARAMETER LastUsed +The date and time, down to the millisecond, when this API Client was last used to generate an access token. This timestamp does not get updated on every API Client usage, but only once a day. This property can be useful for identifying which API Clients are no longer actively used and can be removed. +.PARAMETER Scope +Scopes of the API Client. +.OUTPUTS + +GetOAuthClientResponse +#> + +function Initialize-V2024GetOAuthClientResponse { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${BusinessName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${HomepageUrl}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Int32] + ${AccessTokenValiditySeconds}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Int32] + ${RefreshTokenValiditySeconds}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${RedirectUris}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${GrantTypes}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ONLINE", "OFFLINE")] + [PSCustomObject] + ${AccessType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("CONFIDENTIAL", "PUBLIC")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Boolean] + ${Internal}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Boolean] + ${Enabled}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Boolean] + ${StrongAuthSupported}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Boolean] + ${ClaimsSupported}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.DateTime] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.DateTime] + ${Modified}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Secret}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Metadata}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${LastUsed}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Scope} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024GetOAuthClientResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if (!$AccessTokenValiditySeconds) { + throw "invalid value for 'AccessTokenValiditySeconds', 'AccessTokenValiditySeconds' cannot be null." + } + + if (!$RefreshTokenValiditySeconds) { + throw "invalid value for 'RefreshTokenValiditySeconds', 'RefreshTokenValiditySeconds' cannot be null." + } + + if (!$GrantTypes) { + throw "invalid value for 'GrantTypes', 'GrantTypes' cannot be null." + } + + if (!$AccessType) { + throw "invalid value for 'AccessType', 'AccessType' cannot be null." + } + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Internal) { + throw "invalid value for 'Internal', 'Internal' cannot be null." + } + + if (!$Enabled) { + throw "invalid value for 'Enabled', 'Enabled' cannot be null." + } + + if (!$StrongAuthSupported) { + throw "invalid value for 'StrongAuthSupported', 'StrongAuthSupported' cannot be null." + } + + if (!$ClaimsSupported) { + throw "invalid value for 'ClaimsSupported', 'ClaimsSupported' cannot be null." + } + + if (!$Created) { + throw "invalid value for 'Created', 'Created' cannot be null." + } + + if (!$Modified) { + throw "invalid value for 'Modified', 'Modified' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "businessName" = ${BusinessName} + "homepageUrl" = ${HomepageUrl} + "name" = ${Name} + "description" = ${Description} + "accessTokenValiditySeconds" = ${AccessTokenValiditySeconds} + "refreshTokenValiditySeconds" = ${RefreshTokenValiditySeconds} + "redirectUris" = ${RedirectUris} + "grantTypes" = ${GrantTypes} + "accessType" = ${AccessType} + "type" = ${Type} + "internal" = ${Internal} + "enabled" = ${Enabled} + "strongAuthSupported" = ${StrongAuthSupported} + "claimsSupported" = ${ClaimsSupported} + "created" = ${Created} + "modified" = ${Modified} + "secret" = ${Secret} + "metadata" = ${Metadata} + "lastUsed" = ${LastUsed} + "scope" = ${Scope} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to GetOAuthClientResponse + +.DESCRIPTION + +Convert from JSON to GetOAuthClientResponse + +.PARAMETER Json + +Json object + +.OUTPUTS + +GetOAuthClientResponse +#> +function ConvertFrom-V2024JsonToGetOAuthClientResponse { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024GetOAuthClientResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024GetOAuthClientResponse + $AllProperties = ("id", "businessName", "homepageUrl", "name", "description", "accessTokenValiditySeconds", "refreshTokenValiditySeconds", "redirectUris", "grantTypes", "accessType", "type", "internal", "enabled", "strongAuthSupported", "claimsSupported", "created", "modified", "secret", "metadata", "lastUsed", "scope") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'id' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "businessName"))) { + throw "Error! JSON cannot be serialized due to the required property 'businessName' missing." + } else { + $BusinessName = $JsonParameters.PSobject.Properties["businessName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "homepageUrl"))) { + throw "Error! JSON cannot be serialized due to the required property 'homepageUrl' missing." + } else { + $HomepageUrl = $JsonParameters.PSobject.Properties["homepageUrl"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { + throw "Error! JSON cannot be serialized due to the required property 'description' missing." + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accessTokenValiditySeconds"))) { + throw "Error! JSON cannot be serialized due to the required property 'accessTokenValiditySeconds' missing." + } else { + $AccessTokenValiditySeconds = $JsonParameters.PSobject.Properties["accessTokenValiditySeconds"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "refreshTokenValiditySeconds"))) { + throw "Error! JSON cannot be serialized due to the required property 'refreshTokenValiditySeconds' missing." + } else { + $RefreshTokenValiditySeconds = $JsonParameters.PSobject.Properties["refreshTokenValiditySeconds"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "redirectUris"))) { + throw "Error! JSON cannot be serialized due to the required property 'redirectUris' missing." + } else { + $RedirectUris = $JsonParameters.PSobject.Properties["redirectUris"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "grantTypes"))) { + throw "Error! JSON cannot be serialized due to the required property 'grantTypes' missing." + } else { + $GrantTypes = $JsonParameters.PSobject.Properties["grantTypes"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accessType"))) { + throw "Error! JSON cannot be serialized due to the required property 'accessType' missing." + } else { + $AccessType = $JsonParameters.PSobject.Properties["accessType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "internal"))) { + throw "Error! JSON cannot be serialized due to the required property 'internal' missing." + } else { + $Internal = $JsonParameters.PSobject.Properties["internal"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "enabled"))) { + throw "Error! JSON cannot be serialized due to the required property 'enabled' missing." + } else { + $Enabled = $JsonParameters.PSobject.Properties["enabled"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "strongAuthSupported"))) { + throw "Error! JSON cannot be serialized due to the required property 'strongAuthSupported' missing." + } else { + $StrongAuthSupported = $JsonParameters.PSobject.Properties["strongAuthSupported"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "claimsSupported"))) { + throw "Error! JSON cannot be serialized due to the required property 'claimsSupported' missing." + } else { + $ClaimsSupported = $JsonParameters.PSobject.Properties["claimsSupported"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { + throw "Error! JSON cannot be serialized due to the required property 'created' missing." + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { + throw "Error! JSON cannot be serialized due to the required property 'modified' missing." + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "scope"))) { + throw "Error! JSON cannot be serialized due to the required property 'scope' missing." + } else { + $Scope = $JsonParameters.PSobject.Properties["scope"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "secret"))) { #optional property not found + $Secret = $null + } else { + $Secret = $JsonParameters.PSobject.Properties["secret"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "metadata"))) { #optional property not found + $Metadata = $null + } else { + $Metadata = $JsonParameters.PSobject.Properties["metadata"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "lastUsed"))) { #optional property not found + $LastUsed = $null + } else { + $LastUsed = $JsonParameters.PSobject.Properties["lastUsed"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "businessName" = ${BusinessName} + "homepageUrl" = ${HomepageUrl} + "name" = ${Name} + "description" = ${Description} + "accessTokenValiditySeconds" = ${AccessTokenValiditySeconds} + "refreshTokenValiditySeconds" = ${RefreshTokenValiditySeconds} + "redirectUris" = ${RedirectUris} + "grantTypes" = ${GrantTypes} + "accessType" = ${AccessType} + "type" = ${Type} + "internal" = ${Internal} + "enabled" = ${Enabled} + "strongAuthSupported" = ${StrongAuthSupported} + "claimsSupported" = ${ClaimsSupported} + "created" = ${Created} + "modified" = ${Modified} + "secret" = ${Secret} + "metadata" = ${Metadata} + "lastUsed" = ${LastUsed} + "scope" = ${Scope} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/GetPersonalAccessTokenResponse.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/GetPersonalAccessTokenResponse.ps1 new file mode 100644 index 000000000..636bbb8c2 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/GetPersonalAccessTokenResponse.ps1 @@ -0,0 +1,194 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +The ID of the personal access token (to be used as the username for Basic Auth). +.PARAMETER Name +The name of the personal access token. Cannot be the same as other personal access tokens owned by a user. +.PARAMETER Scope +Scopes of the personal access token. +.PARAMETER Owner +No description available. +.PARAMETER Created +The date and time, down to the millisecond, when this personal access token was created. +.PARAMETER LastUsed +The date and time, down to the millisecond, when this personal access token was last used to generate an access token. This timestamp does not get updated on every PAT usage, but only once a day. This property can be useful for identifying which PATs are no longer actively used and can be removed. +.PARAMETER Managed +If true, this token is managed by the SailPoint platform, and is not visible in the user interface. For example, Workflows will create managed personal access tokens for users who create workflows. +.OUTPUTS + +GetPersonalAccessTokenResponse +#> + +function Initialize-V2024GetPersonalAccessTokenResponse { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Scope}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Owner}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.DateTime] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${LastUsed}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Managed} = $false + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024GetPersonalAccessTokenResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if (!$Owner) { + throw "invalid value for 'Owner', 'Owner' cannot be null." + } + + if (!$Created) { + throw "invalid value for 'Created', 'Created' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "scope" = ${Scope} + "owner" = ${Owner} + "created" = ${Created} + "lastUsed" = ${LastUsed} + "managed" = ${Managed} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to GetPersonalAccessTokenResponse + +.DESCRIPTION + +Convert from JSON to GetPersonalAccessTokenResponse + +.PARAMETER Json + +Json object + +.OUTPUTS + +GetPersonalAccessTokenResponse +#> +function ConvertFrom-V2024JsonToGetPersonalAccessTokenResponse { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024GetPersonalAccessTokenResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024GetPersonalAccessTokenResponse + $AllProperties = ("id", "name", "scope", "owner", "created", "lastUsed", "managed") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'id' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "scope"))) { + throw "Error! JSON cannot be serialized due to the required property 'scope' missing." + } else { + $Scope = $JsonParameters.PSobject.Properties["scope"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "owner"))) { + throw "Error! JSON cannot be serialized due to the required property 'owner' missing." + } else { + $Owner = $JsonParameters.PSobject.Properties["owner"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { + throw "Error! JSON cannot be serialized due to the required property 'created' missing." + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "lastUsed"))) { #optional property not found + $LastUsed = $null + } else { + $LastUsed = $JsonParameters.PSobject.Properties["lastUsed"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "managed"))) { #optional property not found + $Managed = $null + } else { + $Managed = $JsonParameters.PSobject.Properties["managed"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "scope" = ${Scope} + "owner" = ${Owner} + "created" = ${Created} + "lastUsed" = ${LastUsed} + "managed" = ${Managed} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/GetReferenceIdentityAttribute.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/GetReferenceIdentityAttribute.ps1 new file mode 100644 index 000000000..915c418e4 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/GetReferenceIdentityAttribute.ps1 @@ -0,0 +1,151 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Name +This must always be set to ""Cloud Services Deployment Utility"" +.PARAMETER Operation +The operation to perform `getReferenceIdentityAttribute` +.PARAMETER Uid +This is the SailPoint User Name (uid) value of the identity whose attribute is desired As a convenience feature, you can use the `manager` keyword to dynamically look up the user's manager and then get that manager's identity attribute. +.PARAMETER RequiresPeriodicRefresh +A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process +.OUTPUTS + +GetReferenceIdentityAttribute +#> + +function Initialize-V2024GetReferenceIdentityAttribute { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Operation}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Uid}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${RequiresPeriodicRefresh} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024GetReferenceIdentityAttribute' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if (!$Operation) { + throw "invalid value for 'Operation', 'Operation' cannot be null." + } + + if (!$Uid) { + throw "invalid value for 'Uid', 'Uid' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "operation" = ${Operation} + "uid" = ${Uid} + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to GetReferenceIdentityAttribute + +.DESCRIPTION + +Convert from JSON to GetReferenceIdentityAttribute + +.PARAMETER Json + +Json object + +.OUTPUTS + +GetReferenceIdentityAttribute +#> +function ConvertFrom-V2024JsonToGetReferenceIdentityAttribute { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024GetReferenceIdentityAttribute' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024GetReferenceIdentityAttribute + $AllProperties = ("name", "operation", "uid", "requiresPeriodicRefresh") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'name' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "operation"))) { + throw "Error! JSON cannot be serialized due to the required property 'operation' missing." + } else { + $Operation = $JsonParameters.PSobject.Properties["operation"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "uid"))) { + throw "Error! JSON cannot be serialized due to the required property 'uid' missing." + } else { + $Uid = $JsonParameters.PSobject.Properties["uid"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requiresPeriodicRefresh"))) { #optional property not found + $RequiresPeriodicRefresh = $null + } else { + $RequiresPeriodicRefresh = $JsonParameters.PSobject.Properties["requiresPeriodicRefresh"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "operation" = ${Operation} + "uid" = ${Uid} + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/GetRoleAssignments200ResponseInner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/GetRoleAssignments200ResponseInner.ps1 new file mode 100644 index 000000000..962df1ddd --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/GetRoleAssignments200ResponseInner.ps1 @@ -0,0 +1,84 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Json + +JSON object + +.OUTPUTS + +GetRoleAssignments200ResponseInner +#> +function ConvertFrom-V2024JsonToGetRoleAssignments200ResponseInner { + [CmdletBinding()] + Param ( + [AllowEmptyString()] + [string]$Json + ) + + Process { + $match = 0 + $matchType = $null + $matchInstance = $null + + if ($match -ne 0) { # no match yet + # try to match RoleAssignmentDto defined in the anyOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToRoleAssignmentDto $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "RoleAssignmentDto" + $match++ + break + } + } + } catch { + # fail to match the schema defined in anyOf, proceed to the next one + Write-Debug "Failed to match 'RoleAssignmentDto' defined in anyOf (V2024GetRoleAssignments200ResponseInner). Proceeding to the next one if any." + } + } + + if ($match -ne 0) { # no match yet + # try to match RoleAssignmentRef defined in the anyOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToRoleAssignmentRef $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "RoleAssignmentRef" + $match++ + break + } + } + } catch { + # fail to match the schema defined in anyOf, proceed to the next one + Write-Debug "Failed to match 'RoleAssignmentRef' defined in anyOf (V2024GetRoleAssignments200ResponseInner). Proceeding to the next one if any." + } + } + + if ($match -eq 1) { + return [PSCustomObject]@{ + "ActualType" = ${matchType} + "ActualInstance" = ${matchInstance} + "anyOfSchemas" = @("RoleAssignmentDto", "RoleAssignmentRef") + } + } else { + throw "Error! The JSON payload doesn't matches any type defined in anyOf schemas ([RoleAssignmentDto, RoleAssignmentRef]). JSON Payload: $($Json)" + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/GrantType.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/GrantType.ps1 new file mode 100644 index 000000000..4d1c72a0a --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/GrantType.ps1 @@ -0,0 +1,26 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum GrantType. + +.DESCRIPTION + +OAuth2 Grant Type +#> + +enum GrantType { + # enum value: "CLIENT_CREDENTIALS" + CLIENT_CREDENTIALS + # enum value: "AUTHORIZATION_CODE" + AUTHORIZATION_CODE + # enum value: "REFRESH_TOKEN" + REFRESH_TOKEN +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/HttpAuthenticationType.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/HttpAuthenticationType.ps1 new file mode 100644 index 000000000..6fabb4d95 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/HttpAuthenticationType.ps1 @@ -0,0 +1,26 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum HttpAuthenticationType. + +.DESCRIPTION + +Defines the HTTP Authentication type. Additional values may be added in the future. If *NO_AUTH* is selected, no extra information will be in HttpConfig. If *BASIC_AUTH* is selected, HttpConfig will include BasicAuthConfig with Username and Password as strings. If *BEARER_TOKEN* is selected, HttpConfig will include BearerTokenAuthConfig with Token as string. +#> + +enum HttpAuthenticationType { + # enum value: "NO_AUTH" + NO_AUTH + # enum value: "BASIC_AUTH" + BASIC_AUTH + # enum value: "BEARER_TOKEN" + BEARER_TOKEN +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/HttpConfig.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/HttpConfig.ps1 new file mode 100644 index 000000000..dd60a8c7e --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/HttpConfig.ps1 @@ -0,0 +1,162 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Url +URL of the external/custom integration. +.PARAMETER HttpDispatchMode +No description available. +.PARAMETER HttpAuthenticationType +No description available. +.PARAMETER BasicAuthConfig +No description available. +.PARAMETER BearerTokenAuthConfig +No description available. +.OUTPUTS + +HttpConfig +#> + +function Initialize-V2024HttpConfig { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Url}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("SYNC", "ASYNC", "DYNAMIC")] + [PSCustomObject] + ${HttpDispatchMode}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("NO_AUTH", "BASIC_AUTH", "BEARER_TOKEN")] + [PSCustomObject] + ${HttpAuthenticationType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${BasicAuthConfig}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${BearerTokenAuthConfig} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024HttpConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Url) { + throw "invalid value for 'Url', 'Url' cannot be null." + } + + if (!$HttpDispatchMode) { + throw "invalid value for 'HttpDispatchMode', 'HttpDispatchMode' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "url" = ${Url} + "httpDispatchMode" = ${HttpDispatchMode} + "httpAuthenticationType" = ${HttpAuthenticationType} + "basicAuthConfig" = ${BasicAuthConfig} + "bearerTokenAuthConfig" = ${BearerTokenAuthConfig} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to HttpConfig + +.DESCRIPTION + +Convert from JSON to HttpConfig + +.PARAMETER Json + +Json object + +.OUTPUTS + +HttpConfig +#> +function ConvertFrom-V2024JsonToHttpConfig { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024HttpConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024HttpConfig + $AllProperties = ("url", "httpDispatchMode", "httpAuthenticationType", "basicAuthConfig", "bearerTokenAuthConfig") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'url' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "url"))) { + throw "Error! JSON cannot be serialized due to the required property 'url' missing." + } else { + $Url = $JsonParameters.PSobject.Properties["url"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "httpDispatchMode"))) { + throw "Error! JSON cannot be serialized due to the required property 'httpDispatchMode' missing." + } else { + $HttpDispatchMode = $JsonParameters.PSobject.Properties["httpDispatchMode"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "httpAuthenticationType"))) { #optional property not found + $HttpAuthenticationType = $null + } else { + $HttpAuthenticationType = $JsonParameters.PSobject.Properties["httpAuthenticationType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "basicAuthConfig"))) { #optional property not found + $BasicAuthConfig = $null + } else { + $BasicAuthConfig = $JsonParameters.PSobject.Properties["basicAuthConfig"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "bearerTokenAuthConfig"))) { #optional property not found + $BearerTokenAuthConfig = $null + } else { + $BearerTokenAuthConfig = $JsonParameters.PSobject.Properties["bearerTokenAuthConfig"].value + } + + $PSO = [PSCustomObject]@{ + "url" = ${Url} + "httpDispatchMode" = ${HttpDispatchMode} + "httpAuthenticationType" = ${HttpAuthenticationType} + "basicAuthConfig" = ${BasicAuthConfig} + "bearerTokenAuthConfig" = ${BearerTokenAuthConfig} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/HttpDispatchMode.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/HttpDispatchMode.ps1 new file mode 100644 index 000000000..b57b87479 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/HttpDispatchMode.ps1 @@ -0,0 +1,26 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum HttpDispatchMode. + +.DESCRIPTION + +HTTP response modes, i.e. SYNC, ASYNC, or DYNAMIC. +#> + +enum HttpDispatchMode { + # enum value: "SYNC" + SYNC + # enum value: "ASYNC" + ASYNC + # enum value: "DYNAMIC" + DYNAMIC +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ISO3166.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ISO3166.ps1 new file mode 100644 index 000000000..732ba1acd --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ISO3166.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Format +An optional value to denote which ISO 3166 format to return. Valid values are: `alpha2` - Two-character country code (e.g., ""US""); this is the default value if no format is supplied `alpha3` - Three-character country code (e.g., ""USA"") `numeric` - The numeric country code (e.g., ""840"") +.PARAMETER RequiresPeriodicRefresh +A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process +.PARAMETER VarInput +This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI. +.OUTPUTS + +ISO3166 +#> + +function Initialize-V2024ISO3166 { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Format}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${RequiresPeriodicRefresh} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${VarInput} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ISO3166' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "format" = ${Format} + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + "input" = ${VarInput} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ISO3166 + +.DESCRIPTION + +Convert from JSON to ISO3166 + +.PARAMETER Json + +Json object + +.OUTPUTS + +ISO3166 +#> +function ConvertFrom-V2024JsonToISO3166 { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ISO3166' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ISO3166 + $AllProperties = ("format", "requiresPeriodicRefresh", "input") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "format"))) { #optional property not found + $Format = $null + } else { + $Format = $JsonParameters.PSobject.Properties["format"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requiresPeriodicRefresh"))) { #optional property not found + $RequiresPeriodicRefresh = $null + } else { + $RequiresPeriodicRefresh = $JsonParameters.PSobject.Properties["requiresPeriodicRefresh"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "input"))) { #optional property not found + $VarInput = $null + } else { + $VarInput = $JsonParameters.PSobject.Properties["input"].value + } + + $PSO = [PSCustomObject]@{ + "format" = ${Format} + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + "input" = ${VarInput} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentitiesAccountsBulkRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentitiesAccountsBulkRequest.ps1 new file mode 100644 index 000000000..6ec9d703d --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentitiesAccountsBulkRequest.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER IdentityIds +The ids of the identities for which enable/disable accounts. +.OUTPUTS + +IdentitiesAccountsBulkRequest +#> + +function Initialize-V2024IdentitiesAccountsBulkRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${IdentityIds} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024IdentitiesAccountsBulkRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "identityIds" = ${IdentityIds} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to IdentitiesAccountsBulkRequest + +.DESCRIPTION + +Convert from JSON to IdentitiesAccountsBulkRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +IdentitiesAccountsBulkRequest +#> +function ConvertFrom-V2024JsonToIdentitiesAccountsBulkRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024IdentitiesAccountsBulkRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024IdentitiesAccountsBulkRequest + $AllProperties = ("identityIds") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityIds"))) { #optional property not found + $IdentityIds = $null + } else { + $IdentityIds = $JsonParameters.PSobject.Properties["identityIds"].value + } + + $PSO = [PSCustomObject]@{ + "identityIds" = ${IdentityIds} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentitiesDetailsReportArguments.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentitiesDetailsReportArguments.ps1 new file mode 100644 index 000000000..242652fff --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentitiesDetailsReportArguments.ps1 @@ -0,0 +1,104 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Arguments for Identities details report (IDENTITIES_DETAILS) + +.PARAMETER CorrelatedOnly +Boolean FLAG to specify if only correlated identities should be used in report processing +.OUTPUTS + +IdentitiesDetailsReportArguments +#> + +function Initialize-V2024IdentitiesDetailsReportArguments { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Boolean] + ${CorrelatedOnly} = $false + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024IdentitiesDetailsReportArguments' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$CorrelatedOnly) { + throw "invalid value for 'CorrelatedOnly', 'CorrelatedOnly' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "correlatedOnly" = ${CorrelatedOnly} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to IdentitiesDetailsReportArguments + +.DESCRIPTION + +Convert from JSON to IdentitiesDetailsReportArguments + +.PARAMETER Json + +Json object + +.OUTPUTS + +IdentitiesDetailsReportArguments +#> +function ConvertFrom-V2024JsonToIdentitiesDetailsReportArguments { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024IdentitiesDetailsReportArguments' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024IdentitiesDetailsReportArguments + $AllProperties = ("correlatedOnly") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'correlatedOnly' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "correlatedOnly"))) { + throw "Error! JSON cannot be serialized due to the required property 'correlatedOnly' missing." + } else { + $CorrelatedOnly = $JsonParameters.PSobject.Properties["correlatedOnly"].value + } + + $PSO = [PSCustomObject]@{ + "correlatedOnly" = ${CorrelatedOnly} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentitiesReportArguments.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentitiesReportArguments.ps1 new file mode 100644 index 000000000..80dab8efb --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentitiesReportArguments.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Arguments for Identities report (IDENTITIES) + +.PARAMETER CorrelatedOnly +Boolean FLAG to specify if only correlated identities should be used in report processing +.OUTPUTS + +IdentitiesReportArguments +#> + +function Initialize-V2024IdentitiesReportArguments { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${CorrelatedOnly} = $false + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024IdentitiesReportArguments' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "correlatedOnly" = ${CorrelatedOnly} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to IdentitiesReportArguments + +.DESCRIPTION + +Convert from JSON to IdentitiesReportArguments + +.PARAMETER Json + +Json object + +.OUTPUTS + +IdentitiesReportArguments +#> +function ConvertFrom-V2024JsonToIdentitiesReportArguments { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024IdentitiesReportArguments' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024IdentitiesReportArguments + $AllProperties = ("correlatedOnly") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "correlatedOnly"))) { #optional property not found + $CorrelatedOnly = $null + } else { + $CorrelatedOnly = $JsonParameters.PSobject.Properties["correlatedOnly"].value + } + + $PSO = [PSCustomObject]@{ + "correlatedOnly" = ${CorrelatedOnly} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Identity.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Identity.ps1 new file mode 100644 index 000000000..4f51ac451 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Identity.ps1 @@ -0,0 +1,244 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Name +Name of the Object +.PARAMETER Alias +Alternate unique identifier for the identity +.PARAMETER EmailAddress +The email address of the identity +.PARAMETER ProcessingState +The processing state of the identity +.PARAMETER IdentityStatus +The identity's status in the system +.PARAMETER ManagerRef +No description available. +.PARAMETER IsManager +Whether this identity is a manager of another identity +.PARAMETER LastRefresh +The last time the identity was refreshed by the system +.PARAMETER Attributes +A map with the identity attributes for the identity +.PARAMETER LifecycleState +No description available. +.OUTPUTS + +Identity +#> + +function Initialize-V2024Identity { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Alias}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${EmailAddress}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ERROR", "OK", "")] + [String] + ${ProcessingState}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("UNREGISTERED", "REGISTERED", "PENDING", "WARNING", "DISABLED", "ACTIVE", "DEACTIVATED", "TERMINATED", "ERROR", "LOCKED")] + [String] + ${IdentityStatus}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${ManagerRef}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${IsManager} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${LastRefresh}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Attributes}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${LifecycleState} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Identity' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "alias" = ${Alias} + "emailAddress" = ${EmailAddress} + "processingState" = ${ProcessingState} + "identityStatus" = ${IdentityStatus} + "managerRef" = ${ManagerRef} + "isManager" = ${IsManager} + "lastRefresh" = ${LastRefresh} + "attributes" = ${Attributes} + "lifecycleState" = ${LifecycleState} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Identity + +.DESCRIPTION + +Convert from JSON to Identity + +.PARAMETER Json + +Json object + +.OUTPUTS + +Identity +#> +function ConvertFrom-V2024JsonToIdentity { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Identity' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Identity + $AllProperties = ("id", "name", "created", "modified", "alias", "emailAddress", "processingState", "identityStatus", "managerRef", "isManager", "lastRefresh", "attributes", "lifecycleState") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'name' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "alias"))) { #optional property not found + $Alias = $null + } else { + $Alias = $JsonParameters.PSobject.Properties["alias"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "emailAddress"))) { #optional property not found + $EmailAddress = $null + } else { + $EmailAddress = $JsonParameters.PSobject.Properties["emailAddress"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "processingState"))) { #optional property not found + $ProcessingState = $null + } else { + $ProcessingState = $JsonParameters.PSobject.Properties["processingState"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityStatus"))) { #optional property not found + $IdentityStatus = $null + } else { + $IdentityStatus = $JsonParameters.PSobject.Properties["identityStatus"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "managerRef"))) { #optional property not found + $ManagerRef = $null + } else { + $ManagerRef = $JsonParameters.PSobject.Properties["managerRef"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "isManager"))) { #optional property not found + $IsManager = $null + } else { + $IsManager = $JsonParameters.PSobject.Properties["isManager"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "lastRefresh"))) { #optional property not found + $LastRefresh = $null + } else { + $LastRefresh = $JsonParameters.PSobject.Properties["lastRefresh"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributes"))) { #optional property not found + $Attributes = $null + } else { + $Attributes = $JsonParameters.PSobject.Properties["attributes"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "lifecycleState"))) { #optional property not found + $LifecycleState = $null + } else { + $LifecycleState = $JsonParameters.PSobject.Properties["lifecycleState"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "created" = ${Created} + "modified" = ${Modified} + "alias" = ${Alias} + "emailAddress" = ${EmailAddress} + "processingState" = ${ProcessingState} + "identityStatus" = ${IdentityStatus} + "managerRef" = ${ManagerRef} + "isManager" = ${IsManager} + "lastRefresh" = ${LastRefresh} + "attributes" = ${Attributes} + "lifecycleState" = ${LifecycleState} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Identity1.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Identity1.ps1 new file mode 100644 index 000000000..84f9ef480 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Identity1.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +The definition of an Identity according to the Reassignment Configuration service + +.PARAMETER Id +The ID of the object +.PARAMETER Name +Human-readable display name of the object +.OUTPUTS + +Identity1 +#> + +function Initialize-V2024Identity1 { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Identity1' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Identity1 + +.DESCRIPTION + +Convert from JSON to Identity1 + +.PARAMETER Json + +Json object + +.OUTPUTS + +Identity1 +#> +function ConvertFrom-V2024JsonToIdentity1 { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Identity1' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Identity1 + $AllProperties = ("id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityAccess.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityAccess.ps1 new file mode 100644 index 000000000..fbcd11658 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityAccess.ps1 @@ -0,0 +1,98 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Json + +JSON object + +.OUTPUTS + +IdentityAccess +#> +function ConvertFrom-V2024JsonToIdentityAccess { + [CmdletBinding()] + Param ( + [AllowEmptyString()] + [string]$Json + ) + + Process { + $match = 0 + $matchType = $null + $matchInstance = $null + + # try to match AccessProfileEntitlement defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToAccessProfileEntitlement $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "AccessProfileEntitlement" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'AccessProfileEntitlement' defined in oneOf (V2024IdentityAccess). Proceeding to the next one if any." + } + + # try to match AccessProfileRole defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToAccessProfileRole $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "AccessProfileRole" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'AccessProfileRole' defined in oneOf (V2024IdentityAccess). Proceeding to the next one if any." + } + + # try to match AccessProfileSummary defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToAccessProfileSummary $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "AccessProfileSummary" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'AccessProfileSummary' defined in oneOf (V2024IdentityAccess). Proceeding to the next one if any." + } + + if ($match -gt 1) { + throw "Error! The JSON payload matches more than one type defined in oneOf schemas ([AccessProfileEntitlement, AccessProfileRole, AccessProfileSummary]). JSON Payload: $($Json)" + } elseif ($match -eq 1) { + return [PSCustomObject]@{ + "ActualType" = ${matchType} + "ActualInstance" = ${matchInstance} + "OneOfSchemas" = @("AccessProfileEntitlement", "AccessProfileRole", "AccessProfileSummary") + } + } else { + throw "Error! The JSON payload doesn't matches any type defined in oneOf schemas ([AccessProfileEntitlement, AccessProfileRole, AccessProfileSummary]). JSON Payload: $($Json)" + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityAssociationDetails.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityAssociationDetails.ps1 new file mode 100644 index 000000000..bb81fa000 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityAssociationDetails.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Message +any additional context information of the http call result +.PARAMETER AssociationDetails +list of all the resource associations for the identity +.OUTPUTS + +IdentityAssociationDetails +#> + +function Initialize-V2024IdentityAssociationDetails { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Message}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${AssociationDetails} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024IdentityAssociationDetails' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "message" = ${Message} + "associationDetails" = ${AssociationDetails} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to IdentityAssociationDetails + +.DESCRIPTION + +Convert from JSON to IdentityAssociationDetails + +.PARAMETER Json + +Json object + +.OUTPUTS + +IdentityAssociationDetails +#> +function ConvertFrom-V2024JsonToIdentityAssociationDetails { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024IdentityAssociationDetails' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024IdentityAssociationDetails + $AllProperties = ("message", "associationDetails") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "message"))) { #optional property not found + $Message = $null + } else { + $Message = $JsonParameters.PSobject.Properties["message"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "associationDetails"))) { #optional property not found + $AssociationDetails = $null + } else { + $AssociationDetails = $JsonParameters.PSobject.Properties["associationDetails"].value + } + + $PSO = [PSCustomObject]@{ + "message" = ${Message} + "associationDetails" = ${AssociationDetails} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityAssociationDetailsAssociationDetailsInner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityAssociationDetailsAssociationDetailsInner.ps1 new file mode 100644 index 000000000..9e15c71b1 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityAssociationDetailsAssociationDetailsInner.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER AssociationType +association type with the identity +.PARAMETER Entities +the specific resource this identity has ownership on +.OUTPUTS + +IdentityAssociationDetailsAssociationDetailsInner +#> + +function Initialize-V2024IdentityAssociationDetailsAssociationDetailsInner { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AssociationType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Entities} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024IdentityAssociationDetailsAssociationDetailsInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "associationType" = ${AssociationType} + "entities" = ${Entities} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to IdentityAssociationDetailsAssociationDetailsInner + +.DESCRIPTION + +Convert from JSON to IdentityAssociationDetailsAssociationDetailsInner + +.PARAMETER Json + +Json object + +.OUTPUTS + +IdentityAssociationDetailsAssociationDetailsInner +#> +function ConvertFrom-V2024JsonToIdentityAssociationDetailsAssociationDetailsInner { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024IdentityAssociationDetailsAssociationDetailsInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024IdentityAssociationDetailsAssociationDetailsInner + $AllProperties = ("associationType", "entities") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "associationType"))) { #optional property not found + $AssociationType = $null + } else { + $AssociationType = $JsonParameters.PSobject.Properties["associationType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "entities"))) { #optional property not found + $Entities = $null + } else { + $Entities = $JsonParameters.PSobject.Properties["entities"].value + } + + $PSO = [PSCustomObject]@{ + "associationType" = ${AssociationType} + "entities" = ${Entities} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityAttribute.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityAttribute.ps1 new file mode 100644 index 000000000..7479b5ec5 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityAttribute.ps1 @@ -0,0 +1,195 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Name +Identity attribute's technical name. +.PARAMETER DisplayName +Identity attribute's business-friendly name. +.PARAMETER Standard +Indicates whether the attribute is 'standard' or 'default'. +.PARAMETER Type +Identity attribute's type. +.PARAMETER Multi +Indicates whether the identity attribute is multi-valued. +.PARAMETER Searchable +Indicates whether the identity attribute is searchable. +.PARAMETER System +Indicates whether the identity attribute is 'system', meaning that it doesn't have a source and isn't configurable. +.PARAMETER Sources +Identity attribute's list of sources - this specifies how the rule's value is derived. +.OUTPUTS + +IdentityAttribute +#> + +function Initialize-V2024IdentityAttribute { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${DisplayName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Standard} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Multi} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Searchable} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${System} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Sources} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024IdentityAttribute' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "displayName" = ${DisplayName} + "standard" = ${Standard} + "type" = ${Type} + "multi" = ${Multi} + "searchable" = ${Searchable} + "system" = ${System} + "sources" = ${Sources} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to IdentityAttribute + +.DESCRIPTION + +Convert from JSON to IdentityAttribute + +.PARAMETER Json + +Json object + +.OUTPUTS + +IdentityAttribute +#> +function ConvertFrom-V2024JsonToIdentityAttribute { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024IdentityAttribute' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024IdentityAttribute + $AllProperties = ("name", "displayName", "standard", "type", "multi", "searchable", "system", "sources") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'name' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "displayName"))) { #optional property not found + $DisplayName = $null + } else { + $DisplayName = $JsonParameters.PSobject.Properties["displayName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "standard"))) { #optional property not found + $Standard = $null + } else { + $Standard = $JsonParameters.PSobject.Properties["standard"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "multi"))) { #optional property not found + $Multi = $null + } else { + $Multi = $JsonParameters.PSobject.Properties["multi"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "searchable"))) { #optional property not found + $Searchable = $null + } else { + $Searchable = $JsonParameters.PSobject.Properties["searchable"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "system"))) { #optional property not found + $System = $null + } else { + $System = $JsonParameters.PSobject.Properties["system"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sources"))) { #optional property not found + $Sources = $null + } else { + $Sources = $JsonParameters.PSobject.Properties["sources"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "displayName" = ${DisplayName} + "standard" = ${Standard} + "type" = ${Type} + "multi" = ${Multi} + "searchable" = ${Searchable} + "system" = ${System} + "sources" = ${Sources} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityAttribute1.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityAttribute1.ps1 new file mode 100644 index 000000000..580f0694d --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityAttribute1.ps1 @@ -0,0 +1,130 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Name +The system (camel-cased) name of the identity attribute to bring in +.PARAMETER RequiresPeriodicRefresh +A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process +.PARAMETER VarInput +This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI. +.OUTPUTS + +IdentityAttribute1 +#> + +function Initialize-V2024IdentityAttribute1 { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${RequiresPeriodicRefresh} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${VarInput} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024IdentityAttribute1' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + "input" = ${VarInput} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to IdentityAttribute1 + +.DESCRIPTION + +Convert from JSON to IdentityAttribute1 + +.PARAMETER Json + +Json object + +.OUTPUTS + +IdentityAttribute1 +#> +function ConvertFrom-V2024JsonToIdentityAttribute1 { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024IdentityAttribute1' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024IdentityAttribute1 + $AllProperties = ("name", "requiresPeriodicRefresh", "input") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'name' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requiresPeriodicRefresh"))) { #optional property not found + $RequiresPeriodicRefresh = $null + } else { + $RequiresPeriodicRefresh = $JsonParameters.PSobject.Properties["requiresPeriodicRefresh"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "input"))) { #optional property not found + $VarInput = $null + } else { + $VarInput = $JsonParameters.PSobject.Properties["input"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + "input" = ${VarInput} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityAttribute2.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityAttribute2.ps1 new file mode 100644 index 000000000..eb9291fcc --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityAttribute2.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Key +The attribute key +.PARAMETER Name +Human-readable display name of the attribute +.PARAMETER Value +The attribute value +.OUTPUTS + +IdentityAttribute2 +#> + +function Initialize-V2024IdentityAttribute2 { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Key}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Value} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024IdentityAttribute2' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "key" = ${Key} + "name" = ${Name} + "value" = ${Value} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to IdentityAttribute2 + +.DESCRIPTION + +Convert from JSON to IdentityAttribute2 + +.PARAMETER Json + +Json object + +.OUTPUTS + +IdentityAttribute2 +#> +function ConvertFrom-V2024JsonToIdentityAttribute2 { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024IdentityAttribute2' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024IdentityAttribute2 + $AllProperties = ("key", "name", "value") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "key"))) { #optional property not found + $Key = $null + } else { + $Key = $JsonParameters.PSobject.Properties["key"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "value"))) { #optional property not found + $Value = $null + } else { + $Value = $JsonParameters.PSobject.Properties["value"].value + } + + $PSO = [PSCustomObject]@{ + "key" = ${Key} + "name" = ${Name} + "value" = ${Value} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityAttributeConfig.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityAttributeConfig.ps1 new file mode 100644 index 000000000..c5bb7db91 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityAttributeConfig.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Defines all the identity attribute mapping configurations. This defines how to generate or collect data for each identity attributes in identity refresh process. + +.PARAMETER Enabled +The backend will only promote values if the profile/mapping is enabled. +.PARAMETER AttributeTransforms +No description available. +.OUTPUTS + +IdentityAttributeConfig +#> + +function Initialize-V2024IdentityAttributeConfig { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Enabled} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${AttributeTransforms} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024IdentityAttributeConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "enabled" = ${Enabled} + "attributeTransforms" = ${AttributeTransforms} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to IdentityAttributeConfig + +.DESCRIPTION + +Convert from JSON to IdentityAttributeConfig + +.PARAMETER Json + +Json object + +.OUTPUTS + +IdentityAttributeConfig +#> +function ConvertFrom-V2024JsonToIdentityAttributeConfig { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024IdentityAttributeConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024IdentityAttributeConfig + $AllProperties = ("enabled", "attributeTransforms") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "enabled"))) { #optional property not found + $Enabled = $null + } else { + $Enabled = $JsonParameters.PSobject.Properties["enabled"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributeTransforms"))) { #optional property not found + $AttributeTransforms = $null + } else { + $AttributeTransforms = $JsonParameters.PSobject.Properties["attributeTransforms"].value + } + + $PSO = [PSCustomObject]@{ + "enabled" = ${Enabled} + "attributeTransforms" = ${AttributeTransforms} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityAttributeNames.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityAttributeNames.ps1 new file mode 100644 index 000000000..9b18a777b --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityAttributeNames.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Identity attribute IDs. + +.PARAMETER Ids +List of identity attributes' technical names. +.OUTPUTS + +IdentityAttributeNames +#> + +function Initialize-V2024IdentityAttributeNames { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Ids} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024IdentityAttributeNames' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "ids" = ${Ids} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to IdentityAttributeNames + +.DESCRIPTION + +Convert from JSON to IdentityAttributeNames + +.PARAMETER Json + +Json object + +.OUTPUTS + +IdentityAttributeNames +#> +function ConvertFrom-V2024JsonToIdentityAttributeNames { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024IdentityAttributeNames' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024IdentityAttributeNames + $AllProperties = ("ids") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "ids"))) { #optional property not found + $Ids = $null + } else { + $Ids = $JsonParameters.PSobject.Properties["ids"].value + } + + $PSO = [PSCustomObject]@{ + "ids" = ${Ids} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityAttributePreview.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityAttributePreview.ps1 new file mode 100644 index 000000000..d5fc3dcdb --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityAttributePreview.ps1 @@ -0,0 +1,135 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Name +Name of the attribute that is being previewed. +.PARAMETER Value +Value that was derived during the preview. +.PARAMETER PreviousValue +The value of the attribute before the preview. +.PARAMETER ErrorMessages +No description available. +.OUTPUTS + +IdentityAttributePreview +#> + +function Initialize-V2024IdentityAttributePreview { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Value}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${PreviousValue}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${ErrorMessages} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024IdentityAttributePreview' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "value" = ${Value} + "previousValue" = ${PreviousValue} + "errorMessages" = ${ErrorMessages} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to IdentityAttributePreview + +.DESCRIPTION + +Convert from JSON to IdentityAttributePreview + +.PARAMETER Json + +Json object + +.OUTPUTS + +IdentityAttributePreview +#> +function ConvertFrom-V2024JsonToIdentityAttributePreview { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024IdentityAttributePreview' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024IdentityAttributePreview + $AllProperties = ("name", "value", "previousValue", "errorMessages") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "value"))) { #optional property not found + $Value = $null + } else { + $Value = $JsonParameters.PSobject.Properties["value"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "previousValue"))) { #optional property not found + $PreviousValue = $null + } else { + $PreviousValue = $JsonParameters.PSobject.Properties["previousValue"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "errorMessages"))) { #optional property not found + $ErrorMessages = $null + } else { + $ErrorMessages = $JsonParameters.PSobject.Properties["errorMessages"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "value" = ${Value} + "previousValue" = ${PreviousValue} + "errorMessages" = ${ErrorMessages} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityAttributeTransform.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityAttributeTransform.ps1 new file mode 100644 index 000000000..2f662a7de --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityAttributeTransform.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Defines a transformation definition for an identity attribute. + +.PARAMETER IdentityAttributeName +Name of the identity attribute. +.PARAMETER TransformDefinition +No description available. +.OUTPUTS + +IdentityAttributeTransform +#> + +function Initialize-V2024IdentityAttributeTransform { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${IdentityAttributeName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${TransformDefinition} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024IdentityAttributeTransform' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "identityAttributeName" = ${IdentityAttributeName} + "transformDefinition" = ${TransformDefinition} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to IdentityAttributeTransform + +.DESCRIPTION + +Convert from JSON to IdentityAttributeTransform + +.PARAMETER Json + +Json object + +.OUTPUTS + +IdentityAttributeTransform +#> +function ConvertFrom-V2024JsonToIdentityAttributeTransform { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024IdentityAttributeTransform' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024IdentityAttributeTransform + $AllProperties = ("identityAttributeName", "transformDefinition") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityAttributeName"))) { #optional property not found + $IdentityAttributeName = $null + } else { + $IdentityAttributeName = $JsonParameters.PSobject.Properties["identityAttributeName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "transformDefinition"))) { #optional property not found + $TransformDefinition = $null + } else { + $TransformDefinition = $JsonParameters.PSobject.Properties["transformDefinition"].value + } + + $PSO = [PSCustomObject]@{ + "identityAttributeName" = ${IdentityAttributeName} + "transformDefinition" = ${TransformDefinition} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityAttributesChanged.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityAttributesChanged.ps1 new file mode 100644 index 000000000..ae344e247 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityAttributesChanged.ps1 @@ -0,0 +1,121 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Identity +No description available. +.PARAMETER Changes +A list of one or more identity attributes that changed on the identity. +.OUTPUTS + +IdentityAttributesChanged +#> + +function Initialize-V2024IdentityAttributesChanged { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Identity}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Changes} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024IdentityAttributesChanged' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Identity) { + throw "invalid value for 'Identity', 'Identity' cannot be null." + } + + if (!$Changes) { + throw "invalid value for 'Changes', 'Changes' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "identity" = ${Identity} + "changes" = ${Changes} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to IdentityAttributesChanged + +.DESCRIPTION + +Convert from JSON to IdentityAttributesChanged + +.PARAMETER Json + +Json object + +.OUTPUTS + +IdentityAttributesChanged +#> +function ConvertFrom-V2024JsonToIdentityAttributesChanged { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024IdentityAttributesChanged' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024IdentityAttributesChanged + $AllProperties = ("identity", "changes") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'identity' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identity"))) { + throw "Error! JSON cannot be serialized due to the required property 'identity' missing." + } else { + $Identity = $JsonParameters.PSobject.Properties["identity"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "changes"))) { + throw "Error! JSON cannot be serialized due to the required property 'changes' missing." + } else { + $Changes = $JsonParameters.PSobject.Properties["changes"].value + } + + $PSO = [PSCustomObject]@{ + "identity" = ${Identity} + "changes" = ${Changes} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityAttributesChangedChangesInner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityAttributesChangedChangesInner.ps1 new file mode 100644 index 000000000..2c014828f --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityAttributesChangedChangesInner.ps1 @@ -0,0 +1,130 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Attribute +The name of the identity attribute that changed. +.PARAMETER OldValue +No description available. +.PARAMETER NewValue +No description available. +.OUTPUTS + +IdentityAttributesChangedChangesInner +#> + +function Initialize-V2024IdentityAttributesChangedChangesInner { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Attribute}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${OldValue}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${NewValue} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024IdentityAttributesChangedChangesInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Attribute) { + throw "invalid value for 'Attribute', 'Attribute' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "attribute" = ${Attribute} + "oldValue" = ${OldValue} + "newValue" = ${NewValue} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to IdentityAttributesChangedChangesInner + +.DESCRIPTION + +Convert from JSON to IdentityAttributesChangedChangesInner + +.PARAMETER Json + +Json object + +.OUTPUTS + +IdentityAttributesChangedChangesInner +#> +function ConvertFrom-V2024JsonToIdentityAttributesChangedChangesInner { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024IdentityAttributesChangedChangesInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024IdentityAttributesChangedChangesInner + $AllProperties = ("attribute", "oldValue", "newValue") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'attribute' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attribute"))) { + throw "Error! JSON cannot be serialized due to the required property 'attribute' missing." + } else { + $Attribute = $JsonParameters.PSobject.Properties["attribute"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "oldValue"))) { #optional property not found + $OldValue = $null + } else { + $OldValue = $JsonParameters.PSobject.Properties["oldValue"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "newValue"))) { #optional property not found + $NewValue = $null + } else { + $NewValue = $JsonParameters.PSobject.Properties["newValue"].value + } + + $PSO = [PSCustomObject]@{ + "attribute" = ${Attribute} + "oldValue" = ${OldValue} + "newValue" = ${NewValue} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityAttributesChangedChangesInnerNewValue.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityAttributesChangedChangesInnerNewValue.ps1 new file mode 100644 index 000000000..840158a88 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityAttributesChangedChangesInnerNewValue.ps1 @@ -0,0 +1,114 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +The value of the identity attribute after it changed. + +.PARAMETER Json + +JSON object + +.OUTPUTS + +IdentityAttributesChangedChangesInnerNewValue +#> +function ConvertFrom-V2024JsonToIdentityAttributesChangedChangesInnerNewValue { + [CmdletBinding()] + Param ( + [AllowEmptyString()] + [string]$Json + ) + + Process { + $match = 0 + $matchType = $null + $matchInstance = $null + + # try to match Boolean defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToBoolean $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "Boolean" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'Boolean' defined in oneOf (V2024IdentityAttributesChangedChangesInnerNewValue). Proceeding to the next one if any." + } + + # try to match String defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToString $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "String" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'String' defined in oneOf (V2024IdentityAttributesChangedChangesInnerNewValue). Proceeding to the next one if any." + } + + # try to match String[] defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToString[] $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "String[]" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'String[]' defined in oneOf (V2024IdentityAttributesChangedChangesInnerNewValue). Proceeding to the next one if any." + } + + # try to match System.Collections.Hashtable defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToSystem.Collections.Hashtable $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "System.Collections.Hashtable" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'System.Collections.Hashtable' defined in oneOf (V2024IdentityAttributesChangedChangesInnerNewValue). Proceeding to the next one if any." + } + + if ($match -gt 1) { + throw "Error! The JSON payload matches more than one type defined in oneOf schemas ([Boolean, String, String[], System.Collections.Hashtable]). JSON Payload: $($Json)" + } elseif ($match -eq 1) { + return [PSCustomObject]@{ + "ActualType" = ${matchType} + "ActualInstance" = ${matchInstance} + "OneOfSchemas" = @("Boolean", "String", "String[]", "System.Collections.Hashtable") + } + } else { + throw "Error! The JSON payload doesn't matches any type defined in oneOf schemas ([Boolean, String, String[], System.Collections.Hashtable]). JSON Payload: $($Json)" + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityAttributesChangedChangesInnerOldValue.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityAttributesChangedChangesInnerOldValue.ps1 new file mode 100644 index 000000000..3ee5a1a8f --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityAttributesChangedChangesInnerOldValue.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +The value of the identity attribute before it changed. + +.PARAMETER Json + +JSON object + +.OUTPUTS + +IdentityAttributesChangedChangesInnerOldValue +#> +function ConvertFrom-V2024JsonToIdentityAttributesChangedChangesInnerOldValue { + [CmdletBinding()] + Param ( + [AllowEmptyString()] + [string]$Json + ) + + Process { + $match = 0 + $matchType = $null + $matchInstance = $null + + # nullable check + if ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { + return [PSCustomObject]@{ + "ActualType" = $null + "ActualInstance" = $null + "OneOfSchemas" = @("Boolean", "String", "String[]", "System.Collections.Hashtable") + } + } + + # try to match Boolean defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToBoolean $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "Boolean" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'Boolean' defined in oneOf (V2024IdentityAttributesChangedChangesInnerOldValue). Proceeding to the next one if any." + } + + # try to match String defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToString $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "String" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'String' defined in oneOf (V2024IdentityAttributesChangedChangesInnerOldValue). Proceeding to the next one if any." + } + + # try to match String[] defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToString[] $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "String[]" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'String[]' defined in oneOf (V2024IdentityAttributesChangedChangesInnerOldValue). Proceeding to the next one if any." + } + + # try to match System.Collections.Hashtable defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToSystem.Collections.Hashtable $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "System.Collections.Hashtable" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'System.Collections.Hashtable' defined in oneOf (V2024IdentityAttributesChangedChangesInnerOldValue). Proceeding to the next one if any." + } + + if ($match -gt 1) { + throw "Error! The JSON payload matches more than one type defined in oneOf schemas ([Boolean, String, String[], System.Collections.Hashtable]). JSON Payload: $($Json)" + } elseif ($match -eq 1) { + return [PSCustomObject]@{ + "ActualType" = ${matchType} + "ActualInstance" = ${matchInstance} + "OneOfSchemas" = @("Boolean", "String", "String[]", "System.Collections.Hashtable") + } + } else { + throw "Error! The JSON payload doesn't matches any type defined in oneOf schemas ([Boolean, String, String[], System.Collections.Hashtable]). JSON Payload: $($Json)" + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityAttributesChangedChangesInnerOldValueOneOfValue.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityAttributesChangedChangesInnerOldValueOneOfValue.ps1 new file mode 100644 index 000000000..447d8b11a --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityAttributesChangedChangesInnerOldValueOneOfValue.ps1 @@ -0,0 +1,114 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Json + +JSON object + +.OUTPUTS + +IdentityAttributesChangedChangesInnerOldValueOneOfValue +#> +function ConvertFrom-V2024JsonToIdentityAttributesChangedChangesInnerOldValueOneOfValue { + [CmdletBinding()] + Param ( + [AllowEmptyString()] + [string]$Json + ) + + Process { + $match = 0 + $matchType = $null + $matchInstance = $null + + # try to match Boolean defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToBoolean $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "Boolean" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'Boolean' defined in oneOf (V2024IdentityAttributesChangedChangesInnerOldValueOneOfValue). Proceeding to the next one if any." + } + + # try to match Decimal defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToDecimal $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "Decimal" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'Decimal' defined in oneOf (V2024IdentityAttributesChangedChangesInnerOldValueOneOfValue). Proceeding to the next one if any." + } + + # try to match Int32 defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToInt32 $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "Int32" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'Int32' defined in oneOf (V2024IdentityAttributesChangedChangesInnerOldValueOneOfValue). Proceeding to the next one if any." + } + + # try to match String defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToString $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "String" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'String' defined in oneOf (V2024IdentityAttributesChangedChangesInnerOldValueOneOfValue). Proceeding to the next one if any." + } + + if ($match -gt 1) { + throw "Error! The JSON payload matches more than one type defined in oneOf schemas ([Boolean, Decimal, Int32, String]). JSON Payload: $($Json)" + } elseif ($match -eq 1) { + return [PSCustomObject]@{ + "ActualType" = ${matchType} + "ActualInstance" = ${matchInstance} + "OneOfSchemas" = @("Boolean", "Decimal", "Int32", "String") + } + } else { + throw "Error! The JSON payload doesn't matches any type defined in oneOf schemas ([Boolean, Decimal, Int32, String]). JSON Payload: $($Json)" + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityAttributesChangedIdentity.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityAttributesChangedIdentity.ps1 new file mode 100644 index 000000000..ef50c1ef0 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityAttributesChangedIdentity.ps1 @@ -0,0 +1,139 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Identity whose attributes changed. + +.PARAMETER Type +DTO type of identity whose attributes changed. +.PARAMETER Id +ID of identity whose attributes changed. +.PARAMETER Name +Display name of identity whose attributes changed. +.OUTPUTS + +IdentityAttributesChangedIdentity +#> + +function Initialize-V2024IdentityAttributesChangedIdentity { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024IdentityAttributesChangedIdentity' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to IdentityAttributesChangedIdentity + +.DESCRIPTION + +Convert from JSON to IdentityAttributesChangedIdentity + +.PARAMETER Json + +Json object + +.OUTPUTS + +IdentityAttributesChangedIdentity +#> +function ConvertFrom-V2024JsonToIdentityAttributesChangedIdentity { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024IdentityAttributesChangedIdentity' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024IdentityAttributesChangedIdentity + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'type' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityCertDecisionSummary.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityCertDecisionSummary.ps1 new file mode 100644 index 000000000..e55bc6286 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityCertDecisionSummary.ps1 @@ -0,0 +1,291 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER EntitlementDecisionsMade +Number of entitlement decisions that have been made +.PARAMETER AccessProfileDecisionsMade +Number of access profile decisions that have been made +.PARAMETER RoleDecisionsMade +Number of role decisions that have been made +.PARAMETER AccountDecisionsMade +Number of account decisions that have been made +.PARAMETER EntitlementDecisionsTotal +The total number of entitlement decisions on the certification, both complete and incomplete +.PARAMETER AccessProfileDecisionsTotal +The total number of access profile decisions on the certification, both complete and incomplete +.PARAMETER RoleDecisionsTotal +The total number of role decisions on the certification, both complete and incomplete +.PARAMETER AccountDecisionsTotal +The total number of account decisions on the certification, both complete and incomplete +.PARAMETER EntitlementsApproved +The number of entitlement decisions that have been made which were approved +.PARAMETER EntitlementsRevoked +The number of entitlement decisions that have been made which were revoked +.PARAMETER AccessProfilesApproved +The number of access profile decisions that have been made which were approved +.PARAMETER AccessProfilesRevoked +The number of access profile decisions that have been made which were revoked +.PARAMETER RolesApproved +The number of role decisions that have been made which were approved +.PARAMETER RolesRevoked +The number of role decisions that have been made which were revoked +.PARAMETER AccountsApproved +The number of account decisions that have been made which were approved +.PARAMETER AccountsRevoked +The number of account decisions that have been made which were revoked +.OUTPUTS + +IdentityCertDecisionSummary +#> + +function Initialize-V2024IdentityCertDecisionSummary { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${EntitlementDecisionsMade}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${AccessProfileDecisionsMade}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${RoleDecisionsMade}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${AccountDecisionsMade}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${EntitlementDecisionsTotal}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${AccessProfileDecisionsTotal}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${RoleDecisionsTotal}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${AccountDecisionsTotal}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${EntitlementsApproved}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${EntitlementsRevoked}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${AccessProfilesApproved}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${AccessProfilesRevoked}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${RolesApproved}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${RolesRevoked}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${AccountsApproved}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${AccountsRevoked} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024IdentityCertDecisionSummary' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "entitlementDecisionsMade" = ${EntitlementDecisionsMade} + "accessProfileDecisionsMade" = ${AccessProfileDecisionsMade} + "roleDecisionsMade" = ${RoleDecisionsMade} + "accountDecisionsMade" = ${AccountDecisionsMade} + "entitlementDecisionsTotal" = ${EntitlementDecisionsTotal} + "accessProfileDecisionsTotal" = ${AccessProfileDecisionsTotal} + "roleDecisionsTotal" = ${RoleDecisionsTotal} + "accountDecisionsTotal" = ${AccountDecisionsTotal} + "entitlementsApproved" = ${EntitlementsApproved} + "entitlementsRevoked" = ${EntitlementsRevoked} + "accessProfilesApproved" = ${AccessProfilesApproved} + "accessProfilesRevoked" = ${AccessProfilesRevoked} + "rolesApproved" = ${RolesApproved} + "rolesRevoked" = ${RolesRevoked} + "accountsApproved" = ${AccountsApproved} + "accountsRevoked" = ${AccountsRevoked} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to IdentityCertDecisionSummary + +.DESCRIPTION + +Convert from JSON to IdentityCertDecisionSummary + +.PARAMETER Json + +Json object + +.OUTPUTS + +IdentityCertDecisionSummary +#> +function ConvertFrom-V2024JsonToIdentityCertDecisionSummary { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024IdentityCertDecisionSummary' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024IdentityCertDecisionSummary + $AllProperties = ("entitlementDecisionsMade", "accessProfileDecisionsMade", "roleDecisionsMade", "accountDecisionsMade", "entitlementDecisionsTotal", "accessProfileDecisionsTotal", "roleDecisionsTotal", "accountDecisionsTotal", "entitlementsApproved", "entitlementsRevoked", "accessProfilesApproved", "accessProfilesRevoked", "rolesApproved", "rolesRevoked", "accountsApproved", "accountsRevoked") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "entitlementDecisionsMade"))) { #optional property not found + $EntitlementDecisionsMade = $null + } else { + $EntitlementDecisionsMade = $JsonParameters.PSobject.Properties["entitlementDecisionsMade"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accessProfileDecisionsMade"))) { #optional property not found + $AccessProfileDecisionsMade = $null + } else { + $AccessProfileDecisionsMade = $JsonParameters.PSobject.Properties["accessProfileDecisionsMade"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "roleDecisionsMade"))) { #optional property not found + $RoleDecisionsMade = $null + } else { + $RoleDecisionsMade = $JsonParameters.PSobject.Properties["roleDecisionsMade"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accountDecisionsMade"))) { #optional property not found + $AccountDecisionsMade = $null + } else { + $AccountDecisionsMade = $JsonParameters.PSobject.Properties["accountDecisionsMade"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "entitlementDecisionsTotal"))) { #optional property not found + $EntitlementDecisionsTotal = $null + } else { + $EntitlementDecisionsTotal = $JsonParameters.PSobject.Properties["entitlementDecisionsTotal"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accessProfileDecisionsTotal"))) { #optional property not found + $AccessProfileDecisionsTotal = $null + } else { + $AccessProfileDecisionsTotal = $JsonParameters.PSobject.Properties["accessProfileDecisionsTotal"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "roleDecisionsTotal"))) { #optional property not found + $RoleDecisionsTotal = $null + } else { + $RoleDecisionsTotal = $JsonParameters.PSobject.Properties["roleDecisionsTotal"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accountDecisionsTotal"))) { #optional property not found + $AccountDecisionsTotal = $null + } else { + $AccountDecisionsTotal = $JsonParameters.PSobject.Properties["accountDecisionsTotal"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "entitlementsApproved"))) { #optional property not found + $EntitlementsApproved = $null + } else { + $EntitlementsApproved = $JsonParameters.PSobject.Properties["entitlementsApproved"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "entitlementsRevoked"))) { #optional property not found + $EntitlementsRevoked = $null + } else { + $EntitlementsRevoked = $JsonParameters.PSobject.Properties["entitlementsRevoked"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accessProfilesApproved"))) { #optional property not found + $AccessProfilesApproved = $null + } else { + $AccessProfilesApproved = $JsonParameters.PSobject.Properties["accessProfilesApproved"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accessProfilesRevoked"))) { #optional property not found + $AccessProfilesRevoked = $null + } else { + $AccessProfilesRevoked = $JsonParameters.PSobject.Properties["accessProfilesRevoked"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "rolesApproved"))) { #optional property not found + $RolesApproved = $null + } else { + $RolesApproved = $JsonParameters.PSobject.Properties["rolesApproved"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "rolesRevoked"))) { #optional property not found + $RolesRevoked = $null + } else { + $RolesRevoked = $JsonParameters.PSobject.Properties["rolesRevoked"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accountsApproved"))) { #optional property not found + $AccountsApproved = $null + } else { + $AccountsApproved = $JsonParameters.PSobject.Properties["accountsApproved"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accountsRevoked"))) { #optional property not found + $AccountsRevoked = $null + } else { + $AccountsRevoked = $JsonParameters.PSobject.Properties["accountsRevoked"].value + } + + $PSO = [PSCustomObject]@{ + "entitlementDecisionsMade" = ${EntitlementDecisionsMade} + "accessProfileDecisionsMade" = ${AccessProfileDecisionsMade} + "roleDecisionsMade" = ${RoleDecisionsMade} + "accountDecisionsMade" = ${AccountDecisionsMade} + "entitlementDecisionsTotal" = ${EntitlementDecisionsTotal} + "accessProfileDecisionsTotal" = ${AccessProfileDecisionsTotal} + "roleDecisionsTotal" = ${RoleDecisionsTotal} + "accountDecisionsTotal" = ${AccountDecisionsTotal} + "entitlementsApproved" = ${EntitlementsApproved} + "entitlementsRevoked" = ${EntitlementsRevoked} + "accessProfilesApproved" = ${AccessProfilesApproved} + "accessProfilesRevoked" = ${AccessProfilesRevoked} + "rolesApproved" = ${RolesApproved} + "rolesRevoked" = ${RolesRevoked} + "accountsApproved" = ${AccountsApproved} + "accountsRevoked" = ${AccountsRevoked} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityCertificationDto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityCertificationDto.ps1 new file mode 100644 index 000000000..f4899e8fc --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityCertificationDto.ps1 @@ -0,0 +1,305 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +id of the certification +.PARAMETER Name +name of the certification +.PARAMETER Campaign +No description available. +.PARAMETER Completed +Have all decisions been made? +.PARAMETER IdentitiesCompleted +The number of identities for whom all decisions have been made and are complete. +.PARAMETER IdentitiesTotal +The total number of identities in the Certification, both complete and incomplete. +.PARAMETER Created +created date +.PARAMETER Modified +modified date +.PARAMETER DecisionsMade +The number of approve/revoke/acknowledge decisions that have been made. +.PARAMETER DecisionsTotal +The total number of approve/revoke/acknowledge decisions. +.PARAMETER Due +The due date of the certification. +.PARAMETER Signed +The date the reviewer signed off on the Certification. +.PARAMETER Reviewer +No description available. +.PARAMETER Reassignment +No description available. +.PARAMETER HasErrors +Identifies if the certification has an error +.PARAMETER ErrorMessage +Description of the certification error +.PARAMETER Phase +No description available. +.OUTPUTS + +IdentityCertificationDto +#> + +function Initialize-V2024IdentityCertificationDto { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Campaign}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Completed}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${IdentitiesCompleted}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${IdentitiesTotal}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Modified}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${DecisionsMade}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${DecisionsTotal}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Due}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Signed}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Reviewer}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Reassignment}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${HasErrors}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ErrorMessage}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("STAGED", "ACTIVE", "SIGNED")] + [PSCustomObject] + ${Phase} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024IdentityCertificationDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "campaign" = ${Campaign} + "completed" = ${Completed} + "identitiesCompleted" = ${IdentitiesCompleted} + "identitiesTotal" = ${IdentitiesTotal} + "created" = ${Created} + "modified" = ${Modified} + "decisionsMade" = ${DecisionsMade} + "decisionsTotal" = ${DecisionsTotal} + "due" = ${Due} + "signed" = ${Signed} + "reviewer" = ${Reviewer} + "reassignment" = ${Reassignment} + "hasErrors" = ${HasErrors} + "errorMessage" = ${ErrorMessage} + "phase" = ${Phase} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to IdentityCertificationDto + +.DESCRIPTION + +Convert from JSON to IdentityCertificationDto + +.PARAMETER Json + +Json object + +.OUTPUTS + +IdentityCertificationDto +#> +function ConvertFrom-V2024JsonToIdentityCertificationDto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024IdentityCertificationDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024IdentityCertificationDto + $AllProperties = ("id", "name", "campaign", "completed", "identitiesCompleted", "identitiesTotal", "created", "modified", "decisionsMade", "decisionsTotal", "due", "signed", "reviewer", "reassignment", "hasErrors", "errorMessage", "phase") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "campaign"))) { #optional property not found + $Campaign = $null + } else { + $Campaign = $JsonParameters.PSobject.Properties["campaign"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "completed"))) { #optional property not found + $Completed = $null + } else { + $Completed = $JsonParameters.PSobject.Properties["completed"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identitiesCompleted"))) { #optional property not found + $IdentitiesCompleted = $null + } else { + $IdentitiesCompleted = $JsonParameters.PSobject.Properties["identitiesCompleted"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identitiesTotal"))) { #optional property not found + $IdentitiesTotal = $null + } else { + $IdentitiesTotal = $JsonParameters.PSobject.Properties["identitiesTotal"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "decisionsMade"))) { #optional property not found + $DecisionsMade = $null + } else { + $DecisionsMade = $JsonParameters.PSobject.Properties["decisionsMade"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "decisionsTotal"))) { #optional property not found + $DecisionsTotal = $null + } else { + $DecisionsTotal = $JsonParameters.PSobject.Properties["decisionsTotal"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "due"))) { #optional property not found + $Due = $null + } else { + $Due = $JsonParameters.PSobject.Properties["due"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "signed"))) { #optional property not found + $Signed = $null + } else { + $Signed = $JsonParameters.PSobject.Properties["signed"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "reviewer"))) { #optional property not found + $Reviewer = $null + } else { + $Reviewer = $JsonParameters.PSobject.Properties["reviewer"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "reassignment"))) { #optional property not found + $Reassignment = $null + } else { + $Reassignment = $JsonParameters.PSobject.Properties["reassignment"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "hasErrors"))) { #optional property not found + $HasErrors = $null + } else { + $HasErrors = $JsonParameters.PSobject.Properties["hasErrors"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "errorMessage"))) { #optional property not found + $ErrorMessage = $null + } else { + $ErrorMessage = $JsonParameters.PSobject.Properties["errorMessage"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "phase"))) { #optional property not found + $Phase = $null + } else { + $Phase = $JsonParameters.PSobject.Properties["phase"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "campaign" = ${Campaign} + "completed" = ${Completed} + "identitiesCompleted" = ${IdentitiesCompleted} + "identitiesTotal" = ${IdentitiesTotal} + "created" = ${Created} + "modified" = ${Modified} + "decisionsMade" = ${DecisionsMade} + "decisionsTotal" = ${DecisionsTotal} + "due" = ${Due} + "signed" = ${Signed} + "reviewer" = ${Reviewer} + "reassignment" = ${Reassignment} + "hasErrors" = ${HasErrors} + "errorMessage" = ${ErrorMessage} + "phase" = ${Phase} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityCertified.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityCertified.ps1 new file mode 100644 index 000000000..4345243bd --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityCertified.ps1 @@ -0,0 +1,187 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER CertificationId +the id of the certification item +.PARAMETER CertificationName +the certification item name +.PARAMETER SignedDate +the date ceritification was signed +.PARAMETER Certifiers +this field is deprecated and may go away +.PARAMETER Reviewers +The list of identities who review this certification +.PARAMETER Signer +No description available. +.PARAMETER EventType +the event type +.PARAMETER Dt +the date of event +.OUTPUTS + +IdentityCertified +#> + +function Initialize-V2024IdentityCertified { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${CertificationId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${CertificationName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SignedDate}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Certifiers}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Reviewers}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Signer}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${EventType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Dt} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024IdentityCertified' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "certificationId" = ${CertificationId} + "certificationName" = ${CertificationName} + "signedDate" = ${SignedDate} + "certifiers" = ${Certifiers} + "reviewers" = ${Reviewers} + "signer" = ${Signer} + "eventType" = ${EventType} + "dt" = ${Dt} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to IdentityCertified + +.DESCRIPTION + +Convert from JSON to IdentityCertified + +.PARAMETER Json + +Json object + +.OUTPUTS + +IdentityCertified +#> +function ConvertFrom-V2024JsonToIdentityCertified { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024IdentityCertified' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024IdentityCertified + $AllProperties = ("certificationId", "certificationName", "signedDate", "certifiers", "reviewers", "signer", "eventType", "dt") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "certificationId"))) { #optional property not found + $CertificationId = $null + } else { + $CertificationId = $JsonParameters.PSobject.Properties["certificationId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "certificationName"))) { #optional property not found + $CertificationName = $null + } else { + $CertificationName = $JsonParameters.PSobject.Properties["certificationName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "signedDate"))) { #optional property not found + $SignedDate = $null + } else { + $SignedDate = $JsonParameters.PSobject.Properties["signedDate"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "certifiers"))) { #optional property not found + $Certifiers = $null + } else { + $Certifiers = $JsonParameters.PSobject.Properties["certifiers"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "reviewers"))) { #optional property not found + $Reviewers = $null + } else { + $Reviewers = $JsonParameters.PSobject.Properties["reviewers"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "signer"))) { #optional property not found + $Signer = $null + } else { + $Signer = $JsonParameters.PSobject.Properties["signer"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "eventType"))) { #optional property not found + $EventType = $null + } else { + $EventType = $JsonParameters.PSobject.Properties["eventType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "dt"))) { #optional property not found + $Dt = $null + } else { + $Dt = $JsonParameters.PSobject.Properties["dt"].value + } + + $PSO = [PSCustomObject]@{ + "certificationId" = ${CertificationId} + "certificationName" = ${CertificationName} + "signedDate" = ${SignedDate} + "certifiers" = ${Certifiers} + "reviewers" = ${Reviewers} + "signer" = ${Signer} + "eventType" = ${EventType} + "dt" = ${Dt} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityCompareResponse.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityCompareResponse.ps1 new file mode 100644 index 000000000..f1c15f25a --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityCompareResponse.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER AccessItemDiff +Arbitrary key-value pairs. They will never be processed by the IdentityNow system but will be returned on completion of the violation check. +.OUTPUTS + +IdentityCompareResponse +#> + +function Initialize-V2024IdentityCompareResponse { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${AccessItemDiff} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024IdentityCompareResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "accessItemDiff" = ${AccessItemDiff} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to IdentityCompareResponse + +.DESCRIPTION + +Convert from JSON to IdentityCompareResponse + +.PARAMETER Json + +Json object + +.OUTPUTS + +IdentityCompareResponse +#> +function ConvertFrom-V2024JsonToIdentityCompareResponse { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024IdentityCompareResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024IdentityCompareResponse + $AllProperties = ("accessItemDiff") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accessItemDiff"))) { #optional property not found + $AccessItemDiff = $null + } else { + $AccessItemDiff = $JsonParameters.PSobject.Properties["accessItemDiff"].value + } + + $PSO = [PSCustomObject]@{ + "accessItemDiff" = ${AccessItemDiff} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityCreated.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityCreated.ps1 new file mode 100644 index 000000000..69b5995c6 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityCreated.ps1 @@ -0,0 +1,121 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Identity +No description available. +.PARAMETER Attributes +The attributes assigned to the identity. Attributes are determined by the identity profile. +.OUTPUTS + +IdentityCreated +#> + +function Initialize-V2024IdentityCreated { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Identity}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${Attributes} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024IdentityCreated' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Identity) { + throw "invalid value for 'Identity', 'Identity' cannot be null." + } + + if (!$Attributes) { + throw "invalid value for 'Attributes', 'Attributes' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "identity" = ${Identity} + "attributes" = ${Attributes} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to IdentityCreated + +.DESCRIPTION + +Convert from JSON to IdentityCreated + +.PARAMETER Json + +Json object + +.OUTPUTS + +IdentityCreated +#> +function ConvertFrom-V2024JsonToIdentityCreated { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024IdentityCreated' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024IdentityCreated + $AllProperties = ("identity", "attributes") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'identity' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identity"))) { + throw "Error! JSON cannot be serialized due to the required property 'identity' missing." + } else { + $Identity = $JsonParameters.PSobject.Properties["identity"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributes"))) { + throw "Error! JSON cannot be serialized due to the required property 'attributes' missing." + } else { + $Attributes = $JsonParameters.PSobject.Properties["attributes"].value + } + + $PSO = [PSCustomObject]@{ + "identity" = ${Identity} + "attributes" = ${Attributes} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityCreatedIdentity.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityCreatedIdentity.ps1 new file mode 100644 index 000000000..4e5c3671e --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityCreatedIdentity.ps1 @@ -0,0 +1,139 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Created identity. + +.PARAMETER Type +Created identity's DTO type. +.PARAMETER Id +Created identity ID. +.PARAMETER Name +Created identity's display name. +.OUTPUTS + +IdentityCreatedIdentity +#> + +function Initialize-V2024IdentityCreatedIdentity { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024IdentityCreatedIdentity' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to IdentityCreatedIdentity + +.DESCRIPTION + +Convert from JSON to IdentityCreatedIdentity + +.PARAMETER Json + +Json object + +.OUTPUTS + +IdentityCreatedIdentity +#> +function ConvertFrom-V2024JsonToIdentityCreatedIdentity { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024IdentityCreatedIdentity' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024IdentityCreatedIdentity + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'type' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityDeleted.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityDeleted.ps1 new file mode 100644 index 000000000..ae6fe2e46 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityDeleted.ps1 @@ -0,0 +1,121 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Identity +No description available. +.PARAMETER Attributes +The attributes assigned to the identity. Attributes are determined by the identity profile. +.OUTPUTS + +IdentityDeleted +#> + +function Initialize-V2024IdentityDeleted { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Identity}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${Attributes} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024IdentityDeleted' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Identity) { + throw "invalid value for 'Identity', 'Identity' cannot be null." + } + + if (!$Attributes) { + throw "invalid value for 'Attributes', 'Attributes' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "identity" = ${Identity} + "attributes" = ${Attributes} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to IdentityDeleted + +.DESCRIPTION + +Convert from JSON to IdentityDeleted + +.PARAMETER Json + +Json object + +.OUTPUTS + +IdentityDeleted +#> +function ConvertFrom-V2024JsonToIdentityDeleted { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024IdentityDeleted' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024IdentityDeleted + $AllProperties = ("identity", "attributes") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'identity' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identity"))) { + throw "Error! JSON cannot be serialized due to the required property 'identity' missing." + } else { + $Identity = $JsonParameters.PSobject.Properties["identity"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributes"))) { + throw "Error! JSON cannot be serialized due to the required property 'attributes' missing." + } else { + $Attributes = $JsonParameters.PSobject.Properties["attributes"].value + } + + $PSO = [PSCustomObject]@{ + "identity" = ${Identity} + "attributes" = ${Attributes} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityDeletedIdentity.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityDeletedIdentity.ps1 new file mode 100644 index 000000000..3b03f08d0 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityDeletedIdentity.ps1 @@ -0,0 +1,139 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Deleted identity. + +.PARAMETER Type +Deleted identity's DTO type. +.PARAMETER Id +Deleted identity ID. +.PARAMETER Name +Deleted identity's display name. +.OUTPUTS + +IdentityDeletedIdentity +#> + +function Initialize-V2024IdentityDeletedIdentity { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024IdentityDeletedIdentity' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to IdentityDeletedIdentity + +.DESCRIPTION + +Convert from JSON to IdentityDeletedIdentity + +.PARAMETER Json + +Json object + +.OUTPUTS + +IdentityDeletedIdentity +#> +function ConvertFrom-V2024JsonToIdentityDeletedIdentity { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024IdentityDeletedIdentity' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024IdentityDeletedIdentity + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'type' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityDocument.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityDocument.ps1 new file mode 100644 index 000000000..8e959a98b --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityDocument.ps1 @@ -0,0 +1,542 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Identity + +.PARAMETER Id +The unique ID of the referenced object. +.PARAMETER Name +The human readable name of the referenced object. +.PARAMETER Type +No description available. +.PARAMETER DisplayName +Identity's display name. +.PARAMETER FirstName +Identity's first name. +.PARAMETER LastName +Identity's last name. +.PARAMETER Email +Identity's primary email address. +.PARAMETER Created +ISO-8601 date-time referring to the time when the object was created. +.PARAMETER Modified +ISO-8601 date-time referring to the time when the object was last modified. +.PARAMETER Phone +Identity's phone number. +.PARAMETER Synced +ISO-8601 date-time referring to the date-time when object was queued to be synced into search database for use in the search API. This date-time changes anytime there is an update to the object, which triggers a synchronization event being sent to the search database. There may be some delay between the `synced` time and the time when the updated data is actually available in the search API. +.PARAMETER Inactive +Indicates whether the identity is inactive. +.PARAMETER Protected +Indicates whether the identity is protected. +.PARAMETER Status +Identity's status in SailPoint. +.PARAMETER EmployeeNumber +Identity's employee number. +.PARAMETER Manager +No description available. +.PARAMETER IsManager +Indicates whether the identity is a manager of other identities. +.PARAMETER IdentityProfile +No description available. +.PARAMETER Source +No description available. +.PARAMETER Attributes +Map or dictionary of key/value pairs. +.PARAMETER ProcessingState +Identity's processing state. +.PARAMETER ProcessingDetails +No description available. +.PARAMETER Accounts +List of accounts associated with the identity. +.PARAMETER AccountCount +Number of accounts associated with the identity. +.PARAMETER Apps +List of applications the identity has access to. +.PARAMETER AppCount +Number of applications the identity has access to. +.PARAMETER Access +List of access items assigned to the identity. +.PARAMETER AccessCount +Number of access items assigned to the identity. +.PARAMETER EntitlementCount +Number of entitlements assigned to the identity. +.PARAMETER RoleCount +Number of roles assigned to the identity. +.PARAMETER AccessProfileCount +Number of access profiles assigned to the identity. +.PARAMETER Owns +Access items the identity owns. +.PARAMETER OwnsCount +Number of access items the identity owns. +.PARAMETER Tags +Tags that have been applied to the object. +.OUTPUTS + +IdentityDocument +#> + +function Initialize-V2024IdentityDocument { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("accessprofile", "accountactivity", "account", "aggregation", "entitlement", "event", "identity", "role")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${DisplayName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${FirstName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${LastName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Email}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Modified}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Phone}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Synced}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Inactive} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Protected} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Status}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${EmployeeNumber}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Manager}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${IsManager}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${IdentityProfile}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Source}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${Attributes}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ProcessingState}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${ProcessingDetails}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Accounts}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${AccountCount}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Apps}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${AppCount}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Access}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${AccessCount}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${EntitlementCount}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${RoleCount}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${AccessProfileCount}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Owns}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${OwnsCount}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Tags} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024IdentityDocument' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "_type" = ${Type} + "displayName" = ${DisplayName} + "firstName" = ${FirstName} + "lastName" = ${LastName} + "email" = ${Email} + "created" = ${Created} + "modified" = ${Modified} + "phone" = ${Phone} + "synced" = ${Synced} + "inactive" = ${Inactive} + "protected" = ${Protected} + "status" = ${Status} + "employeeNumber" = ${EmployeeNumber} + "manager" = ${Manager} + "isManager" = ${IsManager} + "identityProfile" = ${IdentityProfile} + "source" = ${Source} + "attributes" = ${Attributes} + "processingState" = ${ProcessingState} + "processingDetails" = ${ProcessingDetails} + "accounts" = ${Accounts} + "accountCount" = ${AccountCount} + "apps" = ${Apps} + "appCount" = ${AppCount} + "access" = ${Access} + "accessCount" = ${AccessCount} + "entitlementCount" = ${EntitlementCount} + "roleCount" = ${RoleCount} + "accessProfileCount" = ${AccessProfileCount} + "owns" = ${Owns} + "ownsCount" = ${OwnsCount} + "tags" = ${Tags} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to IdentityDocument + +.DESCRIPTION + +Convert from JSON to IdentityDocument + +.PARAMETER Json + +Json object + +.OUTPUTS + +IdentityDocument +#> +function ConvertFrom-V2024JsonToIdentityDocument { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024IdentityDocument' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024IdentityDocument + $AllProperties = ("id", "name", "_type", "displayName", "firstName", "lastName", "email", "created", "modified", "phone", "synced", "inactive", "protected", "status", "employeeNumber", "manager", "isManager", "identityProfile", "source", "attributes", "processingState", "processingDetails", "accounts", "accountCount", "apps", "appCount", "access", "accessCount", "entitlementCount", "roleCount", "accessProfileCount", "owns", "ownsCount", "tags") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'id' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "_type"))) { + throw "Error! JSON cannot be serialized due to the required property '_type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["_type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "displayName"))) { #optional property not found + $DisplayName = $null + } else { + $DisplayName = $JsonParameters.PSobject.Properties["displayName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "firstName"))) { #optional property not found + $FirstName = $null + } else { + $FirstName = $JsonParameters.PSobject.Properties["firstName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "lastName"))) { #optional property not found + $LastName = $null + } else { + $LastName = $JsonParameters.PSobject.Properties["lastName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "email"))) { #optional property not found + $Email = $null + } else { + $Email = $JsonParameters.PSobject.Properties["email"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "phone"))) { #optional property not found + $Phone = $null + } else { + $Phone = $JsonParameters.PSobject.Properties["phone"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "synced"))) { #optional property not found + $Synced = $null + } else { + $Synced = $JsonParameters.PSobject.Properties["synced"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "inactive"))) { #optional property not found + $Inactive = $null + } else { + $Inactive = $JsonParameters.PSobject.Properties["inactive"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "protected"))) { #optional property not found + $Protected = $null + } else { + $Protected = $JsonParameters.PSobject.Properties["protected"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { #optional property not found + $Status = $null + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "employeeNumber"))) { #optional property not found + $EmployeeNumber = $null + } else { + $EmployeeNumber = $JsonParameters.PSobject.Properties["employeeNumber"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "manager"))) { #optional property not found + $Manager = $null + } else { + $Manager = $JsonParameters.PSobject.Properties["manager"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "isManager"))) { #optional property not found + $IsManager = $null + } else { + $IsManager = $JsonParameters.PSobject.Properties["isManager"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityProfile"))) { #optional property not found + $IdentityProfile = $null + } else { + $IdentityProfile = $JsonParameters.PSobject.Properties["identityProfile"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "source"))) { #optional property not found + $Source = $null + } else { + $Source = $JsonParameters.PSobject.Properties["source"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributes"))) { #optional property not found + $Attributes = $null + } else { + $Attributes = $JsonParameters.PSobject.Properties["attributes"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "processingState"))) { #optional property not found + $ProcessingState = $null + } else { + $ProcessingState = $JsonParameters.PSobject.Properties["processingState"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "processingDetails"))) { #optional property not found + $ProcessingDetails = $null + } else { + $ProcessingDetails = $JsonParameters.PSobject.Properties["processingDetails"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accounts"))) { #optional property not found + $Accounts = $null + } else { + $Accounts = $JsonParameters.PSobject.Properties["accounts"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accountCount"))) { #optional property not found + $AccountCount = $null + } else { + $AccountCount = $JsonParameters.PSobject.Properties["accountCount"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "apps"))) { #optional property not found + $Apps = $null + } else { + $Apps = $JsonParameters.PSobject.Properties["apps"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "appCount"))) { #optional property not found + $AppCount = $null + } else { + $AppCount = $JsonParameters.PSobject.Properties["appCount"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "access"))) { #optional property not found + $Access = $null + } else { + $Access = $JsonParameters.PSobject.Properties["access"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accessCount"))) { #optional property not found + $AccessCount = $null + } else { + $AccessCount = $JsonParameters.PSobject.Properties["accessCount"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "entitlementCount"))) { #optional property not found + $EntitlementCount = $null + } else { + $EntitlementCount = $JsonParameters.PSobject.Properties["entitlementCount"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "roleCount"))) { #optional property not found + $RoleCount = $null + } else { + $RoleCount = $JsonParameters.PSobject.Properties["roleCount"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accessProfileCount"))) { #optional property not found + $AccessProfileCount = $null + } else { + $AccessProfileCount = $JsonParameters.PSobject.Properties["accessProfileCount"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "owns"))) { #optional property not found + $Owns = $null + } else { + $Owns = $JsonParameters.PSobject.Properties["owns"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "ownsCount"))) { #optional property not found + $OwnsCount = $null + } else { + $OwnsCount = $JsonParameters.PSobject.Properties["ownsCount"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "tags"))) { #optional property not found + $Tags = $null + } else { + $Tags = $JsonParameters.PSobject.Properties["tags"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "_type" = ${Type} + "displayName" = ${DisplayName} + "firstName" = ${FirstName} + "lastName" = ${LastName} + "email" = ${Email} + "created" = ${Created} + "modified" = ${Modified} + "phone" = ${Phone} + "synced" = ${Synced} + "inactive" = ${Inactive} + "protected" = ${Protected} + "status" = ${Status} + "employeeNumber" = ${EmployeeNumber} + "manager" = ${Manager} + "isManager" = ${IsManager} + "identityProfile" = ${IdentityProfile} + "source" = ${Source} + "attributes" = ${Attributes} + "processingState" = ${ProcessingState} + "processingDetails" = ${ProcessingDetails} + "accounts" = ${Accounts} + "accountCount" = ${AccountCount} + "apps" = ${Apps} + "appCount" = ${AppCount} + "access" = ${Access} + "accessCount" = ${AccessCount} + "entitlementCount" = ${EntitlementCount} + "roleCount" = ${RoleCount} + "accessProfileCount" = ${AccessProfileCount} + "owns" = ${Owns} + "ownsCount" = ${OwnsCount} + "tags" = ${Tags} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityDocumentAllOfIdentityProfile.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityDocumentAllOfIdentityProfile.ps1 new file mode 100644 index 000000000..65776e3dd --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityDocumentAllOfIdentityProfile.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Identity's identity profile. + +.PARAMETER Id +Identity profile's ID. +.PARAMETER Name +Identity profile's name. +.OUTPUTS + +IdentityDocumentAllOfIdentityProfile +#> + +function Initialize-V2024IdentityDocumentAllOfIdentityProfile { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024IdentityDocumentAllOfIdentityProfile' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to IdentityDocumentAllOfIdentityProfile + +.DESCRIPTION + +Convert from JSON to IdentityDocumentAllOfIdentityProfile + +.PARAMETER Json + +Json object + +.OUTPUTS + +IdentityDocumentAllOfIdentityProfile +#> +function ConvertFrom-V2024JsonToIdentityDocumentAllOfIdentityProfile { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024IdentityDocumentAllOfIdentityProfile' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024IdentityDocumentAllOfIdentityProfile + $AllProperties = ("id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityDocumentAllOfManager.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityDocumentAllOfManager.ps1 new file mode 100644 index 000000000..5f9f18101 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityDocumentAllOfManager.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Identity's manager. + +.PARAMETER Id +ID of identity's manager. +.PARAMETER Name +Name of identity's manager. +.PARAMETER DisplayName +Display name of identity's manager. +.OUTPUTS + +IdentityDocumentAllOfManager +#> + +function Initialize-V2024IdentityDocumentAllOfManager { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${DisplayName} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024IdentityDocumentAllOfManager' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "displayName" = ${DisplayName} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to IdentityDocumentAllOfManager + +.DESCRIPTION + +Convert from JSON to IdentityDocumentAllOfManager + +.PARAMETER Json + +Json object + +.OUTPUTS + +IdentityDocumentAllOfManager +#> +function ConvertFrom-V2024JsonToIdentityDocumentAllOfManager { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024IdentityDocumentAllOfManager' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024IdentityDocumentAllOfManager + $AllProperties = ("id", "name", "displayName") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "displayName"))) { #optional property not found + $DisplayName = $null + } else { + $DisplayName = $JsonParameters.PSobject.Properties["displayName"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "displayName" = ${DisplayName} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityDocumentAllOfSource.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityDocumentAllOfSource.ps1 new file mode 100644 index 000000000..93a6ecb71 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityDocumentAllOfSource.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Identity's source. + +.PARAMETER Id +ID of identity's source. +.PARAMETER Name +Display name of identity's source. +.OUTPUTS + +IdentityDocumentAllOfSource +#> + +function Initialize-V2024IdentityDocumentAllOfSource { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024IdentityDocumentAllOfSource' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to IdentityDocumentAllOfSource + +.DESCRIPTION + +Convert from JSON to IdentityDocumentAllOfSource + +.PARAMETER Json + +Json object + +.OUTPUTS + +IdentityDocumentAllOfSource +#> +function ConvertFrom-V2024JsonToIdentityDocumentAllOfSource { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024IdentityDocumentAllOfSource' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024IdentityDocumentAllOfSource + $AllProperties = ("id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityDtoLifecycleState.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityDtoLifecycleState.ps1 new file mode 100644 index 000000000..64fc49bb5 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityDtoLifecycleState.ps1 @@ -0,0 +1,121 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER StateName +The name of the lifecycle state +.PARAMETER ManuallyUpdated +Whether the lifecycle state has been manually or automatically set +.OUTPUTS + +IdentityDtoLifecycleState +#> + +function Initialize-V2024IdentityDtoLifecycleState { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${StateName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Boolean] + ${ManuallyUpdated} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024IdentityDtoLifecycleState' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$StateName) { + throw "invalid value for 'StateName', 'StateName' cannot be null." + } + + if (!$ManuallyUpdated) { + throw "invalid value for 'ManuallyUpdated', 'ManuallyUpdated' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "stateName" = ${StateName} + "manuallyUpdated" = ${ManuallyUpdated} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to IdentityDtoLifecycleState + +.DESCRIPTION + +Convert from JSON to IdentityDtoLifecycleState + +.PARAMETER Json + +Json object + +.OUTPUTS + +IdentityDtoLifecycleState +#> +function ConvertFrom-V2024JsonToIdentityDtoLifecycleState { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024IdentityDtoLifecycleState' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024IdentityDtoLifecycleState + $AllProperties = ("stateName", "manuallyUpdated") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'stateName' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "stateName"))) { + throw "Error! JSON cannot be serialized due to the required property 'stateName' missing." + } else { + $StateName = $JsonParameters.PSobject.Properties["stateName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "manuallyUpdated"))) { + throw "Error! JSON cannot be serialized due to the required property 'manuallyUpdated' missing." + } else { + $ManuallyUpdated = $JsonParameters.PSobject.Properties["manuallyUpdated"].value + } + + $PSO = [PSCustomObject]@{ + "stateName" = ${StateName} + "manuallyUpdated" = ${ManuallyUpdated} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityDtoManagerRef.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityDtoManagerRef.ps1 new file mode 100644 index 000000000..bdfd8e226 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityDtoManagerRef.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Identity's manager. + +.PARAMETER Type +DTO type of identity's manager. +.PARAMETER Id +ID of identity's manager. +.PARAMETER Name +Human-readable display name of identity's manager. +.OUTPUTS + +IdentityDtoManagerRef +#> + +function Initialize-V2024IdentityDtoManagerRef { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024IdentityDtoManagerRef' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to IdentityDtoManagerRef + +.DESCRIPTION + +Convert from JSON to IdentityDtoManagerRef + +.PARAMETER Json + +Json object + +.OUTPUTS + +IdentityDtoManagerRef +#> +function ConvertFrom-V2024JsonToIdentityDtoManagerRef { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024IdentityDtoManagerRef' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024IdentityDtoManagerRef + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityEntities.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityEntities.ps1 new file mode 100644 index 000000000..bc485395f --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityEntities.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER IdentityEntity +No description available. +.OUTPUTS + +IdentityEntities +#> + +function Initialize-V2024IdentityEntities { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${IdentityEntity} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024IdentityEntities' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "identityEntity" = ${IdentityEntity} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to IdentityEntities + +.DESCRIPTION + +Convert from JSON to IdentityEntities + +.PARAMETER Json + +Json object + +.OUTPUTS + +IdentityEntities +#> +function ConvertFrom-V2024JsonToIdentityEntities { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024IdentityEntities' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024IdentityEntities + $AllProperties = ("identityEntity") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityEntity"))) { #optional property not found + $IdentityEntity = $null + } else { + $IdentityEntity = $JsonParameters.PSobject.Properties["identityEntity"].value + } + + $PSO = [PSCustomObject]@{ + "identityEntity" = ${IdentityEntity} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityEntitiesIdentityEntity.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityEntitiesIdentityEntity.ps1 new file mode 100644 index 000000000..70ab53d41 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityEntitiesIdentityEntity.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +id of the resource to which the identity is associated +.PARAMETER Name +name of the resource to which the identity is associated +.PARAMETER Type +type of the resource to which the identity is associated +.OUTPUTS + +IdentityEntitiesIdentityEntity +#> + +function Initialize-V2024IdentityEntitiesIdentityEntity { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Type} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024IdentityEntitiesIdentityEntity' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "type" = ${Type} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to IdentityEntitiesIdentityEntity + +.DESCRIPTION + +Convert from JSON to IdentityEntitiesIdentityEntity + +.PARAMETER Json + +Json object + +.OUTPUTS + +IdentityEntitiesIdentityEntity +#> +function ConvertFrom-V2024JsonToIdentityEntitiesIdentityEntity { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024IdentityEntitiesIdentityEntity' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024IdentityEntitiesIdentityEntity + $AllProperties = ("id", "name", "type") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "type" = ${Type} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityExceptionReportReference.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityExceptionReportReference.ps1 new file mode 100644 index 000000000..76bd54422 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityExceptionReportReference.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER TaskResultId +The id of the task result. +.PARAMETER ReportName +The name of the report. +.OUTPUTS + +IdentityExceptionReportReference +#> + +function Initialize-V2024IdentityExceptionReportReference { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${TaskResultId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ReportName} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024IdentityExceptionReportReference' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "taskResultId" = ${TaskResultId} + "reportName" = ${ReportName} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to IdentityExceptionReportReference + +.DESCRIPTION + +Convert from JSON to IdentityExceptionReportReference + +.PARAMETER Json + +Json object + +.OUTPUTS + +IdentityExceptionReportReference +#> +function ConvertFrom-V2024JsonToIdentityExceptionReportReference { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024IdentityExceptionReportReference' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024IdentityExceptionReportReference + $AllProperties = ("taskResultId", "reportName") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "taskResultId"))) { #optional property not found + $TaskResultId = $null + } else { + $TaskResultId = $JsonParameters.PSobject.Properties["taskResultId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "reportName"))) { #optional property not found + $ReportName = $null + } else { + $ReportName = $JsonParameters.PSobject.Properties["reportName"].value + } + + $PSO = [PSCustomObject]@{ + "taskResultId" = ${TaskResultId} + "reportName" = ${ReportName} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityHistoryResponse.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityHistoryResponse.ps1 new file mode 100644 index 000000000..e49441b3a --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityHistoryResponse.ps1 @@ -0,0 +1,161 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +the identity ID +.PARAMETER DisplayName +the display name of the identity +.PARAMETER Snapshot +the date when the identity record was created +.PARAMETER DeletedDate +the date when the identity was deleted +.PARAMETER AccessItemCount +A map containing the count of each access item +.PARAMETER Attributes +A map containing the identity attributes +.OUTPUTS + +IdentityHistoryResponse +#> + +function Initialize-V2024IdentityHistoryResponse { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${DisplayName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Snapshot}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${DeletedDate}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${AccessItemCount}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${Attributes} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024IdentityHistoryResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "displayName" = ${DisplayName} + "snapshot" = ${Snapshot} + "deletedDate" = ${DeletedDate} + "accessItemCount" = ${AccessItemCount} + "attributes" = ${Attributes} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to IdentityHistoryResponse + +.DESCRIPTION + +Convert from JSON to IdentityHistoryResponse + +.PARAMETER Json + +Json object + +.OUTPUTS + +IdentityHistoryResponse +#> +function ConvertFrom-V2024JsonToIdentityHistoryResponse { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024IdentityHistoryResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024IdentityHistoryResponse + $AllProperties = ("id", "displayName", "snapshot", "deletedDate", "accessItemCount", "attributes") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "displayName"))) { #optional property not found + $DisplayName = $null + } else { + $DisplayName = $JsonParameters.PSobject.Properties["displayName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "snapshot"))) { #optional property not found + $Snapshot = $null + } else { + $Snapshot = $JsonParameters.PSobject.Properties["snapshot"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "deletedDate"))) { #optional property not found + $DeletedDate = $null + } else { + $DeletedDate = $JsonParameters.PSobject.Properties["deletedDate"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accessItemCount"))) { #optional property not found + $AccessItemCount = $null + } else { + $AccessItemCount = $JsonParameters.PSobject.Properties["accessItemCount"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributes"))) { #optional property not found + $Attributes = $null + } else { + $Attributes = $JsonParameters.PSobject.Properties["attributes"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "displayName" = ${DisplayName} + "snapshot" = ${Snapshot} + "deletedDate" = ${DeletedDate} + "accessItemCount" = ${AccessItemCount} + "attributes" = ${Attributes} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityListItem.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityListItem.ps1 new file mode 100644 index 000000000..8390778fa --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityListItem.ps1 @@ -0,0 +1,161 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +the identity ID +.PARAMETER DisplayName +the display name of the identity +.PARAMETER FirstName +the first name of the identity +.PARAMETER LastName +the last name of the identity +.PARAMETER Active +indicates if an identity is active or not +.PARAMETER DeletedDate +the date when the identity was deleted +.OUTPUTS + +IdentityListItem +#> + +function Initialize-V2024IdentityListItem { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${DisplayName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${FirstName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${LastName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Active} = $true, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${DeletedDate} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024IdentityListItem' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "displayName" = ${DisplayName} + "firstName" = ${FirstName} + "lastName" = ${LastName} + "active" = ${Active} + "deletedDate" = ${DeletedDate} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to IdentityListItem + +.DESCRIPTION + +Convert from JSON to IdentityListItem + +.PARAMETER Json + +Json object + +.OUTPUTS + +IdentityListItem +#> +function ConvertFrom-V2024JsonToIdentityListItem { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024IdentityListItem' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024IdentityListItem + $AllProperties = ("id", "displayName", "firstName", "lastName", "active", "deletedDate") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "displayName"))) { #optional property not found + $DisplayName = $null + } else { + $DisplayName = $JsonParameters.PSobject.Properties["displayName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "firstName"))) { #optional property not found + $FirstName = $null + } else { + $FirstName = $JsonParameters.PSobject.Properties["firstName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "lastName"))) { #optional property not found + $LastName = $null + } else { + $LastName = $JsonParameters.PSobject.Properties["lastName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "active"))) { #optional property not found + $Active = $null + } else { + $Active = $JsonParameters.PSobject.Properties["active"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "deletedDate"))) { #optional property not found + $DeletedDate = $null + } else { + $DeletedDate = $JsonParameters.PSobject.Properties["deletedDate"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "displayName" = ${DisplayName} + "firstName" = ${FirstName} + "lastName" = ${LastName} + "active" = ${Active} + "deletedDate" = ${DeletedDate} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityOwnershipAssociationDetails.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityOwnershipAssociationDetails.ps1 new file mode 100644 index 000000000..78250520f --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityOwnershipAssociationDetails.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER AssociationDetails +list of all the resource associations for the identity +.OUTPUTS + +IdentityOwnershipAssociationDetails +#> + +function Initialize-V2024IdentityOwnershipAssociationDetails { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${AssociationDetails} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024IdentityOwnershipAssociationDetails' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "associationDetails" = ${AssociationDetails} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to IdentityOwnershipAssociationDetails + +.DESCRIPTION + +Convert from JSON to IdentityOwnershipAssociationDetails + +.PARAMETER Json + +Json object + +.OUTPUTS + +IdentityOwnershipAssociationDetails +#> +function ConvertFrom-V2024JsonToIdentityOwnershipAssociationDetails { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024IdentityOwnershipAssociationDetails' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024IdentityOwnershipAssociationDetails + $AllProperties = ("associationDetails") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "associationDetails"))) { #optional property not found + $AssociationDetails = $null + } else { + $AssociationDetails = $JsonParameters.PSobject.Properties["associationDetails"].value + } + + $PSO = [PSCustomObject]@{ + "associationDetails" = ${AssociationDetails} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityOwnershipAssociationDetailsAssociationDetailsInner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityOwnershipAssociationDetailsAssociationDetailsInner.ps1 new file mode 100644 index 000000000..92a1ef7ae --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityOwnershipAssociationDetailsAssociationDetailsInner.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER AssociationType +association type with the identity +.PARAMETER Entities +the specific resource this identity has ownership on +.OUTPUTS + +IdentityOwnershipAssociationDetailsAssociationDetailsInner +#> + +function Initialize-V2024IdentityOwnershipAssociationDetailsAssociationDetailsInner { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AssociationType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Entities} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024IdentityOwnershipAssociationDetailsAssociationDetailsInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "associationType" = ${AssociationType} + "entities" = ${Entities} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to IdentityOwnershipAssociationDetailsAssociationDetailsInner + +.DESCRIPTION + +Convert from JSON to IdentityOwnershipAssociationDetailsAssociationDetailsInner + +.PARAMETER Json + +Json object + +.OUTPUTS + +IdentityOwnershipAssociationDetailsAssociationDetailsInner +#> +function ConvertFrom-V2024JsonToIdentityOwnershipAssociationDetailsAssociationDetailsInner { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024IdentityOwnershipAssociationDetailsAssociationDetailsInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024IdentityOwnershipAssociationDetailsAssociationDetailsInner + $AllProperties = ("associationType", "entities") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "associationType"))) { #optional property not found + $AssociationType = $null + } else { + $AssociationType = $JsonParameters.PSobject.Properties["associationType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "entities"))) { #optional property not found + $Entities = $null + } else { + $Entities = $JsonParameters.PSobject.Properties["entities"].value + } + + $PSO = [PSCustomObject]@{ + "associationType" = ${AssociationType} + "entities" = ${Entities} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityPreviewRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityPreviewRequest.ps1 new file mode 100644 index 000000000..f484152f0 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityPreviewRequest.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER IdentityId +The Identity id +.PARAMETER IdentityAttributeConfig +No description available. +.OUTPUTS + +IdentityPreviewRequest +#> + +function Initialize-V2024IdentityPreviewRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${IdentityId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${IdentityAttributeConfig} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024IdentityPreviewRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "identityId" = ${IdentityId} + "identityAttributeConfig" = ${IdentityAttributeConfig} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to IdentityPreviewRequest + +.DESCRIPTION + +Convert from JSON to IdentityPreviewRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +IdentityPreviewRequest +#> +function ConvertFrom-V2024JsonToIdentityPreviewRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024IdentityPreviewRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024IdentityPreviewRequest + $AllProperties = ("identityId", "identityAttributeConfig") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityId"))) { #optional property not found + $IdentityId = $null + } else { + $IdentityId = $JsonParameters.PSobject.Properties["identityId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityAttributeConfig"))) { #optional property not found + $IdentityAttributeConfig = $null + } else { + $IdentityAttributeConfig = $JsonParameters.PSobject.Properties["identityAttributeConfig"].value + } + + $PSO = [PSCustomObject]@{ + "identityId" = ${IdentityId} + "identityAttributeConfig" = ${IdentityAttributeConfig} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityPreviewResponse.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityPreviewResponse.ps1 new file mode 100644 index 000000000..6b33cfa73 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityPreviewResponse.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Identity +No description available. +.PARAMETER PreviewAttributes +No description available. +.OUTPUTS + +IdentityPreviewResponse +#> + +function Initialize-V2024IdentityPreviewResponse { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Identity}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${PreviewAttributes} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024IdentityPreviewResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "identity" = ${Identity} + "previewAttributes" = ${PreviewAttributes} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to IdentityPreviewResponse + +.DESCRIPTION + +Convert from JSON to IdentityPreviewResponse + +.PARAMETER Json + +Json object + +.OUTPUTS + +IdentityPreviewResponse +#> +function ConvertFrom-V2024JsonToIdentityPreviewResponse { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024IdentityPreviewResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024IdentityPreviewResponse + $AllProperties = ("identity", "previewAttributes") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identity"))) { #optional property not found + $Identity = $null + } else { + $Identity = $JsonParameters.PSobject.Properties["identity"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "previewAttributes"))) { #optional property not found + $PreviewAttributes = $null + } else { + $PreviewAttributes = $JsonParameters.PSobject.Properties["previewAttributes"].value + } + + $PSO = [PSCustomObject]@{ + "identity" = ${Identity} + "previewAttributes" = ${PreviewAttributes} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityPreviewResponseIdentity.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityPreviewResponseIdentity.ps1 new file mode 100644 index 000000000..34e371781 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityPreviewResponseIdentity.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Identity's basic details. + +.PARAMETER Type +Identity's DTO type. +.PARAMETER Id +Identity ID. +.PARAMETER Name +Identity's display name. +.OUTPUTS + +IdentityPreviewResponseIdentity +#> + +function Initialize-V2024IdentityPreviewResponseIdentity { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024IdentityPreviewResponseIdentity' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to IdentityPreviewResponseIdentity + +.DESCRIPTION + +Convert from JSON to IdentityPreviewResponseIdentity + +.PARAMETER Json + +Json object + +.OUTPUTS + +IdentityPreviewResponseIdentity +#> +function ConvertFrom-V2024JsonToIdentityPreviewResponseIdentity { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024IdentityPreviewResponseIdentity' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024IdentityPreviewResponseIdentity + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityProfile.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityProfile.ps1 new file mode 100644 index 000000000..424bb9284 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityProfile.ps1 @@ -0,0 +1,246 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Name +Name of the Object +.PARAMETER Description +The description of the Identity Profile. +.PARAMETER Owner +No description available. +.PARAMETER Priority +The priority for an Identity Profile. +.PARAMETER AuthoritativeSource +No description available. +.PARAMETER IdentityRefreshRequired +True if a identity refresh is needed. Typically triggered when a change on the source has been made. +.PARAMETER IdentityCount +The number of identities that belong to the Identity Profile. +.PARAMETER IdentityAttributeConfig +No description available. +.PARAMETER IdentityExceptionReportReference +No description available. +.PARAMETER HasTimeBasedAttr +Indicates the value of requiresPeriodicRefresh attribute for the Identity Profile. +.OUTPUTS + +IdentityProfile +#> + +function Initialize-V2024IdentityProfile { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Owner}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int64]] + ${Priority}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${AuthoritativeSource}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${IdentityRefreshRequired} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${IdentityCount}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${IdentityAttributeConfig}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${IdentityExceptionReportReference}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${HasTimeBasedAttr} = $false + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024IdentityProfile' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if (!$AuthoritativeSource) { + throw "invalid value for 'AuthoritativeSource', 'AuthoritativeSource' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "description" = ${Description} + "owner" = ${Owner} + "priority" = ${Priority} + "authoritativeSource" = ${AuthoritativeSource} + "identityRefreshRequired" = ${IdentityRefreshRequired} + "identityCount" = ${IdentityCount} + "identityAttributeConfig" = ${IdentityAttributeConfig} + "identityExceptionReportReference" = ${IdentityExceptionReportReference} + "hasTimeBasedAttr" = ${HasTimeBasedAttr} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to IdentityProfile + +.DESCRIPTION + +Convert from JSON to IdentityProfile + +.PARAMETER Json + +Json object + +.OUTPUTS + +IdentityProfile +#> +function ConvertFrom-V2024JsonToIdentityProfile { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024IdentityProfile' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024IdentityProfile + $AllProperties = ("id", "name", "created", "modified", "description", "owner", "priority", "authoritativeSource", "identityRefreshRequired", "identityCount", "identityAttributeConfig", "identityExceptionReportReference", "hasTimeBasedAttr") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'name' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "authoritativeSource"))) { + throw "Error! JSON cannot be serialized due to the required property 'authoritativeSource' missing." + } else { + $AuthoritativeSource = $JsonParameters.PSobject.Properties["authoritativeSource"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "owner"))) { #optional property not found + $Owner = $null + } else { + $Owner = $JsonParameters.PSobject.Properties["owner"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "priority"))) { #optional property not found + $Priority = $null + } else { + $Priority = $JsonParameters.PSobject.Properties["priority"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityRefreshRequired"))) { #optional property not found + $IdentityRefreshRequired = $null + } else { + $IdentityRefreshRequired = $JsonParameters.PSobject.Properties["identityRefreshRequired"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityCount"))) { #optional property not found + $IdentityCount = $null + } else { + $IdentityCount = $JsonParameters.PSobject.Properties["identityCount"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityAttributeConfig"))) { #optional property not found + $IdentityAttributeConfig = $null + } else { + $IdentityAttributeConfig = $JsonParameters.PSobject.Properties["identityAttributeConfig"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityExceptionReportReference"))) { #optional property not found + $IdentityExceptionReportReference = $null + } else { + $IdentityExceptionReportReference = $JsonParameters.PSobject.Properties["identityExceptionReportReference"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "hasTimeBasedAttr"))) { #optional property not found + $HasTimeBasedAttr = $null + } else { + $HasTimeBasedAttr = $JsonParameters.PSobject.Properties["hasTimeBasedAttr"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "created" = ${Created} + "modified" = ${Modified} + "description" = ${Description} + "owner" = ${Owner} + "priority" = ${Priority} + "authoritativeSource" = ${AuthoritativeSource} + "identityRefreshRequired" = ${IdentityRefreshRequired} + "identityCount" = ${IdentityCount} + "identityAttributeConfig" = ${IdentityAttributeConfig} + "identityExceptionReportReference" = ${IdentityExceptionReportReference} + "hasTimeBasedAttr" = ${HasTimeBasedAttr} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityProfileAllOfAuthoritativeSource.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityProfileAllOfAuthoritativeSource.ps1 new file mode 100644 index 000000000..a65c94a47 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityProfileAllOfAuthoritativeSource.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Type +Type of the object to which this reference applies +.PARAMETER Id +ID of the object to which this reference applies +.PARAMETER Name +Human-readable display name of the object to which this reference applies +.OUTPUTS + +IdentityProfileAllOfAuthoritativeSource +#> + +function Initialize-V2024IdentityProfileAllOfAuthoritativeSource { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("SOURCE")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024IdentityProfileAllOfAuthoritativeSource' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to IdentityProfileAllOfAuthoritativeSource + +.DESCRIPTION + +Convert from JSON to IdentityProfileAllOfAuthoritativeSource + +.PARAMETER Json + +Json object + +.OUTPUTS + +IdentityProfileAllOfAuthoritativeSource +#> +function ConvertFrom-V2024JsonToIdentityProfileAllOfAuthoritativeSource { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024IdentityProfileAllOfAuthoritativeSource' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024IdentityProfileAllOfAuthoritativeSource + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityProfileAllOfOwner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityProfileAllOfOwner.ps1 new file mode 100644 index 000000000..b35e8ff4e --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityProfileAllOfOwner.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +The owner of the Identity Profile. + +.PARAMETER Type +Type of the object to which this reference applies +.PARAMETER Id +ID of the object to which this reference applies +.PARAMETER Name +Human-readable display name of the object to which this reference applies +.OUTPUTS + +IdentityProfileAllOfOwner +#> + +function Initialize-V2024IdentityProfileAllOfOwner { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024IdentityProfileAllOfOwner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to IdentityProfileAllOfOwner + +.DESCRIPTION + +Convert from JSON to IdentityProfileAllOfOwner + +.PARAMETER Json + +Json object + +.OUTPUTS + +IdentityProfileAllOfOwner +#> +function ConvertFrom-V2024JsonToIdentityProfileAllOfOwner { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024IdentityProfileAllOfOwner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024IdentityProfileAllOfOwner + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityProfileExportedObject.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityProfileExportedObject.ps1 new file mode 100644 index 000000000..a3328ea14 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityProfileExportedObject.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Identity profile exported object. + +.PARAMETER Version +Version or object from the target service. +.PARAMETER Self +No description available. +.PARAMETER Object +No description available. +.OUTPUTS + +IdentityProfileExportedObject +#> + +function Initialize-V2024IdentityProfileExportedObject { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${Version}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Self}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Object} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024IdentityProfileExportedObject' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "version" = ${Version} + "self" = ${Self} + "object" = ${Object} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to IdentityProfileExportedObject + +.DESCRIPTION + +Convert from JSON to IdentityProfileExportedObject + +.PARAMETER Json + +Json object + +.OUTPUTS + +IdentityProfileExportedObject +#> +function ConvertFrom-V2024JsonToIdentityProfileExportedObject { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024IdentityProfileExportedObject' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024IdentityProfileExportedObject + $AllProperties = ("version", "self", "object") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "version"))) { #optional property not found + $Version = $null + } else { + $Version = $JsonParameters.PSobject.Properties["version"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "self"))) { #optional property not found + $Self = $null + } else { + $Self = $JsonParameters.PSobject.Properties["self"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "object"))) { #optional property not found + $Object = $null + } else { + $Object = $JsonParameters.PSobject.Properties["object"].value + } + + $PSO = [PSCustomObject]@{ + "version" = ${Version} + "self" = ${Self} + "object" = ${Object} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityProfileExportedObjectSelf.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityProfileExportedObjectSelf.ps1 new file mode 100644 index 000000000..76495800e --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityProfileExportedObjectSelf.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Self block for exported object. + +.PARAMETER Type +Exported object's DTO type. +.PARAMETER Id +Exported object's ID. +.PARAMETER Name +Exported object's display name. +.OUTPUTS + +IdentityProfileExportedObjectSelf +#> + +function Initialize-V2024IdentityProfileExportedObjectSelf { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ACCESS_PROFILE", "ACCESS_REQUEST_CONFIG", "ATTR_SYNC_SOURCE_CONFIG", "AUTH_ORG", "CAMPAIGN_FILTER", "FORM_DEFINITION", "GOVERNANCE_GROUP", "IDENTITY_OBJECT_CONFIG", "IDENTITY_PROFILE", "LIFECYCLE_STATE", "NOTIFICATION_TEMPLATE", "PASSWORD_POLICY", "PASSWORD_SYNC_GROUP", "PUBLIC_IDENTITIES_CONFIG", "ROLE", "RULE", "SEGMENT", "SERVICE_DESK_INTEGRATION", "SOD_POLICY", "SOURCE", "TAG", "TRANSFORM", "TRIGGER_SUBSCRIPTION", "WORKFLOW")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024IdentityProfileExportedObjectSelf' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to IdentityProfileExportedObjectSelf + +.DESCRIPTION + +Convert from JSON to IdentityProfileExportedObjectSelf + +.PARAMETER Json + +Json object + +.OUTPUTS + +IdentityProfileExportedObjectSelf +#> +function ConvertFrom-V2024JsonToIdentityProfileExportedObjectSelf { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024IdentityProfileExportedObjectSelf' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024IdentityProfileExportedObjectSelf + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityProfileIdentityErrorReportArguments.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityProfileIdentityErrorReportArguments.ps1 new file mode 100644 index 000000000..a0a078df8 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityProfileIdentityErrorReportArguments.ps1 @@ -0,0 +1,104 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Arguments for Identity Profile Identity Error report (IDENTITY_PROFILE_IDENTITY_ERROR) + +.PARAMETER AuthoritativeSource +Source Id to be checked on errors of identity profiles aggregation +.OUTPUTS + +IdentityProfileIdentityErrorReportArguments +#> + +function Initialize-V2024IdentityProfileIdentityErrorReportArguments { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AuthoritativeSource} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024IdentityProfileIdentityErrorReportArguments' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$AuthoritativeSource) { + throw "invalid value for 'AuthoritativeSource', 'AuthoritativeSource' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "authoritativeSource" = ${AuthoritativeSource} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to IdentityProfileIdentityErrorReportArguments + +.DESCRIPTION + +Convert from JSON to IdentityProfileIdentityErrorReportArguments + +.PARAMETER Json + +Json object + +.OUTPUTS + +IdentityProfileIdentityErrorReportArguments +#> +function ConvertFrom-V2024JsonToIdentityProfileIdentityErrorReportArguments { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024IdentityProfileIdentityErrorReportArguments' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024IdentityProfileIdentityErrorReportArguments + $AllProperties = ("authoritativeSource") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'authoritativeSource' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "authoritativeSource"))) { + throw "Error! JSON cannot be serialized due to the required property 'authoritativeSource' missing." + } else { + $AuthoritativeSource = $JsonParameters.PSobject.Properties["authoritativeSource"].value + } + + $PSO = [PSCustomObject]@{ + "authoritativeSource" = ${AuthoritativeSource} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityReference.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityReference.ps1 new file mode 100644 index 000000000..b7dd441b8 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityReference.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +The manager for the identity. + +.PARAMETER Type +No description available. +.PARAMETER Id +Identity id +.PARAMETER Name +Human-readable display name of identity. +.OUTPUTS + +IdentityReference +#> + +function Initialize-V2024IdentityReference { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ACCOUNT_CORRELATION_CONFIG", "ACCESS_PROFILE", "ACCESS_REQUEST_APPROVAL", "ACCOUNT", "APPLICATION", "CAMPAIGN", "CAMPAIGN_FILTER", "CERTIFICATION", "CLUSTER", "CONNECTOR_SCHEMA", "ENTITLEMENT", "GOVERNANCE_GROUP", "IDENTITY", "IDENTITY_PROFILE", "IDENTITY_REQUEST", "LIFECYCLE_STATE", "PASSWORD_POLICY", "ROLE", "RULE", "SOD_POLICY", "SOURCE", "TAG", "TAG_CATEGORY", "TASK_RESULT", "REPORT_RESULT", "SOD_VIOLATION", "ACCOUNT_ACTIVITY", "WORKGROUP")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024IdentityReference' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to IdentityReference + +.DESCRIPTION + +Convert from JSON to IdentityReference + +.PARAMETER Json + +Json object + +.OUTPUTS + +IdentityReference +#> +function ConvertFrom-V2024JsonToIdentityReference { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024IdentityReference' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024IdentityReference + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityReferenceWithNameAndEmail.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityReferenceWithNameAndEmail.ps1 new file mode 100644 index 000000000..40c8ee623 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityReferenceWithNameAndEmail.ps1 @@ -0,0 +1,135 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Type +The type can only be IDENTITY. This is read-only. +.PARAMETER Id +Identity ID. +.PARAMETER Name +Identity's human-readable display name. This is read-only. +.PARAMETER Email +Identity's email address. This is read-only. +.OUTPUTS + +IdentityReferenceWithNameAndEmail +#> + +function Initialize-V2024IdentityReferenceWithNameAndEmail { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Email} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024IdentityReferenceWithNameAndEmail' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + "email" = ${Email} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to IdentityReferenceWithNameAndEmail + +.DESCRIPTION + +Convert from JSON to IdentityReferenceWithNameAndEmail + +.PARAMETER Json + +Json object + +.OUTPUTS + +IdentityReferenceWithNameAndEmail +#> +function ConvertFrom-V2024JsonToIdentityReferenceWithNameAndEmail { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024IdentityReferenceWithNameAndEmail' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024IdentityReferenceWithNameAndEmail + $AllProperties = ("type", "id", "name", "email") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "email"))) { #optional property not found + $Email = $null + } else { + $Email = $JsonParameters.PSobject.Properties["email"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + "email" = ${Email} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentitySnapshotSummaryResponse.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentitySnapshotSummaryResponse.ps1 new file mode 100644 index 000000000..6297f22b3 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentitySnapshotSummaryResponse.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Snapshot +the date when the identity record was created +.OUTPUTS + +IdentitySnapshotSummaryResponse +#> + +function Initialize-V2024IdentitySnapshotSummaryResponse { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Snapshot} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024IdentitySnapshotSummaryResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "snapshot" = ${Snapshot} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to IdentitySnapshotSummaryResponse + +.DESCRIPTION + +Convert from JSON to IdentitySnapshotSummaryResponse + +.PARAMETER Json + +Json object + +.OUTPUTS + +IdentitySnapshotSummaryResponse +#> +function ConvertFrom-V2024JsonToIdentitySnapshotSummaryResponse { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024IdentitySnapshotSummaryResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024IdentitySnapshotSummaryResponse + $AllProperties = ("snapshot") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "snapshot"))) { #optional property not found + $Snapshot = $null + } else { + $Snapshot = $JsonParameters.PSobject.Properties["snapshot"].value + } + + $PSO = [PSCustomObject]@{ + "snapshot" = ${Snapshot} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentitySummary.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentitySummary.ps1 new file mode 100644 index 000000000..5f2e84db8 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentitySummary.ps1 @@ -0,0 +1,135 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +ID of this identity summary +.PARAMETER Name +Human-readable display name of identity +.PARAMETER IdentityId +ID of the identity that this summary represents +.PARAMETER Completed +Indicates if all access items for this summary have been decided on +.OUTPUTS + +IdentitySummary +#> + +function Initialize-V2024IdentitySummary { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${IdentityId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Completed} = $false + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024IdentitySummary' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "identityId" = ${IdentityId} + "completed" = ${Completed} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to IdentitySummary + +.DESCRIPTION + +Convert from JSON to IdentitySummary + +.PARAMETER Json + +Json object + +.OUTPUTS + +IdentitySummary +#> +function ConvertFrom-V2024JsonToIdentitySummary { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024IdentitySummary' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024IdentitySummary + $AllProperties = ("id", "name", "identityId", "completed") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityId"))) { #optional property not found + $IdentityId = $null + } else { + $IdentityId = $JsonParameters.PSobject.Properties["identityId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "completed"))) { #optional property not found + $Completed = $null + } else { + $Completed = $JsonParameters.PSobject.Properties["completed"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "identityId" = ${IdentityId} + "completed" = ${Completed} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentitySyncJob.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentitySyncJob.ps1 new file mode 100644 index 000000000..4c772cbdf --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentitySyncJob.ps1 @@ -0,0 +1,139 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +Job ID. +.PARAMETER Status +The job status. +.PARAMETER Payload +No description available. +.OUTPUTS + +IdentitySyncJob +#> + +function Initialize-V2024IdentitySyncJob { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("QUEUED", "IN_PROGRESS", "SUCCESS", "ERROR")] + [String] + ${Status}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Payload} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024IdentitySyncJob' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Status) { + throw "invalid value for 'Status', 'Status' cannot be null." + } + + if (!$Payload) { + throw "invalid value for 'Payload', 'Payload' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "status" = ${Status} + "payload" = ${Payload} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to IdentitySyncJob + +.DESCRIPTION + +Convert from JSON to IdentitySyncJob + +.PARAMETER Json + +Json object + +.OUTPUTS + +IdentitySyncJob +#> +function ConvertFrom-V2024JsonToIdentitySyncJob { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024IdentitySyncJob' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024IdentitySyncJob + $AllProperties = ("id", "status", "payload") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'id' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { + throw "Error! JSON cannot be serialized due to the required property 'status' missing." + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "payload"))) { + throw "Error! JSON cannot be serialized due to the required property 'payload' missing." + } else { + $Payload = $JsonParameters.PSobject.Properties["payload"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "status" = ${Status} + "payload" = ${Payload} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentitySyncPayload.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentitySyncPayload.ps1 new file mode 100644 index 000000000..b4605bb4f --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentitySyncPayload.ps1 @@ -0,0 +1,121 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Type +Payload type. +.PARAMETER DataJson +Payload type. +.OUTPUTS + +IdentitySyncPayload +#> + +function Initialize-V2024IdentitySyncPayload { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${DataJson} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024IdentitySyncPayload' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$DataJson) { + throw "invalid value for 'DataJson', 'DataJson' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "dataJson" = ${DataJson} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to IdentitySyncPayload + +.DESCRIPTION + +Convert from JSON to IdentitySyncPayload + +.PARAMETER Json + +Json object + +.OUTPUTS + +IdentitySyncPayload +#> +function ConvertFrom-V2024JsonToIdentitySyncPayload { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024IdentitySyncPayload' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024IdentitySyncPayload + $AllProperties = ("type", "dataJson") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'type' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "dataJson"))) { + throw "Error! JSON cannot be serialized due to the required property 'dataJson' missing." + } else { + $DataJson = $JsonParameters.PSobject.Properties["dataJson"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "dataJson" = ${DataJson} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityWithNewAccess.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityWithNewAccess.ps1 new file mode 100644 index 000000000..05211c770 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityWithNewAccess.ps1 @@ -0,0 +1,121 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +An identity with a set of access to be added + +.PARAMETER IdentityId +Identity id to be checked. +.PARAMETER AccessRefs +The list of entitlements to consider for possible violations in a preventive check. +.OUTPUTS + +IdentityWithNewAccess +#> + +function Initialize-V2024IdentityWithNewAccess { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${IdentityId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${AccessRefs} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024IdentityWithNewAccess' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$IdentityId) { + throw "invalid value for 'IdentityId', 'IdentityId' cannot be null." + } + + if (!$AccessRefs) { + throw "invalid value for 'AccessRefs', 'AccessRefs' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "identityId" = ${IdentityId} + "accessRefs" = ${AccessRefs} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to IdentityWithNewAccess + +.DESCRIPTION + +Convert from JSON to IdentityWithNewAccess + +.PARAMETER Json + +Json object + +.OUTPUTS + +IdentityWithNewAccess +#> +function ConvertFrom-V2024JsonToIdentityWithNewAccess { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024IdentityWithNewAccess' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024IdentityWithNewAccess + $AllProperties = ("identityId", "accessRefs") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'identityId' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityId"))) { + throw "Error! JSON cannot be serialized due to the required property 'identityId' missing." + } else { + $IdentityId = $JsonParameters.PSobject.Properties["identityId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accessRefs"))) { + throw "Error! JSON cannot be serialized due to the required property 'accessRefs' missing." + } else { + $AccessRefs = $JsonParameters.PSobject.Properties["accessRefs"].value + } + + $PSO = [PSCustomObject]@{ + "identityId" = ${IdentityId} + "accessRefs" = ${AccessRefs} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityWithNewAccess1.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityWithNewAccess1.ps1 new file mode 100644 index 000000000..0cb115008 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityWithNewAccess1.ps1 @@ -0,0 +1,134 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +An identity with a set of access to be added + +.PARAMETER IdentityId +Set of identity IDs to be checked. +.PARAMETER AccessRefs +The bundle of access profiles to be added to the identities specified. All references must be ENTITLEMENT type. +.PARAMETER ClientMetadata +Arbitrary key-value pairs. They will never be processed by the IdentityNow system but will be returned on completion of the violation check. +.OUTPUTS + +IdentityWithNewAccess1 +#> + +function Initialize-V2024IdentityWithNewAccess1 { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${IdentityId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${AccessRefs}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${ClientMetadata} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024IdentityWithNewAccess1' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$IdentityId) { + throw "invalid value for 'IdentityId', 'IdentityId' cannot be null." + } + + if (!$AccessRefs) { + throw "invalid value for 'AccessRefs', 'AccessRefs' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "identityId" = ${IdentityId} + "accessRefs" = ${AccessRefs} + "clientMetadata" = ${ClientMetadata} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to IdentityWithNewAccess1 + +.DESCRIPTION + +Convert from JSON to IdentityWithNewAccess1 + +.PARAMETER Json + +Json object + +.OUTPUTS + +IdentityWithNewAccess1 +#> +function ConvertFrom-V2024JsonToIdentityWithNewAccess1 { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024IdentityWithNewAccess1' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024IdentityWithNewAccess1 + $AllProperties = ("identityId", "accessRefs", "clientMetadata") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'identityId' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityId"))) { + throw "Error! JSON cannot be serialized due to the required property 'identityId' missing." + } else { + $IdentityId = $JsonParameters.PSobject.Properties["identityId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accessRefs"))) { + throw "Error! JSON cannot be serialized due to the required property 'accessRefs' missing." + } else { + $AccessRefs = $JsonParameters.PSobject.Properties["accessRefs"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "clientMetadata"))) { #optional property not found + $ClientMetadata = $null + } else { + $ClientMetadata = $JsonParameters.PSobject.Properties["clientMetadata"].value + } + + $PSO = [PSCustomObject]@{ + "identityId" = ${IdentityId} + "accessRefs" = ${AccessRefs} + "clientMetadata" = ${ClientMetadata} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityWithNewAccessAccessRefsInner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityWithNewAccessAccessRefsInner.ps1 new file mode 100644 index 000000000..28c5daf16 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IdentityWithNewAccessAccessRefsInner.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Entitlement including a specific set of access. + +.PARAMETER Type +Entitlement's DTO type. +.PARAMETER Id +Entitlement's ID. +.PARAMETER Name +Entitlement's display name. +.OUTPUTS + +IdentityWithNewAccessAccessRefsInner +#> + +function Initialize-V2024IdentityWithNewAccessAccessRefsInner { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ENTITLEMENT")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024IdentityWithNewAccessAccessRefsInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to IdentityWithNewAccessAccessRefsInner + +.DESCRIPTION + +Convert from JSON to IdentityWithNewAccessAccessRefsInner + +.PARAMETER Json + +Json object + +.OUTPUTS + +IdentityWithNewAccessAccessRefsInner +#> +function ConvertFrom-V2024JsonToIdentityWithNewAccessAccessRefsInner { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024IdentityWithNewAccessAccessRefsInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024IdentityWithNewAccessAccessRefsInner + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ImportAccountsRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ImportAccountsRequest.ps1 new file mode 100644 index 000000000..29bd9cd2d --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ImportAccountsRequest.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER File +The CSV file containing the source accounts to aggregate. +.PARAMETER DisableOptimization +Use this flag to reprocess every account whether or not the data has changed. +.OUTPUTS + +ImportAccountsRequest +#> + +function Initialize-V2024ImportAccountsRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.IO.FileInfo] + ${File}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${DisableOptimization} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ImportAccountsRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "file" = ${File} + "disableOptimization" = ${DisableOptimization} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ImportAccountsRequest + +.DESCRIPTION + +Convert from JSON to ImportAccountsRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +ImportAccountsRequest +#> +function ConvertFrom-V2024JsonToImportAccountsRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ImportAccountsRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ImportAccountsRequest + $AllProperties = ("file", "disableOptimization") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "file"))) { #optional property not found + $File = $null + } else { + $File = $JsonParameters.PSobject.Properties["file"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "disableOptimization"))) { #optional property not found + $DisableOptimization = $null + } else { + $DisableOptimization = $JsonParameters.PSobject.Properties["disableOptimization"].value + } + + $PSO = [PSCustomObject]@{ + "file" = ${File} + "disableOptimization" = ${DisableOptimization} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ImportEntitlementsBySourceRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ImportEntitlementsBySourceRequest.ps1 new file mode 100644 index 000000000..5c7b0d652 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ImportEntitlementsBySourceRequest.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER CsvFile +The CSV file containing the source entitlements to aggregate. +.OUTPUTS + +ImportEntitlementsBySourceRequest +#> + +function Initialize-V2024ImportEntitlementsBySourceRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.IO.FileInfo] + ${CsvFile} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ImportEntitlementsBySourceRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "csvFile" = ${CsvFile} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ImportEntitlementsBySourceRequest + +.DESCRIPTION + +Convert from JSON to ImportEntitlementsBySourceRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +ImportEntitlementsBySourceRequest +#> +function ConvertFrom-V2024JsonToImportEntitlementsBySourceRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ImportEntitlementsBySourceRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ImportEntitlementsBySourceRequest + $AllProperties = ("csvFile") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "csvFile"))) { #optional property not found + $CsvFile = $null + } else { + $CsvFile = $JsonParameters.PSobject.Properties["csvFile"].value + } + + $PSO = [PSCustomObject]@{ + "csvFile" = ${CsvFile} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ImportFormDefinitions202Response.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ImportFormDefinitions202Response.ps1 new file mode 100644 index 000000000..8927a8ea2 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ImportFormDefinitions202Response.ps1 @@ -0,0 +1,135 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Errors +No description available. +.PARAMETER ImportedObjects +No description available. +.PARAMETER Infos +No description available. +.PARAMETER Warnings +No description available. +.OUTPUTS + +ImportFormDefinitions202Response +#> + +function Initialize-V2024ImportFormDefinitions202Response { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Errors}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${ImportedObjects}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Infos}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Warnings} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ImportFormDefinitions202Response' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "errors" = ${Errors} + "importedObjects" = ${ImportedObjects} + "infos" = ${Infos} + "warnings" = ${Warnings} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ImportFormDefinitions202Response + +.DESCRIPTION + +Convert from JSON to ImportFormDefinitions202Response + +.PARAMETER Json + +Json object + +.OUTPUTS + +ImportFormDefinitions202Response +#> +function ConvertFrom-V2024JsonToImportFormDefinitions202Response { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ImportFormDefinitions202Response' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ImportFormDefinitions202Response + $AllProperties = ("errors", "importedObjects", "infos", "warnings") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "errors"))) { #optional property not found + $Errors = $null + } else { + $Errors = $JsonParameters.PSobject.Properties["errors"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "importedObjects"))) { #optional property not found + $ImportedObjects = $null + } else { + $ImportedObjects = $JsonParameters.PSobject.Properties["importedObjects"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "infos"))) { #optional property not found + $Infos = $null + } else { + $Infos = $JsonParameters.PSobject.Properties["infos"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "warnings"))) { #optional property not found + $Warnings = $null + } else { + $Warnings = $JsonParameters.PSobject.Properties["warnings"].value + } + + $PSO = [PSCustomObject]@{ + "errors" = ${Errors} + "importedObjects" = ${ImportedObjects} + "infos" = ${Infos} + "warnings" = ${Warnings} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ImportFormDefinitions202ResponseErrorsInner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ImportFormDefinitions202ResponseErrorsInner.ps1 new file mode 100644 index 000000000..df3ac8430 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ImportFormDefinitions202ResponseErrorsInner.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Detail +No description available. +.PARAMETER Key +No description available. +.PARAMETER Text +No description available. +.OUTPUTS + +ImportFormDefinitions202ResponseErrorsInner +#> + +function Initialize-V2024ImportFormDefinitions202ResponseErrorsInner { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${Detail}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Key}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Text} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ImportFormDefinitions202ResponseErrorsInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "detail" = ${Detail} + "key" = ${Key} + "text" = ${Text} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ImportFormDefinitions202ResponseErrorsInner + +.DESCRIPTION + +Convert from JSON to ImportFormDefinitions202ResponseErrorsInner + +.PARAMETER Json + +Json object + +.OUTPUTS + +ImportFormDefinitions202ResponseErrorsInner +#> +function ConvertFrom-V2024JsonToImportFormDefinitions202ResponseErrorsInner { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ImportFormDefinitions202ResponseErrorsInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ImportFormDefinitions202ResponseErrorsInner + $AllProperties = ("detail", "key", "text") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "detail"))) { #optional property not found + $Detail = $null + } else { + $Detail = $JsonParameters.PSobject.Properties["detail"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "key"))) { #optional property not found + $Key = $null + } else { + $Key = $JsonParameters.PSobject.Properties["key"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "text"))) { #optional property not found + $Text = $null + } else { + $Text = $JsonParameters.PSobject.Properties["text"].value + } + + $PSO = [PSCustomObject]@{ + "detail" = ${Detail} + "key" = ${Key} + "text" = ${Text} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ImportNonEmployeeRecordsInBulkRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ImportNonEmployeeRecordsInBulkRequest.ps1 new file mode 100644 index 000000000..42c7c68f8 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ImportNonEmployeeRecordsInBulkRequest.ps1 @@ -0,0 +1,104 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER VarData +No description available. +.OUTPUTS + +ImportNonEmployeeRecordsInBulkRequest +#> + +function Initialize-V2024ImportNonEmployeeRecordsInBulkRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.IO.FileInfo] + ${VarData} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ImportNonEmployeeRecordsInBulkRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$VarData) { + throw "invalid value for 'VarData', 'VarData' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "data" = ${VarData} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ImportNonEmployeeRecordsInBulkRequest + +.DESCRIPTION + +Convert from JSON to ImportNonEmployeeRecordsInBulkRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +ImportNonEmployeeRecordsInBulkRequest +#> +function ConvertFrom-V2024JsonToImportNonEmployeeRecordsInBulkRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ImportNonEmployeeRecordsInBulkRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ImportNonEmployeeRecordsInBulkRequest + $AllProperties = ("data") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'data' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "data"))) { + throw "Error! JSON cannot be serialized due to the required property 'data' missing." + } else { + $VarData = $JsonParameters.PSobject.Properties["data"].value + } + + $PSO = [PSCustomObject]@{ + "data" = ${VarData} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ImportObject.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ImportObject.ps1 new file mode 100644 index 000000000..d888f6830 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ImportObject.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Object created or updated by import. + +.PARAMETER Type +DTO type of object created or updated by import. +.PARAMETER Id +ID of object created or updated by import. +.PARAMETER Name +Display name of object created or updated by import. +.OUTPUTS + +ImportObject +#> + +function Initialize-V2024ImportObject { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY_OBJECT_CONFIG", "IDENTITY_PROFILE", "RULE", "SOURCE", "TRANSFORM", "TRIGGER_SUBSCRIPTION")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ImportObject' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ImportObject + +.DESCRIPTION + +Convert from JSON to ImportObject + +.PARAMETER Json + +Json object + +.OUTPUTS + +ImportObject +#> +function ConvertFrom-V2024JsonToImportObject { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ImportObject' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ImportObject + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ImportOptions.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ImportOptions.ps1 new file mode 100644 index 000000000..e4141ff19 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ImportOptions.ps1 @@ -0,0 +1,151 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER ExcludeTypes +Object type names to be excluded from an sp-config export command. +.PARAMETER IncludeTypes +Object type names to be included in an sp-config export command. IncludeTypes takes precedence over excludeTypes. +.PARAMETER ObjectOptions +Additional options targeting specific objects related to each item in the includeTypes field +.PARAMETER DefaultReferences +List of object types that can be used to resolve references on import. +.PARAMETER ExcludeBackup +By default, every import will first export all existing objects supported by sp-config as a backup before the import is attempted. If excludeBackup is true, the backup will not be performed. +.OUTPUTS + +ImportOptions +#> + +function Initialize-V2024ImportOptions { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY_OBJECT_CONFIG", "IDENTITY_PROFILE", "RULE", "SOURCE", "TRANSFORM", "TRIGGER_SUBSCRIPTION")] + [String[]] + ${ExcludeTypes}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY_OBJECT_CONFIG", "IDENTITY_PROFILE", "RULE", "SOURCE", "TRANSFORM", "TRIGGER_SUBSCRIPTION")] + [String[]] + ${IncludeTypes}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${ObjectOptions}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY_OBJECT_CONFIG", "IDENTITY_PROFILE", "RULE", "SOURCE", "TRANSFORM", "TRIGGER_SUBSCRIPTION")] + [String[]] + ${DefaultReferences}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${ExcludeBackup} = $false + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ImportOptions' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "excludeTypes" = ${ExcludeTypes} + "includeTypes" = ${IncludeTypes} + "objectOptions" = ${ObjectOptions} + "defaultReferences" = ${DefaultReferences} + "excludeBackup" = ${ExcludeBackup} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ImportOptions + +.DESCRIPTION + +Convert from JSON to ImportOptions + +.PARAMETER Json + +Json object + +.OUTPUTS + +ImportOptions +#> +function ConvertFrom-V2024JsonToImportOptions { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ImportOptions' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ImportOptions + $AllProperties = ("excludeTypes", "includeTypes", "objectOptions", "defaultReferences", "excludeBackup") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "excludeTypes"))) { #optional property not found + $ExcludeTypes = $null + } else { + $ExcludeTypes = $JsonParameters.PSobject.Properties["excludeTypes"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "includeTypes"))) { #optional property not found + $IncludeTypes = $null + } else { + $IncludeTypes = $JsonParameters.PSobject.Properties["includeTypes"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "objectOptions"))) { #optional property not found + $ObjectOptions = $null + } else { + $ObjectOptions = $JsonParameters.PSobject.Properties["objectOptions"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "defaultReferences"))) { #optional property not found + $DefaultReferences = $null + } else { + $DefaultReferences = $JsonParameters.PSobject.Properties["defaultReferences"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "excludeBackup"))) { #optional property not found + $ExcludeBackup = $null + } else { + $ExcludeBackup = $JsonParameters.PSobject.Properties["excludeBackup"].value + } + + $PSO = [PSCustomObject]@{ + "excludeTypes" = ${ExcludeTypes} + "includeTypes" = ${IncludeTypes} + "objectOptions" = ${ObjectOptions} + "defaultReferences" = ${DefaultReferences} + "excludeBackup" = ${ExcludeBackup} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ImportSpConfigRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ImportSpConfigRequest.ps1 new file mode 100644 index 000000000..e2257f7a9 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ImportSpConfigRequest.ps1 @@ -0,0 +1,117 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER VarData +JSON file containing the objects to be imported. +.PARAMETER Options +No description available. +.OUTPUTS + +ImportSpConfigRequest +#> + +function Initialize-V2024ImportSpConfigRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.IO.FileInfo] + ${VarData}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Options} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ImportSpConfigRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$VarData) { + throw "invalid value for 'VarData', 'VarData' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "data" = ${VarData} + "options" = ${Options} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ImportSpConfigRequest + +.DESCRIPTION + +Convert from JSON to ImportSpConfigRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +ImportSpConfigRequest +#> +function ConvertFrom-V2024JsonToImportSpConfigRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ImportSpConfigRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ImportSpConfigRequest + $AllProperties = ("data", "options") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'data' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "data"))) { + throw "Error! JSON cannot be serialized due to the required property 'data' missing." + } else { + $VarData = $JsonParameters.PSobject.Properties["data"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "options"))) { #optional property not found + $Options = $null + } else { + $Options = $JsonParameters.PSobject.Properties["options"].value + } + + $PSO = [PSCustomObject]@{ + "data" = ${VarData} + "options" = ${Options} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ImportUploadedBackupRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ImportUploadedBackupRequest.ps1 new file mode 100644 index 000000000..2bb868139 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ImportUploadedBackupRequest.ps1 @@ -0,0 +1,121 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER VarData +JSON file containing the objects to be imported. +.PARAMETER Name +Name that will be assigned to the uploaded file. +.OUTPUTS + +ImportUploadedBackupRequest +#> + +function Initialize-V2024ImportUploadedBackupRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.IO.FileInfo] + ${VarData}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ImportUploadedBackupRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$VarData) { + throw "invalid value for 'VarData', 'VarData' cannot be null." + } + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "data" = ${VarData} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ImportUploadedBackupRequest + +.DESCRIPTION + +Convert from JSON to ImportUploadedBackupRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +ImportUploadedBackupRequest +#> +function ConvertFrom-V2024JsonToImportUploadedBackupRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ImportUploadedBackupRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ImportUploadedBackupRequest + $AllProperties = ("data", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'data' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "data"))) { + throw "Error! JSON cannot be serialized due to the required property 'data' missing." + } else { + $VarData = $JsonParameters.PSobject.Properties["data"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "data" = ${VarData} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Index.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Index.ps1 new file mode 100644 index 000000000..b0c0c88fa --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Index.ps1 @@ -0,0 +1,34 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum Index. + +.DESCRIPTION + +Enum representing the currently supported indices. Additional values may be added in the future without notice. +#> + +enum Index { + # enum value: "accessprofiles" + accessprofiles + # enum value: "accountactivities" + accountactivities + # enum value: "entitlements" + entitlements + # enum value: "events" + events + # enum value: "identities" + identities + # enum value: "roles" + roles + # enum value: "*" + STAR +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/IndexOf.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IndexOf.ps1 new file mode 100644 index 000000000..cad4c4726 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/IndexOf.ps1 @@ -0,0 +1,130 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Substring +A substring to search for, searches the entire calling string, and returns the index of the first occurrence of the specified substring. +.PARAMETER RequiresPeriodicRefresh +A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process +.PARAMETER VarInput +This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI. +.OUTPUTS + +IndexOf +#> + +function Initialize-V2024IndexOf { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Substring}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${RequiresPeriodicRefresh} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${VarInput} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024IndexOf' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Substring) { + throw "invalid value for 'Substring', 'Substring' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "substring" = ${Substring} + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + "input" = ${VarInput} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to IndexOf + +.DESCRIPTION + +Convert from JSON to IndexOf + +.PARAMETER Json + +Json object + +.OUTPUTS + +IndexOf +#> +function ConvertFrom-V2024JsonToIndexOf { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024IndexOf' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024IndexOf + $AllProperties = ("substring", "requiresPeriodicRefresh", "input") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'substring' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "substring"))) { + throw "Error! JSON cannot be serialized due to the required property 'substring' missing." + } else { + $Substring = $JsonParameters.PSobject.Properties["substring"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requiresPeriodicRefresh"))) { #optional property not found + $RequiresPeriodicRefresh = $null + } else { + $RequiresPeriodicRefresh = $JsonParameters.PSobject.Properties["requiresPeriodicRefresh"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "input"))) { #optional property not found + $VarInput = $null + } else { + $VarInput = $JsonParameters.PSobject.Properties["input"].value + } + + $PSO = [PSCustomObject]@{ + "substring" = ${Substring} + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + "input" = ${VarInput} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/InnerHit.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/InnerHit.ps1 new file mode 100644 index 000000000..43ff67fdc --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/InnerHit.ps1 @@ -0,0 +1,121 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Inner Hit query object that will cause the specified nested type to be returned as the result matching the supplied query. + +.PARAMETER Query +The search query using the Elasticsearch [Query String Query](https://www.elastic.co/guide/en/elasticsearch/reference/5.2/query-dsl-query-string-query.html#query-string) syntax from the Query DSL extended by SailPoint to support Nested queries. +.PARAMETER Type +The nested type to use in the inner hits query. The nested type [Nested Type](https://www.elastic.co/guide/en/elasticsearch/reference/current/nested.html) refers to a document ""nested"" within another document. For example, an identity can have nested documents for access, accounts, and apps. +.OUTPUTS + +InnerHit +#> + +function Initialize-V2024InnerHit { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Query}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Type} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024InnerHit' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Query) { + throw "invalid value for 'Query', 'Query' cannot be null." + } + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "query" = ${Query} + "type" = ${Type} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to InnerHit + +.DESCRIPTION + +Convert from JSON to InnerHit + +.PARAMETER Json + +Json object + +.OUTPUTS + +InnerHit +#> +function ConvertFrom-V2024JsonToInnerHit { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024InnerHit' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024InnerHit + $AllProperties = ("query", "type") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'query' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "query"))) { + throw "Error! JSON cannot be serialized due to the required property 'query' missing." + } else { + $Query = $JsonParameters.PSobject.Properties["query"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + $PSO = [PSCustomObject]@{ + "query" = ${Query} + "type" = ${Type} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Invocation.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Invocation.ps1 new file mode 100644 index 000000000..a0a8afd1d --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Invocation.ps1 @@ -0,0 +1,135 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +Invocation ID +.PARAMETER TriggerId +Trigger ID +.PARAMETER Secret +Unique invocation secret. +.PARAMETER ContentJson +JSON map of invocation metadata. +.OUTPUTS + +Invocation +#> + +function Initialize-V2024Invocation { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${TriggerId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Secret}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${ContentJson} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Invocation' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "triggerId" = ${TriggerId} + "secret" = ${Secret} + "contentJson" = ${ContentJson} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Invocation + +.DESCRIPTION + +Convert from JSON to Invocation + +.PARAMETER Json + +Json object + +.OUTPUTS + +Invocation +#> +function ConvertFrom-V2024JsonToInvocation { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Invocation' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Invocation + $AllProperties = ("id", "triggerId", "secret", "contentJson") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "triggerId"))) { #optional property not found + $TriggerId = $null + } else { + $TriggerId = $JsonParameters.PSobject.Properties["triggerId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "secret"))) { #optional property not found + $Secret = $null + } else { + $Secret = $JsonParameters.PSobject.Properties["secret"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "contentJson"))) { #optional property not found + $ContentJson = $null + } else { + $ContentJson = $JsonParameters.PSobject.Properties["contentJson"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "triggerId" = ${TriggerId} + "secret" = ${Secret} + "contentJson" = ${ContentJson} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/InvocationStatus.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/InvocationStatus.ps1 new file mode 100644 index 000000000..5216c74c4 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/InvocationStatus.ps1 @@ -0,0 +1,233 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +Invocation ID +.PARAMETER TriggerId +Trigger ID +.PARAMETER SubscriptionName +Subscription name +.PARAMETER SubscriptionId +Subscription ID +.PARAMETER Type +No description available. +.PARAMETER Created +Invocation created timestamp. ISO-8601 in UTC. +.PARAMETER Completed +Invocation completed timestamp; empty fields imply invocation is in-flight or not completed. ISO-8601 in UTC. +.PARAMETER StartInvocationInput +No description available. +.PARAMETER CompleteInvocationInput +No description available. +.OUTPUTS + +InvocationStatus +#> + +function Initialize-V2024InvocationStatus { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${TriggerId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SubscriptionName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SubscriptionId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("TEST", "REAL_TIME")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.DateTime] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Completed}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${StartInvocationInput}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${CompleteInvocationInput} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024InvocationStatus' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$TriggerId) { + throw "invalid value for 'TriggerId', 'TriggerId' cannot be null." + } + + if (!$SubscriptionName) { + throw "invalid value for 'SubscriptionName', 'SubscriptionName' cannot be null." + } + + if (!$SubscriptionId) { + throw "invalid value for 'SubscriptionId', 'SubscriptionId' cannot be null." + } + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Created) { + throw "invalid value for 'Created', 'Created' cannot be null." + } + + if (!$StartInvocationInput) { + throw "invalid value for 'StartInvocationInput', 'StartInvocationInput' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "triggerId" = ${TriggerId} + "subscriptionName" = ${SubscriptionName} + "subscriptionId" = ${SubscriptionId} + "type" = ${Type} + "created" = ${Created} + "completed" = ${Completed} + "startInvocationInput" = ${StartInvocationInput} + "completeInvocationInput" = ${CompleteInvocationInput} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to InvocationStatus + +.DESCRIPTION + +Convert from JSON to InvocationStatus + +.PARAMETER Json + +Json object + +.OUTPUTS + +InvocationStatus +#> +function ConvertFrom-V2024JsonToInvocationStatus { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024InvocationStatus' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024InvocationStatus + $AllProperties = ("id", "triggerId", "subscriptionName", "subscriptionId", "type", "created", "completed", "startInvocationInput", "completeInvocationInput") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'id' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "triggerId"))) { + throw "Error! JSON cannot be serialized due to the required property 'triggerId' missing." + } else { + $TriggerId = $JsonParameters.PSobject.Properties["triggerId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "subscriptionName"))) { + throw "Error! JSON cannot be serialized due to the required property 'subscriptionName' missing." + } else { + $SubscriptionName = $JsonParameters.PSobject.Properties["subscriptionName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "subscriptionId"))) { + throw "Error! JSON cannot be serialized due to the required property 'subscriptionId' missing." + } else { + $SubscriptionId = $JsonParameters.PSobject.Properties["subscriptionId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { + throw "Error! JSON cannot be serialized due to the required property 'created' missing." + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "startInvocationInput"))) { + throw "Error! JSON cannot be serialized due to the required property 'startInvocationInput' missing." + } else { + $StartInvocationInput = $JsonParameters.PSobject.Properties["startInvocationInput"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "completed"))) { #optional property not found + $Completed = $null + } else { + $Completed = $JsonParameters.PSobject.Properties["completed"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "completeInvocationInput"))) { #optional property not found + $CompleteInvocationInput = $null + } else { + $CompleteInvocationInput = $JsonParameters.PSobject.Properties["completeInvocationInput"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "triggerId" = ${TriggerId} + "subscriptionName" = ${SubscriptionName} + "subscriptionId" = ${SubscriptionId} + "type" = ${Type} + "created" = ${Created} + "completed" = ${Completed} + "startInvocationInput" = ${StartInvocationInput} + "completeInvocationInput" = ${CompleteInvocationInput} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/InvocationStatusType.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/InvocationStatusType.ps1 new file mode 100644 index 000000000..1207b2a20 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/InvocationStatusType.ps1 @@ -0,0 +1,24 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum InvocationStatusType. + +.DESCRIPTION + +Defines the Invocation type. **TEST** The trigger was invocated as a test, either via the test subscription button in the UI or via the start test invocation API. **REAL_TIME** The trigger subscription is live and was invocated by a real event in IdentityNow. +#> + +enum InvocationStatusType { + # enum value: "TEST" + TEST + # enum value: "REAL_TIME" + REAL_TIME +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/JsonPatch.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/JsonPatch.ps1 new file mode 100644 index 000000000..399b213ac --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/JsonPatch.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +A JSONPatch document as defined by [RFC 6902 - JSON Patch](https://tools.ietf.org/html/rfc6902) + +.PARAMETER Operations +Operations to be applied +.OUTPUTS + +JsonPatch +#> + +function Initialize-V2024JsonPatch { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Operations} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024JsonPatch' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "operations" = ${Operations} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to JsonPatch + +.DESCRIPTION + +Convert from JSON to JsonPatch + +.PARAMETER Json + +Json object + +.OUTPUTS + +JsonPatch +#> +function ConvertFrom-V2024JsonToJsonPatch { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024JsonPatch' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024JsonPatch + $AllProperties = ("operations") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "operations"))) { #optional property not found + $Operations = $null + } else { + $Operations = $JsonParameters.PSobject.Properties["operations"].value + } + + $PSO = [PSCustomObject]@{ + "operations" = ${Operations} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/JsonPatchOperation.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/JsonPatchOperation.ps1 new file mode 100644 index 000000000..7a23fed39 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/JsonPatchOperation.ps1 @@ -0,0 +1,135 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +A JSONPatch Operation as defined by [RFC 6902 - JSON Patch](https://tools.ietf.org/html/rfc6902) + +.PARAMETER Op +The operation to be performed +.PARAMETER Path +A string JSON Pointer representing the target path to an element to be affected by the operation +.PARAMETER Value +No description available. +.OUTPUTS + +JsonPatchOperation +#> + +function Initialize-V2024JsonPatchOperation { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("add", "remove", "replace", "move", "copy", "test")] + [String] + ${Op}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Path}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Value} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024JsonPatchOperation' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Op) { + throw "invalid value for 'Op', 'Op' cannot be null." + } + + if (!$Path) { + throw "invalid value for 'Path', 'Path' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "op" = ${Op} + "path" = ${Path} + "value" = ${Value} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to JsonPatchOperation + +.DESCRIPTION + +Convert from JSON to JsonPatchOperation + +.PARAMETER Json + +Json object + +.OUTPUTS + +JsonPatchOperation +#> +function ConvertFrom-V2024JsonToJsonPatchOperation { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024JsonPatchOperation' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024JsonPatchOperation + $AllProperties = ("op", "path", "value") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'op' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "op"))) { + throw "Error! JSON cannot be serialized due to the required property 'op' missing." + } else { + $Op = $JsonParameters.PSobject.Properties["op"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "path"))) { + throw "Error! JSON cannot be serialized due to the required property 'path' missing." + } else { + $Path = $JsonParameters.PSobject.Properties["path"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "value"))) { #optional property not found + $Value = $null + } else { + $Value = $JsonParameters.PSobject.Properties["value"].value + } + + $PSO = [PSCustomObject]@{ + "op" = ${Op} + "path" = ${Path} + "value" = ${Value} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/JsonPatchOperationValue.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/JsonPatchOperationValue.ps1 new file mode 100644 index 000000000..30f917c91 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/JsonPatchOperationValue.ps1 @@ -0,0 +1,130 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +The value to be used for the operation, required for ""add"" and ""replace"" operations + +.PARAMETER Json + +JSON object + +.OUTPUTS + +JsonPatchOperationValue +#> +function ConvertFrom-V2024JsonToJsonPatchOperationValue { + [CmdletBinding()] + Param ( + [AllowEmptyString()] + [string]$Json + ) + + Process { + $match = 0 + $matchType = $null + $matchInstance = $null + + # try to match ArrayInner[] defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToArrayInner[] $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "ArrayInner[]" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'ArrayInner[]' defined in oneOf (V2024JsonPatchOperationValue). Proceeding to the next one if any." + } + + # try to match Boolean defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToBoolean $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "Boolean" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'Boolean' defined in oneOf (V2024JsonPatchOperationValue). Proceeding to the next one if any." + } + + # try to match Int32 defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToInt32 $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "Int32" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'Int32' defined in oneOf (V2024JsonPatchOperationValue). Proceeding to the next one if any." + } + + # try to match String defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToString $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "String" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'String' defined in oneOf (V2024JsonPatchOperationValue). Proceeding to the next one if any." + } + + # try to match SystemCollectionsHashtable defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToSystemCollectionsHashtable $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "SystemCollectionsHashtable" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'SystemCollectionsHashtable' defined in oneOf (V2024JsonPatchOperationValue). Proceeding to the next one if any." + } + + if ($match -gt 1) { + throw "Error! The JSON payload matches more than one type defined in oneOf schemas ([ArrayInner[], Boolean, Int32, String, SystemCollectionsHashtable]). JSON Payload: $($Json)" + } elseif ($match -eq 1) { + return [PSCustomObject]@{ + "ActualType" = ${matchType} + "ActualInstance" = ${matchInstance} + "OneOfSchemas" = @("ArrayInner[]", "Boolean", "Int32", "String", "SystemCollectionsHashtable") + } + } else { + throw "Error! The JSON payload doesn't matches any type defined in oneOf schemas ([ArrayInner[], Boolean, Int32, String, SystemCollectionsHashtable]). JSON Payload: $($Json)" + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/KbaAnswerRequestItem.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/KbaAnswerRequestItem.ps1 new file mode 100644 index 000000000..1f66d69f7 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/KbaAnswerRequestItem.ps1 @@ -0,0 +1,121 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +Question Id +.PARAMETER Answer +An answer for the KBA question +.OUTPUTS + +KbaAnswerRequestItem +#> + +function Initialize-V2024KbaAnswerRequestItem { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Answer} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024KbaAnswerRequestItem' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Answer) { + throw "invalid value for 'Answer', 'Answer' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "answer" = ${Answer} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to KbaAnswerRequestItem + +.DESCRIPTION + +Convert from JSON to KbaAnswerRequestItem + +.PARAMETER Json + +Json object + +.OUTPUTS + +KbaAnswerRequestItem +#> +function ConvertFrom-V2024JsonToKbaAnswerRequestItem { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024KbaAnswerRequestItem' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024KbaAnswerRequestItem + $AllProperties = ("id", "answer") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'id' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "answer"))) { + throw "Error! JSON cannot be serialized due to the required property 'answer' missing." + } else { + $Answer = $JsonParameters.PSobject.Properties["answer"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "answer" = ${Answer} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/KbaAnswerResponseItem.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/KbaAnswerResponseItem.ps1 new file mode 100644 index 000000000..9041a69da --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/KbaAnswerResponseItem.ps1 @@ -0,0 +1,138 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +Question Id +.PARAMETER Question +Question description +.PARAMETER HasAnswer +Denotes whether the KBA question has an answer configured for the current user +.OUTPUTS + +KbaAnswerResponseItem +#> + +function Initialize-V2024KbaAnswerResponseItem { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Question}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Boolean] + ${HasAnswer} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024KbaAnswerResponseItem' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Question) { + throw "invalid value for 'Question', 'Question' cannot be null." + } + + if (!$HasAnswer) { + throw "invalid value for 'HasAnswer', 'HasAnswer' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "question" = ${Question} + "hasAnswer" = ${HasAnswer} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to KbaAnswerResponseItem + +.DESCRIPTION + +Convert from JSON to KbaAnswerResponseItem + +.PARAMETER Json + +Json object + +.OUTPUTS + +KbaAnswerResponseItem +#> +function ConvertFrom-V2024JsonToKbaAnswerResponseItem { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024KbaAnswerResponseItem' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024KbaAnswerResponseItem + $AllProperties = ("id", "question", "hasAnswer") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'id' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "question"))) { + throw "Error! JSON cannot be serialized due to the required property 'question' missing." + } else { + $Question = $JsonParameters.PSobject.Properties["question"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "hasAnswer"))) { + throw "Error! JSON cannot be serialized due to the required property 'hasAnswer' missing." + } else { + $HasAnswer = $JsonParameters.PSobject.Properties["hasAnswer"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "question" = ${Question} + "hasAnswer" = ${HasAnswer} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/KbaQuestion.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/KbaQuestion.ps1 new file mode 100644 index 000000000..654292667 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/KbaQuestion.ps1 @@ -0,0 +1,155 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +KBA Configuration + +.PARAMETER Id +KBA Question Id +.PARAMETER Text +KBA Question description +.PARAMETER HasAnswer +Denotes whether the KBA question has an answer configured for any user in the tenant +.PARAMETER NumAnswers +Denotes the number of KBA configurations for this question +.OUTPUTS + +KbaQuestion +#> + +function Initialize-V2024KbaQuestion { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Text}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Boolean] + ${HasAnswer}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Int32] + ${NumAnswers} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024KbaQuestion' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Text) { + throw "invalid value for 'Text', 'Text' cannot be null." + } + + if (!$HasAnswer) { + throw "invalid value for 'HasAnswer', 'HasAnswer' cannot be null." + } + + if (!$NumAnswers) { + throw "invalid value for 'NumAnswers', 'NumAnswers' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "text" = ${Text} + "hasAnswer" = ${HasAnswer} + "numAnswers" = ${NumAnswers} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to KbaQuestion + +.DESCRIPTION + +Convert from JSON to KbaQuestion + +.PARAMETER Json + +Json object + +.OUTPUTS + +KbaQuestion +#> +function ConvertFrom-V2024JsonToKbaQuestion { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024KbaQuestion' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024KbaQuestion + $AllProperties = ("id", "text", "hasAnswer", "numAnswers") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'id' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "text"))) { + throw "Error! JSON cannot be serialized due to the required property 'text' missing." + } else { + $Text = $JsonParameters.PSobject.Properties["text"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "hasAnswer"))) { + throw "Error! JSON cannot be serialized due to the required property 'hasAnswer' missing." + } else { + $HasAnswer = $JsonParameters.PSobject.Properties["hasAnswer"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "numAnswers"))) { + throw "Error! JSON cannot be serialized due to the required property 'numAnswers' missing." + } else { + $NumAnswers = $JsonParameters.PSobject.Properties["numAnswers"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "text" = ${Text} + "hasAnswer" = ${HasAnswer} + "numAnswers" = ${NumAnswers} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/LatestOutlierSummary.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/LatestOutlierSummary.ps1 new file mode 100644 index 000000000..9672c478f --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/LatestOutlierSummary.ps1 @@ -0,0 +1,149 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Type +The type of outlier summary +.PARAMETER SnapshotDate +The date the bulk outlier detection ran/snapshot was created +.PARAMETER TotalOutliers +Total number of outliers for the customer making the request +.PARAMETER TotalIdentities +Total number of identities for the customer making the request +.PARAMETER TotalIgnored +Total number of ignored outliers +.OUTPUTS + +LatestOutlierSummary +#> + +function Initialize-V2024LatestOutlierSummary { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("LOW_SIMILARITY", "STRUCTURAL")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${SnapshotDate}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${TotalOutliers}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${TotalIdentities}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${TotalIgnored} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024LatestOutlierSummary' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "snapshotDate" = ${SnapshotDate} + "totalOutliers" = ${TotalOutliers} + "totalIdentities" = ${TotalIdentities} + "totalIgnored" = ${TotalIgnored} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to LatestOutlierSummary + +.DESCRIPTION + +Convert from JSON to LatestOutlierSummary + +.PARAMETER Json + +Json object + +.OUTPUTS + +LatestOutlierSummary +#> +function ConvertFrom-V2024JsonToLatestOutlierSummary { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024LatestOutlierSummary' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024LatestOutlierSummary + $AllProperties = ("type", "snapshotDate", "totalOutliers", "totalIdentities", "totalIgnored") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "snapshotDate"))) { #optional property not found + $SnapshotDate = $null + } else { + $SnapshotDate = $JsonParameters.PSobject.Properties["snapshotDate"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "totalOutliers"))) { #optional property not found + $TotalOutliers = $null + } else { + $TotalOutliers = $JsonParameters.PSobject.Properties["totalOutliers"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "totalIdentities"))) { #optional property not found + $TotalIdentities = $null + } else { + $TotalIdentities = $JsonParameters.PSobject.Properties["totalIdentities"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "totalIgnored"))) { #optional property not found + $TotalIgnored = $null + } else { + $TotalIgnored = $JsonParameters.PSobject.Properties["totalIgnored"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "snapshotDate" = ${SnapshotDate} + "totalOutliers" = ${TotalOutliers} + "totalIdentities" = ${TotalIdentities} + "totalIgnored" = ${TotalIgnored} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/LeftPad.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/LeftPad.ps1 new file mode 100644 index 000000000..6a459d488 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/LeftPad.ps1 @@ -0,0 +1,143 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Length +An integer value for the desired length of the final output string +.PARAMETER Padding +A string value representing the character that the incoming data should be padded with to get to the desired length If not provided, the transform will default to a single space ("" "") character for padding +.PARAMETER RequiresPeriodicRefresh +A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process +.PARAMETER VarInput +This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI. +.OUTPUTS + +LeftPad +#> + +function Initialize-V2024LeftPad { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Length}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Padding}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${RequiresPeriodicRefresh} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${VarInput} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024LeftPad' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Length) { + throw "invalid value for 'Length', 'Length' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "length" = ${Length} + "padding" = ${Padding} + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + "input" = ${VarInput} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to LeftPad + +.DESCRIPTION + +Convert from JSON to LeftPad + +.PARAMETER Json + +Json object + +.OUTPUTS + +LeftPad +#> +function ConvertFrom-V2024JsonToLeftPad { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024LeftPad' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024LeftPad + $AllProperties = ("length", "padding", "requiresPeriodicRefresh", "input") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'length' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "length"))) { + throw "Error! JSON cannot be serialized due to the required property 'length' missing." + } else { + $Length = $JsonParameters.PSobject.Properties["length"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "padding"))) { #optional property not found + $Padding = $null + } else { + $Padding = $JsonParameters.PSobject.Properties["padding"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requiresPeriodicRefresh"))) { #optional property not found + $RequiresPeriodicRefresh = $null + } else { + $RequiresPeriodicRefresh = $JsonParameters.PSobject.Properties["requiresPeriodicRefresh"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "input"))) { #optional property not found + $VarInput = $null + } else { + $VarInput = $JsonParameters.PSobject.Properties["input"].value + } + + $PSO = [PSCustomObject]@{ + "length" = ${Length} + "padding" = ${Padding} + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + "input" = ${VarInput} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/License.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/License.ps1 new file mode 100644 index 000000000..3c302845d --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/License.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER LicenseId +Name of the license +.PARAMETER LegacyFeatureName +Legacy name of the license +.OUTPUTS + +License +#> + +function Initialize-V2024License { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${LicenseId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${LegacyFeatureName} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024License' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "licenseId" = ${LicenseId} + "legacyFeatureName" = ${LegacyFeatureName} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to License + +.DESCRIPTION + +Convert from JSON to License + +.PARAMETER Json + +Json object + +.OUTPUTS + +License +#> +function ConvertFrom-V2024JsonToLicense { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024License' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024License + $AllProperties = ("licenseId", "legacyFeatureName") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "licenseId"))) { #optional property not found + $LicenseId = $null + } else { + $LicenseId = $JsonParameters.PSobject.Properties["licenseId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "legacyFeatureName"))) { #optional property not found + $LegacyFeatureName = $null + } else { + $LegacyFeatureName = $JsonParameters.PSobject.Properties["legacyFeatureName"].value + } + + $PSO = [PSCustomObject]@{ + "licenseId" = ${LicenseId} + "legacyFeatureName" = ${LegacyFeatureName} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/LifecycleState.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/LifecycleState.ps1 new file mode 100644 index 000000000..e208f69a2 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/LifecycleState.ps1 @@ -0,0 +1,227 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Name +Name of the Object +.PARAMETER Enabled +Indicates whether the lifecycle state is enabled or disabled. +.PARAMETER TechnicalName +The lifecycle state's technical name. This is for internal use. +.PARAMETER Description +Lifecycle state's description. +.PARAMETER EmailNotificationOption +No description available. +.PARAMETER AccountActions +No description available. +.PARAMETER AccessProfileIds +List of unique access-profile IDs that are associated with the lifecycle state. +.PARAMETER IdentityState +The lifecycle state's associated identity state. This field is generally 'null'. +.OUTPUTS + +LifecycleState +#> + +function Initialize-V2024LifecycleState { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Enabled} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${TechnicalName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${EmailNotificationOption}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${AccountActions}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${AccessProfileIds}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${IdentityState} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024LifecycleState' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if (!$TechnicalName) { + throw "invalid value for 'TechnicalName', 'TechnicalName' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "enabled" = ${Enabled} + "technicalName" = ${TechnicalName} + "description" = ${Description} + "emailNotificationOption" = ${EmailNotificationOption} + "accountActions" = ${AccountActions} + "accessProfileIds" = ${AccessProfileIds} + "identityState" = ${IdentityState} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to LifecycleState + +.DESCRIPTION + +Convert from JSON to LifecycleState + +.PARAMETER Json + +Json object + +.OUTPUTS + +LifecycleState +#> +function ConvertFrom-V2024JsonToLifecycleState { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024LifecycleState' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024LifecycleState + $AllProperties = ("id", "name", "created", "modified", "enabled", "technicalName", "description", "identityCount", "emailNotificationOption", "accountActions", "accessProfileIds", "identityState") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'name' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "technicalName"))) { + throw "Error! JSON cannot be serialized due to the required property 'technicalName' missing." + } else { + $TechnicalName = $JsonParameters.PSobject.Properties["technicalName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "enabled"))) { #optional property not found + $Enabled = $null + } else { + $Enabled = $JsonParameters.PSobject.Properties["enabled"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityCount"))) { #optional property not found + $IdentityCount = $null + } else { + $IdentityCount = $JsonParameters.PSobject.Properties["identityCount"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "emailNotificationOption"))) { #optional property not found + $EmailNotificationOption = $null + } else { + $EmailNotificationOption = $JsonParameters.PSobject.Properties["emailNotificationOption"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accountActions"))) { #optional property not found + $AccountActions = $null + } else { + $AccountActions = $JsonParameters.PSobject.Properties["accountActions"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accessProfileIds"))) { #optional property not found + $AccessProfileIds = $null + } else { + $AccessProfileIds = $JsonParameters.PSobject.Properties["accessProfileIds"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityState"))) { #optional property not found + $IdentityState = $null + } else { + $IdentityState = $JsonParameters.PSobject.Properties["identityState"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "created" = ${Created} + "modified" = ${Modified} + "enabled" = ${Enabled} + "technicalName" = ${TechnicalName} + "description" = ${Description} + "identityCount" = ${IdentityCount} + "emailNotificationOption" = ${EmailNotificationOption} + "accountActions" = ${AccountActions} + "accessProfileIds" = ${AccessProfileIds} + "identityState" = ${IdentityState} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/LifecycleStateDto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/LifecycleStateDto.ps1 new file mode 100644 index 000000000..421377b7c --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/LifecycleStateDto.ps1 @@ -0,0 +1,121 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER StateName +The name of the lifecycle state +.PARAMETER ManuallyUpdated +Whether the lifecycle state has been manually or automatically set +.OUTPUTS + +LifecycleStateDto +#> + +function Initialize-V2024LifecycleStateDto { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${StateName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Boolean] + ${ManuallyUpdated} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024LifecycleStateDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$StateName) { + throw "invalid value for 'StateName', 'StateName' cannot be null." + } + + if (!$ManuallyUpdated) { + throw "invalid value for 'ManuallyUpdated', 'ManuallyUpdated' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "stateName" = ${StateName} + "manuallyUpdated" = ${ManuallyUpdated} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to LifecycleStateDto + +.DESCRIPTION + +Convert from JSON to LifecycleStateDto + +.PARAMETER Json + +Json object + +.OUTPUTS + +LifecycleStateDto +#> +function ConvertFrom-V2024JsonToLifecycleStateDto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024LifecycleStateDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024LifecycleStateDto + $AllProperties = ("stateName", "manuallyUpdated") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'stateName' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "stateName"))) { + throw "Error! JSON cannot be serialized due to the required property 'stateName' missing." + } else { + $StateName = $JsonParameters.PSobject.Properties["stateName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "manuallyUpdated"))) { + throw "Error! JSON cannot be serialized due to the required property 'manuallyUpdated' missing." + } else { + $ManuallyUpdated = $JsonParameters.PSobject.Properties["manuallyUpdated"].value + } + + $PSO = [PSCustomObject]@{ + "stateName" = ${StateName} + "manuallyUpdated" = ${ManuallyUpdated} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/LifecyclestateDeleted.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/LifecyclestateDeleted.ps1 new file mode 100644 index 000000000..4d0aec4fa --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/LifecyclestateDeleted.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Deleted lifecycle state. + +.PARAMETER Type +Deleted lifecycle state's DTO type. +.PARAMETER Id +Deleted lifecycle state ID. +.PARAMETER Name +Deleted lifecycle state's display name. +.OUTPUTS + +LifecyclestateDeleted +#> + +function Initialize-V2024LifecyclestateDeleted { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("LIFECYCLE_STATE")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024LifecyclestateDeleted' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to LifecyclestateDeleted + +.DESCRIPTION + +Convert from JSON to LifecyclestateDeleted + +.PARAMETER Json + +Json object + +.OUTPUTS + +LifecyclestateDeleted +#> +function ConvertFrom-V2024JsonToLifecyclestateDeleted { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024LifecyclestateDeleted' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024LifecyclestateDeleted + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ListAccessProfiles401Response.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ListAccessProfiles401Response.ps1 new file mode 100644 index 000000000..19e5ae824 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ListAccessProfiles401Response.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER VarError +A message describing the error +.OUTPUTS + +ListAccessProfiles401Response +#> + +function Initialize-V2024ListAccessProfiles401Response { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${VarError} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ListAccessProfiles401Response' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "error" = ${VarError} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ListAccessProfiles401Response + +.DESCRIPTION + +Convert from JSON to ListAccessProfiles401Response + +.PARAMETER Json + +Json object + +.OUTPUTS + +ListAccessProfiles401Response +#> +function ConvertFrom-V2024JsonToListAccessProfiles401Response { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ListAccessProfiles401Response' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ListAccessProfiles401Response + $AllProperties = ("error") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "error"))) { #optional property not found + $VarError = $null + } else { + $VarError = $JsonParameters.PSobject.Properties["error"].value + } + + $PSO = [PSCustomObject]@{ + "error" = ${VarError} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ListAccessProfiles429Response.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ListAccessProfiles429Response.ps1 new file mode 100644 index 000000000..bf256431f --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ListAccessProfiles429Response.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Message +A message describing the error +.OUTPUTS + +ListAccessProfiles429Response +#> + +function Initialize-V2024ListAccessProfiles429Response { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Message} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ListAccessProfiles429Response' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "message" = ${Message} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ListAccessProfiles429Response + +.DESCRIPTION + +Convert from JSON to ListAccessProfiles429Response + +.PARAMETER Json + +Json object + +.OUTPUTS + +ListAccessProfiles429Response +#> +function ConvertFrom-V2024JsonToListAccessProfiles429Response { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ListAccessProfiles429Response' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ListAccessProfiles429Response + $AllProperties = ("message") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "message"))) { #optional property not found + $Message = $null + } else { + $Message = $JsonParameters.PSobject.Properties["message"].value + } + + $PSO = [PSCustomObject]@{ + "message" = ${Message} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ListCampaignFilters200Response.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ListCampaignFilters200Response.ps1 new file mode 100644 index 000000000..64f98b847 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ListCampaignFilters200Response.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Items +List of campaign filters. +.PARAMETER Count +Number of filters returned. +.OUTPUTS + +ListCampaignFilters200Response +#> + +function Initialize-V2024ListCampaignFilters200Response { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Items}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${Count} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ListCampaignFilters200Response' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "items" = ${Items} + "count" = ${Count} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ListCampaignFilters200Response + +.DESCRIPTION + +Convert from JSON to ListCampaignFilters200Response + +.PARAMETER Json + +Json object + +.OUTPUTS + +ListCampaignFilters200Response +#> +function ConvertFrom-V2024JsonToListCampaignFilters200Response { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ListCampaignFilters200Response' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ListCampaignFilters200Response + $AllProperties = ("items", "count") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "items"))) { #optional property not found + $Items = $null + } else { + $Items = $JsonParameters.PSobject.Properties["items"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "count"))) { #optional property not found + $Count = $null + } else { + $Count = $JsonParameters.PSobject.Properties["count"].value + } + + $PSO = [PSCustomObject]@{ + "items" = ${Items} + "count" = ${Count} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ListCompleteWorkflowLibrary200ResponseInner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ListCompleteWorkflowLibrary200ResponseInner.ps1 new file mode 100644 index 000000000..ad4ddcb4c --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ListCompleteWorkflowLibrary200ResponseInner.ps1 @@ -0,0 +1,102 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Json + +JSON object + +.OUTPUTS + +ListCompleteWorkflowLibrary200ResponseInner +#> +function ConvertFrom-V2024JsonToListCompleteWorkflowLibrary200ResponseInner { + [CmdletBinding()] + Param ( + [AllowEmptyString()] + [string]$Json + ) + + Process { + $match = 0 + $matchType = $null + $matchInstance = $null + + if ($match -ne 0) { # no match yet + # try to match WorkflowLibraryAction defined in the anyOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToWorkflowLibraryAction $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "WorkflowLibraryAction" + $match++ + break + } + } + } catch { + # fail to match the schema defined in anyOf, proceed to the next one + Write-Debug "Failed to match 'WorkflowLibraryAction' defined in anyOf (V2024ListCompleteWorkflowLibrary200ResponseInner). Proceeding to the next one if any." + } + } + + if ($match -ne 0) { # no match yet + # try to match WorkflowLibraryOperator defined in the anyOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToWorkflowLibraryOperator $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "WorkflowLibraryOperator" + $match++ + break + } + } + } catch { + # fail to match the schema defined in anyOf, proceed to the next one + Write-Debug "Failed to match 'WorkflowLibraryOperator' defined in anyOf (V2024ListCompleteWorkflowLibrary200ResponseInner). Proceeding to the next one if any." + } + } + + if ($match -ne 0) { # no match yet + # try to match WorkflowLibraryTrigger defined in the anyOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToWorkflowLibraryTrigger $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "WorkflowLibraryTrigger" + $match++ + break + } + } + } catch { + # fail to match the schema defined in anyOf, proceed to the next one + Write-Debug "Failed to match 'WorkflowLibraryTrigger' defined in anyOf (V2024ListCompleteWorkflowLibrary200ResponseInner). Proceeding to the next one if any." + } + } + + if ($match -eq 1) { + return [PSCustomObject]@{ + "ActualType" = ${matchType} + "ActualInstance" = ${matchInstance} + "anyOfSchemas" = @("WorkflowLibraryAction", "WorkflowLibraryOperator", "WorkflowLibraryTrigger") + } + } else { + throw "Error! The JSON payload doesn't matches any type defined in anyOf schemas ([WorkflowLibraryAction, WorkflowLibraryOperator, WorkflowLibraryTrigger]). JSON Payload: $($Json)" + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ListFormDefinitionsByTenantResponse.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ListFormDefinitionsByTenantResponse.ps1 new file mode 100644 index 000000000..98023b1dd --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ListFormDefinitionsByTenantResponse.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Count +Count number of results. +.PARAMETER Results +List of FormDefinitionResponse items. +.OUTPUTS + +ListFormDefinitionsByTenantResponse +#> + +function Initialize-V2024ListFormDefinitionsByTenantResponse { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int64]] + ${Count}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Results} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ListFormDefinitionsByTenantResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "count" = ${Count} + "results" = ${Results} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ListFormDefinitionsByTenantResponse + +.DESCRIPTION + +Convert from JSON to ListFormDefinitionsByTenantResponse + +.PARAMETER Json + +Json object + +.OUTPUTS + +ListFormDefinitionsByTenantResponse +#> +function ConvertFrom-V2024JsonToListFormDefinitionsByTenantResponse { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ListFormDefinitionsByTenantResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ListFormDefinitionsByTenantResponse + $AllProperties = ("count", "results") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "count"))) { #optional property not found + $Count = $null + } else { + $Count = $JsonParameters.PSobject.Properties["count"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "results"))) { #optional property not found + $Results = $null + } else { + $Results = $JsonParameters.PSobject.Properties["results"].value + } + + $PSO = [PSCustomObject]@{ + "count" = ${Count} + "results" = ${Results} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ListFormElementDataByElementIDResponse.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ListFormElementDataByElementIDResponse.ps1 new file mode 100644 index 000000000..fdcc1235b --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ListFormElementDataByElementIDResponse.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Results +Results holds a list of FormElementDataSourceConfigOptions items +.OUTPUTS + +ListFormElementDataByElementIDResponse +#> + +function Initialize-V2024ListFormElementDataByElementIDResponse { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Results} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ListFormElementDataByElementIDResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "results" = ${Results} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ListFormElementDataByElementIDResponse + +.DESCRIPTION + +Convert from JSON to ListFormElementDataByElementIDResponse + +.PARAMETER Json + +Json object + +.OUTPUTS + +ListFormElementDataByElementIDResponse +#> +function ConvertFrom-V2024JsonToListFormElementDataByElementIDResponse { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ListFormElementDataByElementIDResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ListFormElementDataByElementIDResponse + $AllProperties = ("results") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "results"))) { #optional property not found + $Results = $null + } else { + $Results = $JsonParameters.PSobject.Properties["results"].value + } + + $PSO = [PSCustomObject]@{ + "results" = ${Results} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ListFormInstancesByTenantResponse.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ListFormInstancesByTenantResponse.ps1 new file mode 100644 index 000000000..c615cf56c --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ListFormInstancesByTenantResponse.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Count +Count number of Results +.PARAMETER Results +Results holds a list of FormInstanceResponse items +.OUTPUTS + +ListFormInstancesByTenantResponse +#> + +function Initialize-V2024ListFormInstancesByTenantResponse { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int64]] + ${Count}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Results} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ListFormInstancesByTenantResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "count" = ${Count} + "results" = ${Results} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ListFormInstancesByTenantResponse + +.DESCRIPTION + +Convert from JSON to ListFormInstancesByTenantResponse + +.PARAMETER Json + +Json object + +.OUTPUTS + +ListFormInstancesByTenantResponse +#> +function ConvertFrom-V2024JsonToListFormInstancesByTenantResponse { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ListFormInstancesByTenantResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ListFormInstancesByTenantResponse + $AllProperties = ("count", "results") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "count"))) { #optional property not found + $Count = $null + } else { + $Count = $JsonParameters.PSobject.Properties["count"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "results"))) { #optional property not found + $Results = $null + } else { + $Results = $JsonParameters.PSobject.Properties["results"].value + } + + $PSO = [PSCustomObject]@{ + "count" = ${Count} + "results" = ${Results} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ListIdentityAccessItems200ResponseInner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ListIdentityAccessItems200ResponseInner.ps1 new file mode 100644 index 000000000..7079d242f --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ListIdentityAccessItems200ResponseInner.ps1 @@ -0,0 +1,130 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Json + +JSON object + +.OUTPUTS + +ListIdentityAccessItems200ResponseInner +#> +function ConvertFrom-V2024JsonToListIdentityAccessItems200ResponseInner { + [CmdletBinding()] + Param ( + [AllowEmptyString()] + [string]$Json + ) + + Process { + $match = 0 + $matchType = $null + $matchInstance = $null + + # try to match AccessItemAccessProfileResponse defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToAccessItemAccessProfileResponse $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "AccessItemAccessProfileResponse" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'AccessItemAccessProfileResponse' defined in oneOf (V2024ListIdentityAccessItems200ResponseInner). Proceeding to the next one if any." + } + + # try to match AccessItemAccountResponse defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToAccessItemAccountResponse $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "AccessItemAccountResponse" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'AccessItemAccountResponse' defined in oneOf (V2024ListIdentityAccessItems200ResponseInner). Proceeding to the next one if any." + } + + # try to match AccessItemAppResponse defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToAccessItemAppResponse $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "AccessItemAppResponse" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'AccessItemAppResponse' defined in oneOf (V2024ListIdentityAccessItems200ResponseInner). Proceeding to the next one if any." + } + + # try to match AccessItemEntitlementResponse defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToAccessItemEntitlementResponse $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "AccessItemEntitlementResponse" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'AccessItemEntitlementResponse' defined in oneOf (V2024ListIdentityAccessItems200ResponseInner). Proceeding to the next one if any." + } + + # try to match AccessItemRoleResponse defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToAccessItemRoleResponse $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "AccessItemRoleResponse" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'AccessItemRoleResponse' defined in oneOf (V2024ListIdentityAccessItems200ResponseInner). Proceeding to the next one if any." + } + + if ($match -gt 1) { + throw "Error! The JSON payload matches more than one type defined in oneOf schemas ([AccessItemAccessProfileResponse, AccessItemAccountResponse, AccessItemAppResponse, AccessItemEntitlementResponse, AccessItemRoleResponse]). JSON Payload: $($Json)" + } elseif ($match -eq 1) { + return [PSCustomObject]@{ + "ActualType" = ${matchType} + "ActualInstance" = ${matchInstance} + "OneOfSchemas" = @("AccessItemAccessProfileResponse", "AccessItemAccountResponse", "AccessItemAppResponse", "AccessItemEntitlementResponse", "AccessItemRoleResponse") + } + } else { + throw "Error! The JSON payload doesn't matches any type defined in oneOf schemas ([AccessItemAccessProfileResponse, AccessItemAccountResponse, AccessItemAppResponse, AccessItemEntitlementResponse, AccessItemRoleResponse]). JSON Payload: $($Json)" + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ListPredefinedSelectOptionsResponse.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ListPredefinedSelectOptionsResponse.ps1 new file mode 100644 index 000000000..a396d667e --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ListPredefinedSelectOptionsResponse.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Results +Results holds a list of PreDefinedSelectOption items +.OUTPUTS + +ListPredefinedSelectOptionsResponse +#> + +function Initialize-V2024ListPredefinedSelectOptionsResponse { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Results} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ListPredefinedSelectOptionsResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "results" = ${Results} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ListPredefinedSelectOptionsResponse + +.DESCRIPTION + +Convert from JSON to ListPredefinedSelectOptionsResponse + +.PARAMETER Json + +Json object + +.OUTPUTS + +ListPredefinedSelectOptionsResponse +#> +function ConvertFrom-V2024JsonToListPredefinedSelectOptionsResponse { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ListPredefinedSelectOptionsResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ListPredefinedSelectOptionsResponse + $AllProperties = ("results") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "results"))) { #optional property not found + $Results = $null + } else { + $Results = $JsonParameters.PSobject.Properties["results"].value + } + + $PSO = [PSCustomObject]@{ + "results" = ${Results} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ListWorkgroupMembers200ResponseInner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ListWorkgroupMembers200ResponseInner.ps1 new file mode 100644 index 000000000..8e0dff456 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ListWorkgroupMembers200ResponseInner.ps1 @@ -0,0 +1,136 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Identity of workgroup member. + +.PARAMETER Type +Workgroup member identity DTO type. +.PARAMETER Id +Workgroup member identity ID. +.PARAMETER Name +Workgroup member identity display name. +.PARAMETER Email +Workgroup member identity email. +.OUTPUTS + +ListWorkgroupMembers200ResponseInner +#> + +function Initialize-V2024ListWorkgroupMembers200ResponseInner { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Email} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ListWorkgroupMembers200ResponseInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + "email" = ${Email} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ListWorkgroupMembers200ResponseInner + +.DESCRIPTION + +Convert from JSON to ListWorkgroupMembers200ResponseInner + +.PARAMETER Json + +Json object + +.OUTPUTS + +ListWorkgroupMembers200ResponseInner +#> +function ConvertFrom-V2024JsonToListWorkgroupMembers200ResponseInner { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ListWorkgroupMembers200ResponseInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ListWorkgroupMembers200ResponseInner + $AllProperties = ("type", "id", "name", "email") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "email"))) { #optional property not found + $Email = $null + } else { + $Email = $JsonParameters.PSobject.Properties["email"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + "email" = ${Email} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/LoadAccountsTask.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/LoadAccountsTask.ps1 new file mode 100644 index 000000000..adb7027c2 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/LoadAccountsTask.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Success +The status of the result +.PARAMETER Task +No description available. +.OUTPUTS + +LoadAccountsTask +#> + +function Initialize-V2024LoadAccountsTask { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Success} = $true, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Task} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024LoadAccountsTask' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "success" = ${Success} + "task" = ${Task} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to LoadAccountsTask + +.DESCRIPTION + +Convert from JSON to LoadAccountsTask + +.PARAMETER Json + +Json object + +.OUTPUTS + +LoadAccountsTask +#> +function ConvertFrom-V2024JsonToLoadAccountsTask { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024LoadAccountsTask' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024LoadAccountsTask + $AllProperties = ("success", "task") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "success"))) { #optional property not found + $Success = $null + } else { + $Success = $JsonParameters.PSobject.Properties["success"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "task"))) { #optional property not found + $Task = $null + } else { + $Task = $JsonParameters.PSobject.Properties["task"].value + } + + $PSO = [PSCustomObject]@{ + "success" = ${Success} + "task" = ${Task} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/LoadAccountsTaskTask.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/LoadAccountsTaskTask.ps1 new file mode 100644 index 000000000..3eb26dd59 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/LoadAccountsTaskTask.ps1 @@ -0,0 +1,266 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +System-generated unique ID of the task this taskStatus represents +.PARAMETER Type +Type of task this task represents +.PARAMETER Name +The name of the aggregation process +.PARAMETER Description +The description of the task +.PARAMETER Launcher +The user who initiated the task +.PARAMETER Created +The Task creation date +.PARAMETER Launched +The task start date +.PARAMETER Completed +The task completion date +.PARAMETER CompletionStatus +Task completion status. +.PARAMETER ParentName +Name of the parent task if exists. +.PARAMETER Messages +List of the messages dedicated to the report. From task definition perspective here usually should be warnings or errors. +.PARAMETER Progress +Current task state. +.PARAMETER Attributes +No description available. +.PARAMETER Returns +Return values from the task +.OUTPUTS + +LoadAccountsTaskTask +#> + +function Initialize-V2024LoadAccountsTaskTask { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Launcher}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Launched}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Completed}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("SUCCESS", "WARNING", "ERROR", "TERMINATED", "TEMP_ERROR")] + [String] + ${CompletionStatus}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ParentName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Messages}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Progress}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Attributes}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Returns} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024LoadAccountsTaskTask' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + "name" = ${Name} + "description" = ${Description} + "launcher" = ${Launcher} + "created" = ${Created} + "launched" = ${Launched} + "completed" = ${Completed} + "completionStatus" = ${CompletionStatus} + "parentName" = ${ParentName} + "messages" = ${Messages} + "progress" = ${Progress} + "attributes" = ${Attributes} + "returns" = ${Returns} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to LoadAccountsTaskTask + +.DESCRIPTION + +Convert from JSON to LoadAccountsTaskTask + +.PARAMETER Json + +Json object + +.OUTPUTS + +LoadAccountsTaskTask +#> +function ConvertFrom-V2024JsonToLoadAccountsTaskTask { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024LoadAccountsTaskTask' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024LoadAccountsTaskTask + $AllProperties = ("id", "type", "name", "description", "launcher", "created", "launched", "completed", "completionStatus", "parentName", "messages", "progress", "attributes", "returns") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "launcher"))) { #optional property not found + $Launcher = $null + } else { + $Launcher = $JsonParameters.PSobject.Properties["launcher"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "launched"))) { #optional property not found + $Launched = $null + } else { + $Launched = $JsonParameters.PSobject.Properties["launched"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "completed"))) { #optional property not found + $Completed = $null + } else { + $Completed = $JsonParameters.PSobject.Properties["completed"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "completionStatus"))) { #optional property not found + $CompletionStatus = $null + } else { + $CompletionStatus = $JsonParameters.PSobject.Properties["completionStatus"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "parentName"))) { #optional property not found + $ParentName = $null + } else { + $ParentName = $JsonParameters.PSobject.Properties["parentName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "messages"))) { #optional property not found + $Messages = $null + } else { + $Messages = $JsonParameters.PSobject.Properties["messages"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "progress"))) { #optional property not found + $Progress = $null + } else { + $Progress = $JsonParameters.PSobject.Properties["progress"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributes"))) { #optional property not found + $Attributes = $null + } else { + $Attributes = $JsonParameters.PSobject.Properties["attributes"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "returns"))) { #optional property not found + $Returns = $null + } else { + $Returns = $JsonParameters.PSobject.Properties["returns"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + "name" = ${Name} + "description" = ${Description} + "launcher" = ${Launcher} + "created" = ${Created} + "launched" = ${Launched} + "completed" = ${Completed} + "completionStatus" = ${CompletionStatus} + "parentName" = ${ParentName} + "messages" = ${Messages} + "progress" = ${Progress} + "attributes" = ${Attributes} + "returns" = ${Returns} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/LoadAccountsTaskTaskAttributes.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/LoadAccountsTaskTaskAttributes.ps1 new file mode 100644 index 000000000..fad56ceb3 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/LoadAccountsTaskTaskAttributes.ps1 @@ -0,0 +1,112 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Extra attributes map(dictionary) for the task. + +.PARAMETER AppId +The id of the source +.PARAMETER OptimizedAggregation +The indicator if the aggregation process was enabled/disabled for the aggregation job +.OUTPUTS + +LoadAccountsTaskTaskAttributes +#> + +function Initialize-V2024LoadAccountsTaskTaskAttributes { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AppId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${OptimizedAggregation} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024LoadAccountsTaskTaskAttributes' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "appId" = ${AppId} + "optimizedAggregation" = ${OptimizedAggregation} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to LoadAccountsTaskTaskAttributes + +.DESCRIPTION + +Convert from JSON to LoadAccountsTaskTaskAttributes + +.PARAMETER Json + +Json object + +.OUTPUTS + +LoadAccountsTaskTaskAttributes +#> +function ConvertFrom-V2024JsonToLoadAccountsTaskTaskAttributes { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024LoadAccountsTaskTaskAttributes' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + $V2024LoadAccountsTaskTaskAttributesAdditionalProperties = @{} + + # check if Json contains properties not defined in V2024LoadAccountsTaskTaskAttributes + $AllProperties = ("appId", "optimizedAggregation") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + # store undefined properties in additionalProperties + if (!($AllProperties.Contains($name))) { + $V2024LoadAccountsTaskTaskAttributesAdditionalProperties[$name] = $JsonParameters.PSobject.Properties[$name].value + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "appId"))) { #optional property not found + $AppId = $null + } else { + $AppId = $JsonParameters.PSobject.Properties["appId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "optimizedAggregation"))) { #optional property not found + $OptimizedAggregation = $null + } else { + $OptimizedAggregation = $JsonParameters.PSobject.Properties["optimizedAggregation"].value + } + + $PSO = [PSCustomObject]@{ + "appId" = ${AppId} + "optimizedAggregation" = ${OptimizedAggregation} + "AdditionalProperties" = $V2024LoadAccountsTaskTaskAttributesAdditionalProperties + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/LoadAccountsTaskTaskMessagesInner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/LoadAccountsTaskTaskMessagesInner.ps1 new file mode 100644 index 000000000..d4d475e3e --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/LoadAccountsTaskTaskMessagesInner.ps1 @@ -0,0 +1,149 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Type +Type of the message. +.PARAMETER VarError +Flag whether message is an error. +.PARAMETER Warning +Flag whether message is a warning. +.PARAMETER Key +Message string identifier. +.PARAMETER LocalizedText +Message context with the locale based language. +.OUTPUTS + +LoadAccountsTaskTaskMessagesInner +#> + +function Initialize-V2024LoadAccountsTaskTaskMessagesInner { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("INFO", "WARN", "ERROR")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${VarError} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Warning} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Key}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${LocalizedText} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024LoadAccountsTaskTaskMessagesInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "error" = ${VarError} + "warning" = ${Warning} + "key" = ${Key} + "localizedText" = ${LocalizedText} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to LoadAccountsTaskTaskMessagesInner + +.DESCRIPTION + +Convert from JSON to LoadAccountsTaskTaskMessagesInner + +.PARAMETER Json + +Json object + +.OUTPUTS + +LoadAccountsTaskTaskMessagesInner +#> +function ConvertFrom-V2024JsonToLoadAccountsTaskTaskMessagesInner { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024LoadAccountsTaskTaskMessagesInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024LoadAccountsTaskTaskMessagesInner + $AllProperties = ("type", "error", "warning", "key", "localizedText") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "error"))) { #optional property not found + $VarError = $null + } else { + $VarError = $JsonParameters.PSobject.Properties["error"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "warning"))) { #optional property not found + $Warning = $null + } else { + $Warning = $JsonParameters.PSobject.Properties["warning"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "key"))) { #optional property not found + $Key = $null + } else { + $Key = $JsonParameters.PSobject.Properties["key"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "localizedText"))) { #optional property not found + $LocalizedText = $null + } else { + $LocalizedText = $JsonParameters.PSobject.Properties["localizedText"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "error" = ${VarError} + "warning" = ${Warning} + "key" = ${Key} + "localizedText" = ${LocalizedText} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/LoadAccountsTaskTaskReturnsInner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/LoadAccountsTaskTaskReturnsInner.ps1 new file mode 100644 index 000000000..f5c245d35 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/LoadAccountsTaskTaskReturnsInner.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER DisplayLabel +The display label of the return value +.PARAMETER AttributeName +The attribute name of the return value +.OUTPUTS + +LoadAccountsTaskTaskReturnsInner +#> + +function Initialize-V2024LoadAccountsTaskTaskReturnsInner { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${DisplayLabel}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AttributeName} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024LoadAccountsTaskTaskReturnsInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "displayLabel" = ${DisplayLabel} + "attributeName" = ${AttributeName} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to LoadAccountsTaskTaskReturnsInner + +.DESCRIPTION + +Convert from JSON to LoadAccountsTaskTaskReturnsInner + +.PARAMETER Json + +Json object + +.OUTPUTS + +LoadAccountsTaskTaskReturnsInner +#> +function ConvertFrom-V2024JsonToLoadAccountsTaskTaskReturnsInner { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024LoadAccountsTaskTaskReturnsInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024LoadAccountsTaskTaskReturnsInner + $AllProperties = ("displayLabel", "attributeName") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "displayLabel"))) { #optional property not found + $DisplayLabel = $null + } else { + $DisplayLabel = $JsonParameters.PSobject.Properties["displayLabel"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributeName"))) { #optional property not found + $AttributeName = $null + } else { + $AttributeName = $JsonParameters.PSobject.Properties["attributeName"].value + } + + $PSO = [PSCustomObject]@{ + "displayLabel" = ${DisplayLabel} + "attributeName" = ${AttributeName} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/LoadEntitlementTask.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/LoadEntitlementTask.ps1 new file mode 100644 index 000000000..e75b5a82f --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/LoadEntitlementTask.ps1 @@ -0,0 +1,174 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +System-generated unique ID of the task this taskStatus represents +.PARAMETER Type +Type of task this task represents +.PARAMETER UniqueName +The name of the task +.PARAMETER Description +The description of the task +.PARAMETER Launcher +The user who initiated the task +.PARAMETER Created +The creation date of the task +.PARAMETER Returns +Return values from the task +.OUTPUTS + +LoadEntitlementTask +#> + +function Initialize-V2024LoadEntitlementTask { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${UniqueName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Launcher}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Returns} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024LoadEntitlementTask' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + "uniqueName" = ${UniqueName} + "description" = ${Description} + "launcher" = ${Launcher} + "created" = ${Created} + "returns" = ${Returns} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to LoadEntitlementTask + +.DESCRIPTION + +Convert from JSON to LoadEntitlementTask + +.PARAMETER Json + +Json object + +.OUTPUTS + +LoadEntitlementTask +#> +function ConvertFrom-V2024JsonToLoadEntitlementTask { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024LoadEntitlementTask' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024LoadEntitlementTask + $AllProperties = ("id", "type", "uniqueName", "description", "launcher", "created", "returns") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "uniqueName"))) { #optional property not found + $UniqueName = $null + } else { + $UniqueName = $JsonParameters.PSobject.Properties["uniqueName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "launcher"))) { #optional property not found + $Launcher = $null + } else { + $Launcher = $JsonParameters.PSobject.Properties["launcher"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "returns"))) { #optional property not found + $Returns = $null + } else { + $Returns = $JsonParameters.PSobject.Properties["returns"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + "uniqueName" = ${UniqueName} + "description" = ${Description} + "launcher" = ${Launcher} + "created" = ${Created} + "returns" = ${Returns} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/LoadEntitlementTaskReturnsInner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/LoadEntitlementTaskReturnsInner.ps1 new file mode 100644 index 000000000..05fbb8eca --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/LoadEntitlementTaskReturnsInner.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER DisplayLabel +The display label for the return value +.PARAMETER AttributeName +The attribute name for the return value +.OUTPUTS + +LoadEntitlementTaskReturnsInner +#> + +function Initialize-V2024LoadEntitlementTaskReturnsInner { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${DisplayLabel}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AttributeName} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024LoadEntitlementTaskReturnsInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "displayLabel" = ${DisplayLabel} + "attributeName" = ${AttributeName} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to LoadEntitlementTaskReturnsInner + +.DESCRIPTION + +Convert from JSON to LoadEntitlementTaskReturnsInner + +.PARAMETER Json + +Json object + +.OUTPUTS + +LoadEntitlementTaskReturnsInner +#> +function ConvertFrom-V2024JsonToLoadEntitlementTaskReturnsInner { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024LoadEntitlementTaskReturnsInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024LoadEntitlementTaskReturnsInner + $AllProperties = ("displayLabel", "attributeName") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "displayLabel"))) { #optional property not found + $DisplayLabel = $null + } else { + $DisplayLabel = $JsonParameters.PSobject.Properties["displayLabel"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributeName"))) { #optional property not found + $AttributeName = $null + } else { + $AttributeName = $JsonParameters.PSobject.Properties["attributeName"].value + } + + $PSO = [PSCustomObject]@{ + "displayLabel" = ${DisplayLabel} + "attributeName" = ${AttributeName} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/LoadUncorrelatedAccountsTask.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/LoadUncorrelatedAccountsTask.ps1 new file mode 100644 index 000000000..e8c263021 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/LoadUncorrelatedAccountsTask.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Success +The status of the result +.PARAMETER Task +No description available. +.OUTPUTS + +LoadUncorrelatedAccountsTask +#> + +function Initialize-V2024LoadUncorrelatedAccountsTask { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Success} = $true, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Task} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024LoadUncorrelatedAccountsTask' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "success" = ${Success} + "task" = ${Task} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to LoadUncorrelatedAccountsTask + +.DESCRIPTION + +Convert from JSON to LoadUncorrelatedAccountsTask + +.PARAMETER Json + +Json object + +.OUTPUTS + +LoadUncorrelatedAccountsTask +#> +function ConvertFrom-V2024JsonToLoadUncorrelatedAccountsTask { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024LoadUncorrelatedAccountsTask' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024LoadUncorrelatedAccountsTask + $AllProperties = ("success", "task") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "success"))) { #optional property not found + $Success = $null + } else { + $Success = $JsonParameters.PSobject.Properties["success"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "task"))) { #optional property not found + $Task = $null + } else { + $Task = $JsonParameters.PSobject.Properties["task"].value + } + + $PSO = [PSCustomObject]@{ + "success" = ${Success} + "task" = ${Task} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/LoadUncorrelatedAccountsTaskTask.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/LoadUncorrelatedAccountsTaskTask.ps1 new file mode 100644 index 000000000..e136bfbd3 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/LoadUncorrelatedAccountsTaskTask.ps1 @@ -0,0 +1,266 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +System-generated unique ID of the task this taskStatus represents +.PARAMETER Type +Type of task this task represents +.PARAMETER Name +The name of uncorrelated accounts process +.PARAMETER Description +The description of the task +.PARAMETER Launcher +The user who initiated the task +.PARAMETER Created +The Task creation date +.PARAMETER Launched +The task start date +.PARAMETER Completed +The task completion date +.PARAMETER CompletionStatus +Task completion status. +.PARAMETER ParentName +Name of the parent task if exists. +.PARAMETER Messages +List of the messages dedicated to the report. From task definition perspective here usually should be warnings or errors. +.PARAMETER Progress +Current task state. +.PARAMETER Attributes +No description available. +.PARAMETER Returns +Return values from the task +.OUTPUTS + +LoadUncorrelatedAccountsTaskTask +#> + +function Initialize-V2024LoadUncorrelatedAccountsTaskTask { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Launcher}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Launched}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Completed}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("SUCCESS", "WARNING", "ERROR", "TERMINATED", "TEMP_ERROR")] + [String] + ${CompletionStatus}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ParentName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Messages}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Progress}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Attributes}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Returns} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024LoadUncorrelatedAccountsTaskTask' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + "name" = ${Name} + "description" = ${Description} + "launcher" = ${Launcher} + "created" = ${Created} + "launched" = ${Launched} + "completed" = ${Completed} + "completionStatus" = ${CompletionStatus} + "parentName" = ${ParentName} + "messages" = ${Messages} + "progress" = ${Progress} + "attributes" = ${Attributes} + "returns" = ${Returns} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to LoadUncorrelatedAccountsTaskTask + +.DESCRIPTION + +Convert from JSON to LoadUncorrelatedAccountsTaskTask + +.PARAMETER Json + +Json object + +.OUTPUTS + +LoadUncorrelatedAccountsTaskTask +#> +function ConvertFrom-V2024JsonToLoadUncorrelatedAccountsTaskTask { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024LoadUncorrelatedAccountsTaskTask' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024LoadUncorrelatedAccountsTaskTask + $AllProperties = ("id", "type", "name", "description", "launcher", "created", "launched", "completed", "completionStatus", "parentName", "messages", "progress", "attributes", "returns") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "launcher"))) { #optional property not found + $Launcher = $null + } else { + $Launcher = $JsonParameters.PSobject.Properties["launcher"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "launched"))) { #optional property not found + $Launched = $null + } else { + $Launched = $JsonParameters.PSobject.Properties["launched"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "completed"))) { #optional property not found + $Completed = $null + } else { + $Completed = $JsonParameters.PSobject.Properties["completed"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "completionStatus"))) { #optional property not found + $CompletionStatus = $null + } else { + $CompletionStatus = $JsonParameters.PSobject.Properties["completionStatus"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "parentName"))) { #optional property not found + $ParentName = $null + } else { + $ParentName = $JsonParameters.PSobject.Properties["parentName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "messages"))) { #optional property not found + $Messages = $null + } else { + $Messages = $JsonParameters.PSobject.Properties["messages"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "progress"))) { #optional property not found + $Progress = $null + } else { + $Progress = $JsonParameters.PSobject.Properties["progress"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributes"))) { #optional property not found + $Attributes = $null + } else { + $Attributes = $JsonParameters.PSobject.Properties["attributes"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "returns"))) { #optional property not found + $Returns = $null + } else { + $Returns = $JsonParameters.PSobject.Properties["returns"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + "name" = ${Name} + "description" = ${Description} + "launcher" = ${Launcher} + "created" = ${Created} + "launched" = ${Launched} + "completed" = ${Completed} + "completionStatus" = ${CompletionStatus} + "parentName" = ${ParentName} + "messages" = ${Messages} + "progress" = ${Progress} + "attributes" = ${Attributes} + "returns" = ${Returns} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/LoadUncorrelatedAccountsTaskTaskAttributes.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/LoadUncorrelatedAccountsTaskTaskAttributes.ps1 new file mode 100644 index 000000000..d62fab3a3 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/LoadUncorrelatedAccountsTaskTaskAttributes.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Extra attributes map(dictionary) for the task. + +.PARAMETER QpocJobId +The id of qpoc job +.PARAMETER TaskStartDelay +the task start delay value +.OUTPUTS + +LoadUncorrelatedAccountsTaskTaskAttributes +#> + +function Initialize-V2024LoadUncorrelatedAccountsTaskTaskAttributes { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${QpocJobId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${TaskStartDelay} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024LoadUncorrelatedAccountsTaskTaskAttributes' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "qpocJobId" = ${QpocJobId} + "taskStartDelay" = ${TaskStartDelay} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to LoadUncorrelatedAccountsTaskTaskAttributes + +.DESCRIPTION + +Convert from JSON to LoadUncorrelatedAccountsTaskTaskAttributes + +.PARAMETER Json + +Json object + +.OUTPUTS + +LoadUncorrelatedAccountsTaskTaskAttributes +#> +function ConvertFrom-V2024JsonToLoadUncorrelatedAccountsTaskTaskAttributes { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024LoadUncorrelatedAccountsTaskTaskAttributes' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024LoadUncorrelatedAccountsTaskTaskAttributes + $AllProperties = ("qpocJobId", "taskStartDelay") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "qpocJobId"))) { #optional property not found + $QpocJobId = $null + } else { + $QpocJobId = $JsonParameters.PSobject.Properties["qpocJobId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "taskStartDelay"))) { #optional property not found + $TaskStartDelay = $null + } else { + $TaskStartDelay = $JsonParameters.PSobject.Properties["taskStartDelay"].value + } + + $PSO = [PSCustomObject]@{ + "qpocJobId" = ${QpocJobId} + "taskStartDelay" = ${TaskStartDelay} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/LoadUncorrelatedAccountsTaskTaskMessagesInner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/LoadUncorrelatedAccountsTaskTaskMessagesInner.ps1 new file mode 100644 index 000000000..4c4dbded1 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/LoadUncorrelatedAccountsTaskTaskMessagesInner.ps1 @@ -0,0 +1,149 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Type +Type of the message. +.PARAMETER VarError +Flag whether message is an error. +.PARAMETER Warning +Flag whether message is a warning. +.PARAMETER Key +Message string identifier. +.PARAMETER LocalizedText +Message context with the locale based language. +.OUTPUTS + +LoadUncorrelatedAccountsTaskTaskMessagesInner +#> + +function Initialize-V2024LoadUncorrelatedAccountsTaskTaskMessagesInner { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("INFO", "WARN", "ERROR")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${VarError} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Warning} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Key}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${LocalizedText} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024LoadUncorrelatedAccountsTaskTaskMessagesInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "error" = ${VarError} + "warning" = ${Warning} + "key" = ${Key} + "localizedText" = ${LocalizedText} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to LoadUncorrelatedAccountsTaskTaskMessagesInner + +.DESCRIPTION + +Convert from JSON to LoadUncorrelatedAccountsTaskTaskMessagesInner + +.PARAMETER Json + +Json object + +.OUTPUTS + +LoadUncorrelatedAccountsTaskTaskMessagesInner +#> +function ConvertFrom-V2024JsonToLoadUncorrelatedAccountsTaskTaskMessagesInner { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024LoadUncorrelatedAccountsTaskTaskMessagesInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024LoadUncorrelatedAccountsTaskTaskMessagesInner + $AllProperties = ("type", "error", "warning", "key", "localizedText") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "error"))) { #optional property not found + $VarError = $null + } else { + $VarError = $JsonParameters.PSobject.Properties["error"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "warning"))) { #optional property not found + $Warning = $null + } else { + $Warning = $JsonParameters.PSobject.Properties["warning"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "key"))) { #optional property not found + $Key = $null + } else { + $Key = $JsonParameters.PSobject.Properties["key"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "localizedText"))) { #optional property not found + $LocalizedText = $null + } else { + $LocalizedText = $JsonParameters.PSobject.Properties["localizedText"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "error" = ${VarError} + "warning" = ${Warning} + "key" = ${Key} + "localizedText" = ${LocalizedText} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/LocaleOrigin.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/LocaleOrigin.ps1 new file mode 100644 index 000000000..292555920 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/LocaleOrigin.ps1 @@ -0,0 +1,26 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum LocaleOrigin. + +.DESCRIPTION + +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. +#> + +enum LocaleOrigin { + # enum value: "DEFAULT" + DEFAULT + # enum value: "REQUEST" + REQUEST + # enum value: "null" + null +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/LocalizedMessage.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/LocalizedMessage.ps1 new file mode 100644 index 000000000..a48f1846e --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/LocalizedMessage.ps1 @@ -0,0 +1,121 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Localized error message to indicate a failed invocation or error if any. + +.PARAMETER Locale +Message locale +.PARAMETER Message +Message text +.OUTPUTS + +LocalizedMessage +#> + +function Initialize-V2024LocalizedMessage { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Locale}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Message} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024LocalizedMessage' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Locale) { + throw "invalid value for 'Locale', 'Locale' cannot be null." + } + + if (!$Message) { + throw "invalid value for 'Message', 'Message' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "locale" = ${Locale} + "message" = ${Message} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to LocalizedMessage + +.DESCRIPTION + +Convert from JSON to LocalizedMessage + +.PARAMETER Json + +Json object + +.OUTPUTS + +LocalizedMessage +#> +function ConvertFrom-V2024JsonToLocalizedMessage { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024LocalizedMessage' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024LocalizedMessage + $AllProperties = ("locale", "message") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'locale' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "locale"))) { + throw "Error! JSON cannot be serialized due to the required property 'locale' missing." + } else { + $Locale = $JsonParameters.PSobject.Properties["locale"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "message"))) { + throw "Error! JSON cannot be serialized due to the required property 'message' missing." + } else { + $Message = $JsonParameters.PSobject.Properties["message"].value + } + + $PSO = [PSCustomObject]@{ + "locale" = ${Locale} + "message" = ${Message} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Lookup.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Lookup.ps1 new file mode 100644 index 000000000..6feb47181 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Lookup.ps1 @@ -0,0 +1,130 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Table +This is a JSON object of key-value pairs. The key is the string that will attempt to be matched to the input, and the value is the output string that should be returned if the key is matched >**Note** the use of the optional default key value here; if none of the three countries in the above example match the input string, the transform will return ""Unknown Region"" for the attribute that is mapped to this transform. +.PARAMETER RequiresPeriodicRefresh +A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process +.PARAMETER VarInput +This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI. +.OUTPUTS + +Lookup +#> + +function Initialize-V2024Lookup { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${Table}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${RequiresPeriodicRefresh} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${VarInput} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Lookup' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Table) { + throw "invalid value for 'Table', 'Table' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "table" = ${Table} + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + "input" = ${VarInput} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Lookup + +.DESCRIPTION + +Convert from JSON to Lookup + +.PARAMETER Json + +Json object + +.OUTPUTS + +Lookup +#> +function ConvertFrom-V2024JsonToLookup { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Lookup' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Lookup + $AllProperties = ("table", "requiresPeriodicRefresh", "input") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'table' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "table"))) { + throw "Error! JSON cannot be serialized due to the required property 'table' missing." + } else { + $Table = $JsonParameters.PSobject.Properties["table"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requiresPeriodicRefresh"))) { #optional property not found + $RequiresPeriodicRefresh = $null + } else { + $RequiresPeriodicRefresh = $JsonParameters.PSobject.Properties["requiresPeriodicRefresh"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "input"))) { #optional property not found + $VarInput = $null + } else { + $VarInput = $JsonParameters.PSobject.Properties["input"].value + } + + $PSO = [PSCustomObject]@{ + "table" = ${Table} + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + "input" = ${VarInput} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/LookupStep.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/LookupStep.ps1 new file mode 100644 index 000000000..2c11eaa4a --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/LookupStep.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +The definition of an Identity according to the Reassignment Configuration service + +.PARAMETER ReassignedToId +The ID of the Identity who work is reassigned to +.PARAMETER ReassignedFromId +The ID of the Identity who work is reassigned from +.PARAMETER ReassignmentType +No description available. +.OUTPUTS + +LookupStep +#> + +function Initialize-V2024LookupStep { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ReassignedToId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ReassignedFromId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("MANUAL_REASSIGNMENT,", "AUTOMATIC_REASSIGNMENT,", "AUTO_ESCALATION,", "SELF_REVIEW_DELEGATION")] + [PSCustomObject] + ${ReassignmentType} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024LookupStep' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "reassignedToId" = ${ReassignedToId} + "reassignedFromId" = ${ReassignedFromId} + "reassignmentType" = ${ReassignmentType} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to LookupStep + +.DESCRIPTION + +Convert from JSON to LookupStep + +.PARAMETER Json + +Json object + +.OUTPUTS + +LookupStep +#> +function ConvertFrom-V2024JsonToLookupStep { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024LookupStep' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024LookupStep + $AllProperties = ("reassignedToId", "reassignedFromId", "reassignmentType") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "reassignedToId"))) { #optional property not found + $ReassignedToId = $null + } else { + $ReassignedToId = $JsonParameters.PSobject.Properties["reassignedToId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "reassignedFromId"))) { #optional property not found + $ReassignedFromId = $null + } else { + $ReassignedFromId = $JsonParameters.PSobject.Properties["reassignedFromId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "reassignmentType"))) { #optional property not found + $ReassignmentType = $null + } else { + $ReassignmentType = $JsonParameters.PSobject.Properties["reassignmentType"].value + } + + $PSO = [PSCustomObject]@{ + "reassignedToId" = ${ReassignedToId} + "reassignedFromId" = ${ReassignedFromId} + "reassignmentType" = ${ReassignmentType} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Lower.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Lower.ps1 new file mode 100644 index 000000000..330e5e008 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Lower.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER RequiresPeriodicRefresh +A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process +.PARAMETER VarInput +This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI. +.OUTPUTS + +Lower +#> + +function Initialize-V2024Lower { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${RequiresPeriodicRefresh} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${VarInput} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Lower' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + "input" = ${VarInput} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Lower + +.DESCRIPTION + +Convert from JSON to Lower + +.PARAMETER Json + +Json object + +.OUTPUTS + +Lower +#> +function ConvertFrom-V2024JsonToLower { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Lower' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Lower + $AllProperties = ("requiresPeriodicRefresh", "input") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requiresPeriodicRefresh"))) { #optional property not found + $RequiresPeriodicRefresh = $null + } else { + $RequiresPeriodicRefresh = $JsonParameters.PSobject.Properties["requiresPeriodicRefresh"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "input"))) { #optional property not found + $VarInput = $null + } else { + $VarInput = $JsonParameters.PSobject.Properties["input"].value + } + + $PSO = [PSCustomObject]@{ + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + "input" = ${VarInput} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/MailFromAttributes.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/MailFromAttributes.ps1 new file mode 100644 index 000000000..641b5cc90 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/MailFromAttributes.ps1 @@ -0,0 +1,149 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +MAIL FROM attributes for a domain / identity + +.PARAMETER Identity +The email identity +.PARAMETER MailFromDomain +The name of a domain that an email identity uses as a custom MAIL FROM domain +.PARAMETER MxRecord +MX record that is required in customer's DNS to allow the domain to receive bounce and complaint notifications that email providers send you +.PARAMETER TxtRecord +TXT record that is required in customer's DNS in order to prove that Amazon SES is authorized to send email from your domain +.PARAMETER MailFromDomainStatus +The current status of the MAIL FROM verification +.OUTPUTS + +MailFromAttributes +#> + +function Initialize-V2024MailFromAttributes { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Identity}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${MailFromDomain}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${MxRecord}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${TxtRecord}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("PENDING", "SUCCESS", "FAILED")] + [String] + ${MailFromDomainStatus} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024MailFromAttributes' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "identity" = ${Identity} + "mailFromDomain" = ${MailFromDomain} + "mxRecord" = ${MxRecord} + "txtRecord" = ${TxtRecord} + "mailFromDomainStatus" = ${MailFromDomainStatus} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to MailFromAttributes + +.DESCRIPTION + +Convert from JSON to MailFromAttributes + +.PARAMETER Json + +Json object + +.OUTPUTS + +MailFromAttributes +#> +function ConvertFrom-V2024JsonToMailFromAttributes { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024MailFromAttributes' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024MailFromAttributes + $AllProperties = ("identity", "mailFromDomain", "mxRecord", "txtRecord", "mailFromDomainStatus") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identity"))) { #optional property not found + $Identity = $null + } else { + $Identity = $JsonParameters.PSobject.Properties["identity"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "mailFromDomain"))) { #optional property not found + $MailFromDomain = $null + } else { + $MailFromDomain = $JsonParameters.PSobject.Properties["mailFromDomain"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "mxRecord"))) { #optional property not found + $MxRecord = $null + } else { + $MxRecord = $JsonParameters.PSobject.Properties["mxRecord"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "txtRecord"))) { #optional property not found + $TxtRecord = $null + } else { + $TxtRecord = $JsonParameters.PSobject.Properties["txtRecord"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "mailFromDomainStatus"))) { #optional property not found + $MailFromDomainStatus = $null + } else { + $MailFromDomainStatus = $JsonParameters.PSobject.Properties["mailFromDomainStatus"].value + } + + $PSO = [PSCustomObject]@{ + "identity" = ${Identity} + "mailFromDomain" = ${MailFromDomain} + "mxRecord" = ${MxRecord} + "txtRecord" = ${TxtRecord} + "mailFromDomainStatus" = ${MailFromDomainStatus} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/MailFromAttributesDto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/MailFromAttributesDto.ps1 new file mode 100644 index 000000000..68f3aa828 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/MailFromAttributesDto.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +MAIL FROM attributes for a domain / identity + +.PARAMETER Identity +The identity or domain address +.PARAMETER MailFromDomain +The new MAIL FROM domain of the identity. Must be a subdomain of the identity. +.OUTPUTS + +MailFromAttributesDto +#> + +function Initialize-V2024MailFromAttributesDto { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Identity}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${MailFromDomain} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024MailFromAttributesDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "identity" = ${Identity} + "mailFromDomain" = ${MailFromDomain} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to MailFromAttributesDto + +.DESCRIPTION + +Convert from JSON to MailFromAttributesDto + +.PARAMETER Json + +Json object + +.OUTPUTS + +MailFromAttributesDto +#> +function ConvertFrom-V2024JsonToMailFromAttributesDto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024MailFromAttributesDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024MailFromAttributesDto + $AllProperties = ("identity", "mailFromDomain") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identity"))) { #optional property not found + $Identity = $null + } else { + $Identity = $JsonParameters.PSobject.Properties["identity"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "mailFromDomain"))) { #optional property not found + $MailFromDomain = $null + } else { + $MailFromDomain = $JsonParameters.PSobject.Properties["mailFromDomain"].value + } + + $PSO = [PSCustomObject]@{ + "identity" = ${Identity} + "mailFromDomain" = ${MailFromDomain} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ManagedClient.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ManagedClient.ps1 new file mode 100644 index 000000000..e652e4dd9 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ManagedClient.ps1 @@ -0,0 +1,316 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Managed Client + +.PARAMETER ApiGatewayBaseUrl +No description available. +.PARAMETER Cookbook +No description available. +.PARAMETER CcId +Previous CC ID to be used in data migration. (This field will be deleted after CC migration!) +.PARAMETER ClientId +The client ID used in API management +.PARAMETER ClusterId +Cluster ID that the ManagedClient is linked to +.PARAMETER Description +ManagedClient description +.PARAMETER Name +ManagedClient name +.PARAMETER Type +Type of the ManagedClient (VA, CCG) +.PARAMETER Secret +Client's apiKey +.PARAMETER CreatedAt +The date/time this ManagedClient was created +.PARAMETER UpdatedAt +The date/time this ManagedClient was last updated +.OUTPUTS + +ManagedClient +#> + +function Initialize-V2024ManagedClient { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ApiGatewayBaseUrl}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Cookbook}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int64]] + ${CcId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ClientId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ClusterId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description} = "", + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} = "VA-$clientId", + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Secret}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${CreatedAt}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${UpdatedAt} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ManagedClient' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$ClientId) { + throw "invalid value for 'ClientId', 'ClientId' cannot be null." + } + + if (!$ClusterId) { + throw "invalid value for 'ClusterId', 'ClusterId' cannot be null." + } + + if (!$Description) { + throw "invalid value for 'Description', 'Description' cannot be null." + } + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "apiGatewayBaseUrl" = ${ApiGatewayBaseUrl} + "cookbook" = ${Cookbook} + "ccId" = ${CcId} + "clientId" = ${ClientId} + "clusterId" = ${ClusterId} + "description" = ${Description} + "name" = ${Name} + "type" = ${Type} + "secret" = ${Secret} + "createdAt" = ${CreatedAt} + "updatedAt" = ${UpdatedAt} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ManagedClient + +.DESCRIPTION + +Convert from JSON to ManagedClient + +.PARAMETER Json + +Json object + +.OUTPUTS + +ManagedClient +#> +function ConvertFrom-V2024JsonToManagedClient { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ManagedClient' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ManagedClient + $AllProperties = ("id", "alertKey", "apiGatewayBaseUrl", "cookbook", "ccId", "clientId", "clusterId", "description", "ipAddress", "lastSeen", "name", "sinceLastSeen", "status", "type", "clusterType", "vaDownloadUrl", "vaVersion", "secret", "createdAt", "updatedAt", "provisionStatus") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'clientId' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "clientId"))) { + throw "Error! JSON cannot be serialized due to the required property 'clientId' missing." + } else { + $ClientId = $JsonParameters.PSobject.Properties["clientId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "clusterId"))) { + throw "Error! JSON cannot be serialized due to the required property 'clusterId' missing." + } else { + $ClusterId = $JsonParameters.PSobject.Properties["clusterId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { + throw "Error! JSON cannot be serialized due to the required property 'description' missing." + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "alertKey"))) { #optional property not found + $AlertKey = $null + } else { + $AlertKey = $JsonParameters.PSobject.Properties["alertKey"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "apiGatewayBaseUrl"))) { #optional property not found + $ApiGatewayBaseUrl = $null + } else { + $ApiGatewayBaseUrl = $JsonParameters.PSobject.Properties["apiGatewayBaseUrl"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "cookbook"))) { #optional property not found + $Cookbook = $null + } else { + $Cookbook = $JsonParameters.PSobject.Properties["cookbook"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "ccId"))) { #optional property not found + $CcId = $null + } else { + $CcId = $JsonParameters.PSobject.Properties["ccId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "ipAddress"))) { #optional property not found + $IpAddress = $null + } else { + $IpAddress = $JsonParameters.PSobject.Properties["ipAddress"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "lastSeen"))) { #optional property not found + $LastSeen = $null + } else { + $LastSeen = $JsonParameters.PSobject.Properties["lastSeen"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sinceLastSeen"))) { #optional property not found + $SinceLastSeen = $null + } else { + $SinceLastSeen = $JsonParameters.PSobject.Properties["sinceLastSeen"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { #optional property not found + $Status = $null + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "clusterType"))) { #optional property not found + $ClusterType = $null + } else { + $ClusterType = $JsonParameters.PSobject.Properties["clusterType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "vaDownloadUrl"))) { #optional property not found + $VaDownloadUrl = $null + } else { + $VaDownloadUrl = $JsonParameters.PSobject.Properties["vaDownloadUrl"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "vaVersion"))) { #optional property not found + $VaVersion = $null + } else { + $VaVersion = $JsonParameters.PSobject.Properties["vaVersion"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "secret"))) { #optional property not found + $Secret = $null + } else { + $Secret = $JsonParameters.PSobject.Properties["secret"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "createdAt"))) { #optional property not found + $CreatedAt = $null + } else { + $CreatedAt = $JsonParameters.PSobject.Properties["createdAt"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "updatedAt"))) { #optional property not found + $UpdatedAt = $null + } else { + $UpdatedAt = $JsonParameters.PSobject.Properties["updatedAt"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "provisionStatus"))) { #optional property not found + $ProvisionStatus = $null + } else { + $ProvisionStatus = $JsonParameters.PSobject.Properties["provisionStatus"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "alertKey" = ${AlertKey} + "apiGatewayBaseUrl" = ${ApiGatewayBaseUrl} + "cookbook" = ${Cookbook} + "ccId" = ${CcId} + "clientId" = ${ClientId} + "clusterId" = ${ClusterId} + "description" = ${Description} + "ipAddress" = ${IpAddress} + "lastSeen" = ${LastSeen} + "name" = ${Name} + "sinceLastSeen" = ${SinceLastSeen} + "status" = ${Status} + "type" = ${Type} + "clusterType" = ${ClusterType} + "vaDownloadUrl" = ${VaDownloadUrl} + "vaVersion" = ${VaVersion} + "secret" = ${Secret} + "createdAt" = ${CreatedAt} + "updatedAt" = ${UpdatedAt} + "provisionStatus" = ${ProvisionStatus} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ManagedClientRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ManagedClientRequest.ps1 new file mode 100644 index 000000000..56ca1cc1a --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ManagedClientRequest.ps1 @@ -0,0 +1,143 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Managed Client Request + +.PARAMETER ClusterId +Cluster ID that the ManagedClient is linked to +.PARAMETER Description +description for the ManagedClient to create +.PARAMETER Name +name for the ManagedClient to create +.PARAMETER Type +Type of the ManagedClient (VA, CCG) to create +.OUTPUTS + +ManagedClientRequest +#> + +function Initialize-V2024ManagedClientRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ClusterId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Type} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ManagedClientRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$ClusterId) { + throw "invalid value for 'ClusterId', 'ClusterId' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "clusterId" = ${ClusterId} + "description" = ${Description} + "name" = ${Name} + "type" = ${Type} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ManagedClientRequest + +.DESCRIPTION + +Convert from JSON to ManagedClientRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +ManagedClientRequest +#> +function ConvertFrom-V2024JsonToManagedClientRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ManagedClientRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ManagedClientRequest + $AllProperties = ("clusterId", "description", "name", "type") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'clusterId' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "clusterId"))) { + throw "Error! JSON cannot be serialized due to the required property 'clusterId' missing." + } else { + $ClusterId = $JsonParameters.PSobject.Properties["clusterId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + $PSO = [PSCustomObject]@{ + "clusterId" = ${ClusterId} + "description" = ${Description} + "name" = ${Name} + "type" = ${Type} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ManagedClientStatus.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ManagedClientStatus.ps1 new file mode 100644 index 000000000..8c922c4d9 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ManagedClientStatus.ps1 @@ -0,0 +1,153 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Managed Client Status + +.PARAMETER Body +ManagedClientStatus body information +.PARAMETER Status +No description available. +.PARAMETER Type +No description available. +.PARAMETER Timestamp +timestamp on the Client Status update +.OUTPUTS + +ManagedClientStatus +#> + +function Initialize-V2024ManagedClientStatus { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Body}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("NORMAL", "UNDEFINED", "NOT_CONFIGURED", "CONFIGURING", "WARNING", "ERROR", "FAILED")] + [PSCustomObject] + ${Status}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("CCG", "VA", "INTERNAL", "IIQ_HARVESTER", "")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.DateTime] + ${Timestamp} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ManagedClientStatus' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Body) { + throw "invalid value for 'Body', 'Body' cannot be null." + } + + if (!$Status) { + throw "invalid value for 'Status', 'Status' cannot be null." + } + + if (!$Timestamp) { + throw "invalid value for 'Timestamp', 'Timestamp' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "body" = ${Body} + "status" = ${Status} + "type" = ${Type} + "timestamp" = ${Timestamp} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ManagedClientStatus + +.DESCRIPTION + +Convert from JSON to ManagedClientStatus + +.PARAMETER Json + +Json object + +.OUTPUTS + +ManagedClientStatus +#> +function ConvertFrom-V2024JsonToManagedClientStatus { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ManagedClientStatus' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ManagedClientStatus + $AllProperties = ("body", "status", "type", "timestamp") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'body' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "body"))) { + throw "Error! JSON cannot be serialized due to the required property 'body' missing." + } else { + $Body = $JsonParameters.PSobject.Properties["body"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { + throw "Error! JSON cannot be serialized due to the required property 'status' missing." + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "timestamp"))) { + throw "Error! JSON cannot be serialized due to the required property 'timestamp' missing." + } else { + $Timestamp = $JsonParameters.PSobject.Properties["timestamp"].value + } + + $PSO = [PSCustomObject]@{ + "body" = ${Body} + "status" = ${Status} + "type" = ${Type} + "timestamp" = ${Timestamp} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ManagedClientStatusCode.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ManagedClientStatusCode.ps1 new file mode 100644 index 000000000..78d8637f5 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ManagedClientStatusCode.ps1 @@ -0,0 +1,34 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum ManagedClientStatusCode. + +.DESCRIPTION + +Status of a Managed Client +#> + +enum ManagedClientStatusCode { + # enum value: "NORMAL" + NORMAL + # enum value: "UNDEFINED" + UNDEFINED + # enum value: "NOT_CONFIGURED" + NOT_CONFIGURED + # enum value: "CONFIGURING" + CONFIGURING + # enum value: "WARNING" + WARNING + # enum value: "ERROR" + ERROR + # enum value: "FAILED" + FAILED +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ManagedClientType.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ManagedClientType.ps1 new file mode 100644 index 000000000..9b94ed1bf --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ManagedClientType.ps1 @@ -0,0 +1,30 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum ManagedClientType. + +.DESCRIPTION + +Managed Client type +#> + +enum ManagedClientType { + # enum value: "CCG" + CCG + # enum value: "VA" + VA + # enum value: "INTERNAL" + INTERNAL + # enum value: "IIQ_HARVESTER" + IIQ_HARVESTER + # enum value: "null" + null +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ManagedCluster.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ManagedCluster.ps1 new file mode 100644 index 000000000..3de4ebd17 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ManagedCluster.ps1 @@ -0,0 +1,422 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Managed Cluster + +.PARAMETER Id +ManagedCluster ID +.PARAMETER Name +ManagedCluster name +.PARAMETER Pod +ManagedCluster pod +.PARAMETER Org +ManagedCluster org +.PARAMETER Type +No description available. +.PARAMETER Configuration +ManagedProcess configuration map +.PARAMETER KeyPair +No description available. +.PARAMETER Attributes +No description available. +.PARAMETER Description +ManagedCluster description +.PARAMETER Redis +No description available. +.PARAMETER ClientType +No description available. +.PARAMETER CcgVersion +CCG version used by the ManagedCluster +.PARAMETER PinnedConfig +boolean flag indiacting whether or not the cluster configuration is pinned +.PARAMETER LogConfiguration +No description available. +.PARAMETER Operational +Whether or not the cluster is operational or not +.PARAMETER Status +Cluster status +.PARAMETER PublicKeyCertificate +Public key certificate +.PARAMETER PublicKeyThumbprint +Public key thumbprint +.PARAMETER PublicKey +Public key +.PARAMETER AlertKey +Key describing any immediate cluster alerts +.PARAMETER ClientIds +List of clients in a cluster +.PARAMETER ServiceCount +Number of services bound to a cluster +.PARAMETER CcId +CC ID only used in calling CC, will be removed without notice when Migration to CEGS is finished +.PARAMETER CreatedAt +The date/time this cluster was created +.PARAMETER UpdatedAt +The date/time this cluster was last updated +.OUTPUTS + +ManagedCluster +#> + +function Initialize-V2024ManagedCluster { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Pod}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Org}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("idn", "iai")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${Configuration}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${KeyPair}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Attributes}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description} = "q", + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Redis}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("CCG", "VA", "INTERNAL", "IIQ_HARVESTER", "")] + [PSCustomObject] + ${ClientType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${CcgVersion}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${PinnedConfig} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${LogConfiguration}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Operational} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Status}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${PublicKeyCertificate}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${PublicKeyThumbprint}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${PublicKey}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AlertKey}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${ClientIds}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${ServiceCount} = 0, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${CcId} = "0", + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${CreatedAt}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${UpdatedAt} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ManagedCluster' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$CcgVersion) { + throw "invalid value for 'CcgVersion', 'CcgVersion' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "pod" = ${Pod} + "org" = ${Org} + "type" = ${Type} + "configuration" = ${Configuration} + "keyPair" = ${KeyPair} + "attributes" = ${Attributes} + "description" = ${Description} + "redis" = ${Redis} + "clientType" = ${ClientType} + "ccgVersion" = ${CcgVersion} + "pinnedConfig" = ${PinnedConfig} + "logConfiguration" = ${LogConfiguration} + "operational" = ${Operational} + "status" = ${Status} + "publicKeyCertificate" = ${PublicKeyCertificate} + "publicKeyThumbprint" = ${PublicKeyThumbprint} + "publicKey" = ${PublicKey} + "alertKey" = ${AlertKey} + "clientIds" = ${ClientIds} + "serviceCount" = ${ServiceCount} + "ccId" = ${CcId} + "createdAt" = ${CreatedAt} + "updatedAt" = ${UpdatedAt} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ManagedCluster + +.DESCRIPTION + +Convert from JSON to ManagedCluster + +.PARAMETER Json + +Json object + +.OUTPUTS + +ManagedCluster +#> +function ConvertFrom-V2024JsonToManagedCluster { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ManagedCluster' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ManagedCluster + $AllProperties = ("id", "name", "pod", "org", "type", "configuration", "keyPair", "attributes", "description", "redis", "clientType", "ccgVersion", "pinnedConfig", "logConfiguration", "operational", "status", "publicKeyCertificate", "publicKeyThumbprint", "publicKey", "alertKey", "clientIds", "serviceCount", "ccId", "createdAt", "updatedAt") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'id' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "clientType"))) { + throw "Error! JSON cannot be serialized due to the required property 'clientType' missing." + } else { + $ClientType = $JsonParameters.PSobject.Properties["clientType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "ccgVersion"))) { + throw "Error! JSON cannot be serialized due to the required property 'ccgVersion' missing." + } else { + $CcgVersion = $JsonParameters.PSobject.Properties["ccgVersion"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "pod"))) { #optional property not found + $Pod = $null + } else { + $Pod = $JsonParameters.PSobject.Properties["pod"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "org"))) { #optional property not found + $Org = $null + } else { + $Org = $JsonParameters.PSobject.Properties["org"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "configuration"))) { #optional property not found + $Configuration = $null + } else { + $Configuration = $JsonParameters.PSobject.Properties["configuration"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "keyPair"))) { #optional property not found + $KeyPair = $null + } else { + $KeyPair = $JsonParameters.PSobject.Properties["keyPair"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributes"))) { #optional property not found + $Attributes = $null + } else { + $Attributes = $JsonParameters.PSobject.Properties["attributes"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "redis"))) { #optional property not found + $Redis = $null + } else { + $Redis = $JsonParameters.PSobject.Properties["redis"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "pinnedConfig"))) { #optional property not found + $PinnedConfig = $null + } else { + $PinnedConfig = $JsonParameters.PSobject.Properties["pinnedConfig"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "logConfiguration"))) { #optional property not found + $LogConfiguration = $null + } else { + $LogConfiguration = $JsonParameters.PSobject.Properties["logConfiguration"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "operational"))) { #optional property not found + $Operational = $null + } else { + $Operational = $JsonParameters.PSobject.Properties["operational"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { #optional property not found + $Status = $null + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "publicKeyCertificate"))) { #optional property not found + $PublicKeyCertificate = $null + } else { + $PublicKeyCertificate = $JsonParameters.PSobject.Properties["publicKeyCertificate"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "publicKeyThumbprint"))) { #optional property not found + $PublicKeyThumbprint = $null + } else { + $PublicKeyThumbprint = $JsonParameters.PSobject.Properties["publicKeyThumbprint"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "publicKey"))) { #optional property not found + $PublicKey = $null + } else { + $PublicKey = $JsonParameters.PSobject.Properties["publicKey"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "alertKey"))) { #optional property not found + $AlertKey = $null + } else { + $AlertKey = $JsonParameters.PSobject.Properties["alertKey"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "clientIds"))) { #optional property not found + $ClientIds = $null + } else { + $ClientIds = $JsonParameters.PSobject.Properties["clientIds"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "serviceCount"))) { #optional property not found + $ServiceCount = $null + } else { + $ServiceCount = $JsonParameters.PSobject.Properties["serviceCount"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "ccId"))) { #optional property not found + $CcId = $null + } else { + $CcId = $JsonParameters.PSobject.Properties["ccId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "createdAt"))) { #optional property not found + $CreatedAt = $null + } else { + $CreatedAt = $JsonParameters.PSobject.Properties["createdAt"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "updatedAt"))) { #optional property not found + $UpdatedAt = $null + } else { + $UpdatedAt = $JsonParameters.PSobject.Properties["updatedAt"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "pod" = ${Pod} + "org" = ${Org} + "type" = ${Type} + "configuration" = ${Configuration} + "keyPair" = ${KeyPair} + "attributes" = ${Attributes} + "description" = ${Description} + "redis" = ${Redis} + "clientType" = ${ClientType} + "ccgVersion" = ${CcgVersion} + "pinnedConfig" = ${PinnedConfig} + "logConfiguration" = ${LogConfiguration} + "operational" = ${Operational} + "status" = ${Status} + "publicKeyCertificate" = ${PublicKeyCertificate} + "publicKeyThumbprint" = ${PublicKeyThumbprint} + "publicKey" = ${PublicKey} + "alertKey" = ${AlertKey} + "clientIds" = ${ClientIds} + "serviceCount" = ${ServiceCount} + "ccId" = ${CcId} + "createdAt" = ${CreatedAt} + "updatedAt" = ${UpdatedAt} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ManagedClusterAttributes.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ManagedClusterAttributes.ps1 new file mode 100644 index 000000000..341dad41a --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ManagedClusterAttributes.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Managed Cluster Attributes for Cluster Configuration. Supported Cluster Types [sqsCluster, spConnectCluster] + +.PARAMETER Queue +No description available. +.PARAMETER Keystore +ManagedCluster keystore for spConnectCluster type +.OUTPUTS + +ManagedClusterAttributes +#> + +function Initialize-V2024ManagedClusterAttributes { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Queue}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Keystore} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ManagedClusterAttributes' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "queue" = ${Queue} + "keystore" = ${Keystore} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ManagedClusterAttributes + +.DESCRIPTION + +Convert from JSON to ManagedClusterAttributes + +.PARAMETER Json + +Json object + +.OUTPUTS + +ManagedClusterAttributes +#> +function ConvertFrom-V2024JsonToManagedClusterAttributes { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ManagedClusterAttributes' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ManagedClusterAttributes + $AllProperties = ("queue", "keystore") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "queue"))) { #optional property not found + $Queue = $null + } else { + $Queue = $JsonParameters.PSobject.Properties["queue"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "keystore"))) { #optional property not found + $Keystore = $null + } else { + $Keystore = $JsonParameters.PSobject.Properties["keystore"].value + } + + $PSO = [PSCustomObject]@{ + "queue" = ${Queue} + "keystore" = ${Keystore} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ManagedClusterKeyPair.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ManagedClusterKeyPair.ps1 new file mode 100644 index 000000000..bad3d50d0 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ManagedClusterKeyPair.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Managed Cluster key pair for Cluster + +.PARAMETER PublicKey +ManagedCluster publicKey +.PARAMETER PublicKeyThumbprint +ManagedCluster publicKeyThumbprint +.PARAMETER PublicKeyCertificate +ManagedCluster publicKeyCertificate +.OUTPUTS + +ManagedClusterKeyPair +#> + +function Initialize-V2024ManagedClusterKeyPair { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${PublicKey}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${PublicKeyThumbprint}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${PublicKeyCertificate} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ManagedClusterKeyPair' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "publicKey" = ${PublicKey} + "publicKeyThumbprint" = ${PublicKeyThumbprint} + "publicKeyCertificate" = ${PublicKeyCertificate} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ManagedClusterKeyPair + +.DESCRIPTION + +Convert from JSON to ManagedClusterKeyPair + +.PARAMETER Json + +Json object + +.OUTPUTS + +ManagedClusterKeyPair +#> +function ConvertFrom-V2024JsonToManagedClusterKeyPair { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ManagedClusterKeyPair' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ManagedClusterKeyPair + $AllProperties = ("publicKey", "publicKeyThumbprint", "publicKeyCertificate") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "publicKey"))) { #optional property not found + $PublicKey = $null + } else { + $PublicKey = $JsonParameters.PSobject.Properties["publicKey"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "publicKeyThumbprint"))) { #optional property not found + $PublicKeyThumbprint = $null + } else { + $PublicKeyThumbprint = $JsonParameters.PSobject.Properties["publicKeyThumbprint"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "publicKeyCertificate"))) { #optional property not found + $PublicKeyCertificate = $null + } else { + $PublicKeyCertificate = $JsonParameters.PSobject.Properties["publicKeyCertificate"].value + } + + $PSO = [PSCustomObject]@{ + "publicKey" = ${PublicKey} + "publicKeyThumbprint" = ${PublicKeyThumbprint} + "publicKeyCertificate" = ${PublicKeyCertificate} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ManagedClusterQueue.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ManagedClusterQueue.ps1 new file mode 100644 index 000000000..3b6f91aaf --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ManagedClusterQueue.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Managed Cluster key pair for Cluster + +.PARAMETER Name +ManagedCluster queue name +.PARAMETER Region +ManagedCluster queue aws region +.OUTPUTS + +ManagedClusterQueue +#> + +function Initialize-V2024ManagedClusterQueue { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Region} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ManagedClusterQueue' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "region" = ${Region} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ManagedClusterQueue + +.DESCRIPTION + +Convert from JSON to ManagedClusterQueue + +.PARAMETER Json + +Json object + +.OUTPUTS + +ManagedClusterQueue +#> +function ConvertFrom-V2024JsonToManagedClusterQueue { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ManagedClusterQueue' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ManagedClusterQueue + $AllProperties = ("name", "region") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "region"))) { #optional property not found + $Region = $null + } else { + $Region = $JsonParameters.PSobject.Properties["region"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "region" = ${Region} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ManagedClusterRedis.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ManagedClusterRedis.ps1 new file mode 100644 index 000000000..81e5a2b3c --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ManagedClusterRedis.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Managed Cluster Redis Configuration + +.PARAMETER RedisHost +ManagedCluster redisHost +.PARAMETER RedisPort +ManagedCluster redisPort +.OUTPUTS + +ManagedClusterRedis +#> + +function Initialize-V2024ManagedClusterRedis { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${RedisHost}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${RedisPort} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ManagedClusterRedis' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "redisHost" = ${RedisHost} + "redisPort" = ${RedisPort} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ManagedClusterRedis + +.DESCRIPTION + +Convert from JSON to ManagedClusterRedis + +.PARAMETER Json + +Json object + +.OUTPUTS + +ManagedClusterRedis +#> +function ConvertFrom-V2024JsonToManagedClusterRedis { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ManagedClusterRedis' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ManagedClusterRedis + $AllProperties = ("redisHost", "redisPort") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "redisHost"))) { #optional property not found + $RedisHost = $null + } else { + $RedisHost = $JsonParameters.PSobject.Properties["redisHost"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "redisPort"))) { #optional property not found + $RedisPort = $null + } else { + $RedisPort = $JsonParameters.PSobject.Properties["redisPort"].value + } + + $PSO = [PSCustomObject]@{ + "redisHost" = ${RedisHost} + "redisPort" = ${RedisPort} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ManagedClusterRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ManagedClusterRequest.ps1 new file mode 100644 index 000000000..12892189e --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ManagedClusterRequest.ps1 @@ -0,0 +1,144 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Request to create Managed Cluster + +.PARAMETER Name +ManagedCluster name +.PARAMETER Type +No description available. +.PARAMETER Configuration +ManagedProcess configuration map +.PARAMETER Description +ManagedCluster description +.OUTPUTS + +ManagedClusterRequest +#> + +function Initialize-V2024ManagedClusterRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("idn", "iai")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${Configuration}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ManagedClusterRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "type" = ${Type} + "configuration" = ${Configuration} + "description" = ${Description} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ManagedClusterRequest + +.DESCRIPTION + +Convert from JSON to ManagedClusterRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +ManagedClusterRequest +#> +function ConvertFrom-V2024JsonToManagedClusterRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ManagedClusterRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ManagedClusterRequest + $AllProperties = ("name", "type", "configuration", "description") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'name' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "configuration"))) { #optional property not found + $Configuration = $null + } else { + $Configuration = $JsonParameters.PSobject.Properties["configuration"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "type" = ${Type} + "configuration" = ${Configuration} + "description" = ${Description} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ManagedClusterTypes.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ManagedClusterTypes.ps1 new file mode 100644 index 000000000..e6414bb37 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ManagedClusterTypes.ps1 @@ -0,0 +1,24 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum ManagedClusterTypes. + +.DESCRIPTION + +The Type of Cluster +#> + +enum ManagedClusterTypes { + # enum value: "idn" + idn + # enum value: "iai" + iai +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ManagerCorrelationMapping.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ManagerCorrelationMapping.ps1 new file mode 100644 index 000000000..1a774a969 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ManagerCorrelationMapping.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER AccountAttributeName +Name of the attribute to use for manager correlation. The value found on the account attribute will be used to lookup the manager's identity. +.PARAMETER IdentityAttributeName +Name of the identity attribute to search when trying to find a manager using the value from the accountAttribute. +.OUTPUTS + +ManagerCorrelationMapping +#> + +function Initialize-V2024ManagerCorrelationMapping { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AccountAttributeName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${IdentityAttributeName} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ManagerCorrelationMapping' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "accountAttributeName" = ${AccountAttributeName} + "identityAttributeName" = ${IdentityAttributeName} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ManagerCorrelationMapping + +.DESCRIPTION + +Convert from JSON to ManagerCorrelationMapping + +.PARAMETER Json + +Json object + +.OUTPUTS + +ManagerCorrelationMapping +#> +function ConvertFrom-V2024JsonToManagerCorrelationMapping { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ManagerCorrelationMapping' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ManagerCorrelationMapping + $AllProperties = ("accountAttributeName", "identityAttributeName") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accountAttributeName"))) { #optional property not found + $AccountAttributeName = $null + } else { + $AccountAttributeName = $JsonParameters.PSobject.Properties["accountAttributeName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityAttributeName"))) { #optional property not found + $IdentityAttributeName = $null + } else { + $IdentityAttributeName = $JsonParameters.PSobject.Properties["identityAttributeName"].value + } + + $PSO = [PSCustomObject]@{ + "accountAttributeName" = ${AccountAttributeName} + "identityAttributeName" = ${IdentityAttributeName} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ManualDiscoverApplications.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ManualDiscoverApplications.ps1 new file mode 100644 index 000000000..489bcab96 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ManualDiscoverApplications.ps1 @@ -0,0 +1,104 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER File +The CSV file to upload containing `application_name` and `description` columns. Each row represents an application to be discovered. +.OUTPUTS + +ManualDiscoverApplications +#> + +function Initialize-V2024ManualDiscoverApplications { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.IO.FileInfo] + ${File} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ManualDiscoverApplications' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$File) { + throw "invalid value for 'File', 'File' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "file" = ${File} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ManualDiscoverApplications + +.DESCRIPTION + +Convert from JSON to ManualDiscoverApplications + +.PARAMETER Json + +Json object + +.OUTPUTS + +ManualDiscoverApplications +#> +function ConvertFrom-V2024JsonToManualDiscoverApplications { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ManualDiscoverApplications' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ManualDiscoverApplications + $AllProperties = ("file") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'file' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "file"))) { + throw "Error! JSON cannot be serialized due to the required property 'file' missing." + } else { + $File = $JsonParameters.PSobject.Properties["file"].value + } + + $PSO = [PSCustomObject]@{ + "file" = ${File} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ManualDiscoverApplicationsTemplate.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ManualDiscoverApplicationsTemplate.ps1 new file mode 100644 index 000000000..36c6c7fdb --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ManualDiscoverApplicationsTemplate.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER ApplicationName +Name of the application. +.PARAMETER Description +Description of the application. +.OUTPUTS + +ManualDiscoverApplicationsTemplate +#> + +function Initialize-V2024ManualDiscoverApplicationsTemplate { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ApplicationName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ManualDiscoverApplicationsTemplate' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "application_name" = ${ApplicationName} + "description" = ${Description} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ManualDiscoverApplicationsTemplate + +.DESCRIPTION + +Convert from JSON to ManualDiscoverApplicationsTemplate + +.PARAMETER Json + +Json object + +.OUTPUTS + +ManualDiscoverApplicationsTemplate +#> +function ConvertFrom-V2024JsonToManualDiscoverApplicationsTemplate { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ManualDiscoverApplicationsTemplate' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ManualDiscoverApplicationsTemplate + $AllProperties = ("application_name", "description") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "application_name"))) { #optional property not found + $ApplicationName = $null + } else { + $ApplicationName = $JsonParameters.PSobject.Properties["application_name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + $PSO = [PSCustomObject]@{ + "application_name" = ${ApplicationName} + "description" = ${Description} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ManualWorkItemDetails.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ManualWorkItemDetails.ps1 new file mode 100644 index 000000000..4d8c7a7a6 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ManualWorkItemDetails.ps1 @@ -0,0 +1,162 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Forwarded +True if the request for this item was forwarded from one owner to another. +.PARAMETER OriginalOwner +No description available. +.PARAMETER CurrentOwner +No description available. +.PARAMETER Modified +Time at which item was modified. +.PARAMETER Status +No description available. +.PARAMETER ForwardHistory +The history of approval forward action. +.OUTPUTS + +ManualWorkItemDetails +#> + +function Initialize-V2024ManualWorkItemDetails { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Forwarded} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${OriginalOwner}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${CurrentOwner}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Modified}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("PENDING", "APPROVED", "REJECTED", "EXPIRED", "CANCELLED", "ARCHIVED")] + [PSCustomObject] + ${Status}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${ForwardHistory} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ManualWorkItemDetails' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "forwarded" = ${Forwarded} + "originalOwner" = ${OriginalOwner} + "currentOwner" = ${CurrentOwner} + "modified" = ${Modified} + "status" = ${Status} + "forwardHistory" = ${ForwardHistory} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ManualWorkItemDetails + +.DESCRIPTION + +Convert from JSON to ManualWorkItemDetails + +.PARAMETER Json + +Json object + +.OUTPUTS + +ManualWorkItemDetails +#> +function ConvertFrom-V2024JsonToManualWorkItemDetails { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ManualWorkItemDetails' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ManualWorkItemDetails + $AllProperties = ("forwarded", "originalOwner", "currentOwner", "modified", "status", "forwardHistory") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "forwarded"))) { #optional property not found + $Forwarded = $null + } else { + $Forwarded = $JsonParameters.PSobject.Properties["forwarded"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "originalOwner"))) { #optional property not found + $OriginalOwner = $null + } else { + $OriginalOwner = $JsonParameters.PSobject.Properties["originalOwner"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "currentOwner"))) { #optional property not found + $CurrentOwner = $null + } else { + $CurrentOwner = $JsonParameters.PSobject.Properties["currentOwner"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { #optional property not found + $Status = $null + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "forwardHistory"))) { #optional property not found + $ForwardHistory = $null + } else { + $ForwardHistory = $JsonParameters.PSobject.Properties["forwardHistory"].value + } + + $PSO = [PSCustomObject]@{ + "forwarded" = ${Forwarded} + "originalOwner" = ${OriginalOwner} + "currentOwner" = ${CurrentOwner} + "modified" = ${Modified} + "status" = ${Status} + "forwardHistory" = ${ForwardHistory} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ManualWorkItemDetailsCurrentOwner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ManualWorkItemDetailsCurrentOwner.ps1 new file mode 100644 index 000000000..04363b10d --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ManualWorkItemDetailsCurrentOwner.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Identity of current work item owner. + +.PARAMETER Type +DTO type of current work item owner's identity. +.PARAMETER Id +ID of current work item owner's identity. +.PARAMETER Name +Display name of current work item owner. +.OUTPUTS + +ManualWorkItemDetailsCurrentOwner +#> + +function Initialize-V2024ManualWorkItemDetailsCurrentOwner { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("GOVERNANCE_GROUP", "IDENTITY")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ManualWorkItemDetailsCurrentOwner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ManualWorkItemDetailsCurrentOwner + +.DESCRIPTION + +Convert from JSON to ManualWorkItemDetailsCurrentOwner + +.PARAMETER Json + +Json object + +.OUTPUTS + +ManualWorkItemDetailsCurrentOwner +#> +function ConvertFrom-V2024JsonToManualWorkItemDetailsCurrentOwner { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ManualWorkItemDetailsCurrentOwner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ManualWorkItemDetailsCurrentOwner + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ManualWorkItemDetailsOriginalOwner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ManualWorkItemDetailsOriginalOwner.ps1 new file mode 100644 index 000000000..58ea735a8 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ManualWorkItemDetailsOriginalOwner.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Identity of original work item owner, if the work item has been forwarded. + +.PARAMETER Type +DTO type of original work item owner's identity. +.PARAMETER Id +ID of original work item owner's identity. +.PARAMETER Name +Display name of original work item owner. +.OUTPUTS + +ManualWorkItemDetailsOriginalOwner +#> + +function Initialize-V2024ManualWorkItemDetailsOriginalOwner { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("GOVERNANCE_GROUP", "IDENTITY")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ManualWorkItemDetailsOriginalOwner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ManualWorkItemDetailsOriginalOwner + +.DESCRIPTION + +Convert from JSON to ManualWorkItemDetailsOriginalOwner + +.PARAMETER Json + +Json object + +.OUTPUTS + +ManualWorkItemDetailsOriginalOwner +#> +function ConvertFrom-V2024JsonToManualWorkItemDetailsOriginalOwner { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ManualWorkItemDetailsOriginalOwner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ManualWorkItemDetailsOriginalOwner + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ManualWorkItemState.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ManualWorkItemState.ps1 new file mode 100644 index 000000000..363e6459d --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ManualWorkItemState.ps1 @@ -0,0 +1,32 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum ManualWorkItemState. + +.DESCRIPTION + +Indicates the state of the request processing for this item: * PENDING: The request for this item is awaiting processing. * APPROVED: The request for this item has been approved. * REJECTED: The request for this item was rejected. * EXPIRED: The request for this item expired with no action taken. * CANCELLED: The request for this item was cancelled with no user action. * ARCHIVED: The request for this item has been archived after completion. +#> + +enum ManualWorkItemState { + # enum value: "PENDING" + PENDING + # enum value: "APPROVED" + APPROVED + # enum value: "REJECTED" + REJECTED + # enum value: "EXPIRED" + EXPIRED + # enum value: "CANCELLED" + CANCELLED + # enum value: "ARCHIVED" + ARCHIVED +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ManuallyUpdatedFieldsDTO.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ManuallyUpdatedFieldsDTO.ps1 new file mode 100644 index 000000000..8d564cfbc --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ManuallyUpdatedFieldsDTO.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER DISPLAYNAME +True if the entitlements name was updated manually via entitlement import csv or patch endpoint. False means that property value has not been change after first entitlement aggregation. Field refers to [Entitlement response schema](https://developer.sailpoint.com/idn/api/beta/get-entitlement) > `name` property. +.PARAMETER DESCRIPTION +True if the entitlement description was updated manually via entitlement import csv or patch endpoint. False means that property value has not been change after first entitlement aggregation. Field refers to [Entitlement response schema](https://developer.sailpoint.com/idn/api/beta/get-entitlement) > `description` property. +.OUTPUTS + +ManuallyUpdatedFieldsDTO +#> + +function Initialize-V2024ManuallyUpdatedFieldsDTO { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${DISPLAYNAME} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${DESCRIPTION} = $false + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ManuallyUpdatedFieldsDTO' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "DISPLAY_NAME" = ${DISPLAYNAME} + "DESCRIPTION" = ${DESCRIPTION} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ManuallyUpdatedFieldsDTO + +.DESCRIPTION + +Convert from JSON to ManuallyUpdatedFieldsDTO + +.PARAMETER Json + +Json object + +.OUTPUTS + +ManuallyUpdatedFieldsDTO +#> +function ConvertFrom-V2024JsonToManuallyUpdatedFieldsDTO { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ManuallyUpdatedFieldsDTO' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ManuallyUpdatedFieldsDTO + $AllProperties = ("DISPLAY_NAME", "DESCRIPTION") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "DISPLAY_NAME"))) { #optional property not found + $DISPLAYNAME = $null + } else { + $DISPLAYNAME = $JsonParameters.PSobject.Properties["DISPLAY_NAME"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "DESCRIPTION"))) { #optional property not found + $DESCRIPTION = $null + } else { + $DESCRIPTION = $JsonParameters.PSobject.Properties["DESCRIPTION"].value + } + + $PSO = [PSCustomObject]@{ + "DISPLAY_NAME" = ${DISPLAYNAME} + "DESCRIPTION" = ${DESCRIPTION} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Medium.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Medium.ps1 new file mode 100644 index 000000000..4c6205e1c --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Medium.ps1 @@ -0,0 +1,30 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum Medium. + +.DESCRIPTION + +No description available. +#> + +enum Medium { + # enum value: "EMAIL" + EMAIL + # enum value: "SMS" + SMS + # enum value: "PHONE" + PHONE + # enum value: "SLACK" + SLACK + # enum value: "TEAMS" + TEAMS +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/MetricAggregation.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/MetricAggregation.ps1 new file mode 100644 index 000000000..4b3a9ef46 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/MetricAggregation.ps1 @@ -0,0 +1,135 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +The calculation done on the results of the query + +.PARAMETER Name +The name of the metric aggregate to be included in the result. If the metric aggregation is omitted, the resulting aggregation will be a count of the documents in the search results. +.PARAMETER Type +No description available. +.PARAMETER Field +The field the calculation is performed on. Prefix the field name with '@' to reference a nested object. +.OUTPUTS + +MetricAggregation +#> + +function Initialize-V2024MetricAggregation { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("COUNT", "UNIQUE_COUNT", "AVG", "SUM", "MEDIAN", "MIN", "MAX")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Field} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024MetricAggregation' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if (!$Field) { + throw "invalid value for 'Field', 'Field' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "type" = ${Type} + "field" = ${Field} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to MetricAggregation + +.DESCRIPTION + +Convert from JSON to MetricAggregation + +.PARAMETER Json + +Json object + +.OUTPUTS + +MetricAggregation +#> +function ConvertFrom-V2024JsonToMetricAggregation { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024MetricAggregation' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024MetricAggregation + $AllProperties = ("name", "type", "field") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'name' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "field"))) { + throw "Error! JSON cannot be serialized due to the required property 'field' missing." + } else { + $Field = $JsonParameters.PSobject.Properties["field"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "type" = ${Type} + "field" = ${Field} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/MetricResponse.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/MetricResponse.ps1 new file mode 100644 index 000000000..715f0b019 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/MetricResponse.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Name +the name of metric +.PARAMETER Value +the value associated to the metric +.OUTPUTS + +MetricResponse +#> + +function Initialize-V2024MetricResponse { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Decimal]] + ${Value} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024MetricResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "value" = ${Value} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to MetricResponse + +.DESCRIPTION + +Convert from JSON to MetricResponse + +.PARAMETER Json + +Json object + +.OUTPUTS + +MetricResponse +#> +function ConvertFrom-V2024JsonToMetricResponse { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024MetricResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024MetricResponse + $AllProperties = ("name", "value") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "value"))) { #optional property not found + $Value = $null + } else { + $Value = $JsonParameters.PSobject.Properties["value"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "value" = ${Value} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/MetricType.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/MetricType.ps1 new file mode 100644 index 000000000..ef6ff61d7 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/MetricType.ps1 @@ -0,0 +1,34 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum MetricType. + +.DESCRIPTION + +Enum representing the currently supported metric aggregation types. Additional values may be added in the future without notice. +#> + +enum MetricType { + # enum value: "COUNT" + COUNT + # enum value: "UNIQUE_COUNT" + UNIQUE_COUNT + # enum value: "AVG" + AVG + # enum value: "SUM" + SUM + # enum value: "MEDIAN" + MEDIAN + # enum value: "MIN" + MIN + # enum value: "MAX" + MAX +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/MfaConfigTestResponse.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/MfaConfigTestResponse.ps1 new file mode 100644 index 000000000..26201931e --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/MfaConfigTestResponse.ps1 @@ -0,0 +1,97 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Response model for configuration test of a given MFA method + +.OUTPUTS + +MfaConfigTestResponse +#> + +function Initialize-V2024MfaConfigTestResponse { + [CmdletBinding()] + Param ( + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024MfaConfigTestResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to MfaConfigTestResponse + +.DESCRIPTION + +Convert from JSON to MfaConfigTestResponse + +.PARAMETER Json + +Json object + +.OUTPUTS + +MfaConfigTestResponse +#> +function ConvertFrom-V2024JsonToMfaConfigTestResponse { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024MfaConfigTestResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024MfaConfigTestResponse + $AllProperties = ("state", "error") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "state"))) { #optional property not found + $State = $null + } else { + $State = $JsonParameters.PSobject.Properties["state"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "error"))) { #optional property not found + $VarError = $null + } else { + $VarError = $JsonParameters.PSobject.Properties["error"].value + } + + $PSO = [PSCustomObject]@{ + "state" = ${State} + "error" = ${VarError} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/MfaDuoConfig.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/MfaDuoConfig.ps1 new file mode 100644 index 000000000..866b2aefe --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/MfaDuoConfig.ps1 @@ -0,0 +1,161 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER MfaMethod +Mfa method name +.PARAMETER Enabled +If MFA method is enabled. +.PARAMETER VarHost +The server host name or IP address of the MFA provider. +.PARAMETER AccessKey +The secret key for authenticating requests to the MFA provider. +.PARAMETER IdentityAttribute +Optional. The name of the attribute for mapping IdentityNow identity to the MFA provider. +.PARAMETER ConfigProperties +A map with additional config properties for the given MFA method - duo-web. +.OUTPUTS + +MfaDuoConfig +#> + +function Initialize-V2024MfaDuoConfig { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${MfaMethod}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Enabled} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${VarHost}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AccessKey}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${IdentityAttribute}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${ConfigProperties} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024MfaDuoConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "mfaMethod" = ${MfaMethod} + "enabled" = ${Enabled} + "host" = ${VarHost} + "accessKey" = ${AccessKey} + "identityAttribute" = ${IdentityAttribute} + "configProperties" = ${ConfigProperties} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to MfaDuoConfig + +.DESCRIPTION + +Convert from JSON to MfaDuoConfig + +.PARAMETER Json + +Json object + +.OUTPUTS + +MfaDuoConfig +#> +function ConvertFrom-V2024JsonToMfaDuoConfig { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024MfaDuoConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024MfaDuoConfig + $AllProperties = ("mfaMethod", "enabled", "host", "accessKey", "identityAttribute", "configProperties") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "mfaMethod"))) { #optional property not found + $MfaMethod = $null + } else { + $MfaMethod = $JsonParameters.PSobject.Properties["mfaMethod"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "enabled"))) { #optional property not found + $Enabled = $null + } else { + $Enabled = $JsonParameters.PSobject.Properties["enabled"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "host"))) { #optional property not found + $VarHost = $null + } else { + $VarHost = $JsonParameters.PSobject.Properties["host"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accessKey"))) { #optional property not found + $AccessKey = $null + } else { + $AccessKey = $JsonParameters.PSobject.Properties["accessKey"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityAttribute"))) { #optional property not found + $IdentityAttribute = $null + } else { + $IdentityAttribute = $JsonParameters.PSobject.Properties["identityAttribute"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "configProperties"))) { #optional property not found + $ConfigProperties = $null + } else { + $ConfigProperties = $JsonParameters.PSobject.Properties["configProperties"].value + } + + $PSO = [PSCustomObject]@{ + "mfaMethod" = ${MfaMethod} + "enabled" = ${Enabled} + "host" = ${VarHost} + "accessKey" = ${AccessKey} + "identityAttribute" = ${IdentityAttribute} + "configProperties" = ${ConfigProperties} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/MfaOktaConfig.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/MfaOktaConfig.ps1 new file mode 100644 index 000000000..b9121493e --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/MfaOktaConfig.ps1 @@ -0,0 +1,148 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER MfaMethod +Mfa method name +.PARAMETER Enabled +If MFA method is enabled. +.PARAMETER VarHost +The server host name or IP address of the MFA provider. +.PARAMETER AccessKey +The secret key for authenticating requests to the MFA provider. +.PARAMETER IdentityAttribute +Optional. The name of the attribute for mapping IdentityNow identity to the MFA provider. +.OUTPUTS + +MfaOktaConfig +#> + +function Initialize-V2024MfaOktaConfig { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${MfaMethod}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Enabled} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${VarHost}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AccessKey}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${IdentityAttribute} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024MfaOktaConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "mfaMethod" = ${MfaMethod} + "enabled" = ${Enabled} + "host" = ${VarHost} + "accessKey" = ${AccessKey} + "identityAttribute" = ${IdentityAttribute} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to MfaOktaConfig + +.DESCRIPTION + +Convert from JSON to MfaOktaConfig + +.PARAMETER Json + +Json object + +.OUTPUTS + +MfaOktaConfig +#> +function ConvertFrom-V2024JsonToMfaOktaConfig { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024MfaOktaConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024MfaOktaConfig + $AllProperties = ("mfaMethod", "enabled", "host", "accessKey", "identityAttribute") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "mfaMethod"))) { #optional property not found + $MfaMethod = $null + } else { + $MfaMethod = $JsonParameters.PSobject.Properties["mfaMethod"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "enabled"))) { #optional property not found + $Enabled = $null + } else { + $Enabled = $JsonParameters.PSobject.Properties["enabled"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "host"))) { #optional property not found + $VarHost = $null + } else { + $VarHost = $JsonParameters.PSobject.Properties["host"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accessKey"))) { #optional property not found + $AccessKey = $null + } else { + $AccessKey = $JsonParameters.PSobject.Properties["accessKey"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityAttribute"))) { #optional property not found + $IdentityAttribute = $null + } else { + $IdentityAttribute = $JsonParameters.PSobject.Properties["identityAttribute"].value + } + + $PSO = [PSCustomObject]@{ + "mfaMethod" = ${MfaMethod} + "enabled" = ${Enabled} + "host" = ${VarHost} + "accessKey" = ${AccessKey} + "identityAttribute" = ${IdentityAttribute} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ModelError.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ModelError.ps1 new file mode 100644 index 000000000..f5b013700 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ModelError.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER DetailCode +DetailCode is the text of the status code returned +.PARAMETER Messages +No description available. +.PARAMETER TrackingId +TrackingID is the request tracking unique identifier +.OUTPUTS + +ModelError +#> + +function Initialize-V2024ModelError { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${DetailCode}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Messages}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${TrackingId} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ModelError' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "detailCode" = ${DetailCode} + "messages" = ${Messages} + "trackingId" = ${TrackingId} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ModelError + +.DESCRIPTION + +Convert from JSON to ModelError + +.PARAMETER Json + +Json object + +.OUTPUTS + +ModelError +#> +function ConvertFrom-V2024JsonToModelError { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ModelError' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ModelError + $AllProperties = ("detailCode", "messages", "trackingId") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "detailCode"))) { #optional property not found + $DetailCode = $null + } else { + $DetailCode = $JsonParameters.PSobject.Properties["detailCode"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "messages"))) { #optional property not found + $Messages = $null + } else { + $Messages = $JsonParameters.PSobject.Properties["messages"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "trackingId"))) { #optional property not found + $TrackingId = $null + } else { + $TrackingId = $JsonParameters.PSobject.Properties["trackingId"].value + } + + $PSO = [PSCustomObject]@{ + "detailCode" = ${DetailCode} + "messages" = ${Messages} + "trackingId" = ${TrackingId} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ModelEvent.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ModelEvent.ps1 new file mode 100644 index 000000000..dafd6db68 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ModelEvent.ps1 @@ -0,0 +1,334 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Event + +.PARAMETER Id +No description available. +.PARAMETER Name +No description available. +.PARAMETER Type +No description available. +.PARAMETER Created +ISO-8601 date-time referring to the time when the object was created. +.PARAMETER Synced +ISO-8601 date-time referring to the date-time when object was queued to be synced into search database for use in the search API. This date-time changes anytime there is an update to the object, which triggers a synchronization event being sent to the search database. There may be some delay between the `synced` time and the time when the updated data is actually available in the search API. +.PARAMETER Action +Name of the event as it's displayed in audit reports. +.PARAMETER Type +Event type. Refer to [Event Types](https://documentation.sailpoint.com/saas/help/search/index.html#event-types) for a list of event types and their meanings. +.PARAMETER Actor +Name of the actor that generated the event. +.PARAMETER Target +Name of the target, or recipient, of the event. +.PARAMETER Stack +The event's stack. +.PARAMETER TrackingNumber +ID of the group of events. +.PARAMETER IpAddress +Target system's IP address. +.PARAMETER Details +ID of event's details. +.PARAMETER Attributes +Attributes involved in the event. +.PARAMETER Objects +Objects the event is happening to. +.PARAMETER Operation +Operation, or action, performed during the event. +.PARAMETER Status +Event status. Refer to [Event Statuses](https://documentation.sailpoint.com/saas/help/search/index.html#event-statuses) for a list of event statuses and their meanings. +.PARAMETER TechnicalName +Event's normalized name. This normalized name always follows the pattern of 'objects_operation_status'. +.OUTPUTS + +ModelEvent +#> + +function Initialize-V2024ModelEvent { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("accessprofile", "accountactivity", "account", "aggregation", "entitlement", "event", "identity", "role")] + [PSCustomObject] + ${DocumentType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Synced}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Action}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Actor}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Target}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Stack}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${TrackingNumber}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${IpAddress}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Details}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${Attributes}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Objects}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Operation}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Status}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${TechnicalName} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ModelEvent' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "_type" = ${DocumentType} + "created" = ${Created} + "synced" = ${Synced} + "action" = ${Action} + "type" = ${Type} + "actor" = ${Actor} + "target" = ${Target} + "stack" = ${Stack} + "trackingNumber" = ${TrackingNumber} + "ipAddress" = ${IpAddress} + "details" = ${Details} + "attributes" = ${Attributes} + "objects" = ${Objects} + "operation" = ${Operation} + "status" = ${Status} + "technicalName" = ${TechnicalName} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ModelEvent + +.DESCRIPTION + +Convert from JSON to ModelEvent + +.PARAMETER Json + +Json object + +.OUTPUTS + +ModelEvent +#> +function ConvertFrom-V2024JsonToModelEvent { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ModelEvent' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ModelEvent + $AllProperties = ("id", "name", "_type", "created", "synced", "action", "type", "actor", "target", "stack", "trackingNumber", "ipAddress", "details", "attributes", "objects", "operation", "status", "technicalName") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'id' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "_type"))) { + throw "Error! JSON cannot be serialized due to the required property '_type' missing." + } else { + $DocumentType = $JsonParameters.PSobject.Properties["_type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "synced"))) { #optional property not found + $Synced = $null + } else { + $Synced = $JsonParameters.PSobject.Properties["synced"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "action"))) { #optional property not found + $Action = $null + } else { + $Action = $JsonParameters.PSobject.Properties["action"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "actor"))) { #optional property not found + $Actor = $null + } else { + $Actor = $JsonParameters.PSobject.Properties["actor"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "target"))) { #optional property not found + $Target = $null + } else { + $Target = $JsonParameters.PSobject.Properties["target"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "stack"))) { #optional property not found + $Stack = $null + } else { + $Stack = $JsonParameters.PSobject.Properties["stack"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "trackingNumber"))) { #optional property not found + $TrackingNumber = $null + } else { + $TrackingNumber = $JsonParameters.PSobject.Properties["trackingNumber"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "ipAddress"))) { #optional property not found + $IpAddress = $null + } else { + $IpAddress = $JsonParameters.PSobject.Properties["ipAddress"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "details"))) { #optional property not found + $Details = $null + } else { + $Details = $JsonParameters.PSobject.Properties["details"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributes"))) { #optional property not found + $Attributes = $null + } else { + $Attributes = $JsonParameters.PSobject.Properties["attributes"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "objects"))) { #optional property not found + $Objects = $null + } else { + $Objects = $JsonParameters.PSobject.Properties["objects"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "operation"))) { #optional property not found + $Operation = $null + } else { + $Operation = $JsonParameters.PSobject.Properties["operation"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { #optional property not found + $Status = $null + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "technicalName"))) { #optional property not found + $TechnicalName = $null + } else { + $TechnicalName = $JsonParameters.PSobject.Properties["technicalName"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "_type" = ${DocumentType} + "created" = ${Created} + "synced" = ${Synced} + "action" = ${Action} + "type" = ${Type} + "actor" = ${Actor} + "target" = ${Target} + "stack" = ${Stack} + "trackingNumber" = ${TrackingNumber} + "ipAddress" = ${IpAddress} + "details" = ${Details} + "attributes" = ${Attributes} + "objects" = ${Objects} + "operation" = ${Operation} + "status" = ${Status} + "technicalName" = ${TechnicalName} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ModelFilter.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ModelFilter.ps1 new file mode 100644 index 000000000..fb73ca640 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ModelFilter.ps1 @@ -0,0 +1,136 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Type +No description available. +.PARAMETER Range +No description available. +.PARAMETER Terms +The terms to be filtered. +.PARAMETER Exclude +Indicates if the filter excludes results. +.OUTPUTS + +ModelFilter +#> + +function Initialize-V2024ModelFilter { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("EXISTS", "RANGE", "TERMS")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Range}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Terms}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Exclude} = $false + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ModelFilter' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "range" = ${Range} + "terms" = ${Terms} + "exclude" = ${Exclude} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ModelFilter + +.DESCRIPTION + +Convert from JSON to ModelFilter + +.PARAMETER Json + +Json object + +.OUTPUTS + +ModelFilter +#> +function ConvertFrom-V2024JsonToModelFilter { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ModelFilter' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ModelFilter + $AllProperties = ("type", "range", "terms", "exclude") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "range"))) { #optional property not found + $Range = $null + } else { + $Range = $JsonParameters.PSobject.Properties["range"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "terms"))) { #optional property not found + $Terms = $null + } else { + $Terms = $JsonParameters.PSobject.Properties["terms"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "exclude"))) { #optional property not found + $Exclude = $null + } else { + $Exclude = $JsonParameters.PSobject.Properties["exclude"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "range" = ${Range} + "terms" = ${Terms} + "exclude" = ${Exclude} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/MultiPolicyRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/MultiPolicyRequest.ps1 new file mode 100644 index 000000000..a500bd433 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/MultiPolicyRequest.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER FilteredPolicyList +Multi-policy report will be run for this list of ids +.OUTPUTS + +MultiPolicyRequest +#> + +function Initialize-V2024MultiPolicyRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${FilteredPolicyList} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024MultiPolicyRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "filteredPolicyList" = ${FilteredPolicyList} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to MultiPolicyRequest + +.DESCRIPTION + +Convert from JSON to MultiPolicyRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +MultiPolicyRequest +#> +function ConvertFrom-V2024JsonToMultiPolicyRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024MultiPolicyRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024MultiPolicyRequest + $AllProperties = ("filteredPolicyList") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "filteredPolicyList"))) { #optional property not found + $FilteredPolicyList = $null + } else { + $FilteredPolicyList = $JsonParameters.PSobject.Properties["filteredPolicyList"].value + } + + $PSO = [PSCustomObject]@{ + "filteredPolicyList" = ${FilteredPolicyList} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/NameNormalizer.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NameNormalizer.ps1 new file mode 100644 index 000000000..8eef2b39e --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NameNormalizer.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER RequiresPeriodicRefresh +A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process +.PARAMETER VarInput +This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI. +.OUTPUTS + +NameNormalizer +#> + +function Initialize-V2024NameNormalizer { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${RequiresPeriodicRefresh} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${VarInput} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024NameNormalizer' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + "input" = ${VarInput} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to NameNormalizer + +.DESCRIPTION + +Convert from JSON to NameNormalizer + +.PARAMETER Json + +Json object + +.OUTPUTS + +NameNormalizer +#> +function ConvertFrom-V2024JsonToNameNormalizer { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024NameNormalizer' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024NameNormalizer + $AllProperties = ("requiresPeriodicRefresh", "input") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requiresPeriodicRefresh"))) { #optional property not found + $RequiresPeriodicRefresh = $null + } else { + $RequiresPeriodicRefresh = $JsonParameters.PSobject.Properties["requiresPeriodicRefresh"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "input"))) { #optional property not found + $VarInput = $null + } else { + $VarInput = $JsonParameters.PSobject.Properties["input"].value + } + + $PSO = [PSCustomObject]@{ + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + "input" = ${VarInput} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/NamedConstructs.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NamedConstructs.ps1 new file mode 100644 index 000000000..a000b09b4 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NamedConstructs.ps1 @@ -0,0 +1,30 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum NamedConstructs. + +.DESCRIPTION + +| Construct | Date Time Pattern | Description | | --------- | ----------------- | ----------- | | ISO8601 | `yyyy-MM-dd'T'HH:mm:ss.SSSX` | The ISO8601 standard. | | LDAP | `yyyyMMddHHmmss.Z` | The LDAP standard. | | PEOPLE_SOFT | `MM/dd/yyyy` | The date format People Soft uses. | | EPOCH_TIME_JAVA | # ms from midnight, January 1st, 1970 | The incoming date value as elapsed time in milliseconds from midnight, January 1st, 1970. | | EPOCH_TIME_WIN32| # intervals of 100ns from midnight, January 1st, 1601 | The incoming date value as elapsed time in 100-nanosecond intervals from midnight, January 1st, 1601. | +#> + +enum NamedConstructs { + # enum value: "ISO8601" + ISO8601 + # enum value: "LDAP" + LDAP + # enum value: "PEOPLE_SOFT" + PEOPLE_SOFT + # enum value: "EPOCH_TIME_JAVA" + EPOCH_TIME_JAVA + # enum value: "EPOCH_TIME_WIN32" + EPOCH_TIME_WIN32 +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/NativeChangeDetectionConfig.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NativeChangeDetectionConfig.ps1 new file mode 100644 index 000000000..fdeff0124 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NativeChangeDetectionConfig.ps1 @@ -0,0 +1,162 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Source configuration information for Native Change Detection that is read and used by account aggregation process. + +.PARAMETER Enabled +A flag indicating if Native Change Detection is enabled for a source. +.PARAMETER Operations +Operation types for which Native Change Detection is enabled for a source. +.PARAMETER AllEntitlements +A flag indicating that all entitlements participate in Native Change Detection. +.PARAMETER AllNonEntitlementAttributes +A flag indicating that all non-entitlement account attributes participate in Native Change Detection. +.PARAMETER SelectedEntitlements +If allEntitlements flag is off this field lists entitlements that participate in Native Change Detection. +.PARAMETER SelectedNonEntitlementAttributes +If allNonEntitlementAttributes flag is off this field lists non-entitlement account attributes that participate in Native Change Detection. +.OUTPUTS + +NativeChangeDetectionConfig +#> + +function Initialize-V2024NativeChangeDetectionConfig { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Enabled} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ACCOUNT_UPDATED", "ACCOUNT_CREATED", "ACCOUNT_DELETED")] + [String[]] + ${Operations}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${AllEntitlements} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${AllNonEntitlementAttributes} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${SelectedEntitlements}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${SelectedNonEntitlementAttributes} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024NativeChangeDetectionConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "enabled" = ${Enabled} + "operations" = ${Operations} + "allEntitlements" = ${AllEntitlements} + "allNonEntitlementAttributes" = ${AllNonEntitlementAttributes} + "selectedEntitlements" = ${SelectedEntitlements} + "selectedNonEntitlementAttributes" = ${SelectedNonEntitlementAttributes} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to NativeChangeDetectionConfig + +.DESCRIPTION + +Convert from JSON to NativeChangeDetectionConfig + +.PARAMETER Json + +Json object + +.OUTPUTS + +NativeChangeDetectionConfig +#> +function ConvertFrom-V2024JsonToNativeChangeDetectionConfig { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024NativeChangeDetectionConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024NativeChangeDetectionConfig + $AllProperties = ("enabled", "operations", "allEntitlements", "allNonEntitlementAttributes", "selectedEntitlements", "selectedNonEntitlementAttributes") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "enabled"))) { #optional property not found + $Enabled = $null + } else { + $Enabled = $JsonParameters.PSobject.Properties["enabled"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "operations"))) { #optional property not found + $Operations = $null + } else { + $Operations = $JsonParameters.PSobject.Properties["operations"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "allEntitlements"))) { #optional property not found + $AllEntitlements = $null + } else { + $AllEntitlements = $JsonParameters.PSobject.Properties["allEntitlements"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "allNonEntitlementAttributes"))) { #optional property not found + $AllNonEntitlementAttributes = $null + } else { + $AllNonEntitlementAttributes = $JsonParameters.PSobject.Properties["allNonEntitlementAttributes"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "selectedEntitlements"))) { #optional property not found + $SelectedEntitlements = $null + } else { + $SelectedEntitlements = $JsonParameters.PSobject.Properties["selectedEntitlements"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "selectedNonEntitlementAttributes"))) { #optional property not found + $SelectedNonEntitlementAttributes = $null + } else { + $SelectedNonEntitlementAttributes = $JsonParameters.PSobject.Properties["selectedNonEntitlementAttributes"].value + } + + $PSO = [PSCustomObject]@{ + "enabled" = ${Enabled} + "operations" = ${Operations} + "allEntitlements" = ${AllEntitlements} + "allNonEntitlementAttributes" = ${AllNonEntitlementAttributes} + "selectedEntitlements" = ${SelectedEntitlements} + "selectedNonEntitlementAttributes" = ${SelectedNonEntitlementAttributes} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/NestedAggregation.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NestedAggregation.ps1 new file mode 100644 index 000000000..6dd5a43a1 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NestedAggregation.ps1 @@ -0,0 +1,121 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +The nested aggregation object. + +.PARAMETER Name +The name of the nested aggregate to be included in the result. +.PARAMETER Type +The type of the nested object. +.OUTPUTS + +NestedAggregation +#> + +function Initialize-V2024NestedAggregation { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Type} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024NestedAggregation' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "type" = ${Type} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to NestedAggregation + +.DESCRIPTION + +Convert from JSON to NestedAggregation + +.PARAMETER Json + +Json object + +.OUTPUTS + +NestedAggregation +#> +function ConvertFrom-V2024JsonToNestedAggregation { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024NestedAggregation' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024NestedAggregation + $AllProperties = ("name", "type") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'name' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "type" = ${Type} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/NetworkConfiguration.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NetworkConfiguration.ps1 new file mode 100644 index 000000000..7185185a7 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NetworkConfiguration.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Range +The collection of ip ranges. +.PARAMETER Geolocation +The collection of country codes. +.PARAMETER Whitelisted +Denotes whether the provided lists are whitelisted or blacklisted for geo location. +.OUTPUTS + +NetworkConfiguration +#> + +function Initialize-V2024NetworkConfiguration { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Range}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Geolocation}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Whitelisted} = $false + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024NetworkConfiguration' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "range" = ${Range} + "geolocation" = ${Geolocation} + "whitelisted" = ${Whitelisted} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to NetworkConfiguration + +.DESCRIPTION + +Convert from JSON to NetworkConfiguration + +.PARAMETER Json + +Json object + +.OUTPUTS + +NetworkConfiguration +#> +function ConvertFrom-V2024JsonToNetworkConfiguration { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024NetworkConfiguration' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024NetworkConfiguration + $AllProperties = ("range", "geolocation", "whitelisted") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "range"))) { #optional property not found + $Range = $null + } else { + $Range = $JsonParameters.PSobject.Properties["range"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "geolocation"))) { #optional property not found + $Geolocation = $null + } else { + $Geolocation = $JsonParameters.PSobject.Properties["geolocation"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "whitelisted"))) { #optional property not found + $Whitelisted = $null + } else { + $Whitelisted = $JsonParameters.PSobject.Properties["whitelisted"].value + } + + $PSO = [PSCustomObject]@{ + "range" = ${Range} + "geolocation" = ${Geolocation} + "whitelisted" = ${Whitelisted} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeApprovalDecision.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeApprovalDecision.ps1 new file mode 100644 index 000000000..4702c0f2d --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeApprovalDecision.ps1 @@ -0,0 +1,100 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Comment +Comment on the approval item. +.OUTPUTS + +NonEmployeeApprovalDecision +#> + +function Initialize-V2024NonEmployeeApprovalDecision { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Comment} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024NonEmployeeApprovalDecision' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Comment -and $Comment.length -gt 4000) { + throw "invalid value for 'Comment', the character length must be smaller than or equal to 4000." + } + + + $PSO = [PSCustomObject]@{ + "comment" = ${Comment} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to NonEmployeeApprovalDecision + +.DESCRIPTION + +Convert from JSON to NonEmployeeApprovalDecision + +.PARAMETER Json + +Json object + +.OUTPUTS + +NonEmployeeApprovalDecision +#> +function ConvertFrom-V2024JsonToNonEmployeeApprovalDecision { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024NonEmployeeApprovalDecision' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024NonEmployeeApprovalDecision + $AllProperties = ("comment") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "comment"))) { #optional property not found + $Comment = $null + } else { + $Comment = $JsonParameters.PSobject.Properties["comment"].value + } + + $PSO = [PSCustomObject]@{ + "comment" = ${Comment} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeApprovalItem.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeApprovalItem.ps1 new file mode 100644 index 000000000..1e77696e2 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeApprovalItem.ps1 @@ -0,0 +1,201 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +Non-Employee approval item id +.PARAMETER Approver +No description available. +.PARAMETER AccountName +Requested identity account name +.PARAMETER ApprovalStatus +No description available. +.PARAMETER ApprovalOrder +Approval order +.PARAMETER Comment +comment of approver +.PARAMETER Modified +When the request was last modified. +.PARAMETER Created +When the request was created. +.PARAMETER NonEmployeeRequest +No description available. +.OUTPUTS + +NonEmployeeApprovalItem +#> + +function Initialize-V2024NonEmployeeApprovalItem { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Approver}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AccountName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("APPROVED", "REJECTED", "PENDING", "NOT_READY", "CANCELLED")] + [PSCustomObject] + ${ApprovalStatus}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Double]] + ${ApprovalOrder}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Comment}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Modified}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${NonEmployeeRequest} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024NonEmployeeApprovalItem' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "approver" = ${Approver} + "accountName" = ${AccountName} + "approvalStatus" = ${ApprovalStatus} + "approvalOrder" = ${ApprovalOrder} + "comment" = ${Comment} + "modified" = ${Modified} + "created" = ${Created} + "nonEmployeeRequest" = ${NonEmployeeRequest} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to NonEmployeeApprovalItem + +.DESCRIPTION + +Convert from JSON to NonEmployeeApprovalItem + +.PARAMETER Json + +Json object + +.OUTPUTS + +NonEmployeeApprovalItem +#> +function ConvertFrom-V2024JsonToNonEmployeeApprovalItem { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024NonEmployeeApprovalItem' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024NonEmployeeApprovalItem + $AllProperties = ("id", "approver", "accountName", "approvalStatus", "approvalOrder", "comment", "modified", "created", "nonEmployeeRequest") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "approver"))) { #optional property not found + $Approver = $null + } else { + $Approver = $JsonParameters.PSobject.Properties["approver"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accountName"))) { #optional property not found + $AccountName = $null + } else { + $AccountName = $JsonParameters.PSobject.Properties["accountName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "approvalStatus"))) { #optional property not found + $ApprovalStatus = $null + } else { + $ApprovalStatus = $JsonParameters.PSobject.Properties["approvalStatus"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "approvalOrder"))) { #optional property not found + $ApprovalOrder = $null + } else { + $ApprovalOrder = $JsonParameters.PSobject.Properties["approvalOrder"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "comment"))) { #optional property not found + $Comment = $null + } else { + $Comment = $JsonParameters.PSobject.Properties["comment"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "nonEmployeeRequest"))) { #optional property not found + $NonEmployeeRequest = $null + } else { + $NonEmployeeRequest = $JsonParameters.PSobject.Properties["nonEmployeeRequest"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "approver" = ${Approver} + "accountName" = ${AccountName} + "approvalStatus" = ${ApprovalStatus} + "approvalOrder" = ${ApprovalOrder} + "comment" = ${Comment} + "modified" = ${Modified} + "created" = ${Created} + "nonEmployeeRequest" = ${NonEmployeeRequest} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeApprovalItemBase.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeApprovalItemBase.ps1 new file mode 100644 index 000000000..c575de0fa --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeApprovalItemBase.ps1 @@ -0,0 +1,188 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +Non-Employee approval item id +.PARAMETER Approver +No description available. +.PARAMETER AccountName +Requested identity account name +.PARAMETER ApprovalStatus +No description available. +.PARAMETER ApprovalOrder +Approval order +.PARAMETER Comment +comment of approver +.PARAMETER Modified +When the request was last modified. +.PARAMETER Created +When the request was created. +.OUTPUTS + +NonEmployeeApprovalItemBase +#> + +function Initialize-V2024NonEmployeeApprovalItemBase { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Approver}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AccountName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("APPROVED", "REJECTED", "PENDING", "NOT_READY", "CANCELLED")] + [PSCustomObject] + ${ApprovalStatus}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Double]] + ${ApprovalOrder}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Comment}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Modified}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Created} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024NonEmployeeApprovalItemBase' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "approver" = ${Approver} + "accountName" = ${AccountName} + "approvalStatus" = ${ApprovalStatus} + "approvalOrder" = ${ApprovalOrder} + "comment" = ${Comment} + "modified" = ${Modified} + "created" = ${Created} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to NonEmployeeApprovalItemBase + +.DESCRIPTION + +Convert from JSON to NonEmployeeApprovalItemBase + +.PARAMETER Json + +Json object + +.OUTPUTS + +NonEmployeeApprovalItemBase +#> +function ConvertFrom-V2024JsonToNonEmployeeApprovalItemBase { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024NonEmployeeApprovalItemBase' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024NonEmployeeApprovalItemBase + $AllProperties = ("id", "approver", "accountName", "approvalStatus", "approvalOrder", "comment", "modified", "created") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "approver"))) { #optional property not found + $Approver = $null + } else { + $Approver = $JsonParameters.PSobject.Properties["approver"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accountName"))) { #optional property not found + $AccountName = $null + } else { + $AccountName = $JsonParameters.PSobject.Properties["accountName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "approvalStatus"))) { #optional property not found + $ApprovalStatus = $null + } else { + $ApprovalStatus = $JsonParameters.PSobject.Properties["approvalStatus"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "approvalOrder"))) { #optional property not found + $ApprovalOrder = $null + } else { + $ApprovalOrder = $JsonParameters.PSobject.Properties["approvalOrder"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "comment"))) { #optional property not found + $Comment = $null + } else { + $Comment = $JsonParameters.PSobject.Properties["comment"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "approver" = ${Approver} + "accountName" = ${AccountName} + "approvalStatus" = ${ApprovalStatus} + "approvalOrder" = ${ApprovalOrder} + "comment" = ${Comment} + "modified" = ${Modified} + "created" = ${Created} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeApprovalItemDetail.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeApprovalItemDetail.ps1 new file mode 100644 index 000000000..e3221320e --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeApprovalItemDetail.ps1 @@ -0,0 +1,201 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +Non-Employee approval item id +.PARAMETER Approver +No description available. +.PARAMETER AccountName +Requested identity account name +.PARAMETER ApprovalStatus +No description available. +.PARAMETER ApprovalOrder +Approval order +.PARAMETER Comment +comment of approver +.PARAMETER Modified +When the request was last modified. +.PARAMETER Created +When the request was created. +.PARAMETER NonEmployeeRequest +No description available. +.OUTPUTS + +NonEmployeeApprovalItemDetail +#> + +function Initialize-V2024NonEmployeeApprovalItemDetail { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Approver}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AccountName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("APPROVED", "REJECTED", "PENDING", "NOT_READY", "CANCELLED")] + [PSCustomObject] + ${ApprovalStatus}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Double]] + ${ApprovalOrder}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Comment}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Modified}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${NonEmployeeRequest} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024NonEmployeeApprovalItemDetail' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "approver" = ${Approver} + "accountName" = ${AccountName} + "approvalStatus" = ${ApprovalStatus} + "approvalOrder" = ${ApprovalOrder} + "comment" = ${Comment} + "modified" = ${Modified} + "created" = ${Created} + "nonEmployeeRequest" = ${NonEmployeeRequest} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to NonEmployeeApprovalItemDetail + +.DESCRIPTION + +Convert from JSON to NonEmployeeApprovalItemDetail + +.PARAMETER Json + +Json object + +.OUTPUTS + +NonEmployeeApprovalItemDetail +#> +function ConvertFrom-V2024JsonToNonEmployeeApprovalItemDetail { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024NonEmployeeApprovalItemDetail' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024NonEmployeeApprovalItemDetail + $AllProperties = ("id", "approver", "accountName", "approvalStatus", "approvalOrder", "comment", "modified", "created", "nonEmployeeRequest") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "approver"))) { #optional property not found + $Approver = $null + } else { + $Approver = $JsonParameters.PSobject.Properties["approver"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accountName"))) { #optional property not found + $AccountName = $null + } else { + $AccountName = $JsonParameters.PSobject.Properties["accountName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "approvalStatus"))) { #optional property not found + $ApprovalStatus = $null + } else { + $ApprovalStatus = $JsonParameters.PSobject.Properties["approvalStatus"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "approvalOrder"))) { #optional property not found + $ApprovalOrder = $null + } else { + $ApprovalOrder = $JsonParameters.PSobject.Properties["approvalOrder"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "comment"))) { #optional property not found + $Comment = $null + } else { + $Comment = $JsonParameters.PSobject.Properties["comment"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "nonEmployeeRequest"))) { #optional property not found + $NonEmployeeRequest = $null + } else { + $NonEmployeeRequest = $JsonParameters.PSobject.Properties["nonEmployeeRequest"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "approver" = ${Approver} + "accountName" = ${AccountName} + "approvalStatus" = ${ApprovalStatus} + "approvalOrder" = ${ApprovalOrder} + "comment" = ${Comment} + "modified" = ${Modified} + "created" = ${Created} + "nonEmployeeRequest" = ${NonEmployeeRequest} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeApprovalSummary.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeApprovalSummary.ps1 new file mode 100644 index 000000000..f1fc3a685 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeApprovalSummary.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Approved +The number of approved non-employee approval requests. +.PARAMETER Pending +The number of pending non-employee approval requests. +.PARAMETER Rejected +The number of rejected non-employee approval requests. +.OUTPUTS + +NonEmployeeApprovalSummary +#> + +function Initialize-V2024NonEmployeeApprovalSummary { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${Approved}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${Pending}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${Rejected} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024NonEmployeeApprovalSummary' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "approved" = ${Approved} + "pending" = ${Pending} + "rejected" = ${Rejected} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to NonEmployeeApprovalSummary + +.DESCRIPTION + +Convert from JSON to NonEmployeeApprovalSummary + +.PARAMETER Json + +Json object + +.OUTPUTS + +NonEmployeeApprovalSummary +#> +function ConvertFrom-V2024JsonToNonEmployeeApprovalSummary { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024NonEmployeeApprovalSummary' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024NonEmployeeApprovalSummary + $AllProperties = ("approved", "pending", "rejected") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "approved"))) { #optional property not found + $Approved = $null + } else { + $Approved = $JsonParameters.PSobject.Properties["approved"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "pending"))) { #optional property not found + $Pending = $null + } else { + $Pending = $JsonParameters.PSobject.Properties["pending"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "rejected"))) { #optional property not found + $Rejected = $null + } else { + $Rejected = $JsonParameters.PSobject.Properties["rejected"].value + } + + $PSO = [PSCustomObject]@{ + "approved" = ${Approved} + "pending" = ${Pending} + "rejected" = ${Rejected} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeBulkUploadJob.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeBulkUploadJob.ps1 new file mode 100644 index 000000000..a3548320c --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeBulkUploadJob.ps1 @@ -0,0 +1,149 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +The bulk upload job's ID. (UUID) +.PARAMETER SourceId +The ID of the source to bulk-upload non-employees to. (UUID) +.PARAMETER Created +The date-time the job was submitted. +.PARAMETER Modified +The date-time that the job was last updated. +.PARAMETER Status +Returns the following values indicating the progress or result of the bulk upload job. ""PENDING"" means the job is queued and waiting to be processed. ""IN_PROGRESS"" means the job is currently being processed. ""COMPLETED"" means the job has been completed without any errors. ""ERROR"" means the job failed to process with errors. +.OUTPUTS + +NonEmployeeBulkUploadJob +#> + +function Initialize-V2024NonEmployeeBulkUploadJob { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SourceId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Modified}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("PENDING", "IN_PROGRESS", "COMPLETED", "ERROR")] + [String] + ${Status} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024NonEmployeeBulkUploadJob' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "sourceId" = ${SourceId} + "created" = ${Created} + "modified" = ${Modified} + "status" = ${Status} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to NonEmployeeBulkUploadJob + +.DESCRIPTION + +Convert from JSON to NonEmployeeBulkUploadJob + +.PARAMETER Json + +Json object + +.OUTPUTS + +NonEmployeeBulkUploadJob +#> +function ConvertFrom-V2024JsonToNonEmployeeBulkUploadJob { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024NonEmployeeBulkUploadJob' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024NonEmployeeBulkUploadJob + $AllProperties = ("id", "sourceId", "created", "modified", "status") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceId"))) { #optional property not found + $SourceId = $null + } else { + $SourceId = $JsonParameters.PSobject.Properties["sourceId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { #optional property not found + $Status = $null + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "sourceId" = ${SourceId} + "created" = ${Created} + "modified" = ${Modified} + "status" = ${Status} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeBulkUploadStatus.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeBulkUploadStatus.ps1 new file mode 100644 index 000000000..72fecea27 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeBulkUploadStatus.ps1 @@ -0,0 +1,97 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Status +Returns the following values indicating the progress or result of the bulk upload job. ""PENDING"" means the job is queued and waiting to be processed. ""IN_PROGRESS"" means the job is currently being processed. ""COMPLETED"" means the job has been completed without any errors. ""ERROR"" means the job failed to process with errors. null means job has been submitted to the source. +.OUTPUTS + +NonEmployeeBulkUploadStatus +#> + +function Initialize-V2024NonEmployeeBulkUploadStatus { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("PENDING", "IN_PROGRESS", "COMPLETED", "ERROR")] + [String] + ${Status} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024NonEmployeeBulkUploadStatus' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "status" = ${Status} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to NonEmployeeBulkUploadStatus + +.DESCRIPTION + +Convert from JSON to NonEmployeeBulkUploadStatus + +.PARAMETER Json + +Json object + +.OUTPUTS + +NonEmployeeBulkUploadStatus +#> +function ConvertFrom-V2024JsonToNonEmployeeBulkUploadStatus { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024NonEmployeeBulkUploadStatus' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024NonEmployeeBulkUploadStatus + $AllProperties = ("status") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { #optional property not found + $Status = $null + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + $PSO = [PSCustomObject]@{ + "status" = ${Status} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeIdentityDtoType.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeIdentityDtoType.ps1 new file mode 100644 index 000000000..6bbd57b50 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeIdentityDtoType.ps1 @@ -0,0 +1,24 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum NonEmployeeIdentityDtoType. + +.DESCRIPTION + +Identifies if the identity is a normal identity or a governance group +#> + +enum NonEmployeeIdentityDtoType { + # enum value: "GOVERNANCE_GROUP" + GOVERNANCE_GROUP + # enum value: "IDENTITY" + IDENTITY +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeIdentityReferenceWithId.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeIdentityReferenceWithId.ps1 new file mode 100644 index 000000000..06a23788d --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeIdentityReferenceWithId.ps1 @@ -0,0 +1,110 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Type +No description available. +.PARAMETER Id +Identity id +.OUTPUTS + +NonEmployeeIdentityReferenceWithId +#> + +function Initialize-V2024NonEmployeeIdentityReferenceWithId { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("GOVERNANCE_GROUP", "IDENTITY")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024NonEmployeeIdentityReferenceWithId' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to NonEmployeeIdentityReferenceWithId + +.DESCRIPTION + +Convert from JSON to NonEmployeeIdentityReferenceWithId + +.PARAMETER Json + +Json object + +.OUTPUTS + +NonEmployeeIdentityReferenceWithId +#> +function ConvertFrom-V2024JsonToNonEmployeeIdentityReferenceWithId { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024NonEmployeeIdentityReferenceWithId' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024NonEmployeeIdentityReferenceWithId + $AllProperties = ("type", "id") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeIdnUserRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeIdnUserRequest.ps1 new file mode 100644 index 000000000..f36643542 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeIdnUserRequest.ps1 @@ -0,0 +1,104 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +Identity id. +.OUTPUTS + +NonEmployeeIdnUserRequest +#> + +function Initialize-V2024NonEmployeeIdnUserRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024NonEmployeeIdnUserRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to NonEmployeeIdnUserRequest + +.DESCRIPTION + +Convert from JSON to NonEmployeeIdnUserRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +NonEmployeeIdnUserRequest +#> +function ConvertFrom-V2024JsonToNonEmployeeIdnUserRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024NonEmployeeIdnUserRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024NonEmployeeIdnUserRequest + $AllProperties = ("id") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'id' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeRecord.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeRecord.ps1 new file mode 100644 index 000000000..56652d420 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeRecord.ps1 @@ -0,0 +1,252 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +Non-Employee record id. +.PARAMETER AccountName +Requested identity account name. +.PARAMETER FirstName +Non-Employee's first name. +.PARAMETER LastName +Non-Employee's last name. +.PARAMETER Email +Non-Employee's email. +.PARAMETER Phone +Non-Employee's phone. +.PARAMETER Manager +The account ID of a valid identity to serve as this non-employee's manager. +.PARAMETER SourceId +Non-Employee's source id. +.PARAMETER VarData +Attribute blob/bag for a non-employee. +.PARAMETER StartDate +Non-Employee employment start date. +.PARAMETER EndDate +Non-Employee employment end date. +.PARAMETER Modified +When the request was last modified. +.PARAMETER Created +When the request was created. +.OUTPUTS + +NonEmployeeRecord +#> + +function Initialize-V2024NonEmployeeRecord { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AccountName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${FirstName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${LastName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Email}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Phone}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Manager}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SourceId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${VarData}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${StartDate}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${EndDate}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Modified}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Created} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024NonEmployeeRecord' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "accountName" = ${AccountName} + "firstName" = ${FirstName} + "lastName" = ${LastName} + "email" = ${Email} + "phone" = ${Phone} + "manager" = ${Manager} + "sourceId" = ${SourceId} + "data" = ${VarData} + "startDate" = ${StartDate} + "endDate" = ${EndDate} + "modified" = ${Modified} + "created" = ${Created} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to NonEmployeeRecord + +.DESCRIPTION + +Convert from JSON to NonEmployeeRecord + +.PARAMETER Json + +Json object + +.OUTPUTS + +NonEmployeeRecord +#> +function ConvertFrom-V2024JsonToNonEmployeeRecord { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024NonEmployeeRecord' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024NonEmployeeRecord + $AllProperties = ("id", "accountName", "firstName", "lastName", "email", "phone", "manager", "sourceId", "data", "startDate", "endDate", "modified", "created") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accountName"))) { #optional property not found + $AccountName = $null + } else { + $AccountName = $JsonParameters.PSobject.Properties["accountName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "firstName"))) { #optional property not found + $FirstName = $null + } else { + $FirstName = $JsonParameters.PSobject.Properties["firstName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "lastName"))) { #optional property not found + $LastName = $null + } else { + $LastName = $JsonParameters.PSobject.Properties["lastName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "email"))) { #optional property not found + $Email = $null + } else { + $Email = $JsonParameters.PSobject.Properties["email"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "phone"))) { #optional property not found + $Phone = $null + } else { + $Phone = $JsonParameters.PSobject.Properties["phone"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "manager"))) { #optional property not found + $Manager = $null + } else { + $Manager = $JsonParameters.PSobject.Properties["manager"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceId"))) { #optional property not found + $SourceId = $null + } else { + $SourceId = $JsonParameters.PSobject.Properties["sourceId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "data"))) { #optional property not found + $VarData = $null + } else { + $VarData = $JsonParameters.PSobject.Properties["data"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "startDate"))) { #optional property not found + $StartDate = $null + } else { + $StartDate = $JsonParameters.PSobject.Properties["startDate"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "endDate"))) { #optional property not found + $EndDate = $null + } else { + $EndDate = $JsonParameters.PSobject.Properties["endDate"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "accountName" = ${AccountName} + "firstName" = ${FirstName} + "lastName" = ${LastName} + "email" = ${Email} + "phone" = ${Phone} + "manager" = ${Manager} + "sourceId" = ${SourceId} + "data" = ${VarData} + "startDate" = ${StartDate} + "endDate" = ${EndDate} + "modified" = ${Modified} + "created" = ${Created} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeRejectApprovalDecision.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeRejectApprovalDecision.ps1 new file mode 100644 index 000000000..d9b860b8e --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeRejectApprovalDecision.ps1 @@ -0,0 +1,108 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Comment +Comment on the approval item. +.OUTPUTS + +NonEmployeeRejectApprovalDecision +#> + +function Initialize-V2024NonEmployeeRejectApprovalDecision { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Comment} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024NonEmployeeRejectApprovalDecision' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Comment) { + throw "invalid value for 'Comment', 'Comment' cannot be null." + } + + if ($Comment.length -gt 4000) { + throw "invalid value for 'Comment', the character length must be smaller than or equal to 4000." + } + + + $PSO = [PSCustomObject]@{ + "comment" = ${Comment} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to NonEmployeeRejectApprovalDecision + +.DESCRIPTION + +Convert from JSON to NonEmployeeRejectApprovalDecision + +.PARAMETER Json + +Json object + +.OUTPUTS + +NonEmployeeRejectApprovalDecision +#> +function ConvertFrom-V2024JsonToNonEmployeeRejectApprovalDecision { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024NonEmployeeRejectApprovalDecision' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024NonEmployeeRejectApprovalDecision + $AllProperties = ("comment") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'comment' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "comment"))) { + throw "Error! JSON cannot be serialized due to the required property 'comment' missing." + } else { + $Comment = $JsonParameters.PSobject.Properties["comment"].value + } + + $PSO = [PSCustomObject]@{ + "comment" = ${Comment} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeRequest.ps1 new file mode 100644 index 000000000..a2efd85b0 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeRequest.ps1 @@ -0,0 +1,344 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +Non-Employee source id. +.PARAMETER SourceId +Source Id associated with this non-employee source. +.PARAMETER Name +Source name associated with this non-employee source. +.PARAMETER Description +Source description associated with this non-employee source. +.PARAMETER AccountName +Requested identity account name. +.PARAMETER FirstName +Non-Employee's first name. +.PARAMETER LastName +Non-Employee's last name. +.PARAMETER Email +Non-Employee's email. +.PARAMETER Phone +Non-Employee's phone. +.PARAMETER Manager +The account ID of a valid identity to serve as this non-employee's manager. +.PARAMETER NonEmployeeSource +No description available. +.PARAMETER VarData +Attribute blob/bag for a non-employee. +.PARAMETER ApprovalItems +List of approval item for the request +.PARAMETER ApprovalStatus +No description available. +.PARAMETER Comment +comment of requester +.PARAMETER CompletionDate +When the request was completely approved. +.PARAMETER StartDate +Non-Employee employment start date. +.PARAMETER EndDate +Non-Employee employment end date. +.PARAMETER Modified +When the request was last modified. +.PARAMETER Created +When the request was created. +.OUTPUTS + +NonEmployeeRequest +#> + +function Initialize-V2024NonEmployeeRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SourceId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AccountName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${FirstName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${LastName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Email}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Phone}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Manager}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${NonEmployeeSource}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${VarData}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${ApprovalItems}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("APPROVED", "REJECTED", "PENDING", "NOT_READY", "CANCELLED")] + [PSCustomObject] + ${ApprovalStatus}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Comment}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${CompletionDate}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${StartDate}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${EndDate}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Modified}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Created} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024NonEmployeeRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "sourceId" = ${SourceId} + "name" = ${Name} + "description" = ${Description} + "accountName" = ${AccountName} + "firstName" = ${FirstName} + "lastName" = ${LastName} + "email" = ${Email} + "phone" = ${Phone} + "manager" = ${Manager} + "nonEmployeeSource" = ${NonEmployeeSource} + "data" = ${VarData} + "approvalItems" = ${ApprovalItems} + "approvalStatus" = ${ApprovalStatus} + "comment" = ${Comment} + "completionDate" = ${CompletionDate} + "startDate" = ${StartDate} + "endDate" = ${EndDate} + "modified" = ${Modified} + "created" = ${Created} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to NonEmployeeRequest + +.DESCRIPTION + +Convert from JSON to NonEmployeeRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +NonEmployeeRequest +#> +function ConvertFrom-V2024JsonToNonEmployeeRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024NonEmployeeRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024NonEmployeeRequest + $AllProperties = ("id", "sourceId", "name", "description", "accountName", "firstName", "lastName", "email", "phone", "manager", "nonEmployeeSource", "data", "approvalItems", "approvalStatus", "comment", "completionDate", "startDate", "endDate", "modified", "created") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceId"))) { #optional property not found + $SourceId = $null + } else { + $SourceId = $JsonParameters.PSobject.Properties["sourceId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accountName"))) { #optional property not found + $AccountName = $null + } else { + $AccountName = $JsonParameters.PSobject.Properties["accountName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "firstName"))) { #optional property not found + $FirstName = $null + } else { + $FirstName = $JsonParameters.PSobject.Properties["firstName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "lastName"))) { #optional property not found + $LastName = $null + } else { + $LastName = $JsonParameters.PSobject.Properties["lastName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "email"))) { #optional property not found + $Email = $null + } else { + $Email = $JsonParameters.PSobject.Properties["email"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "phone"))) { #optional property not found + $Phone = $null + } else { + $Phone = $JsonParameters.PSobject.Properties["phone"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "manager"))) { #optional property not found + $Manager = $null + } else { + $Manager = $JsonParameters.PSobject.Properties["manager"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "nonEmployeeSource"))) { #optional property not found + $NonEmployeeSource = $null + } else { + $NonEmployeeSource = $JsonParameters.PSobject.Properties["nonEmployeeSource"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "data"))) { #optional property not found + $VarData = $null + } else { + $VarData = $JsonParameters.PSobject.Properties["data"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "approvalItems"))) { #optional property not found + $ApprovalItems = $null + } else { + $ApprovalItems = $JsonParameters.PSobject.Properties["approvalItems"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "approvalStatus"))) { #optional property not found + $ApprovalStatus = $null + } else { + $ApprovalStatus = $JsonParameters.PSobject.Properties["approvalStatus"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "comment"))) { #optional property not found + $Comment = $null + } else { + $Comment = $JsonParameters.PSobject.Properties["comment"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "completionDate"))) { #optional property not found + $CompletionDate = $null + } else { + $CompletionDate = $JsonParameters.PSobject.Properties["completionDate"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "startDate"))) { #optional property not found + $StartDate = $null + } else { + $StartDate = $JsonParameters.PSobject.Properties["startDate"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "endDate"))) { #optional property not found + $EndDate = $null + } else { + $EndDate = $JsonParameters.PSobject.Properties["endDate"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "sourceId" = ${SourceId} + "name" = ${Name} + "description" = ${Description} + "accountName" = ${AccountName} + "firstName" = ${FirstName} + "lastName" = ${LastName} + "email" = ${Email} + "phone" = ${Phone} + "manager" = ${Manager} + "nonEmployeeSource" = ${NonEmployeeSource} + "data" = ${VarData} + "approvalItems" = ${ApprovalItems} + "approvalStatus" = ${ApprovalStatus} + "comment" = ${Comment} + "completionDate" = ${CompletionDate} + "startDate" = ${StartDate} + "endDate" = ${EndDate} + "modified" = ${Modified} + "created" = ${Created} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeRequestBody.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeRequestBody.ps1 new file mode 100644 index 000000000..2570fffcd --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeRequestBody.ps1 @@ -0,0 +1,253 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER AccountName +Requested identity account name. +.PARAMETER FirstName +Non-Employee's first name. +.PARAMETER LastName +Non-Employee's last name. +.PARAMETER Email +Non-Employee's email. +.PARAMETER Phone +Non-Employee's phone. +.PARAMETER Manager +The account ID of a valid identity to serve as this non-employee's manager. +.PARAMETER SourceId +Non-Employee's source id. +.PARAMETER VarData +Attribute blob/bag for a non-employee, 10 attributes is the maximum size supported. +.PARAMETER StartDate +Non-Employee employment start date. +.PARAMETER EndDate +Non-Employee employment end date. +.OUTPUTS + +NonEmployeeRequestBody +#> + +function Initialize-V2024NonEmployeeRequestBody { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AccountName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${FirstName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${LastName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Email}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Phone}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Manager}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SourceId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${VarData}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.DateTime] + ${StartDate}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.DateTime] + ${EndDate} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024NonEmployeeRequestBody' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$AccountName) { + throw "invalid value for 'AccountName', 'AccountName' cannot be null." + } + + if (!$FirstName) { + throw "invalid value for 'FirstName', 'FirstName' cannot be null." + } + + if (!$LastName) { + throw "invalid value for 'LastName', 'LastName' cannot be null." + } + + if (!$Email) { + throw "invalid value for 'Email', 'Email' cannot be null." + } + + if (!$Phone) { + throw "invalid value for 'Phone', 'Phone' cannot be null." + } + + if (!$Manager) { + throw "invalid value for 'Manager', 'Manager' cannot be null." + } + + if (!$SourceId) { + throw "invalid value for 'SourceId', 'SourceId' cannot be null." + } + + if (!$StartDate) { + throw "invalid value for 'StartDate', 'StartDate' cannot be null." + } + + if (!$EndDate) { + throw "invalid value for 'EndDate', 'EndDate' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "accountName" = ${AccountName} + "firstName" = ${FirstName} + "lastName" = ${LastName} + "email" = ${Email} + "phone" = ${Phone} + "manager" = ${Manager} + "sourceId" = ${SourceId} + "data" = ${VarData} + "startDate" = ${StartDate} + "endDate" = ${EndDate} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to NonEmployeeRequestBody + +.DESCRIPTION + +Convert from JSON to NonEmployeeRequestBody + +.PARAMETER Json + +Json object + +.OUTPUTS + +NonEmployeeRequestBody +#> +function ConvertFrom-V2024JsonToNonEmployeeRequestBody { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024NonEmployeeRequestBody' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024NonEmployeeRequestBody + $AllProperties = ("accountName", "firstName", "lastName", "email", "phone", "manager", "sourceId", "data", "startDate", "endDate") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'accountName' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accountName"))) { + throw "Error! JSON cannot be serialized due to the required property 'accountName' missing." + } else { + $AccountName = $JsonParameters.PSobject.Properties["accountName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "firstName"))) { + throw "Error! JSON cannot be serialized due to the required property 'firstName' missing." + } else { + $FirstName = $JsonParameters.PSobject.Properties["firstName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "lastName"))) { + throw "Error! JSON cannot be serialized due to the required property 'lastName' missing." + } else { + $LastName = $JsonParameters.PSobject.Properties["lastName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "email"))) { + throw "Error! JSON cannot be serialized due to the required property 'email' missing." + } else { + $Email = $JsonParameters.PSobject.Properties["email"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "phone"))) { + throw "Error! JSON cannot be serialized due to the required property 'phone' missing." + } else { + $Phone = $JsonParameters.PSobject.Properties["phone"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "manager"))) { + throw "Error! JSON cannot be serialized due to the required property 'manager' missing." + } else { + $Manager = $JsonParameters.PSobject.Properties["manager"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceId"))) { + throw "Error! JSON cannot be serialized due to the required property 'sourceId' missing." + } else { + $SourceId = $JsonParameters.PSobject.Properties["sourceId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "startDate"))) { + throw "Error! JSON cannot be serialized due to the required property 'startDate' missing." + } else { + $StartDate = $JsonParameters.PSobject.Properties["startDate"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "endDate"))) { + throw "Error! JSON cannot be serialized due to the required property 'endDate' missing." + } else { + $EndDate = $JsonParameters.PSobject.Properties["endDate"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "data"))) { #optional property not found + $VarData = $null + } else { + $VarData = $JsonParameters.PSobject.Properties["data"].value + } + + $PSO = [PSCustomObject]@{ + "accountName" = ${AccountName} + "firstName" = ${FirstName} + "lastName" = ${LastName} + "email" = ${Email} + "phone" = ${Phone} + "manager" = ${Manager} + "sourceId" = ${SourceId} + "data" = ${VarData} + "startDate" = ${StartDate} + "endDate" = ${EndDate} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeRequestLite.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeRequestLite.ps1 new file mode 100644 index 000000000..eaa656d50 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeRequestLite.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +Non-Employee request id. +.PARAMETER Requester +No description available. +.OUTPUTS + +NonEmployeeRequestLite +#> + +function Initialize-V2024NonEmployeeRequestLite { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Requester} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024NonEmployeeRequestLite' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "requester" = ${Requester} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to NonEmployeeRequestLite + +.DESCRIPTION + +Convert from JSON to NonEmployeeRequestLite + +.PARAMETER Json + +Json object + +.OUTPUTS + +NonEmployeeRequestLite +#> +function ConvertFrom-V2024JsonToNonEmployeeRequestLite { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024NonEmployeeRequestLite' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024NonEmployeeRequestLite + $AllProperties = ("id", "requester") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requester"))) { #optional property not found + $Requester = $null + } else { + $Requester = $JsonParameters.PSobject.Properties["requester"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "requester" = ${Requester} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeRequestSummary.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeRequestSummary.ps1 new file mode 100644 index 000000000..7671c36c7 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeRequestSummary.ps1 @@ -0,0 +1,135 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Approved +The number of approved non-employee requests on all sources that *requested-for* user manages. +.PARAMETER Rejected +The number of rejected non-employee requests on all sources that *requested-for* user manages. +.PARAMETER Pending +The number of pending non-employee requests on all sources that *requested-for* user manages. +.PARAMETER NonEmployeeCount +The number of non-employee records on all sources that *requested-for* user manages. +.OUTPUTS + +NonEmployeeRequestSummary +#> + +function Initialize-V2024NonEmployeeRequestSummary { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${Approved}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${Rejected}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${Pending}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${NonEmployeeCount} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024NonEmployeeRequestSummary' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "approved" = ${Approved} + "rejected" = ${Rejected} + "pending" = ${Pending} + "nonEmployeeCount" = ${NonEmployeeCount} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to NonEmployeeRequestSummary + +.DESCRIPTION + +Convert from JSON to NonEmployeeRequestSummary + +.PARAMETER Json + +Json object + +.OUTPUTS + +NonEmployeeRequestSummary +#> +function ConvertFrom-V2024JsonToNonEmployeeRequestSummary { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024NonEmployeeRequestSummary' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024NonEmployeeRequestSummary + $AllProperties = ("approved", "rejected", "pending", "nonEmployeeCount") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "approved"))) { #optional property not found + $Approved = $null + } else { + $Approved = $JsonParameters.PSobject.Properties["approved"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "rejected"))) { #optional property not found + $Rejected = $null + } else { + $Rejected = $JsonParameters.PSobject.Properties["rejected"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "pending"))) { #optional property not found + $Pending = $null + } else { + $Pending = $JsonParameters.PSobject.Properties["pending"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "nonEmployeeCount"))) { #optional property not found + $NonEmployeeCount = $null + } else { + $NonEmployeeCount = $JsonParameters.PSobject.Properties["nonEmployeeCount"].value + } + + $PSO = [PSCustomObject]@{ + "approved" = ${Approved} + "rejected" = ${Rejected} + "pending" = ${Pending} + "nonEmployeeCount" = ${NonEmployeeCount} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeRequestWithoutApprovalItem.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeRequestWithoutApprovalItem.ps1 new file mode 100644 index 000000000..68c2f33f0 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeRequestWithoutApprovalItem.ps1 @@ -0,0 +1,305 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +Non-Employee request id. +.PARAMETER Requester +No description available. +.PARAMETER AccountName +Requested identity account name. +.PARAMETER FirstName +Non-Employee's first name. +.PARAMETER LastName +Non-Employee's last name. +.PARAMETER Email +Non-Employee's email. +.PARAMETER Phone +Non-Employee's phone. +.PARAMETER Manager +The account ID of a valid identity to serve as this non-employee's manager. +.PARAMETER NonEmployeeSource +No description available. +.PARAMETER VarData +Attribute blob/bag for a non-employee. +.PARAMETER ApprovalStatus +No description available. +.PARAMETER Comment +comment of requester +.PARAMETER CompletionDate +When the request was completely approved. +.PARAMETER StartDate +Non-Employee employment start date. +.PARAMETER EndDate +Non-Employee employment end date. +.PARAMETER Modified +When the request was last modified. +.PARAMETER Created +When the request was created. +.OUTPUTS + +NonEmployeeRequestWithoutApprovalItem +#> + +function Initialize-V2024NonEmployeeRequestWithoutApprovalItem { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Requester}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AccountName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${FirstName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${LastName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Email}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Phone}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Manager}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${NonEmployeeSource}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${VarData}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("APPROVED", "REJECTED", "PENDING", "NOT_READY", "CANCELLED")] + [PSCustomObject] + ${ApprovalStatus}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Comment}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${CompletionDate}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${StartDate}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${EndDate}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Modified}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Created} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024NonEmployeeRequestWithoutApprovalItem' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "requester" = ${Requester} + "accountName" = ${AccountName} + "firstName" = ${FirstName} + "lastName" = ${LastName} + "email" = ${Email} + "phone" = ${Phone} + "manager" = ${Manager} + "nonEmployeeSource" = ${NonEmployeeSource} + "data" = ${VarData} + "approvalStatus" = ${ApprovalStatus} + "comment" = ${Comment} + "completionDate" = ${CompletionDate} + "startDate" = ${StartDate} + "endDate" = ${EndDate} + "modified" = ${Modified} + "created" = ${Created} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to NonEmployeeRequestWithoutApprovalItem + +.DESCRIPTION + +Convert from JSON to NonEmployeeRequestWithoutApprovalItem + +.PARAMETER Json + +Json object + +.OUTPUTS + +NonEmployeeRequestWithoutApprovalItem +#> +function ConvertFrom-V2024JsonToNonEmployeeRequestWithoutApprovalItem { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024NonEmployeeRequestWithoutApprovalItem' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024NonEmployeeRequestWithoutApprovalItem + $AllProperties = ("id", "requester", "accountName", "firstName", "lastName", "email", "phone", "manager", "nonEmployeeSource", "data", "approvalStatus", "comment", "completionDate", "startDate", "endDate", "modified", "created") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requester"))) { #optional property not found + $Requester = $null + } else { + $Requester = $JsonParameters.PSobject.Properties["requester"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accountName"))) { #optional property not found + $AccountName = $null + } else { + $AccountName = $JsonParameters.PSobject.Properties["accountName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "firstName"))) { #optional property not found + $FirstName = $null + } else { + $FirstName = $JsonParameters.PSobject.Properties["firstName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "lastName"))) { #optional property not found + $LastName = $null + } else { + $LastName = $JsonParameters.PSobject.Properties["lastName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "email"))) { #optional property not found + $Email = $null + } else { + $Email = $JsonParameters.PSobject.Properties["email"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "phone"))) { #optional property not found + $Phone = $null + } else { + $Phone = $JsonParameters.PSobject.Properties["phone"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "manager"))) { #optional property not found + $Manager = $null + } else { + $Manager = $JsonParameters.PSobject.Properties["manager"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "nonEmployeeSource"))) { #optional property not found + $NonEmployeeSource = $null + } else { + $NonEmployeeSource = $JsonParameters.PSobject.Properties["nonEmployeeSource"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "data"))) { #optional property not found + $VarData = $null + } else { + $VarData = $JsonParameters.PSobject.Properties["data"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "approvalStatus"))) { #optional property not found + $ApprovalStatus = $null + } else { + $ApprovalStatus = $JsonParameters.PSobject.Properties["approvalStatus"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "comment"))) { #optional property not found + $Comment = $null + } else { + $Comment = $JsonParameters.PSobject.Properties["comment"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "completionDate"))) { #optional property not found + $CompletionDate = $null + } else { + $CompletionDate = $JsonParameters.PSobject.Properties["completionDate"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "startDate"))) { #optional property not found + $StartDate = $null + } else { + $StartDate = $JsonParameters.PSobject.Properties["startDate"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "endDate"))) { #optional property not found + $EndDate = $null + } else { + $EndDate = $JsonParameters.PSobject.Properties["endDate"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "requester" = ${Requester} + "accountName" = ${AccountName} + "firstName" = ${FirstName} + "lastName" = ${LastName} + "email" = ${Email} + "phone" = ${Phone} + "manager" = ${Manager} + "nonEmployeeSource" = ${NonEmployeeSource} + "data" = ${VarData} + "approvalStatus" = ${ApprovalStatus} + "comment" = ${Comment} + "completionDate" = ${CompletionDate} + "startDate" = ${StartDate} + "endDate" = ${EndDate} + "modified" = ${Modified} + "created" = ${Created} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeSchemaAttribute.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeSchemaAttribute.ps1 new file mode 100644 index 000000000..ee1b57839 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeSchemaAttribute.ps1 @@ -0,0 +1,230 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +Schema Attribute Id +.PARAMETER System +True if this schema attribute is mandatory on all non-employees sources. +.PARAMETER Modified +When the schema attribute was last modified. +.PARAMETER Created +When the schema attribute was created. +.PARAMETER Type +No description available. +.PARAMETER Label +Label displayed on the UI for this schema attribute. +.PARAMETER TechnicalName +The technical name of the attribute. Must be unique per source. +.PARAMETER HelpText +help text displayed by UI. +.PARAMETER Placeholder +Hint text that fills UI box. +.PARAMETER Required +If true, the schema attribute is required for all non-employees in the source +.OUTPUTS + +NonEmployeeSchemaAttribute +#> + +function Initialize-V2024NonEmployeeSchemaAttribute { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${System}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Modified}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("TEXT", "DATE", "IDENTITY")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Label}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${TechnicalName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${HelpText}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Placeholder}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Required} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024NonEmployeeSchemaAttribute' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Label) { + throw "invalid value for 'Label', 'Label' cannot be null." + } + + if (!$TechnicalName) { + throw "invalid value for 'TechnicalName', 'TechnicalName' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "system" = ${System} + "modified" = ${Modified} + "created" = ${Created} + "type" = ${Type} + "label" = ${Label} + "technicalName" = ${TechnicalName} + "helpText" = ${HelpText} + "placeholder" = ${Placeholder} + "required" = ${Required} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to NonEmployeeSchemaAttribute + +.DESCRIPTION + +Convert from JSON to NonEmployeeSchemaAttribute + +.PARAMETER Json + +Json object + +.OUTPUTS + +NonEmployeeSchemaAttribute +#> +function ConvertFrom-V2024JsonToNonEmployeeSchemaAttribute { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024NonEmployeeSchemaAttribute' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024NonEmployeeSchemaAttribute + $AllProperties = ("id", "system", "modified", "created", "type", "label", "technicalName", "helpText", "placeholder", "required") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'type' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "label"))) { + throw "Error! JSON cannot be serialized due to the required property 'label' missing." + } else { + $Label = $JsonParameters.PSobject.Properties["label"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "technicalName"))) { + throw "Error! JSON cannot be serialized due to the required property 'technicalName' missing." + } else { + $TechnicalName = $JsonParameters.PSobject.Properties["technicalName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "system"))) { #optional property not found + $System = $null + } else { + $System = $JsonParameters.PSobject.Properties["system"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "helpText"))) { #optional property not found + $HelpText = $null + } else { + $HelpText = $JsonParameters.PSobject.Properties["helpText"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "placeholder"))) { #optional property not found + $Placeholder = $null + } else { + $Placeholder = $JsonParameters.PSobject.Properties["placeholder"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "required"))) { #optional property not found + $Required = $null + } else { + $Required = $JsonParameters.PSobject.Properties["required"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "system" = ${System} + "modified" = ${Modified} + "created" = ${Created} + "type" = ${Type} + "label" = ${Label} + "technicalName" = ${TechnicalName} + "helpText" = ${HelpText} + "placeholder" = ${Placeholder} + "required" = ${Required} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeSchemaAttributeBody.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeSchemaAttributeBody.ps1 new file mode 100644 index 000000000..eda102ead --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeSchemaAttributeBody.ps1 @@ -0,0 +1,177 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Type +Type of the attribute. Only type 'TEXT' is supported for custom attributes. +.PARAMETER Label +Label displayed on the UI for this schema attribute. +.PARAMETER TechnicalName +The technical name of the attribute. Must be unique per source. +.PARAMETER HelpText +help text displayed by UI. +.PARAMETER Placeholder +Hint text that fills UI box. +.PARAMETER Required +If true, the schema attribute is required for all non-employees in the source +.OUTPUTS + +NonEmployeeSchemaAttributeBody +#> + +function Initialize-V2024NonEmployeeSchemaAttributeBody { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Label}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${TechnicalName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${HelpText}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Placeholder}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Required} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024NonEmployeeSchemaAttributeBody' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Label) { + throw "invalid value for 'Label', 'Label' cannot be null." + } + + if (!$TechnicalName) { + throw "invalid value for 'TechnicalName', 'TechnicalName' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "label" = ${Label} + "technicalName" = ${TechnicalName} + "helpText" = ${HelpText} + "placeholder" = ${Placeholder} + "required" = ${Required} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to NonEmployeeSchemaAttributeBody + +.DESCRIPTION + +Convert from JSON to NonEmployeeSchemaAttributeBody + +.PARAMETER Json + +Json object + +.OUTPUTS + +NonEmployeeSchemaAttributeBody +#> +function ConvertFrom-V2024JsonToNonEmployeeSchemaAttributeBody { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024NonEmployeeSchemaAttributeBody' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024NonEmployeeSchemaAttributeBody + $AllProperties = ("type", "label", "technicalName", "helpText", "placeholder", "required") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'type' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "label"))) { + throw "Error! JSON cannot be serialized due to the required property 'label' missing." + } else { + $Label = $JsonParameters.PSobject.Properties["label"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "technicalName"))) { + throw "Error! JSON cannot be serialized due to the required property 'technicalName' missing." + } else { + $TechnicalName = $JsonParameters.PSobject.Properties["technicalName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "helpText"))) { #optional property not found + $HelpText = $null + } else { + $HelpText = $JsonParameters.PSobject.Properties["helpText"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "placeholder"))) { #optional property not found + $Placeholder = $null + } else { + $Placeholder = $JsonParameters.PSobject.Properties["placeholder"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "required"))) { #optional property not found + $Required = $null + } else { + $Required = $JsonParameters.PSobject.Properties["required"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "label" = ${Label} + "technicalName" = ${TechnicalName} + "helpText" = ${HelpText} + "placeholder" = ${Placeholder} + "required" = ${Required} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeSchemaAttributeType.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeSchemaAttributeType.ps1 new file mode 100644 index 000000000..951096072 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeSchemaAttributeType.ps1 @@ -0,0 +1,26 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum NonEmployeeSchemaAttributeType. + +.DESCRIPTION + +Enum representing the type of data a schema attribute accepts. +#> + +enum NonEmployeeSchemaAttributeType { + # enum value: "TEXT" + TEXT + # enum value: "DATE" + DATE + # enum value: "IDENTITY" + IDENTITY +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeSource.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeSource.ps1 new file mode 100644 index 000000000..83c9833bb --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeSource.ps1 @@ -0,0 +1,187 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +Non-Employee source id. +.PARAMETER SourceId +Source Id associated with this non-employee source. +.PARAMETER Name +Source name associated with this non-employee source. +.PARAMETER Description +Source description associated with this non-employee source. +.PARAMETER Approvers +List of approvers +.PARAMETER AccountManagers +List of account managers +.PARAMETER Modified +When the request was last modified. +.PARAMETER Created +When the request was created. +.OUTPUTS + +NonEmployeeSource +#> + +function Initialize-V2024NonEmployeeSource { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SourceId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Approvers}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${AccountManagers}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Modified}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Created} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024NonEmployeeSource' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "sourceId" = ${SourceId} + "name" = ${Name} + "description" = ${Description} + "approvers" = ${Approvers} + "accountManagers" = ${AccountManagers} + "modified" = ${Modified} + "created" = ${Created} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to NonEmployeeSource + +.DESCRIPTION + +Convert from JSON to NonEmployeeSource + +.PARAMETER Json + +Json object + +.OUTPUTS + +NonEmployeeSource +#> +function ConvertFrom-V2024JsonToNonEmployeeSource { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024NonEmployeeSource' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024NonEmployeeSource + $AllProperties = ("id", "sourceId", "name", "description", "approvers", "accountManagers", "modified", "created") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceId"))) { #optional property not found + $SourceId = $null + } else { + $SourceId = $JsonParameters.PSobject.Properties["sourceId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "approvers"))) { #optional property not found + $Approvers = $null + } else { + $Approvers = $JsonParameters.PSobject.Properties["approvers"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accountManagers"))) { #optional property not found + $AccountManagers = $null + } else { + $AccountManagers = $JsonParameters.PSobject.Properties["accountManagers"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "sourceId" = ${SourceId} + "name" = ${Name} + "description" = ${Description} + "approvers" = ${Approvers} + "accountManagers" = ${AccountManagers} + "modified" = ${Modified} + "created" = ${Created} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeSourceLite.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeSourceLite.ps1 new file mode 100644 index 000000000..8971835db --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeSourceLite.ps1 @@ -0,0 +1,135 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +Non-Employee source id. +.PARAMETER SourceId +Source Id associated with this non-employee source. +.PARAMETER Name +Source name associated with this non-employee source. +.PARAMETER Description +Source description associated with this non-employee source. +.OUTPUTS + +NonEmployeeSourceLite +#> + +function Initialize-V2024NonEmployeeSourceLite { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SourceId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024NonEmployeeSourceLite' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "sourceId" = ${SourceId} + "name" = ${Name} + "description" = ${Description} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to NonEmployeeSourceLite + +.DESCRIPTION + +Convert from JSON to NonEmployeeSourceLite + +.PARAMETER Json + +Json object + +.OUTPUTS + +NonEmployeeSourceLite +#> +function ConvertFrom-V2024JsonToNonEmployeeSourceLite { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024NonEmployeeSourceLite' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024NonEmployeeSourceLite + $AllProperties = ("id", "sourceId", "name", "description") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceId"))) { #optional property not found + $SourceId = $null + } else { + $SourceId = $JsonParameters.PSobject.Properties["sourceId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "sourceId" = ${SourceId} + "name" = ${Name} + "description" = ${Description} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeSourceLiteWithSchemaAttributes.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeSourceLiteWithSchemaAttributes.ps1 new file mode 100644 index 000000000..ff0a10db1 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeSourceLiteWithSchemaAttributes.ps1 @@ -0,0 +1,148 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +Non-Employee source id. +.PARAMETER SourceId +Source Id associated with this non-employee source. +.PARAMETER Name +Source name associated with this non-employee source. +.PARAMETER Description +Source description associated with this non-employee source. +.PARAMETER SchemaAttributes +List of schema attributes associated with this non-employee source. +.OUTPUTS + +NonEmployeeSourceLiteWithSchemaAttributes +#> + +function Initialize-V2024NonEmployeeSourceLiteWithSchemaAttributes { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SourceId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${SchemaAttributes} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024NonEmployeeSourceLiteWithSchemaAttributes' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "sourceId" = ${SourceId} + "name" = ${Name} + "description" = ${Description} + "schemaAttributes" = ${SchemaAttributes} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to NonEmployeeSourceLiteWithSchemaAttributes + +.DESCRIPTION + +Convert from JSON to NonEmployeeSourceLiteWithSchemaAttributes + +.PARAMETER Json + +Json object + +.OUTPUTS + +NonEmployeeSourceLiteWithSchemaAttributes +#> +function ConvertFrom-V2024JsonToNonEmployeeSourceLiteWithSchemaAttributes { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024NonEmployeeSourceLiteWithSchemaAttributes' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024NonEmployeeSourceLiteWithSchemaAttributes + $AllProperties = ("id", "sourceId", "name", "description", "schemaAttributes") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceId"))) { #optional property not found + $SourceId = $null + } else { + $SourceId = $JsonParameters.PSobject.Properties["sourceId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "schemaAttributes"))) { #optional property not found + $SchemaAttributes = $null + } else { + $SchemaAttributes = $JsonParameters.PSobject.Properties["schemaAttributes"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "sourceId" = ${SourceId} + "name" = ${Name} + "description" = ${Description} + "schemaAttributes" = ${SchemaAttributes} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeSourceRequestBody.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeSourceRequestBody.ps1 new file mode 100644 index 000000000..98b2bf81d --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeSourceRequestBody.ps1 @@ -0,0 +1,185 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Name +Name of non-employee source. +.PARAMETER Description +Description of non-employee source. +.PARAMETER Owner +No description available. +.PARAMETER ManagementWorkgroup +The ID for the management workgroup that contains source sub-admins +.PARAMETER Approvers +List of approvers. +.PARAMETER AccountManagers +List of account managers. +.OUTPUTS + +NonEmployeeSourceRequestBody +#> + +function Initialize-V2024NonEmployeeSourceRequestBody { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Owner}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ManagementWorkgroup}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Approvers}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${AccountManagers} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024NonEmployeeSourceRequestBody' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if (!$Description) { + throw "invalid value for 'Description', 'Description' cannot be null." + } + + if (!$Owner) { + throw "invalid value for 'Owner', 'Owner' cannot be null." + } + + if (!$Approvers -and $Approvers.length -gt 3) { + throw "invalid value for 'Approvers', number of items must be less than or equal to 3." + } + + if (!$AccountManagers -and $AccountManagers.length -gt 10) { + throw "invalid value for 'AccountManagers', number of items must be less than or equal to 10." + } + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "description" = ${Description} + "owner" = ${Owner} + "managementWorkgroup" = ${ManagementWorkgroup} + "approvers" = ${Approvers} + "accountManagers" = ${AccountManagers} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to NonEmployeeSourceRequestBody + +.DESCRIPTION + +Convert from JSON to NonEmployeeSourceRequestBody + +.PARAMETER Json + +Json object + +.OUTPUTS + +NonEmployeeSourceRequestBody +#> +function ConvertFrom-V2024JsonToNonEmployeeSourceRequestBody { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024NonEmployeeSourceRequestBody' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024NonEmployeeSourceRequestBody + $AllProperties = ("name", "description", "owner", "managementWorkgroup", "approvers", "accountManagers") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'name' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { + throw "Error! JSON cannot be serialized due to the required property 'description' missing." + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "owner"))) { + throw "Error! JSON cannot be serialized due to the required property 'owner' missing." + } else { + $Owner = $JsonParameters.PSobject.Properties["owner"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "managementWorkgroup"))) { #optional property not found + $ManagementWorkgroup = $null + } else { + $ManagementWorkgroup = $JsonParameters.PSobject.Properties["managementWorkgroup"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "approvers"))) { #optional property not found + $Approvers = $null + } else { + $Approvers = $JsonParameters.PSobject.Properties["approvers"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accountManagers"))) { #optional property not found + $AccountManagers = $null + } else { + $AccountManagers = $JsonParameters.PSobject.Properties["accountManagers"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "description" = ${Description} + "owner" = ${Owner} + "managementWorkgroup" = ${ManagementWorkgroup} + "approvers" = ${Approvers} + "accountManagers" = ${AccountManagers} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeSourceWithCloudExternalId.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeSourceWithCloudExternalId.ps1 new file mode 100644 index 000000000..18ce878a4 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeSourceWithCloudExternalId.ps1 @@ -0,0 +1,200 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +Non-Employee source id. +.PARAMETER SourceId +Source Id associated with this non-employee source. +.PARAMETER Name +Source name associated with this non-employee source. +.PARAMETER Description +Source description associated with this non-employee source. +.PARAMETER Approvers +List of approvers +.PARAMETER AccountManagers +List of account managers +.PARAMETER Modified +When the request was last modified. +.PARAMETER Created +When the request was created. +.PARAMETER CloudExternalId +Legacy ID used for sources from the V1 API. This attribute will be removed from a future version of the API and will not be considered a breaking change. No clients should rely on this ID always being present. +.OUTPUTS + +NonEmployeeSourceWithCloudExternalId +#> + +function Initialize-V2024NonEmployeeSourceWithCloudExternalId { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SourceId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Approvers}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${AccountManagers}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Modified}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${CloudExternalId} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024NonEmployeeSourceWithCloudExternalId' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "sourceId" = ${SourceId} + "name" = ${Name} + "description" = ${Description} + "approvers" = ${Approvers} + "accountManagers" = ${AccountManagers} + "modified" = ${Modified} + "created" = ${Created} + "cloudExternalId" = ${CloudExternalId} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to NonEmployeeSourceWithCloudExternalId + +.DESCRIPTION + +Convert from JSON to NonEmployeeSourceWithCloudExternalId + +.PARAMETER Json + +Json object + +.OUTPUTS + +NonEmployeeSourceWithCloudExternalId +#> +function ConvertFrom-V2024JsonToNonEmployeeSourceWithCloudExternalId { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024NonEmployeeSourceWithCloudExternalId' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024NonEmployeeSourceWithCloudExternalId + $AllProperties = ("id", "sourceId", "name", "description", "approvers", "accountManagers", "modified", "created", "cloudExternalId") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceId"))) { #optional property not found + $SourceId = $null + } else { + $SourceId = $JsonParameters.PSobject.Properties["sourceId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "approvers"))) { #optional property not found + $Approvers = $null + } else { + $Approvers = $JsonParameters.PSobject.Properties["approvers"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accountManagers"))) { #optional property not found + $AccountManagers = $null + } else { + $AccountManagers = $JsonParameters.PSobject.Properties["accountManagers"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "cloudExternalId"))) { #optional property not found + $CloudExternalId = $null + } else { + $CloudExternalId = $JsonParameters.PSobject.Properties["cloudExternalId"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "sourceId" = ${SourceId} + "name" = ${Name} + "description" = ${Description} + "approvers" = ${Approvers} + "accountManagers" = ${AccountManagers} + "modified" = ${Modified} + "created" = ${Created} + "cloudExternalId" = ${CloudExternalId} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeSourceWithNECount.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeSourceWithNECount.ps1 new file mode 100644 index 000000000..9d37e0eda --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NonEmployeeSourceWithNECount.ps1 @@ -0,0 +1,200 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +Non-Employee source id. +.PARAMETER SourceId +Source Id associated with this non-employee source. +.PARAMETER Name +Source name associated with this non-employee source. +.PARAMETER Description +Source description associated with this non-employee source. +.PARAMETER Approvers +List of approvers +.PARAMETER AccountManagers +List of account managers +.PARAMETER Modified +When the request was last modified. +.PARAMETER Created +When the request was created. +.PARAMETER NonEmployeeCount +Number of non-employee records associated with this source. +.OUTPUTS + +NonEmployeeSourceWithNECount +#> + +function Initialize-V2024NonEmployeeSourceWithNECount { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SourceId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Approvers}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${AccountManagers}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Modified}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${NonEmployeeCount} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024NonEmployeeSourceWithNECount' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "sourceId" = ${SourceId} + "name" = ${Name} + "description" = ${Description} + "approvers" = ${Approvers} + "accountManagers" = ${AccountManagers} + "modified" = ${Modified} + "created" = ${Created} + "nonEmployeeCount" = ${NonEmployeeCount} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to NonEmployeeSourceWithNECount + +.DESCRIPTION + +Convert from JSON to NonEmployeeSourceWithNECount + +.PARAMETER Json + +Json object + +.OUTPUTS + +NonEmployeeSourceWithNECount +#> +function ConvertFrom-V2024JsonToNonEmployeeSourceWithNECount { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024NonEmployeeSourceWithNECount' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024NonEmployeeSourceWithNECount + $AllProperties = ("id", "sourceId", "name", "description", "approvers", "accountManagers", "modified", "created", "nonEmployeeCount") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceId"))) { #optional property not found + $SourceId = $null + } else { + $SourceId = $JsonParameters.PSobject.Properties["sourceId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "approvers"))) { #optional property not found + $Approvers = $null + } else { + $Approvers = $JsonParameters.PSobject.Properties["approvers"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accountManagers"))) { #optional property not found + $AccountManagers = $null + } else { + $AccountManagers = $JsonParameters.PSobject.Properties["accountManagers"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "nonEmployeeCount"))) { #optional property not found + $NonEmployeeCount = $null + } else { + $NonEmployeeCount = $JsonParameters.PSobject.Properties["nonEmployeeCount"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "sourceId" = ${SourceId} + "name" = ${Name} + "description" = ${Description} + "approvers" = ${Approvers} + "accountManagers" = ${AccountManagers} + "modified" = ${Modified} + "created" = ${Created} + "nonEmployeeCount" = ${NonEmployeeCount} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/NotificationTemplateContext.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NotificationTemplateContext.ps1 new file mode 100644 index 000000000..25a33e4eb --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/NotificationTemplateContext.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Attributes +A JSON object that stores the context. +.PARAMETER Created +When the global context was created +.PARAMETER Modified +When the global context was last modified +.OUTPUTS + +NotificationTemplateContext +#> + +function Initialize-V2024NotificationTemplateContext { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${Attributes}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Modified} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024NotificationTemplateContext' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "attributes" = ${Attributes} + "created" = ${Created} + "modified" = ${Modified} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to NotificationTemplateContext + +.DESCRIPTION + +Convert from JSON to NotificationTemplateContext + +.PARAMETER Json + +Json object + +.OUTPUTS + +NotificationTemplateContext +#> +function ConvertFrom-V2024JsonToNotificationTemplateContext { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024NotificationTemplateContext' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024NotificationTemplateContext + $AllProperties = ("attributes", "created", "modified") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributes"))) { #optional property not found + $Attributes = $null + } else { + $Attributes = $JsonParameters.PSobject.Properties["attributes"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + $PSO = [PSCustomObject]@{ + "attributes" = ${Attributes} + "created" = ${Created} + "modified" = ${Modified} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ObjectExportImportOptions.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ObjectExportImportOptions.ps1 new file mode 100644 index 000000000..d35ef0252 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ObjectExportImportOptions.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER IncludedIds +Object ids to be included in an import or export. +.PARAMETER IncludedNames +Object names to be included in an import or export. +.OUTPUTS + +ObjectExportImportOptions +#> + +function Initialize-V2024ObjectExportImportOptions { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${IncludedIds}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${IncludedNames} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ObjectExportImportOptions' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "includedIds" = ${IncludedIds} + "includedNames" = ${IncludedNames} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ObjectExportImportOptions + +.DESCRIPTION + +Convert from JSON to ObjectExportImportOptions + +.PARAMETER Json + +Json object + +.OUTPUTS + +ObjectExportImportOptions +#> +function ConvertFrom-V2024JsonToObjectExportImportOptions { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ObjectExportImportOptions' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ObjectExportImportOptions + $AllProperties = ("includedIds", "includedNames") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "includedIds"))) { #optional property not found + $IncludedIds = $null + } else { + $IncludedIds = $JsonParameters.PSobject.Properties["includedIds"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "includedNames"))) { #optional property not found + $IncludedNames = $null + } else { + $IncludedNames = $JsonParameters.PSobject.Properties["includedNames"].value + } + + $PSO = [PSCustomObject]@{ + "includedIds" = ${IncludedIds} + "includedNames" = ${IncludedNames} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ObjectImportResult.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ObjectImportResult.ps1 new file mode 100644 index 000000000..166a1cc5b --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ObjectImportResult.ps1 @@ -0,0 +1,155 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Response model for import of a single object. + +.PARAMETER Infos +Informational messages returned from the target service on import. +.PARAMETER Warnings +Warning messages returned from the target service on import. +.PARAMETER Errors +Error messages returned from the target service on import. +.PARAMETER ImportedObjects +References to objects that were created or updated by the import. +.OUTPUTS + +ObjectImportResult +#> + +function Initialize-V2024ObjectImportResult { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Infos}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Warnings}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Errors}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${ImportedObjects} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ObjectImportResult' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Infos) { + throw "invalid value for 'Infos', 'Infos' cannot be null." + } + + if (!$Warnings) { + throw "invalid value for 'Warnings', 'Warnings' cannot be null." + } + + if (!$Errors) { + throw "invalid value for 'Errors', 'Errors' cannot be null." + } + + if (!$ImportedObjects) { + throw "invalid value for 'ImportedObjects', 'ImportedObjects' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "infos" = ${Infos} + "warnings" = ${Warnings} + "errors" = ${Errors} + "importedObjects" = ${ImportedObjects} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ObjectImportResult + +.DESCRIPTION + +Convert from JSON to ObjectImportResult + +.PARAMETER Json + +Json object + +.OUTPUTS + +ObjectImportResult +#> +function ConvertFrom-V2024JsonToObjectImportResult { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ObjectImportResult' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ObjectImportResult + $AllProperties = ("infos", "warnings", "errors", "importedObjects") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'infos' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "infos"))) { + throw "Error! JSON cannot be serialized due to the required property 'infos' missing." + } else { + $Infos = $JsonParameters.PSobject.Properties["infos"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "warnings"))) { + throw "Error! JSON cannot be serialized due to the required property 'warnings' missing." + } else { + $Warnings = $JsonParameters.PSobject.Properties["warnings"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "errors"))) { + throw "Error! JSON cannot be serialized due to the required property 'errors' missing." + } else { + $Errors = $JsonParameters.PSobject.Properties["errors"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "importedObjects"))) { + throw "Error! JSON cannot be serialized due to the required property 'importedObjects' missing." + } else { + $ImportedObjects = $JsonParameters.PSobject.Properties["importedObjects"].value + } + + $PSO = [PSCustomObject]@{ + "infos" = ${Infos} + "warnings" = ${Warnings} + "errors" = ${Errors} + "importedObjects" = ${ImportedObjects} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ObjectImportResult1.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ObjectImportResult1.ps1 new file mode 100644 index 000000000..a32e1a7be --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ObjectImportResult1.ps1 @@ -0,0 +1,155 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Response model for import of a single object. + +.PARAMETER Infos +Informational messages returned from the target service on import. +.PARAMETER Warnings +Warning messages returned from the target service on import. +.PARAMETER Errors +Error messages returned from the target service on import. +.PARAMETER ImportedObjects +References to objects that were created or updated by the import. +.OUTPUTS + +ObjectImportResult1 +#> + +function Initialize-V2024ObjectImportResult1 { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Infos}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Warnings}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Errors}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${ImportedObjects} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ObjectImportResult1' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Infos) { + throw "invalid value for 'Infos', 'Infos' cannot be null." + } + + if (!$Warnings) { + throw "invalid value for 'Warnings', 'Warnings' cannot be null." + } + + if (!$Errors) { + throw "invalid value for 'Errors', 'Errors' cannot be null." + } + + if (!$ImportedObjects) { + throw "invalid value for 'ImportedObjects', 'ImportedObjects' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "infos" = ${Infos} + "warnings" = ${Warnings} + "errors" = ${Errors} + "importedObjects" = ${ImportedObjects} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ObjectImportResult1 + +.DESCRIPTION + +Convert from JSON to ObjectImportResult1 + +.PARAMETER Json + +Json object + +.OUTPUTS + +ObjectImportResult1 +#> +function ConvertFrom-V2024JsonToObjectImportResult1 { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ObjectImportResult1' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ObjectImportResult1 + $AllProperties = ("infos", "warnings", "errors", "importedObjects") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'infos' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "infos"))) { + throw "Error! JSON cannot be serialized due to the required property 'infos' missing." + } else { + $Infos = $JsonParameters.PSobject.Properties["infos"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "warnings"))) { + throw "Error! JSON cannot be serialized due to the required property 'warnings' missing." + } else { + $Warnings = $JsonParameters.PSobject.Properties["warnings"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "errors"))) { + throw "Error! JSON cannot be serialized due to the required property 'errors' missing." + } else { + $Errors = $JsonParameters.PSobject.Properties["errors"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "importedObjects"))) { + throw "Error! JSON cannot be serialized due to the required property 'importedObjects' missing." + } else { + $ImportedObjects = $JsonParameters.PSobject.Properties["importedObjects"].value + } + + $PSO = [PSCustomObject]@{ + "infos" = ${Infos} + "warnings" = ${Warnings} + "errors" = ${Errors} + "importedObjects" = ${ImportedObjects} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ObjectMappingBulkCreateRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ObjectMappingBulkCreateRequest.ps1 new file mode 100644 index 000000000..a3e1ed640 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ObjectMappingBulkCreateRequest.ps1 @@ -0,0 +1,104 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER NewObjectMappings +No description available. +.OUTPUTS + +ObjectMappingBulkCreateRequest +#> + +function Initialize-V2024ObjectMappingBulkCreateRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${NewObjectMappings} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ObjectMappingBulkCreateRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$NewObjectMappings) { + throw "invalid value for 'NewObjectMappings', 'NewObjectMappings' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "newObjectMappings" = ${NewObjectMappings} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ObjectMappingBulkCreateRequest + +.DESCRIPTION + +Convert from JSON to ObjectMappingBulkCreateRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +ObjectMappingBulkCreateRequest +#> +function ConvertFrom-V2024JsonToObjectMappingBulkCreateRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ObjectMappingBulkCreateRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ObjectMappingBulkCreateRequest + $AllProperties = ("newObjectMappings") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'newObjectMappings' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "newObjectMappings"))) { + throw "Error! JSON cannot be serialized due to the required property 'newObjectMappings' missing." + } else { + $NewObjectMappings = $JsonParameters.PSobject.Properties["newObjectMappings"].value + } + + $PSO = [PSCustomObject]@{ + "newObjectMappings" = ${NewObjectMappings} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ObjectMappingBulkCreateResponse.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ObjectMappingBulkCreateResponse.ps1 new file mode 100644 index 000000000..1769e1cb4 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ObjectMappingBulkCreateResponse.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER AddedObjects +No description available. +.OUTPUTS + +ObjectMappingBulkCreateResponse +#> + +function Initialize-V2024ObjectMappingBulkCreateResponse { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${AddedObjects} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ObjectMappingBulkCreateResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "addedObjects" = ${AddedObjects} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ObjectMappingBulkCreateResponse + +.DESCRIPTION + +Convert from JSON to ObjectMappingBulkCreateResponse + +.PARAMETER Json + +Json object + +.OUTPUTS + +ObjectMappingBulkCreateResponse +#> +function ConvertFrom-V2024JsonToObjectMappingBulkCreateResponse { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ObjectMappingBulkCreateResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ObjectMappingBulkCreateResponse + $AllProperties = ("addedObjects") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "addedObjects"))) { #optional property not found + $AddedObjects = $null + } else { + $AddedObjects = $JsonParameters.PSobject.Properties["addedObjects"].value + } + + $PSO = [PSCustomObject]@{ + "addedObjects" = ${AddedObjects} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ObjectMappingBulkPatchRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ObjectMappingBulkPatchRequest.ps1 new file mode 100644 index 000000000..d3739f78b --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ObjectMappingBulkPatchRequest.ps1 @@ -0,0 +1,104 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Patches +Map of id of the object mapping to a JsonPatchOperation describing what to patch on that object mapping. +.OUTPUTS + +ObjectMappingBulkPatchRequest +#> + +function Initialize-V2024ObjectMappingBulkPatchRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${Patches} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ObjectMappingBulkPatchRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Patches) { + throw "invalid value for 'Patches', 'Patches' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "patches" = ${Patches} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ObjectMappingBulkPatchRequest + +.DESCRIPTION + +Convert from JSON to ObjectMappingBulkPatchRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +ObjectMappingBulkPatchRequest +#> +function ConvertFrom-V2024JsonToObjectMappingBulkPatchRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ObjectMappingBulkPatchRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ObjectMappingBulkPatchRequest + $AllProperties = ("patches") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'patches' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "patches"))) { + throw "Error! JSON cannot be serialized due to the required property 'patches' missing." + } else { + $Patches = $JsonParameters.PSobject.Properties["patches"].value + } + + $PSO = [PSCustomObject]@{ + "patches" = ${Patches} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ObjectMappingBulkPatchResponse.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ObjectMappingBulkPatchResponse.ps1 new file mode 100644 index 000000000..cd4bcc32a --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ObjectMappingBulkPatchResponse.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER PatchedObjects +No description available. +.OUTPUTS + +ObjectMappingBulkPatchResponse +#> + +function Initialize-V2024ObjectMappingBulkPatchResponse { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${PatchedObjects} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ObjectMappingBulkPatchResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "patchedObjects" = ${PatchedObjects} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ObjectMappingBulkPatchResponse + +.DESCRIPTION + +Convert from JSON to ObjectMappingBulkPatchResponse + +.PARAMETER Json + +Json object + +.OUTPUTS + +ObjectMappingBulkPatchResponse +#> +function ConvertFrom-V2024JsonToObjectMappingBulkPatchResponse { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ObjectMappingBulkPatchResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ObjectMappingBulkPatchResponse + $AllProperties = ("patchedObjects") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "patchedObjects"))) { #optional property not found + $PatchedObjects = $null + } else { + $PatchedObjects = $JsonParameters.PSobject.Properties["patchedObjects"].value + } + + $PSO = [PSCustomObject]@{ + "patchedObjects" = ${PatchedObjects} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ObjectMappingRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ObjectMappingRequest.ps1 new file mode 100644 index 000000000..4b4b8fda9 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ObjectMappingRequest.ps1 @@ -0,0 +1,169 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER ObjectType +Type of the object the mapping value applies to, must be one from enum +.PARAMETER JsonPath +JSONPath expression denoting the path within the object where the mapping value should be applied +.PARAMETER SourceValue +Original value at the jsonPath location within the object +.PARAMETER TargetValue +Value to be assigned at the jsonPath location within the object +.PARAMETER Enabled +Whether or not this object mapping is enabled +.OUTPUTS + +ObjectMappingRequest +#> + +function Initialize-V2024ObjectMappingRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ACCESS_PROFILE", "ACCESS_REQUEST_CONFIG", "ATTR_SYNC_SOURCE_CONFIG", "AUTH_ORG", "CAMPAIGN_FILTER", "ENTITLEMENT", "FORM_DEFINITION", "GOVERNANCE_GROUP", "IDENTITY", "IDENTITY_OBJECT_CONFIG", "IDENTITY_PROFILE", "LIFECYCLE_STATE", "NOTIFICATION_TEMPLATE", "PASSWORD_POLICY", "PASSWORD_SYNC_GROUP", "PUBLIC_IDENTITIES_CONFIG", "ROLE", "RULE", "SEGMENT", "SERVICE_DESK_INTEGRATION", "SOD_POLICY", "SOURCE", "TAG", "TRANSFORM", "TRIGGER_SUBSCRIPTION", "WORKFLOW")] + [String] + ${ObjectType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${JsonPath}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SourceValue}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${TargetValue}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Enabled} = $false + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ObjectMappingRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$ObjectType) { + throw "invalid value for 'ObjectType', 'ObjectType' cannot be null." + } + + if (!$JsonPath) { + throw "invalid value for 'JsonPath', 'JsonPath' cannot be null." + } + + if (!$SourceValue) { + throw "invalid value for 'SourceValue', 'SourceValue' cannot be null." + } + + if (!$TargetValue) { + throw "invalid value for 'TargetValue', 'TargetValue' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "objectType" = ${ObjectType} + "jsonPath" = ${JsonPath} + "sourceValue" = ${SourceValue} + "targetValue" = ${TargetValue} + "enabled" = ${Enabled} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ObjectMappingRequest + +.DESCRIPTION + +Convert from JSON to ObjectMappingRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +ObjectMappingRequest +#> +function ConvertFrom-V2024JsonToObjectMappingRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ObjectMappingRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ObjectMappingRequest + $AllProperties = ("objectType", "jsonPath", "sourceValue", "targetValue", "enabled") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'objectType' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "objectType"))) { + throw "Error! JSON cannot be serialized due to the required property 'objectType' missing." + } else { + $ObjectType = $JsonParameters.PSobject.Properties["objectType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "jsonPath"))) { + throw "Error! JSON cannot be serialized due to the required property 'jsonPath' missing." + } else { + $JsonPath = $JsonParameters.PSobject.Properties["jsonPath"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceValue"))) { + throw "Error! JSON cannot be serialized due to the required property 'sourceValue' missing." + } else { + $SourceValue = $JsonParameters.PSobject.Properties["sourceValue"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "targetValue"))) { + throw "Error! JSON cannot be serialized due to the required property 'targetValue' missing." + } else { + $TargetValue = $JsonParameters.PSobject.Properties["targetValue"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "enabled"))) { #optional property not found + $Enabled = $null + } else { + $Enabled = $JsonParameters.PSobject.Properties["enabled"].value + } + + $PSO = [PSCustomObject]@{ + "objectType" = ${ObjectType} + "jsonPath" = ${JsonPath} + "sourceValue" = ${SourceValue} + "targetValue" = ${TargetValue} + "enabled" = ${Enabled} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ObjectMappingResponse.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ObjectMappingResponse.ps1 new file mode 100644 index 000000000..e2557909e --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ObjectMappingResponse.ps1 @@ -0,0 +1,188 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER ObjectMappingId +Id of the object mapping +.PARAMETER ObjectType +Type of the object the mapping value applies to +.PARAMETER JsonPath +JSONPath expression denoting the path within the object where the mapping value should be applied +.PARAMETER SourceValue +Original value at the jsonPath location within the object +.PARAMETER TargetValue +Value to be assigned at the jsonPath location within the object +.PARAMETER Enabled +Whether or not this object mapping is enabled +.PARAMETER Created +Object mapping creation timestamp +.PARAMETER Modified +Object mapping latest update timestamp +.OUTPUTS + +ObjectMappingResponse +#> + +function Initialize-V2024ObjectMappingResponse { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ObjectMappingId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ACCESS_PROFILE", "ACCESS_REQUEST_CONFIG", "ATTR_SYNC_SOURCE_CONFIG", "AUTH_ORG", "CAMPAIGN_FILTER", "ENTITLEMENT", "FORM_DEFINITION", "GOVERNANCE_GROUP", "IDENTITY", "IDENTITY_OBJECT_CONFIG", "IDENTITY_PROFILE", "LIFECYCLE_STATE", "NOTIFICATION_TEMPLATE", "PASSWORD_POLICY", "PASSWORD_SYNC_GROUP", "PUBLIC_IDENTITIES_CONFIG", "ROLE", "RULE", "SEGMENT", "SERVICE_DESK_INTEGRATION", "SOD_POLICY", "SOURCE", "TAG", "TRANSFORM", "TRIGGER_SUBSCRIPTION", "WORKFLOW")] + [String] + ${ObjectType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${JsonPath}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SourceValue}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${TargetValue}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Enabled} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Modified} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ObjectMappingResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "objectMappingId" = ${ObjectMappingId} + "objectType" = ${ObjectType} + "jsonPath" = ${JsonPath} + "sourceValue" = ${SourceValue} + "targetValue" = ${TargetValue} + "enabled" = ${Enabled} + "created" = ${Created} + "modified" = ${Modified} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ObjectMappingResponse + +.DESCRIPTION + +Convert from JSON to ObjectMappingResponse + +.PARAMETER Json + +Json object + +.OUTPUTS + +ObjectMappingResponse +#> +function ConvertFrom-V2024JsonToObjectMappingResponse { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ObjectMappingResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ObjectMappingResponse + $AllProperties = ("objectMappingId", "objectType", "jsonPath", "sourceValue", "targetValue", "enabled", "created", "modified") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "objectMappingId"))) { #optional property not found + $ObjectMappingId = $null + } else { + $ObjectMappingId = $JsonParameters.PSobject.Properties["objectMappingId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "objectType"))) { #optional property not found + $ObjectType = $null + } else { + $ObjectType = $JsonParameters.PSobject.Properties["objectType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "jsonPath"))) { #optional property not found + $JsonPath = $null + } else { + $JsonPath = $JsonParameters.PSobject.Properties["jsonPath"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceValue"))) { #optional property not found + $SourceValue = $null + } else { + $SourceValue = $JsonParameters.PSobject.Properties["sourceValue"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "targetValue"))) { #optional property not found + $TargetValue = $null + } else { + $TargetValue = $JsonParameters.PSobject.Properties["targetValue"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "enabled"))) { #optional property not found + $Enabled = $null + } else { + $Enabled = $JsonParameters.PSobject.Properties["enabled"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + $PSO = [PSCustomObject]@{ + "objectMappingId" = ${ObjectMappingId} + "objectType" = ${ObjectType} + "jsonPath" = ${JsonPath} + "sourceValue" = ${SourceValue} + "targetValue" = ${TargetValue} + "enabled" = ${Enabled} + "created" = ${Created} + "modified" = ${Modified} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Operation.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Operation.ps1 new file mode 100644 index 000000000..3096c25e4 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Operation.ps1 @@ -0,0 +1,36 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum Operation. + +.DESCRIPTION + +Operation on a specific criteria +#> + +enum Operation { + # enum value: "EQUALS" + EQUALS + # enum value: "NOT_EQUALS" + NOT_EQUALS + # enum value: "CONTAINS" + CONTAINS + # enum value: "STARTS_WITH" + STARTS_WITH + # enum value: "ENDS_WITH" + ENDS_WITH + # enum value: "AND" + AND + # enum value: "OR" + OR + # enum value: "null" + null +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/OrgConfig.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/OrgConfig.ps1 new file mode 100644 index 000000000..7aa3fdd5a --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/OrgConfig.ps1 @@ -0,0 +1,213 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +DTO class for OrgConfig data accessible by customer external org admin (""ORG_ADMIN"") users + +.PARAMETER OrgName +The name of the org. +.PARAMETER TimeZone +The selected time zone which is to be used for the org. This directly affects when scheduled tasks are executed. Valid options can be found at /beta/org-config/valid-time-zones +.PARAMETER LcsChangeHonorsSourceEnableFeature +Flag to determine whether the LCS_CHANGE_HONORS_SOURCE_ENABLE_FEATURE flag is enabled for the current org. +.PARAMETER ArmCustomerId +ARM Customer ID +.PARAMETER ArmSapSystemIdMappings +A list of IDN::sourceId to ARM::systemId mappings. +.PARAMETER ArmAuth +ARM authentication string +.PARAMETER ArmDb +ARM database name +.PARAMETER ArmSsoUrl +ARM SSO URL +.PARAMETER IaiEnableCertificationRecommendations +Flag to determine whether IAI Certification Recommendations are enabled for the current org +.PARAMETER SodReportConfigs +No description available. +.OUTPUTS + +OrgConfig +#> + +function Initialize-V2024OrgConfig { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${OrgName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${TimeZone}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${LcsChangeHonorsSourceEnableFeature}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ArmCustomerId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ArmSapSystemIdMappings}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ArmAuth}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ArmDb}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ArmSsoUrl}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${IaiEnableCertificationRecommendations}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${SodReportConfigs} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024OrgConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "orgName" = ${OrgName} + "timeZone" = ${TimeZone} + "lcsChangeHonorsSourceEnableFeature" = ${LcsChangeHonorsSourceEnableFeature} + "armCustomerId" = ${ArmCustomerId} + "armSapSystemIdMappings" = ${ArmSapSystemIdMappings} + "armAuth" = ${ArmAuth} + "armDb" = ${ArmDb} + "armSsoUrl" = ${ArmSsoUrl} + "iaiEnableCertificationRecommendations" = ${IaiEnableCertificationRecommendations} + "sodReportConfigs" = ${SodReportConfigs} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to OrgConfig + +.DESCRIPTION + +Convert from JSON to OrgConfig + +.PARAMETER Json + +Json object + +.OUTPUTS + +OrgConfig +#> +function ConvertFrom-V2024JsonToOrgConfig { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024OrgConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024OrgConfig + $AllProperties = ("orgName", "timeZone", "lcsChangeHonorsSourceEnableFeature", "armCustomerId", "armSapSystemIdMappings", "armAuth", "armDb", "armSsoUrl", "iaiEnableCertificationRecommendations", "sodReportConfigs") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "orgName"))) { #optional property not found + $OrgName = $null + } else { + $OrgName = $JsonParameters.PSobject.Properties["orgName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "timeZone"))) { #optional property not found + $TimeZone = $null + } else { + $TimeZone = $JsonParameters.PSobject.Properties["timeZone"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "lcsChangeHonorsSourceEnableFeature"))) { #optional property not found + $LcsChangeHonorsSourceEnableFeature = $null + } else { + $LcsChangeHonorsSourceEnableFeature = $JsonParameters.PSobject.Properties["lcsChangeHonorsSourceEnableFeature"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "armCustomerId"))) { #optional property not found + $ArmCustomerId = $null + } else { + $ArmCustomerId = $JsonParameters.PSobject.Properties["armCustomerId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "armSapSystemIdMappings"))) { #optional property not found + $ArmSapSystemIdMappings = $null + } else { + $ArmSapSystemIdMappings = $JsonParameters.PSobject.Properties["armSapSystemIdMappings"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "armAuth"))) { #optional property not found + $ArmAuth = $null + } else { + $ArmAuth = $JsonParameters.PSobject.Properties["armAuth"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "armDb"))) { #optional property not found + $ArmDb = $null + } else { + $ArmDb = $JsonParameters.PSobject.Properties["armDb"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "armSsoUrl"))) { #optional property not found + $ArmSsoUrl = $null + } else { + $ArmSsoUrl = $JsonParameters.PSobject.Properties["armSsoUrl"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "iaiEnableCertificationRecommendations"))) { #optional property not found + $IaiEnableCertificationRecommendations = $null + } else { + $IaiEnableCertificationRecommendations = $JsonParameters.PSobject.Properties["iaiEnableCertificationRecommendations"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sodReportConfigs"))) { #optional property not found + $SodReportConfigs = $null + } else { + $SodReportConfigs = $JsonParameters.PSobject.Properties["sodReportConfigs"].value + } + + $PSO = [PSCustomObject]@{ + "orgName" = ${OrgName} + "timeZone" = ${TimeZone} + "lcsChangeHonorsSourceEnableFeature" = ${LcsChangeHonorsSourceEnableFeature} + "armCustomerId" = ${ArmCustomerId} + "armSapSystemIdMappings" = ${ArmSapSystemIdMappings} + "armAuth" = ${ArmAuth} + "armDb" = ${ArmDb} + "armSsoUrl" = ${ArmSsoUrl} + "iaiEnableCertificationRecommendations" = ${IaiEnableCertificationRecommendations} + "sodReportConfigs" = ${SodReportConfigs} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/OriginalRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/OriginalRequest.ps1 new file mode 100644 index 000000000..2cce48951 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/OriginalRequest.ps1 @@ -0,0 +1,135 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER AccountId +Account ID. +.PARAMETER AttributeRequests +Attribute changes requested for account. +.PARAMETER Op +Operation used. +.PARAMETER Source +No description available. +.OUTPUTS + +OriginalRequest +#> + +function Initialize-V2024OriginalRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AccountId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${AttributeRequests}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Op}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Source} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024OriginalRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "accountId" = ${AccountId} + "attributeRequests" = ${AttributeRequests} + "op" = ${Op} + "source" = ${Source} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to OriginalRequest + +.DESCRIPTION + +Convert from JSON to OriginalRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +OriginalRequest +#> +function ConvertFrom-V2024JsonToOriginalRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024OriginalRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024OriginalRequest + $AllProperties = ("accountId", "attributeRequests", "op", "source") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accountId"))) { #optional property not found + $AccountId = $null + } else { + $AccountId = $JsonParameters.PSobject.Properties["accountId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributeRequests"))) { #optional property not found + $AttributeRequests = $null + } else { + $AttributeRequests = $JsonParameters.PSobject.Properties["attributeRequests"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "op"))) { #optional property not found + $Op = $null + } else { + $Op = $JsonParameters.PSobject.Properties["op"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "source"))) { #optional property not found + $Source = $null + } else { + $Source = $JsonParameters.PSobject.Properties["source"].value + } + + $PSO = [PSCustomObject]@{ + "accountId" = ${AccountId} + "attributeRequests" = ${AttributeRequests} + "op" = ${Op} + "source" = ${Source} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/OrphanUncorrelatedReportArguments.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/OrphanUncorrelatedReportArguments.ps1 new file mode 100644 index 000000000..e3d1cb060 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/OrphanUncorrelatedReportArguments.ps1 @@ -0,0 +1,97 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Arguments for Orphan Identities report (ORPHAN_IDENTITIES) and Uncorrelated Accounts report (UNCORRELATED_ACCOUNTS) + +.PARAMETER SelectedFormats +Output report file formats. This are formats for calling get endpoint as a query parameter 'fileFormat'. In case report won't have this argument there will be ['CSV', 'PDF'] as default. +.OUTPUTS + +OrphanUncorrelatedReportArguments +#> + +function Initialize-V2024OrphanUncorrelatedReportArguments { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("CSV", "PDF")] + [String[]] + ${SelectedFormats} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024OrphanUncorrelatedReportArguments' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "selectedFormats" = ${SelectedFormats} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to OrphanUncorrelatedReportArguments + +.DESCRIPTION + +Convert from JSON to OrphanUncorrelatedReportArguments + +.PARAMETER Json + +Json object + +.OUTPUTS + +OrphanUncorrelatedReportArguments +#> +function ConvertFrom-V2024JsonToOrphanUncorrelatedReportArguments { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024OrphanUncorrelatedReportArguments' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024OrphanUncorrelatedReportArguments + $AllProperties = ("selectedFormats") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "selectedFormats"))) { #optional property not found + $SelectedFormats = $null + } else { + $SelectedFormats = $JsonParameters.PSobject.Properties["selectedFormats"].value + } + + $PSO = [PSCustomObject]@{ + "selectedFormats" = ${SelectedFormats} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Outlier.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Outlier.ps1 new file mode 100644 index 000000000..4652ae41a --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Outlier.ps1 @@ -0,0 +1,228 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +The identity's unique identifier for the outlier record +.PARAMETER IdentityId +The ID of the identity that is detected as an outlier +.PARAMETER Type +The type of outlier summary +.PARAMETER FirstDetectionDate +The first date the outlier was detected +.PARAMETER LatestDetectionDate +The most recent date the outlier was detected +.PARAMETER Ignored +Flag whether or not the outlier has been ignored +.PARAMETER Attributes +Object containing mapped identity attributes +.PARAMETER Score +The outlier score determined by the detection engine ranging from 0..1 +.PARAMETER UnignoreType +Enum value of if the outlier manually or automatically un-ignored. Will be NULL if outlier is not ignored +.PARAMETER UnignoreDate +shows date when last time has been unignored outlier +.PARAMETER IgnoreDate +shows date when last time has been ignored outlier +.OUTPUTS + +Outlier +#> + +function Initialize-V2024Outlier { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${IdentityId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("LOW_SIMILARITY", "STRUCTURAL")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${FirstDetectionDate}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${LatestDetectionDate}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Ignored}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Attributes}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Double]] + ${Score}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("MANUAL", "AUTOMATIC", "")] + [String] + ${UnignoreType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${UnignoreDate}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${IgnoreDate} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Outlier' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "identityId" = ${IdentityId} + "type" = ${Type} + "firstDetectionDate" = ${FirstDetectionDate} + "latestDetectionDate" = ${LatestDetectionDate} + "ignored" = ${Ignored} + "attributes" = ${Attributes} + "score" = ${Score} + "unignoreType" = ${UnignoreType} + "unignoreDate" = ${UnignoreDate} + "ignoreDate" = ${IgnoreDate} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Outlier + +.DESCRIPTION + +Convert from JSON to Outlier + +.PARAMETER Json + +Json object + +.OUTPUTS + +Outlier +#> +function ConvertFrom-V2024JsonToOutlier { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Outlier' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Outlier + $AllProperties = ("id", "identityId", "type", "firstDetectionDate", "latestDetectionDate", "ignored", "attributes", "score", "unignoreType", "unignoreDate", "ignoreDate") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityId"))) { #optional property not found + $IdentityId = $null + } else { + $IdentityId = $JsonParameters.PSobject.Properties["identityId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "firstDetectionDate"))) { #optional property not found + $FirstDetectionDate = $null + } else { + $FirstDetectionDate = $JsonParameters.PSobject.Properties["firstDetectionDate"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "latestDetectionDate"))) { #optional property not found + $LatestDetectionDate = $null + } else { + $LatestDetectionDate = $JsonParameters.PSobject.Properties["latestDetectionDate"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "ignored"))) { #optional property not found + $Ignored = $null + } else { + $Ignored = $JsonParameters.PSobject.Properties["ignored"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributes"))) { #optional property not found + $Attributes = $null + } else { + $Attributes = $JsonParameters.PSobject.Properties["attributes"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "score"))) { #optional property not found + $Score = $null + } else { + $Score = $JsonParameters.PSobject.Properties["score"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "unignoreType"))) { #optional property not found + $UnignoreType = $null + } else { + $UnignoreType = $JsonParameters.PSobject.Properties["unignoreType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "unignoreDate"))) { #optional property not found + $UnignoreDate = $null + } else { + $UnignoreDate = $JsonParameters.PSobject.Properties["unignoreDate"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "ignoreDate"))) { #optional property not found + $IgnoreDate = $null + } else { + $IgnoreDate = $JsonParameters.PSobject.Properties["ignoreDate"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "identityId" = ${IdentityId} + "type" = ${Type} + "firstDetectionDate" = ${FirstDetectionDate} + "latestDetectionDate" = ${LatestDetectionDate} + "ignored" = ${Ignored} + "attributes" = ${Attributes} + "score" = ${Score} + "unignoreType" = ${UnignoreType} + "unignoreDate" = ${UnignoreDate} + "ignoreDate" = ${IgnoreDate} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/OutlierContributingFeature.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/OutlierContributingFeature.ps1 new file mode 100644 index 000000000..eb4287179 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/OutlierContributingFeature.ps1 @@ -0,0 +1,196 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +Contributing feature id +.PARAMETER Name +The name of the feature +.PARAMETER ValueType +The data type of the value field +.PARAMETER Value +No description available. +.PARAMETER Importance +The importance of the feature. This can also be a negative value +.PARAMETER DisplayName +The (translated if header is passed) displayName for the feature +.PARAMETER Description +The (translated if header is passed) description for the feature +.PARAMETER TranslationMessages +No description available. +.OUTPUTS + +OutlierContributingFeature +#> + +function Initialize-V2024OutlierContributingFeature { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("INTEGER", "FLOAT")] + [String] + ${ValueType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Value}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Double]] + ${Importance}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${DisplayName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${TranslationMessages} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024OutlierContributingFeature' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if ($Importance -and $Importance -gt 1.0) { + throw "invalid value for 'Importance', must be smaller than or equal to 1.0." + } + + if ($Importance -and $Importance -lt -1.0) { + throw "invalid value for 'Importance', must be greater than or equal to -1.0." + } + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "valueType" = ${ValueType} + "value" = ${Value} + "importance" = ${Importance} + "displayName" = ${DisplayName} + "description" = ${Description} + "translationMessages" = ${TranslationMessages} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to OutlierContributingFeature + +.DESCRIPTION + +Convert from JSON to OutlierContributingFeature + +.PARAMETER Json + +Json object + +.OUTPUTS + +OutlierContributingFeature +#> +function ConvertFrom-V2024JsonToOutlierContributingFeature { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024OutlierContributingFeature' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024OutlierContributingFeature + $AllProperties = ("id", "name", "valueType", "value", "importance", "displayName", "description", "translationMessages") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "valueType"))) { #optional property not found + $ValueType = $null + } else { + $ValueType = $JsonParameters.PSobject.Properties["valueType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "value"))) { #optional property not found + $Value = $null + } else { + $Value = $JsonParameters.PSobject.Properties["value"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "importance"))) { #optional property not found + $Importance = $null + } else { + $Importance = $JsonParameters.PSobject.Properties["importance"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "displayName"))) { #optional property not found + $DisplayName = $null + } else { + $DisplayName = $JsonParameters.PSobject.Properties["displayName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "translationMessages"))) { #optional property not found + $TranslationMessages = $null + } else { + $TranslationMessages = $JsonParameters.PSobject.Properties["translationMessages"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "valueType" = ${ValueType} + "value" = ${Value} + "importance" = ${Importance} + "displayName" = ${DisplayName} + "description" = ${Description} + "translationMessages" = ${TranslationMessages} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/OutlierContributingFeatureValue.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/OutlierContributingFeatureValue.ps1 new file mode 100644 index 000000000..4c1be6cea --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/OutlierContributingFeatureValue.ps1 @@ -0,0 +1,82 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +The feature value + +.PARAMETER Json + +JSON object + +.OUTPUTS + +OutlierContributingFeatureValue +#> +function ConvertFrom-V2024JsonToOutlierContributingFeatureValue { + [CmdletBinding()] + Param ( + [AllowEmptyString()] + [string]$Json + ) + + Process { + $match = 0 + $matchType = $null + $matchInstance = $null + + # try to match Double defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToDouble $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "Double" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'Double' defined in oneOf (V2024OutlierContributingFeatureValue). Proceeding to the next one if any." + } + + # try to match Int64 defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToInt64 $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "Int64" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'Int64' defined in oneOf (V2024OutlierContributingFeatureValue). Proceeding to the next one if any." + } + + if ($match -gt 1) { + throw "Error! The JSON payload matches more than one type defined in oneOf schemas ([Double, Int64]). JSON Payload: $($Json)" + } elseif ($match -eq 1) { + return [PSCustomObject]@{ + "ActualType" = ${matchType} + "ActualInstance" = ${matchInstance} + "OneOfSchemas" = @("Double", "Int64") + } + } else { + throw "Error! The JSON payload doesn't matches any type defined in oneOf schemas ([Double, Int64]). JSON Payload: $($Json)" + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/OutlierFeatureSummary.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/OutlierFeatureSummary.ps1 new file mode 100644 index 000000000..019f2f092 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/OutlierFeatureSummary.ps1 @@ -0,0 +1,187 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER ContributingFeatureName +Contributing feature name +.PARAMETER IdentityOutlierDisplayName +Identity display name +.PARAMETER OutlierFeatureDisplayValues +No description available. +.PARAMETER FeatureDefinition +Definition of the feature +.PARAMETER FeatureExplanation +Detailed explanation of the feature +.PARAMETER PeerDisplayName +outlier's peer identity display name +.PARAMETER PeerIdentityId +outlier's peer identity id +.PARAMETER AccessItemReference +Access Item reference +.OUTPUTS + +OutlierFeatureSummary +#> + +function Initialize-V2024OutlierFeatureSummary { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ContributingFeatureName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${IdentityOutlierDisplayName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${OutlierFeatureDisplayValues}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${FeatureDefinition}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${FeatureExplanation}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${PeerDisplayName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${PeerIdentityId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${AccessItemReference} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024OutlierFeatureSummary' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "contributingFeatureName" = ${ContributingFeatureName} + "identityOutlierDisplayName" = ${IdentityOutlierDisplayName} + "outlierFeatureDisplayValues" = ${OutlierFeatureDisplayValues} + "featureDefinition" = ${FeatureDefinition} + "featureExplanation" = ${FeatureExplanation} + "peerDisplayName" = ${PeerDisplayName} + "peerIdentityId" = ${PeerIdentityId} + "accessItemReference" = ${AccessItemReference} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to OutlierFeatureSummary + +.DESCRIPTION + +Convert from JSON to OutlierFeatureSummary + +.PARAMETER Json + +Json object + +.OUTPUTS + +OutlierFeatureSummary +#> +function ConvertFrom-V2024JsonToOutlierFeatureSummary { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024OutlierFeatureSummary' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024OutlierFeatureSummary + $AllProperties = ("contributingFeatureName", "identityOutlierDisplayName", "outlierFeatureDisplayValues", "featureDefinition", "featureExplanation", "peerDisplayName", "peerIdentityId", "accessItemReference") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "contributingFeatureName"))) { #optional property not found + $ContributingFeatureName = $null + } else { + $ContributingFeatureName = $JsonParameters.PSobject.Properties["contributingFeatureName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityOutlierDisplayName"))) { #optional property not found + $IdentityOutlierDisplayName = $null + } else { + $IdentityOutlierDisplayName = $JsonParameters.PSobject.Properties["identityOutlierDisplayName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "outlierFeatureDisplayValues"))) { #optional property not found + $OutlierFeatureDisplayValues = $null + } else { + $OutlierFeatureDisplayValues = $JsonParameters.PSobject.Properties["outlierFeatureDisplayValues"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "featureDefinition"))) { #optional property not found + $FeatureDefinition = $null + } else { + $FeatureDefinition = $JsonParameters.PSobject.Properties["featureDefinition"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "featureExplanation"))) { #optional property not found + $FeatureExplanation = $null + } else { + $FeatureExplanation = $JsonParameters.PSobject.Properties["featureExplanation"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "peerDisplayName"))) { #optional property not found + $PeerDisplayName = $null + } else { + $PeerDisplayName = $JsonParameters.PSobject.Properties["peerDisplayName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "peerIdentityId"))) { #optional property not found + $PeerIdentityId = $null + } else { + $PeerIdentityId = $JsonParameters.PSobject.Properties["peerIdentityId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accessItemReference"))) { #optional property not found + $AccessItemReference = $null + } else { + $AccessItemReference = $JsonParameters.PSobject.Properties["accessItemReference"].value + } + + $PSO = [PSCustomObject]@{ + "contributingFeatureName" = ${ContributingFeatureName} + "identityOutlierDisplayName" = ${IdentityOutlierDisplayName} + "outlierFeatureDisplayValues" = ${OutlierFeatureDisplayValues} + "featureDefinition" = ${FeatureDefinition} + "featureExplanation" = ${FeatureExplanation} + "peerDisplayName" = ${PeerDisplayName} + "peerIdentityId" = ${PeerIdentityId} + "accessItemReference" = ${AccessItemReference} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/OutlierFeatureSummaryOutlierFeatureDisplayValuesInner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/OutlierFeatureSummaryOutlierFeatureDisplayValuesInner.ps1 new file mode 100644 index 000000000..742d22bf3 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/OutlierFeatureSummaryOutlierFeatureDisplayValuesInner.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER DisplayName +display name +.PARAMETER Value +value +.PARAMETER ValueType +The data type of the value field +.OUTPUTS + +OutlierFeatureSummaryOutlierFeatureDisplayValuesInner +#> + +function Initialize-V2024OutlierFeatureSummaryOutlierFeatureDisplayValuesInner { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${DisplayName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Value}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("INTEGER", "FLOAT")] + [String] + ${ValueType} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024OutlierFeatureSummaryOutlierFeatureDisplayValuesInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "displayName" = ${DisplayName} + "value" = ${Value} + "valueType" = ${ValueType} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to OutlierFeatureSummaryOutlierFeatureDisplayValuesInner + +.DESCRIPTION + +Convert from JSON to OutlierFeatureSummaryOutlierFeatureDisplayValuesInner + +.PARAMETER Json + +Json object + +.OUTPUTS + +OutlierFeatureSummaryOutlierFeatureDisplayValuesInner +#> +function ConvertFrom-V2024JsonToOutlierFeatureSummaryOutlierFeatureDisplayValuesInner { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024OutlierFeatureSummaryOutlierFeatureDisplayValuesInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024OutlierFeatureSummaryOutlierFeatureDisplayValuesInner + $AllProperties = ("displayName", "value", "valueType") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "displayName"))) { #optional property not found + $DisplayName = $null + } else { + $DisplayName = $JsonParameters.PSobject.Properties["displayName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "value"))) { #optional property not found + $Value = $null + } else { + $Value = $JsonParameters.PSobject.Properties["value"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "valueType"))) { #optional property not found + $ValueType = $null + } else { + $ValueType = $JsonParameters.PSobject.Properties["valueType"].value + } + + $PSO = [PSCustomObject]@{ + "displayName" = ${DisplayName} + "value" = ${Value} + "valueType" = ${ValueType} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/OutlierFeatureTranslation.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/OutlierFeatureTranslation.ps1 new file mode 100644 index 000000000..b4381dd5d --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/OutlierFeatureTranslation.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER DisplayName +No description available. +.PARAMETER Description +No description available. +.OUTPUTS + +OutlierFeatureTranslation +#> + +function Initialize-V2024OutlierFeatureTranslation { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${DisplayName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Description} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024OutlierFeatureTranslation' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "displayName" = ${DisplayName} + "description" = ${Description} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to OutlierFeatureTranslation + +.DESCRIPTION + +Convert from JSON to OutlierFeatureTranslation + +.PARAMETER Json + +Json object + +.OUTPUTS + +OutlierFeatureTranslation +#> +function ConvertFrom-V2024JsonToOutlierFeatureTranslation { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024OutlierFeatureTranslation' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024OutlierFeatureTranslation + $AllProperties = ("displayName", "description") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "displayName"))) { #optional property not found + $DisplayName = $null + } else { + $DisplayName = $JsonParameters.PSobject.Properties["displayName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + $PSO = [PSCustomObject]@{ + "displayName" = ${DisplayName} + "description" = ${Description} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/OutlierSummary.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/OutlierSummary.ps1 new file mode 100644 index 000000000..05e0dd9c7 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/OutlierSummary.ps1 @@ -0,0 +1,149 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Type +The type of outlier summary +.PARAMETER SnapshotDate +The date the bulk outlier detection ran/snapshot was created +.PARAMETER TotalOutliers +Total number of outliers for the customer making the request +.PARAMETER TotalIdentities +Total number of identities for the customer making the request +.PARAMETER TotalIgnored +No description available. +.OUTPUTS + +OutlierSummary +#> + +function Initialize-V2024OutlierSummary { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("LOW_SIMILARITY", "STRUCTURAL")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${SnapshotDate}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${TotalOutliers}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${TotalIdentities}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${TotalIgnored} = 0 + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024OutlierSummary' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "snapshotDate" = ${SnapshotDate} + "totalOutliers" = ${TotalOutliers} + "totalIdentities" = ${TotalIdentities} + "totalIgnored" = ${TotalIgnored} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to OutlierSummary + +.DESCRIPTION + +Convert from JSON to OutlierSummary + +.PARAMETER Json + +Json object + +.OUTPUTS + +OutlierSummary +#> +function ConvertFrom-V2024JsonToOutlierSummary { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024OutlierSummary' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024OutlierSummary + $AllProperties = ("type", "snapshotDate", "totalOutliers", "totalIdentities", "totalIgnored") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "snapshotDate"))) { #optional property not found + $SnapshotDate = $null + } else { + $SnapshotDate = $JsonParameters.PSobject.Properties["snapshotDate"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "totalOutliers"))) { #optional property not found + $TotalOutliers = $null + } else { + $TotalOutliers = $JsonParameters.PSobject.Properties["totalOutliers"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "totalIdentities"))) { #optional property not found + $TotalIdentities = $null + } else { + $TotalIdentities = $JsonParameters.PSobject.Properties["totalIdentities"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "totalIgnored"))) { #optional property not found + $TotalIgnored = $null + } else { + $TotalIgnored = $JsonParameters.PSobject.Properties["totalIgnored"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "snapshotDate" = ${SnapshotDate} + "totalOutliers" = ${TotalOutliers} + "totalIdentities" = ${TotalIdentities} + "totalIgnored" = ${TotalIgnored} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/OutliersContributingFeatureAccessItems.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/OutliersContributingFeatureAccessItems.ps1 new file mode 100644 index 000000000..64d3fc988 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/OutliersContributingFeatureAccessItems.ps1 @@ -0,0 +1,162 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +The ID of the access item +.PARAMETER DisplayName +the display name of the access item +.PARAMETER Description +Description of the access item. +.PARAMETER AccessType +The type of the access item. +.PARAMETER SourceName +the associated source name if it exists +.PARAMETER ExtremelyRare +rarest access +.OUTPUTS + +OutliersContributingFeatureAccessItems +#> + +function Initialize-V2024OutliersContributingFeatureAccessItems { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${DisplayName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ENTITLEMENT", "ACCESS_PROFILE", "ROLE")] + [String] + ${AccessType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SourceName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${ExtremelyRare} = $false + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024OutliersContributingFeatureAccessItems' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "displayName" = ${DisplayName} + "description" = ${Description} + "accessType" = ${AccessType} + "sourceName" = ${SourceName} + "extremelyRare" = ${ExtremelyRare} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to OutliersContributingFeatureAccessItems + +.DESCRIPTION + +Convert from JSON to OutliersContributingFeatureAccessItems + +.PARAMETER Json + +Json object + +.OUTPUTS + +OutliersContributingFeatureAccessItems +#> +function ConvertFrom-V2024JsonToOutliersContributingFeatureAccessItems { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024OutliersContributingFeatureAccessItems' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024OutliersContributingFeatureAccessItems + $AllProperties = ("id", "displayName", "description", "accessType", "sourceName", "extremelyRare") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "displayName"))) { #optional property not found + $DisplayName = $null + } else { + $DisplayName = $JsonParameters.PSobject.Properties["displayName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accessType"))) { #optional property not found + $AccessType = $null + } else { + $AccessType = $JsonParameters.PSobject.Properties["accessType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceName"))) { #optional property not found + $SourceName = $null + } else { + $SourceName = $JsonParameters.PSobject.Properties["sourceName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "extremelyRare"))) { #optional property not found + $ExtremelyRare = $null + } else { + $ExtremelyRare = $JsonParameters.PSobject.Properties["extremelyRare"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "displayName" = ${DisplayName} + "description" = ${Description} + "accessType" = ${AccessType} + "sourceName" = ${SourceName} + "extremelyRare" = ${ExtremelyRare} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/OwnerDto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/OwnerDto.ps1 new file mode 100644 index 000000000..0ffcb9859 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/OwnerDto.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Owner's identity. + +.PARAMETER Type +Owner's DTO type. +.PARAMETER Id +Owner's identity ID. +.PARAMETER Name +Owner's name. +.OUTPUTS + +OwnerDto +#> + +function Initialize-V2024OwnerDto { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024OwnerDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to OwnerDto + +.DESCRIPTION + +Convert from JSON to OwnerDto + +.PARAMETER Json + +Json object + +.OUTPUTS + +OwnerDto +#> +function ConvertFrom-V2024JsonToOwnerDto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024OwnerDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024OwnerDto + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/OwnerReference.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/OwnerReference.ps1 new file mode 100644 index 000000000..fe072aaa4 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/OwnerReference.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +The owner of this object. + +.PARAMETER Type +Owner type. This field must be either left null or set to 'IDENTITY' on input, otherwise a 400 Bad Request error will result. +.PARAMETER Id +Identity id +.PARAMETER Name +Human-readable display name of the owner. It may be left null or omitted in a POST or PATCH. If set, it must match the current value of the owner's display name, otherwise a 400 Bad Request error will result. +.OUTPUTS + +OwnerReference +#> + +function Initialize-V2024OwnerReference { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024OwnerReference' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to OwnerReference + +.DESCRIPTION + +Convert from JSON to OwnerReference + +.PARAMETER Json + +Json object + +.OUTPUTS + +OwnerReference +#> +function ConvertFrom-V2024JsonToOwnerReference { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024OwnerReference' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024OwnerReference + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/OwnerReferenceDto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/OwnerReferenceDto.ps1 new file mode 100644 index 000000000..416dd7ac0 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/OwnerReferenceDto.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Simplified DTO for the owner object of the entitlement + +.PARAMETER Id +The owner id for the entitlement +.PARAMETER Name +The owner name for the entitlement +.PARAMETER Type +The type of the owner. Initially only type IDENTITY is supported +.OUTPUTS + +OwnerReferenceDto +#> + +function Initialize-V2024OwnerReferenceDto { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY")] + [String] + ${Type} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024OwnerReferenceDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "type" = ${Type} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to OwnerReferenceDto + +.DESCRIPTION + +Convert from JSON to OwnerReferenceDto + +.PARAMETER Json + +Json object + +.OUTPUTS + +OwnerReferenceDto +#> +function ConvertFrom-V2024JsonToOwnerReferenceDto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024OwnerReferenceDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024OwnerReferenceDto + $AllProperties = ("id", "name", "type") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "type" = ${Type} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/OwnerReferenceSegments.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/OwnerReferenceSegments.ps1 new file mode 100644 index 000000000..4bf37b31a --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/OwnerReferenceSegments.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +The owner of this object. + +.PARAMETER Type +Owner type. This field must be either left null or set to 'IDENTITY' on input, otherwise a 400 Bad Request error will result. +.PARAMETER Id +Identity id +.PARAMETER Name +Human-readable display name of the owner. It may be left null or omitted in a POST or PATCH. If set, it must match the current value of the owner's display name, otherwise a 400 Bad Request error will result. +.OUTPUTS + +OwnerReferenceSegments +#> + +function Initialize-V2024OwnerReferenceSegments { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024OwnerReferenceSegments' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to OwnerReferenceSegments + +.DESCRIPTION + +Convert from JSON to OwnerReferenceSegments + +.PARAMETER Json + +Json object + +.OUTPUTS + +OwnerReferenceSegments +#> +function ConvertFrom-V2024JsonToOwnerReferenceSegments { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024OwnerReferenceSegments' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024OwnerReferenceSegments + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Owns.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Owns.ps1 new file mode 100644 index 000000000..488447229 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Owns.ps1 @@ -0,0 +1,174 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Sources +No description available. +.PARAMETER Entitlements +No description available. +.PARAMETER AccessProfiles +No description available. +.PARAMETER Roles +No description available. +.PARAMETER Apps +No description available. +.PARAMETER GovernanceGroups +No description available. +.PARAMETER FallbackApprover +No description available. +.OUTPUTS + +Owns +#> + +function Initialize-V2024Owns { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Sources}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Entitlements}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${AccessProfiles}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Roles}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Apps}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${GovernanceGroups}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${FallbackApprover} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Owns' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "sources" = ${Sources} + "entitlements" = ${Entitlements} + "accessProfiles" = ${AccessProfiles} + "roles" = ${Roles} + "apps" = ${Apps} + "governanceGroups" = ${GovernanceGroups} + "fallbackApprover" = ${FallbackApprover} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Owns + +.DESCRIPTION + +Convert from JSON to Owns + +.PARAMETER Json + +Json object + +.OUTPUTS + +Owns +#> +function ConvertFrom-V2024JsonToOwns { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Owns' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Owns + $AllProperties = ("sources", "entitlements", "accessProfiles", "roles", "apps", "governanceGroups", "fallbackApprover") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sources"))) { #optional property not found + $Sources = $null + } else { + $Sources = $JsonParameters.PSobject.Properties["sources"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "entitlements"))) { #optional property not found + $Entitlements = $null + } else { + $Entitlements = $JsonParameters.PSobject.Properties["entitlements"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accessProfiles"))) { #optional property not found + $AccessProfiles = $null + } else { + $AccessProfiles = $JsonParameters.PSobject.Properties["accessProfiles"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "roles"))) { #optional property not found + $Roles = $null + } else { + $Roles = $JsonParameters.PSobject.Properties["roles"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "apps"))) { #optional property not found + $Apps = $null + } else { + $Apps = $JsonParameters.PSobject.Properties["apps"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "governanceGroups"))) { #optional property not found + $GovernanceGroups = $null + } else { + $GovernanceGroups = $JsonParameters.PSobject.Properties["governanceGroups"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "fallbackApprover"))) { #optional property not found + $FallbackApprover = $null + } else { + $FallbackApprover = $JsonParameters.PSobject.Properties["fallbackApprover"].value + } + + $PSO = [PSCustomObject]@{ + "sources" = ${Sources} + "entitlements" = ${Entitlements} + "accessProfiles" = ${AccessProfiles} + "roles" = ${Roles} + "apps" = ${Apps} + "governanceGroups" = ${GovernanceGroups} + "fallbackApprover" = ${FallbackApprover} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/PasswordChangeRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/PasswordChangeRequest.ps1 new file mode 100644 index 000000000..a9b216d70 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/PasswordChangeRequest.ps1 @@ -0,0 +1,148 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER IdentityId +The identity ID that requested the password change +.PARAMETER EncryptedPassword +The RSA encrypted password +.PARAMETER PublicKeyId +The encryption key ID +.PARAMETER AccountId +Account ID of the account This is specified per account schema in the source configuration. It is used to distinguish accounts. More info can be found here https://community.sailpoint.com/t5/IdentityNow-Connectors/How-do-I-designate-an-account-attribute-as-the-Account-ID-for-a/ta-p/80350 +.PARAMETER SourceId +The ID of the source for which identity is requesting the password change +.OUTPUTS + +PasswordChangeRequest +#> + +function Initialize-V2024PasswordChangeRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${IdentityId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${EncryptedPassword}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${PublicKeyId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AccountId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SourceId} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024PasswordChangeRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "identityId" = ${IdentityId} + "encryptedPassword" = ${EncryptedPassword} + "publicKeyId" = ${PublicKeyId} + "accountId" = ${AccountId} + "sourceId" = ${SourceId} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to PasswordChangeRequest + +.DESCRIPTION + +Convert from JSON to PasswordChangeRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +PasswordChangeRequest +#> +function ConvertFrom-V2024JsonToPasswordChangeRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024PasswordChangeRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024PasswordChangeRequest + $AllProperties = ("identityId", "encryptedPassword", "publicKeyId", "accountId", "sourceId") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityId"))) { #optional property not found + $IdentityId = $null + } else { + $IdentityId = $JsonParameters.PSobject.Properties["identityId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "encryptedPassword"))) { #optional property not found + $EncryptedPassword = $null + } else { + $EncryptedPassword = $JsonParameters.PSobject.Properties["encryptedPassword"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "publicKeyId"))) { #optional property not found + $PublicKeyId = $null + } else { + $PublicKeyId = $JsonParameters.PSobject.Properties["publicKeyId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accountId"))) { #optional property not found + $AccountId = $null + } else { + $AccountId = $JsonParameters.PSobject.Properties["accountId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceId"))) { #optional property not found + $SourceId = $null + } else { + $SourceId = $JsonParameters.PSobject.Properties["sourceId"].value + } + + $PSO = [PSCustomObject]@{ + "identityId" = ${IdentityId} + "encryptedPassword" = ${EncryptedPassword} + "publicKeyId" = ${PublicKeyId} + "accountId" = ${AccountId} + "sourceId" = ${SourceId} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/PasswordChangeResponse.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/PasswordChangeResponse.ps1 new file mode 100644 index 000000000..4b5f90966 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/PasswordChangeResponse.ps1 @@ -0,0 +1,110 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER RequestId +The password change request ID +.PARAMETER State +Password change state +.OUTPUTS + +PasswordChangeResponse +#> + +function Initialize-V2024PasswordChangeResponse { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${RequestId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IN_PROGRESS", "FINISHED", "FAILED")] + [String] + ${State} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024PasswordChangeResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "requestId" = ${RequestId} + "state" = ${State} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to PasswordChangeResponse + +.DESCRIPTION + +Convert from JSON to PasswordChangeResponse + +.PARAMETER Json + +Json object + +.OUTPUTS + +PasswordChangeResponse +#> +function ConvertFrom-V2024JsonToPasswordChangeResponse { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024PasswordChangeResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024PasswordChangeResponse + $AllProperties = ("requestId", "state") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requestId"))) { #optional property not found + $RequestId = $null + } else { + $RequestId = $JsonParameters.PSobject.Properties["requestId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "state"))) { #optional property not found + $State = $null + } else { + $State = $JsonParameters.PSobject.Properties["state"].value + } + + $PSO = [PSCustomObject]@{ + "requestId" = ${RequestId} + "state" = ${State} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/PasswordDigitToken.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/PasswordDigitToken.ps1 new file mode 100644 index 000000000..1f7384d1e --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/PasswordDigitToken.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER DigitToken +The digit token for password management +.PARAMETER RequestId +The reference ID of the digit token generation request +.OUTPUTS + +PasswordDigitToken +#> + +function Initialize-V2024PasswordDigitToken { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${DigitToken}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${RequestId} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024PasswordDigitToken' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "digitToken" = ${DigitToken} + "requestId" = ${RequestId} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to PasswordDigitToken + +.DESCRIPTION + +Convert from JSON to PasswordDigitToken + +.PARAMETER Json + +Json object + +.OUTPUTS + +PasswordDigitToken +#> +function ConvertFrom-V2024JsonToPasswordDigitToken { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024PasswordDigitToken' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024PasswordDigitToken + $AllProperties = ("digitToken", "requestId") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "digitToken"))) { #optional property not found + $DigitToken = $null + } else { + $DigitToken = $JsonParameters.PSobject.Properties["digitToken"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requestId"))) { #optional property not found + $RequestId = $null + } else { + $RequestId = $JsonParameters.PSobject.Properties["requestId"].value + } + + $PSO = [PSCustomObject]@{ + "digitToken" = ${DigitToken} + "requestId" = ${RequestId} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/PasswordDigitTokenReset.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/PasswordDigitTokenReset.ps1 new file mode 100644 index 000000000..957ad1328 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/PasswordDigitTokenReset.ps1 @@ -0,0 +1,130 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER UserId +The uid of the user requested for digit token +.PARAMETER Length +The length of digit token. It should be from 6 to 18, inclusive. The default value is 6. +.PARAMETER DurationMinutes +The time to live for the digit token in minutes. The default value is 5 minutes. +.OUTPUTS + +PasswordDigitTokenReset +#> + +function Initialize-V2024PasswordDigitTokenReset { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${UserId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${Length}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${DurationMinutes} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024PasswordDigitTokenReset' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$UserId) { + throw "invalid value for 'UserId', 'UserId' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "userId" = ${UserId} + "length" = ${Length} + "durationMinutes" = ${DurationMinutes} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to PasswordDigitTokenReset + +.DESCRIPTION + +Convert from JSON to PasswordDigitTokenReset + +.PARAMETER Json + +Json object + +.OUTPUTS + +PasswordDigitTokenReset +#> +function ConvertFrom-V2024JsonToPasswordDigitTokenReset { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024PasswordDigitTokenReset' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024PasswordDigitTokenReset + $AllProperties = ("userId", "length", "durationMinutes") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'userId' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "userId"))) { + throw "Error! JSON cannot be serialized due to the required property 'userId' missing." + } else { + $UserId = $JsonParameters.PSobject.Properties["userId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "length"))) { #optional property not found + $Length = $null + } else { + $Length = $JsonParameters.PSobject.Properties["length"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "durationMinutes"))) { #optional property not found + $DurationMinutes = $null + } else { + $DurationMinutes = $JsonParameters.PSobject.Properties["durationMinutes"].value + } + + $PSO = [PSCustomObject]@{ + "userId" = ${UserId} + "length" = ${Length} + "durationMinutes" = ${DurationMinutes} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/PasswordInfo.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/PasswordInfo.ps1 new file mode 100644 index 000000000..4083a51b8 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/PasswordInfo.ps1 @@ -0,0 +1,161 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER IdentityId +Identity ID +.PARAMETER SourceId +source ID +.PARAMETER PublicKeyId +public key ID +.PARAMETER PublicKey +User's public key with Base64 encoding +.PARAMETER Accounts +Account info related to queried identity and source +.PARAMETER Policies +Password constraints +.OUTPUTS + +PasswordInfo +#> + +function Initialize-V2024PasswordInfo { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${IdentityId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SourceId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${PublicKeyId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${PublicKey}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Accounts}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Policies} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024PasswordInfo' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "identityId" = ${IdentityId} + "sourceId" = ${SourceId} + "publicKeyId" = ${PublicKeyId} + "publicKey" = ${PublicKey} + "accounts" = ${Accounts} + "policies" = ${Policies} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to PasswordInfo + +.DESCRIPTION + +Convert from JSON to PasswordInfo + +.PARAMETER Json + +Json object + +.OUTPUTS + +PasswordInfo +#> +function ConvertFrom-V2024JsonToPasswordInfo { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024PasswordInfo' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024PasswordInfo + $AllProperties = ("identityId", "sourceId", "publicKeyId", "publicKey", "accounts", "policies") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityId"))) { #optional property not found + $IdentityId = $null + } else { + $IdentityId = $JsonParameters.PSobject.Properties["identityId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceId"))) { #optional property not found + $SourceId = $null + } else { + $SourceId = $JsonParameters.PSobject.Properties["sourceId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "publicKeyId"))) { #optional property not found + $PublicKeyId = $null + } else { + $PublicKeyId = $JsonParameters.PSobject.Properties["publicKeyId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "publicKey"))) { #optional property not found + $PublicKey = $null + } else { + $PublicKey = $JsonParameters.PSobject.Properties["publicKey"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accounts"))) { #optional property not found + $Accounts = $null + } else { + $Accounts = $JsonParameters.PSobject.Properties["accounts"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "policies"))) { #optional property not found + $Policies = $null + } else { + $Policies = $JsonParameters.PSobject.Properties["policies"].value + } + + $PSO = [PSCustomObject]@{ + "identityId" = ${IdentityId} + "sourceId" = ${SourceId} + "publicKeyId" = ${PublicKeyId} + "publicKey" = ${PublicKey} + "accounts" = ${Accounts} + "policies" = ${Policies} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/PasswordInfoAccount.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/PasswordInfoAccount.ps1 new file mode 100644 index 000000000..f88685fd8 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/PasswordInfoAccount.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER AccountId +Account ID of the account. This is specified per account schema in the source configuration. It is used to distinguish accounts. More info can be found here https://community.sailpoint.com/t5/IdentityNow-Connectors/How-do-I-designate-an-account-attribute-as-the-Account-ID-for-a/ta-p/80350 +.PARAMETER AccountName +Display name of the account. This is specified per account schema in the source configuration. It is used to display name of the account. More info can be found here https://community.sailpoint.com/t5/IdentityNow-Connectors/How-do-I-designate-an-account-attribute-as-the-Account-Name-for/ta-p/74008 +.OUTPUTS + +PasswordInfoAccount +#> + +function Initialize-V2024PasswordInfoAccount { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AccountId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AccountName} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024PasswordInfoAccount' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "accountId" = ${AccountId} + "accountName" = ${AccountName} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to PasswordInfoAccount + +.DESCRIPTION + +Convert from JSON to PasswordInfoAccount + +.PARAMETER Json + +Json object + +.OUTPUTS + +PasswordInfoAccount +#> +function ConvertFrom-V2024JsonToPasswordInfoAccount { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024PasswordInfoAccount' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024PasswordInfoAccount + $AllProperties = ("accountId", "accountName") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accountId"))) { #optional property not found + $AccountId = $null + } else { + $AccountId = $JsonParameters.PSobject.Properties["accountId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accountName"))) { #optional property not found + $AccountName = $null + } else { + $AccountName = $JsonParameters.PSobject.Properties["accountName"].value + } + + $PSO = [PSCustomObject]@{ + "accountId" = ${AccountId} + "accountName" = ${AccountName} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/PasswordInfoQueryDTO.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/PasswordInfoQueryDTO.ps1 new file mode 100644 index 000000000..30762fa7c --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/PasswordInfoQueryDTO.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER UserName +The login name of the user +.PARAMETER SourceName +The display name of the source +.OUTPUTS + +PasswordInfoQueryDTO +#> + +function Initialize-V2024PasswordInfoQueryDTO { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${UserName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SourceName} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024PasswordInfoQueryDTO' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "userName" = ${UserName} + "sourceName" = ${SourceName} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to PasswordInfoQueryDTO + +.DESCRIPTION + +Convert from JSON to PasswordInfoQueryDTO + +.PARAMETER Json + +Json object + +.OUTPUTS + +PasswordInfoQueryDTO +#> +function ConvertFrom-V2024JsonToPasswordInfoQueryDTO { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024PasswordInfoQueryDTO' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024PasswordInfoQueryDTO + $AllProperties = ("userName", "sourceName") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "userName"))) { #optional property not found + $UserName = $null + } else { + $UserName = $JsonParameters.PSobject.Properties["userName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceName"))) { #optional property not found + $SourceName = $null + } else { + $SourceName = $JsonParameters.PSobject.Properties["sourceName"].value + } + + $PSO = [PSCustomObject]@{ + "userName" = ${UserName} + "sourceName" = ${SourceName} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/PasswordOrgConfig.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/PasswordOrgConfig.ps1 new file mode 100644 index 000000000..a9befd2dc --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/PasswordOrgConfig.ps1 @@ -0,0 +1,151 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER CustomInstructionsEnabled +Indicator whether custom password instructions feature is enabled. The default value is false. +.PARAMETER DigitTokenEnabled +Indicator whether ""digit token"" feature is enabled. The default value is false. +.PARAMETER DigitTokenDurationMinutes +The duration of ""digit token"" in minutes. The default value is 5. +.PARAMETER DigitTokenLength +The length of ""digit token"". The default value is 6. +.OUTPUTS + +PasswordOrgConfig +#> + +function Initialize-V2024PasswordOrgConfig { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${CustomInstructionsEnabled} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${DigitTokenEnabled} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${DigitTokenDurationMinutes} = 5, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${DigitTokenLength} = 6 + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024PasswordOrgConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if ($DigitTokenDurationMinutes -and $DigitTokenDurationMinutes -gt 60) { + throw "invalid value for 'DigitTokenDurationMinutes', must be smaller than or equal to 60." + } + + if ($DigitTokenDurationMinutes -and $DigitTokenDurationMinutes -lt 1) { + throw "invalid value for 'DigitTokenDurationMinutes', must be greater than or equal to 1." + } + + if ($DigitTokenLength -and $DigitTokenLength -gt 18) { + throw "invalid value for 'DigitTokenLength', must be smaller than or equal to 18." + } + + if ($DigitTokenLength -and $DigitTokenLength -lt 6) { + throw "invalid value for 'DigitTokenLength', must be greater than or equal to 6." + } + + + $PSO = [PSCustomObject]@{ + "customInstructionsEnabled" = ${CustomInstructionsEnabled} + "digitTokenEnabled" = ${DigitTokenEnabled} + "digitTokenDurationMinutes" = ${DigitTokenDurationMinutes} + "digitTokenLength" = ${DigitTokenLength} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to PasswordOrgConfig + +.DESCRIPTION + +Convert from JSON to PasswordOrgConfig + +.PARAMETER Json + +Json object + +.OUTPUTS + +PasswordOrgConfig +#> +function ConvertFrom-V2024JsonToPasswordOrgConfig { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024PasswordOrgConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024PasswordOrgConfig + $AllProperties = ("customInstructionsEnabled", "digitTokenEnabled", "digitTokenDurationMinutes", "digitTokenLength") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "customInstructionsEnabled"))) { #optional property not found + $CustomInstructionsEnabled = $null + } else { + $CustomInstructionsEnabled = $JsonParameters.PSobject.Properties["customInstructionsEnabled"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "digitTokenEnabled"))) { #optional property not found + $DigitTokenEnabled = $null + } else { + $DigitTokenEnabled = $JsonParameters.PSobject.Properties["digitTokenEnabled"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "digitTokenDurationMinutes"))) { #optional property not found + $DigitTokenDurationMinutes = $null + } else { + $DigitTokenDurationMinutes = $JsonParameters.PSobject.Properties["digitTokenDurationMinutes"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "digitTokenLength"))) { #optional property not found + $DigitTokenLength = $null + } else { + $DigitTokenLength = $JsonParameters.PSobject.Properties["digitTokenLength"].value + } + + $PSO = [PSCustomObject]@{ + "customInstructionsEnabled" = ${CustomInstructionsEnabled} + "digitTokenEnabled" = ${DigitTokenEnabled} + "digitTokenDurationMinutes" = ${DigitTokenDurationMinutes} + "digitTokenLength" = ${DigitTokenLength} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/PasswordPolicyV3Dto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/PasswordPolicyV3Dto.ps1 new file mode 100644 index 000000000..bc7b72a58 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/PasswordPolicyV3Dto.ps1 @@ -0,0 +1,486 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +The password policy Id. +.PARAMETER Description +Description for current password policy. +.PARAMETER Name +The name of the password policy. +.PARAMETER DateCreated +Date the Password Policy was created. +.PARAMETER LastUpdated +Date the Password Policy was updated. +.PARAMETER FirstExpirationReminder +The number of days before expiration remaninder. +.PARAMETER AccountIdMinWordLength +The minimun length of account Id. By default is equals to -1. +.PARAMETER AccountNameMinWordLength +The minimun length of account name. By default is equals to -1. +.PARAMETER MinAlpha +Maximum alpha. By default is equals to 0. +.PARAMETER MinCharacterTypes +MinCharacterTypes. By default is equals to -1. +.PARAMETER MaxLength +Maximum length of the password. +.PARAMETER MinLength +Minimum length of the password. By default is equals to 0. +.PARAMETER MaxRepeatedChars +Maximum repetition of the same character in the password. By default is equals to -1. +.PARAMETER MinLower +Minimum amount of lower case character in the password. By default is equals to 0. +.PARAMETER MinNumeric +Minimum amount of numeric characters in the password. By default is equals to 0. +.PARAMETER MinSpecial +Minimum amount of special symbols in the password. By default is equals to 0. +.PARAMETER MinUpper +Minimum amount of upper case symbols in the password. By default is equals to 0. +.PARAMETER PasswordExpiration +Number of days before current password expires. By default is equals to 90. +.PARAMETER DefaultPolicy +Defines whether this policy is default or not. Default policy is created automatically when an org is setup. This field is false by default. +.PARAMETER EnablePasswdExpiration +Defines whether this policy is enabled to expire or not. This field is false by default. +.PARAMETER RequireStrongAuthn +Defines whether this policy require strong Auth or not. This field is false by default. +.PARAMETER RequireStrongAuthOffNetwork +Defines whether this policy require strong Auth of network or not. This field is false by default. +.PARAMETER RequireStrongAuthUntrustedGeographies +Defines whether this policy require strong Auth for untrusted geographies. This field is false by default. +.PARAMETER UseAccountAttributes +Defines whether this policy uses account attributes or not. This field is false by default. +.PARAMETER UseDictionary +Defines whether this policy uses dictionary or not. This field is false by default. +.PARAMETER UseIdentityAttributes +Defines whether this policy uses identity attributes or not. This field is false by default. +.PARAMETER ValidateAgainstAccountId +Defines whether this policy validate against account id or not. This field is false by default. +.PARAMETER ValidateAgainstAccountName +Defines whether this policy validate against account name or not. This field is false by default. +.PARAMETER Created +No description available. +.PARAMETER Modified +No description available. +.PARAMETER SourceIds +List of sources IDs managed by this password policy. +.OUTPUTS + +PasswordPolicyV3Dto +#> + +function Initialize-V2024PasswordPolicyV3Dto { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${DateCreated}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${LastUpdated}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int64]] + ${FirstExpirationReminder}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int64]] + ${AccountIdMinWordLength}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int64]] + ${AccountNameMinWordLength}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int64]] + ${MinAlpha}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int64]] + ${MinCharacterTypes}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int64]] + ${MaxLength}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int64]] + ${MinLength}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int64]] + ${MaxRepeatedChars}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int64]] + ${MinLower}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int64]] + ${MinNumeric}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int64]] + ${MinSpecial}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int64]] + ${MinUpper}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int64]] + ${PasswordExpiration}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${DefaultPolicy} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${EnablePasswdExpiration} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${RequireStrongAuthn} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${RequireStrongAuthOffNetwork} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${RequireStrongAuthUntrustedGeographies} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${UseAccountAttributes} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${UseDictionary} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${UseIdentityAttributes} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${ValidateAgainstAccountId} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${ValidateAgainstAccountName} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Modified}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${SourceIds} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024PasswordPolicyV3Dto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "description" = ${Description} + "name" = ${Name} + "dateCreated" = ${DateCreated} + "lastUpdated" = ${LastUpdated} + "firstExpirationReminder" = ${FirstExpirationReminder} + "accountIdMinWordLength" = ${AccountIdMinWordLength} + "accountNameMinWordLength" = ${AccountNameMinWordLength} + "minAlpha" = ${MinAlpha} + "minCharacterTypes" = ${MinCharacterTypes} + "maxLength" = ${MaxLength} + "minLength" = ${MinLength} + "maxRepeatedChars" = ${MaxRepeatedChars} + "minLower" = ${MinLower} + "minNumeric" = ${MinNumeric} + "minSpecial" = ${MinSpecial} + "minUpper" = ${MinUpper} + "passwordExpiration" = ${PasswordExpiration} + "defaultPolicy" = ${DefaultPolicy} + "enablePasswdExpiration" = ${EnablePasswdExpiration} + "requireStrongAuthn" = ${RequireStrongAuthn} + "requireStrongAuthOffNetwork" = ${RequireStrongAuthOffNetwork} + "requireStrongAuthUntrustedGeographies" = ${RequireStrongAuthUntrustedGeographies} + "useAccountAttributes" = ${UseAccountAttributes} + "useDictionary" = ${UseDictionary} + "useIdentityAttributes" = ${UseIdentityAttributes} + "validateAgainstAccountId" = ${ValidateAgainstAccountId} + "validateAgainstAccountName" = ${ValidateAgainstAccountName} + "created" = ${Created} + "modified" = ${Modified} + "sourceIds" = ${SourceIds} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to PasswordPolicyV3Dto + +.DESCRIPTION + +Convert from JSON to PasswordPolicyV3Dto + +.PARAMETER Json + +Json object + +.OUTPUTS + +PasswordPolicyV3Dto +#> +function ConvertFrom-V2024JsonToPasswordPolicyV3Dto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024PasswordPolicyV3Dto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024PasswordPolicyV3Dto + $AllProperties = ("id", "description", "name", "dateCreated", "lastUpdated", "firstExpirationReminder", "accountIdMinWordLength", "accountNameMinWordLength", "minAlpha", "minCharacterTypes", "maxLength", "minLength", "maxRepeatedChars", "minLower", "minNumeric", "minSpecial", "minUpper", "passwordExpiration", "defaultPolicy", "enablePasswdExpiration", "requireStrongAuthn", "requireStrongAuthOffNetwork", "requireStrongAuthUntrustedGeographies", "useAccountAttributes", "useDictionary", "useIdentityAttributes", "validateAgainstAccountId", "validateAgainstAccountName", "created", "modified", "sourceIds") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "dateCreated"))) { #optional property not found + $DateCreated = $null + } else { + $DateCreated = $JsonParameters.PSobject.Properties["dateCreated"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "lastUpdated"))) { #optional property not found + $LastUpdated = $null + } else { + $LastUpdated = $JsonParameters.PSobject.Properties["lastUpdated"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "firstExpirationReminder"))) { #optional property not found + $FirstExpirationReminder = $null + } else { + $FirstExpirationReminder = $JsonParameters.PSobject.Properties["firstExpirationReminder"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accountIdMinWordLength"))) { #optional property not found + $AccountIdMinWordLength = $null + } else { + $AccountIdMinWordLength = $JsonParameters.PSobject.Properties["accountIdMinWordLength"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accountNameMinWordLength"))) { #optional property not found + $AccountNameMinWordLength = $null + } else { + $AccountNameMinWordLength = $JsonParameters.PSobject.Properties["accountNameMinWordLength"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "minAlpha"))) { #optional property not found + $MinAlpha = $null + } else { + $MinAlpha = $JsonParameters.PSobject.Properties["minAlpha"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "minCharacterTypes"))) { #optional property not found + $MinCharacterTypes = $null + } else { + $MinCharacterTypes = $JsonParameters.PSobject.Properties["minCharacterTypes"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "maxLength"))) { #optional property not found + $MaxLength = $null + } else { + $MaxLength = $JsonParameters.PSobject.Properties["maxLength"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "minLength"))) { #optional property not found + $MinLength = $null + } else { + $MinLength = $JsonParameters.PSobject.Properties["minLength"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "maxRepeatedChars"))) { #optional property not found + $MaxRepeatedChars = $null + } else { + $MaxRepeatedChars = $JsonParameters.PSobject.Properties["maxRepeatedChars"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "minLower"))) { #optional property not found + $MinLower = $null + } else { + $MinLower = $JsonParameters.PSobject.Properties["minLower"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "minNumeric"))) { #optional property not found + $MinNumeric = $null + } else { + $MinNumeric = $JsonParameters.PSobject.Properties["minNumeric"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "minSpecial"))) { #optional property not found + $MinSpecial = $null + } else { + $MinSpecial = $JsonParameters.PSobject.Properties["minSpecial"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "minUpper"))) { #optional property not found + $MinUpper = $null + } else { + $MinUpper = $JsonParameters.PSobject.Properties["minUpper"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "passwordExpiration"))) { #optional property not found + $PasswordExpiration = $null + } else { + $PasswordExpiration = $JsonParameters.PSobject.Properties["passwordExpiration"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "defaultPolicy"))) { #optional property not found + $DefaultPolicy = $null + } else { + $DefaultPolicy = $JsonParameters.PSobject.Properties["defaultPolicy"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "enablePasswdExpiration"))) { #optional property not found + $EnablePasswdExpiration = $null + } else { + $EnablePasswdExpiration = $JsonParameters.PSobject.Properties["enablePasswdExpiration"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requireStrongAuthn"))) { #optional property not found + $RequireStrongAuthn = $null + } else { + $RequireStrongAuthn = $JsonParameters.PSobject.Properties["requireStrongAuthn"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requireStrongAuthOffNetwork"))) { #optional property not found + $RequireStrongAuthOffNetwork = $null + } else { + $RequireStrongAuthOffNetwork = $JsonParameters.PSobject.Properties["requireStrongAuthOffNetwork"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requireStrongAuthUntrustedGeographies"))) { #optional property not found + $RequireStrongAuthUntrustedGeographies = $null + } else { + $RequireStrongAuthUntrustedGeographies = $JsonParameters.PSobject.Properties["requireStrongAuthUntrustedGeographies"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "useAccountAttributes"))) { #optional property not found + $UseAccountAttributes = $null + } else { + $UseAccountAttributes = $JsonParameters.PSobject.Properties["useAccountAttributes"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "useDictionary"))) { #optional property not found + $UseDictionary = $null + } else { + $UseDictionary = $JsonParameters.PSobject.Properties["useDictionary"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "useIdentityAttributes"))) { #optional property not found + $UseIdentityAttributes = $null + } else { + $UseIdentityAttributes = $JsonParameters.PSobject.Properties["useIdentityAttributes"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "validateAgainstAccountId"))) { #optional property not found + $ValidateAgainstAccountId = $null + } else { + $ValidateAgainstAccountId = $JsonParameters.PSobject.Properties["validateAgainstAccountId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "validateAgainstAccountName"))) { #optional property not found + $ValidateAgainstAccountName = $null + } else { + $ValidateAgainstAccountName = $JsonParameters.PSobject.Properties["validateAgainstAccountName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceIds"))) { #optional property not found + $SourceIds = $null + } else { + $SourceIds = $JsonParameters.PSobject.Properties["sourceIds"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "description" = ${Description} + "name" = ${Name} + "dateCreated" = ${DateCreated} + "lastUpdated" = ${LastUpdated} + "firstExpirationReminder" = ${FirstExpirationReminder} + "accountIdMinWordLength" = ${AccountIdMinWordLength} + "accountNameMinWordLength" = ${AccountNameMinWordLength} + "minAlpha" = ${MinAlpha} + "minCharacterTypes" = ${MinCharacterTypes} + "maxLength" = ${MaxLength} + "minLength" = ${MinLength} + "maxRepeatedChars" = ${MaxRepeatedChars} + "minLower" = ${MinLower} + "minNumeric" = ${MinNumeric} + "minSpecial" = ${MinSpecial} + "minUpper" = ${MinUpper} + "passwordExpiration" = ${PasswordExpiration} + "defaultPolicy" = ${DefaultPolicy} + "enablePasswdExpiration" = ${EnablePasswdExpiration} + "requireStrongAuthn" = ${RequireStrongAuthn} + "requireStrongAuthOffNetwork" = ${RequireStrongAuthOffNetwork} + "requireStrongAuthUntrustedGeographies" = ${RequireStrongAuthUntrustedGeographies} + "useAccountAttributes" = ${UseAccountAttributes} + "useDictionary" = ${UseDictionary} + "useIdentityAttributes" = ${UseIdentityAttributes} + "validateAgainstAccountId" = ${ValidateAgainstAccountId} + "validateAgainstAccountName" = ${ValidateAgainstAccountName} + "created" = ${Created} + "modified" = ${Modified} + "sourceIds" = ${SourceIds} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/PasswordStatus.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/PasswordStatus.ps1 new file mode 100644 index 000000000..856b76d9d --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/PasswordStatus.ps1 @@ -0,0 +1,136 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER RequestId +The password change request ID +.PARAMETER State +Password change state +.PARAMETER Errors +The errors during the password change request +.PARAMETER SourceIds +List of source IDs in the password change request +.OUTPUTS + +PasswordStatus +#> + +function Initialize-V2024PasswordStatus { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${RequestId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IN_PROGRESS", "FINISHED", "FAILED")] + [String] + ${State}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Errors}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${SourceIds} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024PasswordStatus' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "requestId" = ${RequestId} + "state" = ${State} + "errors" = ${Errors} + "sourceIds" = ${SourceIds} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to PasswordStatus + +.DESCRIPTION + +Convert from JSON to PasswordStatus + +.PARAMETER Json + +Json object + +.OUTPUTS + +PasswordStatus +#> +function ConvertFrom-V2024JsonToPasswordStatus { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024PasswordStatus' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024PasswordStatus + $AllProperties = ("requestId", "state", "errors", "sourceIds") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requestId"))) { #optional property not found + $RequestId = $null + } else { + $RequestId = $JsonParameters.PSobject.Properties["requestId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "state"))) { #optional property not found + $State = $null + } else { + $State = $JsonParameters.PSobject.Properties["state"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "errors"))) { #optional property not found + $Errors = $null + } else { + $Errors = $JsonParameters.PSobject.Properties["errors"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceIds"))) { #optional property not found + $SourceIds = $null + } else { + $SourceIds = $JsonParameters.PSobject.Properties["sourceIds"].value + } + + $PSO = [PSCustomObject]@{ + "requestId" = ${RequestId} + "state" = ${State} + "errors" = ${Errors} + "sourceIds" = ${SourceIds} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/PasswordSyncGroup.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/PasswordSyncGroup.ps1 new file mode 100644 index 000000000..4e73e465a --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/PasswordSyncGroup.ps1 @@ -0,0 +1,161 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +ID of the sync group +.PARAMETER Name +Name of the sync group +.PARAMETER PasswordPolicyId +ID of the password policy +.PARAMETER SourceIds +List of password managed sources IDs +.PARAMETER Created +The date and time this sync group was created +.PARAMETER Modified +The date and time this sync group was last modified +.OUTPUTS + +PasswordSyncGroup +#> + +function Initialize-V2024PasswordSyncGroup { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${PasswordPolicyId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${SourceIds}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Modified} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024PasswordSyncGroup' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "passwordPolicyId" = ${PasswordPolicyId} + "sourceIds" = ${SourceIds} + "created" = ${Created} + "modified" = ${Modified} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to PasswordSyncGroup + +.DESCRIPTION + +Convert from JSON to PasswordSyncGroup + +.PARAMETER Json + +Json object + +.OUTPUTS + +PasswordSyncGroup +#> +function ConvertFrom-V2024JsonToPasswordSyncGroup { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024PasswordSyncGroup' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024PasswordSyncGroup + $AllProperties = ("id", "name", "passwordPolicyId", "sourceIds", "created", "modified") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "passwordPolicyId"))) { #optional property not found + $PasswordPolicyId = $null + } else { + $PasswordPolicyId = $JsonParameters.PSobject.Properties["passwordPolicyId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceIds"))) { #optional property not found + $SourceIds = $null + } else { + $SourceIds = $JsonParameters.PSobject.Properties["sourceIds"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "passwordPolicyId" = ${PasswordPolicyId} + "sourceIds" = ${SourceIds} + "created" = ${Created} + "modified" = ${Modified} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/PatOwner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/PatOwner.ps1 new file mode 100644 index 000000000..22478d91e --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/PatOwner.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Personal access token owner's identity. + +.PARAMETER Type +Personal access token owner's DTO type. +.PARAMETER Id +Personal access token owner's identity ID. +.PARAMETER Name +Personal access token owner's human-readable display name. +.OUTPUTS + +PatOwner +#> + +function Initialize-V2024PatOwner { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024PatOwner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to PatOwner + +.DESCRIPTION + +Convert from JSON to PatOwner + +.PARAMETER Json + +Json object + +.OUTPUTS + +PatOwner +#> +function ConvertFrom-V2024JsonToPatOwner { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024PatOwner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024PatOwner + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/PatchPotentialRoleRequestInner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/PatchPotentialRoleRequestInner.ps1 new file mode 100644 index 000000000..61983af55 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/PatchPotentialRoleRequestInner.ps1 @@ -0,0 +1,131 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Op +The operation to be performed +.PARAMETER Path +A string JSON Pointer representing the target path to an element to be affected by the operation +.PARAMETER Value +No description available. +.OUTPUTS + +PatchPotentialRoleRequestInner +#> + +function Initialize-V2024PatchPotentialRoleRequestInner { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("remove", "replace")] + [String] + ${Op}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Path}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Value} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024PatchPotentialRoleRequestInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Path) { + throw "invalid value for 'Path', 'Path' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "op" = ${Op} + "path" = ${Path} + "value" = ${Value} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to PatchPotentialRoleRequestInner + +.DESCRIPTION + +Convert from JSON to PatchPotentialRoleRequestInner + +.PARAMETER Json + +Json object + +.OUTPUTS + +PatchPotentialRoleRequestInner +#> +function ConvertFrom-V2024JsonToPatchPotentialRoleRequestInner { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024PatchPotentialRoleRequestInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024PatchPotentialRoleRequestInner + $AllProperties = ("op", "path", "value") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'path' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "path"))) { + throw "Error! JSON cannot be serialized due to the required property 'path' missing." + } else { + $Path = $JsonParameters.PSobject.Properties["path"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "op"))) { #optional property not found + $Op = $null + } else { + $Op = $JsonParameters.PSobject.Properties["op"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "value"))) { #optional property not found + $Value = $null + } else { + $Value = $JsonParameters.PSobject.Properties["value"].value + } + + $PSO = [PSCustomObject]@{ + "op" = ${Op} + "path" = ${Path} + "value" = ${Value} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/PatchServiceDeskIntegrationRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/PatchServiceDeskIntegrationRequest.ps1 new file mode 100644 index 000000000..c549297b7 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/PatchServiceDeskIntegrationRequest.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +A JSONPatch document as defined by [RFC 6902 - JSON Patch](https://tools.ietf.org/html/rfc6902). Only `replace` operations are accepted by this endpoint. + +.PARAMETER Operations +Operations to be applied +.OUTPUTS + +PatchServiceDeskIntegrationRequest +#> + +function Initialize-V2024PatchServiceDeskIntegrationRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Operations} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024PatchServiceDeskIntegrationRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "operations" = ${Operations} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to PatchServiceDeskIntegrationRequest + +.DESCRIPTION + +Convert from JSON to PatchServiceDeskIntegrationRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +PatchServiceDeskIntegrationRequest +#> +function ConvertFrom-V2024JsonToPatchServiceDeskIntegrationRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024PatchServiceDeskIntegrationRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024PatchServiceDeskIntegrationRequest + $AllProperties = ("operations") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "operations"))) { #optional property not found + $Operations = $null + } else { + $Operations = $JsonParameters.PSobject.Properties["operations"].value + } + + $PSO = [PSCustomObject]@{ + "operations" = ${Operations} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/PeerGroupMember.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/PeerGroupMember.ps1 new file mode 100644 index 000000000..e2a096236 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/PeerGroupMember.ps1 @@ -0,0 +1,135 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +A unique identifier for the peer group member. +.PARAMETER Type +The type of the peer group member. +.PARAMETER PeerGroupId +The ID of the peer group. +.PARAMETER Attributes +Arbitrary key-value pairs, belonging to the peer group member. +.OUTPUTS + +PeerGroupMember +#> + +function Initialize-V2024PeerGroupMember { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${PeerGroupId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${Attributes} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024PeerGroupMember' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + "peer_group_id" = ${PeerGroupId} + "attributes" = ${Attributes} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to PeerGroupMember + +.DESCRIPTION + +Convert from JSON to PeerGroupMember + +.PARAMETER Json + +Json object + +.OUTPUTS + +PeerGroupMember +#> +function ConvertFrom-V2024JsonToPeerGroupMember { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024PeerGroupMember' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024PeerGroupMember + $AllProperties = ("id", "type", "peer_group_id", "attributes") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "peer_group_id"))) { #optional property not found + $PeerGroupId = $null + } else { + $PeerGroupId = $JsonParameters.PSobject.Properties["peer_group_id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributes"))) { #optional property not found + $Attributes = $null + } else { + $Attributes = $JsonParameters.PSobject.Properties["attributes"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + "peer_group_id" = ${PeerGroupId} + "attributes" = ${Attributes} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/PendingApproval.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/PendingApproval.ps1 new file mode 100644 index 000000000..6b82136b9 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/PendingApproval.ps1 @@ -0,0 +1,340 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +The approval id. +.PARAMETER Name +The name of the approval. +.PARAMETER Created +When the approval was created. +.PARAMETER Modified +When the approval was modified last time. +.PARAMETER RequestCreated +When the access-request was created. +.PARAMETER RequestType +No description available. +.PARAMETER Requester +No description available. +.PARAMETER RequestedFor +Identities access was requested for. +.PARAMETER Owner +No description available. +.PARAMETER RequestedObject +No description available. +.PARAMETER RequesterComment +No description available. +.PARAMETER PreviousReviewersComments +The history of the previous reviewers comments. +.PARAMETER ForwardHistory +The history of approval forward action. +.PARAMETER CommentRequiredWhenRejected +When true the rejector has to provide comments when rejecting +.PARAMETER ActionInProcess +No description available. +.PARAMETER RemoveDate +The date the role or access profile or entitlement is no longer assigned to the specified identity. +.PARAMETER RemoveDateUpdateRequested +If true, then the request is to change the remove date or sunset date. +.PARAMETER CurrentRemoveDate +The remove date or sunset date that was assigned at the time of the request. +.PARAMETER SodViolationContext +No description available. +.OUTPUTS + +PendingApproval +#> + +function Initialize-V2024PendingApproval { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Modified}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${RequestCreated}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("GRANT_ACCESS", "REVOKE_ACCESS", "")] + [PSCustomObject] + ${RequestType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Requester}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${RequestedFor}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Owner}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${RequestedObject}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${RequesterComment}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${PreviousReviewersComments}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${ForwardHistory}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${CommentRequiredWhenRejected} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("APPROVED", "REJECTED", "FORWARDED")] + [PSCustomObject] + ${ActionInProcess}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${RemoveDate}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${RemoveDateUpdateRequested} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${CurrentRemoveDate}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${SodViolationContext} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024PendingApproval' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$RequestedFor -and $RequestedFor.length -gt 10) { + throw "invalid value for 'RequestedFor', number of items must be less than or equal to 10." + } + + if (!$RequestedFor -and $RequestedFor.length -lt 1) { + throw "invalid value for 'RequestedFor', number of items must be greater than or equal to 1." + } + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "created" = ${Created} + "modified" = ${Modified} + "requestCreated" = ${RequestCreated} + "requestType" = ${RequestType} + "requester" = ${Requester} + "requestedFor" = ${RequestedFor} + "owner" = ${Owner} + "requestedObject" = ${RequestedObject} + "requesterComment" = ${RequesterComment} + "previousReviewersComments" = ${PreviousReviewersComments} + "forwardHistory" = ${ForwardHistory} + "commentRequiredWhenRejected" = ${CommentRequiredWhenRejected} + "actionInProcess" = ${ActionInProcess} + "removeDate" = ${RemoveDate} + "removeDateUpdateRequested" = ${RemoveDateUpdateRequested} + "currentRemoveDate" = ${CurrentRemoveDate} + "sodViolationContext" = ${SodViolationContext} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to PendingApproval + +.DESCRIPTION + +Convert from JSON to PendingApproval + +.PARAMETER Json + +Json object + +.OUTPUTS + +PendingApproval +#> +function ConvertFrom-V2024JsonToPendingApproval { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024PendingApproval' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024PendingApproval + $AllProperties = ("id", "name", "created", "modified", "requestCreated", "requestType", "requester", "requestedFor", "owner", "requestedObject", "requesterComment", "previousReviewersComments", "forwardHistory", "commentRequiredWhenRejected", "actionInProcess", "removeDate", "removeDateUpdateRequested", "currentRemoveDate", "sodViolationContext") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requestCreated"))) { #optional property not found + $RequestCreated = $null + } else { + $RequestCreated = $JsonParameters.PSobject.Properties["requestCreated"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requestType"))) { #optional property not found + $RequestType = $null + } else { + $RequestType = $JsonParameters.PSobject.Properties["requestType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requester"))) { #optional property not found + $Requester = $null + } else { + $Requester = $JsonParameters.PSobject.Properties["requester"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requestedFor"))) { #optional property not found + $RequestedFor = $null + } else { + $RequestedFor = $JsonParameters.PSobject.Properties["requestedFor"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "owner"))) { #optional property not found + $Owner = $null + } else { + $Owner = $JsonParameters.PSobject.Properties["owner"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requestedObject"))) { #optional property not found + $RequestedObject = $null + } else { + $RequestedObject = $JsonParameters.PSobject.Properties["requestedObject"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requesterComment"))) { #optional property not found + $RequesterComment = $null + } else { + $RequesterComment = $JsonParameters.PSobject.Properties["requesterComment"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "previousReviewersComments"))) { #optional property not found + $PreviousReviewersComments = $null + } else { + $PreviousReviewersComments = $JsonParameters.PSobject.Properties["previousReviewersComments"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "forwardHistory"))) { #optional property not found + $ForwardHistory = $null + } else { + $ForwardHistory = $JsonParameters.PSobject.Properties["forwardHistory"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "commentRequiredWhenRejected"))) { #optional property not found + $CommentRequiredWhenRejected = $null + } else { + $CommentRequiredWhenRejected = $JsonParameters.PSobject.Properties["commentRequiredWhenRejected"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "actionInProcess"))) { #optional property not found + $ActionInProcess = $null + } else { + $ActionInProcess = $JsonParameters.PSobject.Properties["actionInProcess"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "removeDate"))) { #optional property not found + $RemoveDate = $null + } else { + $RemoveDate = $JsonParameters.PSobject.Properties["removeDate"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "removeDateUpdateRequested"))) { #optional property not found + $RemoveDateUpdateRequested = $null + } else { + $RemoveDateUpdateRequested = $JsonParameters.PSobject.Properties["removeDateUpdateRequested"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "currentRemoveDate"))) { #optional property not found + $CurrentRemoveDate = $null + } else { + $CurrentRemoveDate = $JsonParameters.PSobject.Properties["currentRemoveDate"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sodViolationContext"))) { #optional property not found + $SodViolationContext = $null + } else { + $SodViolationContext = $JsonParameters.PSobject.Properties["sodViolationContext"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "created" = ${Created} + "modified" = ${Modified} + "requestCreated" = ${RequestCreated} + "requestType" = ${RequestType} + "requester" = ${Requester} + "requestedFor" = ${RequestedFor} + "owner" = ${Owner} + "requestedObject" = ${RequestedObject} + "requesterComment" = ${RequesterComment} + "previousReviewersComments" = ${PreviousReviewersComments} + "forwardHistory" = ${ForwardHistory} + "commentRequiredWhenRejected" = ${CommentRequiredWhenRejected} + "actionInProcess" = ${ActionInProcess} + "removeDate" = ${RemoveDate} + "removeDateUpdateRequested" = ${RemoveDateUpdateRequested} + "currentRemoveDate" = ${CurrentRemoveDate} + "sodViolationContext" = ${SodViolationContext} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/PendingApprovalAction.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/PendingApprovalAction.ps1 new file mode 100644 index 000000000..89f975e74 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/PendingApprovalAction.ps1 @@ -0,0 +1,26 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum PendingApprovalAction. + +.DESCRIPTION + +Enum represents action that is being processed on an approval. +#> + +enum PendingApprovalAction { + # enum value: "APPROVED" + APPROVED + # enum value: "REJECTED" + REJECTED + # enum value: "FORWARDED" + FORWARDED +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/PendingApprovalOwner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/PendingApprovalOwner.ps1 new file mode 100644 index 000000000..4783c2432 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/PendingApprovalOwner.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Access item owner's identity. + +.PARAMETER Type +Access item owner's DTO type. +.PARAMETER Id +Access item owner's identity ID. +.PARAMETER Name +Access item owner's human-readable display name. +.OUTPUTS + +PendingApprovalOwner +#> + +function Initialize-V2024PendingApprovalOwner { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024PendingApprovalOwner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to PendingApprovalOwner + +.DESCRIPTION + +Convert from JSON to PendingApprovalOwner + +.PARAMETER Json + +Json object + +.OUTPUTS + +PendingApprovalOwner +#> +function ConvertFrom-V2024JsonToPendingApprovalOwner { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024PendingApprovalOwner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024PendingApprovalOwner + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/PermissionDto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/PermissionDto.ps1 new file mode 100644 index 000000000..198dbbfcb --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/PermissionDto.ps1 @@ -0,0 +1,97 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Simplified DTO for the Permission objects stored in SailPoint's database. The data is aggregated from customer systems and is free-form, so its appearance can vary largely between different clients/customers. + +.OUTPUTS + +PermissionDto +#> + +function Initialize-V2024PermissionDto { + [CmdletBinding()] + Param ( + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024PermissionDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to PermissionDto + +.DESCRIPTION + +Convert from JSON to PermissionDto + +.PARAMETER Json + +Json object + +.OUTPUTS + +PermissionDto +#> +function ConvertFrom-V2024JsonToPermissionDto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024PermissionDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024PermissionDto + $AllProperties = ("rights", "target") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "rights"))) { #optional property not found + $Rights = $null + } else { + $Rights = $JsonParameters.PSobject.Properties["rights"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "target"))) { #optional property not found + $Target = $null + } else { + $Target = $JsonParameters.PSobject.Properties["target"].value + } + + $PSO = [PSCustomObject]@{ + "rights" = ${Rights} + "target" = ${Target} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/PreApprovalTriggerDetails.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/PreApprovalTriggerDetails.ps1 new file mode 100644 index 000000000..74fd8fe6b --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/PreApprovalTriggerDetails.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Provides additional details about the pre-approval trigger for this request. + +.PARAMETER Comment +Comment left for the pre-approval decision +.PARAMETER Reviewer +The reviewer of the pre-approval decision +.PARAMETER Decision +The decision of the pre-approval trigger +.OUTPUTS + +PreApprovalTriggerDetails +#> + +function Initialize-V2024PreApprovalTriggerDetails { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Comment}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Reviewer}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("APPROVED", "REJECTED")] + [String] + ${Decision} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024PreApprovalTriggerDetails' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "comment" = ${Comment} + "reviewer" = ${Reviewer} + "decision" = ${Decision} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to PreApprovalTriggerDetails + +.DESCRIPTION + +Convert from JSON to PreApprovalTriggerDetails + +.PARAMETER Json + +Json object + +.OUTPUTS + +PreApprovalTriggerDetails +#> +function ConvertFrom-V2024JsonToPreApprovalTriggerDetails { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024PreApprovalTriggerDetails' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024PreApprovalTriggerDetails + $AllProperties = ("comment", "reviewer", "decision") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "comment"))) { #optional property not found + $Comment = $null + } else { + $Comment = $JsonParameters.PSobject.Properties["comment"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "reviewer"))) { #optional property not found + $Reviewer = $null + } else { + $Reviewer = $JsonParameters.PSobject.Properties["reviewer"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "decision"))) { #optional property not found + $Decision = $null + } else { + $Decision = $JsonParameters.PSobject.Properties["decision"].value + } + + $PSO = [PSCustomObject]@{ + "comment" = ${Comment} + "reviewer" = ${Reviewer} + "decision" = ${Decision} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/PreferencesDto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/PreferencesDto.ps1 new file mode 100644 index 000000000..c1968de52 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/PreferencesDto.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Maps an Identity's attribute key to a list of preferred notification mediums. + +.PARAMETER Key +The template notification key. +.PARAMETER Mediums +List of preferred notification mediums, i.e., the mediums (or method) for which notifications are enabled. More mediums may be added in the future. +.PARAMETER Modified +Modified date of preference +.OUTPUTS + +PreferencesDto +#> + +function Initialize-V2024PreferencesDto { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Key}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Mediums}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Modified} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024PreferencesDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "key" = ${Key} + "mediums" = ${Mediums} + "modified" = ${Modified} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to PreferencesDto + +.DESCRIPTION + +Convert from JSON to PreferencesDto + +.PARAMETER Json + +Json object + +.OUTPUTS + +PreferencesDto +#> +function ConvertFrom-V2024JsonToPreferencesDto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024PreferencesDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024PreferencesDto + $AllProperties = ("key", "mediums", "modified") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "key"))) { #optional property not found + $Key = $null + } else { + $Key = $JsonParameters.PSobject.Properties["key"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "mediums"))) { #optional property not found + $Mediums = $null + } else { + $Mediums = $JsonParameters.PSobject.Properties["mediums"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + $PSO = [PSCustomObject]@{ + "key" = ${Key} + "mediums" = ${Mediums} + "modified" = ${Modified} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/PreviewDataSourceResponse.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/PreviewDataSourceResponse.ps1 new file mode 100644 index 000000000..272a90e7a --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/PreviewDataSourceResponse.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +PreviewDataSourceResponse is the response sent by /form-definitions/{formDefinitionID}/data-source endpoint + +.PARAMETER Results +Results holds a list of FormElementDataSourceConfigOptions items +.OUTPUTS + +PreviewDataSourceResponse +#> + +function Initialize-V2024PreviewDataSourceResponse { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Results} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024PreviewDataSourceResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "results" = ${Results} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to PreviewDataSourceResponse + +.DESCRIPTION + +Convert from JSON to PreviewDataSourceResponse + +.PARAMETER Json + +Json object + +.OUTPUTS + +PreviewDataSourceResponse +#> +function ConvertFrom-V2024JsonToPreviewDataSourceResponse { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024PreviewDataSourceResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024PreviewDataSourceResponse + $AllProperties = ("results") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "results"))) { #optional property not found + $Results = $null + } else { + $Results = $JsonParameters.PSobject.Properties["results"].value + } + + $PSO = [PSCustomObject]@{ + "results" = ${Results} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProcessIdentitiesRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProcessIdentitiesRequest.ps1 new file mode 100644 index 000000000..0f5dc01d2 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProcessIdentitiesRequest.ps1 @@ -0,0 +1,104 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER IdentityIds +List of up to 250 identity IDs to process. +.OUTPUTS + +ProcessIdentitiesRequest +#> + +function Initialize-V2024ProcessIdentitiesRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${IdentityIds} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ProcessIdentitiesRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$IdentityIds -and $IdentityIds.length -gt 250) { + throw "invalid value for 'IdentityIds', number of items must be less than or equal to 250." + } + + if (!$IdentityIds -and $IdentityIds.length -lt 1) { + throw "invalid value for 'IdentityIds', number of items must be greater than or equal to 1." + } + + + $PSO = [PSCustomObject]@{ + "identityIds" = ${IdentityIds} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ProcessIdentitiesRequest + +.DESCRIPTION + +Convert from JSON to ProcessIdentitiesRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +ProcessIdentitiesRequest +#> +function ConvertFrom-V2024JsonToProcessIdentitiesRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ProcessIdentitiesRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ProcessIdentitiesRequest + $AllProperties = ("identityIds") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityIds"))) { #optional property not found + $IdentityIds = $null + } else { + $IdentityIds = $JsonParameters.PSobject.Properties["identityIds"].value + } + + $PSO = [PSCustomObject]@{ + "identityIds" = ${IdentityIds} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProcessingDetails.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProcessingDetails.ps1 new file mode 100644 index 000000000..d60eacc1d --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProcessingDetails.ps1 @@ -0,0 +1,148 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Date +A date-time in ISO-8601 format +.PARAMETER Stage +No description available. +.PARAMETER RetryCount +No description available. +.PARAMETER VarStackTrace +No description available. +.PARAMETER Message +No description available. +.OUTPUTS + +ProcessingDetails +#> + +function Initialize-V2024ProcessingDetails { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Date}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Stage}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${RetryCount}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${VarStackTrace}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Message} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ProcessingDetails' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "date" = ${Date} + "stage" = ${Stage} + "retryCount" = ${RetryCount} + "stackTrace" = ${VarStackTrace} + "message" = ${Message} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ProcessingDetails + +.DESCRIPTION + +Convert from JSON to ProcessingDetails + +.PARAMETER Json + +Json object + +.OUTPUTS + +ProcessingDetails +#> +function ConvertFrom-V2024JsonToProcessingDetails { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ProcessingDetails' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ProcessingDetails + $AllProperties = ("date", "stage", "retryCount", "stackTrace", "message") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "date"))) { #optional property not found + $Date = $null + } else { + $Date = $JsonParameters.PSobject.Properties["date"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "stage"))) { #optional property not found + $Stage = $null + } else { + $Stage = $JsonParameters.PSobject.Properties["stage"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "retryCount"))) { #optional property not found + $RetryCount = $null + } else { + $RetryCount = $JsonParameters.PSobject.Properties["retryCount"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "stackTrace"))) { #optional property not found + $VarStackTrace = $null + } else { + $VarStackTrace = $JsonParameters.PSobject.Properties["stackTrace"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "message"))) { #optional property not found + $Message = $null + } else { + $Message = $JsonParameters.PSobject.Properties["message"].value + } + + $PSO = [PSCustomObject]@{ + "date" = ${Date} + "stage" = ${Stage} + "retryCount" = ${RetryCount} + "stackTrace" = ${VarStackTrace} + "message" = ${Message} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Product.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Product.ps1 new file mode 100644 index 000000000..6f0a259fd --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Product.ps1 @@ -0,0 +1,292 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER ProductName +Name of the Product +.PARAMETER Url +URL of the Product +.PARAMETER ProductTenantId +An identifier for a specific product-tenant combination +.PARAMETER ProductRegion +Product region +.PARAMETER ProductRight +Right needed for the Product +.PARAMETER ApiUrl +API URL of the Product +.PARAMETER Licenses +No description available. +.PARAMETER Attributes +Additional attributes for a product +.PARAMETER Zone +Zone +.PARAMETER Status +Status of the product +.PARAMETER StatusDateTime +Status datetime +.PARAMETER Reason +If there's a tenant provisioning failure then reason will have the description of error +.PARAMETER Notes +Product could have additional notes added during tenant provisioning. +.PARAMETER DateCreated +Date when the product was created +.PARAMETER LastUpdated +Date when the product was last updated +.PARAMETER OrgType +Type of org +.OUTPUTS + +Product +#> + +function Initialize-V2024Product { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ProductName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Url}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ProductTenantId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ProductRegion}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ProductRight}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ApiUrl}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Licenses}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${Attributes}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Zone}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Status}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${StatusDateTime}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Reason}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Notes}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${DateCreated}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${LastUpdated}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("development", "staging", "production", "test", "partner", "training", "demonstration", "sandbox", "")] + [String] + ${OrgType} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Product' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "productName" = ${ProductName} + "url" = ${Url} + "productTenantId" = ${ProductTenantId} + "productRegion" = ${ProductRegion} + "productRight" = ${ProductRight} + "apiUrl" = ${ApiUrl} + "licenses" = ${Licenses} + "attributes" = ${Attributes} + "zone" = ${Zone} + "status" = ${Status} + "statusDateTime" = ${StatusDateTime} + "reason" = ${Reason} + "notes" = ${Notes} + "dateCreated" = ${DateCreated} + "lastUpdated" = ${LastUpdated} + "orgType" = ${OrgType} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Product + +.DESCRIPTION + +Convert from JSON to Product + +.PARAMETER Json + +Json object + +.OUTPUTS + +Product +#> +function ConvertFrom-V2024JsonToProduct { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Product' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Product + $AllProperties = ("productName", "url", "productTenantId", "productRegion", "productRight", "apiUrl", "licenses", "attributes", "zone", "status", "statusDateTime", "reason", "notes", "dateCreated", "lastUpdated", "orgType") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "productName"))) { #optional property not found + $ProductName = $null + } else { + $ProductName = $JsonParameters.PSobject.Properties["productName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "url"))) { #optional property not found + $Url = $null + } else { + $Url = $JsonParameters.PSobject.Properties["url"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "productTenantId"))) { #optional property not found + $ProductTenantId = $null + } else { + $ProductTenantId = $JsonParameters.PSobject.Properties["productTenantId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "productRegion"))) { #optional property not found + $ProductRegion = $null + } else { + $ProductRegion = $JsonParameters.PSobject.Properties["productRegion"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "productRight"))) { #optional property not found + $ProductRight = $null + } else { + $ProductRight = $JsonParameters.PSobject.Properties["productRight"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "apiUrl"))) { #optional property not found + $ApiUrl = $null + } else { + $ApiUrl = $JsonParameters.PSobject.Properties["apiUrl"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "licenses"))) { #optional property not found + $Licenses = $null + } else { + $Licenses = $JsonParameters.PSobject.Properties["licenses"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributes"))) { #optional property not found + $Attributes = $null + } else { + $Attributes = $JsonParameters.PSobject.Properties["attributes"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "zone"))) { #optional property not found + $Zone = $null + } else { + $Zone = $JsonParameters.PSobject.Properties["zone"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { #optional property not found + $Status = $null + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "statusDateTime"))) { #optional property not found + $StatusDateTime = $null + } else { + $StatusDateTime = $JsonParameters.PSobject.Properties["statusDateTime"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "reason"))) { #optional property not found + $Reason = $null + } else { + $Reason = $JsonParameters.PSobject.Properties["reason"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "notes"))) { #optional property not found + $Notes = $null + } else { + $Notes = $JsonParameters.PSobject.Properties["notes"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "dateCreated"))) { #optional property not found + $DateCreated = $null + } else { + $DateCreated = $JsonParameters.PSobject.Properties["dateCreated"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "lastUpdated"))) { #optional property not found + $LastUpdated = $null + } else { + $LastUpdated = $JsonParameters.PSobject.Properties["lastUpdated"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "orgType"))) { #optional property not found + $OrgType = $null + } else { + $OrgType = $JsonParameters.PSobject.Properties["orgType"].value + } + + $PSO = [PSCustomObject]@{ + "productName" = ${ProductName} + "url" = ${Url} + "productTenantId" = ${ProductTenantId} + "productRegion" = ${ProductRegion} + "productRight" = ${ProductRight} + "apiUrl" = ${ApiUrl} + "licenses" = ${Licenses} + "attributes" = ${Attributes} + "zone" = ${Zone} + "status" = ${Status} + "statusDateTime" = ${StatusDateTime} + "reason" = ${Reason} + "notes" = ${Notes} + "dateCreated" = ${DateCreated} + "lastUpdated" = ${LastUpdated} + "orgType" = ${OrgType} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProvisioningCompleted.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProvisioningCompleted.ps1 new file mode 100644 index 000000000..50ef5385d --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProvisioningCompleted.ps1 @@ -0,0 +1,207 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER TrackingNumber +The reference number of the provisioning request. Useful for tracking status in the Account Activity search interface. +.PARAMETER Sources +One or more sources that the provisioning transaction(s) were done against. Sources are comma separated. +.PARAMETER Action +Origin of where the provisioning request came from. +.PARAMETER Errors +A list of any accumulated error messages that occurred during provisioning. +.PARAMETER Warnings +A list of any accumulated warning messages that occurred during provisioning. +.PARAMETER Recipient +No description available. +.PARAMETER Requester +No description available. +.PARAMETER AccountRequests +A list of provisioning instructions to perform on an account-by-account basis. +.OUTPUTS + +ProvisioningCompleted +#> + +function Initialize-V2024ProvisioningCompleted { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${TrackingNumber}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Sources}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Action}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Errors}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Warnings}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Recipient}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Requester}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${AccountRequests} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ProvisioningCompleted' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$TrackingNumber) { + throw "invalid value for 'TrackingNumber', 'TrackingNumber' cannot be null." + } + + if (!$Sources) { + throw "invalid value for 'Sources', 'Sources' cannot be null." + } + + if (!$Recipient) { + throw "invalid value for 'Recipient', 'Recipient' cannot be null." + } + + if (!$AccountRequests) { + throw "invalid value for 'AccountRequests', 'AccountRequests' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "trackingNumber" = ${TrackingNumber} + "sources" = ${Sources} + "action" = ${Action} + "errors" = ${Errors} + "warnings" = ${Warnings} + "recipient" = ${Recipient} + "requester" = ${Requester} + "accountRequests" = ${AccountRequests} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ProvisioningCompleted + +.DESCRIPTION + +Convert from JSON to ProvisioningCompleted + +.PARAMETER Json + +Json object + +.OUTPUTS + +ProvisioningCompleted +#> +function ConvertFrom-V2024JsonToProvisioningCompleted { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ProvisioningCompleted' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ProvisioningCompleted + $AllProperties = ("trackingNumber", "sources", "action", "errors", "warnings", "recipient", "requester", "accountRequests") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'trackingNumber' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "trackingNumber"))) { + throw "Error! JSON cannot be serialized due to the required property 'trackingNumber' missing." + } else { + $TrackingNumber = $JsonParameters.PSobject.Properties["trackingNumber"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sources"))) { + throw "Error! JSON cannot be serialized due to the required property 'sources' missing." + } else { + $Sources = $JsonParameters.PSobject.Properties["sources"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "recipient"))) { + throw "Error! JSON cannot be serialized due to the required property 'recipient' missing." + } else { + $Recipient = $JsonParameters.PSobject.Properties["recipient"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accountRequests"))) { + throw "Error! JSON cannot be serialized due to the required property 'accountRequests' missing." + } else { + $AccountRequests = $JsonParameters.PSobject.Properties["accountRequests"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "action"))) { #optional property not found + $Action = $null + } else { + $Action = $JsonParameters.PSobject.Properties["action"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "errors"))) { #optional property not found + $Errors = $null + } else { + $Errors = $JsonParameters.PSobject.Properties["errors"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "warnings"))) { #optional property not found + $Warnings = $null + } else { + $Warnings = $JsonParameters.PSobject.Properties["warnings"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requester"))) { #optional property not found + $Requester = $null + } else { + $Requester = $JsonParameters.PSobject.Properties["requester"].value + } + + $PSO = [PSCustomObject]@{ + "trackingNumber" = ${TrackingNumber} + "sources" = ${Sources} + "action" = ${Action} + "errors" = ${Errors} + "warnings" = ${Warnings} + "recipient" = ${Recipient} + "requester" = ${Requester} + "accountRequests" = ${AccountRequests} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProvisioningCompletedAccountRequestsInner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProvisioningCompletedAccountRequestsInner.ps1 new file mode 100644 index 000000000..400975d13 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProvisioningCompletedAccountRequestsInner.ps1 @@ -0,0 +1,195 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Source +No description available. +.PARAMETER AccountId +The unique idenfier of the account being provisioned. +.PARAMETER AccountOperation +The provisioning operation; typically Create, Modify, Enable, Disable, Unlock, or Delete. +.PARAMETER ProvisioningResult +The overall result of the provisioning transaction; this could be success, pending, failed, etc. +.PARAMETER ProvisioningTarget +The name of the provisioning channel selected; this could be the same as the source, or could be a Service Desk Integration Module (SDIM). +.PARAMETER TicketId +A reference to a tracking number, if this is sent to a Service Desk Integration Module (SDIM). +.PARAMETER AttributeRequests +A list of attributes as part of the provisioning transaction. +.OUTPUTS + +ProvisioningCompletedAccountRequestsInner +#> + +function Initialize-V2024ProvisioningCompletedAccountRequestsInner { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Source}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AccountId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AccountOperation}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("SUCCESS", "PENDING", "FAILED")] + [PSCustomObject] + ${ProvisioningResult}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ProvisioningTarget}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${TicketId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${AttributeRequests} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ProvisioningCompletedAccountRequestsInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Source) { + throw "invalid value for 'Source', 'Source' cannot be null." + } + + if (!$AccountOperation) { + throw "invalid value for 'AccountOperation', 'AccountOperation' cannot be null." + } + + if (!$ProvisioningResult) { + throw "invalid value for 'ProvisioningResult', 'ProvisioningResult' cannot be null." + } + + if (!$ProvisioningTarget) { + throw "invalid value for 'ProvisioningTarget', 'ProvisioningTarget' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "source" = ${Source} + "accountId" = ${AccountId} + "accountOperation" = ${AccountOperation} + "provisioningResult" = ${ProvisioningResult} + "provisioningTarget" = ${ProvisioningTarget} + "ticketId" = ${TicketId} + "attributeRequests" = ${AttributeRequests} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ProvisioningCompletedAccountRequestsInner + +.DESCRIPTION + +Convert from JSON to ProvisioningCompletedAccountRequestsInner + +.PARAMETER Json + +Json object + +.OUTPUTS + +ProvisioningCompletedAccountRequestsInner +#> +function ConvertFrom-V2024JsonToProvisioningCompletedAccountRequestsInner { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ProvisioningCompletedAccountRequestsInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ProvisioningCompletedAccountRequestsInner + $AllProperties = ("source", "accountId", "accountOperation", "provisioningResult", "provisioningTarget", "ticketId", "attributeRequests") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'source' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "source"))) { + throw "Error! JSON cannot be serialized due to the required property 'source' missing." + } else { + $Source = $JsonParameters.PSobject.Properties["source"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accountOperation"))) { + throw "Error! JSON cannot be serialized due to the required property 'accountOperation' missing." + } else { + $AccountOperation = $JsonParameters.PSobject.Properties["accountOperation"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "provisioningResult"))) { + throw "Error! JSON cannot be serialized due to the required property 'provisioningResult' missing." + } else { + $ProvisioningResult = $JsonParameters.PSobject.Properties["provisioningResult"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "provisioningTarget"))) { + throw "Error! JSON cannot be serialized due to the required property 'provisioningTarget' missing." + } else { + $ProvisioningTarget = $JsonParameters.PSobject.Properties["provisioningTarget"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accountId"))) { #optional property not found + $AccountId = $null + } else { + $AccountId = $JsonParameters.PSobject.Properties["accountId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "ticketId"))) { #optional property not found + $TicketId = $null + } else { + $TicketId = $JsonParameters.PSobject.Properties["ticketId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributeRequests"))) { #optional property not found + $AttributeRequests = $null + } else { + $AttributeRequests = $JsonParameters.PSobject.Properties["attributeRequests"].value + } + + $PSO = [PSCustomObject]@{ + "source" = ${Source} + "accountId" = ${AccountId} + "accountOperation" = ${AccountOperation} + "provisioningResult" = ${ProvisioningResult} + "provisioningTarget" = ${ProvisioningTarget} + "ticketId" = ${TicketId} + "attributeRequests" = ${AttributeRequests} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProvisioningCompletedAccountRequestsInnerAttributeRequestsInner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProvisioningCompletedAccountRequestsInnerAttributeRequestsInner.ps1 new file mode 100644 index 000000000..56844503d --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProvisioningCompletedAccountRequestsInnerAttributeRequestsInner.ps1 @@ -0,0 +1,135 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER AttributeName +The name of the attribute being provisioned. +.PARAMETER AttributeValue +The value of the attribute being provisioned. +.PARAMETER Operation +The operation to handle the attribute. +.OUTPUTS + +ProvisioningCompletedAccountRequestsInnerAttributeRequestsInner +#> + +function Initialize-V2024ProvisioningCompletedAccountRequestsInnerAttributeRequestsInner { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AttributeName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AttributeValue}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("Add", "Set", "Remove")] + [PSCustomObject] + ${Operation} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ProvisioningCompletedAccountRequestsInnerAttributeRequestsInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$AttributeName) { + throw "invalid value for 'AttributeName', 'AttributeName' cannot be null." + } + + if (!$Operation) { + throw "invalid value for 'Operation', 'Operation' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "attributeName" = ${AttributeName} + "attributeValue" = ${AttributeValue} + "operation" = ${Operation} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ProvisioningCompletedAccountRequestsInnerAttributeRequestsInner + +.DESCRIPTION + +Convert from JSON to ProvisioningCompletedAccountRequestsInnerAttributeRequestsInner + +.PARAMETER Json + +Json object + +.OUTPUTS + +ProvisioningCompletedAccountRequestsInnerAttributeRequestsInner +#> +function ConvertFrom-V2024JsonToProvisioningCompletedAccountRequestsInnerAttributeRequestsInner { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ProvisioningCompletedAccountRequestsInnerAttributeRequestsInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ProvisioningCompletedAccountRequestsInnerAttributeRequestsInner + $AllProperties = ("attributeName", "attributeValue", "operation") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'attributeName' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributeName"))) { + throw "Error! JSON cannot be serialized due to the required property 'attributeName' missing." + } else { + $AttributeName = $JsonParameters.PSobject.Properties["attributeName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "operation"))) { + throw "Error! JSON cannot be serialized due to the required property 'operation' missing." + } else { + $Operation = $JsonParameters.PSobject.Properties["operation"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributeValue"))) { #optional property not found + $AttributeValue = $null + } else { + $AttributeValue = $JsonParameters.PSobject.Properties["attributeValue"].value + } + + $PSO = [PSCustomObject]@{ + "attributeName" = ${AttributeName} + "attributeValue" = ${AttributeValue} + "operation" = ${Operation} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProvisioningCompletedAccountRequestsInnerSource.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProvisioningCompletedAccountRequestsInnerSource.ps1 new file mode 100644 index 000000000..7074be54b --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProvisioningCompletedAccountRequestsInnerSource.ps1 @@ -0,0 +1,139 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Reference to the source being provisioned against. + +.PARAMETER Id +ID of the object to which this reference applies +.PARAMETER Type +The type of object that is referenced +.PARAMETER Name +Human-readable display name of the object to which this reference applies +.OUTPUTS + +ProvisioningCompletedAccountRequestsInnerSource +#> + +function Initialize-V2024ProvisioningCompletedAccountRequestsInnerSource { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("SOURCE")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ProvisioningCompletedAccountRequestsInnerSource' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ProvisioningCompletedAccountRequestsInnerSource + +.DESCRIPTION + +Convert from JSON to ProvisioningCompletedAccountRequestsInnerSource + +.PARAMETER Json + +Json object + +.OUTPUTS + +ProvisioningCompletedAccountRequestsInnerSource +#> +function ConvertFrom-V2024JsonToProvisioningCompletedAccountRequestsInnerSource { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ProvisioningCompletedAccountRequestsInnerSource' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ProvisioningCompletedAccountRequestsInnerSource + $AllProperties = ("id", "type", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'id' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProvisioningCompletedRecipient.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProvisioningCompletedRecipient.ps1 new file mode 100644 index 000000000..ad25964fc --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProvisioningCompletedRecipient.ps1 @@ -0,0 +1,139 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Provisioning recpient. + +.PARAMETER Type +Provisioning recipient DTO type. +.PARAMETER Id +Provisioning recipient's identity ID. +.PARAMETER Name +Provisioning recipient's display name. +.OUTPUTS + +ProvisioningCompletedRecipient +#> + +function Initialize-V2024ProvisioningCompletedRecipient { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ProvisioningCompletedRecipient' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ProvisioningCompletedRecipient + +.DESCRIPTION + +Convert from JSON to ProvisioningCompletedRecipient + +.PARAMETER Json + +Json object + +.OUTPUTS + +ProvisioningCompletedRecipient +#> +function ConvertFrom-V2024JsonToProvisioningCompletedRecipient { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ProvisioningCompletedRecipient' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ProvisioningCompletedRecipient + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'type' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProvisioningCompletedRequester.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProvisioningCompletedRequester.ps1 new file mode 100644 index 000000000..c4171e1f2 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProvisioningCompletedRequester.ps1 @@ -0,0 +1,139 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Provisioning requester's identity. + +.PARAMETER Type +Provisioning requester's DTO type. +.PARAMETER Id +Provisioning requester's identity ID. +.PARAMETER Name +Provisioning owner's human-readable display name. +.OUTPUTS + +ProvisioningCompletedRequester +#> + +function Initialize-V2024ProvisioningCompletedRequester { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ProvisioningCompletedRequester' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ProvisioningCompletedRequester + +.DESCRIPTION + +Convert from JSON to ProvisioningCompletedRequester + +.PARAMETER Json + +Json object + +.OUTPUTS + +ProvisioningCompletedRequester +#> +function ConvertFrom-V2024JsonToProvisioningCompletedRequester { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ProvisioningCompletedRequester' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ProvisioningCompletedRequester + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'type' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProvisioningConfig.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProvisioningConfig.ps1 new file mode 100644 index 000000000..9c97ee80f --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProvisioningConfig.ps1 @@ -0,0 +1,142 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Specification of a Service Desk integration provisioning configuration. + +.PARAMETER ManagedResourceRefs +References to sources for the Service Desk integration template. May only be specified if universalManager is false. +.PARAMETER PlanInitializerScript +No description available. +.PARAMETER NoProvisioningRequests +Name of an attribute that when true disables the saving of ProvisioningRequest objects whenever plans are sent through this integration. +.PARAMETER ProvisioningRequestExpiration +When saving pending requests is enabled, this defines the number of hours the request is allowed to live before it is considered expired and no longer affects plan compilation. +.OUTPUTS + +ProvisioningConfig +#> + +function Initialize-V2024ProvisioningConfig { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${ManagedResourceRefs}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${PlanInitializerScript}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${NoProvisioningRequests} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${ProvisioningRequestExpiration} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ProvisioningConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "managedResourceRefs" = ${ManagedResourceRefs} + "planInitializerScript" = ${PlanInitializerScript} + "noProvisioningRequests" = ${NoProvisioningRequests} + "provisioningRequestExpiration" = ${ProvisioningRequestExpiration} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ProvisioningConfig + +.DESCRIPTION + +Convert from JSON to ProvisioningConfig + +.PARAMETER Json + +Json object + +.OUTPUTS + +ProvisioningConfig +#> +function ConvertFrom-V2024JsonToProvisioningConfig { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ProvisioningConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ProvisioningConfig + $AllProperties = ("universalManager", "managedResourceRefs", "planInitializerScript", "noProvisioningRequests", "provisioningRequestExpiration") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "universalManager"))) { #optional property not found + $UniversalManager = $null + } else { + $UniversalManager = $JsonParameters.PSobject.Properties["universalManager"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "managedResourceRefs"))) { #optional property not found + $ManagedResourceRefs = $null + } else { + $ManagedResourceRefs = $JsonParameters.PSobject.Properties["managedResourceRefs"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "planInitializerScript"))) { #optional property not found + $PlanInitializerScript = $null + } else { + $PlanInitializerScript = $JsonParameters.PSobject.Properties["planInitializerScript"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "noProvisioningRequests"))) { #optional property not found + $NoProvisioningRequests = $null + } else { + $NoProvisioningRequests = $JsonParameters.PSobject.Properties["noProvisioningRequests"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "provisioningRequestExpiration"))) { #optional property not found + $ProvisioningRequestExpiration = $null + } else { + $ProvisioningRequestExpiration = $JsonParameters.PSobject.Properties["provisioningRequestExpiration"].value + } + + $PSO = [PSCustomObject]@{ + "universalManager" = ${UniversalManager} + "managedResourceRefs" = ${ManagedResourceRefs} + "planInitializerScript" = ${PlanInitializerScript} + "noProvisioningRequests" = ${NoProvisioningRequests} + "provisioningRequestExpiration" = ${ProvisioningRequestExpiration} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProvisioningConfig1.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProvisioningConfig1.ps1 new file mode 100644 index 000000000..025fb9e42 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProvisioningConfig1.ps1 @@ -0,0 +1,142 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Specification of a Service Desk integration provisioning configuration. + +.PARAMETER ManagedResourceRefs +References to sources for the Service Desk integration template. May only be specified if universalManager is false. +.PARAMETER PlanInitializerScript +No description available. +.PARAMETER NoProvisioningRequests +Name of an attribute that when true disables the saving of ProvisioningRequest objects whenever plans are sent through this integration. +.PARAMETER ProvisioningRequestExpiration +When saving pending requests is enabled, this defines the number of hours the request is allowed to live before it is considered expired and no longer affects plan compilation. +.OUTPUTS + +ProvisioningConfig1 +#> + +function Initialize-V2024ProvisioningConfig1 { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${ManagedResourceRefs}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${PlanInitializerScript}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${NoProvisioningRequests} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${ProvisioningRequestExpiration} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ProvisioningConfig1' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "managedResourceRefs" = ${ManagedResourceRefs} + "planInitializerScript" = ${PlanInitializerScript} + "noProvisioningRequests" = ${NoProvisioningRequests} + "provisioningRequestExpiration" = ${ProvisioningRequestExpiration} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ProvisioningConfig1 + +.DESCRIPTION + +Convert from JSON to ProvisioningConfig1 + +.PARAMETER Json + +Json object + +.OUTPUTS + +ProvisioningConfig1 +#> +function ConvertFrom-V2024JsonToProvisioningConfig1 { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ProvisioningConfig1' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ProvisioningConfig1 + $AllProperties = ("universalManager", "managedResourceRefs", "planInitializerScript", "noProvisioningRequests", "provisioningRequestExpiration") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "universalManager"))) { #optional property not found + $UniversalManager = $null + } else { + $UniversalManager = $JsonParameters.PSobject.Properties["universalManager"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "managedResourceRefs"))) { #optional property not found + $ManagedResourceRefs = $null + } else { + $ManagedResourceRefs = $JsonParameters.PSobject.Properties["managedResourceRefs"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "planInitializerScript"))) { #optional property not found + $PlanInitializerScript = $null + } else { + $PlanInitializerScript = $JsonParameters.PSobject.Properties["planInitializerScript"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "noProvisioningRequests"))) { #optional property not found + $NoProvisioningRequests = $null + } else { + $NoProvisioningRequests = $JsonParameters.PSobject.Properties["noProvisioningRequests"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "provisioningRequestExpiration"))) { #optional property not found + $ProvisioningRequestExpiration = $null + } else { + $ProvisioningRequestExpiration = $JsonParameters.PSobject.Properties["provisioningRequestExpiration"].value + } + + $PSO = [PSCustomObject]@{ + "universalManager" = ${UniversalManager} + "managedResourceRefs" = ${ManagedResourceRefs} + "planInitializerScript" = ${PlanInitializerScript} + "noProvisioningRequests" = ${NoProvisioningRequests} + "provisioningRequestExpiration" = ${ProvisioningRequestExpiration} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProvisioningConfig1ManagedResourceRefsInner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProvisioningConfig1ManagedResourceRefsInner.ps1 new file mode 100644 index 000000000..78efc05d7 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProvisioningConfig1ManagedResourceRefsInner.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Type +The type of object being referenced +.PARAMETER Id +ID of the source +.PARAMETER Name +Human-readable display name of the source +.OUTPUTS + +ProvisioningConfig1ManagedResourceRefsInner +#> + +function Initialize-V2024ProvisioningConfig1ManagedResourceRefsInner { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("SOURCE")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ProvisioningConfig1ManagedResourceRefsInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ProvisioningConfig1ManagedResourceRefsInner + +.DESCRIPTION + +Convert from JSON to ProvisioningConfig1ManagedResourceRefsInner + +.PARAMETER Json + +Json object + +.OUTPUTS + +ProvisioningConfig1ManagedResourceRefsInner +#> +function ConvertFrom-V2024JsonToProvisioningConfig1ManagedResourceRefsInner { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ProvisioningConfig1ManagedResourceRefsInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ProvisioningConfig1ManagedResourceRefsInner + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProvisioningConfig1PlanInitializerScript.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProvisioningConfig1PlanInitializerScript.ps1 new file mode 100644 index 000000000..36618d18c --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProvisioningConfig1PlanInitializerScript.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +This is a reference to a plan initializer script. + +.PARAMETER Source +This is a Rule that allows provisioning instruction changes. +.OUTPUTS + +ProvisioningConfig1PlanInitializerScript +#> + +function Initialize-V2024ProvisioningConfig1PlanInitializerScript { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Source} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ProvisioningConfig1PlanInitializerScript' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "source" = ${Source} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ProvisioningConfig1PlanInitializerScript + +.DESCRIPTION + +Convert from JSON to ProvisioningConfig1PlanInitializerScript + +.PARAMETER Json + +Json object + +.OUTPUTS + +ProvisioningConfig1PlanInitializerScript +#> +function ConvertFrom-V2024JsonToProvisioningConfig1PlanInitializerScript { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ProvisioningConfig1PlanInitializerScript' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ProvisioningConfig1PlanInitializerScript + $AllProperties = ("source") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "source"))) { #optional property not found + $Source = $null + } else { + $Source = $JsonParameters.PSobject.Properties["source"].value + } + + $PSO = [PSCustomObject]@{ + "source" = ${Source} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProvisioningConfigPlanInitializerScript.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProvisioningConfigPlanInitializerScript.ps1 new file mode 100644 index 000000000..d44454f8f --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProvisioningConfigPlanInitializerScript.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +This is a reference to a plan initializer script. + +.PARAMETER Source +This is a Rule that allows provisioning instruction changes. +.OUTPUTS + +ProvisioningConfigPlanInitializerScript +#> + +function Initialize-V2024ProvisioningConfigPlanInitializerScript { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Source} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ProvisioningConfigPlanInitializerScript' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "source" = ${Source} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ProvisioningConfigPlanInitializerScript + +.DESCRIPTION + +Convert from JSON to ProvisioningConfigPlanInitializerScript + +.PARAMETER Json + +Json object + +.OUTPUTS + +ProvisioningConfigPlanInitializerScript +#> +function ConvertFrom-V2024JsonToProvisioningConfigPlanInitializerScript { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ProvisioningConfigPlanInitializerScript' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ProvisioningConfigPlanInitializerScript + $AllProperties = ("source") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "source"))) { #optional property not found + $Source = $null + } else { + $Source = $JsonParameters.PSobject.Properties["source"].value + } + + $PSO = [PSCustomObject]@{ + "source" = ${Source} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProvisioningCriteriaLevel1.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProvisioningCriteriaLevel1.ps1 new file mode 100644 index 000000000..f4f7b4e1a --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProvisioningCriteriaLevel1.ps1 @@ -0,0 +1,136 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Defines matching criteria for an Account to be provisioned with a specific Access Profile + +.PARAMETER Operation +No description available. +.PARAMETER Attribute +Name of the Account attribute to be tested. If **operation** is one of EQUALS, NOT_EQUALS, CONTAINS, or HAS, this field is required. Otherwise, specifying it is an error. +.PARAMETER Value +String value to test the Account attribute w/r/t the specified operation. If the operation is one of EQUALS, NOT_EQUALS, or CONTAINS, this field is required. Otherwise, specifying it is an error. If the Attribute is not String-typed, it will be converted to the appropriate type. +.PARAMETER Children +Array of child criteria. Required if the operation is AND or OR, otherwise it must be left null. A maximum of three levels of criteria are supported, including leaf nodes. +.OUTPUTS + +ProvisioningCriteriaLevel1 +#> + +function Initialize-V2024ProvisioningCriteriaLevel1 { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("EQUALS", "NOT_EQUALS", "CONTAINS", "HAS", "AND", "OR")] + [PSCustomObject] + ${Operation}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Attribute}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Value}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Children} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ProvisioningCriteriaLevel1' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "operation" = ${Operation} + "attribute" = ${Attribute} + "value" = ${Value} + "children" = ${Children} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ProvisioningCriteriaLevel1 + +.DESCRIPTION + +Convert from JSON to ProvisioningCriteriaLevel1 + +.PARAMETER Json + +Json object + +.OUTPUTS + +ProvisioningCriteriaLevel1 +#> +function ConvertFrom-V2024JsonToProvisioningCriteriaLevel1 { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ProvisioningCriteriaLevel1' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ProvisioningCriteriaLevel1 + $AllProperties = ("operation", "attribute", "value", "children") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "operation"))) { #optional property not found + $Operation = $null + } else { + $Operation = $JsonParameters.PSobject.Properties["operation"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attribute"))) { #optional property not found + $Attribute = $null + } else { + $Attribute = $JsonParameters.PSobject.Properties["attribute"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "value"))) { #optional property not found + $Value = $null + } else { + $Value = $JsonParameters.PSobject.Properties["value"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "children"))) { #optional property not found + $Children = $null + } else { + $Children = $JsonParameters.PSobject.Properties["children"].value + } + + $PSO = [PSCustomObject]@{ + "operation" = ${Operation} + "attribute" = ${Attribute} + "value" = ${Value} + "children" = ${Children} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProvisioningCriteriaLevel2.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProvisioningCriteriaLevel2.ps1 new file mode 100644 index 000000000..880d05ed1 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProvisioningCriteriaLevel2.ps1 @@ -0,0 +1,136 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Defines matching criteria for an Account to be provisioned with a specific Access Profile + +.PARAMETER Operation +No description available. +.PARAMETER Attribute +Name of the Account attribute to be tested. If **operation** is one of EQUALS, NOT_EQUALS, CONTAINS, or HAS, this field is required. Otherwise, specifying it is an error. +.PARAMETER Value +String value to test the Account attribute w/r/t the specified operation. If the operation is one of EQUALS, NOT_EQUALS, or CONTAINS, this field is required. Otherwise, specifying it is an error. If the Attribute is not String-typed, it will be converted to the appropriate type. +.PARAMETER Children +Array of child criteria. Required if the operation is AND or OR, otherwise it must be left null. A maximum of three levels of criteria are supported, including leaf nodes. +.OUTPUTS + +ProvisioningCriteriaLevel2 +#> + +function Initialize-V2024ProvisioningCriteriaLevel2 { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("EQUALS", "NOT_EQUALS", "CONTAINS", "HAS", "AND", "OR")] + [PSCustomObject] + ${Operation}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Attribute}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Value}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Children} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ProvisioningCriteriaLevel2' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "operation" = ${Operation} + "attribute" = ${Attribute} + "value" = ${Value} + "children" = ${Children} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ProvisioningCriteriaLevel2 + +.DESCRIPTION + +Convert from JSON to ProvisioningCriteriaLevel2 + +.PARAMETER Json + +Json object + +.OUTPUTS + +ProvisioningCriteriaLevel2 +#> +function ConvertFrom-V2024JsonToProvisioningCriteriaLevel2 { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ProvisioningCriteriaLevel2' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ProvisioningCriteriaLevel2 + $AllProperties = ("operation", "attribute", "value", "children") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "operation"))) { #optional property not found + $Operation = $null + } else { + $Operation = $JsonParameters.PSobject.Properties["operation"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attribute"))) { #optional property not found + $Attribute = $null + } else { + $Attribute = $JsonParameters.PSobject.Properties["attribute"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "value"))) { #optional property not found + $Value = $null + } else { + $Value = $JsonParameters.PSobject.Properties["value"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "children"))) { #optional property not found + $Children = $null + } else { + $Children = $JsonParameters.PSobject.Properties["children"].value + } + + $PSO = [PSCustomObject]@{ + "operation" = ${Operation} + "attribute" = ${Attribute} + "value" = ${Value} + "children" = ${Children} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProvisioningCriteriaLevel3.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProvisioningCriteriaLevel3.ps1 new file mode 100644 index 000000000..084acbcf1 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProvisioningCriteriaLevel3.ps1 @@ -0,0 +1,136 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Defines matching criteria for an Account to be provisioned with a specific Access Profile + +.PARAMETER Operation +No description available. +.PARAMETER Attribute +Name of the Account attribute to be tested. If **operation** is one of EQUALS, NOT_EQUALS, CONTAINS, or HAS, this field is required. Otherwise, specifying it is an error. +.PARAMETER Value +String value to test the Account attribute w/r/t the specified operation. If the operation is one of EQUALS, NOT_EQUALS, or CONTAINS, this field is required. Otherwise, specifying it is an error. If the Attribute is not String-typed, it will be converted to the appropriate type. +.PARAMETER Children +Array of child criteria. Required if the operation is AND or OR, otherwise it must be left null. A maximum of three levels of criteria are supported, including leaf nodes. +.OUTPUTS + +ProvisioningCriteriaLevel3 +#> + +function Initialize-V2024ProvisioningCriteriaLevel3 { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("EQUALS", "NOT_EQUALS", "CONTAINS", "HAS", "AND", "OR")] + [PSCustomObject] + ${Operation}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Attribute}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Value}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Children} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ProvisioningCriteriaLevel3' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "operation" = ${Operation} + "attribute" = ${Attribute} + "value" = ${Value} + "children" = ${Children} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ProvisioningCriteriaLevel3 + +.DESCRIPTION + +Convert from JSON to ProvisioningCriteriaLevel3 + +.PARAMETER Json + +Json object + +.OUTPUTS + +ProvisioningCriteriaLevel3 +#> +function ConvertFrom-V2024JsonToProvisioningCriteriaLevel3 { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ProvisioningCriteriaLevel3' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ProvisioningCriteriaLevel3 + $AllProperties = ("operation", "attribute", "value", "children") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "operation"))) { #optional property not found + $Operation = $null + } else { + $Operation = $JsonParameters.PSobject.Properties["operation"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attribute"))) { #optional property not found + $Attribute = $null + } else { + $Attribute = $JsonParameters.PSobject.Properties["attribute"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "value"))) { #optional property not found + $Value = $null + } else { + $Value = $JsonParameters.PSobject.Properties["value"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "children"))) { #optional property not found + $Children = $null + } else { + $Children = $JsonParameters.PSobject.Properties["children"].value + } + + $PSO = [PSCustomObject]@{ + "operation" = ${Operation} + "attribute" = ${Attribute} + "value" = ${Value} + "children" = ${Children} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProvisioningCriteriaOperation.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProvisioningCriteriaOperation.ps1 new file mode 100644 index 000000000..b0e98e4eb --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProvisioningCriteriaOperation.ps1 @@ -0,0 +1,32 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum ProvisioningCriteriaOperation. + +.DESCRIPTION + +Supported operations on ProvisioningCriteria +#> + +enum ProvisioningCriteriaOperation { + # enum value: "EQUALS" + EQUALS + # enum value: "NOT_EQUALS" + NOT_EQUALS + # enum value: "CONTAINS" + CONTAINS + # enum value: "HAS" + HAS + # enum value: "AND" + AND + # enum value: "OR" + OR +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProvisioningDetails.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProvisioningDetails.ps1 new file mode 100644 index 000000000..f7993c246 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProvisioningDetails.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Provides additional details about provisioning for this request. + +.PARAMETER OrderedSubPhaseReferences +Ordered CSV of sub phase references to objects that contain more information about provisioning. For example, this can contain ""manualWorkItemDetails"" which indicate that there is further information in that object for this phase. +.OUTPUTS + +ProvisioningDetails +#> + +function Initialize-V2024ProvisioningDetails { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${OrderedSubPhaseReferences} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ProvisioningDetails' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "orderedSubPhaseReferences" = ${OrderedSubPhaseReferences} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ProvisioningDetails + +.DESCRIPTION + +Convert from JSON to ProvisioningDetails + +.PARAMETER Json + +Json object + +.OUTPUTS + +ProvisioningDetails +#> +function ConvertFrom-V2024JsonToProvisioningDetails { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ProvisioningDetails' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ProvisioningDetails + $AllProperties = ("orderedSubPhaseReferences") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "orderedSubPhaseReferences"))) { #optional property not found + $OrderedSubPhaseReferences = $null + } else { + $OrderedSubPhaseReferences = $JsonParameters.PSobject.Properties["orderedSubPhaseReferences"].value + } + + $PSO = [PSCustomObject]@{ + "orderedSubPhaseReferences" = ${OrderedSubPhaseReferences} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProvisioningPolicy.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProvisioningPolicy.ps1 new file mode 100644 index 000000000..2def9a49a --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProvisioningPolicy.ps1 @@ -0,0 +1,144 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Name +the provisioning policy name +.PARAMETER Description +the description of the provisioning policy +.PARAMETER UsageType +No description available. +.PARAMETER Fields +No description available. +.OUTPUTS + +ProvisioningPolicy +#> + +function Initialize-V2024ProvisioningPolicy { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("CREATE", "UPDATE", "ENABLE", "DISABLE", "DELETE", "ASSIGN", "UNASSIGN", "CREATE_GROUP", "UPDATE_GROUP", "DELETE_GROUP", "REGISTER", "CREATE_IDENTITY", "UPDATE_IDENTITY", "EDIT_GROUP", "UNLOCK", "CHANGE_PASSWORD")] + [PSCustomObject] + ${UsageType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Fields} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ProvisioningPolicy' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "description" = ${Description} + "usageType" = ${UsageType} + "fields" = ${Fields} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ProvisioningPolicy + +.DESCRIPTION + +Convert from JSON to ProvisioningPolicy + +.PARAMETER Json + +Json object + +.OUTPUTS + +ProvisioningPolicy +#> +function ConvertFrom-V2024JsonToProvisioningPolicy { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ProvisioningPolicy' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ProvisioningPolicy + $AllProperties = ("name", "description", "usageType", "fields") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'name' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "usageType"))) { #optional property not found + $UsageType = $null + } else { + $UsageType = $JsonParameters.PSobject.Properties["usageType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "fields"))) { #optional property not found + $Fields = $null + } else { + $Fields = $JsonParameters.PSobject.Properties["fields"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "description" = ${Description} + "usageType" = ${UsageType} + "fields" = ${Fields} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProvisioningPolicyDto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProvisioningPolicyDto.ps1 new file mode 100644 index 000000000..64c828a13 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProvisioningPolicyDto.ps1 @@ -0,0 +1,144 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Name +the provisioning policy name +.PARAMETER Description +the description of the provisioning policy +.PARAMETER UsageType +No description available. +.PARAMETER Fields +No description available. +.OUTPUTS + +ProvisioningPolicyDto +#> + +function Initialize-V2024ProvisioningPolicyDto { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("CREATE", "UPDATE", "ENABLE", "DISABLE", "DELETE", "ASSIGN", "UNASSIGN", "CREATE_GROUP", "UPDATE_GROUP", "DELETE_GROUP", "REGISTER", "CREATE_IDENTITY", "UPDATE_IDENTITY", "EDIT_GROUP", "UNLOCK", "CHANGE_PASSWORD")] + [PSCustomObject] + ${UsageType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Fields} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ProvisioningPolicyDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "description" = ${Description} + "usageType" = ${UsageType} + "fields" = ${Fields} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ProvisioningPolicyDto + +.DESCRIPTION + +Convert from JSON to ProvisioningPolicyDto + +.PARAMETER Json + +Json object + +.OUTPUTS + +ProvisioningPolicyDto +#> +function ConvertFrom-V2024JsonToProvisioningPolicyDto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ProvisioningPolicyDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ProvisioningPolicyDto + $AllProperties = ("name", "description", "usageType", "fields") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'name' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "usageType"))) { #optional property not found + $UsageType = $null + } else { + $UsageType = $JsonParameters.PSobject.Properties["usageType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "fields"))) { #optional property not found + $Fields = $null + } else { + $Fields = $JsonParameters.PSobject.Properties["fields"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "description" = ${Description} + "usageType" = ${UsageType} + "fields" = ${Fields} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProvisioningState.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProvisioningState.ps1 new file mode 100644 index 000000000..88f97050a --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ProvisioningState.ps1 @@ -0,0 +1,32 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum ProvisioningState. + +.DESCRIPTION + +Provisioning state of an account activity item +#> + +enum ProvisioningState { + # enum value: "PENDING" + PENDING + # enum value: "FINISHED" + FINISHED + # enum value: "UNVERIFIABLE" + UNVERIFIABLE + # enum value: "COMMITED" + COMMITED + # enum value: "FAILED" + FAILED + # enum value: "RETRY" + RETRY +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/PublicIdentity.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/PublicIdentity.ps1 new file mode 100644 index 000000000..affb77d6c --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/PublicIdentity.ps1 @@ -0,0 +1,188 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Details about a public identity + +.PARAMETER Id +Identity id +.PARAMETER Name +Human-readable display name of identity. +.PARAMETER Alias +Alternate unique identifier for the identity. +.PARAMETER Email +Email address of identity. +.PARAMETER Status +The lifecycle status for the identity +.PARAMETER IdentityState +The current state of the identity, which determines how Identity Security Cloud interacts with the identity. An identity that is Active will be included identity picklists in Request Center, identity processing, and more. Identities that are Inactive will be excluded from these features. +.PARAMETER Manager +No description available. +.PARAMETER Attributes +The public identity attributes of the identity +.OUTPUTS + +PublicIdentity +#> + +function Initialize-V2024PublicIdentity { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Alias}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Email}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Status}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ACTIVE", "INACTIVE_SHORT_TERM", "INACTIVE_LONG_TERM", "")] + [String] + ${IdentityState}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Manager}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Attributes} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024PublicIdentity' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "alias" = ${Alias} + "email" = ${Email} + "status" = ${Status} + "identityState" = ${IdentityState} + "manager" = ${Manager} + "attributes" = ${Attributes} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to PublicIdentity + +.DESCRIPTION + +Convert from JSON to PublicIdentity + +.PARAMETER Json + +Json object + +.OUTPUTS + +PublicIdentity +#> +function ConvertFrom-V2024JsonToPublicIdentity { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024PublicIdentity' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024PublicIdentity + $AllProperties = ("id", "name", "alias", "email", "status", "identityState", "manager", "attributes") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "alias"))) { #optional property not found + $Alias = $null + } else { + $Alias = $JsonParameters.PSobject.Properties["alias"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "email"))) { #optional property not found + $Email = $null + } else { + $Email = $JsonParameters.PSobject.Properties["email"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { #optional property not found + $Status = $null + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityState"))) { #optional property not found + $IdentityState = $null + } else { + $IdentityState = $JsonParameters.PSobject.Properties["identityState"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "manager"))) { #optional property not found + $Manager = $null + } else { + $Manager = $JsonParameters.PSobject.Properties["manager"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributes"))) { #optional property not found + $Attributes = $null + } else { + $Attributes = $JsonParameters.PSobject.Properties["attributes"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "alias" = ${Alias} + "email" = ${Email} + "status" = ${Status} + "identityState" = ${IdentityState} + "manager" = ${Manager} + "attributes" = ${Attributes} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/PublicIdentityAttributeConfig.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/PublicIdentityAttributeConfig.ps1 new file mode 100644 index 000000000..95521f869 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/PublicIdentityAttributeConfig.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Used to map an attribute key for an Identity to its display name. + +.PARAMETER Key +The attribute key +.PARAMETER Name +The attribute display name +.OUTPUTS + +PublicIdentityAttributeConfig +#> + +function Initialize-V2024PublicIdentityAttributeConfig { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Key}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024PublicIdentityAttributeConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "key" = ${Key} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to PublicIdentityAttributeConfig + +.DESCRIPTION + +Convert from JSON to PublicIdentityAttributeConfig + +.PARAMETER Json + +Json object + +.OUTPUTS + +PublicIdentityAttributeConfig +#> +function ConvertFrom-V2024JsonToPublicIdentityAttributeConfig { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024PublicIdentityAttributeConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024PublicIdentityAttributeConfig + $AllProperties = ("key", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "key"))) { #optional property not found + $Key = $null + } else { + $Key = $JsonParameters.PSobject.Properties["key"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "key" = ${Key} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/PublicIdentityConfig.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/PublicIdentityConfig.ps1 new file mode 100644 index 000000000..6c9cbada9 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/PublicIdentityConfig.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Details of up to 5 Identity attributes that will be publicly accessible for all Identities to anyone in the org. + +.PARAMETER Attributes +Up to 5 identity attributes that will be available to everyone in the org for all users in the org. +.PARAMETER Modified +When this configuration was last modified. +.PARAMETER ModifiedBy +No description available. +.OUTPUTS + +PublicIdentityConfig +#> + +function Initialize-V2024PublicIdentityConfig { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Attributes}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Modified}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${ModifiedBy} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024PublicIdentityConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "attributes" = ${Attributes} + "modified" = ${Modified} + "modifiedBy" = ${ModifiedBy} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to PublicIdentityConfig + +.DESCRIPTION + +Convert from JSON to PublicIdentityConfig + +.PARAMETER Json + +Json object + +.OUTPUTS + +PublicIdentityConfig +#> +function ConvertFrom-V2024JsonToPublicIdentityConfig { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024PublicIdentityConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024PublicIdentityConfig + $AllProperties = ("attributes", "modified", "modifiedBy") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributes"))) { #optional property not found + $Attributes = $null + } else { + $Attributes = $JsonParameters.PSobject.Properties["attributes"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modifiedBy"))) { #optional property not found + $ModifiedBy = $null + } else { + $ModifiedBy = $JsonParameters.PSobject.Properties["modifiedBy"].value + } + + $PSO = [PSCustomObject]@{ + "attributes" = ${Attributes} + "modified" = ${Modified} + "modifiedBy" = ${ModifiedBy} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/PutCorrelationConfigRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/PutCorrelationConfigRequest.ps1 new file mode 100644 index 000000000..631623f64 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/PutCorrelationConfigRequest.ps1 @@ -0,0 +1,104 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER File +connector correlation config xml file +.OUTPUTS + +PutCorrelationConfigRequest +#> + +function Initialize-V2024PutCorrelationConfigRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.IO.FileInfo] + ${File} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024PutCorrelationConfigRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$File) { + throw "invalid value for 'File', 'File' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "file" = ${File} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to PutCorrelationConfigRequest + +.DESCRIPTION + +Convert from JSON to PutCorrelationConfigRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +PutCorrelationConfigRequest +#> +function ConvertFrom-V2024JsonToPutCorrelationConfigRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024PutCorrelationConfigRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024PutCorrelationConfigRequest + $AllProperties = ("file") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'file' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "file"))) { + throw "Error! JSON cannot be serialized due to the required property 'file' missing." + } else { + $File = $JsonParameters.PSobject.Properties["file"].value + } + + $PSO = [PSCustomObject]@{ + "file" = ${File} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/PutPasswordDictionaryRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/PutPasswordDictionaryRequest.ps1 new file mode 100644 index 000000000..4517ce9fd --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/PutPasswordDictionaryRequest.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER File +No description available. +.OUTPUTS + +PutPasswordDictionaryRequest +#> + +function Initialize-V2024PutPasswordDictionaryRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.IO.FileInfo] + ${File} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024PutPasswordDictionaryRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "file" = ${File} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to PutPasswordDictionaryRequest + +.DESCRIPTION + +Convert from JSON to PutPasswordDictionaryRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +PutPasswordDictionaryRequest +#> +function ConvertFrom-V2024JsonToPutPasswordDictionaryRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024PutPasswordDictionaryRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024PutPasswordDictionaryRequest + $AllProperties = ("file") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "file"))) { #optional property not found + $File = $null + } else { + $File = $JsonParameters.PSobject.Properties["file"].value + } + + $PSO = [PSCustomObject]@{ + "file" = ${File} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/PutSourceConfigRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/PutSourceConfigRequest.ps1 new file mode 100644 index 000000000..e26961c6b --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/PutSourceConfigRequest.ps1 @@ -0,0 +1,104 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER File +connector source config xml file +.OUTPUTS + +PutSourceConfigRequest +#> + +function Initialize-V2024PutSourceConfigRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.IO.FileInfo] + ${File} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024PutSourceConfigRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$File) { + throw "invalid value for 'File', 'File' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "file" = ${File} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to PutSourceConfigRequest + +.DESCRIPTION + +Convert from JSON to PutSourceConfigRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +PutSourceConfigRequest +#> +function ConvertFrom-V2024JsonToPutSourceConfigRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024PutSourceConfigRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024PutSourceConfigRequest + $AllProperties = ("file") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'file' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "file"))) { + throw "Error! JSON cannot be serialized due to the required property 'file' missing." + } else { + $File = $JsonParameters.PSobject.Properties["file"].value + } + + $PSO = [PSCustomObject]@{ + "file" = ${File} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/PutSourceTemplateRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/PutSourceTemplateRequest.ps1 new file mode 100644 index 000000000..cb0ab9cd3 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/PutSourceTemplateRequest.ps1 @@ -0,0 +1,104 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER File +connector source template xml file +.OUTPUTS + +PutSourceTemplateRequest +#> + +function Initialize-V2024PutSourceTemplateRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.IO.FileInfo] + ${File} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024PutSourceTemplateRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$File) { + throw "invalid value for 'File', 'File' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "file" = ${File} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to PutSourceTemplateRequest + +.DESCRIPTION + +Convert from JSON to PutSourceTemplateRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +PutSourceTemplateRequest +#> +function ConvertFrom-V2024JsonToPutSourceTemplateRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024PutSourceTemplateRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024PutSourceTemplateRequest + $AllProperties = ("file") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'file' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "file"))) { + throw "Error! JSON cannot be serialized due to the required property 'file' missing." + } else { + $File = $JsonParameters.PSobject.Properties["file"].value + } + + $PSO = [PSCustomObject]@{ + "file" = ${File} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Query.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Query.ps1 new file mode 100644 index 000000000..50da7d723 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Query.ps1 @@ -0,0 +1,135 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Query parameters used to construct an Elasticsearch query object. + +.PARAMETER Query +The query using the Elasticsearch [Query String Query](https://www.elastic.co/guide/en/elasticsearch/reference/5.2/query-dsl-query-string-query.html#query-string) syntax from the Query DSL extended by SailPoint to support Nested queries. +.PARAMETER Fields +The fields the query will be applied to. Fields provide you with a simple way to add additional fields to search, without making the query too complicated. For example, you can use the fields to specify that you want your query of ""a*"" to be applied to ""name"", ""firstName"", and the ""source.name"". The response will include all results matching the ""a*"" query found in those three fields. A field's availability depends on the indices being searched. For example, if you are searching ""identities"", you can apply your search to the ""firstName"" field, but you couldn't use ""firstName"" with a search on ""access profiles"". Refer to the response schema for the respective lists of available fields. +.PARAMETER TimeZone +The time zone to be applied to any range query related to dates. +.PARAMETER InnerHit +No description available. +.OUTPUTS + +Query +#> + +function Initialize-V2024Query { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Query}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Fields}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${TimeZone}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${InnerHit} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Query' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "query" = ${Query} + "fields" = ${Fields} + "timeZone" = ${TimeZone} + "innerHit" = ${InnerHit} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Query + +.DESCRIPTION + +Convert from JSON to Query + +.PARAMETER Json + +Json object + +.OUTPUTS + +Query +#> +function ConvertFrom-V2024JsonToQuery { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Query' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Query + $AllProperties = ("query", "fields", "timeZone", "innerHit") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "query"))) { #optional property not found + $Query = $null + } else { + $Query = $JsonParameters.PSobject.Properties["query"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "fields"))) { #optional property not found + $Fields = $null + } else { + $Fields = $JsonParameters.PSobject.Properties["fields"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "timeZone"))) { #optional property not found + $TimeZone = $null + } else { + $TimeZone = $JsonParameters.PSobject.Properties["timeZone"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "innerHit"))) { #optional property not found + $InnerHit = $null + } else { + $InnerHit = $JsonParameters.PSobject.Properties["innerHit"].value + } + + $PSO = [PSCustomObject]@{ + "query" = ${Query} + "fields" = ${Fields} + "timeZone" = ${TimeZone} + "innerHit" = ${InnerHit} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/QueryResultFilter.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/QueryResultFilter.ps1 new file mode 100644 index 000000000..36402aa2f --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/QueryResultFilter.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Allows the query results to be filtered by specifying a list of fields to include and/or exclude from the result documents. + +.PARAMETER Includes +The list of field names to include in the result documents. +.PARAMETER Excludes +The list of field names to exclude from the result documents. +.OUTPUTS + +QueryResultFilter +#> + +function Initialize-V2024QueryResultFilter { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Includes}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Excludes} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024QueryResultFilter' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "includes" = ${Includes} + "excludes" = ${Excludes} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to QueryResultFilter + +.DESCRIPTION + +Convert from JSON to QueryResultFilter + +.PARAMETER Json + +Json object + +.OUTPUTS + +QueryResultFilter +#> +function ConvertFrom-V2024JsonToQueryResultFilter { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024QueryResultFilter' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024QueryResultFilter + $AllProperties = ("includes", "excludes") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "includes"))) { #optional property not found + $Includes = $null + } else { + $Includes = $JsonParameters.PSobject.Properties["includes"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "excludes"))) { #optional property not found + $Excludes = $null + } else { + $Excludes = $JsonParameters.PSobject.Properties["excludes"].value + } + + $PSO = [PSCustomObject]@{ + "includes" = ${Includes} + "excludes" = ${Excludes} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/QueryType.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/QueryType.ps1 new file mode 100644 index 000000000..e9752c1da --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/QueryType.ps1 @@ -0,0 +1,28 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum QueryType. + +.DESCRIPTION + +The type of query to use. By default, the `SAILPOINT` query type is used, which requires the `query` object to be defined in the request body. To use the `queryDsl` or `typeAheadQuery` objects in the request, you must set the type to `DSL` or `TYPEAHEAD` accordingly. Additional values may be added in the future without notice. +#> + +enum QueryType { + # enum value: "DSL" + DSL + # enum value: "SAILPOINT" + SAILPOINT + # enum value: "TEXT" + TEXT + # enum value: "TYPEAHEAD" + TYPEAHEAD +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/QueuedCheckConfigDetails.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/QueuedCheckConfigDetails.ps1 new file mode 100644 index 000000000..9683cf9c3 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/QueuedCheckConfigDetails.ps1 @@ -0,0 +1,121 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Configuration of maximum number days and interval for checking Service Desk integration queue status + +.PARAMETER ProvisioningStatusCheckIntervalMinutes +interval in minutes between status checks +.PARAMETER ProvisioningMaxStatusCheckDays +maximum number of days to check +.OUTPUTS + +QueuedCheckConfigDetails +#> + +function Initialize-V2024QueuedCheckConfigDetails { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ProvisioningStatusCheckIntervalMinutes}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ProvisioningMaxStatusCheckDays} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024QueuedCheckConfigDetails' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$ProvisioningStatusCheckIntervalMinutes) { + throw "invalid value for 'ProvisioningStatusCheckIntervalMinutes', 'ProvisioningStatusCheckIntervalMinutes' cannot be null." + } + + if (!$ProvisioningMaxStatusCheckDays) { + throw "invalid value for 'ProvisioningMaxStatusCheckDays', 'ProvisioningMaxStatusCheckDays' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "provisioningStatusCheckIntervalMinutes" = ${ProvisioningStatusCheckIntervalMinutes} + "provisioningMaxStatusCheckDays" = ${ProvisioningMaxStatusCheckDays} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to QueuedCheckConfigDetails + +.DESCRIPTION + +Convert from JSON to QueuedCheckConfigDetails + +.PARAMETER Json + +Json object + +.OUTPUTS + +QueuedCheckConfigDetails +#> +function ConvertFrom-V2024JsonToQueuedCheckConfigDetails { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024QueuedCheckConfigDetails' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024QueuedCheckConfigDetails + $AllProperties = ("provisioningStatusCheckIntervalMinutes", "provisioningMaxStatusCheckDays") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'provisioningStatusCheckIntervalMinutes' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "provisioningStatusCheckIntervalMinutes"))) { + throw "Error! JSON cannot be serialized due to the required property 'provisioningStatusCheckIntervalMinutes' missing." + } else { + $ProvisioningStatusCheckIntervalMinutes = $JsonParameters.PSobject.Properties["provisioningStatusCheckIntervalMinutes"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "provisioningMaxStatusCheckDays"))) { + throw "Error! JSON cannot be serialized due to the required property 'provisioningMaxStatusCheckDays' missing." + } else { + $ProvisioningMaxStatusCheckDays = $JsonParameters.PSobject.Properties["provisioningMaxStatusCheckDays"].value + } + + $PSO = [PSCustomObject]@{ + "provisioningStatusCheckIntervalMinutes" = ${ProvisioningStatusCheckIntervalMinutes} + "provisioningMaxStatusCheckDays" = ${ProvisioningMaxStatusCheckDays} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RandomAlphaNumeric.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RandomAlphaNumeric.ps1 new file mode 100644 index 000000000..a31792789 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RandomAlphaNumeric.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Length +This is an integer value specifying the size/number of characters the random string must contain * This value must be a positive number and cannot be blank * If no length is provided, the transform will default to a value of `32` * Due to identity attribute data constraints, the maximum allowable value is `450` characters +.PARAMETER RequiresPeriodicRefresh +A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process +.PARAMETER VarInput +This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI. +.OUTPUTS + +RandomAlphaNumeric +#> + +function Initialize-V2024RandomAlphaNumeric { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Length}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${RequiresPeriodicRefresh} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${VarInput} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RandomAlphaNumeric' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "length" = ${Length} + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + "input" = ${VarInput} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RandomAlphaNumeric + +.DESCRIPTION + +Convert from JSON to RandomAlphaNumeric + +.PARAMETER Json + +Json object + +.OUTPUTS + +RandomAlphaNumeric +#> +function ConvertFrom-V2024JsonToRandomAlphaNumeric { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RandomAlphaNumeric' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RandomAlphaNumeric + $AllProperties = ("length", "requiresPeriodicRefresh", "input") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "length"))) { #optional property not found + $Length = $null + } else { + $Length = $JsonParameters.PSobject.Properties["length"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requiresPeriodicRefresh"))) { #optional property not found + $RequiresPeriodicRefresh = $null + } else { + $RequiresPeriodicRefresh = $JsonParameters.PSobject.Properties["requiresPeriodicRefresh"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "input"))) { #optional property not found + $VarInput = $null + } else { + $VarInput = $JsonParameters.PSobject.Properties["input"].value + } + + $PSO = [PSCustomObject]@{ + "length" = ${Length} + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + "input" = ${VarInput} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RandomNumeric.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RandomNumeric.ps1 new file mode 100644 index 000000000..54d3c5bcb --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RandomNumeric.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Length +This is an integer value specifying the size/number of characters the random string must contain * This value must be a positive number and cannot be blank * If no length is provided, the transform will default to a value of `32` * Due to identity attribute data constraints, the maximum allowable value is `450` characters +.PARAMETER RequiresPeriodicRefresh +A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process +.PARAMETER VarInput +This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI. +.OUTPUTS + +RandomNumeric +#> + +function Initialize-V2024RandomNumeric { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Length}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${RequiresPeriodicRefresh} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${VarInput} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RandomNumeric' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "length" = ${Length} + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + "input" = ${VarInput} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RandomNumeric + +.DESCRIPTION + +Convert from JSON to RandomNumeric + +.PARAMETER Json + +Json object + +.OUTPUTS + +RandomNumeric +#> +function ConvertFrom-V2024JsonToRandomNumeric { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RandomNumeric' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RandomNumeric + $AllProperties = ("length", "requiresPeriodicRefresh", "input") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "length"))) { #optional property not found + $Length = $null + } else { + $Length = $JsonParameters.PSobject.Properties["length"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requiresPeriodicRefresh"))) { #optional property not found + $RequiresPeriodicRefresh = $null + } else { + $RequiresPeriodicRefresh = $JsonParameters.PSobject.Properties["requiresPeriodicRefresh"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "input"))) { #optional property not found + $VarInput = $null + } else { + $VarInput = $JsonParameters.PSobject.Properties["input"].value + } + + $PSO = [PSCustomObject]@{ + "length" = ${Length} + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + "input" = ${VarInput} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Range.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Range.ps1 new file mode 100644 index 000000000..8c9f016d8 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Range.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +The range of values to be filtered. + +.PARAMETER Lower +No description available. +.PARAMETER Upper +No description available. +.OUTPUTS + +Range +#> + +function Initialize-V2024Range { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Lower}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Upper} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Range' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "lower" = ${Lower} + "upper" = ${Upper} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Range + +.DESCRIPTION + +Convert from JSON to Range + +.PARAMETER Json + +Json object + +.OUTPUTS + +Range +#> +function ConvertFrom-V2024JsonToRange { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Range' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Range + $AllProperties = ("lower", "upper") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "lower"))) { #optional property not found + $Lower = $null + } else { + $Lower = $JsonParameters.PSobject.Properties["lower"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "upper"))) { #optional property not found + $Upper = $null + } else { + $Upper = $JsonParameters.PSobject.Properties["upper"].value + } + + $PSO = [PSCustomObject]@{ + "lower" = ${Lower} + "upper" = ${Upper} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ReassignReference.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ReassignReference.ps1 new file mode 100644 index 000000000..a54747fc1 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ReassignReference.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +The ID of item or identity being reassigned. +.PARAMETER Type +The type of item or identity being reassigned. +.OUTPUTS + +ReassignReference +#> + +function Initialize-V2024ReassignReference { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("TARGET_SUMMARY", "ITEM", "IDENTITY_SUMMARY")] + [String] + ${Type} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ReassignReference' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ReassignReference + +.DESCRIPTION + +Convert from JSON to ReassignReference + +.PARAMETER Json + +Json object + +.OUTPUTS + +ReassignReference +#> +function ConvertFrom-V2024JsonToReassignReference { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ReassignReference' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ReassignReference + $AllProperties = ("id", "type") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'id' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Reassignment.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Reassignment.ps1 new file mode 100644 index 000000000..ecf18b99a --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Reassignment.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER VarFrom +No description available. +.PARAMETER Comment +The comment entered when the Certification was reassigned +.OUTPUTS + +Reassignment +#> + +function Initialize-V2024Reassignment { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${VarFrom}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Comment} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Reassignment' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "from" = ${VarFrom} + "comment" = ${Comment} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Reassignment + +.DESCRIPTION + +Convert from JSON to Reassignment + +.PARAMETER Json + +Json object + +.OUTPUTS + +Reassignment +#> +function ConvertFrom-V2024JsonToReassignment { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Reassignment' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Reassignment + $AllProperties = ("from", "comment") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "from"))) { #optional property not found + $VarFrom = $null + } else { + $VarFrom = $JsonParameters.PSobject.Properties["from"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "comment"))) { #optional property not found + $Comment = $null + } else { + $Comment = $JsonParameters.PSobject.Properties["comment"].value + } + + $PSO = [PSCustomObject]@{ + "from" = ${VarFrom} + "comment" = ${Comment} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Reassignment1.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Reassignment1.ps1 new file mode 100644 index 000000000..c48627af4 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Reassignment1.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER VarFrom +No description available. +.PARAMETER Comment +Comments from the previous reviewer. +.OUTPUTS + +Reassignment1 +#> + +function Initialize-V2024Reassignment1 { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${VarFrom}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Comment} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Reassignment1' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "from" = ${VarFrom} + "comment" = ${Comment} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Reassignment1 + +.DESCRIPTION + +Convert from JSON to Reassignment1 + +.PARAMETER Json + +Json object + +.OUTPUTS + +Reassignment1 +#> +function ConvertFrom-V2024JsonToReassignment1 { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Reassignment1' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Reassignment1 + $AllProperties = ("from", "comment") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "from"))) { #optional property not found + $VarFrom = $null + } else { + $VarFrom = $JsonParameters.PSobject.Properties["from"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "comment"))) { #optional property not found + $Comment = $null + } else { + $Comment = $JsonParameters.PSobject.Properties["comment"].value + } + + $PSO = [PSCustomObject]@{ + "from" = ${VarFrom} + "comment" = ${Comment} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ReassignmentReference.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ReassignmentReference.ps1 new file mode 100644 index 000000000..6aca2a9c6 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ReassignmentReference.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +The ID of item or identity being reassigned. +.PARAMETER Type +The type of item or identity being reassigned. +.OUTPUTS + +ReassignmentReference +#> + +function Initialize-V2024ReassignmentReference { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("TARGET_SUMMARY", "ITEM", "IDENTITY_SUMMARY")] + [String] + ${Type} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ReassignmentReference' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ReassignmentReference + +.DESCRIPTION + +Convert from JSON to ReassignmentReference + +.PARAMETER Json + +Json object + +.OUTPUTS + +ReassignmentReference +#> +function ConvertFrom-V2024JsonToReassignmentReference { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ReassignmentReference' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ReassignmentReference + $AllProperties = ("id", "type") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'id' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ReassignmentTrailDTO.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ReassignmentTrailDTO.ps1 new file mode 100644 index 000000000..ef0def855 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ReassignmentTrailDTO.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER PreviousOwner +The ID of previous owner identity. +.PARAMETER NewOwner +The ID of new owner identity. +.PARAMETER ReassignmentType +The type of reassignment. +.OUTPUTS + +ReassignmentTrailDTO +#> + +function Initialize-V2024ReassignmentTrailDTO { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${PreviousOwner}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${NewOwner}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ReassignmentType} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ReassignmentTrailDTO' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "previousOwner" = ${PreviousOwner} + "newOwner" = ${NewOwner} + "reassignmentType" = ${ReassignmentType} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ReassignmentTrailDTO + +.DESCRIPTION + +Convert from JSON to ReassignmentTrailDTO + +.PARAMETER Json + +Json object + +.OUTPUTS + +ReassignmentTrailDTO +#> +function ConvertFrom-V2024JsonToReassignmentTrailDTO { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ReassignmentTrailDTO' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ReassignmentTrailDTO + $AllProperties = ("previousOwner", "newOwner", "reassignmentType") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "previousOwner"))) { #optional property not found + $PreviousOwner = $null + } else { + $PreviousOwner = $JsonParameters.PSobject.Properties["previousOwner"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "newOwner"))) { #optional property not found + $NewOwner = $null + } else { + $NewOwner = $JsonParameters.PSobject.Properties["newOwner"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "reassignmentType"))) { #optional property not found + $ReassignmentType = $null + } else { + $ReassignmentType = $JsonParameters.PSobject.Properties["reassignmentType"].value + } + + $PSO = [PSCustomObject]@{ + "previousOwner" = ${PreviousOwner} + "newOwner" = ${NewOwner} + "reassignmentType" = ${ReassignmentType} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ReassignmentType.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ReassignmentType.ps1 new file mode 100644 index 000000000..8685042ec --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ReassignmentType.ps1 @@ -0,0 +1,28 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum ReassignmentType. + +.DESCRIPTION + +The approval reassignment type. * MANUAL_REASSIGNMENT: An approval with this reassignment type has been specifically reassigned by the approval task's owner, from their queue to someone else's. * AUTOMATIC_REASSIGNMENT: An approval with this reassignment type has been automatically reassigned from another approver's queue, according to that approver's reassignment configuration. The approver's reassignment configuration may be set up to automatically reassign approval tasks for a defined (or possibly open-ended) period of time. * AUTO_ESCALATION: An approval with this reassignment type has been automatically reassigned from another approver's queue, according to the request's escalation configuration. For more information about escalation configuration, refer to [Setting Global Reminders and Escalation Policies](https://documentation.sailpoint.com/saas/help/requests/config_emails.html). * SELF_REVIEW_DELEGATION: An approval with this reassignment type has been automatically reassigned by the system to prevent self-review. This helps prevent situations like a requester being tasked with approving their own request. For more information about preventing self-review, refer to [Self-review Prevention](https://documentation.sailpoint.com/saas/help/users/work_reassignment.html#self-review-prevention) and [Preventing Self-approval](https://documentation.sailpoint.com/saas/help/requests/config_ap_roles.html#preventing-self-approval). +#> + +enum ReassignmentType { + # enum value: "MANUAL_REASSIGNMENT" + MANUAL_REASSIGNMENT + # enum value: "AUTOMATIC_REASSIGNMENT" + AUTOMATIC_REASSIGNMENT + # enum value: "AUTO_ESCALATION" + AUTO_ESCALATION + # enum value: "SELF_REVIEW_DELEGATION" + SELF_REVIEW_DELEGATION +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ReassignmentTypeEnum.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ReassignmentTypeEnum.ps1 new file mode 100644 index 000000000..ba3dd7509 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ReassignmentTypeEnum.ps1 @@ -0,0 +1,28 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum ReassignmentTypeEnum. + +.DESCRIPTION + +Enum list containing types of Reassignment that can be found in the evaluate response. +#> + +enum ReassignmentTypeEnum { + # enum value: "MANUAL_REASSIGNMENT," + MANUAL_REASSIGNMENT + # enum value: "AUTOMATIC_REASSIGNMENT," + AUTOMATIC_REASSIGNMENT + # enum value: "AUTO_ESCALATION," + AUTO_ESCALATION + # enum value: "SELF_REVIEW_DELEGATION" + SELF_REVIEW_DELEGATION +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RecommendationConfigDto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RecommendationConfigDto.ps1 new file mode 100644 index 000000000..531cd15f8 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RecommendationConfigDto.ps1 @@ -0,0 +1,143 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER RecommenderFeatures +List of identity attributes to use for calculating certification recommendations +.PARAMETER PeerGroupPercentageThreshold +The percent value that the recommendation calculation must surpass to produce a YES recommendation +.PARAMETER RunAutoSelectOnce +If true, rulesRecommenderConfig will be refreshed with new programatically selected attribute and threshold values on the next pipeline run +.PARAMETER OnlyTuneThreshold +If true, rulesRecommenderConfig will be refreshed with new programatically selected threshold values on the next pipeline run +.OUTPUTS + +RecommendationConfigDto +#> + +function Initialize-V2024RecommendationConfigDto { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${RecommenderFeatures}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Double]] + ${PeerGroupPercentageThreshold}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${RunAutoSelectOnce} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${OnlyTuneThreshold} = $false + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RecommendationConfigDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if ($PeerGroupPercentageThreshold -and $PeerGroupPercentageThreshold -gt 1.0) { + throw "invalid value for 'PeerGroupPercentageThreshold', must be smaller than or equal to 1.0." + } + + if ($PeerGroupPercentageThreshold -and $PeerGroupPercentageThreshold -lt 0.0) { + throw "invalid value for 'PeerGroupPercentageThreshold', must be greater than or equal to 0.0." + } + + + $PSO = [PSCustomObject]@{ + "recommenderFeatures" = ${RecommenderFeatures} + "peerGroupPercentageThreshold" = ${PeerGroupPercentageThreshold} + "runAutoSelectOnce" = ${RunAutoSelectOnce} + "onlyTuneThreshold" = ${OnlyTuneThreshold} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RecommendationConfigDto + +.DESCRIPTION + +Convert from JSON to RecommendationConfigDto + +.PARAMETER Json + +Json object + +.OUTPUTS + +RecommendationConfigDto +#> +function ConvertFrom-V2024JsonToRecommendationConfigDto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RecommendationConfigDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RecommendationConfigDto + $AllProperties = ("recommenderFeatures", "peerGroupPercentageThreshold", "runAutoSelectOnce", "onlyTuneThreshold") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "recommenderFeatures"))) { #optional property not found + $RecommenderFeatures = $null + } else { + $RecommenderFeatures = $JsonParameters.PSobject.Properties["recommenderFeatures"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "peerGroupPercentageThreshold"))) { #optional property not found + $PeerGroupPercentageThreshold = $null + } else { + $PeerGroupPercentageThreshold = $JsonParameters.PSobject.Properties["peerGroupPercentageThreshold"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "runAutoSelectOnce"))) { #optional property not found + $RunAutoSelectOnce = $null + } else { + $RunAutoSelectOnce = $JsonParameters.PSobject.Properties["runAutoSelectOnce"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "onlyTuneThreshold"))) { #optional property not found + $OnlyTuneThreshold = $null + } else { + $OnlyTuneThreshold = $JsonParameters.PSobject.Properties["onlyTuneThreshold"].value + } + + $PSO = [PSCustomObject]@{ + "recommenderFeatures" = ${RecommenderFeatures} + "peerGroupPercentageThreshold" = ${PeerGroupPercentageThreshold} + "runAutoSelectOnce" = ${RunAutoSelectOnce} + "onlyTuneThreshold" = ${OnlyTuneThreshold} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RecommendationRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RecommendationRequest.ps1 new file mode 100644 index 000000000..d54ff7f0c --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RecommendationRequest.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER IdentityId +The identity ID +.PARAMETER Item +No description available. +.OUTPUTS + +RecommendationRequest +#> + +function Initialize-V2024RecommendationRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${IdentityId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Item} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RecommendationRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "identityId" = ${IdentityId} + "item" = ${Item} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RecommendationRequest + +.DESCRIPTION + +Convert from JSON to RecommendationRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +RecommendationRequest +#> +function ConvertFrom-V2024JsonToRecommendationRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RecommendationRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RecommendationRequest + $AllProperties = ("identityId", "item") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityId"))) { #optional property not found + $IdentityId = $null + } else { + $IdentityId = $JsonParameters.PSobject.Properties["identityId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "item"))) { #optional property not found + $Item = $null + } else { + $Item = $JsonParameters.PSobject.Properties["item"].value + } + + $PSO = [PSCustomObject]@{ + "identityId" = ${IdentityId} + "item" = ${Item} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RecommendationRequestDto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RecommendationRequestDto.ps1 new file mode 100644 index 000000000..2a36a354b --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RecommendationRequestDto.ps1 @@ -0,0 +1,148 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Requests +No description available. +.PARAMETER ExcludeInterpretations +Exclude interpretations in the response if ""true"". Return interpretations in the response if this attribute is not specified. +.PARAMETER IncludeTranslationMessages +When set to true, the calling system uses the translated messages for the specified language +.PARAMETER IncludeDebugInformation +Returns the recommender calculations if set to true +.PARAMETER PrescribeMode +When set to true, uses prescribedRulesRecommenderConfig to get identity attributes and peer group threshold instead of standard config. +.OUTPUTS + +RecommendationRequestDto +#> + +function Initialize-V2024RecommendationRequestDto { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Requests}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${ExcludeInterpretations} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${IncludeTranslationMessages} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${IncludeDebugInformation} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${PrescribeMode} = $false + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RecommendationRequestDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "requests" = ${Requests} + "excludeInterpretations" = ${ExcludeInterpretations} + "includeTranslationMessages" = ${IncludeTranslationMessages} + "includeDebugInformation" = ${IncludeDebugInformation} + "prescribeMode" = ${PrescribeMode} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RecommendationRequestDto + +.DESCRIPTION + +Convert from JSON to RecommendationRequestDto + +.PARAMETER Json + +Json object + +.OUTPUTS + +RecommendationRequestDto +#> +function ConvertFrom-V2024JsonToRecommendationRequestDto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RecommendationRequestDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RecommendationRequestDto + $AllProperties = ("requests", "excludeInterpretations", "includeTranslationMessages", "includeDebugInformation", "prescribeMode") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requests"))) { #optional property not found + $Requests = $null + } else { + $Requests = $JsonParameters.PSobject.Properties["requests"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "excludeInterpretations"))) { #optional property not found + $ExcludeInterpretations = $null + } else { + $ExcludeInterpretations = $JsonParameters.PSobject.Properties["excludeInterpretations"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "includeTranslationMessages"))) { #optional property not found + $IncludeTranslationMessages = $null + } else { + $IncludeTranslationMessages = $JsonParameters.PSobject.Properties["includeTranslationMessages"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "includeDebugInformation"))) { #optional property not found + $IncludeDebugInformation = $null + } else { + $IncludeDebugInformation = $JsonParameters.PSobject.Properties["includeDebugInformation"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "prescribeMode"))) { #optional property not found + $PrescribeMode = $null + } else { + $PrescribeMode = $JsonParameters.PSobject.Properties["prescribeMode"].value + } + + $PSO = [PSCustomObject]@{ + "requests" = ${Requests} + "excludeInterpretations" = ${ExcludeInterpretations} + "includeTranslationMessages" = ${IncludeTranslationMessages} + "includeDebugInformation" = ${IncludeDebugInformation} + "prescribeMode" = ${PrescribeMode} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RecommendationResponse.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RecommendationResponse.ps1 new file mode 100644 index 000000000..4c10b884c --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RecommendationResponse.ps1 @@ -0,0 +1,149 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Request +No description available. +.PARAMETER Recommendation +The recommendation - YES if the access is recommended, NO if not recommended, MAYBE if there is not enough information to make a recommendation, NOT_FOUND if the identity is not found in the system +.PARAMETER Interpretations +The list of interpretations explaining the recommendation. The array is empty if includeInterpretations is false or not present in the request. e.g. - [ ""Not approved in the last 6 months."" ]. Interpretations will be translated using the client's locale as found in the Accept-Language header. If a translation for the client's locale cannot be found, the US English translation will be returned. +.PARAMETER TranslationMessages +The list of translation messages, if they have been requested. +.PARAMETER RecommenderCalculations +No description available. +.OUTPUTS + +RecommendationResponse +#> + +function Initialize-V2024RecommendationResponse { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Request}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("true", "false", "MAYBE", "NOT_FOUND")] + [String] + ${Recommendation}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Interpretations}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${TranslationMessages}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${RecommenderCalculations} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RecommendationResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "request" = ${Request} + "recommendation" = ${Recommendation} + "interpretations" = ${Interpretations} + "translationMessages" = ${TranslationMessages} + "recommenderCalculations" = ${RecommenderCalculations} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RecommendationResponse + +.DESCRIPTION + +Convert from JSON to RecommendationResponse + +.PARAMETER Json + +Json object + +.OUTPUTS + +RecommendationResponse +#> +function ConvertFrom-V2024JsonToRecommendationResponse { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RecommendationResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RecommendationResponse + $AllProperties = ("request", "recommendation", "interpretations", "translationMessages", "recommenderCalculations") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "request"))) { #optional property not found + $Request = $null + } else { + $Request = $JsonParameters.PSobject.Properties["request"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "recommendation"))) { #optional property not found + $Recommendation = $null + } else { + $Recommendation = $JsonParameters.PSobject.Properties["recommendation"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "interpretations"))) { #optional property not found + $Interpretations = $null + } else { + $Interpretations = $JsonParameters.PSobject.Properties["interpretations"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "translationMessages"))) { #optional property not found + $TranslationMessages = $null + } else { + $TranslationMessages = $JsonParameters.PSobject.Properties["translationMessages"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "recommenderCalculations"))) { #optional property not found + $RecommenderCalculations = $null + } else { + $RecommenderCalculations = $JsonParameters.PSobject.Properties["recommenderCalculations"].value + } + + $PSO = [PSCustomObject]@{ + "request" = ${Request} + "recommendation" = ${Recommendation} + "interpretations" = ${Interpretations} + "translationMessages" = ${TranslationMessages} + "recommenderCalculations" = ${RecommenderCalculations} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RecommendationResponseDto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RecommendationResponseDto.ps1 new file mode 100644 index 000000000..e32c2e258 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RecommendationResponseDto.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Response +No description available. +.OUTPUTS + +RecommendationResponseDto +#> + +function Initialize-V2024RecommendationResponseDto { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Response} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RecommendationResponseDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "response" = ${Response} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RecommendationResponseDto + +.DESCRIPTION + +Convert from JSON to RecommendationResponseDto + +.PARAMETER Json + +Json object + +.OUTPUTS + +RecommendationResponseDto +#> +function ConvertFrom-V2024JsonToRecommendationResponseDto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RecommendationResponseDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RecommendationResponseDto + $AllProperties = ("response") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "response"))) { #optional property not found + $Response = $null + } else { + $Response = $JsonParameters.PSobject.Properties["response"].value + } + + $PSO = [PSCustomObject]@{ + "response" = ${Response} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RecommenderCalculations.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RecommenderCalculations.ps1 new file mode 100644 index 000000000..78d1c7abd --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RecommenderCalculations.ps1 @@ -0,0 +1,187 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER IdentityId +The ID of the identity +.PARAMETER EntitlementId +The entitlement ID +.PARAMETER Recommendation +The actual recommendation +.PARAMETER OverallWeightedScore +The overall weighted score +.PARAMETER FeatureWeightedScores +The weighted score of each individual feature +.PARAMETER Threshold +The configured value against which the overallWeightedScore is compared +.PARAMETER IdentityAttributes +The values for your configured features +.PARAMETER FeatureValues +No description available. +.OUTPUTS + +RecommenderCalculations +#> + +function Initialize-V2024RecommenderCalculations { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${IdentityId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${EntitlementId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Recommendation}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Decimal]] + ${OverallWeightedScore}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${FeatureWeightedScores}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Decimal]] + ${Threshold}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${IdentityAttributes}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${FeatureValues} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RecommenderCalculations' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "identityId" = ${IdentityId} + "entitlementId" = ${EntitlementId} + "recommendation" = ${Recommendation} + "overallWeightedScore" = ${OverallWeightedScore} + "featureWeightedScores" = ${FeatureWeightedScores} + "threshold" = ${Threshold} + "identityAttributes" = ${IdentityAttributes} + "featureValues" = ${FeatureValues} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RecommenderCalculations + +.DESCRIPTION + +Convert from JSON to RecommenderCalculations + +.PARAMETER Json + +Json object + +.OUTPUTS + +RecommenderCalculations +#> +function ConvertFrom-V2024JsonToRecommenderCalculations { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RecommenderCalculations' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RecommenderCalculations + $AllProperties = ("identityId", "entitlementId", "recommendation", "overallWeightedScore", "featureWeightedScores", "threshold", "identityAttributes", "featureValues") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityId"))) { #optional property not found + $IdentityId = $null + } else { + $IdentityId = $JsonParameters.PSobject.Properties["identityId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "entitlementId"))) { #optional property not found + $EntitlementId = $null + } else { + $EntitlementId = $JsonParameters.PSobject.Properties["entitlementId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "recommendation"))) { #optional property not found + $Recommendation = $null + } else { + $Recommendation = $JsonParameters.PSobject.Properties["recommendation"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "overallWeightedScore"))) { #optional property not found + $OverallWeightedScore = $null + } else { + $OverallWeightedScore = $JsonParameters.PSobject.Properties["overallWeightedScore"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "featureWeightedScores"))) { #optional property not found + $FeatureWeightedScores = $null + } else { + $FeatureWeightedScores = $JsonParameters.PSobject.Properties["featureWeightedScores"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "threshold"))) { #optional property not found + $Threshold = $null + } else { + $Threshold = $JsonParameters.PSobject.Properties["threshold"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityAttributes"))) { #optional property not found + $IdentityAttributes = $null + } else { + $IdentityAttributes = $JsonParameters.PSobject.Properties["identityAttributes"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "featureValues"))) { #optional property not found + $FeatureValues = $null + } else { + $FeatureValues = $JsonParameters.PSobject.Properties["featureValues"].value + } + + $PSO = [PSCustomObject]@{ + "identityId" = ${IdentityId} + "entitlementId" = ${EntitlementId} + "recommendation" = ${Recommendation} + "overallWeightedScore" = ${OverallWeightedScore} + "featureWeightedScores" = ${FeatureWeightedScores} + "threshold" = ${Threshold} + "identityAttributes" = ${IdentityAttributes} + "featureValues" = ${FeatureValues} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RecommenderCalculationsIdentityAttributesValue.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RecommenderCalculationsIdentityAttributesValue.ps1 new file mode 100644 index 000000000..a7303cd1d --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RecommenderCalculationsIdentityAttributesValue.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Value +No description available. +.OUTPUTS + +RecommenderCalculationsIdentityAttributesValue +#> + +function Initialize-V2024RecommenderCalculationsIdentityAttributesValue { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Value} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RecommenderCalculationsIdentityAttributesValue' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "value" = ${Value} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RecommenderCalculationsIdentityAttributesValue + +.DESCRIPTION + +Convert from JSON to RecommenderCalculationsIdentityAttributesValue + +.PARAMETER Json + +Json object + +.OUTPUTS + +RecommenderCalculationsIdentityAttributesValue +#> +function ConvertFrom-V2024JsonToRecommenderCalculationsIdentityAttributesValue { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RecommenderCalculationsIdentityAttributesValue' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RecommenderCalculationsIdentityAttributesValue + $AllProperties = ("value") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "value"))) { #optional property not found + $Value = $null + } else { + $Value = $JsonParameters.PSobject.Properties["value"].value + } + + $PSO = [PSCustomObject]@{ + "value" = ${Value} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Reference.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Reference.ps1 new file mode 100644 index 000000000..05356b69a --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Reference.ps1 @@ -0,0 +1,130 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +This ID specifies the name of the pre-existing transform which you want to use within your current transform +.PARAMETER RequiresPeriodicRefresh +A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process +.PARAMETER VarInput +This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI. +.OUTPUTS + +Reference +#> + +function Initialize-V2024Reference { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${RequiresPeriodicRefresh} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${VarInput} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Reference' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + "input" = ${VarInput} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Reference + +.DESCRIPTION + +Convert from JSON to Reference + +.PARAMETER Json + +Json object + +.OUTPUTS + +Reference +#> +function ConvertFrom-V2024JsonToReference { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Reference' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Reference + $AllProperties = ("id", "requiresPeriodicRefresh", "input") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'id' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requiresPeriodicRefresh"))) { #optional property not found + $RequiresPeriodicRefresh = $null + } else { + $RequiresPeriodicRefresh = $JsonParameters.PSobject.Properties["requiresPeriodicRefresh"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "input"))) { #optional property not found + $VarInput = $null + } else { + $VarInput = $JsonParameters.PSobject.Properties["input"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + "input" = ${VarInput} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Reference1.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Reference1.ps1 new file mode 100644 index 000000000..5be466ef2 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Reference1.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +The unique ID of the referenced object. +.PARAMETER Name +The human readable name of the referenced object. +.OUTPUTS + +Reference1 +#> + +function Initialize-V2024Reference1 { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Reference1' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Reference1 + +.DESCRIPTION + +Convert from JSON to Reference1 + +.PARAMETER Json + +Json object + +.OUTPUTS + +Reference1 +#> +function ConvertFrom-V2024JsonToReference1 { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Reference1' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Reference1 + $AllProperties = ("id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RemediationItemDetails.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RemediationItemDetails.ps1 new file mode 100644 index 000000000..fccada537 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RemediationItemDetails.ps1 @@ -0,0 +1,200 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +The ID of the certification +.PARAMETER TargetId +The ID of the certification target +.PARAMETER TargetName +The name of the certification target +.PARAMETER TargetDisplayName +The display name of the certification target +.PARAMETER ApplicationName +The name of the application/source +.PARAMETER AttributeName +The name of the attribute being certified +.PARAMETER AttributeOperation +The operation of the certification on the attribute +.PARAMETER AttributeValue +The value of the attribute being certified +.PARAMETER NativeIdentity +The native identity of the target +.OUTPUTS + +RemediationItemDetails +#> + +function Initialize-V2024RemediationItemDetails { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${TargetId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${TargetName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${TargetDisplayName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ApplicationName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AttributeName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AttributeOperation}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AttributeValue}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${NativeIdentity} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RemediationItemDetails' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "targetId" = ${TargetId} + "targetName" = ${TargetName} + "targetDisplayName" = ${TargetDisplayName} + "applicationName" = ${ApplicationName} + "attributeName" = ${AttributeName} + "attributeOperation" = ${AttributeOperation} + "attributeValue" = ${AttributeValue} + "nativeIdentity" = ${NativeIdentity} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RemediationItemDetails + +.DESCRIPTION + +Convert from JSON to RemediationItemDetails + +.PARAMETER Json + +Json object + +.OUTPUTS + +RemediationItemDetails +#> +function ConvertFrom-V2024JsonToRemediationItemDetails { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RemediationItemDetails' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RemediationItemDetails + $AllProperties = ("id", "targetId", "targetName", "targetDisplayName", "applicationName", "attributeName", "attributeOperation", "attributeValue", "nativeIdentity") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "targetId"))) { #optional property not found + $TargetId = $null + } else { + $TargetId = $JsonParameters.PSobject.Properties["targetId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "targetName"))) { #optional property not found + $TargetName = $null + } else { + $TargetName = $JsonParameters.PSobject.Properties["targetName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "targetDisplayName"))) { #optional property not found + $TargetDisplayName = $null + } else { + $TargetDisplayName = $JsonParameters.PSobject.Properties["targetDisplayName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "applicationName"))) { #optional property not found + $ApplicationName = $null + } else { + $ApplicationName = $JsonParameters.PSobject.Properties["applicationName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributeName"))) { #optional property not found + $AttributeName = $null + } else { + $AttributeName = $JsonParameters.PSobject.Properties["attributeName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributeOperation"))) { #optional property not found + $AttributeOperation = $null + } else { + $AttributeOperation = $JsonParameters.PSobject.Properties["attributeOperation"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributeValue"))) { #optional property not found + $AttributeValue = $null + } else { + $AttributeValue = $JsonParameters.PSobject.Properties["attributeValue"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "nativeIdentity"))) { #optional property not found + $NativeIdentity = $null + } else { + $NativeIdentity = $JsonParameters.PSobject.Properties["nativeIdentity"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "targetId" = ${TargetId} + "targetName" = ${TargetName} + "targetDisplayName" = ${TargetDisplayName} + "applicationName" = ${ApplicationName} + "attributeName" = ${AttributeName} + "attributeOperation" = ${AttributeOperation} + "attributeValue" = ${AttributeValue} + "nativeIdentity" = ${NativeIdentity} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RemediationItems.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RemediationItems.ps1 new file mode 100644 index 000000000..2f05b09cd --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RemediationItems.ps1 @@ -0,0 +1,200 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +The ID of the certification +.PARAMETER TargetId +The ID of the certification target +.PARAMETER TargetName +The name of the certification target +.PARAMETER TargetDisplayName +The display name of the certification target +.PARAMETER ApplicationName +The name of the application/source +.PARAMETER AttributeName +The name of the attribute being certified +.PARAMETER AttributeOperation +The operation of the certification on the attribute +.PARAMETER AttributeValue +The value of the attribute being certified +.PARAMETER NativeIdentity +The native identity of the target +.OUTPUTS + +RemediationItems +#> + +function Initialize-V2024RemediationItems { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${TargetId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${TargetName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${TargetDisplayName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ApplicationName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AttributeName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AttributeOperation}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AttributeValue}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${NativeIdentity} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RemediationItems' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "targetId" = ${TargetId} + "targetName" = ${TargetName} + "targetDisplayName" = ${TargetDisplayName} + "applicationName" = ${ApplicationName} + "attributeName" = ${AttributeName} + "attributeOperation" = ${AttributeOperation} + "attributeValue" = ${AttributeValue} + "nativeIdentity" = ${NativeIdentity} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RemediationItems + +.DESCRIPTION + +Convert from JSON to RemediationItems + +.PARAMETER Json + +Json object + +.OUTPUTS + +RemediationItems +#> +function ConvertFrom-V2024JsonToRemediationItems { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RemediationItems' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RemediationItems + $AllProperties = ("id", "targetId", "targetName", "targetDisplayName", "applicationName", "attributeName", "attributeOperation", "attributeValue", "nativeIdentity") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "targetId"))) { #optional property not found + $TargetId = $null + } else { + $TargetId = $JsonParameters.PSobject.Properties["targetId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "targetName"))) { #optional property not found + $TargetName = $null + } else { + $TargetName = $JsonParameters.PSobject.Properties["targetName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "targetDisplayName"))) { #optional property not found + $TargetDisplayName = $null + } else { + $TargetDisplayName = $JsonParameters.PSobject.Properties["targetDisplayName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "applicationName"))) { #optional property not found + $ApplicationName = $null + } else { + $ApplicationName = $JsonParameters.PSobject.Properties["applicationName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributeName"))) { #optional property not found + $AttributeName = $null + } else { + $AttributeName = $JsonParameters.PSobject.Properties["attributeName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributeOperation"))) { #optional property not found + $AttributeOperation = $null + } else { + $AttributeOperation = $JsonParameters.PSobject.Properties["attributeOperation"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributeValue"))) { #optional property not found + $AttributeValue = $null + } else { + $AttributeValue = $JsonParameters.PSobject.Properties["attributeValue"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "nativeIdentity"))) { #optional property not found + $NativeIdentity = $null + } else { + $NativeIdentity = $JsonParameters.PSobject.Properties["nativeIdentity"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "targetId" = ${TargetId} + "targetName" = ${TargetName} + "targetDisplayName" = ${TargetDisplayName} + "applicationName" = ${ApplicationName} + "attributeName" = ${AttributeName} + "attributeOperation" = ${AttributeOperation} + "attributeValue" = ${AttributeValue} + "nativeIdentity" = ${NativeIdentity} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Replace.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Replace.ps1 new file mode 100644 index 000000000..8fdc4032f --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Replace.ps1 @@ -0,0 +1,147 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Regex +This can be a string or a regex pattern in which you want to replace. +.PARAMETER Replacement +This is the replacement string that should be substituded wherever the string or pattern is found. +.PARAMETER RequiresPeriodicRefresh +A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process +.PARAMETER VarInput +This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI. +.OUTPUTS + +Replace +#> + +function Initialize-V2024Replace { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Regex}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Replacement}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${RequiresPeriodicRefresh} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${VarInput} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Replace' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Regex) { + throw "invalid value for 'Regex', 'Regex' cannot be null." + } + + if (!$Replacement) { + throw "invalid value for 'Replacement', 'Replacement' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "regex" = ${Regex} + "replacement" = ${Replacement} + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + "input" = ${VarInput} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Replace + +.DESCRIPTION + +Convert from JSON to Replace + +.PARAMETER Json + +Json object + +.OUTPUTS + +Replace +#> +function ConvertFrom-V2024JsonToReplace { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Replace' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Replace + $AllProperties = ("regex", "replacement", "requiresPeriodicRefresh", "input") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'regex' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "regex"))) { + throw "Error! JSON cannot be serialized due to the required property 'regex' missing." + } else { + $Regex = $JsonParameters.PSobject.Properties["regex"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "replacement"))) { + throw "Error! JSON cannot be serialized due to the required property 'replacement' missing." + } else { + $Replacement = $JsonParameters.PSobject.Properties["replacement"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requiresPeriodicRefresh"))) { #optional property not found + $RequiresPeriodicRefresh = $null + } else { + $RequiresPeriodicRefresh = $JsonParameters.PSobject.Properties["requiresPeriodicRefresh"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "input"))) { #optional property not found + $VarInput = $null + } else { + $VarInput = $JsonParameters.PSobject.Properties["input"].value + } + + $PSO = [PSCustomObject]@{ + "regex" = ${Regex} + "replacement" = ${Replacement} + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + "input" = ${VarInput} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ReplaceAll.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ReplaceAll.ps1 new file mode 100644 index 000000000..42a2aa3d5 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ReplaceAll.ps1 @@ -0,0 +1,130 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Table +An attribute of key-value pairs. Each pair identifies the pattern to search for as its key, and the replacement string as its value. +.PARAMETER RequiresPeriodicRefresh +A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process +.PARAMETER VarInput +This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI. +.OUTPUTS + +ReplaceAll +#> + +function Initialize-V2024ReplaceAll { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${Table}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${RequiresPeriodicRefresh} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${VarInput} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ReplaceAll' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Table) { + throw "invalid value for 'Table', 'Table' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "table" = ${Table} + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + "input" = ${VarInput} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ReplaceAll + +.DESCRIPTION + +Convert from JSON to ReplaceAll + +.PARAMETER Json + +Json object + +.OUTPUTS + +ReplaceAll +#> +function ConvertFrom-V2024JsonToReplaceAll { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ReplaceAll' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ReplaceAll + $AllProperties = ("table", "requiresPeriodicRefresh", "input") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'table' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "table"))) { + throw "Error! JSON cannot be serialized due to the required property 'table' missing." + } else { + $Table = $JsonParameters.PSobject.Properties["table"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requiresPeriodicRefresh"))) { #optional property not found + $RequiresPeriodicRefresh = $null + } else { + $RequiresPeriodicRefresh = $JsonParameters.PSobject.Properties["requiresPeriodicRefresh"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "input"))) { #optional property not found + $VarInput = $null + } else { + $VarInput = $JsonParameters.PSobject.Properties["input"].value + } + + $PSO = [PSCustomObject]@{ + "table" = ${Table} + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + "input" = ${VarInput} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ReportConfigDTO.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ReportConfigDTO.ps1 new file mode 100644 index 000000000..887450223 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ReportConfigDTO.ps1 @@ -0,0 +1,143 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER ColumnName +Name of column in report +.PARAMETER Required +If true, column is required in all reports, and this entry is immutable. A 400 error will result from any attempt to modify the column's definition. +.PARAMETER Included +If true, column is included in the report. A 400 error will be thrown if an attempt is made to set included=false if required==true. +.PARAMETER Order +Relative sort order for the column. Columns will be displayed left-to-right in nondecreasing order. +.OUTPUTS + +ReportConfigDTO +#> + +function Initialize-V2024ReportConfigDTO { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ColumnName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Required} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Included} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${Order} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ReportConfigDTO' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if ($Order -and $Order -gt 2147483647) { + throw "invalid value for 'Order', must be smaller than or equal to 2147483647." + } + + if ($Order -and $Order -lt 0) { + throw "invalid value for 'Order', must be greater than or equal to 0." + } + + + $PSO = [PSCustomObject]@{ + "columnName" = ${ColumnName} + "required" = ${Required} + "included" = ${Included} + "order" = ${Order} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ReportConfigDTO + +.DESCRIPTION + +Convert from JSON to ReportConfigDTO + +.PARAMETER Json + +Json object + +.OUTPUTS + +ReportConfigDTO +#> +function ConvertFrom-V2024JsonToReportConfigDTO { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ReportConfigDTO' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ReportConfigDTO + $AllProperties = ("columnName", "required", "included", "order") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "columnName"))) { #optional property not found + $ColumnName = $null + } else { + $ColumnName = $JsonParameters.PSobject.Properties["columnName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "required"))) { #optional property not found + $Required = $null + } else { + $Required = $JsonParameters.PSobject.Properties["required"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "included"))) { #optional property not found + $Included = $null + } else { + $Included = $JsonParameters.PSobject.Properties["included"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "order"))) { #optional property not found + $Order = $null + } else { + $Order = $JsonParameters.PSobject.Properties["order"].value + } + + $PSO = [PSCustomObject]@{ + "columnName" = ${ColumnName} + "required" = ${Required} + "included" = ${Included} + "order" = ${Order} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ReportDetails.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ReportDetails.ps1 new file mode 100644 index 000000000..628724014 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ReportDetails.ps1 @@ -0,0 +1,110 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Details about report to be processed. + +.PARAMETER ReportType +Use this property to define what report should be processed in the RDE service. +.PARAMETER Arguments +No description available. +.OUTPUTS + +ReportDetails +#> + +function Initialize-V2024ReportDetails { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ACCOUNTS", "IDENTITIES_DETAILS", "IDENTITIES", "IDENTITY_PROFILE_IDENTITY_ERROR", "ORPHAN_IDENTITIES", "SEARCH_EXPORT", "UNCORRELATED_ACCOUNTS")] + [String] + ${ReportType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Arguments} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ReportDetails' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "reportType" = ${ReportType} + "arguments" = ${Arguments} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ReportDetails + +.DESCRIPTION + +Convert from JSON to ReportDetails + +.PARAMETER Json + +Json object + +.OUTPUTS + +ReportDetails +#> +function ConvertFrom-V2024JsonToReportDetails { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ReportDetails' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ReportDetails + $AllProperties = ("reportType", "arguments") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "reportType"))) { #optional property not found + $ReportType = $null + } else { + $ReportType = $JsonParameters.PSobject.Properties["reportType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "arguments"))) { #optional property not found + $Arguments = $null + } else { + $Arguments = $JsonParameters.PSobject.Properties["arguments"].value + } + + $PSO = [PSCustomObject]@{ + "reportType" = ${ReportType} + "arguments" = ${Arguments} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ReportDetailsArguments.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ReportDetailsArguments.ps1 new file mode 100644 index 000000000..af97cbb7f --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ReportDetailsArguments.ps1 @@ -0,0 +1,146 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +The string-object map(dictionary) with the arguments needed for report processing. + +.PARAMETER Json + +JSON object + +.OUTPUTS + +ReportDetailsArguments +#> +function ConvertFrom-V2024JsonToReportDetailsArguments { + [CmdletBinding()] + Param ( + [AllowEmptyString()] + [string]$Json + ) + + Process { + $match = 0 + $matchType = $null + $matchInstance = $null + + # try to match AccountsExportReportArguments defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToAccountsExportReportArguments $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "AccountsExportReportArguments" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'AccountsExportReportArguments' defined in oneOf (V2024ReportDetailsArguments). Proceeding to the next one if any." + } + + # try to match IdentitiesDetailsReportArguments defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToIdentitiesDetailsReportArguments $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "IdentitiesDetailsReportArguments" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'IdentitiesDetailsReportArguments' defined in oneOf (V2024ReportDetailsArguments). Proceeding to the next one if any." + } + + # try to match IdentitiesReportArguments defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToIdentitiesReportArguments $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "IdentitiesReportArguments" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'IdentitiesReportArguments' defined in oneOf (V2024ReportDetailsArguments). Proceeding to the next one if any." + } + + # try to match IdentityProfileIdentityErrorReportArguments defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToIdentityProfileIdentityErrorReportArguments $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "IdentityProfileIdentityErrorReportArguments" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'IdentityProfileIdentityErrorReportArguments' defined in oneOf (V2024ReportDetailsArguments). Proceeding to the next one if any." + } + + # try to match OrphanUncorrelatedReportArguments defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToOrphanUncorrelatedReportArguments $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "OrphanUncorrelatedReportArguments" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'OrphanUncorrelatedReportArguments' defined in oneOf (V2024ReportDetailsArguments). Proceeding to the next one if any." + } + + # try to match SearchExportReportArguments defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToSearchExportReportArguments $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "SearchExportReportArguments" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'SearchExportReportArguments' defined in oneOf (V2024ReportDetailsArguments). Proceeding to the next one if any." + } + + if ($match -gt 1) { + throw "Error! The JSON payload matches more than one type defined in oneOf schemas ([AccountsExportReportArguments, IdentitiesDetailsReportArguments, IdentitiesReportArguments, IdentityProfileIdentityErrorReportArguments, OrphanUncorrelatedReportArguments, SearchExportReportArguments]). JSON Payload: $($Json)" + } elseif ($match -eq 1) { + return [PSCustomObject]@{ + "ActualType" = ${matchType} + "ActualInstance" = ${matchInstance} + "OneOfSchemas" = @("AccountsExportReportArguments", "IdentitiesDetailsReportArguments", "IdentitiesReportArguments", "IdentityProfileIdentityErrorReportArguments", "OrphanUncorrelatedReportArguments", "SearchExportReportArguments") + } + } else { + throw "Error! The JSON payload doesn't matches any type defined in oneOf schemas ([AccountsExportReportArguments, IdentitiesDetailsReportArguments, IdentitiesReportArguments, IdentityProfileIdentityErrorReportArguments, OrphanUncorrelatedReportArguments, SearchExportReportArguments]). JSON Payload: $($Json)" + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ReportResultReference.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ReportResultReference.ps1 new file mode 100644 index 000000000..0cb1b86da --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ReportResultReference.ps1 @@ -0,0 +1,137 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Type +SOD policy violation report result DTO type. +.PARAMETER Id +SOD policy violation report result ID. +.PARAMETER Name +Human-readable name of the SOD policy violation report result. +.PARAMETER Status +Status of a SOD policy violation report. +.OUTPUTS + +ReportResultReference +#> + +function Initialize-V2024ReportResultReference { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("REPORT_RESULT")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("SUCCESS", "WARNING", "ERROR", "TERMINATED", "TEMP_ERROR", "PENDING")] + [String] + ${Status} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ReportResultReference' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + "status" = ${Status} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ReportResultReference + +.DESCRIPTION + +Convert from JSON to ReportResultReference + +.PARAMETER Json + +Json object + +.OUTPUTS + +ReportResultReference +#> +function ConvertFrom-V2024JsonToReportResultReference { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ReportResultReference' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ReportResultReference + $AllProperties = ("type", "id", "name", "status") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { #optional property not found + $Status = $null + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + "status" = ${Status} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ReportResults.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ReportResults.ps1 new file mode 100644 index 000000000..8119f83fd --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ReportResults.ps1 @@ -0,0 +1,190 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Details about report result or current state. + +.PARAMETER ReportType +Use this property to define what report should be processed in the RDE service. +.PARAMETER TaskDefName +Name of the task definition which is started to process requesting report. Usually the same as report name +.PARAMETER Id +Unique task definition identifier. +.PARAMETER Created +Report processing start date +.PARAMETER Status +Report current state or result status. +.PARAMETER Duration +Report processing time in ms. +.PARAMETER Rows +Report size in rows. +.PARAMETER AvailableFormats +Output report file formats. This are formats for calling get endpoint as a query parameter 'fileFormat'. In case report won't have this argument there will be ['CSV', 'PDF'] as default. +.OUTPUTS + +ReportResults +#> + +function Initialize-V2024ReportResults { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ACCOUNTS", "IDENTITIES_DETAILS", "IDENTITIES", "IDENTITY_PROFILE_IDENTITY_ERROR", "ORPHAN_IDENTITIES", "SEARCH_EXPORT", "UNCORRELATED_ACCOUNTS")] + [String] + ${ReportType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${TaskDefName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("SUCCESS", "FAILURE", "WARNING", "TERMINATED")] + [String] + ${Status}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int64]] + ${Duration}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int64]] + ${Rows}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("CSV", "PDF")] + [String[]] + ${AvailableFormats} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ReportResults' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "reportType" = ${ReportType} + "taskDefName" = ${TaskDefName} + "id" = ${Id} + "created" = ${Created} + "status" = ${Status} + "duration" = ${Duration} + "rows" = ${Rows} + "availableFormats" = ${AvailableFormats} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ReportResults + +.DESCRIPTION + +Convert from JSON to ReportResults + +.PARAMETER Json + +Json object + +.OUTPUTS + +ReportResults +#> +function ConvertFrom-V2024JsonToReportResults { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ReportResults' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ReportResults + $AllProperties = ("reportType", "taskDefName", "id", "created", "status", "duration", "rows", "availableFormats") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "reportType"))) { #optional property not found + $ReportType = $null + } else { + $ReportType = $JsonParameters.PSobject.Properties["reportType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "taskDefName"))) { #optional property not found + $TaskDefName = $null + } else { + $TaskDefName = $JsonParameters.PSobject.Properties["taskDefName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { #optional property not found + $Status = $null + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "duration"))) { #optional property not found + $Duration = $null + } else { + $Duration = $JsonParameters.PSobject.Properties["duration"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "rows"))) { #optional property not found + $Rows = $null + } else { + $Rows = $JsonParameters.PSobject.Properties["rows"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "availableFormats"))) { #optional property not found + $AvailableFormats = $null + } else { + $AvailableFormats = $JsonParameters.PSobject.Properties["availableFormats"].value + } + + $PSO = [PSCustomObject]@{ + "reportType" = ${ReportType} + "taskDefName" = ${TaskDefName} + "id" = ${Id} + "created" = ${Created} + "status" = ${Status} + "duration" = ${Duration} + "rows" = ${Rows} + "availableFormats" = ${AvailableFormats} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ReportType.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ReportType.ps1 new file mode 100644 index 000000000..a5add64ac --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ReportType.ps1 @@ -0,0 +1,28 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum ReportType. + +.DESCRIPTION + +type of a Report +#> + +enum ReportType { + # enum value: "CAMPAIGN_COMPOSITION_REPORT" + CAMPAIGN_COMPOSITION_REPORT + # enum value: "CAMPAIGN_REMEDIATION_STATUS_REPORT" + CAMPAIGN_REMEDIATION_STATUS_REPORT + # enum value: "CAMPAIGN_STATUS_REPORT" + CAMPAIGN_STATUS_REPORT + # enum value: "CERTIFICATION_SIGNOFF_REPORT" + CERTIFICATION_SIGNOFF_REPORT +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RequestOnBehalfOfConfig.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RequestOnBehalfOfConfig.ps1 new file mode 100644 index 000000000..2d125cc48 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RequestOnBehalfOfConfig.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER AllowRequestOnBehalfOfAnyoneByAnyone +If this is true, anyone can request access for anyone. +.PARAMETER AllowRequestOnBehalfOfEmployeeByManager +If this is true, a manager can request access for his or her direct reports. +.OUTPUTS + +RequestOnBehalfOfConfig +#> + +function Initialize-V2024RequestOnBehalfOfConfig { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${AllowRequestOnBehalfOfAnyoneByAnyone} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${AllowRequestOnBehalfOfEmployeeByManager} = $false + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RequestOnBehalfOfConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "allowRequestOnBehalfOfAnyoneByAnyone" = ${AllowRequestOnBehalfOfAnyoneByAnyone} + "allowRequestOnBehalfOfEmployeeByManager" = ${AllowRequestOnBehalfOfEmployeeByManager} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RequestOnBehalfOfConfig + +.DESCRIPTION + +Convert from JSON to RequestOnBehalfOfConfig + +.PARAMETER Json + +Json object + +.OUTPUTS + +RequestOnBehalfOfConfig +#> +function ConvertFrom-V2024JsonToRequestOnBehalfOfConfig { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RequestOnBehalfOfConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RequestOnBehalfOfConfig + $AllProperties = ("allowRequestOnBehalfOfAnyoneByAnyone", "allowRequestOnBehalfOfEmployeeByManager") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "allowRequestOnBehalfOfAnyoneByAnyone"))) { #optional property not found + $AllowRequestOnBehalfOfAnyoneByAnyone = $null + } else { + $AllowRequestOnBehalfOfAnyoneByAnyone = $JsonParameters.PSobject.Properties["allowRequestOnBehalfOfAnyoneByAnyone"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "allowRequestOnBehalfOfEmployeeByManager"))) { #optional property not found + $AllowRequestOnBehalfOfEmployeeByManager = $null + } else { + $AllowRequestOnBehalfOfEmployeeByManager = $JsonParameters.PSobject.Properties["allowRequestOnBehalfOfEmployeeByManager"].value + } + + $PSO = [PSCustomObject]@{ + "allowRequestOnBehalfOfAnyoneByAnyone" = ${AllowRequestOnBehalfOfAnyoneByAnyone} + "allowRequestOnBehalfOfEmployeeByManager" = ${AllowRequestOnBehalfOfEmployeeByManager} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Requestability.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Requestability.ps1 new file mode 100644 index 000000000..964d7e814 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Requestability.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER CommentsRequired +Whether the requester of the containing object must provide comments justifying the request +.PARAMETER DenialCommentsRequired +Whether an approver must provide comments when denying the request +.PARAMETER ApprovalSchemes +List describing the steps in approving the request +.OUTPUTS + +Requestability +#> + +function Initialize-V2024Requestability { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${CommentsRequired} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${DenialCommentsRequired} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${ApprovalSchemes} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Requestability' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "commentsRequired" = ${CommentsRequired} + "denialCommentsRequired" = ${DenialCommentsRequired} + "approvalSchemes" = ${ApprovalSchemes} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Requestability + +.DESCRIPTION + +Convert from JSON to Requestability + +.PARAMETER Json + +Json object + +.OUTPUTS + +Requestability +#> +function ConvertFrom-V2024JsonToRequestability { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Requestability' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Requestability + $AllProperties = ("commentsRequired", "denialCommentsRequired", "approvalSchemes") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "commentsRequired"))) { #optional property not found + $CommentsRequired = $null + } else { + $CommentsRequired = $JsonParameters.PSobject.Properties["commentsRequired"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "denialCommentsRequired"))) { #optional property not found + $DenialCommentsRequired = $null + } else { + $DenialCommentsRequired = $JsonParameters.PSobject.Properties["denialCommentsRequired"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "approvalSchemes"))) { #optional property not found + $ApprovalSchemes = $null + } else { + $ApprovalSchemes = $JsonParameters.PSobject.Properties["approvalSchemes"].value + } + + $PSO = [PSCustomObject]@{ + "commentsRequired" = ${CommentsRequired} + "denialCommentsRequired" = ${DenialCommentsRequired} + "approvalSchemes" = ${ApprovalSchemes} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RequestabilityForRole.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RequestabilityForRole.ps1 new file mode 100644 index 000000000..525687308 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RequestabilityForRole.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER CommentsRequired +Whether the requester of the containing object must provide comments justifying the request +.PARAMETER DenialCommentsRequired +Whether an approver must provide comments when denying the request +.PARAMETER ApprovalSchemes +List describing the steps in approving the request +.OUTPUTS + +RequestabilityForRole +#> + +function Initialize-V2024RequestabilityForRole { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${CommentsRequired} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${DenialCommentsRequired} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${ApprovalSchemes} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RequestabilityForRole' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "commentsRequired" = ${CommentsRequired} + "denialCommentsRequired" = ${DenialCommentsRequired} + "approvalSchemes" = ${ApprovalSchemes} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RequestabilityForRole + +.DESCRIPTION + +Convert from JSON to RequestabilityForRole + +.PARAMETER Json + +Json object + +.OUTPUTS + +RequestabilityForRole +#> +function ConvertFrom-V2024JsonToRequestabilityForRole { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RequestabilityForRole' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RequestabilityForRole + $AllProperties = ("commentsRequired", "denialCommentsRequired", "approvalSchemes") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "commentsRequired"))) { #optional property not found + $CommentsRequired = $null + } else { + $CommentsRequired = $JsonParameters.PSobject.Properties["commentsRequired"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "denialCommentsRequired"))) { #optional property not found + $DenialCommentsRequired = $null + } else { + $DenialCommentsRequired = $JsonParameters.PSobject.Properties["denialCommentsRequired"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "approvalSchemes"))) { #optional property not found + $ApprovalSchemes = $null + } else { + $ApprovalSchemes = $JsonParameters.PSobject.Properties["approvalSchemes"].value + } + + $PSO = [PSCustomObject]@{ + "commentsRequired" = ${CommentsRequired} + "denialCommentsRequired" = ${DenialCommentsRequired} + "approvalSchemes" = ${ApprovalSchemes} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RequestableObject.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RequestableObject.ps1 new file mode 100644 index 000000000..9ba3df7af --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RequestableObject.ps1 @@ -0,0 +1,214 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +Id of the requestable object itself +.PARAMETER Name +Human-readable display name of the requestable object +.PARAMETER Created +The time when the requestable object was created +.PARAMETER Modified +The time when the requestable object was last modified +.PARAMETER Description +Description of the requestable object. +.PARAMETER Type +No description available. +.PARAMETER RequestStatus +No description available. +.PARAMETER IdentityRequestId +If *requestStatus* is *PENDING*, indicates the id of the associated account activity. +.PARAMETER OwnerRef +No description available. +.PARAMETER RequestCommentsRequired +Whether the requester must provide comments when requesting the object. +.OUTPUTS + +RequestableObject +#> + +function Initialize-V2024RequestableObject { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Modified}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ACCESS_PROFILE", "ROLE", "ENTITLEMENT")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${RequestStatus}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${IdentityRequestId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${OwnerRef}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${RequestCommentsRequired} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RequestableObject' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "created" = ${Created} + "modified" = ${Modified} + "description" = ${Description} + "type" = ${Type} + "requestStatus" = ${RequestStatus} + "identityRequestId" = ${IdentityRequestId} + "ownerRef" = ${OwnerRef} + "requestCommentsRequired" = ${RequestCommentsRequired} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RequestableObject + +.DESCRIPTION + +Convert from JSON to RequestableObject + +.PARAMETER Json + +Json object + +.OUTPUTS + +RequestableObject +#> +function ConvertFrom-V2024JsonToRequestableObject { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RequestableObject' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RequestableObject + $AllProperties = ("id", "name", "created", "modified", "description", "type", "requestStatus", "identityRequestId", "ownerRef", "requestCommentsRequired") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requestStatus"))) { #optional property not found + $RequestStatus = $null + } else { + $RequestStatus = $JsonParameters.PSobject.Properties["requestStatus"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityRequestId"))) { #optional property not found + $IdentityRequestId = $null + } else { + $IdentityRequestId = $JsonParameters.PSobject.Properties["identityRequestId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "ownerRef"))) { #optional property not found + $OwnerRef = $null + } else { + $OwnerRef = $JsonParameters.PSobject.Properties["ownerRef"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requestCommentsRequired"))) { #optional property not found + $RequestCommentsRequired = $null + } else { + $RequestCommentsRequired = $JsonParameters.PSobject.Properties["requestCommentsRequired"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "created" = ${Created} + "modified" = ${Modified} + "description" = ${Description} + "type" = ${Type} + "requestStatus" = ${RequestStatus} + "identityRequestId" = ${IdentityRequestId} + "ownerRef" = ${OwnerRef} + "requestCommentsRequired" = ${RequestCommentsRequired} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RequestableObjectReference.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RequestableObjectReference.ps1 new file mode 100644 index 000000000..f9994b620 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RequestableObjectReference.ps1 @@ -0,0 +1,136 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +Id of the object. +.PARAMETER Name +Name of the object. +.PARAMETER Description +Description of the object. +.PARAMETER Type +Type of the object. +.OUTPUTS + +RequestableObjectReference +#> + +function Initialize-V2024RequestableObjectReference { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ACCESS_PROFILE", "ROLE", "ENTITLEMENT")] + [String] + ${Type} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RequestableObjectReference' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "description" = ${Description} + "type" = ${Type} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RequestableObjectReference + +.DESCRIPTION + +Convert from JSON to RequestableObjectReference + +.PARAMETER Json + +Json object + +.OUTPUTS + +RequestableObjectReference +#> +function ConvertFrom-V2024JsonToRequestableObjectReference { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RequestableObjectReference' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RequestableObjectReference + $AllProperties = ("id", "name", "description", "type") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "description" = ${Description} + "type" = ${Type} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RequestableObjectRequestStatus.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RequestableObjectRequestStatus.ps1 new file mode 100644 index 000000000..6f2582b0c --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RequestableObjectRequestStatus.ps1 @@ -0,0 +1,28 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum RequestableObjectRequestStatus. + +.DESCRIPTION + +Status indicating the ability of an access request for the object to be made by or on behalf of the identity specified by *identity-id*. *AVAILABLE* indicates the object is available to request. *PENDING* indicates the object is unavailable because the identity has a pending request in flight. *ASSIGNED* indicates the object is unavailable because the identity already has the indicated role or access profile. If *identity-id* is not specified (allowed only for admin users), then status will be *AVAILABLE* for all results. +#> + +enum RequestableObjectRequestStatus { + # enum value: "AVAILABLE" + AVAILABLE + # enum value: "PENDING" + PENDING + # enum value: "ASSIGNED" + ASSIGNED + # enum value: "null" + null +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RequestableObjectType.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RequestableObjectType.ps1 new file mode 100644 index 000000000..78df7a514 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RequestableObjectType.ps1 @@ -0,0 +1,26 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum RequestableObjectType. + +.DESCRIPTION + +The currently supported requestable object types. +#> + +enum RequestableObjectType { + # enum value: "ACCESS_PROFILE" + ACCESS_PROFILE + # enum value: "ROLE" + ROLE + # enum value: "ENTITLEMENT" + ENTITLEMENT +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RequestedItemStatus.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RequestedItemStatus.ps1 new file mode 100644 index 000000000..5f77dfbc7 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RequestedItemStatus.ps1 @@ -0,0 +1,385 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Name +Human-readable display name of the item being requested. +.PARAMETER Type +Type of requested object. +.PARAMETER CancelledRequestDetails +No description available. +.PARAMETER ErrorMessages +List of list of localized error messages, if any, encountered during the approval/provisioning process. +.PARAMETER State +No description available. +.PARAMETER ApprovalDetails +Approval details for each item. +.PARAMETER ManualWorkItemDetails +Manual work items created for provisioning the item. +.PARAMETER AccountActivityItemId +Id of associated account activity item. +.PARAMETER RequestType +No description available. +.PARAMETER Modified +When the request was last modified. +.PARAMETER Created +When the request was created. +.PARAMETER Requester +No description available. +.PARAMETER RequestedFor +No description available. +.PARAMETER RequesterComment +No description available. +.PARAMETER SodViolationContext +No description available. +.PARAMETER ProvisioningDetails +No description available. +.PARAMETER PreApprovalTriggerDetails +No description available. +.PARAMETER AccessRequestPhases +A list of Phases that the Access Request has gone through in order, to help determine the status of the request. +.PARAMETER Description +Description associated to the requested object. +.PARAMETER RemoveDate +When the role access is scheduled for removal. +.PARAMETER Cancelable +True if the request can be canceled. +.PARAMETER AccessRequestId +This is the account activity id. +.PARAMETER ClientMetadata +Arbitrary key-value pairs, if any were included in the corresponding access request +.OUTPUTS + +RequestedItemStatus +#> + +function Initialize-V2024RequestedItemStatus { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ACCESS_PROFILE", "ROLE", "ENTITLEMENT", "")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${CancelledRequestDetails}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[][]] + ${ErrorMessages}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("EXECUTING", "REQUEST_COMPLETED", "CANCELLED", "TERMINATED", "PROVISIONING_VERIFICATION_PENDING", "REJECTED", "PROVISIONING_FAILED", "NOT_ALL_ITEMS_PROVISIONED", "ERROR")] + [PSCustomObject] + ${State}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${ApprovalDetails}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${ManualWorkItemDetails}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AccountActivityItemId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("GRANT_ACCESS", "REVOKE_ACCESS", "")] + [PSCustomObject] + ${RequestType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Modified}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Requester}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${RequestedFor}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${RequesterComment}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${SodViolationContext}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${ProvisioningDetails}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${PreApprovalTriggerDetails}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${AccessRequestPhases}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${RemoveDate}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Cancelable} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AccessRequestId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${ClientMetadata} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RequestedItemStatus' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "type" = ${Type} + "cancelledRequestDetails" = ${CancelledRequestDetails} + "errorMessages" = ${ErrorMessages} + "state" = ${State} + "approvalDetails" = ${ApprovalDetails} + "manualWorkItemDetails" = ${ManualWorkItemDetails} + "accountActivityItemId" = ${AccountActivityItemId} + "requestType" = ${RequestType} + "modified" = ${Modified} + "created" = ${Created} + "requester" = ${Requester} + "requestedFor" = ${RequestedFor} + "requesterComment" = ${RequesterComment} + "sodViolationContext" = ${SodViolationContext} + "provisioningDetails" = ${ProvisioningDetails} + "preApprovalTriggerDetails" = ${PreApprovalTriggerDetails} + "accessRequestPhases" = ${AccessRequestPhases} + "description" = ${Description} + "removeDate" = ${RemoveDate} + "cancelable" = ${Cancelable} + "accessRequestId" = ${AccessRequestId} + "clientMetadata" = ${ClientMetadata} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RequestedItemStatus + +.DESCRIPTION + +Convert from JSON to RequestedItemStatus + +.PARAMETER Json + +Json object + +.OUTPUTS + +RequestedItemStatus +#> +function ConvertFrom-V2024JsonToRequestedItemStatus { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RequestedItemStatus' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RequestedItemStatus + $AllProperties = ("name", "type", "cancelledRequestDetails", "errorMessages", "state", "approvalDetails", "manualWorkItemDetails", "accountActivityItemId", "requestType", "modified", "created", "requester", "requestedFor", "requesterComment", "sodViolationContext", "provisioningDetails", "preApprovalTriggerDetails", "accessRequestPhases", "description", "removeDate", "cancelable", "accessRequestId", "clientMetadata") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "cancelledRequestDetails"))) { #optional property not found + $CancelledRequestDetails = $null + } else { + $CancelledRequestDetails = $JsonParameters.PSobject.Properties["cancelledRequestDetails"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "errorMessages"))) { #optional property not found + $ErrorMessages = $null + } else { + $ErrorMessages = $JsonParameters.PSobject.Properties["errorMessages"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "state"))) { #optional property not found + $State = $null + } else { + $State = $JsonParameters.PSobject.Properties["state"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "approvalDetails"))) { #optional property not found + $ApprovalDetails = $null + } else { + $ApprovalDetails = $JsonParameters.PSobject.Properties["approvalDetails"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "manualWorkItemDetails"))) { #optional property not found + $ManualWorkItemDetails = $null + } else { + $ManualWorkItemDetails = $JsonParameters.PSobject.Properties["manualWorkItemDetails"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accountActivityItemId"))) { #optional property not found + $AccountActivityItemId = $null + } else { + $AccountActivityItemId = $JsonParameters.PSobject.Properties["accountActivityItemId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requestType"))) { #optional property not found + $RequestType = $null + } else { + $RequestType = $JsonParameters.PSobject.Properties["requestType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requester"))) { #optional property not found + $Requester = $null + } else { + $Requester = $JsonParameters.PSobject.Properties["requester"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requestedFor"))) { #optional property not found + $RequestedFor = $null + } else { + $RequestedFor = $JsonParameters.PSobject.Properties["requestedFor"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requesterComment"))) { #optional property not found + $RequesterComment = $null + } else { + $RequesterComment = $JsonParameters.PSobject.Properties["requesterComment"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sodViolationContext"))) { #optional property not found + $SodViolationContext = $null + } else { + $SodViolationContext = $JsonParameters.PSobject.Properties["sodViolationContext"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "provisioningDetails"))) { #optional property not found + $ProvisioningDetails = $null + } else { + $ProvisioningDetails = $JsonParameters.PSobject.Properties["provisioningDetails"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "preApprovalTriggerDetails"))) { #optional property not found + $PreApprovalTriggerDetails = $null + } else { + $PreApprovalTriggerDetails = $JsonParameters.PSobject.Properties["preApprovalTriggerDetails"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accessRequestPhases"))) { #optional property not found + $AccessRequestPhases = $null + } else { + $AccessRequestPhases = $JsonParameters.PSobject.Properties["accessRequestPhases"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "removeDate"))) { #optional property not found + $RemoveDate = $null + } else { + $RemoveDate = $JsonParameters.PSobject.Properties["removeDate"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "cancelable"))) { #optional property not found + $Cancelable = $null + } else { + $Cancelable = $JsonParameters.PSobject.Properties["cancelable"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accessRequestId"))) { #optional property not found + $AccessRequestId = $null + } else { + $AccessRequestId = $JsonParameters.PSobject.Properties["accessRequestId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "clientMetadata"))) { #optional property not found + $ClientMetadata = $null + } else { + $ClientMetadata = $JsonParameters.PSobject.Properties["clientMetadata"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "type" = ${Type} + "cancelledRequestDetails" = ${CancelledRequestDetails} + "errorMessages" = ${ErrorMessages} + "state" = ${State} + "approvalDetails" = ${ApprovalDetails} + "manualWorkItemDetails" = ${ManualWorkItemDetails} + "accountActivityItemId" = ${AccountActivityItemId} + "requestType" = ${RequestType} + "modified" = ${Modified} + "created" = ${Created} + "requester" = ${Requester} + "requestedFor" = ${RequestedFor} + "requesterComment" = ${RequesterComment} + "sodViolationContext" = ${SodViolationContext} + "provisioningDetails" = ${ProvisioningDetails} + "preApprovalTriggerDetails" = ${PreApprovalTriggerDetails} + "accessRequestPhases" = ${AccessRequestPhases} + "description" = ${Description} + "removeDate" = ${RemoveDate} + "cancelable" = ${Cancelable} + "accessRequestId" = ${AccessRequestId} + "clientMetadata" = ${ClientMetadata} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RequestedItemStatusCancelledRequestDetails.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RequestedItemStatusCancelledRequestDetails.ps1 new file mode 100644 index 000000000..25e47d538 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RequestedItemStatusCancelledRequestDetails.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Comment +Comment made by the owner when cancelling the associated request. +.PARAMETER Owner +No description available. +.PARAMETER Modified +Date comment was added by the owner when cancelling the associated request. +.OUTPUTS + +RequestedItemStatusCancelledRequestDetails +#> + +function Initialize-V2024RequestedItemStatusCancelledRequestDetails { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Comment}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Owner}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Modified} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RequestedItemStatusCancelledRequestDetails' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "comment" = ${Comment} + "owner" = ${Owner} + "modified" = ${Modified} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RequestedItemStatusCancelledRequestDetails + +.DESCRIPTION + +Convert from JSON to RequestedItemStatusCancelledRequestDetails + +.PARAMETER Json + +Json object + +.OUTPUTS + +RequestedItemStatusCancelledRequestDetails +#> +function ConvertFrom-V2024JsonToRequestedItemStatusCancelledRequestDetails { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RequestedItemStatusCancelledRequestDetails' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RequestedItemStatusCancelledRequestDetails + $AllProperties = ("comment", "owner", "modified") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "comment"))) { #optional property not found + $Comment = $null + } else { + $Comment = $JsonParameters.PSobject.Properties["comment"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "owner"))) { #optional property not found + $Owner = $null + } else { + $Owner = $JsonParameters.PSobject.Properties["owner"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + $PSO = [PSCustomObject]@{ + "comment" = ${Comment} + "owner" = ${Owner} + "modified" = ${Modified} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RequestedItemStatusPreApprovalTriggerDetails.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RequestedItemStatusPreApprovalTriggerDetails.ps1 new file mode 100644 index 000000000..b2a1f648f --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RequestedItemStatusPreApprovalTriggerDetails.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Comment +Comment left for the pre-approval decision +.PARAMETER Reviewer +The reviewer of the pre-approval decision +.PARAMETER Decision +The decision of the pre-approval trigger +.OUTPUTS + +RequestedItemStatusPreApprovalTriggerDetails +#> + +function Initialize-V2024RequestedItemStatusPreApprovalTriggerDetails { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Comment}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Reviewer}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("APPROVED", "REJECTED")] + [String] + ${Decision} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RequestedItemStatusPreApprovalTriggerDetails' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "comment" = ${Comment} + "reviewer" = ${Reviewer} + "decision" = ${Decision} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RequestedItemStatusPreApprovalTriggerDetails + +.DESCRIPTION + +Convert from JSON to RequestedItemStatusPreApprovalTriggerDetails + +.PARAMETER Json + +Json object + +.OUTPUTS + +RequestedItemStatusPreApprovalTriggerDetails +#> +function ConvertFrom-V2024JsonToRequestedItemStatusPreApprovalTriggerDetails { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RequestedItemStatusPreApprovalTriggerDetails' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RequestedItemStatusPreApprovalTriggerDetails + $AllProperties = ("comment", "reviewer", "decision") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "comment"))) { #optional property not found + $Comment = $null + } else { + $Comment = $JsonParameters.PSobject.Properties["comment"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "reviewer"))) { #optional property not found + $Reviewer = $null + } else { + $Reviewer = $JsonParameters.PSobject.Properties["reviewer"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "decision"))) { #optional property not found + $Decision = $null + } else { + $Decision = $JsonParameters.PSobject.Properties["decision"].value + } + + $PSO = [PSCustomObject]@{ + "comment" = ${Comment} + "reviewer" = ${Reviewer} + "decision" = ${Decision} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RequestedItemStatusProvisioningDetails.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RequestedItemStatusProvisioningDetails.ps1 new file mode 100644 index 000000000..950ff2543 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RequestedItemStatusProvisioningDetails.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER OrderedSubPhaseReferences +Ordered CSV of sub phase references to objects that contain more information about provisioning. For example, this can contain ""manualWorkItemDetails"" which indicate that there is further information in that object for this phase. +.OUTPUTS + +RequestedItemStatusProvisioningDetails +#> + +function Initialize-V2024RequestedItemStatusProvisioningDetails { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${OrderedSubPhaseReferences} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RequestedItemStatusProvisioningDetails' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "orderedSubPhaseReferences" = ${OrderedSubPhaseReferences} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RequestedItemStatusProvisioningDetails + +.DESCRIPTION + +Convert from JSON to RequestedItemStatusProvisioningDetails + +.PARAMETER Json + +Json object + +.OUTPUTS + +RequestedItemStatusProvisioningDetails +#> +function ConvertFrom-V2024JsonToRequestedItemStatusProvisioningDetails { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RequestedItemStatusProvisioningDetails' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RequestedItemStatusProvisioningDetails + $AllProperties = ("orderedSubPhaseReferences") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "orderedSubPhaseReferences"))) { #optional property not found + $OrderedSubPhaseReferences = $null + } else { + $OrderedSubPhaseReferences = $JsonParameters.PSobject.Properties["orderedSubPhaseReferences"].value + } + + $PSO = [PSCustomObject]@{ + "orderedSubPhaseReferences" = ${OrderedSubPhaseReferences} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RequestedItemStatusRequestState.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RequestedItemStatusRequestState.ps1 new file mode 100644 index 000000000..960a25faa --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RequestedItemStatusRequestState.ps1 @@ -0,0 +1,38 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum RequestedItemStatusRequestState. + +.DESCRIPTION + +Indicates the state of an access request: * EXECUTING: The request is executing, which indicates the system is doing some processing. * REQUEST_COMPLETED: Indicates the request has been completed. * CANCELLED: The request was cancelled with no user input. * TERMINATED: The request has been terminated before it was able to complete. * PROVISIONING_VERIFICATION_PENDING: The request has finished any approval steps and provisioning is waiting to be verified. * REJECTED: The request was rejected. * PROVISIONING_FAILED: The request has failed to complete. * NOT_ALL_ITEMS_PROVISIONED: One or more of the requested items failed to complete, but there were one or more successes. * ERROR: An error occurred during request processing. +#> + +enum RequestedItemStatusRequestState { + # enum value: "EXECUTING" + EXECUTING + # enum value: "REQUEST_COMPLETED" + REQUEST_COMPLETED + # enum value: "CANCELLED" + CANCELLED + # enum value: "TERMINATED" + TERMINATED + # enum value: "PROVISIONING_VERIFICATION_PENDING" + PROVISIONING_VERIFICATION_PENDING + # enum value: "REJECTED" + REJECTED + # enum value: "PROVISIONING_FAILED" + PROVISIONING_FAILED + # enum value: "NOT_ALL_ITEMS_PROVISIONED" + NOT_ALL_ITEMS_PROVISIONED + # enum value: "ERROR" + ERROR +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RequestedItemStatusRequestedFor.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RequestedItemStatusRequestedFor.ps1 new file mode 100644 index 000000000..805acd21e --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RequestedItemStatusRequestedFor.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Identity access was requested for. + +.PARAMETER Type +Type of the object to which this reference applies +.PARAMETER Id +ID of the object to which this reference applies +.PARAMETER Name +Human-readable display name of the object to which this reference applies +.OUTPUTS + +RequestedItemStatusRequestedFor +#> + +function Initialize-V2024RequestedItemStatusRequestedFor { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RequestedItemStatusRequestedFor' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RequestedItemStatusRequestedFor + +.DESCRIPTION + +Convert from JSON to RequestedItemStatusRequestedFor + +.PARAMETER Json + +Json object + +.OUTPUTS + +RequestedItemStatusRequestedFor +#> +function ConvertFrom-V2024JsonToRequestedItemStatusRequestedFor { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RequestedItemStatusRequestedFor' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RequestedItemStatusRequestedFor + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RequestedItemStatusRequesterComment.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RequestedItemStatusRequesterComment.ps1 new file mode 100644 index 000000000..bf73a4135 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RequestedItemStatusRequesterComment.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Comment +Comment content. +.PARAMETER Created +Date and time comment was created. +.PARAMETER Author +No description available. +.OUTPUTS + +RequestedItemStatusRequesterComment +#> + +function Initialize-V2024RequestedItemStatusRequesterComment { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Comment}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Author} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RequestedItemStatusRequesterComment' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "comment" = ${Comment} + "created" = ${Created} + "author" = ${Author} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RequestedItemStatusRequesterComment + +.DESCRIPTION + +Convert from JSON to RequestedItemStatusRequesterComment + +.PARAMETER Json + +Json object + +.OUTPUTS + +RequestedItemStatusRequesterComment +#> +function ConvertFrom-V2024JsonToRequestedItemStatusRequesterComment { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RequestedItemStatusRequesterComment' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RequestedItemStatusRequesterComment + $AllProperties = ("comment", "created", "author") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "comment"))) { #optional property not found + $Comment = $null + } else { + $Comment = $JsonParameters.PSobject.Properties["comment"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "author"))) { #optional property not found + $Author = $null + } else { + $Author = $JsonParameters.PSobject.Properties["author"].value + } + + $PSO = [PSCustomObject]@{ + "comment" = ${Comment} + "created" = ${Created} + "author" = ${Author} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RequestedItemStatusSodViolationContext.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RequestedItemStatusSodViolationContext.ps1 new file mode 100644 index 000000000..e45146d6c --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RequestedItemStatusSodViolationContext.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER State +The status of SOD violation check +.PARAMETER Uuid +The id of the Violation check event +.PARAMETER ViolationCheckResult +No description available. +.OUTPUTS + +RequestedItemStatusSodViolationContext +#> + +function Initialize-V2024RequestedItemStatusSodViolationContext { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("SUCCESS", "ERROR", "")] + [String] + ${State}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Uuid}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${ViolationCheckResult} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RequestedItemStatusSodViolationContext' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "state" = ${State} + "uuid" = ${Uuid} + "violationCheckResult" = ${ViolationCheckResult} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RequestedItemStatusSodViolationContext + +.DESCRIPTION + +Convert from JSON to RequestedItemStatusSodViolationContext + +.PARAMETER Json + +Json object + +.OUTPUTS + +RequestedItemStatusSodViolationContext +#> +function ConvertFrom-V2024JsonToRequestedItemStatusSodViolationContext { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RequestedItemStatusSodViolationContext' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RequestedItemStatusSodViolationContext + $AllProperties = ("state", "uuid", "violationCheckResult") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "state"))) { #optional property not found + $State = $null + } else { + $State = $JsonParameters.PSobject.Properties["state"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "uuid"))) { #optional property not found + $Uuid = $null + } else { + $Uuid = $JsonParameters.PSobject.Properties["uuid"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "violationCheckResult"))) { #optional property not found + $ViolationCheckResult = $null + } else { + $ViolationCheckResult = $JsonParameters.PSobject.Properties["violationCheckResult"].value + } + + $PSO = [PSCustomObject]@{ + "state" = ${State} + "uuid" = ${Uuid} + "violationCheckResult" = ${ViolationCheckResult} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ResourceObject.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ResourceObject.ps1 new file mode 100644 index 000000000..5c63fa16f --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ResourceObject.ps1 @@ -0,0 +1,174 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Representation of the object which is returned from source connectors. + +.OUTPUTS + +ResourceObject +#> + +function Initialize-V2024ResourceObject { + [CmdletBinding()] + Param ( + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ResourceObject' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ResourceObject + +.DESCRIPTION + +Convert from JSON to ResourceObject + +.PARAMETER Json + +Json object + +.OUTPUTS + +ResourceObject +#> +function ConvertFrom-V2024JsonToResourceObject { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ResourceObject' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ResourceObject + $AllProperties = ("instance", "identity", "uuid", "previousIdentity", "name", "objectType", "incomplete", "incremental", "delete", "remove", "missing", "attributes", "finalUpdate") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "instance"))) { #optional property not found + $Instance = $null + } else { + $Instance = $JsonParameters.PSobject.Properties["instance"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identity"))) { #optional property not found + $Identity = $null + } else { + $Identity = $JsonParameters.PSobject.Properties["identity"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "uuid"))) { #optional property not found + $Uuid = $null + } else { + $Uuid = $JsonParameters.PSobject.Properties["uuid"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "previousIdentity"))) { #optional property not found + $PreviousIdentity = $null + } else { + $PreviousIdentity = $JsonParameters.PSobject.Properties["previousIdentity"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "objectType"))) { #optional property not found + $ObjectType = $null + } else { + $ObjectType = $JsonParameters.PSobject.Properties["objectType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "incomplete"))) { #optional property not found + $Incomplete = $null + } else { + $Incomplete = $JsonParameters.PSobject.Properties["incomplete"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "incremental"))) { #optional property not found + $Incremental = $null + } else { + $Incremental = $JsonParameters.PSobject.Properties["incremental"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "delete"))) { #optional property not found + $Delete = $null + } else { + $Delete = $JsonParameters.PSobject.Properties["delete"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "remove"))) { #optional property not found + $Remove = $null + } else { + $Remove = $JsonParameters.PSobject.Properties["remove"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "missing"))) { #optional property not found + $Missing = $null + } else { + $Missing = $JsonParameters.PSobject.Properties["missing"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributes"))) { #optional property not found + $Attributes = $null + } else { + $Attributes = $JsonParameters.PSobject.Properties["attributes"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "finalUpdate"))) { #optional property not found + $FinalUpdate = $null + } else { + $FinalUpdate = $JsonParameters.PSobject.Properties["finalUpdate"].value + } + + $PSO = [PSCustomObject]@{ + "instance" = ${Instance} + "identity" = ${Identity} + "uuid" = ${Uuid} + "previousIdentity" = ${PreviousIdentity} + "name" = ${Name} + "objectType" = ${ObjectType} + "incomplete" = ${Incomplete} + "incremental" = ${Incremental} + "delete" = ${Delete} + "remove" = ${Remove} + "missing" = ${Missing} + "attributes" = ${Attributes} + "finalUpdate" = ${FinalUpdate} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ResourceObjectsRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ResourceObjectsRequest.ps1 new file mode 100644 index 000000000..3ff2c9d99 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ResourceObjectsRequest.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Request model for peek resource objects from source connectors. + +.PARAMETER ObjectType +The type of resource objects to iterate over. +.PARAMETER MaxCount +The maximum number of resource objects to iterate over and return. +.OUTPUTS + +ResourceObjectsRequest +#> + +function Initialize-V2024ResourceObjectsRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ObjectType} = "account", + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${MaxCount} = 25 + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ResourceObjectsRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "objectType" = ${ObjectType} + "maxCount" = ${MaxCount} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ResourceObjectsRequest + +.DESCRIPTION + +Convert from JSON to ResourceObjectsRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +ResourceObjectsRequest +#> +function ConvertFrom-V2024JsonToResourceObjectsRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ResourceObjectsRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ResourceObjectsRequest + $AllProperties = ("objectType", "maxCount") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "objectType"))) { #optional property not found + $ObjectType = $null + } else { + $ObjectType = $JsonParameters.PSobject.Properties["objectType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "maxCount"))) { #optional property not found + $MaxCount = $null + } else { + $MaxCount = $JsonParameters.PSobject.Properties["maxCount"].value + } + + $PSO = [PSCustomObject]@{ + "objectType" = ${ObjectType} + "maxCount" = ${MaxCount} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ResourceObjectsResponse.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ResourceObjectsResponse.ps1 new file mode 100644 index 000000000..bac8580c9 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ResourceObjectsResponse.ps1 @@ -0,0 +1,118 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Response model for peek resource objects from source connectors. + +.OUTPUTS + +ResourceObjectsResponse +#> + +function Initialize-V2024ResourceObjectsResponse { + [CmdletBinding()] + Param ( + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ResourceObjectsResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ResourceObjectsResponse + +.DESCRIPTION + +Convert from JSON to ResourceObjectsResponse + +.PARAMETER Json + +Json object + +.OUTPUTS + +ResourceObjectsResponse +#> +function ConvertFrom-V2024JsonToResourceObjectsResponse { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ResourceObjectsResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ResourceObjectsResponse + $AllProperties = ("id", "name", "objectCount", "elapsedMillis", "resourceObjects") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "objectCount"))) { #optional property not found + $ObjectCount = $null + } else { + $ObjectCount = $JsonParameters.PSobject.Properties["objectCount"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "elapsedMillis"))) { #optional property not found + $ElapsedMillis = $null + } else { + $ElapsedMillis = $JsonParameters.PSobject.Properties["elapsedMillis"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "resourceObjects"))) { #optional property not found + $ResourceObjects = $null + } else { + $ResourceObjects = $JsonParameters.PSobject.Properties["resourceObjects"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "objectCount" = ${ObjectCount} + "elapsedMillis" = ${ElapsedMillis} + "resourceObjects" = ${ResourceObjects} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ReviewDecision.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ReviewDecision.ps1 new file mode 100644 index 000000000..4b98d10ed --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ReviewDecision.ps1 @@ -0,0 +1,178 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +The id of the review decision +.PARAMETER Decision +No description available. +.PARAMETER ProposedEndDate +The date at which a user's access should be taken away. Should only be set for `REVOKE` decisions. +.PARAMETER Bulk +Indicates whether decision should be marked as part of a larger bulk decision +.PARAMETER Recommendation +No description available. +.PARAMETER Comments +Comments recorded when the decision was made +.OUTPUTS + +ReviewDecision +#> + +function Initialize-V2024ReviewDecision { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("APPROVE", "REVOKE")] + [PSCustomObject] + ${Decision}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${ProposedEndDate}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Boolean] + ${Bulk}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Recommendation}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Comments} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ReviewDecision' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Decision) { + throw "invalid value for 'Decision', 'Decision' cannot be null." + } + + if (!$Bulk) { + throw "invalid value for 'Bulk', 'Bulk' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "decision" = ${Decision} + "proposedEndDate" = ${ProposedEndDate} + "bulk" = ${Bulk} + "recommendation" = ${Recommendation} + "comments" = ${Comments} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ReviewDecision + +.DESCRIPTION + +Convert from JSON to ReviewDecision + +.PARAMETER Json + +Json object + +.OUTPUTS + +ReviewDecision +#> +function ConvertFrom-V2024JsonToReviewDecision { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ReviewDecision' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ReviewDecision + $AllProperties = ("id", "decision", "proposedEndDate", "bulk", "recommendation", "comments") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'id' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "decision"))) { + throw "Error! JSON cannot be serialized due to the required property 'decision' missing." + } else { + $Decision = $JsonParameters.PSobject.Properties["decision"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "bulk"))) { + throw "Error! JSON cannot be serialized due to the required property 'bulk' missing." + } else { + $Bulk = $JsonParameters.PSobject.Properties["bulk"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "proposedEndDate"))) { #optional property not found + $ProposedEndDate = $null + } else { + $ProposedEndDate = $JsonParameters.PSobject.Properties["proposedEndDate"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "recommendation"))) { #optional property not found + $Recommendation = $null + } else { + $Recommendation = $JsonParameters.PSobject.Properties["recommendation"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "comments"))) { #optional property not found + $Comments = $null + } else { + $Comments = $JsonParameters.PSobject.Properties["comments"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "decision" = ${Decision} + "proposedEndDate" = ${ProposedEndDate} + "bulk" = ${Bulk} + "recommendation" = ${Recommendation} + "comments" = ${Comments} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ReviewReassign.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ReviewReassign.ps1 new file mode 100644 index 000000000..ffccbcd8f --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ReviewReassign.ps1 @@ -0,0 +1,138 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Reassign +No description available. +.PARAMETER ReassignTo +The ID of the identity to which the certification is reassigned +.PARAMETER Reason +The reason comment for why the reassign was made +.OUTPUTS + +ReviewReassign +#> + +function Initialize-V2024ReviewReassign { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Reassign}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ReassignTo}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Reason} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ReviewReassign' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Reassign) { + throw "invalid value for 'Reassign', 'Reassign' cannot be null." + } + + if (!$ReassignTo) { + throw "invalid value for 'ReassignTo', 'ReassignTo' cannot be null." + } + + if (!$Reason) { + throw "invalid value for 'Reason', 'Reason' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "reassign" = ${Reassign} + "reassignTo" = ${ReassignTo} + "reason" = ${Reason} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ReviewReassign + +.DESCRIPTION + +Convert from JSON to ReviewReassign + +.PARAMETER Json + +Json object + +.OUTPUTS + +ReviewReassign +#> +function ConvertFrom-V2024JsonToReviewReassign { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ReviewReassign' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ReviewReassign + $AllProperties = ("reassign", "reassignTo", "reason") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'reassign' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "reassign"))) { + throw "Error! JSON cannot be serialized due to the required property 'reassign' missing." + } else { + $Reassign = $JsonParameters.PSobject.Properties["reassign"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "reassignTo"))) { + throw "Error! JSON cannot be serialized due to the required property 'reassignTo' missing." + } else { + $ReassignTo = $JsonParameters.PSobject.Properties["reassignTo"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "reason"))) { + throw "Error! JSON cannot be serialized due to the required property 'reason' missing." + } else { + $Reason = $JsonParameters.PSobject.Properties["reason"].value + } + + $PSO = [PSCustomObject]@{ + "reassign" = ${Reassign} + "reassignTo" = ${ReassignTo} + "reason" = ${Reason} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ReviewRecommendation.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ReviewRecommendation.ps1 new file mode 100644 index 000000000..900899ff9 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ReviewRecommendation.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Recommendation +The recommendation from IAI at the time of the decision. This field will be null if no recommendation was made. +.PARAMETER Reasons +A list of reasons for the recommendation. +.PARAMETER Timestamp +The time at which the recommendation was recorded. +.OUTPUTS + +ReviewRecommendation +#> + +function Initialize-V2024ReviewRecommendation { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Recommendation}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Reasons}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Timestamp} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ReviewRecommendation' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "recommendation" = ${Recommendation} + "reasons" = ${Reasons} + "timestamp" = ${Timestamp} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ReviewRecommendation + +.DESCRIPTION + +Convert from JSON to ReviewRecommendation + +.PARAMETER Json + +Json object + +.OUTPUTS + +ReviewRecommendation +#> +function ConvertFrom-V2024JsonToReviewRecommendation { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ReviewRecommendation' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ReviewRecommendation + $AllProperties = ("recommendation", "reasons", "timestamp") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "recommendation"))) { #optional property not found + $Recommendation = $null + } else { + $Recommendation = $JsonParameters.PSobject.Properties["recommendation"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "reasons"))) { #optional property not found + $Reasons = $null + } else { + $Reasons = $JsonParameters.PSobject.Properties["reasons"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "timestamp"))) { #optional property not found + $Timestamp = $null + } else { + $Timestamp = $JsonParameters.PSobject.Properties["timestamp"].value + } + + $PSO = [PSCustomObject]@{ + "recommendation" = ${Recommendation} + "reasons" = ${Reasons} + "timestamp" = ${Timestamp} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ReviewableAccessProfile.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ReviewableAccessProfile.ps1 new file mode 100644 index 000000000..c5927cb58 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ReviewableAccessProfile.ps1 @@ -0,0 +1,213 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +The id of the Access Profile +.PARAMETER Name +Name of the Access Profile +.PARAMETER Description +Information about the Access Profile +.PARAMETER Privileged +Indicates if the entitlement is a privileged entitlement +.PARAMETER CloudGoverned +True if the entitlement is cloud governed +.PARAMETER EndDate +The date at which a user's access expires +.PARAMETER Owner +No description available. +.PARAMETER Entitlements +A list of entitlements associated with this Access Profile +.PARAMETER Created +Date the Access Profile was created. +.PARAMETER Modified +Date the Access Profile was last modified. +.OUTPUTS + +ReviewableAccessProfile +#> + +function Initialize-V2024ReviewableAccessProfile { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Privileged}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${CloudGoverned}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${EndDate}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Owner}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Entitlements}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Modified} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ReviewableAccessProfile' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "description" = ${Description} + "privileged" = ${Privileged} + "cloudGoverned" = ${CloudGoverned} + "endDate" = ${EndDate} + "owner" = ${Owner} + "entitlements" = ${Entitlements} + "created" = ${Created} + "modified" = ${Modified} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ReviewableAccessProfile + +.DESCRIPTION + +Convert from JSON to ReviewableAccessProfile + +.PARAMETER Json + +Json object + +.OUTPUTS + +ReviewableAccessProfile +#> +function ConvertFrom-V2024JsonToReviewableAccessProfile { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ReviewableAccessProfile' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ReviewableAccessProfile + $AllProperties = ("id", "name", "description", "privileged", "cloudGoverned", "endDate", "owner", "entitlements", "created", "modified") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "privileged"))) { #optional property not found + $Privileged = $null + } else { + $Privileged = $JsonParameters.PSobject.Properties["privileged"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "cloudGoverned"))) { #optional property not found + $CloudGoverned = $null + } else { + $CloudGoverned = $JsonParameters.PSobject.Properties["cloudGoverned"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "endDate"))) { #optional property not found + $EndDate = $null + } else { + $EndDate = $JsonParameters.PSobject.Properties["endDate"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "owner"))) { #optional property not found + $Owner = $null + } else { + $Owner = $JsonParameters.PSobject.Properties["owner"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "entitlements"))) { #optional property not found + $Entitlements = $null + } else { + $Entitlements = $JsonParameters.PSobject.Properties["entitlements"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "description" = ${Description} + "privileged" = ${Privileged} + "cloudGoverned" = ${CloudGoverned} + "endDate" = ${EndDate} + "owner" = ${Owner} + "entitlements" = ${Entitlements} + "created" = ${Created} + "modified" = ${Modified} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ReviewableEntitlement.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ReviewableEntitlement.ps1 new file mode 100644 index 000000000..3510d456e --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ReviewableEntitlement.ps1 @@ -0,0 +1,317 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +The id for the entitlement +.PARAMETER Name +The name of the entitlement +.PARAMETER Description +Information about the entitlement +.PARAMETER Privileged +Indicates if the entitlement is a privileged entitlement +.PARAMETER Owner +No description available. +.PARAMETER AttributeName +The name of the attribute on the source +.PARAMETER AttributeValue +The value of the attribute on the source +.PARAMETER SourceSchemaObjectType +The schema object type on the source used to represent the entitlement and its attributes +.PARAMETER SourceName +The name of the source for which this entitlement belongs +.PARAMETER SourceType +The type of the source for which the entitlement belongs +.PARAMETER SourceId +The ID of the source for which the entitlement belongs +.PARAMETER HasPermissions +Indicates if the entitlement has permissions +.PARAMETER IsPermission +Indicates if the entitlement is a representation of an account permission +.PARAMETER Revocable +Indicates whether the entitlement can be revoked +.PARAMETER CloudGoverned +True if the entitlement is cloud governed +.PARAMETER ContainsDataAccess +True if the entitlement has DAS data +.PARAMETER DataAccess +No description available. +.PARAMETER Account +No description available. +.OUTPUTS + +ReviewableEntitlement +#> + +function Initialize-V2024ReviewableEntitlement { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Privileged} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Owner}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AttributeName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AttributeValue}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SourceSchemaObjectType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SourceName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SourceType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SourceId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${HasPermissions} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${IsPermission} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Revocable} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${CloudGoverned} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${ContainsDataAccess} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${DataAccess}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Account} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ReviewableEntitlement' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "description" = ${Description} + "privileged" = ${Privileged} + "owner" = ${Owner} + "attributeName" = ${AttributeName} + "attributeValue" = ${AttributeValue} + "sourceSchemaObjectType" = ${SourceSchemaObjectType} + "sourceName" = ${SourceName} + "sourceType" = ${SourceType} + "sourceId" = ${SourceId} + "hasPermissions" = ${HasPermissions} + "isPermission" = ${IsPermission} + "revocable" = ${Revocable} + "cloudGoverned" = ${CloudGoverned} + "containsDataAccess" = ${ContainsDataAccess} + "dataAccess" = ${DataAccess} + "account" = ${Account} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ReviewableEntitlement + +.DESCRIPTION + +Convert from JSON to ReviewableEntitlement + +.PARAMETER Json + +Json object + +.OUTPUTS + +ReviewableEntitlement +#> +function ConvertFrom-V2024JsonToReviewableEntitlement { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ReviewableEntitlement' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ReviewableEntitlement + $AllProperties = ("id", "name", "description", "privileged", "owner", "attributeName", "attributeValue", "sourceSchemaObjectType", "sourceName", "sourceType", "sourceId", "hasPermissions", "isPermission", "revocable", "cloudGoverned", "containsDataAccess", "dataAccess", "account") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "privileged"))) { #optional property not found + $Privileged = $null + } else { + $Privileged = $JsonParameters.PSobject.Properties["privileged"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "owner"))) { #optional property not found + $Owner = $null + } else { + $Owner = $JsonParameters.PSobject.Properties["owner"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributeName"))) { #optional property not found + $AttributeName = $null + } else { + $AttributeName = $JsonParameters.PSobject.Properties["attributeName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributeValue"))) { #optional property not found + $AttributeValue = $null + } else { + $AttributeValue = $JsonParameters.PSobject.Properties["attributeValue"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceSchemaObjectType"))) { #optional property not found + $SourceSchemaObjectType = $null + } else { + $SourceSchemaObjectType = $JsonParameters.PSobject.Properties["sourceSchemaObjectType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceName"))) { #optional property not found + $SourceName = $null + } else { + $SourceName = $JsonParameters.PSobject.Properties["sourceName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceType"))) { #optional property not found + $SourceType = $null + } else { + $SourceType = $JsonParameters.PSobject.Properties["sourceType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceId"))) { #optional property not found + $SourceId = $null + } else { + $SourceId = $JsonParameters.PSobject.Properties["sourceId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "hasPermissions"))) { #optional property not found + $HasPermissions = $null + } else { + $HasPermissions = $JsonParameters.PSobject.Properties["hasPermissions"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "isPermission"))) { #optional property not found + $IsPermission = $null + } else { + $IsPermission = $JsonParameters.PSobject.Properties["isPermission"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "revocable"))) { #optional property not found + $Revocable = $null + } else { + $Revocable = $JsonParameters.PSobject.Properties["revocable"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "cloudGoverned"))) { #optional property not found + $CloudGoverned = $null + } else { + $CloudGoverned = $JsonParameters.PSobject.Properties["cloudGoverned"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "containsDataAccess"))) { #optional property not found + $ContainsDataAccess = $null + } else { + $ContainsDataAccess = $JsonParameters.PSobject.Properties["containsDataAccess"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "dataAccess"))) { #optional property not found + $DataAccess = $null + } else { + $DataAccess = $JsonParameters.PSobject.Properties["dataAccess"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "account"))) { #optional property not found + $Account = $null + } else { + $Account = $JsonParameters.PSobject.Properties["account"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "description" = ${Description} + "privileged" = ${Privileged} + "owner" = ${Owner} + "attributeName" = ${AttributeName} + "attributeValue" = ${AttributeValue} + "sourceSchemaObjectType" = ${SourceSchemaObjectType} + "sourceName" = ${SourceName} + "sourceType" = ${SourceType} + "sourceId" = ${SourceId} + "hasPermissions" = ${HasPermissions} + "isPermission" = ${IsPermission} + "revocable" = ${Revocable} + "cloudGoverned" = ${CloudGoverned} + "containsDataAccess" = ${ContainsDataAccess} + "dataAccess" = ${DataAccess} + "account" = ${Account} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ReviewableEntitlementAccount.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ReviewableEntitlementAccount.ps1 new file mode 100644 index 000000000..b87a8908a --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ReviewableEntitlementAccount.ps1 @@ -0,0 +1,201 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Information about the status of the entitlement + +.PARAMETER NativeIdentity +The native identity for this account +.PARAMETER Disabled +Indicates whether this account is currently disabled +.PARAMETER Locked +Indicates whether this account is currently locked +.PARAMETER Type +No description available. +.PARAMETER Id +The id associated with the account +.PARAMETER Name +The account name +.PARAMETER Created +When the account was created +.PARAMETER Modified +When the account was last modified +.PARAMETER ActivityInsights +No description available. +.OUTPUTS + +ReviewableEntitlementAccount +#> + +function Initialize-V2024ReviewableEntitlementAccount { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${NativeIdentity}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Disabled} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Locked} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ACCOUNT_CORRELATION_CONFIG", "ACCESS_PROFILE", "ACCESS_REQUEST_APPROVAL", "ACCOUNT", "APPLICATION", "CAMPAIGN", "CAMPAIGN_FILTER", "CERTIFICATION", "CLUSTER", "CONNECTOR_SCHEMA", "ENTITLEMENT", "GOVERNANCE_GROUP", "IDENTITY", "IDENTITY_PROFILE", "IDENTITY_REQUEST", "LIFECYCLE_STATE", "PASSWORD_POLICY", "ROLE", "RULE", "SOD_POLICY", "SOURCE", "TAG", "TAG_CATEGORY", "TASK_RESULT", "REPORT_RESULT", "SOD_VIOLATION", "ACCOUNT_ACTIVITY", "WORKGROUP")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Modified}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${ActivityInsights} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ReviewableEntitlementAccount' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "nativeIdentity" = ${NativeIdentity} + "disabled" = ${Disabled} + "locked" = ${Locked} + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + "created" = ${Created} + "modified" = ${Modified} + "activityInsights" = ${ActivityInsights} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ReviewableEntitlementAccount + +.DESCRIPTION + +Convert from JSON to ReviewableEntitlementAccount + +.PARAMETER Json + +Json object + +.OUTPUTS + +ReviewableEntitlementAccount +#> +function ConvertFrom-V2024JsonToReviewableEntitlementAccount { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ReviewableEntitlementAccount' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ReviewableEntitlementAccount + $AllProperties = ("nativeIdentity", "disabled", "locked", "type", "id", "name", "created", "modified", "activityInsights") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "nativeIdentity"))) { #optional property not found + $NativeIdentity = $null + } else { + $NativeIdentity = $JsonParameters.PSobject.Properties["nativeIdentity"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "disabled"))) { #optional property not found + $Disabled = $null + } else { + $Disabled = $JsonParameters.PSobject.Properties["disabled"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "locked"))) { #optional property not found + $Locked = $null + } else { + $Locked = $JsonParameters.PSobject.Properties["locked"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "activityInsights"))) { #optional property not found + $ActivityInsights = $null + } else { + $ActivityInsights = $JsonParameters.PSobject.Properties["activityInsights"].value + } + + $PSO = [PSCustomObject]@{ + "nativeIdentity" = ${NativeIdentity} + "disabled" = ${Disabled} + "locked" = ${Locked} + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + "created" = ${Created} + "modified" = ${Modified} + "activityInsights" = ${ActivityInsights} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ReviewableRole.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ReviewableRole.ps1 new file mode 100644 index 000000000..2dfa0949b --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ReviewableRole.ps1 @@ -0,0 +1,200 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +The id for the Role +.PARAMETER Name +The name of the Role +.PARAMETER Description +Information about the Role +.PARAMETER Privileged +Indicates if the entitlement is a privileged entitlement +.PARAMETER Owner +No description available. +.PARAMETER Revocable +Indicates whether the Role can be revoked or requested +.PARAMETER EndDate +The date when a user's access expires. +.PARAMETER AccessProfiles +The list of Access Profiles associated with this Role +.PARAMETER Entitlements +The list of entitlements associated with this Role +.OUTPUTS + +ReviewableRole +#> + +function Initialize-V2024ReviewableRole { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Privileged}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Owner}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Revocable}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${EndDate}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${AccessProfiles}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Entitlements} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ReviewableRole' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "description" = ${Description} + "privileged" = ${Privileged} + "owner" = ${Owner} + "revocable" = ${Revocable} + "endDate" = ${EndDate} + "accessProfiles" = ${AccessProfiles} + "entitlements" = ${Entitlements} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ReviewableRole + +.DESCRIPTION + +Convert from JSON to ReviewableRole + +.PARAMETER Json + +Json object + +.OUTPUTS + +ReviewableRole +#> +function ConvertFrom-V2024JsonToReviewableRole { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ReviewableRole' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ReviewableRole + $AllProperties = ("id", "name", "description", "privileged", "owner", "revocable", "endDate", "accessProfiles", "entitlements") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "privileged"))) { #optional property not found + $Privileged = $null + } else { + $Privileged = $JsonParameters.PSobject.Properties["privileged"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "owner"))) { #optional property not found + $Owner = $null + } else { + $Owner = $JsonParameters.PSobject.Properties["owner"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "revocable"))) { #optional property not found + $Revocable = $null + } else { + $Revocable = $JsonParameters.PSobject.Properties["revocable"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "endDate"))) { #optional property not found + $EndDate = $null + } else { + $EndDate = $JsonParameters.PSobject.Properties["endDate"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accessProfiles"))) { #optional property not found + $AccessProfiles = $null + } else { + $AccessProfiles = $JsonParameters.PSobject.Properties["accessProfiles"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "entitlements"))) { #optional property not found + $Entitlements = $null + } else { + $Entitlements = $JsonParameters.PSobject.Properties["entitlements"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "description" = ${Description} + "privileged" = ${Privileged} + "owner" = ${Owner} + "revocable" = ${Revocable} + "endDate" = ${EndDate} + "accessProfiles" = ${AccessProfiles} + "entitlements" = ${Entitlements} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Reviewer.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Reviewer.ps1 new file mode 100644 index 000000000..8464f5d1c --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Reviewer.ps1 @@ -0,0 +1,162 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +The id of the reviewer. +.PARAMETER Name +The name of the reviewer. +.PARAMETER Email +The email of the reviewing identity. +.PARAMETER Type +The type of the reviewing identity. +.PARAMETER Created +The created date of the reviewing identity. +.PARAMETER Modified +The modified date of the reviewing identity. +.OUTPUTS + +Reviewer +#> + +function Initialize-V2024Reviewer { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Email}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Modified} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Reviewer' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "email" = ${Email} + "type" = ${Type} + "created" = ${Created} + "modified" = ${Modified} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Reviewer + +.DESCRIPTION + +Convert from JSON to Reviewer + +.PARAMETER Json + +Json object + +.OUTPUTS + +Reviewer +#> +function ConvertFrom-V2024JsonToReviewer { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Reviewer' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Reviewer + $AllProperties = ("id", "name", "email", "type", "created", "modified") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "email"))) { #optional property not found + $Email = $null + } else { + $Email = $JsonParameters.PSobject.Properties["email"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "email" = ${Email} + "type" = ${Type} + "created" = ${Created} + "modified" = ${Modified} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Reviewer1.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Reviewer1.ps1 new file mode 100644 index 000000000..67f09020d --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Reviewer1.ps1 @@ -0,0 +1,152 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Details of the reviewer for certification. + +.PARAMETER Type +The reviewer's DTO type. +.PARAMETER Id +The reviewer's ID. +.PARAMETER Name +The reviewer's display name. +.PARAMETER Email +The reviewing identity's email. Only applicable to `IDENTITY`. +.OUTPUTS + +Reviewer1 +#> + +function Initialize-V2024Reviewer1 { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY", "GOVERNANCE_GROUP")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Email} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Reviewer1' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + "email" = ${Email} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Reviewer1 + +.DESCRIPTION + +Convert from JSON to Reviewer1 + +.PARAMETER Json + +Json object + +.OUTPUTS + +Reviewer1 +#> +function ConvertFrom-V2024JsonToReviewer1 { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Reviewer1' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Reviewer1 + $AllProperties = ("type", "id", "name", "email") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'type' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "email"))) { #optional property not found + $Email = $null + } else { + $Email = $JsonParameters.PSobject.Properties["email"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + "email" = ${Email} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Revocability.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Revocability.ps1 new file mode 100644 index 000000000..cb3c3ba54 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Revocability.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER ApprovalSchemes +List describing the steps in approving the revocation request +.OUTPUTS + +Revocability +#> + +function Initialize-V2024Revocability { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${ApprovalSchemes} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Revocability' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "approvalSchemes" = ${ApprovalSchemes} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Revocability + +.DESCRIPTION + +Convert from JSON to Revocability + +.PARAMETER Json + +Json object + +.OUTPUTS + +Revocability +#> +function ConvertFrom-V2024JsonToRevocability { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Revocability' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Revocability + $AllProperties = ("approvalSchemes") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "approvalSchemes"))) { #optional property not found + $ApprovalSchemes = $null + } else { + $ApprovalSchemes = $JsonParameters.PSobject.Properties["approvalSchemes"].value + } + + $PSO = [PSCustomObject]@{ + "approvalSchemes" = ${ApprovalSchemes} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RevocabilityForRole.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RevocabilityForRole.ps1 new file mode 100644 index 000000000..410206aa1 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RevocabilityForRole.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER CommentsRequired +Whether the requester of the containing object must provide comments justifying the request +.PARAMETER DenialCommentsRequired +Whether an approver must provide comments when denying the request +.PARAMETER ApprovalSchemes +List describing the steps in approving the revocation request +.OUTPUTS + +RevocabilityForRole +#> + +function Initialize-V2024RevocabilityForRole { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${CommentsRequired} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${DenialCommentsRequired} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${ApprovalSchemes} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RevocabilityForRole' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "commentsRequired" = ${CommentsRequired} + "denialCommentsRequired" = ${DenialCommentsRequired} + "approvalSchemes" = ${ApprovalSchemes} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RevocabilityForRole + +.DESCRIPTION + +Convert from JSON to RevocabilityForRole + +.PARAMETER Json + +Json object + +.OUTPUTS + +RevocabilityForRole +#> +function ConvertFrom-V2024JsonToRevocabilityForRole { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RevocabilityForRole' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RevocabilityForRole + $AllProperties = ("commentsRequired", "denialCommentsRequired", "approvalSchemes") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "commentsRequired"))) { #optional property not found + $CommentsRequired = $null + } else { + $CommentsRequired = $JsonParameters.PSobject.Properties["commentsRequired"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "denialCommentsRequired"))) { #optional property not found + $DenialCommentsRequired = $null + } else { + $DenialCommentsRequired = $JsonParameters.PSobject.Properties["denialCommentsRequired"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "approvalSchemes"))) { #optional property not found + $ApprovalSchemes = $null + } else { + $ApprovalSchemes = $JsonParameters.PSobject.Properties["approvalSchemes"].value + } + + $PSO = [PSCustomObject]@{ + "commentsRequired" = ${CommentsRequired} + "denialCommentsRequired" = ${DenialCommentsRequired} + "approvalSchemes" = ${ApprovalSchemes} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RightPad.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RightPad.ps1 new file mode 100644 index 000000000..f24e410fc --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RightPad.ps1 @@ -0,0 +1,143 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Length +An integer value for the desired length of the final output string +.PARAMETER Padding +A string value representing the character that the incoming data should be padded with to get to the desired length If not provided, the transform will default to a single space ("" "") character for padding +.PARAMETER RequiresPeriodicRefresh +A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process +.PARAMETER VarInput +This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI. +.OUTPUTS + +RightPad +#> + +function Initialize-V2024RightPad { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Length}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Padding}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${RequiresPeriodicRefresh} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${VarInput} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RightPad' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Length) { + throw "invalid value for 'Length', 'Length' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "length" = ${Length} + "padding" = ${Padding} + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + "input" = ${VarInput} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RightPad + +.DESCRIPTION + +Convert from JSON to RightPad + +.PARAMETER Json + +Json object + +.OUTPUTS + +RightPad +#> +function ConvertFrom-V2024JsonToRightPad { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RightPad' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RightPad + $AllProperties = ("length", "padding", "requiresPeriodicRefresh", "input") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'length' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "length"))) { + throw "Error! JSON cannot be serialized due to the required property 'length' missing." + } else { + $Length = $JsonParameters.PSobject.Properties["length"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "padding"))) { #optional property not found + $Padding = $null + } else { + $Padding = $JsonParameters.PSobject.Properties["padding"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requiresPeriodicRefresh"))) { #optional property not found + $RequiresPeriodicRefresh = $null + } else { + $RequiresPeriodicRefresh = $JsonParameters.PSobject.Properties["requiresPeriodicRefresh"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "input"))) { #optional property not found + $VarInput = $null + } else { + $VarInput = $JsonParameters.PSobject.Properties["input"].value + } + + $PSO = [PSCustomObject]@{ + "length" = ${Length} + "padding" = ${Padding} + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + "input" = ${VarInput} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Role.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Role.ps1 new file mode 100644 index 000000000..052246d59 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Role.ps1 @@ -0,0 +1,308 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +A Role + +.PARAMETER Id +The id of the Role. This field must be left null when creating an Role, otherwise a 400 Bad Request error will result. +.PARAMETER Name +The human-readable display name of the Role +.PARAMETER Description +A human-readable description of the Role +.PARAMETER Owner +No description available. +.PARAMETER AccessProfiles +No description available. +.PARAMETER Entitlements +No description available. +.PARAMETER Membership +No description available. +.PARAMETER LegacyMembershipInfo +This field is not directly modifiable and is generally expected to be *null*. In very rare instances, some Roles may have been created using membership selection criteria that are no longer fully supported. While these Roles will still work, they should be migrated to STANDARD or IDENTITY_LIST selection criteria. This field exists for informational purposes as an aid to such migration. +.PARAMETER Enabled +Whether the Role is enabled or not. +.PARAMETER Requestable +Whether the Role can be the target of access requests. +.PARAMETER AccessRequestConfig +No description available. +.PARAMETER RevocationRequestConfig +No description available. +.PARAMETER Segments +List of IDs of segments, if any, to which this Role is assigned. +.PARAMETER Dimensional +No description available. +.PARAMETER DimensionRefs +No description available. +.OUTPUTS + +Role +#> + +function Initialize-V2024Role { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Owner}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${AccessProfiles}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Entitlements}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Membership}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${LegacyMembershipInfo}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Enabled} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Requestable} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${AccessRequestConfig}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${RevocationRequestConfig}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Segments}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Dimensional}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${DimensionRefs} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Role' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if ($Name.length -gt 128) { + throw "invalid value for 'Name', the character length must be smaller than or equal to 128." + } + + if (!$Owner) { + throw "invalid value for 'Owner', 'Owner' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "description" = ${Description} + "owner" = ${Owner} + "accessProfiles" = ${AccessProfiles} + "entitlements" = ${Entitlements} + "membership" = ${Membership} + "legacyMembershipInfo" = ${LegacyMembershipInfo} + "enabled" = ${Enabled} + "requestable" = ${Requestable} + "accessRequestConfig" = ${AccessRequestConfig} + "revocationRequestConfig" = ${RevocationRequestConfig} + "segments" = ${Segments} + "dimensional" = ${Dimensional} + "dimensionRefs" = ${DimensionRefs} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Role + +.DESCRIPTION + +Convert from JSON to Role + +.PARAMETER Json + +Json object + +.OUTPUTS + +Role +#> +function ConvertFrom-V2024JsonToRole { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Role' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Role + $AllProperties = ("id", "name", "created", "modified", "description", "owner", "accessProfiles", "entitlements", "membership", "legacyMembershipInfo", "enabled", "requestable", "accessRequestConfig", "revocationRequestConfig", "segments", "dimensional", "dimensionRefs") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'name' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "owner"))) { + throw "Error! JSON cannot be serialized due to the required property 'owner' missing." + } else { + $Owner = $JsonParameters.PSobject.Properties["owner"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accessProfiles"))) { #optional property not found + $AccessProfiles = $null + } else { + $AccessProfiles = $JsonParameters.PSobject.Properties["accessProfiles"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "entitlements"))) { #optional property not found + $Entitlements = $null + } else { + $Entitlements = $JsonParameters.PSobject.Properties["entitlements"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "membership"))) { #optional property not found + $Membership = $null + } else { + $Membership = $JsonParameters.PSobject.Properties["membership"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "legacyMembershipInfo"))) { #optional property not found + $LegacyMembershipInfo = $null + } else { + $LegacyMembershipInfo = $JsonParameters.PSobject.Properties["legacyMembershipInfo"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "enabled"))) { #optional property not found + $Enabled = $null + } else { + $Enabled = $JsonParameters.PSobject.Properties["enabled"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requestable"))) { #optional property not found + $Requestable = $null + } else { + $Requestable = $JsonParameters.PSobject.Properties["requestable"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accessRequestConfig"))) { #optional property not found + $AccessRequestConfig = $null + } else { + $AccessRequestConfig = $JsonParameters.PSobject.Properties["accessRequestConfig"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "revocationRequestConfig"))) { #optional property not found + $RevocationRequestConfig = $null + } else { + $RevocationRequestConfig = $JsonParameters.PSobject.Properties["revocationRequestConfig"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "segments"))) { #optional property not found + $Segments = $null + } else { + $Segments = $JsonParameters.PSobject.Properties["segments"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "dimensional"))) { #optional property not found + $Dimensional = $null + } else { + $Dimensional = $JsonParameters.PSobject.Properties["dimensional"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "dimensionRefs"))) { #optional property not found + $DimensionRefs = $null + } else { + $DimensionRefs = $JsonParameters.PSobject.Properties["dimensionRefs"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "created" = ${Created} + "modified" = ${Modified} + "description" = ${Description} + "owner" = ${Owner} + "accessProfiles" = ${AccessProfiles} + "entitlements" = ${Entitlements} + "membership" = ${Membership} + "legacyMembershipInfo" = ${LegacyMembershipInfo} + "enabled" = ${Enabled} + "requestable" = ${Requestable} + "accessRequestConfig" = ${AccessRequestConfig} + "revocationRequestConfig" = ${RevocationRequestConfig} + "segments" = ${Segments} + "dimensional" = ${Dimensional} + "dimensionRefs" = ${DimensionRefs} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleAssignmentDto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleAssignmentDto.ps1 new file mode 100644 index 000000000..a3fad584d --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleAssignmentDto.ps1 @@ -0,0 +1,200 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +Assignment Id +.PARAMETER Role +No description available. +.PARAMETER Comments +Comments added by the user when the assignment was made +.PARAMETER AssignmentSource +Source describing how this assignment was made +.PARAMETER Assigner +No description available. +.PARAMETER AssignedDimensions +Dimensions assigned related to this role +.PARAMETER AssignmentContext +No description available. +.PARAMETER AccountTargets +No description available. +.PARAMETER RemoveDate +Date that the assignment will be removed +.OUTPUTS + +RoleAssignmentDto +#> + +function Initialize-V2024RoleAssignmentDto { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Role}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Comments}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AssignmentSource}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Assigner}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${AssignedDimensions}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${AssignmentContext}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${AccountTargets}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${RemoveDate} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RoleAssignmentDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "role" = ${Role} + "comments" = ${Comments} + "assignmentSource" = ${AssignmentSource} + "assigner" = ${Assigner} + "assignedDimensions" = ${AssignedDimensions} + "assignmentContext" = ${AssignmentContext} + "accountTargets" = ${AccountTargets} + "removeDate" = ${RemoveDate} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RoleAssignmentDto + +.DESCRIPTION + +Convert from JSON to RoleAssignmentDto + +.PARAMETER Json + +Json object + +.OUTPUTS + +RoleAssignmentDto +#> +function ConvertFrom-V2024JsonToRoleAssignmentDto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RoleAssignmentDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RoleAssignmentDto + $AllProperties = ("id", "role", "comments", "assignmentSource", "assigner", "assignedDimensions", "assignmentContext", "accountTargets", "removeDate") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "role"))) { #optional property not found + $Role = $null + } else { + $Role = $JsonParameters.PSobject.Properties["role"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "comments"))) { #optional property not found + $Comments = $null + } else { + $Comments = $JsonParameters.PSobject.Properties["comments"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "assignmentSource"))) { #optional property not found + $AssignmentSource = $null + } else { + $AssignmentSource = $JsonParameters.PSobject.Properties["assignmentSource"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "assigner"))) { #optional property not found + $Assigner = $null + } else { + $Assigner = $JsonParameters.PSobject.Properties["assigner"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "assignedDimensions"))) { #optional property not found + $AssignedDimensions = $null + } else { + $AssignedDimensions = $JsonParameters.PSobject.Properties["assignedDimensions"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "assignmentContext"))) { #optional property not found + $AssignmentContext = $null + } else { + $AssignmentContext = $JsonParameters.PSobject.Properties["assignmentContext"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accountTargets"))) { #optional property not found + $AccountTargets = $null + } else { + $AccountTargets = $JsonParameters.PSobject.Properties["accountTargets"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "removeDate"))) { #optional property not found + $RemoveDate = $null + } else { + $RemoveDate = $JsonParameters.PSobject.Properties["removeDate"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "role" = ${Role} + "comments" = ${Comments} + "assignmentSource" = ${AssignmentSource} + "assigner" = ${Assigner} + "assignedDimensions" = ${AssignedDimensions} + "assignmentContext" = ${AssignmentContext} + "accountTargets" = ${AccountTargets} + "removeDate" = ${RemoveDate} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleAssignmentRef.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleAssignmentRef.ps1 new file mode 100644 index 000000000..07f02b35e --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleAssignmentRef.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +Assignment Id +.PARAMETER Role +No description available. +.OUTPUTS + +RoleAssignmentRef +#> + +function Initialize-V2024RoleAssignmentRef { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Role} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RoleAssignmentRef' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "role" = ${Role} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RoleAssignmentRef + +.DESCRIPTION + +Convert from JSON to RoleAssignmentRef + +.PARAMETER Json + +Json object + +.OUTPUTS + +RoleAssignmentRef +#> +function ConvertFrom-V2024JsonToRoleAssignmentRef { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RoleAssignmentRef' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RoleAssignmentRef + $AllProperties = ("id", "role") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "role"))) { #optional property not found + $Role = $null + } else { + $Role = $JsonParameters.PSobject.Properties["role"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "role" = ${Role} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleAssignmentSourceType.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleAssignmentSourceType.ps1 new file mode 100644 index 000000000..0383913dc --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleAssignmentSourceType.ps1 @@ -0,0 +1,24 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum RoleAssignmentSourceType. + +.DESCRIPTION + +Type which indicates how a particular Identity obtained a particular Role +#> + +enum RoleAssignmentSourceType { + # enum value: "ACCESS_REQUEST" + ACCESS_REQUEST + # enum value: "ROLE_MEMBERSHIP" + ROLE_MEMBERSHIP +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleBulkDeleteRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleBulkDeleteRequest.ps1 new file mode 100644 index 000000000..8b64c27cf --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleBulkDeleteRequest.ps1 @@ -0,0 +1,104 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER RoleIds +List of IDs of Roles to be deleted. +.OUTPUTS + +RoleBulkDeleteRequest +#> + +function Initialize-V2024RoleBulkDeleteRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${RoleIds} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RoleBulkDeleteRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$RoleIds) { + throw "invalid value for 'RoleIds', 'RoleIds' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "roleIds" = ${RoleIds} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RoleBulkDeleteRequest + +.DESCRIPTION + +Convert from JSON to RoleBulkDeleteRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +RoleBulkDeleteRequest +#> +function ConvertFrom-V2024JsonToRoleBulkDeleteRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RoleBulkDeleteRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RoleBulkDeleteRequest + $AllProperties = ("roleIds") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'roleIds' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "roleIds"))) { + throw "Error! JSON cannot be serialized due to the required property 'roleIds' missing." + } else { + $RoleIds = $JsonParameters.PSobject.Properties["roleIds"].value + } + + $PSO = [PSCustomObject]@{ + "roleIds" = ${RoleIds} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleCriteriaKey.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleCriteriaKey.ps1 new file mode 100644 index 000000000..c79775e03 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleCriteriaKey.ps1 @@ -0,0 +1,135 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Refers to a specific Identity attribute, Account attibute, or Entitlement used in Role membership criteria + +.PARAMETER Type +No description available. +.PARAMETER Property +The name of the attribute or entitlement to which the associated criteria applies. +.PARAMETER SourceId +ID of the Source from which an account attribute or entitlement is drawn. Required if type is ACCOUNT or ENTITLEMENT +.OUTPUTS + +RoleCriteriaKey +#> + +function Initialize-V2024RoleCriteriaKey { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY", "ACCOUNT", "ENTITLEMENT")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Property}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SourceId} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RoleCriteriaKey' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Property) { + throw "invalid value for 'Property', 'Property' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "property" = ${Property} + "sourceId" = ${SourceId} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RoleCriteriaKey + +.DESCRIPTION + +Convert from JSON to RoleCriteriaKey + +.PARAMETER Json + +Json object + +.OUTPUTS + +RoleCriteriaKey +#> +function ConvertFrom-V2024JsonToRoleCriteriaKey { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RoleCriteriaKey' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RoleCriteriaKey + $AllProperties = ("type", "property", "sourceId") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'type' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "property"))) { + throw "Error! JSON cannot be serialized due to the required property 'property' missing." + } else { + $Property = $JsonParameters.PSobject.Properties["property"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceId"))) { #optional property not found + $SourceId = $null + } else { + $SourceId = $JsonParameters.PSobject.Properties["sourceId"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "property" = ${Property} + "sourceId" = ${SourceId} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleCriteriaKeyType.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleCriteriaKeyType.ps1 new file mode 100644 index 000000000..c5b3c6269 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleCriteriaKeyType.ps1 @@ -0,0 +1,26 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum RoleCriteriaKeyType. + +.DESCRIPTION + +Indicates whether the associated criteria represents an expression on identity attributes, account attributes, or entitlements, respectively. +#> + +enum RoleCriteriaKeyType { + # enum value: "IDENTITY" + IDENTITY + # enum value: "ACCOUNT" + ACCOUNT + # enum value: "ENTITLEMENT" + ENTITLEMENT +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleCriteriaLevel1.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleCriteriaLevel1.ps1 new file mode 100644 index 000000000..d51276be0 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleCriteriaLevel1.ps1 @@ -0,0 +1,136 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Defines STANDARD type Role membership + +.PARAMETER Operation +No description available. +.PARAMETER Key +No description available. +.PARAMETER StringValue +String value to test the Identity attribute, Account attribute, or Entitlement specified in the key w/r/t the specified operation. If this criteria is a leaf node, that is, if the operation is one of EQUALS, NOT_EQUALS, CONTAINS, STARTS_WITH, or ENDS_WITH, this field is required. Otherwise, specifying it is an error. +.PARAMETER Children +Array of child criteria. Required if the operation is AND or OR, otherwise it must be left null. A maximum of three levels of criteria are supported, including leaf nodes. Additionally, AND nodes can only be children or OR nodes and vice-versa. +.OUTPUTS + +RoleCriteriaLevel1 +#> + +function Initialize-V2024RoleCriteriaLevel1 { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("EQUALS", "NOT_EQUALS", "CONTAINS", "STARTS_WITH", "ENDS_WITH", "AND", "OR")] + [PSCustomObject] + ${Operation}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Key}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${StringValue}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Children} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RoleCriteriaLevel1' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "operation" = ${Operation} + "key" = ${Key} + "stringValue" = ${StringValue} + "children" = ${Children} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RoleCriteriaLevel1 + +.DESCRIPTION + +Convert from JSON to RoleCriteriaLevel1 + +.PARAMETER Json + +Json object + +.OUTPUTS + +RoleCriteriaLevel1 +#> +function ConvertFrom-V2024JsonToRoleCriteriaLevel1 { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RoleCriteriaLevel1' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RoleCriteriaLevel1 + $AllProperties = ("operation", "key", "stringValue", "children") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "operation"))) { #optional property not found + $Operation = $null + } else { + $Operation = $JsonParameters.PSobject.Properties["operation"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "key"))) { #optional property not found + $Key = $null + } else { + $Key = $JsonParameters.PSobject.Properties["key"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "stringValue"))) { #optional property not found + $StringValue = $null + } else { + $StringValue = $JsonParameters.PSobject.Properties["stringValue"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "children"))) { #optional property not found + $Children = $null + } else { + $Children = $JsonParameters.PSobject.Properties["children"].value + } + + $PSO = [PSCustomObject]@{ + "operation" = ${Operation} + "key" = ${Key} + "stringValue" = ${StringValue} + "children" = ${Children} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleCriteriaLevel2.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleCriteriaLevel2.ps1 new file mode 100644 index 000000000..0fc7b81b6 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleCriteriaLevel2.ps1 @@ -0,0 +1,136 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Defines STANDARD type Role membership + +.PARAMETER Operation +No description available. +.PARAMETER Key +No description available. +.PARAMETER StringValue +String value to test the Identity attribute, Account attribute, or Entitlement specified in the key w/r/t the specified operation. If this criteria is a leaf node, that is, if the operation is one of EQUALS, NOT_EQUALS, CONTAINS, STARTS_WITH, or ENDS_WITH, this field is required. Otherwise, specifying it is an error. +.PARAMETER Children +Array of child criteria. Required if the operation is AND or OR, otherwise it must be left null. A maximum of three levels of criteria are supported, including leaf nodes. Additionally, AND nodes can only be children or OR nodes and vice-versa. +.OUTPUTS + +RoleCriteriaLevel2 +#> + +function Initialize-V2024RoleCriteriaLevel2 { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("EQUALS", "NOT_EQUALS", "CONTAINS", "STARTS_WITH", "ENDS_WITH", "AND", "OR")] + [PSCustomObject] + ${Operation}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Key}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${StringValue}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Children} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RoleCriteriaLevel2' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "operation" = ${Operation} + "key" = ${Key} + "stringValue" = ${StringValue} + "children" = ${Children} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RoleCriteriaLevel2 + +.DESCRIPTION + +Convert from JSON to RoleCriteriaLevel2 + +.PARAMETER Json + +Json object + +.OUTPUTS + +RoleCriteriaLevel2 +#> +function ConvertFrom-V2024JsonToRoleCriteriaLevel2 { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RoleCriteriaLevel2' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RoleCriteriaLevel2 + $AllProperties = ("operation", "key", "stringValue", "children") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "operation"))) { #optional property not found + $Operation = $null + } else { + $Operation = $JsonParameters.PSobject.Properties["operation"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "key"))) { #optional property not found + $Key = $null + } else { + $Key = $JsonParameters.PSobject.Properties["key"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "stringValue"))) { #optional property not found + $StringValue = $null + } else { + $StringValue = $JsonParameters.PSobject.Properties["stringValue"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "children"))) { #optional property not found + $Children = $null + } else { + $Children = $JsonParameters.PSobject.Properties["children"].value + } + + $PSO = [PSCustomObject]@{ + "operation" = ${Operation} + "key" = ${Key} + "stringValue" = ${StringValue} + "children" = ${Children} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleCriteriaLevel3.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleCriteriaLevel3.ps1 new file mode 100644 index 000000000..ee2e498c2 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleCriteriaLevel3.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Defines STANDARD type Role membership + +.PARAMETER Operation +No description available. +.PARAMETER Key +No description available. +.PARAMETER StringValue +String value to test the Identity attribute, Account attribute, or Entitlement specified in the key w/r/t the specified operation. If this criteria is a leaf node, that is, if the operation is one of EQUALS, NOT_EQUALS, CONTAINS, STARTS_WITH, or ENDS_WITH, this field is required. Otherwise, specifying it is an error. +.OUTPUTS + +RoleCriteriaLevel3 +#> + +function Initialize-V2024RoleCriteriaLevel3 { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("EQUALS", "NOT_EQUALS", "CONTAINS", "STARTS_WITH", "ENDS_WITH", "AND", "OR")] + [PSCustomObject] + ${Operation}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Key}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${StringValue} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RoleCriteriaLevel3' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "operation" = ${Operation} + "key" = ${Key} + "stringValue" = ${StringValue} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RoleCriteriaLevel3 + +.DESCRIPTION + +Convert from JSON to RoleCriteriaLevel3 + +.PARAMETER Json + +Json object + +.OUTPUTS + +RoleCriteriaLevel3 +#> +function ConvertFrom-V2024JsonToRoleCriteriaLevel3 { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RoleCriteriaLevel3' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RoleCriteriaLevel3 + $AllProperties = ("operation", "key", "stringValue") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "operation"))) { #optional property not found + $Operation = $null + } else { + $Operation = $JsonParameters.PSobject.Properties["operation"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "key"))) { #optional property not found + $Key = $null + } else { + $Key = $JsonParameters.PSobject.Properties["key"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "stringValue"))) { #optional property not found + $StringValue = $null + } else { + $StringValue = $JsonParameters.PSobject.Properties["stringValue"].value + } + + $PSO = [PSCustomObject]@{ + "operation" = ${Operation} + "key" = ${Key} + "stringValue" = ${StringValue} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleCriteriaOperation.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleCriteriaOperation.ps1 new file mode 100644 index 000000000..2fcf07a17 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleCriteriaOperation.ps1 @@ -0,0 +1,34 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum RoleCriteriaOperation. + +.DESCRIPTION + +An operation +#> + +enum RoleCriteriaOperation { + # enum value: "EQUALS" + EQUALS + # enum value: "NOT_EQUALS" + NOT_EQUALS + # enum value: "CONTAINS" + CONTAINS + # enum value: "STARTS_WITH" + STARTS_WITH + # enum value: "ENDS_WITH" + ENDS_WITH + # enum value: "AND" + AND + # enum value: "OR" + OR +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleDocument.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleDocument.ps1 new file mode 100644 index 000000000..a78b1d069 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleDocument.ps1 @@ -0,0 +1,334 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Role + +.PARAMETER Id +The unique ID of the referenced object. +.PARAMETER Name +The human readable name of the referenced object. +.PARAMETER Type +No description available. +.PARAMETER Description +Access item's description. +.PARAMETER Created +ISO-8601 date-time referring to the time when the object was created. +.PARAMETER Modified +ISO-8601 date-time referring to the time when the object was last modified. +.PARAMETER Synced +ISO-8601 date-time referring to the date-time when object was queued to be synced into search database for use in the search API. This date-time changes anytime there is an update to the object, which triggers a synchronization event being sent to the search database. There may be some delay between the `synced` time and the time when the updated data is actually available in the search API. +.PARAMETER Enabled +Indicates whether the access item is currently enabled. +.PARAMETER Requestable +Indicates whether the access item can be requested. +.PARAMETER RequestCommentsRequired +Indicates whether comments are required for requests to access the item. +.PARAMETER Owner +No description available. +.PARAMETER AccessProfiles +Access profiles included with the role. +.PARAMETER AccessProfileCount +Number of access profiles included with the role. +.PARAMETER Tags +Tags that have been applied to the object. +.PARAMETER Segments +Segments with the role. +.PARAMETER SegmentCount +Number of segments with the role. +.PARAMETER Entitlements +Entitlements included with the role. +.PARAMETER EntitlementCount +Number of entitlements included with the role. +.OUTPUTS + +RoleDocument +#> + +function Initialize-V2024RoleDocument { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("accessprofile", "accountactivity", "account", "aggregation", "entitlement", "event", "identity", "role")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Modified}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Synced}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Enabled} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Requestable} = $true, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${RequestCommentsRequired} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Owner}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${AccessProfiles}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${AccessProfileCount}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Tags}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Segments}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${SegmentCount}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Entitlements}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${EntitlementCount} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RoleDocument' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "_type" = ${Type} + "description" = ${Description} + "created" = ${Created} + "modified" = ${Modified} + "synced" = ${Synced} + "enabled" = ${Enabled} + "requestable" = ${Requestable} + "requestCommentsRequired" = ${RequestCommentsRequired} + "owner" = ${Owner} + "accessProfiles" = ${AccessProfiles} + "accessProfileCount" = ${AccessProfileCount} + "tags" = ${Tags} + "segments" = ${Segments} + "segmentCount" = ${SegmentCount} + "entitlements" = ${Entitlements} + "entitlementCount" = ${EntitlementCount} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RoleDocument + +.DESCRIPTION + +Convert from JSON to RoleDocument + +.PARAMETER Json + +Json object + +.OUTPUTS + +RoleDocument +#> +function ConvertFrom-V2024JsonToRoleDocument { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RoleDocument' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RoleDocument + $AllProperties = ("id", "name", "_type", "description", "created", "modified", "synced", "enabled", "requestable", "requestCommentsRequired", "owner", "accessProfiles", "accessProfileCount", "tags", "segments", "segmentCount", "entitlements", "entitlementCount") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'id' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "_type"))) { + throw "Error! JSON cannot be serialized due to the required property '_type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["_type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "synced"))) { #optional property not found + $Synced = $null + } else { + $Synced = $JsonParameters.PSobject.Properties["synced"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "enabled"))) { #optional property not found + $Enabled = $null + } else { + $Enabled = $JsonParameters.PSobject.Properties["enabled"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requestable"))) { #optional property not found + $Requestable = $null + } else { + $Requestable = $JsonParameters.PSobject.Properties["requestable"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requestCommentsRequired"))) { #optional property not found + $RequestCommentsRequired = $null + } else { + $RequestCommentsRequired = $JsonParameters.PSobject.Properties["requestCommentsRequired"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "owner"))) { #optional property not found + $Owner = $null + } else { + $Owner = $JsonParameters.PSobject.Properties["owner"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accessProfiles"))) { #optional property not found + $AccessProfiles = $null + } else { + $AccessProfiles = $JsonParameters.PSobject.Properties["accessProfiles"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accessProfileCount"))) { #optional property not found + $AccessProfileCount = $null + } else { + $AccessProfileCount = $JsonParameters.PSobject.Properties["accessProfileCount"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "tags"))) { #optional property not found + $Tags = $null + } else { + $Tags = $JsonParameters.PSobject.Properties["tags"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "segments"))) { #optional property not found + $Segments = $null + } else { + $Segments = $JsonParameters.PSobject.Properties["segments"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "segmentCount"))) { #optional property not found + $SegmentCount = $null + } else { + $SegmentCount = $JsonParameters.PSobject.Properties["segmentCount"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "entitlements"))) { #optional property not found + $Entitlements = $null + } else { + $Entitlements = $JsonParameters.PSobject.Properties["entitlements"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "entitlementCount"))) { #optional property not found + $EntitlementCount = $null + } else { + $EntitlementCount = $JsonParameters.PSobject.Properties["entitlementCount"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "_type" = ${Type} + "description" = ${Description} + "created" = ${Created} + "modified" = ${Modified} + "synced" = ${Synced} + "enabled" = ${Enabled} + "requestable" = ${Requestable} + "requestCommentsRequired" = ${RequestCommentsRequired} + "owner" = ${Owner} + "accessProfiles" = ${AccessProfiles} + "accessProfileCount" = ${AccessProfileCount} + "tags" = ${Tags} + "segments" = ${Segments} + "segmentCount" = ${SegmentCount} + "entitlements" = ${Entitlements} + "entitlementCount" = ${EntitlementCount} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleIdentity.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleIdentity.ps1 new file mode 100644 index 000000000..20efe7a1d --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleIdentity.ps1 @@ -0,0 +1,149 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +A subset of the fields of an Identity which is a member of a Role. + +.PARAMETER Id +The ID of the Identity +.PARAMETER AliasName +The alias / username of the Identity +.PARAMETER Name +The human-readable display name of the Identity +.PARAMETER Email +Email address of the Identity +.PARAMETER RoleAssignmentSource +No description available. +.OUTPUTS + +RoleIdentity +#> + +function Initialize-V2024RoleIdentity { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AliasName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Email}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ACCESS_REQUEST", "ROLE_MEMBERSHIP")] + [PSCustomObject] + ${RoleAssignmentSource} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RoleIdentity' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "aliasName" = ${AliasName} + "name" = ${Name} + "email" = ${Email} + "roleAssignmentSource" = ${RoleAssignmentSource} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RoleIdentity + +.DESCRIPTION + +Convert from JSON to RoleIdentity + +.PARAMETER Json + +Json object + +.OUTPUTS + +RoleIdentity +#> +function ConvertFrom-V2024JsonToRoleIdentity { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RoleIdentity' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RoleIdentity + $AllProperties = ("id", "aliasName", "name", "email", "roleAssignmentSource") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "aliasName"))) { #optional property not found + $AliasName = $null + } else { + $AliasName = $JsonParameters.PSobject.Properties["aliasName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "email"))) { #optional property not found + $Email = $null + } else { + $Email = $JsonParameters.PSobject.Properties["email"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "roleAssignmentSource"))) { #optional property not found + $RoleAssignmentSource = $null + } else { + $RoleAssignmentSource = $JsonParameters.PSobject.Properties["roleAssignmentSource"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "aliasName" = ${AliasName} + "name" = ${Name} + "email" = ${Email} + "roleAssignmentSource" = ${RoleAssignmentSource} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleInsight.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleInsight.ps1 new file mode 100644 index 000000000..033959d80 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleInsight.ps1 @@ -0,0 +1,161 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +Insight id +.PARAMETER NumberOfUpdates +Total number of updates for this role +.PARAMETER CreatedDate +The date-time insights were last created for this role. +.PARAMETER ModifiedDate +The date-time insights were last modified for this role. +.PARAMETER Role +No description available. +.PARAMETER Insight +No description available. +.OUTPUTS + +RoleInsight +#> + +function Initialize-V2024RoleInsight { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${NumberOfUpdates}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${CreatedDate}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${ModifiedDate}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Role}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Insight} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RoleInsight' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "numberOfUpdates" = ${NumberOfUpdates} + "createdDate" = ${CreatedDate} + "modifiedDate" = ${ModifiedDate} + "role" = ${Role} + "insight" = ${Insight} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RoleInsight + +.DESCRIPTION + +Convert from JSON to RoleInsight + +.PARAMETER Json + +Json object + +.OUTPUTS + +RoleInsight +#> +function ConvertFrom-V2024JsonToRoleInsight { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RoleInsight' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RoleInsight + $AllProperties = ("id", "numberOfUpdates", "createdDate", "modifiedDate", "role", "insight") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "numberOfUpdates"))) { #optional property not found + $NumberOfUpdates = $null + } else { + $NumberOfUpdates = $JsonParameters.PSobject.Properties["numberOfUpdates"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "createdDate"))) { #optional property not found + $CreatedDate = $null + } else { + $CreatedDate = $JsonParameters.PSobject.Properties["createdDate"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modifiedDate"))) { #optional property not found + $ModifiedDate = $null + } else { + $ModifiedDate = $JsonParameters.PSobject.Properties["modifiedDate"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "role"))) { #optional property not found + $Role = $null + } else { + $Role = $JsonParameters.PSobject.Properties["role"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "insight"))) { #optional property not found + $Insight = $null + } else { + $Insight = $JsonParameters.PSobject.Properties["insight"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "numberOfUpdates" = ${NumberOfUpdates} + "createdDate" = ${CreatedDate} + "modifiedDate" = ${ModifiedDate} + "role" = ${Role} + "insight" = ${Insight} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleInsightsEntitlement.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleInsightsEntitlement.ps1 new file mode 100644 index 000000000..3813dd203 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleInsightsEntitlement.ps1 @@ -0,0 +1,161 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Name +Name of the entitlement +.PARAMETER Id +Id of the entitlement +.PARAMETER Description +Description for the entitlement +.PARAMETER Source +Source or the application for the entitlement +.PARAMETER Attribute +Attribute for the entitlement +.PARAMETER Value +Attribute value for the entitlement +.OUTPUTS + +RoleInsightsEntitlement +#> + +function Initialize-V2024RoleInsightsEntitlement { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Source}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Attribute}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Value} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RoleInsightsEntitlement' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "id" = ${Id} + "description" = ${Description} + "source" = ${Source} + "attribute" = ${Attribute} + "value" = ${Value} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RoleInsightsEntitlement + +.DESCRIPTION + +Convert from JSON to RoleInsightsEntitlement + +.PARAMETER Json + +Json object + +.OUTPUTS + +RoleInsightsEntitlement +#> +function ConvertFrom-V2024JsonToRoleInsightsEntitlement { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RoleInsightsEntitlement' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RoleInsightsEntitlement + $AllProperties = ("name", "id", "description", "source", "attribute", "value") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "source"))) { #optional property not found + $Source = $null + } else { + $Source = $JsonParameters.PSobject.Properties["source"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attribute"))) { #optional property not found + $Attribute = $null + } else { + $Attribute = $JsonParameters.PSobject.Properties["attribute"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "value"))) { #optional property not found + $Value = $null + } else { + $Value = $JsonParameters.PSobject.Properties["value"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "id" = ${Id} + "description" = ${Description} + "source" = ${Source} + "attribute" = ${Attribute} + "value" = ${Value} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleInsightsEntitlementChanges.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleInsightsEntitlementChanges.ps1 new file mode 100644 index 000000000..578247261 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleInsightsEntitlementChanges.ps1 @@ -0,0 +1,174 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Name +Name of the entitlement +.PARAMETER Id +Id of the entitlement +.PARAMETER Description +Description for the entitlement +.PARAMETER Attribute +Attribute for the entitlement +.PARAMETER Value +Attribute value for the entitlement +.PARAMETER Source +Source or the application for the entitlement +.PARAMETER Insight +No description available. +.OUTPUTS + +RoleInsightsEntitlementChanges +#> + +function Initialize-V2024RoleInsightsEntitlementChanges { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Attribute}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Value}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Source}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Insight} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RoleInsightsEntitlementChanges' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "id" = ${Id} + "description" = ${Description} + "attribute" = ${Attribute} + "value" = ${Value} + "source" = ${Source} + "insight" = ${Insight} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RoleInsightsEntitlementChanges + +.DESCRIPTION + +Convert from JSON to RoleInsightsEntitlementChanges + +.PARAMETER Json + +Json object + +.OUTPUTS + +RoleInsightsEntitlementChanges +#> +function ConvertFrom-V2024JsonToRoleInsightsEntitlementChanges { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RoleInsightsEntitlementChanges' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RoleInsightsEntitlementChanges + $AllProperties = ("name", "id", "description", "attribute", "value", "source", "insight") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attribute"))) { #optional property not found + $Attribute = $null + } else { + $Attribute = $JsonParameters.PSobject.Properties["attribute"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "value"))) { #optional property not found + $Value = $null + } else { + $Value = $JsonParameters.PSobject.Properties["value"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "source"))) { #optional property not found + $Source = $null + } else { + $Source = $JsonParameters.PSobject.Properties["source"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "insight"))) { #optional property not found + $Insight = $null + } else { + $Insight = $JsonParameters.PSobject.Properties["insight"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "id" = ${Id} + "description" = ${Description} + "attribute" = ${Attribute} + "value" = ${Value} + "source" = ${Source} + "insight" = ${Insight} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleInsightsIdentities.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleInsightsIdentities.ps1 new file mode 100644 index 000000000..0539f17ca --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleInsightsIdentities.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +Id for identity +.PARAMETER Name +Name for identity +.PARAMETER Attributes +No description available. +.OUTPUTS + +RoleInsightsIdentities +#> + +function Initialize-V2024RoleInsightsIdentities { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${Attributes} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RoleInsightsIdentities' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "attributes" = ${Attributes} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RoleInsightsIdentities + +.DESCRIPTION + +Convert from JSON to RoleInsightsIdentities + +.PARAMETER Json + +Json object + +.OUTPUTS + +RoleInsightsIdentities +#> +function ConvertFrom-V2024JsonToRoleInsightsIdentities { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RoleInsightsIdentities' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RoleInsightsIdentities + $AllProperties = ("id", "name", "attributes") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributes"))) { #optional property not found + $Attributes = $null + } else { + $Attributes = $JsonParameters.PSobject.Properties["attributes"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "attributes" = ${Attributes} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleInsightsInsight.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleInsightsInsight.ps1 new file mode 100644 index 000000000..d7174d68c --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleInsightsInsight.ps1 @@ -0,0 +1,148 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Type +The number of identities in this role with the entitlement. +.PARAMETER IdentitiesWithAccess +The number of identities in this role with the entitlement. +.PARAMETER IdentitiesImpacted +The number of identities in this role that do not have the specified entitlement. +.PARAMETER TotalNumberOfIdentities +The total number of identities. +.PARAMETER ImpactedIdentityNames +No description available. +.OUTPUTS + +RoleInsightsInsight +#> + +function Initialize-V2024RoleInsightsInsight { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${IdentitiesWithAccess}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${IdentitiesImpacted}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${TotalNumberOfIdentities}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ImpactedIdentityNames} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RoleInsightsInsight' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "identitiesWithAccess" = ${IdentitiesWithAccess} + "identitiesImpacted" = ${IdentitiesImpacted} + "totalNumberOfIdentities" = ${TotalNumberOfIdentities} + "impactedIdentityNames" = ${ImpactedIdentityNames} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RoleInsightsInsight + +.DESCRIPTION + +Convert from JSON to RoleInsightsInsight + +.PARAMETER Json + +Json object + +.OUTPUTS + +RoleInsightsInsight +#> +function ConvertFrom-V2024JsonToRoleInsightsInsight { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RoleInsightsInsight' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RoleInsightsInsight + $AllProperties = ("type", "identitiesWithAccess", "identitiesImpacted", "totalNumberOfIdentities", "impactedIdentityNames") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identitiesWithAccess"))) { #optional property not found + $IdentitiesWithAccess = $null + } else { + $IdentitiesWithAccess = $JsonParameters.PSobject.Properties["identitiesWithAccess"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identitiesImpacted"))) { #optional property not found + $IdentitiesImpacted = $null + } else { + $IdentitiesImpacted = $JsonParameters.PSobject.Properties["identitiesImpacted"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "totalNumberOfIdentities"))) { #optional property not found + $TotalNumberOfIdentities = $null + } else { + $TotalNumberOfIdentities = $JsonParameters.PSobject.Properties["totalNumberOfIdentities"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "impactedIdentityNames"))) { #optional property not found + $ImpactedIdentityNames = $null + } else { + $ImpactedIdentityNames = $JsonParameters.PSobject.Properties["impactedIdentityNames"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "identitiesWithAccess" = ${IdentitiesWithAccess} + "identitiesImpacted" = ${IdentitiesImpacted} + "totalNumberOfIdentities" = ${TotalNumberOfIdentities} + "impactedIdentityNames" = ${ImpactedIdentityNames} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleInsightsResponse.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleInsightsResponse.ps1 new file mode 100644 index 000000000..4195abcb8 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleInsightsResponse.ps1 @@ -0,0 +1,162 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +Request Id for a role insight generation request +.PARAMETER CreatedDate +The date-time role insights request was created. +.PARAMETER LastGenerated +The date-time role insights request was completed. +.PARAMETER NumberOfUpdates +Total number of updates for this request. Starts with 0 and will have correct number when request is COMPLETED. +.PARAMETER RoleIds +The role IDs that are in this request. +.PARAMETER Status +Request status +.OUTPUTS + +RoleInsightsResponse +#> + +function Initialize-V2024RoleInsightsResponse { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${CreatedDate}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${LastGenerated}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${NumberOfUpdates}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${RoleIds}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("CREATED", "IN PROGRESS", "COMPLETED", "FAILED")] + [String] + ${Status} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RoleInsightsResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "createdDate" = ${CreatedDate} + "lastGenerated" = ${LastGenerated} + "numberOfUpdates" = ${NumberOfUpdates} + "roleIds" = ${RoleIds} + "status" = ${Status} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RoleInsightsResponse + +.DESCRIPTION + +Convert from JSON to RoleInsightsResponse + +.PARAMETER Json + +Json object + +.OUTPUTS + +RoleInsightsResponse +#> +function ConvertFrom-V2024JsonToRoleInsightsResponse { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RoleInsightsResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RoleInsightsResponse + $AllProperties = ("id", "createdDate", "lastGenerated", "numberOfUpdates", "roleIds", "status") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "createdDate"))) { #optional property not found + $CreatedDate = $null + } else { + $CreatedDate = $JsonParameters.PSobject.Properties["createdDate"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "lastGenerated"))) { #optional property not found + $LastGenerated = $null + } else { + $LastGenerated = $JsonParameters.PSobject.Properties["lastGenerated"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "numberOfUpdates"))) { #optional property not found + $NumberOfUpdates = $null + } else { + $NumberOfUpdates = $JsonParameters.PSobject.Properties["numberOfUpdates"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "roleIds"))) { #optional property not found + $RoleIds = $null + } else { + $RoleIds = $JsonParameters.PSobject.Properties["roleIds"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { #optional property not found + $Status = $null + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "createdDate" = ${CreatedDate} + "lastGenerated" = ${LastGenerated} + "numberOfUpdates" = ${NumberOfUpdates} + "roleIds" = ${RoleIds} + "status" = ${Status} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleInsightsRole.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleInsightsRole.ps1 new file mode 100644 index 000000000..45fbd302d --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleInsightsRole.ps1 @@ -0,0 +1,148 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Name +Role name +.PARAMETER Id +Role id +.PARAMETER Description +Role description +.PARAMETER OwnerName +Role owner name +.PARAMETER OwnerId +Role owner id +.OUTPUTS + +RoleInsightsRole +#> + +function Initialize-V2024RoleInsightsRole { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${OwnerName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${OwnerId} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RoleInsightsRole' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "id" = ${Id} + "description" = ${Description} + "ownerName" = ${OwnerName} + "ownerId" = ${OwnerId} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RoleInsightsRole + +.DESCRIPTION + +Convert from JSON to RoleInsightsRole + +.PARAMETER Json + +Json object + +.OUTPUTS + +RoleInsightsRole +#> +function ConvertFrom-V2024JsonToRoleInsightsRole { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RoleInsightsRole' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RoleInsightsRole + $AllProperties = ("name", "id", "description", "ownerName", "ownerId") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "ownerName"))) { #optional property not found + $OwnerName = $null + } else { + $OwnerName = $JsonParameters.PSobject.Properties["ownerName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "ownerId"))) { #optional property not found + $OwnerId = $null + } else { + $OwnerId = $JsonParameters.PSobject.Properties["ownerId"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "id" = ${Id} + "description" = ${Description} + "ownerName" = ${OwnerName} + "ownerId" = ${OwnerId} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleInsightsSummary.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleInsightsSummary.ps1 new file mode 100644 index 000000000..df6434700 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleInsightsSummary.ps1 @@ -0,0 +1,161 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER NumberOfUpdates +Total number of roles with updates +.PARAMETER LastGenerated +The date-time role insights were last found. +.PARAMETER EntitlementsIncludedInRoles +The number of entitlements included in roles (vs free radicals). +.PARAMETER TotalNumberOfEntitlements +The total number of entitlements. +.PARAMETER IdentitiesWithAccessViaRoles +The number of identities in roles vs. identities with just entitlements and not in roles. +.PARAMETER TotalNumberOfIdentities +The total number of identities. +.OUTPUTS + +RoleInsightsSummary +#> + +function Initialize-V2024RoleInsightsSummary { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${NumberOfUpdates}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${LastGenerated}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${EntitlementsIncludedInRoles}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${TotalNumberOfEntitlements}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${IdentitiesWithAccessViaRoles}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${TotalNumberOfIdentities} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RoleInsightsSummary' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "numberOfUpdates" = ${NumberOfUpdates} + "lastGenerated" = ${LastGenerated} + "entitlementsIncludedInRoles" = ${EntitlementsIncludedInRoles} + "totalNumberOfEntitlements" = ${TotalNumberOfEntitlements} + "identitiesWithAccessViaRoles" = ${IdentitiesWithAccessViaRoles} + "totalNumberOfIdentities" = ${TotalNumberOfIdentities} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RoleInsightsSummary + +.DESCRIPTION + +Convert from JSON to RoleInsightsSummary + +.PARAMETER Json + +Json object + +.OUTPUTS + +RoleInsightsSummary +#> +function ConvertFrom-V2024JsonToRoleInsightsSummary { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RoleInsightsSummary' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RoleInsightsSummary + $AllProperties = ("numberOfUpdates", "lastGenerated", "entitlementsIncludedInRoles", "totalNumberOfEntitlements", "identitiesWithAccessViaRoles", "totalNumberOfIdentities") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "numberOfUpdates"))) { #optional property not found + $NumberOfUpdates = $null + } else { + $NumberOfUpdates = $JsonParameters.PSobject.Properties["numberOfUpdates"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "lastGenerated"))) { #optional property not found + $LastGenerated = $null + } else { + $LastGenerated = $JsonParameters.PSobject.Properties["lastGenerated"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "entitlementsIncludedInRoles"))) { #optional property not found + $EntitlementsIncludedInRoles = $null + } else { + $EntitlementsIncludedInRoles = $JsonParameters.PSobject.Properties["entitlementsIncludedInRoles"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "totalNumberOfEntitlements"))) { #optional property not found + $TotalNumberOfEntitlements = $null + } else { + $TotalNumberOfEntitlements = $JsonParameters.PSobject.Properties["totalNumberOfEntitlements"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identitiesWithAccessViaRoles"))) { #optional property not found + $IdentitiesWithAccessViaRoles = $null + } else { + $IdentitiesWithAccessViaRoles = $JsonParameters.PSobject.Properties["identitiesWithAccessViaRoles"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "totalNumberOfIdentities"))) { #optional property not found + $TotalNumberOfIdentities = $null + } else { + $TotalNumberOfIdentities = $JsonParameters.PSobject.Properties["totalNumberOfIdentities"].value + } + + $PSO = [PSCustomObject]@{ + "numberOfUpdates" = ${NumberOfUpdates} + "lastGenerated" = ${LastGenerated} + "entitlementsIncludedInRoles" = ${EntitlementsIncludedInRoles} + "totalNumberOfEntitlements" = ${TotalNumberOfEntitlements} + "identitiesWithAccessViaRoles" = ${IdentitiesWithAccessViaRoles} + "totalNumberOfIdentities" = ${TotalNumberOfIdentities} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMatchDto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMatchDto.ps1 new file mode 100644 index 000000000..033ab708d --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMatchDto.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER RoleRef +No description available. +.PARAMETER MatchedAttributes +No description available. +.OUTPUTS + +RoleMatchDto +#> + +function Initialize-V2024RoleMatchDto { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${RoleRef}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${MatchedAttributes} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RoleMatchDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "roleRef" = ${RoleRef} + "matchedAttributes" = ${MatchedAttributes} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RoleMatchDto + +.DESCRIPTION + +Convert from JSON to RoleMatchDto + +.PARAMETER Json + +Json object + +.OUTPUTS + +RoleMatchDto +#> +function ConvertFrom-V2024JsonToRoleMatchDto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RoleMatchDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RoleMatchDto + $AllProperties = ("roleRef", "matchedAttributes") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "roleRef"))) { #optional property not found + $RoleRef = $null + } else { + $RoleRef = $JsonParameters.PSobject.Properties["roleRef"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "matchedAttributes"))) { #optional property not found + $MatchedAttributes = $null + } else { + $MatchedAttributes = $JsonParameters.PSobject.Properties["matchedAttributes"].value + } + + $PSO = [PSCustomObject]@{ + "roleRef" = ${RoleRef} + "matchedAttributes" = ${MatchedAttributes} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMembershipIdentity.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMembershipIdentity.ps1 new file mode 100644 index 000000000..d910193a7 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMembershipIdentity.ps1 @@ -0,0 +1,136 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +A reference to an Identity in an IDENTITY_LIST role membership criteria. + +.PARAMETER Type +No description available. +.PARAMETER Id +Identity id +.PARAMETER Name +Human-readable display name of the Identity. +.PARAMETER AliasName +User name of the Identity +.OUTPUTS + +RoleMembershipIdentity +#> + +function Initialize-V2024RoleMembershipIdentity { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ACCOUNT_CORRELATION_CONFIG", "ACCESS_PROFILE", "ACCESS_REQUEST_APPROVAL", "ACCOUNT", "APPLICATION", "CAMPAIGN", "CAMPAIGN_FILTER", "CERTIFICATION", "CLUSTER", "CONNECTOR_SCHEMA", "ENTITLEMENT", "GOVERNANCE_GROUP", "IDENTITY", "IDENTITY_PROFILE", "IDENTITY_REQUEST", "LIFECYCLE_STATE", "PASSWORD_POLICY", "ROLE", "RULE", "SOD_POLICY", "SOURCE", "TAG", "TAG_CATEGORY", "TASK_RESULT", "REPORT_RESULT", "SOD_VIOLATION", "ACCOUNT_ACTIVITY", "WORKGROUP")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AliasName} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RoleMembershipIdentity' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + "aliasName" = ${AliasName} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RoleMembershipIdentity + +.DESCRIPTION + +Convert from JSON to RoleMembershipIdentity + +.PARAMETER Json + +Json object + +.OUTPUTS + +RoleMembershipIdentity +#> +function ConvertFrom-V2024JsonToRoleMembershipIdentity { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RoleMembershipIdentity' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RoleMembershipIdentity + $AllProperties = ("type", "id", "name", "aliasName") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "aliasName"))) { #optional property not found + $AliasName = $null + } else { + $AliasName = $JsonParameters.PSobject.Properties["aliasName"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + "aliasName" = ${AliasName} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMembershipSelector.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMembershipSelector.ps1 new file mode 100644 index 000000000..e43395ec3 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMembershipSelector.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +When present, specifies that the Role is to be granted to Identities which either satisfy specific criteria or which are members of a given list of Identities. + +.PARAMETER Type +No description available. +.PARAMETER Criteria +No description available. +.PARAMETER Identities +Defines role membership as being exclusive to the specified Identities, when type is IDENTITY_LIST. +.OUTPUTS + +RoleMembershipSelector +#> + +function Initialize-V2024RoleMembershipSelector { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("STANDARD", "IDENTITY_LIST")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Criteria}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Identities} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RoleMembershipSelector' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "criteria" = ${Criteria} + "identities" = ${Identities} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RoleMembershipSelector + +.DESCRIPTION + +Convert from JSON to RoleMembershipSelector + +.PARAMETER Json + +Json object + +.OUTPUTS + +RoleMembershipSelector +#> +function ConvertFrom-V2024JsonToRoleMembershipSelector { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RoleMembershipSelector' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RoleMembershipSelector + $AllProperties = ("type", "criteria", "identities") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "criteria"))) { #optional property not found + $Criteria = $null + } else { + $Criteria = $JsonParameters.PSobject.Properties["criteria"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identities"))) { #optional property not found + $Identities = $null + } else { + $Identities = $JsonParameters.PSobject.Properties["identities"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "criteria" = ${Criteria} + "identities" = ${Identities} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMembershipSelectorType.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMembershipSelectorType.ps1 new file mode 100644 index 000000000..5e03d1f81 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMembershipSelectorType.ps1 @@ -0,0 +1,24 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum RoleMembershipSelectorType. + +.DESCRIPTION + +This enum characterizes the type of a Role's membership selector. Only the following two are fully supported: STANDARD: Indicates that Role membership is defined in terms of a criteria expression IDENTITY_LIST: Indicates that Role membership is conferred on the specific identities listed +#> + +enum RoleMembershipSelectorType { + # enum value: "STANDARD" + STANDARD + # enum value: "IDENTITY_LIST" + IDENTITY_LIST +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningEntitlement.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningEntitlement.ps1 new file mode 100644 index 000000000..856cbb5ea --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningEntitlement.ps1 @@ -0,0 +1,200 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER EntitlementRef +No description available. +.PARAMETER Name +Name of the entitlement +.PARAMETER ApplicationName +Application name of the entitlement +.PARAMETER IdentityCount +The number of identities with this entitlement in a role. +.PARAMETER Popularity +The % popularity of this entitlement in a role. +.PARAMETER PopularityInOrg +The % popularity of this entitlement in the org. +.PARAMETER SourceId +The ID of the source/application. +.PARAMETER ActivitySourceState +The status of activity data for the source. Value is complete or notComplete. +.PARAMETER SourceUsagePercent +The percentage of identities in the potential role that have usage of the source/application of this entitlement. +.OUTPUTS + +RoleMiningEntitlement +#> + +function Initialize-V2024RoleMiningEntitlement { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${EntitlementRef}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ApplicationName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${IdentityCount}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Double]] + ${Popularity}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Double]] + ${PopularityInOrg}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SourceId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ActivitySourceState}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Double]] + ${SourceUsagePercent} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RoleMiningEntitlement' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "entitlementRef" = ${EntitlementRef} + "name" = ${Name} + "applicationName" = ${ApplicationName} + "identityCount" = ${IdentityCount} + "popularity" = ${Popularity} + "popularityInOrg" = ${PopularityInOrg} + "sourceId" = ${SourceId} + "activitySourceState" = ${ActivitySourceState} + "sourceUsagePercent" = ${SourceUsagePercent} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RoleMiningEntitlement + +.DESCRIPTION + +Convert from JSON to RoleMiningEntitlement + +.PARAMETER Json + +Json object + +.OUTPUTS + +RoleMiningEntitlement +#> +function ConvertFrom-V2024JsonToRoleMiningEntitlement { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RoleMiningEntitlement' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RoleMiningEntitlement + $AllProperties = ("entitlementRef", "name", "applicationName", "identityCount", "popularity", "popularityInOrg", "sourceId", "activitySourceState", "sourceUsagePercent") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "entitlementRef"))) { #optional property not found + $EntitlementRef = $null + } else { + $EntitlementRef = $JsonParameters.PSobject.Properties["entitlementRef"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "applicationName"))) { #optional property not found + $ApplicationName = $null + } else { + $ApplicationName = $JsonParameters.PSobject.Properties["applicationName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityCount"))) { #optional property not found + $IdentityCount = $null + } else { + $IdentityCount = $JsonParameters.PSobject.Properties["identityCount"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "popularity"))) { #optional property not found + $Popularity = $null + } else { + $Popularity = $JsonParameters.PSobject.Properties["popularity"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "popularityInOrg"))) { #optional property not found + $PopularityInOrg = $null + } else { + $PopularityInOrg = $JsonParameters.PSobject.Properties["popularityInOrg"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceId"))) { #optional property not found + $SourceId = $null + } else { + $SourceId = $JsonParameters.PSobject.Properties["sourceId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "activitySourceState"))) { #optional property not found + $ActivitySourceState = $null + } else { + $ActivitySourceState = $JsonParameters.PSobject.Properties["activitySourceState"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceUsagePercent"))) { #optional property not found + $SourceUsagePercent = $null + } else { + $SourceUsagePercent = $JsonParameters.PSobject.Properties["sourceUsagePercent"].value + } + + $PSO = [PSCustomObject]@{ + "entitlementRef" = ${EntitlementRef} + "name" = ${Name} + "applicationName" = ${ApplicationName} + "identityCount" = ${IdentityCount} + "popularity" = ${Popularity} + "popularityInOrg" = ${PopularityInOrg} + "sourceId" = ${SourceId} + "activitySourceState" = ${ActivitySourceState} + "sourceUsagePercent" = ${SourceUsagePercent} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningEntitlementRef.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningEntitlementRef.ps1 new file mode 100644 index 000000000..2e713362e --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningEntitlementRef.ps1 @@ -0,0 +1,135 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +Id of the entitlement +.PARAMETER Name +Name of the entitlement +.PARAMETER Description +Description forthe entitlement +.PARAMETER Attribute +The entitlement attribute +.OUTPUTS + +RoleMiningEntitlementRef +#> + +function Initialize-V2024RoleMiningEntitlementRef { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Attribute} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RoleMiningEntitlementRef' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "description" = ${Description} + "attribute" = ${Attribute} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RoleMiningEntitlementRef + +.DESCRIPTION + +Convert from JSON to RoleMiningEntitlementRef + +.PARAMETER Json + +Json object + +.OUTPUTS + +RoleMiningEntitlementRef +#> +function ConvertFrom-V2024JsonToRoleMiningEntitlementRef { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RoleMiningEntitlementRef' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RoleMiningEntitlementRef + $AllProperties = ("id", "name", "description", "attribute") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attribute"))) { #optional property not found + $Attribute = $null + } else { + $Attribute = $JsonParameters.PSobject.Properties["attribute"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "description" = ${Description} + "attribute" = ${Attribute} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningIdentity.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningIdentity.ps1 new file mode 100644 index 000000000..e4afeb2e5 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningIdentity.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +Id of the identity +.PARAMETER Name +Name of the identity +.PARAMETER Attributes +No description available. +.OUTPUTS + +RoleMiningIdentity +#> + +function Initialize-V2024RoleMiningIdentity { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${Attributes} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RoleMiningIdentity' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "attributes" = ${Attributes} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RoleMiningIdentity + +.DESCRIPTION + +Convert from JSON to RoleMiningIdentity + +.PARAMETER Json + +Json object + +.OUTPUTS + +RoleMiningIdentity +#> +function ConvertFrom-V2024JsonToRoleMiningIdentity { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RoleMiningIdentity' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RoleMiningIdentity + $AllProperties = ("id", "name", "attributes") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributes"))) { #optional property not found + $Attributes = $null + } else { + $Attributes = $JsonParameters.PSobject.Properties["attributes"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "attributes" = ${Attributes} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningIdentityDistribution.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningIdentityDistribution.ps1 new file mode 100644 index 000000000..2b5688822 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningIdentityDistribution.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER AttributeName +Id of the potential role +.PARAMETER Distribution +No description available. +.OUTPUTS + +RoleMiningIdentityDistribution +#> + +function Initialize-V2024RoleMiningIdentityDistribution { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AttributeName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable[]] + ${Distribution} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RoleMiningIdentityDistribution' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "attributeName" = ${AttributeName} + "distribution" = ${Distribution} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RoleMiningIdentityDistribution + +.DESCRIPTION + +Convert from JSON to RoleMiningIdentityDistribution + +.PARAMETER Json + +Json object + +.OUTPUTS + +RoleMiningIdentityDistribution +#> +function ConvertFrom-V2024JsonToRoleMiningIdentityDistribution { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RoleMiningIdentityDistribution' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RoleMiningIdentityDistribution + $AllProperties = ("attributeName", "distribution") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributeName"))) { #optional property not found + $AttributeName = $null + } else { + $AttributeName = $JsonParameters.PSobject.Properties["attributeName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "distribution"))) { #optional property not found + $Distribution = $null + } else { + $Distribution = $JsonParameters.PSobject.Properties["distribution"].value + } + + $PSO = [PSCustomObject]@{ + "attributeName" = ${AttributeName} + "distribution" = ${Distribution} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningPotentialRole.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningPotentialRole.ps1 new file mode 100644 index 000000000..63074fc91 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningPotentialRole.ps1 @@ -0,0 +1,332 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER CreatedBy +No description available. +.PARAMETER Density +The density of a potential role. +.PARAMETER Description +The description of a potential role. +.PARAMETER EntitlementCount +The number of entitlements in a potential role. +.PARAMETER ExcludedEntitlements +The list of entitlement ids to be excluded. +.PARAMETER Freshness +The freshness of a potential role. +.PARAMETER IdentityCount +The number of identities in a potential role. +.PARAMETER IdentityDistribution +Identity attribute distribution. +.PARAMETER IdentityIds +The list of ids in a potential role. +.PARAMETER Name +Name of the potential role. +.PARAMETER ProvisionState +No description available. +.PARAMETER Quality +The quality of a potential role. +.PARAMETER RoleId +The roleId of a potential role. +.PARAMETER Saved +The potential role's saved status. +.PARAMETER Session +No description available. +.PARAMETER Type +No description available. +.PARAMETER Id +Id of the potential role +.PARAMETER CreatedDate +The date-time when this potential role was created. +.PARAMETER ModifiedDate +The date-time when this potential role was modified. +.OUTPUTS + +RoleMiningPotentialRole +#> + +function Initialize-V2024RoleMiningPotentialRole { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${CreatedBy}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${Density}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${EntitlementCount}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${ExcludedEntitlements}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${Freshness}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${IdentityCount}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${IdentityDistribution}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${IdentityIds}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("POTENTIAL", "PENDING", "COMPLETE", "FAILED")] + [PSCustomObject] + ${ProvisionState}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${Quality}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${RoleId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Saved}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Session}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("SPECIALIZED", "COMMON")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${CreatedDate}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${ModifiedDate} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RoleMiningPotentialRole' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "createdBy" = ${CreatedBy} + "density" = ${Density} + "description" = ${Description} + "entitlementCount" = ${EntitlementCount} + "excludedEntitlements" = ${ExcludedEntitlements} + "freshness" = ${Freshness} + "identityCount" = ${IdentityCount} + "identityDistribution" = ${IdentityDistribution} + "identityIds" = ${IdentityIds} + "name" = ${Name} + "provisionState" = ${ProvisionState} + "quality" = ${Quality} + "roleId" = ${RoleId} + "saved" = ${Saved} + "session" = ${Session} + "type" = ${Type} + "id" = ${Id} + "createdDate" = ${CreatedDate} + "modifiedDate" = ${ModifiedDate} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RoleMiningPotentialRole + +.DESCRIPTION + +Convert from JSON to RoleMiningPotentialRole + +.PARAMETER Json + +Json object + +.OUTPUTS + +RoleMiningPotentialRole +#> +function ConvertFrom-V2024JsonToRoleMiningPotentialRole { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RoleMiningPotentialRole' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RoleMiningPotentialRole + $AllProperties = ("createdBy", "density", "description", "entitlementCount", "excludedEntitlements", "freshness", "identityCount", "identityDistribution", "identityIds", "name", "provisionState", "quality", "roleId", "saved", "session", "type", "id", "createdDate", "modifiedDate") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "createdBy"))) { #optional property not found + $CreatedBy = $null + } else { + $CreatedBy = $JsonParameters.PSobject.Properties["createdBy"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "density"))) { #optional property not found + $Density = $null + } else { + $Density = $JsonParameters.PSobject.Properties["density"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "entitlementCount"))) { #optional property not found + $EntitlementCount = $null + } else { + $EntitlementCount = $JsonParameters.PSobject.Properties["entitlementCount"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "excludedEntitlements"))) { #optional property not found + $ExcludedEntitlements = $null + } else { + $ExcludedEntitlements = $JsonParameters.PSobject.Properties["excludedEntitlements"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "freshness"))) { #optional property not found + $Freshness = $null + } else { + $Freshness = $JsonParameters.PSobject.Properties["freshness"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityCount"))) { #optional property not found + $IdentityCount = $null + } else { + $IdentityCount = $JsonParameters.PSobject.Properties["identityCount"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityDistribution"))) { #optional property not found + $IdentityDistribution = $null + } else { + $IdentityDistribution = $JsonParameters.PSobject.Properties["identityDistribution"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityIds"))) { #optional property not found + $IdentityIds = $null + } else { + $IdentityIds = $JsonParameters.PSobject.Properties["identityIds"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "provisionState"))) { #optional property not found + $ProvisionState = $null + } else { + $ProvisionState = $JsonParameters.PSobject.Properties["provisionState"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "quality"))) { #optional property not found + $Quality = $null + } else { + $Quality = $JsonParameters.PSobject.Properties["quality"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "roleId"))) { #optional property not found + $RoleId = $null + } else { + $RoleId = $JsonParameters.PSobject.Properties["roleId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "saved"))) { #optional property not found + $Saved = $null + } else { + $Saved = $JsonParameters.PSobject.Properties["saved"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "session"))) { #optional property not found + $Session = $null + } else { + $Session = $JsonParameters.PSobject.Properties["session"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "createdDate"))) { #optional property not found + $CreatedDate = $null + } else { + $CreatedDate = $JsonParameters.PSobject.Properties["createdDate"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modifiedDate"))) { #optional property not found + $ModifiedDate = $null + } else { + $ModifiedDate = $JsonParameters.PSobject.Properties["modifiedDate"].value + } + + $PSO = [PSCustomObject]@{ + "createdBy" = ${CreatedBy} + "density" = ${Density} + "description" = ${Description} + "entitlementCount" = ${EntitlementCount} + "excludedEntitlements" = ${ExcludedEntitlements} + "freshness" = ${Freshness} + "identityCount" = ${IdentityCount} + "identityDistribution" = ${IdentityDistribution} + "identityIds" = ${IdentityIds} + "name" = ${Name} + "provisionState" = ${ProvisionState} + "quality" = ${Quality} + "roleId" = ${RoleId} + "saved" = ${Saved} + "session" = ${Session} + "type" = ${Type} + "id" = ${Id} + "createdDate" = ${CreatedDate} + "modifiedDate" = ${ModifiedDate} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningPotentialRoleApplication.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningPotentialRoleApplication.ps1 new file mode 100644 index 000000000..a15a563ff --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningPotentialRoleApplication.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +Id of the potential role +.PARAMETER Name +Name of the potential role +.OUTPUTS + +RoleMiningPotentialRoleApplication +#> + +function Initialize-V2024RoleMiningPotentialRoleApplication { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RoleMiningPotentialRoleApplication' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RoleMiningPotentialRoleApplication + +.DESCRIPTION + +Convert from JSON to RoleMiningPotentialRoleApplication + +.PARAMETER Json + +Json object + +.OUTPUTS + +RoleMiningPotentialRoleApplication +#> +function ConvertFrom-V2024JsonToRoleMiningPotentialRoleApplication { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RoleMiningPotentialRoleApplication' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RoleMiningPotentialRoleApplication + $AllProperties = ("id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningPotentialRoleEditEntitlements.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningPotentialRoleEditEntitlements.ps1 new file mode 100644 index 000000000..0a544a4d2 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningPotentialRoleEditEntitlements.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Ids +The list of entitlement ids to be edited +.PARAMETER Exclude +If true, add ids to be exclusion list. If false, remove ids from the exclusion list. +.OUTPUTS + +RoleMiningPotentialRoleEditEntitlements +#> + +function Initialize-V2024RoleMiningPotentialRoleEditEntitlements { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Ids}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Exclude} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RoleMiningPotentialRoleEditEntitlements' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "ids" = ${Ids} + "exclude" = ${Exclude} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RoleMiningPotentialRoleEditEntitlements + +.DESCRIPTION + +Convert from JSON to RoleMiningPotentialRoleEditEntitlements + +.PARAMETER Json + +Json object + +.OUTPUTS + +RoleMiningPotentialRoleEditEntitlements +#> +function ConvertFrom-V2024JsonToRoleMiningPotentialRoleEditEntitlements { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RoleMiningPotentialRoleEditEntitlements' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RoleMiningPotentialRoleEditEntitlements + $AllProperties = ("ids", "exclude") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "ids"))) { #optional property not found + $Ids = $null + } else { + $Ids = $JsonParameters.PSobject.Properties["ids"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "exclude"))) { #optional property not found + $Exclude = $null + } else { + $Exclude = $JsonParameters.PSobject.Properties["exclude"].value + } + + $PSO = [PSCustomObject]@{ + "ids" = ${Ids} + "exclude" = ${Exclude} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningPotentialRoleExportRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningPotentialRoleExportRequest.ps1 new file mode 100644 index 000000000..afaf95cc9 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningPotentialRoleExportRequest.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER MinEntitlementPopularity +The minimum popularity among identities in the role which an entitlement must have to be included in the report +.PARAMETER IncludeCommonAccess +If false, do not include entitlements that are highly popular among the entire orginization +.OUTPUTS + +RoleMiningPotentialRoleExportRequest +#> + +function Initialize-V2024RoleMiningPotentialRoleExportRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${MinEntitlementPopularity}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${IncludeCommonAccess} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RoleMiningPotentialRoleExportRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "minEntitlementPopularity" = ${MinEntitlementPopularity} + "includeCommonAccess" = ${IncludeCommonAccess} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RoleMiningPotentialRoleExportRequest + +.DESCRIPTION + +Convert from JSON to RoleMiningPotentialRoleExportRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +RoleMiningPotentialRoleExportRequest +#> +function ConvertFrom-V2024JsonToRoleMiningPotentialRoleExportRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RoleMiningPotentialRoleExportRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RoleMiningPotentialRoleExportRequest + $AllProperties = ("minEntitlementPopularity", "includeCommonAccess") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "minEntitlementPopularity"))) { #optional property not found + $MinEntitlementPopularity = $null + } else { + $MinEntitlementPopularity = $JsonParameters.PSobject.Properties["minEntitlementPopularity"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "includeCommonAccess"))) { #optional property not found + $IncludeCommonAccess = $null + } else { + $IncludeCommonAccess = $JsonParameters.PSobject.Properties["includeCommonAccess"].value + } + + $PSO = [PSCustomObject]@{ + "minEntitlementPopularity" = ${MinEntitlementPopularity} + "includeCommonAccess" = ${IncludeCommonAccess} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningPotentialRoleExportResponse.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningPotentialRoleExportResponse.ps1 new file mode 100644 index 000000000..a9e6e4f0a --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningPotentialRoleExportResponse.ps1 @@ -0,0 +1,136 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER MinEntitlementPopularity +The minimum popularity among identities in the role which an entitlement must have to be included in the report +.PARAMETER IncludeCommonAccess +If false, do not include entitlements that are highly popular among the entire orginization +.PARAMETER ExportId +ID used to reference this export +.PARAMETER Status +No description available. +.OUTPUTS + +RoleMiningPotentialRoleExportResponse +#> + +function Initialize-V2024RoleMiningPotentialRoleExportResponse { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${MinEntitlementPopularity}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${IncludeCommonAccess}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ExportId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("QUEUED", "IN_PROGRESS", "SUCCESS", "ERROR")] + [PSCustomObject] + ${Status} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RoleMiningPotentialRoleExportResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "minEntitlementPopularity" = ${MinEntitlementPopularity} + "includeCommonAccess" = ${IncludeCommonAccess} + "exportId" = ${ExportId} + "status" = ${Status} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RoleMiningPotentialRoleExportResponse + +.DESCRIPTION + +Convert from JSON to RoleMiningPotentialRoleExportResponse + +.PARAMETER Json + +Json object + +.OUTPUTS + +RoleMiningPotentialRoleExportResponse +#> +function ConvertFrom-V2024JsonToRoleMiningPotentialRoleExportResponse { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RoleMiningPotentialRoleExportResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RoleMiningPotentialRoleExportResponse + $AllProperties = ("minEntitlementPopularity", "includeCommonAccess", "exportId", "status") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "minEntitlementPopularity"))) { #optional property not found + $MinEntitlementPopularity = $null + } else { + $MinEntitlementPopularity = $JsonParameters.PSobject.Properties["minEntitlementPopularity"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "includeCommonAccess"))) { #optional property not found + $IncludeCommonAccess = $null + } else { + $IncludeCommonAccess = $JsonParameters.PSobject.Properties["includeCommonAccess"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "exportId"))) { #optional property not found + $ExportId = $null + } else { + $ExportId = $JsonParameters.PSobject.Properties["exportId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { #optional property not found + $Status = $null + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + $PSO = [PSCustomObject]@{ + "minEntitlementPopularity" = ${MinEntitlementPopularity} + "includeCommonAccess" = ${IncludeCommonAccess} + "exportId" = ${ExportId} + "status" = ${Status} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningPotentialRoleExportState.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningPotentialRoleExportState.ps1 new file mode 100644 index 000000000..b391197b2 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningPotentialRoleExportState.ps1 @@ -0,0 +1,28 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum RoleMiningPotentialRoleExportState. + +.DESCRIPTION + +No description available. +#> + +enum RoleMiningPotentialRoleExportState { + # enum value: "QUEUED" + QUEUED + # enum value: "IN_PROGRESS" + IN_PROGRESS + # enum value: "SUCCESS" + SUCCESS + # enum value: "ERROR" + ERROR +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningPotentialRoleProvisionRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningPotentialRoleProvisionRequest.ps1 new file mode 100644 index 000000000..ac526eccf --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningPotentialRoleProvisionRequest.ps1 @@ -0,0 +1,148 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER RoleName +Name of the new role being created +.PARAMETER RoleDescription +Short description of the new role being created +.PARAMETER OwnerId +ID of the identity that will own this role +.PARAMETER IncludeIdentities +When true, create access requests for the identities associated with the potential role +.PARAMETER DirectlyAssignedEntitlements +When true, assign entitlements directly to the role; otherwise, create access profiles containing the entitlements +.OUTPUTS + +RoleMiningPotentialRoleProvisionRequest +#> + +function Initialize-V2024RoleMiningPotentialRoleProvisionRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${RoleName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${RoleDescription}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${OwnerId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${IncludeIdentities} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${DirectlyAssignedEntitlements} = $false + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RoleMiningPotentialRoleProvisionRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "roleName" = ${RoleName} + "roleDescription" = ${RoleDescription} + "ownerId" = ${OwnerId} + "includeIdentities" = ${IncludeIdentities} + "directlyAssignedEntitlements" = ${DirectlyAssignedEntitlements} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RoleMiningPotentialRoleProvisionRequest + +.DESCRIPTION + +Convert from JSON to RoleMiningPotentialRoleProvisionRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +RoleMiningPotentialRoleProvisionRequest +#> +function ConvertFrom-V2024JsonToRoleMiningPotentialRoleProvisionRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RoleMiningPotentialRoleProvisionRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RoleMiningPotentialRoleProvisionRequest + $AllProperties = ("roleName", "roleDescription", "ownerId", "includeIdentities", "directlyAssignedEntitlements") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "roleName"))) { #optional property not found + $RoleName = $null + } else { + $RoleName = $JsonParameters.PSobject.Properties["roleName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "roleDescription"))) { #optional property not found + $RoleDescription = $null + } else { + $RoleDescription = $JsonParameters.PSobject.Properties["roleDescription"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "ownerId"))) { #optional property not found + $OwnerId = $null + } else { + $OwnerId = $JsonParameters.PSobject.Properties["ownerId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "includeIdentities"))) { #optional property not found + $IncludeIdentities = $null + } else { + $IncludeIdentities = $JsonParameters.PSobject.Properties["includeIdentities"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "directlyAssignedEntitlements"))) { #optional property not found + $DirectlyAssignedEntitlements = $null + } else { + $DirectlyAssignedEntitlements = $JsonParameters.PSobject.Properties["directlyAssignedEntitlements"].value + } + + $PSO = [PSCustomObject]@{ + "roleName" = ${RoleName} + "roleDescription" = ${RoleDescription} + "ownerId" = ${OwnerId} + "includeIdentities" = ${IncludeIdentities} + "directlyAssignedEntitlements" = ${DirectlyAssignedEntitlements} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningPotentialRoleProvisionState.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningPotentialRoleProvisionState.ps1 new file mode 100644 index 000000000..142cc0425 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningPotentialRoleProvisionState.ps1 @@ -0,0 +1,28 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum RoleMiningPotentialRoleProvisionState. + +.DESCRIPTION + +Provision state +#> + +enum RoleMiningPotentialRoleProvisionState { + # enum value: "POTENTIAL" + POTENTIAL + # enum value: "PENDING" + PENDING + # enum value: "COMPLETE" + COMPLETE + # enum value: "FAILED" + FAILED +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningPotentialRoleRef.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningPotentialRoleRef.ps1 new file mode 100644 index 000000000..7b50854e0 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningPotentialRoleRef.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +Id of the potential role +.PARAMETER Name +Name of the potential role +.OUTPUTS + +RoleMiningPotentialRoleRef +#> + +function Initialize-V2024RoleMiningPotentialRoleRef { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RoleMiningPotentialRoleRef' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RoleMiningPotentialRoleRef + +.DESCRIPTION + +Convert from JSON to RoleMiningPotentialRoleRef + +.PARAMETER Json + +Json object + +.OUTPUTS + +RoleMiningPotentialRoleRef +#> +function ConvertFrom-V2024JsonToRoleMiningPotentialRoleRef { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RoleMiningPotentialRoleRef' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RoleMiningPotentialRoleRef + $AllProperties = ("id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningPotentialRoleSourceUsage.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningPotentialRoleSourceUsage.ps1 new file mode 100644 index 000000000..f3971107e --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningPotentialRoleSourceUsage.ps1 @@ -0,0 +1,135 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +The identity ID +.PARAMETER DisplayName +Display name for the identity +.PARAMETER Email +Email address for the identity +.PARAMETER UsageCount +The number of days there has been usage of the source by the identity. +.OUTPUTS + +RoleMiningPotentialRoleSourceUsage +#> + +function Initialize-V2024RoleMiningPotentialRoleSourceUsage { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${DisplayName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Email}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${UsageCount} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RoleMiningPotentialRoleSourceUsage' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "displayName" = ${DisplayName} + "email" = ${Email} + "usageCount" = ${UsageCount} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RoleMiningPotentialRoleSourceUsage + +.DESCRIPTION + +Convert from JSON to RoleMiningPotentialRoleSourceUsage + +.PARAMETER Json + +Json object + +.OUTPUTS + +RoleMiningPotentialRoleSourceUsage +#> +function ConvertFrom-V2024JsonToRoleMiningPotentialRoleSourceUsage { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RoleMiningPotentialRoleSourceUsage' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RoleMiningPotentialRoleSourceUsage + $AllProperties = ("id", "displayName", "email", "usageCount") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "displayName"))) { #optional property not found + $DisplayName = $null + } else { + $DisplayName = $JsonParameters.PSobject.Properties["displayName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "email"))) { #optional property not found + $Email = $null + } else { + $Email = $JsonParameters.PSobject.Properties["email"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "usageCount"))) { #optional property not found + $UsageCount = $null + } else { + $UsageCount = $JsonParameters.PSobject.Properties["usageCount"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "displayName" = ${DisplayName} + "email" = ${Email} + "usageCount" = ${UsageCount} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningPotentialRoleSummary.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningPotentialRoleSummary.ps1 new file mode 100644 index 000000000..a6b926090 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningPotentialRoleSummary.ps1 @@ -0,0 +1,306 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +Id of the potential role +.PARAMETER Name +Name of the potential role +.PARAMETER PotentialRoleRef +No description available. +.PARAMETER IdentityCount +The number of identities in a potential role. +.PARAMETER EntitlementCount +The number of entitlements in a potential role. +.PARAMETER IdentityGroupStatus +The status for this identity group which can be ""REQUESTED"" or ""OBTAINED"" +.PARAMETER ProvisionState +No description available. +.PARAMETER RoleId +ID of the provisioned role in IIQ or IDN. Null if this potential role has not been provisioned. +.PARAMETER Density +The density metric (0-100) of this potential role. Higher density values indicate higher similarity amongst the identities. +.PARAMETER Freshness +The freshness metric (0-100) of this potential role. Higher freshness values indicate this potential role is more distinctive compared to existing roles. +.PARAMETER Quality +The quality metric (0-100) of this potential role. Higher quality values indicate this potential role has high density and freshness. +.PARAMETER Type +No description available. +.PARAMETER CreatedBy +No description available. +.PARAMETER CreatedDate +The date-time when this potential role was created. +.PARAMETER Saved +The potential role's saved status +.PARAMETER Description +Description of the potential role +.PARAMETER Session +No description available. +.OUTPUTS + +RoleMiningPotentialRoleSummary +#> + +function Initialize-V2024RoleMiningPotentialRoleSummary { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${PotentialRoleRef}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${IdentityCount}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${EntitlementCount}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${IdentityGroupStatus}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("POTENTIAL", "PENDING", "COMPLETE", "FAILED")] + [PSCustomObject] + ${ProvisionState}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${RoleId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${Density}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${Freshness}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${Quality}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("SPECIALIZED", "COMMON")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${CreatedBy}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${CreatedDate}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Saved} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Session} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RoleMiningPotentialRoleSummary' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "potentialRoleRef" = ${PotentialRoleRef} + "identityCount" = ${IdentityCount} + "entitlementCount" = ${EntitlementCount} + "identityGroupStatus" = ${IdentityGroupStatus} + "provisionState" = ${ProvisionState} + "roleId" = ${RoleId} + "density" = ${Density} + "freshness" = ${Freshness} + "quality" = ${Quality} + "type" = ${Type} + "createdBy" = ${CreatedBy} + "createdDate" = ${CreatedDate} + "saved" = ${Saved} + "description" = ${Description} + "session" = ${Session} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RoleMiningPotentialRoleSummary + +.DESCRIPTION + +Convert from JSON to RoleMiningPotentialRoleSummary + +.PARAMETER Json + +Json object + +.OUTPUTS + +RoleMiningPotentialRoleSummary +#> +function ConvertFrom-V2024JsonToRoleMiningPotentialRoleSummary { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RoleMiningPotentialRoleSummary' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RoleMiningPotentialRoleSummary + $AllProperties = ("id", "name", "potentialRoleRef", "identityCount", "entitlementCount", "identityGroupStatus", "provisionState", "roleId", "density", "freshness", "quality", "type", "createdBy", "createdDate", "saved", "description", "session") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "potentialRoleRef"))) { #optional property not found + $PotentialRoleRef = $null + } else { + $PotentialRoleRef = $JsonParameters.PSobject.Properties["potentialRoleRef"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityCount"))) { #optional property not found + $IdentityCount = $null + } else { + $IdentityCount = $JsonParameters.PSobject.Properties["identityCount"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "entitlementCount"))) { #optional property not found + $EntitlementCount = $null + } else { + $EntitlementCount = $JsonParameters.PSobject.Properties["entitlementCount"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityGroupStatus"))) { #optional property not found + $IdentityGroupStatus = $null + } else { + $IdentityGroupStatus = $JsonParameters.PSobject.Properties["identityGroupStatus"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "provisionState"))) { #optional property not found + $ProvisionState = $null + } else { + $ProvisionState = $JsonParameters.PSobject.Properties["provisionState"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "roleId"))) { #optional property not found + $RoleId = $null + } else { + $RoleId = $JsonParameters.PSobject.Properties["roleId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "density"))) { #optional property not found + $Density = $null + } else { + $Density = $JsonParameters.PSobject.Properties["density"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "freshness"))) { #optional property not found + $Freshness = $null + } else { + $Freshness = $JsonParameters.PSobject.Properties["freshness"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "quality"))) { #optional property not found + $Quality = $null + } else { + $Quality = $JsonParameters.PSobject.Properties["quality"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "createdBy"))) { #optional property not found + $CreatedBy = $null + } else { + $CreatedBy = $JsonParameters.PSobject.Properties["createdBy"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "createdDate"))) { #optional property not found + $CreatedDate = $null + } else { + $CreatedDate = $JsonParameters.PSobject.Properties["createdDate"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "saved"))) { #optional property not found + $Saved = $null + } else { + $Saved = $JsonParameters.PSobject.Properties["saved"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "session"))) { #optional property not found + $Session = $null + } else { + $Session = $JsonParameters.PSobject.Properties["session"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "potentialRoleRef" = ${PotentialRoleRef} + "identityCount" = ${IdentityCount} + "entitlementCount" = ${EntitlementCount} + "identityGroupStatus" = ${IdentityGroupStatus} + "provisionState" = ${ProvisionState} + "roleId" = ${RoleId} + "density" = ${Density} + "freshness" = ${Freshness} + "quality" = ${Quality} + "type" = ${Type} + "createdBy" = ${CreatedBy} + "createdDate" = ${CreatedDate} + "saved" = ${Saved} + "description" = ${Description} + "session" = ${Session} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningPotentialRoleSummaryCreatedBy.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningPotentialRoleSummaryCreatedBy.ps1 new file mode 100644 index 000000000..241f9a358 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningPotentialRoleSummaryCreatedBy.ps1 @@ -0,0 +1,82 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +The potential role created by details + +.PARAMETER Json + +JSON object + +.OUTPUTS + +RoleMiningPotentialRoleSummaryCreatedBy +#> +function ConvertFrom-V2024JsonToRoleMiningPotentialRoleSummaryCreatedBy { + [CmdletBinding()] + Param ( + [AllowEmptyString()] + [string]$Json + ) + + Process { + $match = 0 + $matchType = $null + $matchInstance = $null + + # try to match EntityCreatedByDTO defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToEntityCreatedByDTO $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "EntityCreatedByDTO" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'EntityCreatedByDTO' defined in oneOf (V2024RoleMiningPotentialRoleSummaryCreatedBy). Proceeding to the next one if any." + } + + # try to match String defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToString $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "String" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'String' defined in oneOf (V2024RoleMiningPotentialRoleSummaryCreatedBy). Proceeding to the next one if any." + } + + if ($match -gt 1) { + throw "Error! The JSON payload matches more than one type defined in oneOf schemas ([EntityCreatedByDTO, String]). JSON Payload: $($Json)" + } elseif ($match -eq 1) { + return [PSCustomObject]@{ + "ActualType" = ${matchType} + "ActualInstance" = ${matchInstance} + "OneOfSchemas" = @("EntityCreatedByDTO", "String") + } + } else { + throw "Error! The JSON payload doesn't matches any type defined in oneOf schemas ([EntityCreatedByDTO, String]). JSON Payload: $($Json)" + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningRoleType.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningRoleType.ps1 new file mode 100644 index 000000000..0ffa30d14 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningRoleType.ps1 @@ -0,0 +1,24 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum RoleMiningRoleType. + +.DESCRIPTION + +Role type +#> + +enum RoleMiningRoleType { + # enum value: "SPECIALIZED" + SPECIALIZED + # enum value: "COMMON" + COMMON +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningSessionDraftRoleDto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningSessionDraftRoleDto.ps1 new file mode 100644 index 000000000..ba5045853 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningSessionDraftRoleDto.ps1 @@ -0,0 +1,214 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Name +Name of the draft role +.PARAMETER Description +Draft role description +.PARAMETER IdentityIds +The list of identities for this role mining session. +.PARAMETER EntitlementIds +The list of entitlement ids for this role mining session. +.PARAMETER ExcludedEntitlements +The list of excluded entitlement ids. +.PARAMETER Modified +Last modified date +.PARAMETER Type +No description available. +.PARAMETER Id +Id of the potential draft role +.PARAMETER CreatedDate +The date-time when this potential draft role was created. +.PARAMETER ModifiedDate +The date-time when this potential draft role was modified. +.OUTPUTS + +RoleMiningSessionDraftRoleDto +#> + +function Initialize-V2024RoleMiningSessionDraftRoleDto { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${IdentityIds}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${EntitlementIds}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${ExcludedEntitlements}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Modified}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("SPECIALIZED", "COMMON")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${CreatedDate}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${ModifiedDate} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RoleMiningSessionDraftRoleDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "description" = ${Description} + "identityIds" = ${IdentityIds} + "entitlementIds" = ${EntitlementIds} + "excludedEntitlements" = ${ExcludedEntitlements} + "modified" = ${Modified} + "type" = ${Type} + "id" = ${Id} + "createdDate" = ${CreatedDate} + "modifiedDate" = ${ModifiedDate} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RoleMiningSessionDraftRoleDto + +.DESCRIPTION + +Convert from JSON to RoleMiningSessionDraftRoleDto + +.PARAMETER Json + +Json object + +.OUTPUTS + +RoleMiningSessionDraftRoleDto +#> +function ConvertFrom-V2024JsonToRoleMiningSessionDraftRoleDto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RoleMiningSessionDraftRoleDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RoleMiningSessionDraftRoleDto + $AllProperties = ("name", "description", "identityIds", "entitlementIds", "excludedEntitlements", "modified", "type", "id", "createdDate", "modifiedDate") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityIds"))) { #optional property not found + $IdentityIds = $null + } else { + $IdentityIds = $JsonParameters.PSobject.Properties["identityIds"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "entitlementIds"))) { #optional property not found + $EntitlementIds = $null + } else { + $EntitlementIds = $JsonParameters.PSobject.Properties["entitlementIds"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "excludedEntitlements"))) { #optional property not found + $ExcludedEntitlements = $null + } else { + $ExcludedEntitlements = $JsonParameters.PSobject.Properties["excludedEntitlements"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "createdDate"))) { #optional property not found + $CreatedDate = $null + } else { + $CreatedDate = $JsonParameters.PSobject.Properties["createdDate"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modifiedDate"))) { #optional property not found + $ModifiedDate = $null + } else { + $ModifiedDate = $JsonParameters.PSobject.Properties["modifiedDate"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "description" = ${Description} + "identityIds" = ${IdentityIds} + "entitlementIds" = ${EntitlementIds} + "excludedEntitlements" = ${ExcludedEntitlements} + "modified" = ${Modified} + "type" = ${Type} + "id" = ${Id} + "createdDate" = ${CreatedDate} + "modifiedDate" = ${ModifiedDate} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningSessionDto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningSessionDto.ps1 new file mode 100644 index 000000000..9e0a44cb1 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningSessionDto.ps1 @@ -0,0 +1,227 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Scope +No description available. +.PARAMETER PruneThreshold +The prune threshold to be used or null to calculate prescribedPruneThreshold +.PARAMETER PrescribedPruneThreshold +The calculated prescribedPruneThreshold +.PARAMETER MinNumIdentitiesInPotentialRole +Minimum number of identities in a potential role +.PARAMETER PotentialRoleCount +Number of potential roles +.PARAMETER PotentialRolesReadyCount +Number of potential roles ready +.PARAMETER Type +No description available. +.PARAMETER EmailRecipientId +The id of the user who will receive an email about the role mining session +.PARAMETER IdentityCount +Number of identities in the population which meet the search criteria or identity list provided +.PARAMETER Saved +The session's saved status +.PARAMETER Name +The session's saved name +.OUTPUTS + +RoleMiningSessionDto +#> + +function Initialize-V2024RoleMiningSessionDto { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Scope}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${PruneThreshold}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${PrescribedPruneThreshold}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${MinNumIdentitiesInPotentialRole}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${PotentialRoleCount}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${PotentialRolesReadyCount}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("SPECIALIZED", "COMMON")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${EmailRecipientId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${IdentityCount}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Saved} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RoleMiningSessionDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "scope" = ${Scope} + "pruneThreshold" = ${PruneThreshold} + "prescribedPruneThreshold" = ${PrescribedPruneThreshold} + "minNumIdentitiesInPotentialRole" = ${MinNumIdentitiesInPotentialRole} + "potentialRoleCount" = ${PotentialRoleCount} + "potentialRolesReadyCount" = ${PotentialRolesReadyCount} + "type" = ${Type} + "emailRecipientId" = ${EmailRecipientId} + "identityCount" = ${IdentityCount} + "saved" = ${Saved} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RoleMiningSessionDto + +.DESCRIPTION + +Convert from JSON to RoleMiningSessionDto + +.PARAMETER Json + +Json object + +.OUTPUTS + +RoleMiningSessionDto +#> +function ConvertFrom-V2024JsonToRoleMiningSessionDto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RoleMiningSessionDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RoleMiningSessionDto + $AllProperties = ("scope", "pruneThreshold", "prescribedPruneThreshold", "minNumIdentitiesInPotentialRole", "potentialRoleCount", "potentialRolesReadyCount", "type", "emailRecipientId", "identityCount", "saved", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "scope"))) { #optional property not found + $Scope = $null + } else { + $Scope = $JsonParameters.PSobject.Properties["scope"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "pruneThreshold"))) { #optional property not found + $PruneThreshold = $null + } else { + $PruneThreshold = $JsonParameters.PSobject.Properties["pruneThreshold"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "prescribedPruneThreshold"))) { #optional property not found + $PrescribedPruneThreshold = $null + } else { + $PrescribedPruneThreshold = $JsonParameters.PSobject.Properties["prescribedPruneThreshold"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "minNumIdentitiesInPotentialRole"))) { #optional property not found + $MinNumIdentitiesInPotentialRole = $null + } else { + $MinNumIdentitiesInPotentialRole = $JsonParameters.PSobject.Properties["minNumIdentitiesInPotentialRole"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "potentialRoleCount"))) { #optional property not found + $PotentialRoleCount = $null + } else { + $PotentialRoleCount = $JsonParameters.PSobject.Properties["potentialRoleCount"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "potentialRolesReadyCount"))) { #optional property not found + $PotentialRolesReadyCount = $null + } else { + $PotentialRolesReadyCount = $JsonParameters.PSobject.Properties["potentialRolesReadyCount"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "emailRecipientId"))) { #optional property not found + $EmailRecipientId = $null + } else { + $EmailRecipientId = $JsonParameters.PSobject.Properties["emailRecipientId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityCount"))) { #optional property not found + $IdentityCount = $null + } else { + $IdentityCount = $JsonParameters.PSobject.Properties["identityCount"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "saved"))) { #optional property not found + $Saved = $null + } else { + $Saved = $JsonParameters.PSobject.Properties["saved"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "scope" = ${Scope} + "pruneThreshold" = ${PruneThreshold} + "prescribedPruneThreshold" = ${PrescribedPruneThreshold} + "minNumIdentitiesInPotentialRole" = ${MinNumIdentitiesInPotentialRole} + "potentialRoleCount" = ${PotentialRoleCount} + "potentialRolesReadyCount" = ${PotentialRolesReadyCount} + "type" = ${Type} + "emailRecipientId" = ${EmailRecipientId} + "identityCount" = ${IdentityCount} + "saved" = ${Saved} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningSessionParametersDto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningSessionParametersDto.ps1 new file mode 100644 index 000000000..f02de28c3 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningSessionParametersDto.ps1 @@ -0,0 +1,203 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +The ID of the role mining session +.PARAMETER Name +The session's saved name +.PARAMETER MinNumIdentitiesInPotentialRole +Minimum number of identities in a potential role +.PARAMETER PruneThreshold +The prune threshold to be used or null to calculate prescribedPruneThreshold +.PARAMETER Saved +The session's saved status +.PARAMETER Scope +No description available. +.PARAMETER Type +No description available. +.PARAMETER State +No description available. +.PARAMETER ScopingMethod +No description available. +.OUTPUTS + +RoleMiningSessionParametersDto +#> + +function Initialize-V2024RoleMiningSessionParametersDto { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${MinNumIdentitiesInPotentialRole}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${PruneThreshold}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Saved} = $true, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Scope}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("SPECIALIZED", "COMMON")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("CREATED", "UPDATED", "IDENTITIES_OBTAINED", "PRUNE_THRESHOLD_OBTAINED", "POTENTIAL_ROLES_PROCESSING", "POTENTIAL_ROLES_CREATED")] + [PSCustomObject] + ${State}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("MANUAL", "AUTO_RM")] + [PSCustomObject] + ${ScopingMethod} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RoleMiningSessionParametersDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "minNumIdentitiesInPotentialRole" = ${MinNumIdentitiesInPotentialRole} + "pruneThreshold" = ${PruneThreshold} + "saved" = ${Saved} + "scope" = ${Scope} + "type" = ${Type} + "state" = ${State} + "scopingMethod" = ${ScopingMethod} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RoleMiningSessionParametersDto + +.DESCRIPTION + +Convert from JSON to RoleMiningSessionParametersDto + +.PARAMETER Json + +Json object + +.OUTPUTS + +RoleMiningSessionParametersDto +#> +function ConvertFrom-V2024JsonToRoleMiningSessionParametersDto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RoleMiningSessionParametersDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RoleMiningSessionParametersDto + $AllProperties = ("id", "name", "minNumIdentitiesInPotentialRole", "pruneThreshold", "saved", "scope", "type", "state", "scopingMethod") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "minNumIdentitiesInPotentialRole"))) { #optional property not found + $MinNumIdentitiesInPotentialRole = $null + } else { + $MinNumIdentitiesInPotentialRole = $JsonParameters.PSobject.Properties["minNumIdentitiesInPotentialRole"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "pruneThreshold"))) { #optional property not found + $PruneThreshold = $null + } else { + $PruneThreshold = $JsonParameters.PSobject.Properties["pruneThreshold"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "saved"))) { #optional property not found + $Saved = $null + } else { + $Saved = $JsonParameters.PSobject.Properties["saved"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "scope"))) { #optional property not found + $Scope = $null + } else { + $Scope = $JsonParameters.PSobject.Properties["scope"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "state"))) { #optional property not found + $State = $null + } else { + $State = $JsonParameters.PSobject.Properties["state"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "scopingMethod"))) { #optional property not found + $ScopingMethod = $null + } else { + $ScopingMethod = $JsonParameters.PSobject.Properties["scopingMethod"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "minNumIdentitiesInPotentialRole" = ${MinNumIdentitiesInPotentialRole} + "pruneThreshold" = ${PruneThreshold} + "saved" = ${Saved} + "scope" = ${Scope} + "type" = ${Type} + "state" = ${State} + "scopingMethod" = ${ScopingMethod} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningSessionResponse.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningSessionResponse.ps1 new file mode 100644 index 000000000..46fa5f745 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningSessionResponse.ps1 @@ -0,0 +1,318 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Scope +No description available. +.PARAMETER MinNumIdentitiesInPotentialRole +Minimum number of identities in a potential role +.PARAMETER ScopingMethod +The scoping method of the role mining session +.PARAMETER PrescribedPruneThreshold +The computed (or prescribed) prune threshold for this session +.PARAMETER PruneThreshold +The prune threshold to be used for this role mining session +.PARAMETER PotentialRoleCount +The number of potential roles +.PARAMETER PotentialRolesReadyCount +The number of potential roles which have completed processing +.PARAMETER Status +No description available. +.PARAMETER EmailRecipientId +The id of the user who will receive an email about the role mining session +.PARAMETER CreatedBy +No description available. +.PARAMETER IdentityCount +The number of identities +.PARAMETER Saved +The session's saved status +.PARAMETER Name +The session's saved name +.PARAMETER DataFilePath +The data file path of the role mining session +.PARAMETER Id +Session Id for this role mining session +.PARAMETER CreatedDate +The date-time when this role mining session was created. +.PARAMETER ModifiedDate +The date-time when this role mining session was completed. +.PARAMETER Type +No description available. +.OUTPUTS + +RoleMiningSessionResponse +#> + +function Initialize-V2024RoleMiningSessionResponse { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Scope}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${MinNumIdentitiesInPotentialRole}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ScopingMethod}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${PrescribedPruneThreshold}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${PruneThreshold}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${PotentialRoleCount}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${PotentialRolesReadyCount}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Status}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${EmailRecipientId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${CreatedBy}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${IdentityCount}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Saved} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${DataFilePath}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${CreatedDate}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${ModifiedDate}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("SPECIALIZED", "COMMON")] + [PSCustomObject] + ${Type} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RoleMiningSessionResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "scope" = ${Scope} + "minNumIdentitiesInPotentialRole" = ${MinNumIdentitiesInPotentialRole} + "scopingMethod" = ${ScopingMethod} + "prescribedPruneThreshold" = ${PrescribedPruneThreshold} + "pruneThreshold" = ${PruneThreshold} + "potentialRoleCount" = ${PotentialRoleCount} + "potentialRolesReadyCount" = ${PotentialRolesReadyCount} + "status" = ${Status} + "emailRecipientId" = ${EmailRecipientId} + "createdBy" = ${CreatedBy} + "identityCount" = ${IdentityCount} + "saved" = ${Saved} + "name" = ${Name} + "dataFilePath" = ${DataFilePath} + "id" = ${Id} + "createdDate" = ${CreatedDate} + "modifiedDate" = ${ModifiedDate} + "type" = ${Type} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RoleMiningSessionResponse + +.DESCRIPTION + +Convert from JSON to RoleMiningSessionResponse + +.PARAMETER Json + +Json object + +.OUTPUTS + +RoleMiningSessionResponse +#> +function ConvertFrom-V2024JsonToRoleMiningSessionResponse { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RoleMiningSessionResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RoleMiningSessionResponse + $AllProperties = ("scope", "minNumIdentitiesInPotentialRole", "scopingMethod", "prescribedPruneThreshold", "pruneThreshold", "potentialRoleCount", "potentialRolesReadyCount", "status", "emailRecipientId", "createdBy", "identityCount", "saved", "name", "dataFilePath", "id", "createdDate", "modifiedDate", "type") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "scope"))) { #optional property not found + $Scope = $null + } else { + $Scope = $JsonParameters.PSobject.Properties["scope"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "minNumIdentitiesInPotentialRole"))) { #optional property not found + $MinNumIdentitiesInPotentialRole = $null + } else { + $MinNumIdentitiesInPotentialRole = $JsonParameters.PSobject.Properties["minNumIdentitiesInPotentialRole"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "scopingMethod"))) { #optional property not found + $ScopingMethod = $null + } else { + $ScopingMethod = $JsonParameters.PSobject.Properties["scopingMethod"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "prescribedPruneThreshold"))) { #optional property not found + $PrescribedPruneThreshold = $null + } else { + $PrescribedPruneThreshold = $JsonParameters.PSobject.Properties["prescribedPruneThreshold"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "pruneThreshold"))) { #optional property not found + $PruneThreshold = $null + } else { + $PruneThreshold = $JsonParameters.PSobject.Properties["pruneThreshold"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "potentialRoleCount"))) { #optional property not found + $PotentialRoleCount = $null + } else { + $PotentialRoleCount = $JsonParameters.PSobject.Properties["potentialRoleCount"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "potentialRolesReadyCount"))) { #optional property not found + $PotentialRolesReadyCount = $null + } else { + $PotentialRolesReadyCount = $JsonParameters.PSobject.Properties["potentialRolesReadyCount"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { #optional property not found + $Status = $null + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "emailRecipientId"))) { #optional property not found + $EmailRecipientId = $null + } else { + $EmailRecipientId = $JsonParameters.PSobject.Properties["emailRecipientId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "createdBy"))) { #optional property not found + $CreatedBy = $null + } else { + $CreatedBy = $JsonParameters.PSobject.Properties["createdBy"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityCount"))) { #optional property not found + $IdentityCount = $null + } else { + $IdentityCount = $JsonParameters.PSobject.Properties["identityCount"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "saved"))) { #optional property not found + $Saved = $null + } else { + $Saved = $JsonParameters.PSobject.Properties["saved"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "dataFilePath"))) { #optional property not found + $DataFilePath = $null + } else { + $DataFilePath = $JsonParameters.PSobject.Properties["dataFilePath"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "createdDate"))) { #optional property not found + $CreatedDate = $null + } else { + $CreatedDate = $JsonParameters.PSobject.Properties["createdDate"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modifiedDate"))) { #optional property not found + $ModifiedDate = $null + } else { + $ModifiedDate = $JsonParameters.PSobject.Properties["modifiedDate"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + $PSO = [PSCustomObject]@{ + "scope" = ${Scope} + "minNumIdentitiesInPotentialRole" = ${MinNumIdentitiesInPotentialRole} + "scopingMethod" = ${ScopingMethod} + "prescribedPruneThreshold" = ${PrescribedPruneThreshold} + "pruneThreshold" = ${PruneThreshold} + "potentialRoleCount" = ${PotentialRoleCount} + "potentialRolesReadyCount" = ${PotentialRolesReadyCount} + "status" = ${Status} + "emailRecipientId" = ${EmailRecipientId} + "createdBy" = ${CreatedBy} + "identityCount" = ${IdentityCount} + "saved" = ${Saved} + "name" = ${Name} + "dataFilePath" = ${DataFilePath} + "id" = ${Id} + "createdDate" = ${CreatedDate} + "modifiedDate" = ${ModifiedDate} + "type" = ${Type} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningSessionResponseCreatedBy.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningSessionResponseCreatedBy.ps1 new file mode 100644 index 000000000..4cc8e0e48 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningSessionResponseCreatedBy.ps1 @@ -0,0 +1,82 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +The session created by details + +.PARAMETER Json + +JSON object + +.OUTPUTS + +RoleMiningSessionResponseCreatedBy +#> +function ConvertFrom-V2024JsonToRoleMiningSessionResponseCreatedBy { + [CmdletBinding()] + Param ( + [AllowEmptyString()] + [string]$Json + ) + + Process { + $match = 0 + $matchType = $null + $matchInstance = $null + + # try to match EntityCreatedByDTO defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToEntityCreatedByDTO $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "EntityCreatedByDTO" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'EntityCreatedByDTO' defined in oneOf (V2024RoleMiningSessionResponseCreatedBy). Proceeding to the next one if any." + } + + # try to match String defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToString $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "String" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'String' defined in oneOf (V2024RoleMiningSessionResponseCreatedBy). Proceeding to the next one if any." + } + + if ($match -gt 1) { + throw "Error! The JSON payload matches more than one type defined in oneOf schemas ([EntityCreatedByDTO, String]). JSON Payload: $($Json)" + } elseif ($match -eq 1) { + return [PSCustomObject]@{ + "ActualType" = ${matchType} + "ActualInstance" = ${matchInstance} + "OneOfSchemas" = @("EntityCreatedByDTO", "String") + } + } else { + throw "Error! The JSON payload doesn't matches any type defined in oneOf schemas ([EntityCreatedByDTO, String]). JSON Payload: $($Json)" + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningSessionScope.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningSessionScope.ps1 new file mode 100644 index 000000000..7b550d2b7 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningSessionScope.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER IdentityIds +The list of identities for this role mining session. +.PARAMETER Criteria +The ""search"" criteria that produces the list of identities for this role mining session. +.PARAMETER AttributeFilterCriteria +The filter criteria for this role mining session. +.OUTPUTS + +RoleMiningSessionScope +#> + +function Initialize-V2024RoleMiningSessionScope { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${IdentityIds}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Criteria}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${AttributeFilterCriteria} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RoleMiningSessionScope' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "identityIds" = ${IdentityIds} + "criteria" = ${Criteria} + "attributeFilterCriteria" = ${AttributeFilterCriteria} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RoleMiningSessionScope + +.DESCRIPTION + +Convert from JSON to RoleMiningSessionScope + +.PARAMETER Json + +Json object + +.OUTPUTS + +RoleMiningSessionScope +#> +function ConvertFrom-V2024JsonToRoleMiningSessionScope { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RoleMiningSessionScope' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RoleMiningSessionScope + $AllProperties = ("identityIds", "criteria", "attributeFilterCriteria") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityIds"))) { #optional property not found + $IdentityIds = $null + } else { + $IdentityIds = $JsonParameters.PSobject.Properties["identityIds"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "criteria"))) { #optional property not found + $Criteria = $null + } else { + $Criteria = $JsonParameters.PSobject.Properties["criteria"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributeFilterCriteria"))) { #optional property not found + $AttributeFilterCriteria = $null + } else { + $AttributeFilterCriteria = $JsonParameters.PSobject.Properties["attributeFilterCriteria"].value + } + + $PSO = [PSCustomObject]@{ + "identityIds" = ${IdentityIds} + "criteria" = ${Criteria} + "attributeFilterCriteria" = ${AttributeFilterCriteria} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningSessionScopingMethod.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningSessionScopingMethod.ps1 new file mode 100644 index 000000000..f5f584e1a --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningSessionScopingMethod.ps1 @@ -0,0 +1,24 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum RoleMiningSessionScopingMethod. + +.DESCRIPTION + +The scoping method used in the current role mining session. +#> + +enum RoleMiningSessionScopingMethod { + # enum value: "MANUAL" + MANUAL + # enum value: "AUTO_RM" + AUTO_RM +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningSessionState.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningSessionState.ps1 new file mode 100644 index 000000000..1a8cc1601 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningSessionState.ps1 @@ -0,0 +1,32 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum RoleMiningSessionState. + +.DESCRIPTION + +Role mining session status +#> + +enum RoleMiningSessionState { + # enum value: "CREATED" + CREATED + # enum value: "UPDATED" + UPDATED + # enum value: "IDENTITIES_OBTAINED" + IDENTITIES_OBTAINED + # enum value: "PRUNE_THRESHOLD_OBTAINED" + PRUNE_THRESHOLD_OBTAINED + # enum value: "POTENTIAL_ROLES_PROCESSING" + POTENTIAL_ROLES_PROCESSING + # enum value: "POTENTIAL_ROLES_CREATED" + POTENTIAL_ROLES_CREATED +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningSessionStatus.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningSessionStatus.ps1 new file mode 100644 index 000000000..51d4bdda9 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleMiningSessionStatus.ps1 @@ -0,0 +1,97 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER State +No description available. +.OUTPUTS + +RoleMiningSessionStatus +#> + +function Initialize-V2024RoleMiningSessionStatus { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("CREATED", "UPDATED", "IDENTITIES_OBTAINED", "PRUNE_THRESHOLD_OBTAINED", "POTENTIAL_ROLES_PROCESSING", "POTENTIAL_ROLES_CREATED")] + [PSCustomObject] + ${State} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RoleMiningSessionStatus' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "state" = ${State} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RoleMiningSessionStatus + +.DESCRIPTION + +Convert from JSON to RoleMiningSessionStatus + +.PARAMETER Json + +Json object + +.OUTPUTS + +RoleMiningSessionStatus +#> +function ConvertFrom-V2024JsonToRoleMiningSessionStatus { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RoleMiningSessionStatus' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RoleMiningSessionStatus + $AllProperties = ("state") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "state"))) { #optional property not found + $State = $null + } else { + $State = $JsonParameters.PSobject.Properties["state"].value + } + + $PSO = [PSCustomObject]@{ + "state" = ${State} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleSummary.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleSummary.ps1 new file mode 100644 index 000000000..9f6467831 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleSummary.ps1 @@ -0,0 +1,188 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Role + +.PARAMETER Id +The unique ID of the referenced object. +.PARAMETER Name +The human readable name of the referenced object. +.PARAMETER DisplayName +No description available. +.PARAMETER Type +No description available. +.PARAMETER Description +No description available. +.PARAMETER Owner +No description available. +.PARAMETER Disabled +No description available. +.PARAMETER Revocable +No description available. +.OUTPUTS + +RoleSummary +#> + +function Initialize-V2024RoleSummary { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${DisplayName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ACCOUNT_CORRELATION_CONFIG", "ACCESS_PROFILE", "ACCESS_REQUEST_APPROVAL", "ACCOUNT", "APPLICATION", "CAMPAIGN", "CAMPAIGN_FILTER", "CERTIFICATION", "CLUSTER", "CONNECTOR_SCHEMA", "ENTITLEMENT", "GOVERNANCE_GROUP", "IDENTITY", "IDENTITY_PROFILE", "IDENTITY_REQUEST", "LIFECYCLE_STATE", "PASSWORD_POLICY", "ROLE", "RULE", "SOD_POLICY", "SOURCE", "TAG", "TAG_CATEGORY", "TASK_RESULT", "REPORT_RESULT", "SOD_VIOLATION", "ACCOUNT_ACTIVITY", "WORKGROUP")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Owner}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Disabled}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Revocable} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RoleSummary' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "displayName" = ${DisplayName} + "type" = ${Type} + "description" = ${Description} + "owner" = ${Owner} + "disabled" = ${Disabled} + "revocable" = ${Revocable} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RoleSummary + +.DESCRIPTION + +Convert from JSON to RoleSummary + +.PARAMETER Json + +Json object + +.OUTPUTS + +RoleSummary +#> +function ConvertFrom-V2024JsonToRoleSummary { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RoleSummary' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RoleSummary + $AllProperties = ("id", "name", "displayName", "type", "description", "owner", "disabled", "revocable") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "displayName"))) { #optional property not found + $DisplayName = $null + } else { + $DisplayName = $JsonParameters.PSobject.Properties["displayName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "owner"))) { #optional property not found + $Owner = $null + } else { + $Owner = $JsonParameters.PSobject.Properties["owner"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "disabled"))) { #optional property not found + $Disabled = $null + } else { + $Disabled = $JsonParameters.PSobject.Properties["disabled"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "revocable"))) { #optional property not found + $Revocable = $null + } else { + $Revocable = $JsonParameters.PSobject.Properties["revocable"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "displayName" = ${DisplayName} + "type" = ${Type} + "description" = ${Description} + "owner" = ${Owner} + "disabled" = ${Disabled} + "revocable" = ${Revocable} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleTargetDto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleTargetDto.ps1 new file mode 100644 index 000000000..936c1990a --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/RoleTargetDto.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Source +No description available. +.PARAMETER AccountInfo +No description available. +.PARAMETER RoleName +Specific role name for this target if using multiple accounts +.OUTPUTS + +RoleTargetDto +#> + +function Initialize-V2024RoleTargetDto { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Source}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${AccountInfo}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${RoleName} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024RoleTargetDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "source" = ${Source} + "accountInfo" = ${AccountInfo} + "roleName" = ${RoleName} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to RoleTargetDto + +.DESCRIPTION + +Convert from JSON to RoleTargetDto + +.PARAMETER Json + +Json object + +.OUTPUTS + +RoleTargetDto +#> +function ConvertFrom-V2024JsonToRoleTargetDto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024RoleTargetDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024RoleTargetDto + $AllProperties = ("source", "accountInfo", "roleName") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "source"))) { #optional property not found + $Source = $null + } else { + $Source = $JsonParameters.PSobject.Properties["source"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accountInfo"))) { #optional property not found + $AccountInfo = $null + } else { + $AccountInfo = $JsonParameters.PSobject.Properties["accountInfo"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "roleName"))) { #optional property not found + $RoleName = $null + } else { + $RoleName = $JsonParameters.PSobject.Properties["roleName"].value + } + + $PSO = [PSCustomObject]@{ + "source" = ${Source} + "accountInfo" = ${AccountInfo} + "roleName" = ${RoleName} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Rule.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Rule.ps1 new file mode 100644 index 000000000..0fcc7c908 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Rule.ps1 @@ -0,0 +1,98 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Json + +JSON object + +.OUTPUTS + +Rule +#> +function ConvertFrom-V2024JsonToRule { + [CmdletBinding()] + Param ( + [AllowEmptyString()] + [string]$Json + ) + + Process { + $match = 0 + $matchType = $null + $matchInstance = $null + + # try to match GenerateRandomString defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToGenerateRandomString $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "GenerateRandomString" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'GenerateRandomString' defined in oneOf (V2024Rule). Proceeding to the next one if any." + } + + # try to match GetReferenceIdentityAttribute defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToGetReferenceIdentityAttribute $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "GetReferenceIdentityAttribute" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'GetReferenceIdentityAttribute' defined in oneOf (V2024Rule). Proceeding to the next one if any." + } + + # try to match TransformRule defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToTransformRule $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "TransformRule" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'TransformRule' defined in oneOf (V2024Rule). Proceeding to the next one if any." + } + + if ($match -gt 1) { + throw "Error! The JSON payload matches more than one type defined in oneOf schemas ([GenerateRandomString, GetReferenceIdentityAttribute, TransformRule]). JSON Payload: $($Json)" + } elseif ($match -eq 1) { + return [PSCustomObject]@{ + "ActualType" = ${matchType} + "ActualInstance" = ${matchInstance} + "OneOfSchemas" = @("GenerateRandomString", "GetReferenceIdentityAttribute", "TransformRule") + } + } else { + throw "Error! The JSON payload doesn't matches any type defined in oneOf schemas ([GenerateRandomString, GetReferenceIdentityAttribute, TransformRule]). JSON Payload: $($Json)" + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SavedSearch.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SavedSearch.ps1 new file mode 100644 index 000000000..84922b44c --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SavedSearch.ps1 @@ -0,0 +1,290 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Name +The name of the saved search. +.PARAMETER Description +The description of the saved search. +.PARAMETER Created +A date-time in ISO-8601 format +.PARAMETER Modified +A date-time in ISO-8601 format +.PARAMETER Indices +The names of the Elasticsearch indices in which to search. +.PARAMETER Columns +The columns to be returned (specifies the order in which they will be presented) for each document type. The currently supported document types are: _accessprofile_, _accountactivity_, _account_, _aggregation_, _entitlement_, _event_, _identity_, and _role_. +.PARAMETER Query +The search query using Elasticsearch [Query String Query](https://www.elastic.co/guide/en/elasticsearch/reference/5.2/query-dsl-query-string-query.html#query-string) syntax from the Query DSL. +.PARAMETER Fields +The fields to be searched against in a multi-field query. +.PARAMETER OrderBy +Sort by index. This takes precedence over the `sort` property. +.PARAMETER Sort +The fields to be used to sort the search results. +.PARAMETER Filters +No description available. +.PARAMETER Id +The saved search ID. +.PARAMETER Owner +No description available. +.PARAMETER OwnerId +The ID of the identity that owns this saved search. +.PARAMETER Public +Whether this saved search is visible to anyone but the owner. This field will always be false as there is no way to set a saved search as public at this time. +.OUTPUTS + +SavedSearch +#> + +function Initialize-V2024SavedSearch { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Modified}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Indices}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${Columns}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Query}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Fields}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${OrderBy}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Sort}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Filters}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Owner}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${OwnerId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Public} = $false + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SavedSearch' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Indices) { + throw "invalid value for 'Indices', 'Indices' cannot be null." + } + + if (!$Query) { + throw "invalid value for 'Query', 'Query' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "description" = ${Description} + "created" = ${Created} + "modified" = ${Modified} + "indices" = ${Indices} + "columns" = ${Columns} + "query" = ${Query} + "fields" = ${Fields} + "orderBy" = ${OrderBy} + "sort" = ${Sort} + "filters" = ${Filters} + "id" = ${Id} + "owner" = ${Owner} + "ownerId" = ${OwnerId} + "public" = ${Public} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SavedSearch + +.DESCRIPTION + +Convert from JSON to SavedSearch + +.PARAMETER Json + +Json object + +.OUTPUTS + +SavedSearch +#> +function ConvertFrom-V2024JsonToSavedSearch { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SavedSearch' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SavedSearch + $AllProperties = ("name", "description", "created", "modified", "indices", "columns", "query", "fields", "orderBy", "sort", "filters", "id", "owner", "ownerId", "public") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'indices' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "indices"))) { + throw "Error! JSON cannot be serialized due to the required property 'indices' missing." + } else { + $Indices = $JsonParameters.PSobject.Properties["indices"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "query"))) { + throw "Error! JSON cannot be serialized due to the required property 'query' missing." + } else { + $Query = $JsonParameters.PSobject.Properties["query"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "columns"))) { #optional property not found + $Columns = $null + } else { + $Columns = $JsonParameters.PSobject.Properties["columns"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "fields"))) { #optional property not found + $Fields = $null + } else { + $Fields = $JsonParameters.PSobject.Properties["fields"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "orderBy"))) { #optional property not found + $OrderBy = $null + } else { + $OrderBy = $JsonParameters.PSobject.Properties["orderBy"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sort"))) { #optional property not found + $Sort = $null + } else { + $Sort = $JsonParameters.PSobject.Properties["sort"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "filters"))) { #optional property not found + $Filters = $null + } else { + $Filters = $JsonParameters.PSobject.Properties["filters"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "owner"))) { #optional property not found + $Owner = $null + } else { + $Owner = $JsonParameters.PSobject.Properties["owner"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "ownerId"))) { #optional property not found + $OwnerId = $null + } else { + $OwnerId = $JsonParameters.PSobject.Properties["ownerId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "public"))) { #optional property not found + $Public = $null + } else { + $Public = $JsonParameters.PSobject.Properties["public"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "description" = ${Description} + "created" = ${Created} + "modified" = ${Modified} + "indices" = ${Indices} + "columns" = ${Columns} + "query" = ${Query} + "fields" = ${Fields} + "orderBy" = ${OrderBy} + "sort" = ${Sort} + "filters" = ${Filters} + "id" = ${Id} + "owner" = ${Owner} + "ownerId" = ${OwnerId} + "public" = ${Public} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SavedSearchComplete.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SavedSearchComplete.ps1 new file mode 100644 index 000000000..a8806bb45 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SavedSearchComplete.ps1 @@ -0,0 +1,206 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER FileName +A name for the report file. +.PARAMETER OwnerEmail +The email address of the identity that owns the saved search. +.PARAMETER OwnerName +The name of the identity that owns the saved search. +.PARAMETER Query +The search query that was used to generate the report. +.PARAMETER SearchName +The name of the saved search. +.PARAMETER SearchResults +No description available. +.PARAMETER SignedS3Url +The Amazon S3 URL to download the report from. +.OUTPUTS + +SavedSearchComplete +#> + +function Initialize-V2024SavedSearchComplete { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${FileName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${OwnerEmail}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${OwnerName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Query}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SearchName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${SearchResults}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SignedS3Url} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SavedSearchComplete' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$FileName) { + throw "invalid value for 'FileName', 'FileName' cannot be null." + } + + if (!$OwnerEmail) { + throw "invalid value for 'OwnerEmail', 'OwnerEmail' cannot be null." + } + + if (!$OwnerName) { + throw "invalid value for 'OwnerName', 'OwnerName' cannot be null." + } + + if (!$Query) { + throw "invalid value for 'Query', 'Query' cannot be null." + } + + if (!$SearchName) { + throw "invalid value for 'SearchName', 'SearchName' cannot be null." + } + + if (!$SearchResults) { + throw "invalid value for 'SearchResults', 'SearchResults' cannot be null." + } + + if (!$SignedS3Url) { + throw "invalid value for 'SignedS3Url', 'SignedS3Url' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "fileName" = ${FileName} + "ownerEmail" = ${OwnerEmail} + "ownerName" = ${OwnerName} + "query" = ${Query} + "searchName" = ${SearchName} + "searchResults" = ${SearchResults} + "signedS3Url" = ${SignedS3Url} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SavedSearchComplete + +.DESCRIPTION + +Convert from JSON to SavedSearchComplete + +.PARAMETER Json + +Json object + +.OUTPUTS + +SavedSearchComplete +#> +function ConvertFrom-V2024JsonToSavedSearchComplete { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SavedSearchComplete' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SavedSearchComplete + $AllProperties = ("fileName", "ownerEmail", "ownerName", "query", "searchName", "searchResults", "signedS3Url") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'fileName' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "fileName"))) { + throw "Error! JSON cannot be serialized due to the required property 'fileName' missing." + } else { + $FileName = $JsonParameters.PSobject.Properties["fileName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "ownerEmail"))) { + throw "Error! JSON cannot be serialized due to the required property 'ownerEmail' missing." + } else { + $OwnerEmail = $JsonParameters.PSobject.Properties["ownerEmail"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "ownerName"))) { + throw "Error! JSON cannot be serialized due to the required property 'ownerName' missing." + } else { + $OwnerName = $JsonParameters.PSobject.Properties["ownerName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "query"))) { + throw "Error! JSON cannot be serialized due to the required property 'query' missing." + } else { + $Query = $JsonParameters.PSobject.Properties["query"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "searchName"))) { + throw "Error! JSON cannot be serialized due to the required property 'searchName' missing." + } else { + $SearchName = $JsonParameters.PSobject.Properties["searchName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "searchResults"))) { + throw "Error! JSON cannot be serialized due to the required property 'searchResults' missing." + } else { + $SearchResults = $JsonParameters.PSobject.Properties["searchResults"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "signedS3Url"))) { + throw "Error! JSON cannot be serialized due to the required property 'signedS3Url' missing." + } else { + $SignedS3Url = $JsonParameters.PSobject.Properties["signedS3Url"].value + } + + $PSO = [PSCustomObject]@{ + "fileName" = ${FileName} + "ownerEmail" = ${OwnerEmail} + "ownerName" = ${OwnerName} + "query" = ${Query} + "searchName" = ${SearchName} + "searchResults" = ${SearchResults} + "signedS3Url" = ${SignedS3Url} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SavedSearchCompleteSearchResults.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SavedSearchCompleteSearchResults.ps1 new file mode 100644 index 000000000..77cb85d0d --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SavedSearchCompleteSearchResults.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +A preview of the search results for each object type. This includes a count as well as headers, and the first several rows of data, per object type. + +.PARAMETER Account +No description available. +.PARAMETER Entitlement +No description available. +.PARAMETER Identity +No description available. +.OUTPUTS + +SavedSearchCompleteSearchResults +#> + +function Initialize-V2024SavedSearchCompleteSearchResults { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Account}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Entitlement}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Identity} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SavedSearchCompleteSearchResults' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "Account" = ${Account} + "Entitlement" = ${Entitlement} + "Identity" = ${Identity} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SavedSearchCompleteSearchResults + +.DESCRIPTION + +Convert from JSON to SavedSearchCompleteSearchResults + +.PARAMETER Json + +Json object + +.OUTPUTS + +SavedSearchCompleteSearchResults +#> +function ConvertFrom-V2024JsonToSavedSearchCompleteSearchResults { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SavedSearchCompleteSearchResults' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SavedSearchCompleteSearchResults + $AllProperties = ("Account", "Entitlement", "Identity") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "Account"))) { #optional property not found + $Account = $null + } else { + $Account = $JsonParameters.PSobject.Properties["Account"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "Entitlement"))) { #optional property not found + $Entitlement = $null + } else { + $Entitlement = $JsonParameters.PSobject.Properties["Entitlement"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "Identity"))) { #optional property not found + $Identity = $null + } else { + $Identity = $JsonParameters.PSobject.Properties["Identity"].value + } + + $PSO = [PSCustomObject]@{ + "Account" = ${Account} + "Entitlement" = ${Entitlement} + "Identity" = ${Identity} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SavedSearchCompleteSearchResultsAccount.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SavedSearchCompleteSearchResultsAccount.ps1 new file mode 100644 index 000000000..5080ba6aa --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SavedSearchCompleteSearchResultsAccount.ps1 @@ -0,0 +1,138 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +A table of accounts that match the search criteria. + +.PARAMETER Count +The number of rows in the table. +.PARAMETER Noun +The type of object represented in the table. +.PARAMETER Preview +A sample of the data in the table. +.OUTPUTS + +SavedSearchCompleteSearchResultsAccount +#> + +function Initialize-V2024SavedSearchCompleteSearchResultsAccount { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Count}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Noun}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[][]] + ${Preview} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SavedSearchCompleteSearchResultsAccount' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Count) { + throw "invalid value for 'Count', 'Count' cannot be null." + } + + if (!$Noun) { + throw "invalid value for 'Noun', 'Noun' cannot be null." + } + + if (!$Preview) { + throw "invalid value for 'Preview', 'Preview' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "count" = ${Count} + "noun" = ${Noun} + "preview" = ${Preview} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SavedSearchCompleteSearchResultsAccount + +.DESCRIPTION + +Convert from JSON to SavedSearchCompleteSearchResultsAccount + +.PARAMETER Json + +Json object + +.OUTPUTS + +SavedSearchCompleteSearchResultsAccount +#> +function ConvertFrom-V2024JsonToSavedSearchCompleteSearchResultsAccount { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SavedSearchCompleteSearchResultsAccount' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SavedSearchCompleteSearchResultsAccount + $AllProperties = ("count", "noun", "preview") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'count' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "count"))) { + throw "Error! JSON cannot be serialized due to the required property 'count' missing." + } else { + $Count = $JsonParameters.PSobject.Properties["count"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "noun"))) { + throw "Error! JSON cannot be serialized due to the required property 'noun' missing." + } else { + $Noun = $JsonParameters.PSobject.Properties["noun"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "preview"))) { + throw "Error! JSON cannot be serialized due to the required property 'preview' missing." + } else { + $Preview = $JsonParameters.PSobject.Properties["preview"].value + } + + $PSO = [PSCustomObject]@{ + "count" = ${Count} + "noun" = ${Noun} + "preview" = ${Preview} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SavedSearchCompleteSearchResultsEntitlement.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SavedSearchCompleteSearchResultsEntitlement.ps1 new file mode 100644 index 000000000..c0ad3bfd0 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SavedSearchCompleteSearchResultsEntitlement.ps1 @@ -0,0 +1,138 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +A table of entitlements that match the search criteria. + +.PARAMETER Count +The number of rows in the table. +.PARAMETER Noun +The type of object represented in the table. +.PARAMETER Preview +A sample of the data in the table. +.OUTPUTS + +SavedSearchCompleteSearchResultsEntitlement +#> + +function Initialize-V2024SavedSearchCompleteSearchResultsEntitlement { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Count}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Noun}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[][]] + ${Preview} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SavedSearchCompleteSearchResultsEntitlement' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Count) { + throw "invalid value for 'Count', 'Count' cannot be null." + } + + if (!$Noun) { + throw "invalid value for 'Noun', 'Noun' cannot be null." + } + + if (!$Preview) { + throw "invalid value for 'Preview', 'Preview' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "count" = ${Count} + "noun" = ${Noun} + "preview" = ${Preview} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SavedSearchCompleteSearchResultsEntitlement + +.DESCRIPTION + +Convert from JSON to SavedSearchCompleteSearchResultsEntitlement + +.PARAMETER Json + +Json object + +.OUTPUTS + +SavedSearchCompleteSearchResultsEntitlement +#> +function ConvertFrom-V2024JsonToSavedSearchCompleteSearchResultsEntitlement { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SavedSearchCompleteSearchResultsEntitlement' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SavedSearchCompleteSearchResultsEntitlement + $AllProperties = ("count", "noun", "preview") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'count' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "count"))) { + throw "Error! JSON cannot be serialized due to the required property 'count' missing." + } else { + $Count = $JsonParameters.PSobject.Properties["count"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "noun"))) { + throw "Error! JSON cannot be serialized due to the required property 'noun' missing." + } else { + $Noun = $JsonParameters.PSobject.Properties["noun"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "preview"))) { + throw "Error! JSON cannot be serialized due to the required property 'preview' missing." + } else { + $Preview = $JsonParameters.PSobject.Properties["preview"].value + } + + $PSO = [PSCustomObject]@{ + "count" = ${Count} + "noun" = ${Noun} + "preview" = ${Preview} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SavedSearchCompleteSearchResultsIdentity.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SavedSearchCompleteSearchResultsIdentity.ps1 new file mode 100644 index 000000000..782a2871f --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SavedSearchCompleteSearchResultsIdentity.ps1 @@ -0,0 +1,138 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +A table of identities that match the search criteria. + +.PARAMETER Count +The number of rows in the table. +.PARAMETER Noun +The type of object represented in the table. +.PARAMETER Preview +A sample of the data in the table. +.OUTPUTS + +SavedSearchCompleteSearchResultsIdentity +#> + +function Initialize-V2024SavedSearchCompleteSearchResultsIdentity { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Count}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Noun}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[][]] + ${Preview} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SavedSearchCompleteSearchResultsIdentity' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Count) { + throw "invalid value for 'Count', 'Count' cannot be null." + } + + if (!$Noun) { + throw "invalid value for 'Noun', 'Noun' cannot be null." + } + + if (!$Preview) { + throw "invalid value for 'Preview', 'Preview' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "count" = ${Count} + "noun" = ${Noun} + "preview" = ${Preview} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SavedSearchCompleteSearchResultsIdentity + +.DESCRIPTION + +Convert from JSON to SavedSearchCompleteSearchResultsIdentity + +.PARAMETER Json + +Json object + +.OUTPUTS + +SavedSearchCompleteSearchResultsIdentity +#> +function ConvertFrom-V2024JsonToSavedSearchCompleteSearchResultsIdentity { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SavedSearchCompleteSearchResultsIdentity' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SavedSearchCompleteSearchResultsIdentity + $AllProperties = ("count", "noun", "preview") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'count' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "count"))) { + throw "Error! JSON cannot be serialized due to the required property 'count' missing." + } else { + $Count = $JsonParameters.PSobject.Properties["count"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "noun"))) { + throw "Error! JSON cannot be serialized due to the required property 'noun' missing." + } else { + $Noun = $JsonParameters.PSobject.Properties["noun"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "preview"))) { + throw "Error! JSON cannot be serialized due to the required property 'preview' missing." + } else { + $Preview = $JsonParameters.PSobject.Properties["preview"].value + } + + $PSO = [PSCustomObject]@{ + "count" = ${Count} + "noun" = ${Noun} + "preview" = ${Preview} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SavedSearchDetail.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SavedSearchDetail.ps1 new file mode 100644 index 000000000..18088ddc0 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SavedSearchDetail.ps1 @@ -0,0 +1,212 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Created +A date-time in ISO-8601 format +.PARAMETER Modified +A date-time in ISO-8601 format +.PARAMETER Indices +The names of the Elasticsearch indices in which to search. +.PARAMETER Columns +The columns to be returned (specifies the order in which they will be presented) for each document type. The currently supported document types are: _accessprofile_, _accountactivity_, _account_, _aggregation_, _entitlement_, _event_, _identity_, and _role_. +.PARAMETER Query +The search query using Elasticsearch [Query String Query](https://www.elastic.co/guide/en/elasticsearch/reference/5.2/query-dsl-query-string-query.html#query-string) syntax from the Query DSL. +.PARAMETER Fields +The fields to be searched against in a multi-field query. +.PARAMETER OrderBy +Sort by index. This takes precedence over the `sort` property. +.PARAMETER Sort +The fields to be used to sort the search results. +.PARAMETER Filters +No description available. +.OUTPUTS + +SavedSearchDetail +#> + +function Initialize-V2024SavedSearchDetail { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Modified}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Indices}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${Columns}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Query}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Fields}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${OrderBy}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Sort}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Filters} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SavedSearchDetail' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Indices) { + throw "invalid value for 'Indices', 'Indices' cannot be null." + } + + if (!$Query) { + throw "invalid value for 'Query', 'Query' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "created" = ${Created} + "modified" = ${Modified} + "indices" = ${Indices} + "columns" = ${Columns} + "query" = ${Query} + "fields" = ${Fields} + "orderBy" = ${OrderBy} + "sort" = ${Sort} + "filters" = ${Filters} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SavedSearchDetail + +.DESCRIPTION + +Convert from JSON to SavedSearchDetail + +.PARAMETER Json + +Json object + +.OUTPUTS + +SavedSearchDetail +#> +function ConvertFrom-V2024JsonToSavedSearchDetail { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SavedSearchDetail' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SavedSearchDetail + $AllProperties = ("created", "modified", "indices", "columns", "query", "fields", "orderBy", "sort", "filters") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'indices' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "indices"))) { + throw "Error! JSON cannot be serialized due to the required property 'indices' missing." + } else { + $Indices = $JsonParameters.PSobject.Properties["indices"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "query"))) { + throw "Error! JSON cannot be serialized due to the required property 'query' missing." + } else { + $Query = $JsonParameters.PSobject.Properties["query"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "columns"))) { #optional property not found + $Columns = $null + } else { + $Columns = $JsonParameters.PSobject.Properties["columns"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "fields"))) { #optional property not found + $Fields = $null + } else { + $Fields = $JsonParameters.PSobject.Properties["fields"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "orderBy"))) { #optional property not found + $OrderBy = $null + } else { + $OrderBy = $JsonParameters.PSobject.Properties["orderBy"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sort"))) { #optional property not found + $Sort = $null + } else { + $Sort = $JsonParameters.PSobject.Properties["sort"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "filters"))) { #optional property not found + $Filters = $null + } else { + $Filters = $JsonParameters.PSobject.Properties["filters"].value + } + + $PSO = [PSCustomObject]@{ + "created" = ${Created} + "modified" = ${Modified} + "indices" = ${Indices} + "columns" = ${Columns} + "query" = ${Query} + "fields" = ${Fields} + "orderBy" = ${OrderBy} + "sort" = ${Sort} + "filters" = ${Filters} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SavedSearchDetailFilters.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SavedSearchDetailFilters.ps1 new file mode 100644 index 000000000..e0efc13f6 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SavedSearchDetailFilters.ps1 @@ -0,0 +1,136 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Type +No description available. +.PARAMETER Range +No description available. +.PARAMETER Terms +The terms to be filtered. +.PARAMETER Exclude +Indicates if the filter excludes results. +.OUTPUTS + +SavedSearchDetailFilters +#> + +function Initialize-V2024SavedSearchDetailFilters { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("EXISTS", "RANGE", "TERMS")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Range}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Terms}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Exclude} = $false + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SavedSearchDetailFilters' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "range" = ${Range} + "terms" = ${Terms} + "exclude" = ${Exclude} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SavedSearchDetailFilters + +.DESCRIPTION + +Convert from JSON to SavedSearchDetailFilters + +.PARAMETER Json + +Json object + +.OUTPUTS + +SavedSearchDetailFilters +#> +function ConvertFrom-V2024JsonToSavedSearchDetailFilters { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SavedSearchDetailFilters' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SavedSearchDetailFilters + $AllProperties = ("type", "range", "terms", "exclude") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "range"))) { #optional property not found + $Range = $null + } else { + $Range = $JsonParameters.PSobject.Properties["range"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "terms"))) { #optional property not found + $Terms = $null + } else { + $Terms = $JsonParameters.PSobject.Properties["terms"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "exclude"))) { #optional property not found + $Exclude = $null + } else { + $Exclude = $JsonParameters.PSobject.Properties["exclude"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "range" = ${Range} + "terms" = ${Terms} + "exclude" = ${Exclude} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SavedSearchName.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SavedSearchName.ps1 new file mode 100644 index 000000000..1f138b8e9 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SavedSearchName.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Name +The name of the saved search. +.PARAMETER Description +The description of the saved search. +.OUTPUTS + +SavedSearchName +#> + +function Initialize-V2024SavedSearchName { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SavedSearchName' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "description" = ${Description} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SavedSearchName + +.DESCRIPTION + +Convert from JSON to SavedSearchName + +.PARAMETER Json + +Json object + +.OUTPUTS + +SavedSearchName +#> +function ConvertFrom-V2024JsonToSavedSearchName { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SavedSearchName' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SavedSearchName + $AllProperties = ("name", "description") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "description" = ${Description} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Schedule.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Schedule.ps1 new file mode 100644 index 000000000..dc7a28b2a --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Schedule.ps1 @@ -0,0 +1,174 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Type +Determines the overall schedule cadence. In general, all time period fields smaller than the chosen type can be configured. For example, a DAILY schedule can have 'hours' set, but not 'days'; a WEEKLY schedule can have both 'hours' and 'days' set. +.PARAMETER Months +No description available. +.PARAMETER Days +No description available. +.PARAMETER Hours +No description available. +.PARAMETER Expiration +Specifies the time after which this schedule will no longer occur. +.PARAMETER TimeZoneId +The time zone to use when running the schedule. For instance, if the schedule is scheduled to run at 1AM, and this field is set to ""CST"", the schedule will run at 1AM CST. +.OUTPUTS + +Schedule +#> + +function Initialize-V2024Schedule { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("WEEKLY", "MONTHLY", "ANNUALLY", "CALENDAR")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Months}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Days}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Hours}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Expiration}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${TimeZoneId} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Schedule' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Hours) { + throw "invalid value for 'Hours', 'Hours' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "months" = ${Months} + "days" = ${Days} + "hours" = ${Hours} + "expiration" = ${Expiration} + "timeZoneId" = ${TimeZoneId} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Schedule + +.DESCRIPTION + +Convert from JSON to Schedule + +.PARAMETER Json + +Json object + +.OUTPUTS + +Schedule +#> +function ConvertFrom-V2024JsonToSchedule { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Schedule' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Schedule + $AllProperties = ("type", "months", "days", "hours", "expiration", "timeZoneId") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'type' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "hours"))) { + throw "Error! JSON cannot be serialized due to the required property 'hours' missing." + } else { + $Hours = $JsonParameters.PSobject.Properties["hours"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "months"))) { #optional property not found + $Months = $null + } else { + $Months = $JsonParameters.PSobject.Properties["months"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "days"))) { #optional property not found + $Days = $null + } else { + $Days = $JsonParameters.PSobject.Properties["days"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "expiration"))) { #optional property not found + $Expiration = $null + } else { + $Expiration = $JsonParameters.PSobject.Properties["expiration"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "timeZoneId"))) { #optional property not found + $TimeZoneId = $null + } else { + $TimeZoneId = $JsonParameters.PSobject.Properties["timeZoneId"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "months" = ${Months} + "days" = ${Days} + "hours" = ${Hours} + "expiration" = ${Expiration} + "timeZoneId" = ${TimeZoneId} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Schedule1.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Schedule1.ps1 new file mode 100644 index 000000000..4e0bc48c1 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Schedule1.ps1 @@ -0,0 +1,174 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +The schedule information. + +.PARAMETER Type +No description available. +.PARAMETER Months +No description available. +.PARAMETER Days +No description available. +.PARAMETER Hours +No description available. +.PARAMETER Expiration +A date-time in ISO-8601 format +.PARAMETER TimeZoneId +The canonical TZ identifier the schedule will run in (ex. America/New_York). If no timezone is specified, the org's default timezone is used. +.OUTPUTS + +Schedule1 +#> + +function Initialize-V2024Schedule1 { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("DAILY", "WEEKLY", "MONTHLY", "CALENDAR", "ANNUALLY")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Months}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Days}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Hours}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Expiration}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${TimeZoneId} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Schedule1' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Hours) { + throw "invalid value for 'Hours', 'Hours' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "months" = ${Months} + "days" = ${Days} + "hours" = ${Hours} + "expiration" = ${Expiration} + "timeZoneId" = ${TimeZoneId} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Schedule1 + +.DESCRIPTION + +Convert from JSON to Schedule1 + +.PARAMETER Json + +Json object + +.OUTPUTS + +Schedule1 +#> +function ConvertFrom-V2024JsonToSchedule1 { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Schedule1' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Schedule1 + $AllProperties = ("type", "months", "days", "hours", "expiration", "timeZoneId") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'type' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "hours"))) { + throw "Error! JSON cannot be serialized due to the required property 'hours' missing." + } else { + $Hours = $JsonParameters.PSobject.Properties["hours"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "months"))) { #optional property not found + $Months = $null + } else { + $Months = $JsonParameters.PSobject.Properties["months"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "days"))) { #optional property not found + $Days = $null + } else { + $Days = $JsonParameters.PSobject.Properties["days"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "expiration"))) { #optional property not found + $Expiration = $null + } else { + $Expiration = $JsonParameters.PSobject.Properties["expiration"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "timeZoneId"))) { #optional property not found + $TimeZoneId = $null + } else { + $TimeZoneId = $JsonParameters.PSobject.Properties["timeZoneId"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "months" = ${Months} + "days" = ${Days} + "hours" = ${Hours} + "expiration" = ${Expiration} + "timeZoneId" = ${TimeZoneId} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Schedule1Days.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Schedule1Days.ps1 new file mode 100644 index 000000000..1c691f9ad --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Schedule1Days.ps1 @@ -0,0 +1,135 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Type +No description available. +.PARAMETER Values +The selected values. +.PARAMETER Interval +The selected interval for RANGE selectors. +.OUTPUTS + +Schedule1Days +#> + +function Initialize-V2024Schedule1Days { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("LIST", "RANGE")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Values}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${Interval} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Schedule1Days' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Values) { + throw "invalid value for 'Values', 'Values' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "values" = ${Values} + "interval" = ${Interval} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Schedule1Days + +.DESCRIPTION + +Convert from JSON to Schedule1Days + +.PARAMETER Json + +Json object + +.OUTPUTS + +Schedule1Days +#> +function ConvertFrom-V2024JsonToSchedule1Days { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Schedule1Days' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Schedule1Days + $AllProperties = ("type", "values", "interval") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'type' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "values"))) { + throw "Error! JSON cannot be serialized due to the required property 'values' missing." + } else { + $Values = $JsonParameters.PSobject.Properties["values"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "interval"))) { #optional property not found + $Interval = $null + } else { + $Interval = $JsonParameters.PSobject.Properties["interval"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "values" = ${Values} + "interval" = ${Interval} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Schedule1Hours.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Schedule1Hours.ps1 new file mode 100644 index 000000000..8224eac8d --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Schedule1Hours.ps1 @@ -0,0 +1,135 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Type +No description available. +.PARAMETER Values +The selected values. +.PARAMETER Interval +The selected interval for RANGE selectors. +.OUTPUTS + +Schedule1Hours +#> + +function Initialize-V2024Schedule1Hours { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("LIST", "RANGE")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Values}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${Interval} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Schedule1Hours' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Values) { + throw "invalid value for 'Values', 'Values' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "values" = ${Values} + "interval" = ${Interval} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Schedule1Hours + +.DESCRIPTION + +Convert from JSON to Schedule1Hours + +.PARAMETER Json + +Json object + +.OUTPUTS + +Schedule1Hours +#> +function ConvertFrom-V2024JsonToSchedule1Hours { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Schedule1Hours' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Schedule1Hours + $AllProperties = ("type", "values", "interval") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'type' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "values"))) { + throw "Error! JSON cannot be serialized due to the required property 'values' missing." + } else { + $Values = $JsonParameters.PSobject.Properties["values"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "interval"))) { #optional property not found + $Interval = $null + } else { + $Interval = $JsonParameters.PSobject.Properties["interval"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "values" = ${Values} + "interval" = ${Interval} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Schedule1Months.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Schedule1Months.ps1 new file mode 100644 index 000000000..8eea4e91f --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Schedule1Months.ps1 @@ -0,0 +1,135 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Type +No description available. +.PARAMETER Values +The selected values. +.PARAMETER Interval +The selected interval for RANGE selectors. +.OUTPUTS + +Schedule1Months +#> + +function Initialize-V2024Schedule1Months { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("LIST", "RANGE")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Values}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${Interval} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Schedule1Months' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Values) { + throw "invalid value for 'Values', 'Values' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "values" = ${Values} + "interval" = ${Interval} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Schedule1Months + +.DESCRIPTION + +Convert from JSON to Schedule1Months + +.PARAMETER Json + +Json object + +.OUTPUTS + +Schedule1Months +#> +function ConvertFrom-V2024JsonToSchedule1Months { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Schedule1Months' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Schedule1Months + $AllProperties = ("type", "values", "interval") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'type' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "values"))) { + throw "Error! JSON cannot be serialized due to the required property 'values' missing." + } else { + $Values = $JsonParameters.PSobject.Properties["values"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "interval"))) { #optional property not found + $Interval = $null + } else { + $Interval = $JsonParameters.PSobject.Properties["interval"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "values" = ${Values} + "interval" = ${Interval} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ScheduleDays.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ScheduleDays.ps1 new file mode 100644 index 000000000..353256206 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ScheduleDays.ps1 @@ -0,0 +1,135 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Specifies which day(s) a schedule is active for. This is required for all schedule types. The ""values"" field holds different data depending on the type of schedule: * WEEKLY: days of the week (1-7) * MONTHLY: days of the month (1-31, L, L-1...) * ANNUALLY: if the ""months"" field is also set: days of the month (1-31, L, L-1...); otherwise: ISO-8601 dates without year (""--12-31"") * CALENDAR: ISO-8601 dates (""2020-12-31"") Note that CALENDAR only supports the LIST type, and ANNUALLY does not support the RANGE type when provided with ISO-8601 dates without year. Examples: On Sundays: * type LIST * values ""1"" The second to last day of the month: * type LIST * values ""L-1"" From the 20th to the last day of the month: * type RANGE * values ""20"", ""L"" Every March 2nd: * type LIST * values ""--03-02"" On March 2nd, 2021: * type: LIST * values ""2021-03-02"" + +.PARAMETER Type +Enum type to specify days value +.PARAMETER Values +Values of the days based on the enum type mentioned above +.PARAMETER Interval +Interval between the cert generations +.OUTPUTS + +ScheduleDays +#> + +function Initialize-V2024ScheduleDays { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("LIST", "RANGE")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Values}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int64]] + ${Interval} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ScheduleDays' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Values) { + throw "invalid value for 'Values', 'Values' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "values" = ${Values} + "interval" = ${Interval} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ScheduleDays + +.DESCRIPTION + +Convert from JSON to ScheduleDays + +.PARAMETER Json + +Json object + +.OUTPUTS + +ScheduleDays +#> +function ConvertFrom-V2024JsonToScheduleDays { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ScheduleDays' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ScheduleDays + $AllProperties = ("type", "values", "interval") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'type' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "values"))) { + throw "Error! JSON cannot be serialized due to the required property 'values' missing." + } else { + $Values = $JsonParameters.PSobject.Properties["values"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "interval"))) { #optional property not found + $Interval = $null + } else { + $Interval = $JsonParameters.PSobject.Properties["interval"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "values" = ${Values} + "interval" = ${Interval} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ScheduleHours.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ScheduleHours.ps1 new file mode 100644 index 000000000..feeb73f02 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ScheduleHours.ps1 @@ -0,0 +1,135 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Specifies which hour(s) a schedule is active for. Examples: Every three hours starting from 8AM, inclusive: * type LIST * values ""8"" * interval 3 During business hours: * type RANGE * values ""9"", ""5"" At 5AM, noon, and 5PM: * type LIST * values ""5"", ""12"", ""17"" + +.PARAMETER Type +Enum type to specify hours value +.PARAMETER Values +Values of the days based on the enum type mentioned above +.PARAMETER Interval +Interval between the cert generations +.OUTPUTS + +ScheduleHours +#> + +function Initialize-V2024ScheduleHours { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("LIST", "RANGE")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Values}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int64]] + ${Interval} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ScheduleHours' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Values) { + throw "invalid value for 'Values', 'Values' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "values" = ${Values} + "interval" = ${Interval} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ScheduleHours + +.DESCRIPTION + +Convert from JSON to ScheduleHours + +.PARAMETER Json + +Json object + +.OUTPUTS + +ScheduleHours +#> +function ConvertFrom-V2024JsonToScheduleHours { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ScheduleHours' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ScheduleHours + $AllProperties = ("type", "values", "interval") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'type' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "values"))) { + throw "Error! JSON cannot be serialized due to the required property 'values' missing." + } else { + $Values = $JsonParameters.PSobject.Properties["values"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "interval"))) { #optional property not found + $Interval = $null + } else { + $Interval = $JsonParameters.PSobject.Properties["interval"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "values" = ${Values} + "interval" = ${Interval} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ScheduleMonths.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ScheduleMonths.ps1 new file mode 100644 index 000000000..cc7f850d9 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ScheduleMonths.ps1 @@ -0,0 +1,135 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Specifies which months of a schedule are active. Only valid for ANNUALLY schedule types. Examples: On February and March: * type LIST * values ""2"", ""3"" Every 3 months, starting in January (quarterly): * type LIST * values ""1"" * interval 3 Every two months between July and December: * type RANGE * values ""7"", ""12"" * interval 2 + +.PARAMETER Type +Enum type to specify months value +.PARAMETER Values +Values of the months based on the enum type mentioned above +.PARAMETER Interval +Interval between the cert generations +.OUTPUTS + +ScheduleMonths +#> + +function Initialize-V2024ScheduleMonths { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("LIST", "RANGE")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Values}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int64]] + ${Interval} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ScheduleMonths' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Values) { + throw "invalid value for 'Values', 'Values' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "values" = ${Values} + "interval" = ${Interval} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ScheduleMonths + +.DESCRIPTION + +Convert from JSON to ScheduleMonths + +.PARAMETER Json + +Json object + +.OUTPUTS + +ScheduleMonths +#> +function ConvertFrom-V2024JsonToScheduleMonths { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ScheduleMonths' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ScheduleMonths + $AllProperties = ("type", "values", "interval") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'type' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "values"))) { + throw "Error! JSON cannot be serialized due to the required property 'values' missing." + } else { + $Values = $JsonParameters.PSobject.Properties["values"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "interval"))) { #optional property not found + $Interval = $null + } else { + $Interval = $JsonParameters.PSobject.Properties["interval"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "values" = ${Values} + "interval" = ${Interval} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ScheduleType.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ScheduleType.ps1 new file mode 100644 index 000000000..93eb3700e --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ScheduleType.ps1 @@ -0,0 +1,30 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum ScheduleType. + +.DESCRIPTION + +Enum representing the currently supported schedule types. Additional values may be added in the future without notice. +#> + +enum ScheduleType { + # enum value: "DAILY" + DAILY + # enum value: "WEEKLY" + WEEKLY + # enum value: "MONTHLY" + MONTHLY + # enum value: "CALENDAR" + CALENDAR + # enum value: "ANNUALLY" + ANNUALLY +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ScheduledAttributes.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ScheduledAttributes.ps1 new file mode 100644 index 000000000..1fc461abe --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ScheduledAttributes.ps1 @@ -0,0 +1,157 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Attributes related to a scheduled trigger + +.PARAMETER CronString +A valid CRON expression +.PARAMETER Frequency +Frequency of execution +.PARAMETER TimeZone +Time zone identifier +.PARAMETER WeeklyDays +Scheduled days of the week for execution +.PARAMETER WeeklyTimes +Scheduled execution times +.OUTPUTS + +ScheduledAttributes +#> + +function Initialize-V2024ScheduledAttributes { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${CronString}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("daily", "weekly", "monthly", "yearly", "cronSchedule")] + [String] + ${Frequency}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${TimeZone}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${WeeklyDays}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${WeeklyTimes} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ScheduledAttributes' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Frequency) { + throw "invalid value for 'Frequency', 'Frequency' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "cronString" = ${CronString} + "frequency" = ${Frequency} + "timeZone" = ${TimeZone} + "weeklyDays" = ${WeeklyDays} + "weeklyTimes" = ${WeeklyTimes} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ScheduledAttributes + +.DESCRIPTION + +Convert from JSON to ScheduledAttributes + +.PARAMETER Json + +Json object + +.OUTPUTS + +ScheduledAttributes +#> +function ConvertFrom-V2024JsonToScheduledAttributes { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ScheduledAttributes' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ScheduledAttributes + $AllProperties = ("cronString", "frequency", "timeZone", "weeklyDays", "weeklyTimes") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'frequency' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "frequency"))) { + throw "Error! JSON cannot be serialized due to the required property 'frequency' missing." + } else { + $Frequency = $JsonParameters.PSobject.Properties["frequency"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "cronString"))) { #optional property not found + $CronString = $null + } else { + $CronString = $JsonParameters.PSobject.Properties["cronString"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "timeZone"))) { #optional property not found + $TimeZone = $null + } else { + $TimeZone = $JsonParameters.PSobject.Properties["timeZone"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "weeklyDays"))) { #optional property not found + $WeeklyDays = $null + } else { + $WeeklyDays = $JsonParameters.PSobject.Properties["weeklyDays"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "weeklyTimes"))) { #optional property not found + $WeeklyTimes = $null + } else { + $WeeklyTimes = $JsonParameters.PSobject.Properties["weeklyTimes"].value + } + + $PSO = [PSCustomObject]@{ + "cronString" = ${CronString} + "frequency" = ${Frequency} + "timeZone" = ${TimeZone} + "weeklyDays" = ${WeeklyDays} + "weeklyTimes" = ${WeeklyTimes} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ScheduledSearch.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ScheduledSearch.ps1 new file mode 100644 index 000000000..abe9e7cce --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ScheduledSearch.ps1 @@ -0,0 +1,248 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Name +The name of the scheduled search. +.PARAMETER Description +The description of the scheduled search. +.PARAMETER SavedSearchId +The ID of the saved search that will be executed. +.PARAMETER Schedule +No description available. +.PARAMETER Recipients +A list of identities that should receive the scheduled search report via email. +.PARAMETER Enabled +Indicates if the scheduled search is enabled. +.PARAMETER EmailEmptyResults +Indicates if email generation should occur when search returns no results. +.PARAMETER DisplayQueryDetails +Indicates if the generated email should include the query and search results preview (which could include PII). +.PARAMETER Owner +No description available. +.OUTPUTS + +ScheduledSearch +#> + +function Initialize-V2024ScheduledSearch { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SavedSearchId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Schedule}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Recipients}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Enabled} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${EmailEmptyResults} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${DisplayQueryDetails} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Owner} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ScheduledSearch' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$SavedSearchId) { + throw "invalid value for 'SavedSearchId', 'SavedSearchId' cannot be null." + } + + if (!$Schedule) { + throw "invalid value for 'Schedule', 'Schedule' cannot be null." + } + + if (!$Recipients) { + throw "invalid value for 'Recipients', 'Recipients' cannot be null." + } + + if (!$Owner) { + throw "invalid value for 'Owner', 'Owner' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "description" = ${Description} + "savedSearchId" = ${SavedSearchId} + "schedule" = ${Schedule} + "recipients" = ${Recipients} + "enabled" = ${Enabled} + "emailEmptyResults" = ${EmailEmptyResults} + "displayQueryDetails" = ${DisplayQueryDetails} + "owner" = ${Owner} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ScheduledSearch + +.DESCRIPTION + +Convert from JSON to ScheduledSearch + +.PARAMETER Json + +Json object + +.OUTPUTS + +ScheduledSearch +#> +function ConvertFrom-V2024JsonToScheduledSearch { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ScheduledSearch' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ScheduledSearch + $AllProperties = ("name", "description", "savedSearchId", "created", "modified", "schedule", "recipients", "enabled", "emailEmptyResults", "displayQueryDetails", "id", "owner", "ownerId") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'savedSearchId' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "savedSearchId"))) { + throw "Error! JSON cannot be serialized due to the required property 'savedSearchId' missing." + } else { + $SavedSearchId = $JsonParameters.PSobject.Properties["savedSearchId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "schedule"))) { + throw "Error! JSON cannot be serialized due to the required property 'schedule' missing." + } else { + $Schedule = $JsonParameters.PSobject.Properties["schedule"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "recipients"))) { + throw "Error! JSON cannot be serialized due to the required property 'recipients' missing." + } else { + $Recipients = $JsonParameters.PSobject.Properties["recipients"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "owner"))) { + throw "Error! JSON cannot be serialized due to the required property 'owner' missing." + } else { + $Owner = $JsonParameters.PSobject.Properties["owner"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "ownerId"))) { + throw "Error! JSON cannot be serialized due to the required property 'ownerId' missing." + } else { + $OwnerId = $JsonParameters.PSobject.Properties["ownerId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "enabled"))) { #optional property not found + $Enabled = $null + } else { + $Enabled = $JsonParameters.PSobject.Properties["enabled"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "emailEmptyResults"))) { #optional property not found + $EmailEmptyResults = $null + } else { + $EmailEmptyResults = $JsonParameters.PSobject.Properties["emailEmptyResults"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "displayQueryDetails"))) { #optional property not found + $DisplayQueryDetails = $null + } else { + $DisplayQueryDetails = $JsonParameters.PSobject.Properties["displayQueryDetails"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "description" = ${Description} + "savedSearchId" = ${SavedSearchId} + "created" = ${Created} + "modified" = ${Modified} + "schedule" = ${Schedule} + "recipients" = ${Recipients} + "enabled" = ${Enabled} + "emailEmptyResults" = ${EmailEmptyResults} + "displayQueryDetails" = ${DisplayQueryDetails} + "id" = ${Id} + "owner" = ${Owner} + "ownerId" = ${OwnerId} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ScheduledSearchAllOfOwner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ScheduledSearchAllOfOwner.ps1 new file mode 100644 index 000000000..dddfd557f --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ScheduledSearchAllOfOwner.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +The owner of the scheduled search + +.PARAMETER Type +The type of object being referenced +.PARAMETER Id +The ID of the referenced object +.OUTPUTS + +ScheduledSearchAllOfOwner +#> + +function Initialize-V2024ScheduledSearchAllOfOwner { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ScheduledSearchAllOfOwner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ScheduledSearchAllOfOwner + +.DESCRIPTION + +Convert from JSON to ScheduledSearchAllOfOwner + +.PARAMETER Json + +Json object + +.OUTPUTS + +ScheduledSearchAllOfOwner +#> +function ConvertFrom-V2024JsonToScheduledSearchAllOfOwner { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ScheduledSearchAllOfOwner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ScheduledSearchAllOfOwner + $AllProperties = ("type", "id") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'type' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ScheduledSearchName.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ScheduledSearchName.ps1 new file mode 100644 index 000000000..82d58d5cc --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ScheduledSearchName.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Name +The name of the scheduled search. +.PARAMETER Description +The description of the scheduled search. +.OUTPUTS + +ScheduledSearchName +#> + +function Initialize-V2024ScheduledSearchName { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ScheduledSearchName' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "description" = ${Description} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ScheduledSearchName + +.DESCRIPTION + +Convert from JSON to ScheduledSearchName + +.PARAMETER Json + +Json object + +.OUTPUTS + +ScheduledSearchName +#> +function ConvertFrom-V2024JsonToScheduledSearchName { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ScheduledSearchName' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ScheduledSearchName + $AllProperties = ("name", "description") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "description" = ${Description} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Schema.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Schema.ps1 new file mode 100644 index 000000000..75ad5f338 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Schema.ps1 @@ -0,0 +1,240 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +The id of the Schema. +.PARAMETER Name +The name of the Schema. +.PARAMETER NativeObjectType +The name of the object type on the native system that the schema represents. +.PARAMETER IdentityAttribute +The name of the attribute used to calculate the unique identifier for an object in the schema. +.PARAMETER DisplayAttribute +The name of the attribute used to calculate the display value for an object in the schema. +.PARAMETER HierarchyAttribute +The name of the attribute whose values represent other objects in a hierarchy. Only relevant to group schemas. +.PARAMETER IncludePermissions +Flag indicating whether or not the include permissions with the object data when aggregating the schema. +.PARAMETER Features +Optional features that can be supported by a source. Modifying the features array may cause source configuration errors that are unsupportable. It is recommended to not modify this array for SailPoint supported connectors. * AUTHENTICATE: The source supports pass-through authentication. * COMPOSITE: The source supports composite source creation. * DIRECT_PERMISSIONS: The source supports returning DirectPermissions. * DISCOVER_SCHEMA: The source supports discovering schemas for users and groups. * ENABLE The source supports reading if an account is enabled or disabled. * MANAGER_LOOKUP: The source supports looking up managers as they are encountered in a feed. This is the opposite of NO_RANDOM_ACCESS. * NO_RANDOM_ACCESS: The source does not support random access and the getObject() methods should not be called and expected to perform. * PROXY: The source can serve as a proxy for another source. When an source has a proxy, all connector calls made with that source are redirected through the connector for the proxy source. * SEARCH * TEMPLATE * UNLOCK: The source supports reading if an account is locked or unlocked. * UNSTRUCTURED_TARGETS: The source supports returning unstructured Targets. * SHAREPOINT_TARGET: The source supports returning unstructured Target data for SharePoint. It will be typically used by AD, LDAP sources. * PROVISIONING: The source can both read and write accounts. Having this feature implies that the provision() method is implemented. It also means that direct and target permissions can also be provisioned if they can be returned by aggregation. * GROUP_PROVISIONING: The source can both read and write groups. Having this feature implies that the provision() method is implemented. * SYNC_PROVISIONING: The source can provision accounts synchronously. * PASSWORD: The source can provision password changes. Since sources can never read passwords, this is should only be used in conjunction with the PROVISIONING feature. * CURRENT_PASSWORD: Some source types support verification of the current password * ACCOUNT_ONLY_REQUEST: The source supports requesting accounts without entitlements. * ADDITIONAL_ACCOUNT_REQUEST: The source supports requesting additional accounts. * NO_AGGREGATION: A source that does not support aggregation. * GROUPS_HAVE_MEMBERS: The source models group memberships with a member attribute on the group object rather than a groups attribute on the account object. This effects the implementation of delta account aggregation. * NO_PERMISSIONS_PROVISIONING: Indicates that the connector cannot provision direct or target permissions for accounts. When DIRECT_PERMISSIONS and PROVISIONING features are present, it is assumed that the connector can also provision direct permissions. This feature disables that assumption and causes permission request to be converted to work items for accounts. * NO_GROUP_PERMISSIONS_PROVISIONING: Indicates that the connector cannot provision direct or target permissions for groups. When DIRECT_PERMISSIONS and PROVISIONING features are present, it is assumed that the connector can also provision direct permissions. This feature disables that assumption and causes permission request to be converted to work items for groups. * NO_UNSTRUCTURED_TARGETS_PROVISIONING: This string will be replaced by NO_GROUP_PERMISSIONS_PROVISIONING and NO_PERMISSIONS_PROVISIONING. * NO_DIRECT_PERMISSIONS_PROVISIONING: This string will be replaced by NO_GROUP_PERMISSIONS_PROVISIONING and NO_PERMISSIONS_PROVISIONING. * USES_UUID: Connectivity 2.0 flag used to indicate that the connector supports a compound naming structure. * PREFER_UUID: Used in ISC Provisioning AND Aggregation to decide if it should prefer account.uuid to account.nativeIdentity when data is read in through aggregation OR pushed out through provisioning. * ARM_SECURITY_EXTRACT: Indicates the application supports Security extracts for ARM * ARM_UTILIZATION_EXTRACT: Indicates the application supports Utilization extracts for ARM * ARM_CHANGELOG_EXTRACT: Indicates the application supports Change-log extracts for ARM +.PARAMETER Configuration +Holds any extra configuration data that the schema may require. +.PARAMETER Attributes +The attribute definitions which form the schema. +.PARAMETER Created +The date the Schema was created. +.PARAMETER Modified +The date the Schema was last modified. +.OUTPUTS + +Schema +#> + +function Initialize-V2024Schema { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${NativeObjectType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${IdentityAttribute}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${DisplayAttribute}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${HierarchyAttribute}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${IncludePermissions}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("AUTHENTICATE", "COMPOSITE", "DIRECT_PERMISSIONS", "DISCOVER_SCHEMA", "ENABLE", "MANAGER_LOOKUP", "NO_RANDOM_ACCESS", "PROXY", "SEARCH", "TEMPLATE", "UNLOCK", "UNSTRUCTURED_TARGETS", "SHAREPOINT_TARGET", "PROVISIONING", "GROUP_PROVISIONING", "SYNC_PROVISIONING", "PASSWORD", "CURRENT_PASSWORD", "ACCOUNT_ONLY_REQUEST", "ADDITIONAL_ACCOUNT_REQUEST", "NO_AGGREGATION", "GROUPS_HAVE_MEMBERS", "NO_PERMISSIONS_PROVISIONING", "NO_GROUP_PERMISSIONS_PROVISIONING", "NO_UNSTRUCTURED_TARGETS_PROVISIONING", "NO_DIRECT_PERMISSIONS_PROVISIONING", "PREFER_UUID", "ARM_SECURITY_EXTRACT", "ARM_UTILIZATION_EXTRACT", "ARM_CHANGELOG_EXTRACT", "USES_UUID")] + [String[]] + ${Features}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Configuration}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Attributes}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Modified} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Schema' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "nativeObjectType" = ${NativeObjectType} + "identityAttribute" = ${IdentityAttribute} + "displayAttribute" = ${DisplayAttribute} + "hierarchyAttribute" = ${HierarchyAttribute} + "includePermissions" = ${IncludePermissions} + "features" = ${Features} + "configuration" = ${Configuration} + "attributes" = ${Attributes} + "created" = ${Created} + "modified" = ${Modified} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Schema + +.DESCRIPTION + +Convert from JSON to Schema + +.PARAMETER Json + +Json object + +.OUTPUTS + +Schema +#> +function ConvertFrom-V2024JsonToSchema { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Schema' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Schema + $AllProperties = ("id", "name", "nativeObjectType", "identityAttribute", "displayAttribute", "hierarchyAttribute", "includePermissions", "features", "configuration", "attributes", "created", "modified") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "nativeObjectType"))) { #optional property not found + $NativeObjectType = $null + } else { + $NativeObjectType = $JsonParameters.PSobject.Properties["nativeObjectType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityAttribute"))) { #optional property not found + $IdentityAttribute = $null + } else { + $IdentityAttribute = $JsonParameters.PSobject.Properties["identityAttribute"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "displayAttribute"))) { #optional property not found + $DisplayAttribute = $null + } else { + $DisplayAttribute = $JsonParameters.PSobject.Properties["displayAttribute"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "hierarchyAttribute"))) { #optional property not found + $HierarchyAttribute = $null + } else { + $HierarchyAttribute = $JsonParameters.PSobject.Properties["hierarchyAttribute"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "includePermissions"))) { #optional property not found + $IncludePermissions = $null + } else { + $IncludePermissions = $JsonParameters.PSobject.Properties["includePermissions"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "features"))) { #optional property not found + $Features = $null + } else { + $Features = $JsonParameters.PSobject.Properties["features"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "configuration"))) { #optional property not found + $Configuration = $null + } else { + $Configuration = $JsonParameters.PSobject.Properties["configuration"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributes"))) { #optional property not found + $Attributes = $null + } else { + $Attributes = $JsonParameters.PSobject.Properties["attributes"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "nativeObjectType" = ${NativeObjectType} + "identityAttribute" = ${IdentityAttribute} + "displayAttribute" = ${DisplayAttribute} + "hierarchyAttribute" = ${HierarchyAttribute} + "includePermissions" = ${IncludePermissions} + "features" = ${Features} + "configuration" = ${Configuration} + "attributes" = ${Attributes} + "created" = ${Created} + "modified" = ${Modified} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Search.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Search.ps1 new file mode 100644 index 000000000..8c9dd0e7c --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Search.ps1 @@ -0,0 +1,293 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Indices +The names of the Elasticsearch indices in which to search. If none are provided, then all indices will be searched. +.PARAMETER QueryType +No description available. +.PARAMETER QueryVersion +No description available. +.PARAMETER Query +No description available. +.PARAMETER QueryDsl +The search query using the Elasticsearch [Query DSL](https://www.elastic.co/guide/en/elasticsearch/reference/7.10/query-dsl.html) syntax. +.PARAMETER TextQuery +No description available. +.PARAMETER TypeAheadQuery +No description available. +.PARAMETER IncludeNested +Indicates whether nested objects from returned search results should be included. +.PARAMETER QueryResultFilter +No description available. +.PARAMETER AggregationType +No description available. +.PARAMETER AggregationsVersion +No description available. +.PARAMETER AggregationsDsl +The aggregation search query using Elasticsearch [Aggregations](https://www.elastic.co/guide/en/elasticsearch/reference/5.2/search-aggregations.html) syntax. +.PARAMETER Aggregations +No description available. +.PARAMETER Sort +The fields to be used to sort the search results. Use + or - to specify the sort direction. +.PARAMETER SearchAfter +Used to begin the search window at the values specified. This parameter consists of the last values of the sorted fields in the current record set. This is used to expand the Elasticsearch limit of 10K records by shifting the 10K window to begin at this value. It is recommended that you always include the ID of the object in addition to any other fields on this parameter in order to ensure you don't get duplicate results while paging. For example, when searching for identities, if you are sorting by displayName you will also want to include ID, for example [""displayName"", ""id""]. If the last identity ID in the search result is 2c91808375d8e80a0175e1f88a575221 and the last displayName is ""John Doe"", then using that displayName and ID will start a new search after this identity. The searchAfter value will look like [""John Doe"",""2c91808375d8e80a0175e1f88a575221""] +.PARAMETER Filters +The filters to be applied for each filtered field name. +.OUTPUTS + +Search +#> + +function Initialize-V2024Search { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Indices}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("DSL", "SAILPOINT", "TEXT", "TYPEAHEAD")] + [PSCustomObject] + ${QueryType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[String]] + ${QueryVersion}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Query}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${QueryDsl}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${TextQuery}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${TypeAheadQuery}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${IncludeNested} = $true, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${QueryResultFilter}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("DSL", "SAILPOINT")] + [PSCustomObject] + ${AggregationType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[String]] + ${AggregationsVersion}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${AggregationsDsl}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Aggregations}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Sort}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${SearchAfter}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${Filters} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Search' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "indices" = ${Indices} + "queryType" = ${QueryType} + "queryVersion" = ${QueryVersion} + "query" = ${Query} + "queryDsl" = ${QueryDsl} + "textQuery" = ${TextQuery} + "typeAheadQuery" = ${TypeAheadQuery} + "includeNested" = ${IncludeNested} + "queryResultFilter" = ${QueryResultFilter} + "aggregationType" = ${AggregationType} + "aggregationsVersion" = ${AggregationsVersion} + "aggregationsDsl" = ${AggregationsDsl} + "aggregations" = ${Aggregations} + "sort" = ${Sort} + "searchAfter" = ${SearchAfter} + "filters" = ${Filters} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Search + +.DESCRIPTION + +Convert from JSON to Search + +.PARAMETER Json + +Json object + +.OUTPUTS + +Search +#> +function ConvertFrom-V2024JsonToSearch { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Search' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Search + $AllProperties = ("indices", "queryType", "queryVersion", "query", "queryDsl", "textQuery", "typeAheadQuery", "includeNested", "queryResultFilter", "aggregationType", "aggregationsVersion", "aggregationsDsl", "aggregations", "sort", "searchAfter", "filters") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "indices"))) { #optional property not found + $Indices = $null + } else { + $Indices = $JsonParameters.PSobject.Properties["indices"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "queryType"))) { #optional property not found + $QueryType = $null + } else { + $QueryType = $JsonParameters.PSobject.Properties["queryType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "queryVersion"))) { #optional property not found + $QueryVersion = $null + } else { + $QueryVersion = $JsonParameters.PSobject.Properties["queryVersion"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "query"))) { #optional property not found + $Query = $null + } else { + $Query = $JsonParameters.PSobject.Properties["query"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "queryDsl"))) { #optional property not found + $QueryDsl = $null + } else { + $QueryDsl = $JsonParameters.PSobject.Properties["queryDsl"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "textQuery"))) { #optional property not found + $TextQuery = $null + } else { + $TextQuery = $JsonParameters.PSobject.Properties["textQuery"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "typeAheadQuery"))) { #optional property not found + $TypeAheadQuery = $null + } else { + $TypeAheadQuery = $JsonParameters.PSobject.Properties["typeAheadQuery"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "includeNested"))) { #optional property not found + $IncludeNested = $null + } else { + $IncludeNested = $JsonParameters.PSobject.Properties["includeNested"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "queryResultFilter"))) { #optional property not found + $QueryResultFilter = $null + } else { + $QueryResultFilter = $JsonParameters.PSobject.Properties["queryResultFilter"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "aggregationType"))) { #optional property not found + $AggregationType = $null + } else { + $AggregationType = $JsonParameters.PSobject.Properties["aggregationType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "aggregationsVersion"))) { #optional property not found + $AggregationsVersion = $null + } else { + $AggregationsVersion = $JsonParameters.PSobject.Properties["aggregationsVersion"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "aggregationsDsl"))) { #optional property not found + $AggregationsDsl = $null + } else { + $AggregationsDsl = $JsonParameters.PSobject.Properties["aggregationsDsl"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "aggregations"))) { #optional property not found + $Aggregations = $null + } else { + $Aggregations = $JsonParameters.PSobject.Properties["aggregations"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sort"))) { #optional property not found + $Sort = $null + } else { + $Sort = $JsonParameters.PSobject.Properties["sort"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "searchAfter"))) { #optional property not found + $SearchAfter = $null + } else { + $SearchAfter = $JsonParameters.PSobject.Properties["searchAfter"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "filters"))) { #optional property not found + $Filters = $null + } else { + $Filters = $JsonParameters.PSobject.Properties["filters"].value + } + + $PSO = [PSCustomObject]@{ + "indices" = ${Indices} + "queryType" = ${QueryType} + "queryVersion" = ${QueryVersion} + "query" = ${Query} + "queryDsl" = ${QueryDsl} + "textQuery" = ${TextQuery} + "typeAheadQuery" = ${TypeAheadQuery} + "includeNested" = ${IncludeNested} + "queryResultFilter" = ${QueryResultFilter} + "aggregationType" = ${AggregationType} + "aggregationsVersion" = ${AggregationsVersion} + "aggregationsDsl" = ${AggregationsDsl} + "aggregations" = ${Aggregations} + "sort" = ${Sort} + "searchAfter" = ${SearchAfter} + "filters" = ${Filters} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SearchAggregationSpecification.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SearchAggregationSpecification.ps1 new file mode 100644 index 000000000..65a9ec2f8 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SearchAggregationSpecification.ps1 @@ -0,0 +1,148 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Nested +No description available. +.PARAMETER Metric +No description available. +.PARAMETER VarFilter +No description available. +.PARAMETER Bucket +No description available. +.PARAMETER SubAggregation +No description available. +.OUTPUTS + +SearchAggregationSpecification +#> + +function Initialize-V2024SearchAggregationSpecification { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Nested}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Metric}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${VarFilter}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Bucket}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${SubAggregation} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SearchAggregationSpecification' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "nested" = ${Nested} + "metric" = ${Metric} + "filter" = ${VarFilter} + "bucket" = ${Bucket} + "subAggregation" = ${SubAggregation} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SearchAggregationSpecification + +.DESCRIPTION + +Convert from JSON to SearchAggregationSpecification + +.PARAMETER Json + +Json object + +.OUTPUTS + +SearchAggregationSpecification +#> +function ConvertFrom-V2024JsonToSearchAggregationSpecification { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SearchAggregationSpecification' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SearchAggregationSpecification + $AllProperties = ("nested", "metric", "filter", "bucket", "subAggregation") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "nested"))) { #optional property not found + $Nested = $null + } else { + $Nested = $JsonParameters.PSobject.Properties["nested"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "metric"))) { #optional property not found + $Metric = $null + } else { + $Metric = $JsonParameters.PSobject.Properties["metric"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "filter"))) { #optional property not found + $VarFilter = $null + } else { + $VarFilter = $JsonParameters.PSobject.Properties["filter"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "bucket"))) { #optional property not found + $Bucket = $null + } else { + $Bucket = $JsonParameters.PSobject.Properties["bucket"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "subAggregation"))) { #optional property not found + $SubAggregation = $null + } else { + $SubAggregation = $JsonParameters.PSobject.Properties["subAggregation"].value + } + + $PSO = [PSCustomObject]@{ + "nested" = ${Nested} + "metric" = ${Metric} + "filter" = ${VarFilter} + "bucket" = ${Bucket} + "subAggregation" = ${SubAggregation} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SearchArguments.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SearchArguments.ps1 new file mode 100644 index 000000000..707ee9968 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SearchArguments.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER ScheduleId +The ID of the scheduled search that triggered the saved search execution. +.PARAMETER Owner +No description available. +.PARAMETER Recipients +The email recipients of the scheduled search being tested. +.OUTPUTS + +SearchArguments +#> + +function Initialize-V2024SearchArguments { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ScheduleId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Owner}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Recipients} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SearchArguments' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "scheduleId" = ${ScheduleId} + "owner" = ${Owner} + "recipients" = ${Recipients} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SearchArguments + +.DESCRIPTION + +Convert from JSON to SearchArguments + +.PARAMETER Json + +Json object + +.OUTPUTS + +SearchArguments +#> +function ConvertFrom-V2024JsonToSearchArguments { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SearchArguments' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SearchArguments + $AllProperties = ("scheduleId", "owner", "recipients") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "scheduleId"))) { #optional property not found + $ScheduleId = $null + } else { + $ScheduleId = $JsonParameters.PSobject.Properties["scheduleId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "owner"))) { #optional property not found + $Owner = $null + } else { + $Owner = $JsonParameters.PSobject.Properties["owner"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "recipients"))) { #optional property not found + $Recipients = $null + } else { + $Recipients = $JsonParameters.PSobject.Properties["recipients"].value + } + + $PSO = [PSCustomObject]@{ + "scheduleId" = ${ScheduleId} + "owner" = ${Owner} + "recipients" = ${Recipients} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SearchAttributeConfig.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SearchAttributeConfig.ps1 new file mode 100644 index 000000000..c44fb5483 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SearchAttributeConfig.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Name +Name of the new attribute +.PARAMETER DisplayName +The display name of the new attribute +.PARAMETER ApplicationAttributes +Map of application id and their associated attribute. +.OUTPUTS + +SearchAttributeConfig +#> + +function Initialize-V2024SearchAttributeConfig { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${DisplayName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${ApplicationAttributes} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SearchAttributeConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "displayName" = ${DisplayName} + "applicationAttributes" = ${ApplicationAttributes} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SearchAttributeConfig + +.DESCRIPTION + +Convert from JSON to SearchAttributeConfig + +.PARAMETER Json + +Json object + +.OUTPUTS + +SearchAttributeConfig +#> +function ConvertFrom-V2024JsonToSearchAttributeConfig { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SearchAttributeConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SearchAttributeConfig + $AllProperties = ("name", "displayName", "applicationAttributes") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "displayName"))) { #optional property not found + $DisplayName = $null + } else { + $DisplayName = $JsonParameters.PSobject.Properties["displayName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "applicationAttributes"))) { #optional property not found + $ApplicationAttributes = $null + } else { + $ApplicationAttributes = $JsonParameters.PSobject.Properties["applicationAttributes"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "displayName" = ${DisplayName} + "applicationAttributes" = ${ApplicationAttributes} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SearchExportReportArguments.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SearchExportReportArguments.ps1 new file mode 100644 index 000000000..cdae9c866 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SearchExportReportArguments.ps1 @@ -0,0 +1,156 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Arguments for Search Export report (SEARCH_EXPORT) + +.PARAMETER Indices +The names of the Elasticsearch indices in which to search. If none are provided, then all indices will be searched. +.PARAMETER Filters +The filters to be applied for each filtered field name. +.PARAMETER Query +No description available. +.PARAMETER IncludeNested +Indicates whether nested objects from returned search results should be included. +.PARAMETER Sort +The fields to be used to sort the search results. Use + or - to specify the sort direction. +.OUTPUTS + +SearchExportReportArguments +#> + +function Initialize-V2024SearchExportReportArguments { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Indices}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${Filters}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Query}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${IncludeNested} = $true, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Sort} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SearchExportReportArguments' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Query) { + throw "invalid value for 'Query', 'Query' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "indices" = ${Indices} + "filters" = ${Filters} + "query" = ${Query} + "includeNested" = ${IncludeNested} + "sort" = ${Sort} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SearchExportReportArguments + +.DESCRIPTION + +Convert from JSON to SearchExportReportArguments + +.PARAMETER Json + +Json object + +.OUTPUTS + +SearchExportReportArguments +#> +function ConvertFrom-V2024JsonToSearchExportReportArguments { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SearchExportReportArguments' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SearchExportReportArguments + $AllProperties = ("indices", "filters", "query", "includeNested", "sort") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'query' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "query"))) { + throw "Error! JSON cannot be serialized due to the required property 'query' missing." + } else { + $Query = $JsonParameters.PSobject.Properties["query"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "indices"))) { #optional property not found + $Indices = $null + } else { + $Indices = $JsonParameters.PSobject.Properties["indices"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "filters"))) { #optional property not found + $Filters = $null + } else { + $Filters = $JsonParameters.PSobject.Properties["filters"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "includeNested"))) { #optional property not found + $IncludeNested = $null + } else { + $IncludeNested = $JsonParameters.PSobject.Properties["includeNested"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sort"))) { #optional property not found + $Sort = $null + } else { + $Sort = $JsonParameters.PSobject.Properties["sort"].value + } + + $PSO = [PSCustomObject]@{ + "indices" = ${Indices} + "filters" = ${Filters} + "query" = ${Query} + "includeNested" = ${IncludeNested} + "sort" = ${Sort} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SearchFilterType.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SearchFilterType.ps1 new file mode 100644 index 000000000..506e1ff36 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SearchFilterType.ps1 @@ -0,0 +1,22 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum SearchFilterType. + +.DESCRIPTION + +Enum representing the currently supported filter aggregation types. Additional values may be added in the future without notice. +#> + +enum SearchFilterType { + # enum value: "TERM" + TERM +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SearchFormDefinitionsByTenant400Response.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SearchFormDefinitionsByTenant400Response.ps1 new file mode 100644 index 000000000..f7be34bae --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SearchFormDefinitionsByTenant400Response.ps1 @@ -0,0 +1,135 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER DetailCode +No description available. +.PARAMETER Messages +No description available. +.PARAMETER StatusCode +No description available. +.PARAMETER TrackingId +No description available. +.OUTPUTS + +SearchFormDefinitionsByTenant400Response +#> + +function Initialize-V2024SearchFormDefinitionsByTenant400Response { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${DetailCode}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Messages}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int64]] + ${StatusCode}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${TrackingId} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SearchFormDefinitionsByTenant400Response' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "detailCode" = ${DetailCode} + "messages" = ${Messages} + "statusCode" = ${StatusCode} + "trackingId" = ${TrackingId} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SearchFormDefinitionsByTenant400Response + +.DESCRIPTION + +Convert from JSON to SearchFormDefinitionsByTenant400Response + +.PARAMETER Json + +Json object + +.OUTPUTS + +SearchFormDefinitionsByTenant400Response +#> +function ConvertFrom-V2024JsonToSearchFormDefinitionsByTenant400Response { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SearchFormDefinitionsByTenant400Response' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SearchFormDefinitionsByTenant400Response + $AllProperties = ("detailCode", "messages", "statusCode", "trackingId") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "detailCode"))) { #optional property not found + $DetailCode = $null + } else { + $DetailCode = $JsonParameters.PSobject.Properties["detailCode"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "messages"))) { #optional property not found + $Messages = $null + } else { + $Messages = $JsonParameters.PSobject.Properties["messages"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "statusCode"))) { #optional property not found + $StatusCode = $null + } else { + $StatusCode = $JsonParameters.PSobject.Properties["statusCode"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "trackingId"))) { #optional property not found + $TrackingId = $null + } else { + $TrackingId = $JsonParameters.PSobject.Properties["trackingId"].value + } + + $PSO = [PSCustomObject]@{ + "detailCode" = ${DetailCode} + "messages" = ${Messages} + "statusCode" = ${StatusCode} + "trackingId" = ${TrackingId} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SearchSchedule.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SearchSchedule.ps1 new file mode 100644 index 000000000..9d2649942 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SearchSchedule.ps1 @@ -0,0 +1,191 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER SavedSearchId +The ID of the saved search that will be executed. +.PARAMETER Schedule +No description available. +.PARAMETER Recipients +A list of identities that should receive the scheduled search report via email. +.PARAMETER Enabled +Indicates if the scheduled search is enabled. +.PARAMETER EmailEmptyResults +Indicates if email generation should occur when search returns no results. +.PARAMETER DisplayQueryDetails +Indicates if the generated email should include the query and search results preview (which could include PII). +.OUTPUTS + +SearchSchedule +#> + +function Initialize-V2024SearchSchedule { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SavedSearchId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Schedule}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Recipients}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Enabled} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${EmailEmptyResults} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${DisplayQueryDetails} = $false + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SearchSchedule' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$SavedSearchId) { + throw "invalid value for 'SavedSearchId', 'SavedSearchId' cannot be null." + } + + if (!$Schedule) { + throw "invalid value for 'Schedule', 'Schedule' cannot be null." + } + + if (!$Recipients) { + throw "invalid value for 'Recipients', 'Recipients' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "savedSearchId" = ${SavedSearchId} + "schedule" = ${Schedule} + "recipients" = ${Recipients} + "enabled" = ${Enabled} + "emailEmptyResults" = ${EmailEmptyResults} + "displayQueryDetails" = ${DisplayQueryDetails} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SearchSchedule + +.DESCRIPTION + +Convert from JSON to SearchSchedule + +.PARAMETER Json + +Json object + +.OUTPUTS + +SearchSchedule +#> +function ConvertFrom-V2024JsonToSearchSchedule { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SearchSchedule' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SearchSchedule + $AllProperties = ("savedSearchId", "created", "modified", "schedule", "recipients", "enabled", "emailEmptyResults", "displayQueryDetails") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'savedSearchId' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "savedSearchId"))) { + throw "Error! JSON cannot be serialized due to the required property 'savedSearchId' missing." + } else { + $SavedSearchId = $JsonParameters.PSobject.Properties["savedSearchId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "schedule"))) { + throw "Error! JSON cannot be serialized due to the required property 'schedule' missing." + } else { + $Schedule = $JsonParameters.PSobject.Properties["schedule"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "recipients"))) { + throw "Error! JSON cannot be serialized due to the required property 'recipients' missing." + } else { + $Recipients = $JsonParameters.PSobject.Properties["recipients"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "enabled"))) { #optional property not found + $Enabled = $null + } else { + $Enabled = $JsonParameters.PSobject.Properties["enabled"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "emailEmptyResults"))) { #optional property not found + $EmailEmptyResults = $null + } else { + $EmailEmptyResults = $JsonParameters.PSobject.Properties["emailEmptyResults"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "displayQueryDetails"))) { #optional property not found + $DisplayQueryDetails = $null + } else { + $DisplayQueryDetails = $JsonParameters.PSobject.Properties["displayQueryDetails"].value + } + + $PSO = [PSCustomObject]@{ + "savedSearchId" = ${SavedSearchId} + "created" = ${Created} + "modified" = ${Modified} + "schedule" = ${Schedule} + "recipients" = ${Recipients} + "enabled" = ${Enabled} + "emailEmptyResults" = ${EmailEmptyResults} + "displayQueryDetails" = ${DisplayQueryDetails} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SearchScheduleRecipientsInner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SearchScheduleRecipientsInner.ps1 new file mode 100644 index 000000000..c432b1eed --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SearchScheduleRecipientsInner.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Type +The type of object being referenced +.PARAMETER Id +The ID of the referenced object +.OUTPUTS + +SearchScheduleRecipientsInner +#> + +function Initialize-V2024SearchScheduleRecipientsInner { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SearchScheduleRecipientsInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SearchScheduleRecipientsInner + +.DESCRIPTION + +Convert from JSON to SearchScheduleRecipientsInner + +.PARAMETER Json + +Json object + +.OUTPUTS + +SearchScheduleRecipientsInner +#> +function ConvertFrom-V2024JsonToSearchScheduleRecipientsInner { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SearchScheduleRecipientsInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SearchScheduleRecipientsInner + $AllProperties = ("type", "id") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'type' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SectionDetails.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SectionDetails.ps1 new file mode 100644 index 000000000..980d7c2e9 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SectionDetails.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Name +Name of the FormItem +.PARAMETER Label +Label of the section +.PARAMETER FormItems +List of FormItems. FormItems can be SectionDetails and/or FieldDetails +.OUTPUTS + +SectionDetails +#> + +function Initialize-V2024SectionDetails { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Label}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${FormItems} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SectionDetails' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "label" = ${Label} + "formItems" = ${FormItems} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SectionDetails + +.DESCRIPTION + +Convert from JSON to SectionDetails + +.PARAMETER Json + +Json object + +.OUTPUTS + +SectionDetails +#> +function ConvertFrom-V2024JsonToSectionDetails { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SectionDetails' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SectionDetails + $AllProperties = ("name", "label", "formItems") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "label"))) { #optional property not found + $Label = $null + } else { + $Label = $JsonParameters.PSobject.Properties["label"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "formItems"))) { #optional property not found + $FormItems = $null + } else { + $FormItems = $JsonParameters.PSobject.Properties["formItems"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "label" = ${Label} + "formItems" = ${FormItems} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Sed.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Sed.ps1 new file mode 100644 index 000000000..ffc9af414 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Sed.ps1 @@ -0,0 +1,265 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Suggested Entitlement Description + +.PARAMETER Name +name of the entitlement +.PARAMETER ApprovedBy +entitlement approved by +.PARAMETER ApprovedType +entitlement approved type +.PARAMETER ApprovedWhen +entitlement approved then +.PARAMETER Attribute +entitlement attribute +.PARAMETER Description +description of entitlement +.PARAMETER DisplayName +entitlement display name +.PARAMETER Id +sed id +.PARAMETER SourceId +entitlement source id +.PARAMETER SourceName +entitlement source name +.PARAMETER Status +entitlement status +.PARAMETER SuggestedDescription +llm suggested entitlement description +.PARAMETER Type +entitlement type +.PARAMETER Value +entitlement value +.OUTPUTS + +Sed +#> + +function Initialize-V2024Sed { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ApprovedBy}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ApprovedType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${ApprovedWhen}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Attribute}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${DisplayName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SourceId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SourceName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Status}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SuggestedDescription}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Value} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Sed' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "Name" = ${Name} + "approved_by" = ${ApprovedBy} + "approved_type" = ${ApprovedType} + "approved_when" = ${ApprovedWhen} + "attribute" = ${Attribute} + "description" = ${Description} + "displayName" = ${DisplayName} + "id" = ${Id} + "sourceId" = ${SourceId} + "sourceName" = ${SourceName} + "status" = ${Status} + "suggestedDescription" = ${SuggestedDescription} + "type" = ${Type} + "value" = ${Value} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Sed + +.DESCRIPTION + +Convert from JSON to Sed + +.PARAMETER Json + +Json object + +.OUTPUTS + +Sed +#> +function ConvertFrom-V2024JsonToSed { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Sed' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Sed + $AllProperties = ("Name", "approved_by", "approved_type", "approved_when", "attribute", "description", "displayName", "id", "sourceId", "sourceName", "status", "suggestedDescription", "type", "value") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "Name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["Name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "approved_by"))) { #optional property not found + $ApprovedBy = $null + } else { + $ApprovedBy = $JsonParameters.PSobject.Properties["approved_by"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "approved_type"))) { #optional property not found + $ApprovedType = $null + } else { + $ApprovedType = $JsonParameters.PSobject.Properties["approved_type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "approved_when"))) { #optional property not found + $ApprovedWhen = $null + } else { + $ApprovedWhen = $JsonParameters.PSobject.Properties["approved_when"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attribute"))) { #optional property not found + $Attribute = $null + } else { + $Attribute = $JsonParameters.PSobject.Properties["attribute"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "displayName"))) { #optional property not found + $DisplayName = $null + } else { + $DisplayName = $JsonParameters.PSobject.Properties["displayName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceId"))) { #optional property not found + $SourceId = $null + } else { + $SourceId = $JsonParameters.PSobject.Properties["sourceId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceName"))) { #optional property not found + $SourceName = $null + } else { + $SourceName = $JsonParameters.PSobject.Properties["sourceName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { #optional property not found + $Status = $null + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "suggestedDescription"))) { #optional property not found + $SuggestedDescription = $null + } else { + $SuggestedDescription = $JsonParameters.PSobject.Properties["suggestedDescription"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "value"))) { #optional property not found + $Value = $null + } else { + $Value = $JsonParameters.PSobject.Properties["value"].value + } + + $PSO = [PSCustomObject]@{ + "Name" = ${Name} + "approved_by" = ${ApprovedBy} + "approved_type" = ${ApprovedType} + "approved_when" = ${ApprovedWhen} + "attribute" = ${Attribute} + "description" = ${Description} + "displayName" = ${DisplayName} + "id" = ${Id} + "sourceId" = ${SourceId} + "sourceName" = ${SourceName} + "status" = ${Status} + "suggestedDescription" = ${SuggestedDescription} + "type" = ${Type} + "value" = ${Value} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SedApproval.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SedApproval.ps1 new file mode 100644 index 000000000..055b87d64 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SedApproval.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Sed Approval Request Body + +.PARAMETER Items +List of SED id's +.OUTPUTS + +SedApproval +#> + +function Initialize-V2024SedApproval { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Items} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SedApproval' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "items" = ${Items} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SedApproval + +.DESCRIPTION + +Convert from JSON to SedApproval + +.PARAMETER Json + +Json object + +.OUTPUTS + +SedApproval +#> +function ConvertFrom-V2024JsonToSedApproval { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SedApproval' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SedApproval + $AllProperties = ("items") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "items"))) { #optional property not found + $Items = $null + } else { + $Items = $JsonParameters.PSobject.Properties["items"].value + } + + $PSO = [PSCustomObject]@{ + "items" = ${Items} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SedApprovalStatus.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SedApprovalStatus.ps1 new file mode 100644 index 000000000..944b897a4 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SedApprovalStatus.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +SED Approval Status + +.PARAMETER FailedReason +failed reason will be display if status is failed +.PARAMETER Id +Sed id +.PARAMETER Status +SUCCESS | FAILED +.OUTPUTS + +SedApprovalStatus +#> + +function Initialize-V2024SedApprovalStatus { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${FailedReason}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Status} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SedApprovalStatus' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "failedReason" = ${FailedReason} + "id" = ${Id} + "status" = ${Status} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SedApprovalStatus + +.DESCRIPTION + +Convert from JSON to SedApprovalStatus + +.PARAMETER Json + +Json object + +.OUTPUTS + +SedApprovalStatus +#> +function ConvertFrom-V2024JsonToSedApprovalStatus { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SedApprovalStatus' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SedApprovalStatus + $AllProperties = ("failedReason", "id", "status") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "failedReason"))) { #optional property not found + $FailedReason = $null + } else { + $FailedReason = $JsonParameters.PSobject.Properties["failedReason"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { #optional property not found + $Status = $null + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + $PSO = [PSCustomObject]@{ + "failedReason" = ${FailedReason} + "id" = ${Id} + "status" = ${Status} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SedAssignee.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SedAssignee.ps1 new file mode 100644 index 000000000..3b01a3c39 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SedAssignee.ps1 @@ -0,0 +1,118 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Sed Assignee + +.PARAMETER Type +Type of assignment When value is PERSONA, the value MUST be SOURCE_OWNER or ENTITLEMENT_OWNER IDENTITY SED_ASSIGNEE_IDENTITY_TYPE GROUP SED_ASSIGNEE_GROUP_TYPE SOURCE_OWNER SED_ASSIGNEE_SOURCE_OWNER_TYPE ENTITLEMENT_OWNER SED_ASSIGNEE_ENTITLEMENT_OWNER_TYPE +.PARAMETER Value +Identity or Group identifier Empty when using source/entitlement owner personas +.OUTPUTS + +SedAssignee +#> + +function Initialize-V2024SedAssignee { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY", "GROUP", "SOURCE_OWNER", "ENTITLEMENT_OWNER")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Value} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SedAssignee' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "value" = ${Value} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SedAssignee + +.DESCRIPTION + +Convert from JSON to SedAssignee + +.PARAMETER Json + +Json object + +.OUTPUTS + +SedAssignee +#> +function ConvertFrom-V2024JsonToSedAssignee { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SedAssignee' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SedAssignee + $AllProperties = ("type", "value") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'type' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "value"))) { #optional property not found + $Value = $null + } else { + $Value = $JsonParameters.PSobject.Properties["value"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "value" = ${Value} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SedAssignment.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SedAssignment.ps1 new file mode 100644 index 000000000..474619565 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SedAssignment.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Sed Assignment + +.PARAMETER Assignee +No description available. +.PARAMETER Items +List of SED id's +.OUTPUTS + +SedAssignment +#> + +function Initialize-V2024SedAssignment { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Assignee}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Items} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SedAssignment' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "assignee" = ${Assignee} + "items" = ${Items} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SedAssignment + +.DESCRIPTION + +Convert from JSON to SedAssignment + +.PARAMETER Json + +Json object + +.OUTPUTS + +SedAssignment +#> +function ConvertFrom-V2024JsonToSedAssignment { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SedAssignment' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SedAssignment + $AllProperties = ("assignee", "items") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "assignee"))) { #optional property not found + $Assignee = $null + } else { + $Assignee = $JsonParameters.PSobject.Properties["assignee"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "items"))) { #optional property not found + $Items = $null + } else { + $Items = $JsonParameters.PSobject.Properties["items"].value + } + + $PSO = [PSCustomObject]@{ + "assignee" = ${Assignee} + "items" = ${Items} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SedAssignmentResponse.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SedAssignmentResponse.ps1 new file mode 100644 index 000000000..47935d4e2 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SedAssignmentResponse.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Sed Assignment Response + +.PARAMETER BatchId +BatchId that groups all the ids together +.OUTPUTS + +SedAssignmentResponse +#> + +function Initialize-V2024SedAssignmentResponse { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${BatchId} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SedAssignmentResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "batchId" = ${BatchId} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SedAssignmentResponse + +.DESCRIPTION + +Convert from JSON to SedAssignmentResponse + +.PARAMETER Json + +Json object + +.OUTPUTS + +SedAssignmentResponse +#> +function ConvertFrom-V2024JsonToSedAssignmentResponse { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SedAssignmentResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SedAssignmentResponse + $AllProperties = ("batchId") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "batchId"))) { #optional property not found + $BatchId = $null + } else { + $BatchId = $JsonParameters.PSobject.Properties["batchId"].value + } + + $PSO = [PSCustomObject]@{ + "batchId" = ${BatchId} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SedBatchRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SedBatchRequest.ps1 new file mode 100644 index 000000000..04a20e19d --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SedBatchRequest.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Sed Batch Request + +.PARAMETER Entitlements +list of entitlement ids +.OUTPUTS + +SedBatchRequest +#> + +function Initialize-V2024SedBatchRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Entitlements} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SedBatchRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "entitlements" = ${Entitlements} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SedBatchRequest + +.DESCRIPTION + +Convert from JSON to SedBatchRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +SedBatchRequest +#> +function ConvertFrom-V2024JsonToSedBatchRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SedBatchRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SedBatchRequest + $AllProperties = ("entitlements") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "entitlements"))) { #optional property not found + $Entitlements = $null + } else { + $Entitlements = $JsonParameters.PSobject.Properties["entitlements"].value + } + + $PSO = [PSCustomObject]@{ + "entitlements" = ${Entitlements} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SedBatchResponse.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SedBatchResponse.ps1 new file mode 100644 index 000000000..4417b0435 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SedBatchResponse.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Sed Batch Response + +.PARAMETER BatchId +BatchId that groups all the ids together +.OUTPUTS + +SedBatchResponse +#> + +function Initialize-V2024SedBatchResponse { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${BatchId} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SedBatchResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "batchId" = ${BatchId} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SedBatchResponse + +.DESCRIPTION + +Convert from JSON to SedBatchResponse + +.PARAMETER Json + +Json object + +.OUTPUTS + +SedBatchResponse +#> +function ConvertFrom-V2024JsonToSedBatchResponse { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SedBatchResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SedBatchResponse + $AllProperties = ("batchId") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "batchId"))) { #optional property not found + $BatchId = $null + } else { + $BatchId = $JsonParameters.PSobject.Properties["batchId"].value + } + + $PSO = [PSCustomObject]@{ + "batchId" = ${BatchId} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SedBatchStats.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SedBatchStats.ps1 new file mode 100644 index 000000000..0f03ab7fa --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SedBatchStats.ps1 @@ -0,0 +1,148 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Sed Batch Stats + +.PARAMETER BatchComplete +batch complete +.PARAMETER BatchId +batch Id +.PARAMETER DiscoveredCount +discovered count +.PARAMETER DiscoveryComplete +discovery complete +.PARAMETER ProcessedCount +processed count +.OUTPUTS + +SedBatchStats +#> + +function Initialize-V2024SedBatchStats { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${BatchComplete} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${BatchId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int64]] + ${DiscoveredCount}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${DiscoveryComplete} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int64]] + ${ProcessedCount} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SedBatchStats' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "batchComplete" = ${BatchComplete} + "batchId" = ${BatchId} + "discoveredCount" = ${DiscoveredCount} + "discoveryComplete" = ${DiscoveryComplete} + "processedCount" = ${ProcessedCount} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SedBatchStats + +.DESCRIPTION + +Convert from JSON to SedBatchStats + +.PARAMETER Json + +Json object + +.OUTPUTS + +SedBatchStats +#> +function ConvertFrom-V2024JsonToSedBatchStats { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SedBatchStats' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SedBatchStats + $AllProperties = ("batchComplete", "batchId", "discoveredCount", "discoveryComplete", "processedCount") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "batchComplete"))) { #optional property not found + $BatchComplete = $null + } else { + $BatchComplete = $JsonParameters.PSobject.Properties["batchComplete"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "batchId"))) { #optional property not found + $BatchId = $null + } else { + $BatchId = $JsonParameters.PSobject.Properties["batchId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "discoveredCount"))) { #optional property not found + $DiscoveredCount = $null + } else { + $DiscoveredCount = $JsonParameters.PSobject.Properties["discoveredCount"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "discoveryComplete"))) { #optional property not found + $DiscoveryComplete = $null + } else { + $DiscoveryComplete = $JsonParameters.PSobject.Properties["discoveryComplete"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "processedCount"))) { #optional property not found + $ProcessedCount = $null + } else { + $ProcessedCount = $JsonParameters.PSobject.Properties["processedCount"].value + } + + $PSO = [PSCustomObject]@{ + "batchComplete" = ${BatchComplete} + "batchId" = ${BatchId} + "discoveredCount" = ${DiscoveredCount} + "discoveryComplete" = ${DiscoveryComplete} + "processedCount" = ${ProcessedCount} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SedBatchStatus.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SedBatchStatus.ps1 new file mode 100644 index 000000000..5bd2a774a --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SedBatchStatus.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Sed Batch Status + +.PARAMETER Status +status of batch +.OUTPUTS + +SedBatchStatus +#> + +function Initialize-V2024SedBatchStatus { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Status} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SedBatchStatus' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "status" = ${Status} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SedBatchStatus + +.DESCRIPTION + +Convert from JSON to SedBatchStatus + +.PARAMETER Json + +Json object + +.OUTPUTS + +SedBatchStatus +#> +function ConvertFrom-V2024JsonToSedBatchStatus { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SedBatchStatus' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SedBatchStatus + $AllProperties = ("status") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { #optional property not found + $Status = $null + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + $PSO = [PSCustomObject]@{ + "status" = ${Status} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SedPatch.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SedPatch.ps1 new file mode 100644 index 000000000..4ef17f676 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SedPatch.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Patch for Suggested Entitlement Description + +.PARAMETER Op +desired operation +.PARAMETER Path +field to be patched +.PARAMETER Value +value to replace with +.OUTPUTS + +SedPatch +#> + +function Initialize-V2024SedPatch { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Op}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Path}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Value} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SedPatch' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "op" = ${Op} + "path" = ${Path} + "value" = ${Value} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SedPatch + +.DESCRIPTION + +Convert from JSON to SedPatch + +.PARAMETER Json + +Json object + +.OUTPUTS + +SedPatch +#> +function ConvertFrom-V2024JsonToSedPatch { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SedPatch' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SedPatch + $AllProperties = ("op", "path", "value") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "op"))) { #optional property not found + $Op = $null + } else { + $Op = $JsonParameters.PSobject.Properties["op"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "path"))) { #optional property not found + $Path = $null + } else { + $Path = $JsonParameters.PSobject.Properties["path"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "value"))) { #optional property not found + $Value = $null + } else { + $Value = $JsonParameters.PSobject.Properties["value"].value + } + + $PSO = [PSCustomObject]@{ + "op" = ${Op} + "path" = ${Path} + "value" = ${Value} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Segment.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Segment.ps1 new file mode 100644 index 000000000..01df5e897 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Segment.ps1 @@ -0,0 +1,187 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +The segment's ID. +.PARAMETER Name +The segment's business name. +.PARAMETER Created +The time when the segment is created. +.PARAMETER Modified +The time when the segment is modified. +.PARAMETER Description +The segment's optional description. +.PARAMETER Owner +No description available. +.PARAMETER VisibilityCriteria +No description available. +.PARAMETER Active +This boolean indicates whether the segment is currently active. Inactive segments have no effect. +.OUTPUTS + +Segment +#> + +function Initialize-V2024Segment { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Modified}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Owner}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${VisibilityCriteria}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Active} = $false + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Segment' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "created" = ${Created} + "modified" = ${Modified} + "description" = ${Description} + "owner" = ${Owner} + "visibilityCriteria" = ${VisibilityCriteria} + "active" = ${Active} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Segment + +.DESCRIPTION + +Convert from JSON to Segment + +.PARAMETER Json + +Json object + +.OUTPUTS + +Segment +#> +function ConvertFrom-V2024JsonToSegment { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Segment' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Segment + $AllProperties = ("id", "name", "created", "modified", "description", "owner", "visibilityCriteria", "active") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "owner"))) { #optional property not found + $Owner = $null + } else { + $Owner = $JsonParameters.PSobject.Properties["owner"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "visibilityCriteria"))) { #optional property not found + $VisibilityCriteria = $null + } else { + $VisibilityCriteria = $JsonParameters.PSobject.Properties["visibilityCriteria"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "active"))) { #optional property not found + $Active = $null + } else { + $Active = $JsonParameters.PSobject.Properties["active"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "created" = ${Created} + "modified" = ${Modified} + "description" = ${Description} + "owner" = ${Owner} + "visibilityCriteria" = ${VisibilityCriteria} + "active" = ${Active} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SegmentVisibilityCriteria.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SegmentVisibilityCriteria.ps1 new file mode 100644 index 000000000..541a5e8be --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SegmentVisibilityCriteria.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Expression +No description available. +.OUTPUTS + +SegmentVisibilityCriteria +#> + +function Initialize-V2024SegmentVisibilityCriteria { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Expression} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SegmentVisibilityCriteria' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "expression" = ${Expression} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SegmentVisibilityCriteria + +.DESCRIPTION + +Convert from JSON to SegmentVisibilityCriteria + +.PARAMETER Json + +Json object + +.OUTPUTS + +SegmentVisibilityCriteria +#> +function ConvertFrom-V2024JsonToSegmentVisibilityCriteria { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SegmentVisibilityCriteria' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SegmentVisibilityCriteria + $AllProperties = ("expression") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "expression"))) { #optional property not found + $Expression = $null + } else { + $Expression = $JsonParameters.PSobject.Properties["expression"].value + } + + $PSO = [PSCustomObject]@{ + "expression" = ${Expression} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Selector.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Selector.ps1 new file mode 100644 index 000000000..99a6f3c19 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Selector.ps1 @@ -0,0 +1,135 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Type +No description available. +.PARAMETER Values +The selected values. +.PARAMETER Interval +The selected interval for RANGE selectors. +.OUTPUTS + +Selector +#> + +function Initialize-V2024Selector { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("LIST", "RANGE")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Values}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${Interval} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Selector' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Values) { + throw "invalid value for 'Values', 'Values' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "values" = ${Values} + "interval" = ${Interval} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Selector + +.DESCRIPTION + +Convert from JSON to Selector + +.PARAMETER Json + +Json object + +.OUTPUTS + +Selector +#> +function ConvertFrom-V2024JsonToSelector { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Selector' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Selector + $AllProperties = ("type", "values", "interval") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'type' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "values"))) { + throw "Error! JSON cannot be serialized due to the required property 'values' missing." + } else { + $Values = $JsonParameters.PSobject.Properties["values"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "interval"))) { #optional property not found + $Interval = $null + } else { + $Interval = $JsonParameters.PSobject.Properties["interval"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "values" = ${Values} + "interval" = ${Interval} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SelectorType.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SelectorType.ps1 new file mode 100644 index 000000000..39853f8c1 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SelectorType.ps1 @@ -0,0 +1,24 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum SelectorType. + +.DESCRIPTION + +Enum representing the currently supported selector types. LIST - the *values* array contains one or more distinct values. RANGE - the *values* array contains two values: the start and end of the range, inclusive. Additional values may be added in the future without notice. +#> + +enum SelectorType { + # enum value: "LIST" + LIST + # enum value: "RANGE" + RANGE +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SelfImportExportDto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SelfImportExportDto.ps1 new file mode 100644 index 000000000..7267d3ba9 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SelfImportExportDto.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Self block for imported/exported object. + +.PARAMETER Type +Imported/exported object's DTO type. Import is currently only possible with the IDENTITY_OBJECT_CONFIG, IDENTITY_PROFILE, RULE, SOURCE, TRANSFORM, and TRIGGER_SUBSCRIPTION object types. +.PARAMETER Id +Imported/exported object's ID. +.PARAMETER Name +Imported/exported object's display name. +.OUTPUTS + +SelfImportExportDto +#> + +function Initialize-V2024SelfImportExportDto { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ACCESS_PROFILE", "ACCESS_REQUEST_CONFIG", "ATTR_SYNC_SOURCE_CONFIG", "AUTH_ORG", "CAMPAIGN_FILTER", "FORM_DEFINITION", "GOVERNANCE_GROUP", "IDENTITY_OBJECT_CONFIG", "IDENTITY_PROFILE", "LIFECYCLE_STATE", "NOTIFICATION_TEMPLATE", "PASSWORD_POLICY", "PASSWORD_SYNC_GROUP", "PUBLIC_IDENTITIES_CONFIG", "ROLE", "RULE", "SEGMENT", "SERVICE_DESK_INTEGRATION", "SOD_POLICY", "SOURCE", "TAG", "TRANSFORM", "TRIGGER_SUBSCRIPTION", "WORKFLOW")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SelfImportExportDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SelfImportExportDto + +.DESCRIPTION + +Convert from JSON to SelfImportExportDto + +.PARAMETER Json + +Json object + +.OUTPUTS + +SelfImportExportDto +#> +function ConvertFrom-V2024JsonToSelfImportExportDto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SelfImportExportDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SelfImportExportDto + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SendTestNotificationRequestDto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SendTestNotificationRequestDto.ps1 new file mode 100644 index 000000000..d4cf3d166 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SendTestNotificationRequestDto.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Key +The template notification key. +.PARAMETER Medium +The notification medium. Has to be one of the following enum values. +.PARAMETER Context +A Json object that denotes the context specific to the template. +.OUTPUTS + +SendTestNotificationRequestDto +#> + +function Initialize-V2024SendTestNotificationRequestDto { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Key}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("EMAIL", "SLACK", "TEAMS")] + [String] + ${Medium}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Context} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SendTestNotificationRequestDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "key" = ${Key} + "medium" = ${Medium} + "context" = ${Context} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SendTestNotificationRequestDto + +.DESCRIPTION + +Convert from JSON to SendTestNotificationRequestDto + +.PARAMETER Json + +Json object + +.OUTPUTS + +SendTestNotificationRequestDto +#> +function ConvertFrom-V2024JsonToSendTestNotificationRequestDto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SendTestNotificationRequestDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SendTestNotificationRequestDto + $AllProperties = ("key", "medium", "context") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "key"))) { #optional property not found + $Key = $null + } else { + $Key = $JsonParameters.PSobject.Properties["key"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "medium"))) { #optional property not found + $Medium = $null + } else { + $Medium = $JsonParameters.PSobject.Properties["medium"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "context"))) { #optional property not found + $Context = $null + } else { + $Context = $JsonParameters.PSobject.Properties["context"].value + } + + $PSO = [PSCustomObject]@{ + "key" = ${Key} + "medium" = ${Medium} + "context" = ${Context} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ServiceDeskIntegrationDto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ServiceDeskIntegrationDto.ps1 new file mode 100644 index 000000000..67e55a438 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ServiceDeskIntegrationDto.ps1 @@ -0,0 +1,272 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +Unique identifier for the Service Desk integration +.PARAMETER Name +Service Desk integration's name. The name must be unique. +.PARAMETER Created +The date and time the Service Desk integration was created +.PARAMETER Modified +The date and time the Service Desk integration was last modified +.PARAMETER Description +Service Desk integration's description. +.PARAMETER Type +Service Desk integration types: - ServiceNowSDIM - ServiceNow +.PARAMETER OwnerRef +No description available. +.PARAMETER ClusterRef +No description available. +.PARAMETER Cluster +Cluster ID for the Service Desk integration (replaced by clusterRef, retained for backward compatibility). +.PARAMETER ManagedSources +Source IDs for the Service Desk integration (replaced by provisioningConfig.managedSResourceRefs, but retained here for backward compatibility). +.PARAMETER ProvisioningConfig +No description available. +.PARAMETER Attributes +Service Desk integration's attributes. Validation constraints enforced by the implementation. +.PARAMETER BeforeProvisioningRule +No description available. +.OUTPUTS + +ServiceDeskIntegrationDto +#> + +function Initialize-V2024ServiceDeskIntegrationDto { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Modified}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Type} = "ServiceNowSDIM", + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${OwnerRef}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${ClusterRef}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Cluster}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${ManagedSources}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${ProvisioningConfig}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${Attributes}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${BeforeProvisioningRule} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ServiceDeskIntegrationDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if (!$Description) { + throw "invalid value for 'Description', 'Description' cannot be null." + } + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Attributes) { + throw "invalid value for 'Attributes', 'Attributes' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "created" = ${Created} + "modified" = ${Modified} + "description" = ${Description} + "type" = ${Type} + "ownerRef" = ${OwnerRef} + "clusterRef" = ${ClusterRef} + "cluster" = ${Cluster} + "managedSources" = ${ManagedSources} + "provisioningConfig" = ${ProvisioningConfig} + "attributes" = ${Attributes} + "beforeProvisioningRule" = ${BeforeProvisioningRule} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ServiceDeskIntegrationDto + +.DESCRIPTION + +Convert from JSON to ServiceDeskIntegrationDto + +.PARAMETER Json + +Json object + +.OUTPUTS + +ServiceDeskIntegrationDto +#> +function ConvertFrom-V2024JsonToServiceDeskIntegrationDto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ServiceDeskIntegrationDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ServiceDeskIntegrationDto + $AllProperties = ("id", "name", "created", "modified", "description", "type", "ownerRef", "clusterRef", "cluster", "managedSources", "provisioningConfig", "attributes", "beforeProvisioningRule") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'name' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { + throw "Error! JSON cannot be serialized due to the required property 'description' missing." + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributes"))) { + throw "Error! JSON cannot be serialized due to the required property 'attributes' missing." + } else { + $Attributes = $JsonParameters.PSobject.Properties["attributes"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "ownerRef"))) { #optional property not found + $OwnerRef = $null + } else { + $OwnerRef = $JsonParameters.PSobject.Properties["ownerRef"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "clusterRef"))) { #optional property not found + $ClusterRef = $null + } else { + $ClusterRef = $JsonParameters.PSobject.Properties["clusterRef"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "cluster"))) { #optional property not found + $Cluster = $null + } else { + $Cluster = $JsonParameters.PSobject.Properties["cluster"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "managedSources"))) { #optional property not found + $ManagedSources = $null + } else { + $ManagedSources = $JsonParameters.PSobject.Properties["managedSources"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "provisioningConfig"))) { #optional property not found + $ProvisioningConfig = $null + } else { + $ProvisioningConfig = $JsonParameters.PSobject.Properties["provisioningConfig"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "beforeProvisioningRule"))) { #optional property not found + $BeforeProvisioningRule = $null + } else { + $BeforeProvisioningRule = $JsonParameters.PSobject.Properties["beforeProvisioningRule"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "created" = ${Created} + "modified" = ${Modified} + "description" = ${Description} + "type" = ${Type} + "ownerRef" = ${OwnerRef} + "clusterRef" = ${ClusterRef} + "cluster" = ${Cluster} + "managedSources" = ${ManagedSources} + "provisioningConfig" = ${ProvisioningConfig} + "attributes" = ${Attributes} + "beforeProvisioningRule" = ${BeforeProvisioningRule} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ServiceDeskIntegrationDto1.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ServiceDeskIntegrationDto1.ps1 new file mode 100644 index 000000000..dd72cbc2d --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ServiceDeskIntegrationDto1.ps1 @@ -0,0 +1,233 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Name +Service Desk integration's name. The name must be unique. +.PARAMETER Description +Service Desk integration's description. +.PARAMETER Type +Service Desk integration types: - ServiceNowSDIM - ServiceNow +.PARAMETER OwnerRef +No description available. +.PARAMETER ClusterRef +No description available. +.PARAMETER Cluster +Cluster ID for the Service Desk integration (replaced by clusterRef, retained for backward compatibility). +.PARAMETER ManagedSources +Source IDs for the Service Desk integration (replaced by provisioningConfig.managedSResourceRefs, but retained here for backward compatibility). +.PARAMETER ProvisioningConfig +No description available. +.PARAMETER Attributes +Service Desk integration's attributes. Validation constraints enforced by the implementation. +.PARAMETER BeforeProvisioningRule +No description available. +.OUTPUTS + +ServiceDeskIntegrationDto1 +#> + +function Initialize-V2024ServiceDeskIntegrationDto1 { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Type} = "ServiceNowSDIM", + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${OwnerRef}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${ClusterRef}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Cluster}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${ManagedSources}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${ProvisioningConfig}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${Attributes}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${BeforeProvisioningRule} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ServiceDeskIntegrationDto1' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if (!$Description) { + throw "invalid value for 'Description', 'Description' cannot be null." + } + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Attributes) { + throw "invalid value for 'Attributes', 'Attributes' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "description" = ${Description} + "type" = ${Type} + "ownerRef" = ${OwnerRef} + "clusterRef" = ${ClusterRef} + "cluster" = ${Cluster} + "managedSources" = ${ManagedSources} + "provisioningConfig" = ${ProvisioningConfig} + "attributes" = ${Attributes} + "beforeProvisioningRule" = ${BeforeProvisioningRule} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ServiceDeskIntegrationDto1 + +.DESCRIPTION + +Convert from JSON to ServiceDeskIntegrationDto1 + +.PARAMETER Json + +Json object + +.OUTPUTS + +ServiceDeskIntegrationDto1 +#> +function ConvertFrom-V2024JsonToServiceDeskIntegrationDto1 { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ServiceDeskIntegrationDto1' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ServiceDeskIntegrationDto1 + $AllProperties = ("name", "description", "type", "ownerRef", "clusterRef", "cluster", "managedSources", "provisioningConfig", "attributes", "beforeProvisioningRule") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'name' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { + throw "Error! JSON cannot be serialized due to the required property 'description' missing." + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributes"))) { + throw "Error! JSON cannot be serialized due to the required property 'attributes' missing." + } else { + $Attributes = $JsonParameters.PSobject.Properties["attributes"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "ownerRef"))) { #optional property not found + $OwnerRef = $null + } else { + $OwnerRef = $JsonParameters.PSobject.Properties["ownerRef"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "clusterRef"))) { #optional property not found + $ClusterRef = $null + } else { + $ClusterRef = $JsonParameters.PSobject.Properties["clusterRef"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "cluster"))) { #optional property not found + $Cluster = $null + } else { + $Cluster = $JsonParameters.PSobject.Properties["cluster"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "managedSources"))) { #optional property not found + $ManagedSources = $null + } else { + $ManagedSources = $JsonParameters.PSobject.Properties["managedSources"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "provisioningConfig"))) { #optional property not found + $ProvisioningConfig = $null + } else { + $ProvisioningConfig = $JsonParameters.PSobject.Properties["provisioningConfig"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "beforeProvisioningRule"))) { #optional property not found + $BeforeProvisioningRule = $null + } else { + $BeforeProvisioningRule = $JsonParameters.PSobject.Properties["beforeProvisioningRule"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "description" = ${Description} + "type" = ${Type} + "ownerRef" = ${OwnerRef} + "clusterRef" = ${ClusterRef} + "cluster" = ${Cluster} + "managedSources" = ${ManagedSources} + "provisioningConfig" = ${ProvisioningConfig} + "attributes" = ${Attributes} + "beforeProvisioningRule" = ${BeforeProvisioningRule} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ServiceDeskIntegrationTemplateDto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ServiceDeskIntegrationTemplateDto.ps1 new file mode 100644 index 000000000..b69567f47 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ServiceDeskIntegrationTemplateDto.ps1 @@ -0,0 +1,176 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Name +Name of the Object +.PARAMETER Type +The 'type' property specifies the type of the Service Desk integration template. +.PARAMETER Attributes +The 'attributes' property value is a map of attributes available for integrations using this Service Desk integration template. +.PARAMETER ProvisioningConfig +No description available. +.OUTPUTS + +ServiceDeskIntegrationTemplateDto +#> + +function Initialize-V2024ServiceDeskIntegrationTemplateDto { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Type} = "Web Service SDIM", + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${Attributes}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${ProvisioningConfig} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ServiceDeskIntegrationTemplateDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Attributes) { + throw "invalid value for 'Attributes', 'Attributes' cannot be null." + } + + if (!$ProvisioningConfig) { + throw "invalid value for 'ProvisioningConfig', 'ProvisioningConfig' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "type" = ${Type} + "attributes" = ${Attributes} + "provisioningConfig" = ${ProvisioningConfig} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ServiceDeskIntegrationTemplateDto + +.DESCRIPTION + +Convert from JSON to ServiceDeskIntegrationTemplateDto + +.PARAMETER Json + +Json object + +.OUTPUTS + +ServiceDeskIntegrationTemplateDto +#> +function ConvertFrom-V2024JsonToServiceDeskIntegrationTemplateDto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ServiceDeskIntegrationTemplateDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ServiceDeskIntegrationTemplateDto + $AllProperties = ("id", "name", "created", "modified", "type", "attributes", "provisioningConfig") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'name' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributes"))) { + throw "Error! JSON cannot be serialized due to the required property 'attributes' missing." + } else { + $Attributes = $JsonParameters.PSobject.Properties["attributes"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "provisioningConfig"))) { + throw "Error! JSON cannot be serialized due to the required property 'provisioningConfig' missing." + } else { + $ProvisioningConfig = $JsonParameters.PSobject.Properties["provisioningConfig"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "created" = ${Created} + "modified" = ${Modified} + "type" = ${Type} + "attributes" = ${Attributes} + "provisioningConfig" = ${ProvisioningConfig} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ServiceDeskIntegrationTemplateType.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ServiceDeskIntegrationTemplateType.ps1 new file mode 100644 index 000000000..5e0d9b016 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ServiceDeskIntegrationTemplateType.ps1 @@ -0,0 +1,134 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +This represents a Service Desk Integration template type. + +.PARAMETER Name +This is the name of the type. +.PARAMETER Type +This is the type value for the type. +.PARAMETER ScriptName +This is the scriptName attribute value for the type. +.OUTPUTS + +ServiceDeskIntegrationTemplateType +#> + +function Initialize-V2024ServiceDeskIntegrationTemplateType { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ScriptName} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ServiceDeskIntegrationTemplateType' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$ScriptName) { + throw "invalid value for 'ScriptName', 'ScriptName' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "type" = ${Type} + "scriptName" = ${ScriptName} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ServiceDeskIntegrationTemplateType + +.DESCRIPTION + +Convert from JSON to ServiceDeskIntegrationTemplateType + +.PARAMETER Json + +Json object + +.OUTPUTS + +ServiceDeskIntegrationTemplateType +#> +function ConvertFrom-V2024JsonToServiceDeskIntegrationTemplateType { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ServiceDeskIntegrationTemplateType' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ServiceDeskIntegrationTemplateType + $AllProperties = ("name", "type", "scriptName") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'type' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "scriptName"))) { + throw "Error! JSON cannot be serialized due to the required property 'scriptName' missing." + } else { + $ScriptName = $JsonParameters.PSobject.Properties["scriptName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "type" = ${Type} + "scriptName" = ${ScriptName} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ServiceDeskSource.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ServiceDeskSource.ps1 new file mode 100644 index 000000000..e7757641e --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ServiceDeskSource.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Source for Service Desk integration template. + +.PARAMETER Type +DTO type of source for service desk integration template. +.PARAMETER Id +ID of source for service desk integration template. +.PARAMETER Name +Human-readable name of source for service desk integration template. +.OUTPUTS + +ServiceDeskSource +#> + +function Initialize-V2024ServiceDeskSource { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("SOURCE")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ServiceDeskSource' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ServiceDeskSource + +.DESCRIPTION + +Convert from JSON to ServiceDeskSource + +.PARAMETER Json + +Json object + +.OUTPUTS + +ServiceDeskSource +#> +function ConvertFrom-V2024JsonToServiceDeskSource { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ServiceDeskSource' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ServiceDeskSource + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SetIcon200Response.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SetIcon200Response.ps1 new file mode 100644 index 000000000..cdd674a44 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SetIcon200Response.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Icon +url to file with icon +.OUTPUTS + +SetIcon200Response +#> + +function Initialize-V2024SetIcon200Response { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Icon} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SetIcon200Response' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "icon" = ${Icon} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SetIcon200Response + +.DESCRIPTION + +Convert from JSON to SetIcon200Response + +.PARAMETER Json + +Json object + +.OUTPUTS + +SetIcon200Response +#> +function ConvertFrom-V2024JsonToSetIcon200Response { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SetIcon200Response' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SetIcon200Response + $AllProperties = ("icon") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "icon"))) { #optional property not found + $Icon = $null + } else { + $Icon = $JsonParameters.PSobject.Properties["icon"].value + } + + $PSO = [PSCustomObject]@{ + "icon" = ${Icon} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SetIconRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SetIconRequest.ps1 new file mode 100644 index 000000000..dfff8f360 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SetIconRequest.ps1 @@ -0,0 +1,104 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Image +file with icon. Allowed mime-types ['image/png', 'image/jpeg'] +.OUTPUTS + +SetIconRequest +#> + +function Initialize-V2024SetIconRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.IO.FileInfo] + ${Image} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SetIconRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Image) { + throw "invalid value for 'Image', 'Image' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "image" = ${Image} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SetIconRequest + +.DESCRIPTION + +Convert from JSON to SetIconRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +SetIconRequest +#> +function ConvertFrom-V2024JsonToSetIconRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SetIconRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SetIconRequest + $AllProperties = ("image") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'image' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "image"))) { + throw "Error! JSON cannot be serialized due to the required property 'image' missing." + } else { + $Image = $JsonParameters.PSobject.Properties["image"].value + } + + $PSO = [PSCustomObject]@{ + "image" = ${Image} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SetLifecycleState200Response.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SetLifecycleState200Response.ps1 new file mode 100644 index 000000000..fde3bb5a5 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SetLifecycleState200Response.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER AccountActivityId +ID of the IdentityRequest object that is generated when the workflow launches. To follow the IdentityRequest, you can provide this ID with a [Get Account Activity request](https://developer.sailpoint.com/docs/api/v3/get-account-activity/). The response will contain relevant information about the IdentityRequest, such as its status. +.OUTPUTS + +SetLifecycleState200Response +#> + +function Initialize-V2024SetLifecycleState200Response { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AccountActivityId} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SetLifecycleState200Response' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "accountActivityId" = ${AccountActivityId} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SetLifecycleState200Response + +.DESCRIPTION + +Convert from JSON to SetLifecycleState200Response + +.PARAMETER Json + +Json object + +.OUTPUTS + +SetLifecycleState200Response +#> +function ConvertFrom-V2024JsonToSetLifecycleState200Response { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SetLifecycleState200Response' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SetLifecycleState200Response + $AllProperties = ("accountActivityId") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accountActivityId"))) { #optional property not found + $AccountActivityId = $null + } else { + $AccountActivityId = $JsonParameters.PSobject.Properties["accountActivityId"].value + } + + $PSO = [PSCustomObject]@{ + "accountActivityId" = ${AccountActivityId} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SetLifecycleStateRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SetLifecycleStateRequest.ps1 new file mode 100644 index 000000000..483323a6c --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SetLifecycleStateRequest.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER LifecycleStateId +ID of the lifecycle state to set. +.OUTPUTS + +SetLifecycleStateRequest +#> + +function Initialize-V2024SetLifecycleStateRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${LifecycleStateId} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SetLifecycleStateRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "lifecycleStateId" = ${LifecycleStateId} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SetLifecycleStateRequest + +.DESCRIPTION + +Convert from JSON to SetLifecycleStateRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +SetLifecycleStateRequest +#> +function ConvertFrom-V2024JsonToSetLifecycleStateRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SetLifecycleStateRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SetLifecycleStateRequest + $AllProperties = ("lifecycleStateId") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "lifecycleStateId"))) { #optional property not found + $LifecycleStateId = $null + } else { + $LifecycleStateId = $JsonParameters.PSobject.Properties["lifecycleStateId"].value + } + + $PSO = [PSCustomObject]@{ + "lifecycleStateId" = ${LifecycleStateId} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SimIntegrationDetails.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SimIntegrationDetails.ps1 new file mode 100644 index 000000000..194fea56b --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SimIntegrationDetails.ps1 @@ -0,0 +1,229 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Name +Name of the Object +.PARAMETER Description +The description of the integration +.PARAMETER Type +The integration type +.PARAMETER Attributes +The attributes map containing the credentials used to configure the integration. +.PARAMETER Sources +The list of sources (managed resources) +.PARAMETER Cluster +The cluster/proxy +.PARAMETER StatusMap +Custom mapping between the integration result and the provisioning result +.PARAMETER Request +Request data to customize desc and body of the created ticket +.PARAMETER BeforeProvisioningRule +No description available. +.OUTPUTS + +SimIntegrationDetails +#> + +function Initialize-V2024SimIntegrationDetails { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Attributes}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Sources}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Cluster}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${StatusMap}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Request}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${BeforeProvisioningRule} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SimIntegrationDetails' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "description" = ${Description} + "type" = ${Type} + "attributes" = ${Attributes} + "sources" = ${Sources} + "cluster" = ${Cluster} + "statusMap" = ${StatusMap} + "request" = ${Request} + "beforeProvisioningRule" = ${BeforeProvisioningRule} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SimIntegrationDetails + +.DESCRIPTION + +Convert from JSON to SimIntegrationDetails + +.PARAMETER Json + +Json object + +.OUTPUTS + +SimIntegrationDetails +#> +function ConvertFrom-V2024JsonToSimIntegrationDetails { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SimIntegrationDetails' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SimIntegrationDetails + $AllProperties = ("id", "name", "created", "modified", "description", "type", "attributes", "sources", "cluster", "statusMap", "request", "beforeProvisioningRule") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'name' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributes"))) { #optional property not found + $Attributes = $null + } else { + $Attributes = $JsonParameters.PSobject.Properties["attributes"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sources"))) { #optional property not found + $Sources = $null + } else { + $Sources = $JsonParameters.PSobject.Properties["sources"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "cluster"))) { #optional property not found + $Cluster = $null + } else { + $Cluster = $JsonParameters.PSobject.Properties["cluster"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "statusMap"))) { #optional property not found + $StatusMap = $null + } else { + $StatusMap = $JsonParameters.PSobject.Properties["statusMap"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "request"))) { #optional property not found + $Request = $null + } else { + $Request = $JsonParameters.PSobject.Properties["request"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "beforeProvisioningRule"))) { #optional property not found + $BeforeProvisioningRule = $null + } else { + $BeforeProvisioningRule = $JsonParameters.PSobject.Properties["beforeProvisioningRule"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "created" = ${Created} + "modified" = ${Modified} + "description" = ${Description} + "type" = ${Type} + "attributes" = ${Attributes} + "sources" = ${Sources} + "cluster" = ${Cluster} + "statusMap" = ${StatusMap} + "request" = ${Request} + "beforeProvisioningRule" = ${BeforeProvisioningRule} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SimIntegrationDetailsAllOfBeforeProvisioningRule.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SimIntegrationDetailsAllOfBeforeProvisioningRule.ps1 new file mode 100644 index 000000000..520552691 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SimIntegrationDetailsAllOfBeforeProvisioningRule.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Before provisioning rule of integration + +.PARAMETER Type +No description available. +.PARAMETER Id +ID of the rule +.PARAMETER Name +Human-readable display name of the rule +.OUTPUTS + +SimIntegrationDetailsAllOfBeforeProvisioningRule +#> + +function Initialize-V2024SimIntegrationDetailsAllOfBeforeProvisioningRule { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ACCOUNT_CORRELATION_CONFIG", "ACCESS_PROFILE", "ACCESS_REQUEST_APPROVAL", "ACCOUNT", "APPLICATION", "CAMPAIGN", "CAMPAIGN_FILTER", "CERTIFICATION", "CLUSTER", "CONNECTOR_SCHEMA", "ENTITLEMENT", "GOVERNANCE_GROUP", "IDENTITY", "IDENTITY_PROFILE", "IDENTITY_REQUEST", "LIFECYCLE_STATE", "PASSWORD_POLICY", "ROLE", "RULE", "SOD_POLICY", "SOURCE", "TAG", "TAG_CATEGORY", "TASK_RESULT", "REPORT_RESULT", "SOD_VIOLATION", "ACCOUNT_ACTIVITY", "WORKGROUP")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SimIntegrationDetailsAllOfBeforeProvisioningRule' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SimIntegrationDetailsAllOfBeforeProvisioningRule + +.DESCRIPTION + +Convert from JSON to SimIntegrationDetailsAllOfBeforeProvisioningRule + +.PARAMETER Json + +Json object + +.OUTPUTS + +SimIntegrationDetailsAllOfBeforeProvisioningRule +#> +function ConvertFrom-V2024JsonToSimIntegrationDetailsAllOfBeforeProvisioningRule { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SimIntegrationDetailsAllOfBeforeProvisioningRule' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SimIntegrationDetailsAllOfBeforeProvisioningRule + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SlimCampaign.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SlimCampaign.ps1 new file mode 100644 index 000000000..b7299582a --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SlimCampaign.ps1 @@ -0,0 +1,247 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Name +The campaign name. If this object is part of a template, special formatting applies; see the `/campaign-templates/{id}/generate` endpoint documentation for details. +.PARAMETER Description +The campaign description. If this object is part of a template, special formatting applies; see the `/campaign-templates/{id}/generate` endpoint documentation for details. +.PARAMETER Deadline +The campaign's completion deadline. This date must be in the future in order to activate the campaign. If you try to activate a campaign with a deadline of today or in the past, you will receive a 400 error response. +.PARAMETER Type +The type of campaign. Could be extended in the future. +.PARAMETER EmailNotificationEnabled +Enables email notification for this campaign +.PARAMETER AutoRevokeAllowed +Allows auto revoke for this campaign +.PARAMETER RecommendationsEnabled +Enables IAI for this campaign. Accepts true even if the IAI product feature is off. If IAI is turned off then campaigns generated from this template will indicate false. The real value will then be returned if IAI is ever enabled for the org in the future. +.PARAMETER CorrelatedStatus +The correlatedStatus of the campaign. Only SOURCE_OWNER campaigns can be Uncorrelated. An Uncorrelated certification campaign only includes Uncorrelated identities (An identity is uncorrelated if it has no accounts on an authoritative source). +.OUTPUTS + +SlimCampaign +#> + +function Initialize-V2024SlimCampaign { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Deadline}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("MANAGER", "SOURCE_OWNER", "SEARCH", "ROLE_COMPOSITION")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${EmailNotificationEnabled} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${AutoRevokeAllowed} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${RecommendationsEnabled} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("CORRELATED", "UNCORRELATED")] + [String] + ${CorrelatedStatus} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SlimCampaign' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if (!$Description) { + throw "invalid value for 'Description', 'Description' cannot be null." + } + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "description" = ${Description} + "deadline" = ${Deadline} + "type" = ${Type} + "emailNotificationEnabled" = ${EmailNotificationEnabled} + "autoRevokeAllowed" = ${AutoRevokeAllowed} + "recommendationsEnabled" = ${RecommendationsEnabled} + "correlatedStatus" = ${CorrelatedStatus} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SlimCampaign + +.DESCRIPTION + +Convert from JSON to SlimCampaign + +.PARAMETER Json + +Json object + +.OUTPUTS + +SlimCampaign +#> +function ConvertFrom-V2024JsonToSlimCampaign { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SlimCampaign' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SlimCampaign + $AllProperties = ("id", "name", "description", "deadline", "type", "emailNotificationEnabled", "autoRevokeAllowed", "recommendationsEnabled", "status", "correlatedStatus", "created", "totalCertifications", "completedCertifications", "alerts") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'name' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { + throw "Error! JSON cannot be serialized due to the required property 'description' missing." + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "deadline"))) { #optional property not found + $Deadline = $null + } else { + $Deadline = $JsonParameters.PSobject.Properties["deadline"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "emailNotificationEnabled"))) { #optional property not found + $EmailNotificationEnabled = $null + } else { + $EmailNotificationEnabled = $JsonParameters.PSobject.Properties["emailNotificationEnabled"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "autoRevokeAllowed"))) { #optional property not found + $AutoRevokeAllowed = $null + } else { + $AutoRevokeAllowed = $JsonParameters.PSobject.Properties["autoRevokeAllowed"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "recommendationsEnabled"))) { #optional property not found + $RecommendationsEnabled = $null + } else { + $RecommendationsEnabled = $JsonParameters.PSobject.Properties["recommendationsEnabled"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { #optional property not found + $Status = $null + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "correlatedStatus"))) { #optional property not found + $CorrelatedStatus = $null + } else { + $CorrelatedStatus = $JsonParameters.PSobject.Properties["correlatedStatus"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "totalCertifications"))) { #optional property not found + $TotalCertifications = $null + } else { + $TotalCertifications = $JsonParameters.PSobject.Properties["totalCertifications"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "completedCertifications"))) { #optional property not found + $CompletedCertifications = $null + } else { + $CompletedCertifications = $JsonParameters.PSobject.Properties["completedCertifications"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "alerts"))) { #optional property not found + $Alerts = $null + } else { + $Alerts = $JsonParameters.PSobject.Properties["alerts"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "description" = ${Description} + "deadline" = ${Deadline} + "type" = ${Type} + "emailNotificationEnabled" = ${EmailNotificationEnabled} + "autoRevokeAllowed" = ${AutoRevokeAllowed} + "recommendationsEnabled" = ${RecommendationsEnabled} + "status" = ${Status} + "correlatedStatus" = ${CorrelatedStatus} + "created" = ${Created} + "totalCertifications" = ${TotalCertifications} + "completedCertifications" = ${CompletedCertifications} + "alerts" = ${Alerts} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SodExemptCriteria.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SodExemptCriteria.ps1 new file mode 100644 index 000000000..af0cb179f --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SodExemptCriteria.ps1 @@ -0,0 +1,136 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Details of the Entitlement criteria + +.PARAMETER Existing +If the entitlement already belonged to the user or not. +.PARAMETER Type +No description available. +.PARAMETER Id +Entitlement ID +.PARAMETER Name +Entitlement name +.OUTPUTS + +SodExemptCriteria +#> + +function Initialize-V2024SodExemptCriteria { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Existing} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ACCOUNT_CORRELATION_CONFIG", "ACCESS_PROFILE", "ACCESS_REQUEST_APPROVAL", "ACCOUNT", "APPLICATION", "CAMPAIGN", "CAMPAIGN_FILTER", "CERTIFICATION", "CLUSTER", "CONNECTOR_SCHEMA", "ENTITLEMENT", "GOVERNANCE_GROUP", "IDENTITY", "IDENTITY_PROFILE", "IDENTITY_REQUEST", "LIFECYCLE_STATE", "PASSWORD_POLICY", "ROLE", "RULE", "SOD_POLICY", "SOURCE", "TAG", "TAG_CATEGORY", "TASK_RESULT", "REPORT_RESULT", "SOD_VIOLATION", "ACCOUNT_ACTIVITY", "WORKGROUP")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SodExemptCriteria' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "existing" = ${Existing} + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SodExemptCriteria + +.DESCRIPTION + +Convert from JSON to SodExemptCriteria + +.PARAMETER Json + +Json object + +.OUTPUTS + +SodExemptCriteria +#> +function ConvertFrom-V2024JsonToSodExemptCriteria { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SodExemptCriteria' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SodExemptCriteria + $AllProperties = ("existing", "type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "existing"))) { #optional property not found + $Existing = $null + } else { + $Existing = $JsonParameters.PSobject.Properties["existing"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "existing" = ${Existing} + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SodPolicy.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SodPolicy.ps1 new file mode 100644 index 000000000..f02d5ee26 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SodPolicy.ps1 @@ -0,0 +1,289 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Name +Policy Business Name +.PARAMETER Description +Optional description of the SOD policy +.PARAMETER OwnerRef +No description available. +.PARAMETER ExternalPolicyReference +Optional External Policy Reference +.PARAMETER PolicyQuery +Search query of the SOD policy +.PARAMETER CompensatingControls +Optional compensating controls(Mitigating Controls) +.PARAMETER CorrectionAdvice +Optional correction advice +.PARAMETER State +whether the policy is enforced or not +.PARAMETER Tags +tags for this policy object +.PARAMETER ViolationOwnerAssignmentConfig +No description available. +.PARAMETER Scheduled +defines whether a policy has been scheduled or not +.PARAMETER Type +whether a policy is query based or conflicting access based +.PARAMETER ConflictingAccessCriteria +No description available. +.OUTPUTS + +SodPolicy +#> + +function Initialize-V2024SodPolicy { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${OwnerRef}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ExternalPolicyReference}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${PolicyQuery}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${CompensatingControls}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${CorrectionAdvice}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ENFORCED", "NOT_ENFORCED")] + [String] + ${State}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Tags}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${ViolationOwnerAssignmentConfig}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Scheduled} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("GENERAL", "CONFLICTING_ACCESS_BASED")] + [String] + ${Type} = "GENERAL", + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${ConflictingAccessCriteria} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SodPolicy' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "description" = ${Description} + "ownerRef" = ${OwnerRef} + "externalPolicyReference" = ${ExternalPolicyReference} + "policyQuery" = ${PolicyQuery} + "compensatingControls" = ${CompensatingControls} + "correctionAdvice" = ${CorrectionAdvice} + "state" = ${State} + "tags" = ${Tags} + "violationOwnerAssignmentConfig" = ${ViolationOwnerAssignmentConfig} + "scheduled" = ${Scheduled} + "type" = ${Type} + "conflictingAccessCriteria" = ${ConflictingAccessCriteria} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SodPolicy + +.DESCRIPTION + +Convert from JSON to SodPolicy + +.PARAMETER Json + +Json object + +.OUTPUTS + +SodPolicy +#> +function ConvertFrom-V2024JsonToSodPolicy { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SodPolicy' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SodPolicy + $AllProperties = ("id", "name", "created", "modified", "description", "ownerRef", "externalPolicyReference", "policyQuery", "compensatingControls", "correctionAdvice", "state", "tags", "creatorId", "modifierId", "violationOwnerAssignmentConfig", "scheduled", "type", "conflictingAccessCriteria") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "ownerRef"))) { #optional property not found + $OwnerRef = $null + } else { + $OwnerRef = $JsonParameters.PSobject.Properties["ownerRef"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "externalPolicyReference"))) { #optional property not found + $ExternalPolicyReference = $null + } else { + $ExternalPolicyReference = $JsonParameters.PSobject.Properties["externalPolicyReference"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "policyQuery"))) { #optional property not found + $PolicyQuery = $null + } else { + $PolicyQuery = $JsonParameters.PSobject.Properties["policyQuery"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "compensatingControls"))) { #optional property not found + $CompensatingControls = $null + } else { + $CompensatingControls = $JsonParameters.PSobject.Properties["compensatingControls"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "correctionAdvice"))) { #optional property not found + $CorrectionAdvice = $null + } else { + $CorrectionAdvice = $JsonParameters.PSobject.Properties["correctionAdvice"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "state"))) { #optional property not found + $State = $null + } else { + $State = $JsonParameters.PSobject.Properties["state"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "tags"))) { #optional property not found + $Tags = $null + } else { + $Tags = $JsonParameters.PSobject.Properties["tags"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "creatorId"))) { #optional property not found + $CreatorId = $null + } else { + $CreatorId = $JsonParameters.PSobject.Properties["creatorId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modifierId"))) { #optional property not found + $ModifierId = $null + } else { + $ModifierId = $JsonParameters.PSobject.Properties["modifierId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "violationOwnerAssignmentConfig"))) { #optional property not found + $ViolationOwnerAssignmentConfig = $null + } else { + $ViolationOwnerAssignmentConfig = $JsonParameters.PSobject.Properties["violationOwnerAssignmentConfig"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "scheduled"))) { #optional property not found + $Scheduled = $null + } else { + $Scheduled = $JsonParameters.PSobject.Properties["scheduled"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "conflictingAccessCriteria"))) { #optional property not found + $ConflictingAccessCriteria = $null + } else { + $ConflictingAccessCriteria = $JsonParameters.PSobject.Properties["conflictingAccessCriteria"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "created" = ${Created} + "modified" = ${Modified} + "description" = ${Description} + "ownerRef" = ${OwnerRef} + "externalPolicyReference" = ${ExternalPolicyReference} + "policyQuery" = ${PolicyQuery} + "compensatingControls" = ${CompensatingControls} + "correctionAdvice" = ${CorrectionAdvice} + "state" = ${State} + "tags" = ${Tags} + "creatorId" = ${CreatorId} + "modifierId" = ${ModifierId} + "violationOwnerAssignmentConfig" = ${ViolationOwnerAssignmentConfig} + "scheduled" = ${Scheduled} + "type" = ${Type} + "conflictingAccessCriteria" = ${ConflictingAccessCriteria} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SodPolicyConflictingAccessCriteria.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SodPolicyConflictingAccessCriteria.ps1 new file mode 100644 index 000000000..3004f66f6 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SodPolicyConflictingAccessCriteria.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER LeftCriteria +No description available. +.PARAMETER RightCriteria +No description available. +.OUTPUTS + +SodPolicyConflictingAccessCriteria +#> + +function Initialize-V2024SodPolicyConflictingAccessCriteria { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${LeftCriteria}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${RightCriteria} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SodPolicyConflictingAccessCriteria' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "leftCriteria" = ${LeftCriteria} + "rightCriteria" = ${RightCriteria} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SodPolicyConflictingAccessCriteria + +.DESCRIPTION + +Convert from JSON to SodPolicyConflictingAccessCriteria + +.PARAMETER Json + +Json object + +.OUTPUTS + +SodPolicyConflictingAccessCriteria +#> +function ConvertFrom-V2024JsonToSodPolicyConflictingAccessCriteria { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SodPolicyConflictingAccessCriteria' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SodPolicyConflictingAccessCriteria + $AllProperties = ("leftCriteria", "rightCriteria") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "leftCriteria"))) { #optional property not found + $LeftCriteria = $null + } else { + $LeftCriteria = $JsonParameters.PSobject.Properties["leftCriteria"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "rightCriteria"))) { #optional property not found + $RightCriteria = $null + } else { + $RightCriteria = $JsonParameters.PSobject.Properties["rightCriteria"].value + } + + $PSO = [PSCustomObject]@{ + "leftCriteria" = ${LeftCriteria} + "rightCriteria" = ${RightCriteria} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SodPolicyDto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SodPolicyDto.ps1 new file mode 100644 index 000000000..61dbdd4c1 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SodPolicyDto.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +SOD policy. + +.PARAMETER Type +SOD policy DTO type. +.PARAMETER Id +SOD policy ID. +.PARAMETER Name +SOD policy display name. +.OUTPUTS + +SodPolicyDto +#> + +function Initialize-V2024SodPolicyDto { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("SOD_POLICY")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SodPolicyDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SodPolicyDto + +.DESCRIPTION + +Convert from JSON to SodPolicyDto + +.PARAMETER Json + +Json object + +.OUTPUTS + +SodPolicyDto +#> +function ConvertFrom-V2024JsonToSodPolicyDto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SodPolicyDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SodPolicyDto + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SodPolicyOwnerRef.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SodPolicyOwnerRef.ps1 new file mode 100644 index 000000000..8b5330e1f --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SodPolicyOwnerRef.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +The owner of the SOD policy. + +.PARAMETER Type +Owner type. +.PARAMETER Id +Owner's ID. +.PARAMETER Name +Owner's name. +.OUTPUTS + +SodPolicyOwnerRef +#> + +function Initialize-V2024SodPolicyOwnerRef { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY", "GOVERNANCE_GROUP")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SodPolicyOwnerRef' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SodPolicyOwnerRef + +.DESCRIPTION + +Convert from JSON to SodPolicyOwnerRef + +.PARAMETER Json + +Json object + +.OUTPUTS + +SodPolicyOwnerRef +#> +function ConvertFrom-V2024JsonToSodPolicyOwnerRef { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SodPolicyOwnerRef' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SodPolicyOwnerRef + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SodPolicySchedule.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SodPolicySchedule.ps1 new file mode 100644 index 000000000..af9b99024 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SodPolicySchedule.ps1 @@ -0,0 +1,176 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Name +SOD Policy schedule name +.PARAMETER Description +SOD Policy schedule description +.PARAMETER Schedule +No description available. +.PARAMETER Recipients +No description available. +.PARAMETER EmailEmptyResults +Indicates if empty results need to be emailed +.OUTPUTS + +SodPolicySchedule +#> + +function Initialize-V2024SodPolicySchedule { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Schedule}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Recipients}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${EmailEmptyResults} = $false + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SodPolicySchedule' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "description" = ${Description} + "schedule" = ${Schedule} + "recipients" = ${Recipients} + "emailEmptyResults" = ${EmailEmptyResults} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SodPolicySchedule + +.DESCRIPTION + +Convert from JSON to SodPolicySchedule + +.PARAMETER Json + +Json object + +.OUTPUTS + +SodPolicySchedule +#> +function ConvertFrom-V2024JsonToSodPolicySchedule { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SodPolicySchedule' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SodPolicySchedule + $AllProperties = ("name", "created", "modified", "description", "schedule", "recipients", "emailEmptyResults", "creatorId", "modifierId") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "schedule"))) { #optional property not found + $Schedule = $null + } else { + $Schedule = $JsonParameters.PSobject.Properties["schedule"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "recipients"))) { #optional property not found + $Recipients = $null + } else { + $Recipients = $JsonParameters.PSobject.Properties["recipients"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "emailEmptyResults"))) { #optional property not found + $EmailEmptyResults = $null + } else { + $EmailEmptyResults = $JsonParameters.PSobject.Properties["emailEmptyResults"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "creatorId"))) { #optional property not found + $CreatorId = $null + } else { + $CreatorId = $JsonParameters.PSobject.Properties["creatorId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modifierId"))) { #optional property not found + $ModifierId = $null + } else { + $ModifierId = $JsonParameters.PSobject.Properties["modifierId"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "created" = ${Created} + "modified" = ${Modified} + "description" = ${Description} + "schedule" = ${Schedule} + "recipients" = ${Recipients} + "emailEmptyResults" = ${EmailEmptyResults} + "creatorId" = ${CreatorId} + "modifierId" = ${ModifierId} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SodRecipient.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SodRecipient.ps1 new file mode 100644 index 000000000..1913d6715 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SodRecipient.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +SOD policy recipient. + +.PARAMETER Type +SOD policy recipient DTO type. +.PARAMETER Id +SOD policy recipient's identity ID. +.PARAMETER Name +SOD policy recipient's display name. +.OUTPUTS + +SodRecipient +#> + +function Initialize-V2024SodRecipient { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SodRecipient' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SodRecipient + +.DESCRIPTION + +Convert from JSON to SodRecipient + +.PARAMETER Json + +Json object + +.OUTPUTS + +SodRecipient +#> +function ConvertFrom-V2024JsonToSodRecipient { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SodRecipient' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SodRecipient + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SodReportResultDto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SodReportResultDto.ps1 new file mode 100644 index 000000000..4faa4d620 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SodReportResultDto.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +SOD policy violation report result. + +.PARAMETER Type +SOD policy violation report result DTO type. +.PARAMETER Id +SOD policy violation report result ID. +.PARAMETER Name +Human-readable name of the SOD policy violation report result. +.OUTPUTS + +SodReportResultDto +#> + +function Initialize-V2024SodReportResultDto { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("REPORT_RESULT")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SodReportResultDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SodReportResultDto + +.DESCRIPTION + +Convert from JSON to SodReportResultDto + +.PARAMETER Json + +Json object + +.OUTPUTS + +SodReportResultDto +#> +function ConvertFrom-V2024JsonToSodReportResultDto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SodReportResultDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SodReportResultDto + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SodViolationCheck.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SodViolationCheck.ps1 new file mode 100644 index 000000000..0dc2f70f5 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SodViolationCheck.ps1 @@ -0,0 +1,111 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +An object referencing an SOD violation check + +.PARAMETER RequestId +The id of the original request +.OUTPUTS + +SodViolationCheck +#> + +function Initialize-V2024SodViolationCheck { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${RequestId} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SodViolationCheck' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$RequestId) { + throw "invalid value for 'RequestId', 'RequestId' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "requestId" = ${RequestId} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SodViolationCheck + +.DESCRIPTION + +Convert from JSON to SodViolationCheck + +.PARAMETER Json + +Json object + +.OUTPUTS + +SodViolationCheck +#> +function ConvertFrom-V2024JsonToSodViolationCheck { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SodViolationCheck' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SodViolationCheck + $AllProperties = ("requestId", "created") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'requestId' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requestId"))) { + throw "Error! JSON cannot be serialized due to the required property 'requestId' missing." + } else { + $RequestId = $JsonParameters.PSobject.Properties["requestId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + $PSO = [PSCustomObject]@{ + "requestId" = ${RequestId} + "created" = ${Created} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SodViolationCheckResult.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SodViolationCheckResult.ps1 new file mode 100644 index 000000000..3c639d57d --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SodViolationCheckResult.ps1 @@ -0,0 +1,135 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +The inner object representing the completed SOD Violation check + +.PARAMETER Message +No description available. +.PARAMETER ClientMetadata +Arbitrary key-value pairs. They will never be processed by the IdentityNow system but will be returned on completion of the violation check. +.PARAMETER ViolationContexts +No description available. +.PARAMETER ViolatedPolicies +A list of the SOD policies that were violated. +.OUTPUTS + +SodViolationCheckResult +#> + +function Initialize-V2024SodViolationCheckResult { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Message}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${ClientMetadata}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${ViolationContexts}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${ViolatedPolicies} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SodViolationCheckResult' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "message" = ${Message} + "clientMetadata" = ${ClientMetadata} + "violationContexts" = ${ViolationContexts} + "violatedPolicies" = ${ViolatedPolicies} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SodViolationCheckResult + +.DESCRIPTION + +Convert from JSON to SodViolationCheckResult + +.PARAMETER Json + +Json object + +.OUTPUTS + +SodViolationCheckResult +#> +function ConvertFrom-V2024JsonToSodViolationCheckResult { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SodViolationCheckResult' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SodViolationCheckResult + $AllProperties = ("message", "clientMetadata", "violationContexts", "violatedPolicies") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "message"))) { #optional property not found + $Message = $null + } else { + $Message = $JsonParameters.PSobject.Properties["message"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "clientMetadata"))) { #optional property not found + $ClientMetadata = $null + } else { + $ClientMetadata = $JsonParameters.PSobject.Properties["clientMetadata"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "violationContexts"))) { #optional property not found + $ViolationContexts = $null + } else { + $ViolationContexts = $JsonParameters.PSobject.Properties["violationContexts"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "violatedPolicies"))) { #optional property not found + $ViolatedPolicies = $null + } else { + $ViolatedPolicies = $JsonParameters.PSobject.Properties["violatedPolicies"].value + } + + $PSO = [PSCustomObject]@{ + "message" = ${Message} + "clientMetadata" = ${ClientMetadata} + "violationContexts" = ${ViolationContexts} + "violatedPolicies" = ${ViolatedPolicies} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SodViolationContext.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SodViolationContext.ps1 new file mode 100644 index 000000000..eb342684d --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SodViolationContext.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +The contextual information of the violated criteria + +.PARAMETER Policy +No description available. +.PARAMETER ConflictingAccessCriteria +No description available. +.OUTPUTS + +SodViolationContext +#> + +function Initialize-V2024SodViolationContext { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Policy}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${ConflictingAccessCriteria} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SodViolationContext' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "policy" = ${Policy} + "conflictingAccessCriteria" = ${ConflictingAccessCriteria} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SodViolationContext + +.DESCRIPTION + +Convert from JSON to SodViolationContext + +.PARAMETER Json + +Json object + +.OUTPUTS + +SodViolationContext +#> +function ConvertFrom-V2024JsonToSodViolationContext { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SodViolationContext' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SodViolationContext + $AllProperties = ("policy", "conflictingAccessCriteria") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "policy"))) { #optional property not found + $Policy = $null + } else { + $Policy = $JsonParameters.PSobject.Properties["policy"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "conflictingAccessCriteria"))) { #optional property not found + $ConflictingAccessCriteria = $null + } else { + $ConflictingAccessCriteria = $JsonParameters.PSobject.Properties["conflictingAccessCriteria"].value + } + + $PSO = [PSCustomObject]@{ + "policy" = ${Policy} + "conflictingAccessCriteria" = ${ConflictingAccessCriteria} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SodViolationContextCheckCompleted.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SodViolationContextCheckCompleted.ps1 new file mode 100644 index 000000000..b0ab9ae90 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SodViolationContextCheckCompleted.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +An object referencing a completed SOD violation check + +.PARAMETER State +The status of SOD violation check +.PARAMETER Uuid +The id of the Violation check event +.PARAMETER ViolationCheckResult +No description available. +.OUTPUTS + +SodViolationContextCheckCompleted +#> + +function Initialize-V2024SodViolationContextCheckCompleted { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("SUCCESS", "ERROR", "")] + [String] + ${State}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Uuid}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${ViolationCheckResult} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SodViolationContextCheckCompleted' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "state" = ${State} + "uuid" = ${Uuid} + "violationCheckResult" = ${ViolationCheckResult} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SodViolationContextCheckCompleted + +.DESCRIPTION + +Convert from JSON to SodViolationContextCheckCompleted + +.PARAMETER Json + +Json object + +.OUTPUTS + +SodViolationContextCheckCompleted +#> +function ConvertFrom-V2024JsonToSodViolationContextCheckCompleted { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SodViolationContextCheckCompleted' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SodViolationContextCheckCompleted + $AllProperties = ("state", "uuid", "violationCheckResult") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "state"))) { #optional property not found + $State = $null + } else { + $State = $JsonParameters.PSobject.Properties["state"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "uuid"))) { #optional property not found + $Uuid = $null + } else { + $Uuid = $JsonParameters.PSobject.Properties["uuid"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "violationCheckResult"))) { #optional property not found + $ViolationCheckResult = $null + } else { + $ViolationCheckResult = $JsonParameters.PSobject.Properties["violationCheckResult"].value + } + + $PSO = [PSCustomObject]@{ + "state" = ${State} + "uuid" = ${Uuid} + "violationCheckResult" = ${ViolationCheckResult} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SodViolationContextConflictingAccessCriteria.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SodViolationContextConflictingAccessCriteria.ps1 new file mode 100644 index 000000000..80dcb5d52 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SodViolationContextConflictingAccessCriteria.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +The object which contains the left and right hand side of the entitlements that got violated according to the policy. + +.PARAMETER LeftCriteria +No description available. +.PARAMETER RightCriteria +No description available. +.OUTPUTS + +SodViolationContextConflictingAccessCriteria +#> + +function Initialize-V2024SodViolationContextConflictingAccessCriteria { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${LeftCriteria}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${RightCriteria} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SodViolationContextConflictingAccessCriteria' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "leftCriteria" = ${LeftCriteria} + "rightCriteria" = ${RightCriteria} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SodViolationContextConflictingAccessCriteria + +.DESCRIPTION + +Convert from JSON to SodViolationContextConflictingAccessCriteria + +.PARAMETER Json + +Json object + +.OUTPUTS + +SodViolationContextConflictingAccessCriteria +#> +function ConvertFrom-V2024JsonToSodViolationContextConflictingAccessCriteria { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SodViolationContextConflictingAccessCriteria' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SodViolationContextConflictingAccessCriteria + $AllProperties = ("leftCriteria", "rightCriteria") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "leftCriteria"))) { #optional property not found + $LeftCriteria = $null + } else { + $LeftCriteria = $JsonParameters.PSobject.Properties["leftCriteria"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "rightCriteria"))) { #optional property not found + $RightCriteria = $null + } else { + $RightCriteria = $JsonParameters.PSobject.Properties["rightCriteria"].value + } + + $PSO = [PSCustomObject]@{ + "leftCriteria" = ${LeftCriteria} + "rightCriteria" = ${RightCriteria} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SodViolationContextConflictingAccessCriteriaLeftCriteria.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SodViolationContextConflictingAccessCriteriaLeftCriteria.ps1 new file mode 100644 index 000000000..b7f04ffef --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SodViolationContextConflictingAccessCriteriaLeftCriteria.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER CriteriaList +No description available. +.OUTPUTS + +SodViolationContextConflictingAccessCriteriaLeftCriteria +#> + +function Initialize-V2024SodViolationContextConflictingAccessCriteriaLeftCriteria { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${CriteriaList} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SodViolationContextConflictingAccessCriteriaLeftCriteria' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "criteriaList" = ${CriteriaList} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SodViolationContextConflictingAccessCriteriaLeftCriteria + +.DESCRIPTION + +Convert from JSON to SodViolationContextConflictingAccessCriteriaLeftCriteria + +.PARAMETER Json + +Json object + +.OUTPUTS + +SodViolationContextConflictingAccessCriteriaLeftCriteria +#> +function ConvertFrom-V2024JsonToSodViolationContextConflictingAccessCriteriaLeftCriteria { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SodViolationContextConflictingAccessCriteriaLeftCriteria' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SodViolationContextConflictingAccessCriteriaLeftCriteria + $AllProperties = ("criteriaList") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "criteriaList"))) { #optional property not found + $CriteriaList = $null + } else { + $CriteriaList = $JsonParameters.PSobject.Properties["criteriaList"].value + } + + $PSO = [PSCustomObject]@{ + "criteriaList" = ${CriteriaList} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Source.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Source.ps1 new file mode 100644 index 000000000..67e7d1d76 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Source.ps1 @@ -0,0 +1,498 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Name +Source's human-readable name. +.PARAMETER Description +Source's human-readable description. +.PARAMETER Owner +No description available. +.PARAMETER Cluster +No description available. +.PARAMETER AccountCorrelationConfig +No description available. +.PARAMETER AccountCorrelationRule +No description available. +.PARAMETER ManagerCorrelationMapping +No description available. +.PARAMETER ManagerCorrelationRule +No description available. +.PARAMETER BeforeProvisioningRule +No description available. +.PARAMETER Schemas +List of references to schema objects. +.PARAMETER PasswordPolicies +List of references to the associated PasswordPolicy objects. +.PARAMETER Features +Optional features that can be supported by a source. Modifying the features array may cause source configuration errors that are unsupportable. It is recommended to not modify this array for SailPoint supported connectors. * AUTHENTICATE: The source supports pass-through authentication. * COMPOSITE: The source supports composite source creation. * DIRECT_PERMISSIONS: The source supports returning DirectPermissions. * DISCOVER_SCHEMA: The source supports discovering schemas for users and groups. * ENABLE The source supports reading if an account is enabled or disabled. * MANAGER_LOOKUP: The source supports looking up managers as they are encountered in a feed. This is the opposite of NO_RANDOM_ACCESS. * NO_RANDOM_ACCESS: The source does not support random access and the getObject() methods should not be called and expected to perform. * PROXY: The source can serve as a proxy for another source. When an source has a proxy, all connector calls made with that source are redirected through the connector for the proxy source. * SEARCH * TEMPLATE * UNLOCK: The source supports reading if an account is locked or unlocked. * UNSTRUCTURED_TARGETS: The source supports returning unstructured Targets. * SHAREPOINT_TARGET: The source supports returning unstructured Target data for SharePoint. It will be typically used by AD, LDAP sources. * PROVISIONING: The source can both read and write accounts. Having this feature implies that the provision() method is implemented. It also means that direct and target permissions can also be provisioned if they can be returned by aggregation. * GROUP_PROVISIONING: The source can both read and write groups. Having this feature implies that the provision() method is implemented. * SYNC_PROVISIONING: The source can provision accounts synchronously. * PASSWORD: The source can provision password changes. Since sources can never read passwords, this is should only be used in conjunction with the PROVISIONING feature. * CURRENT_PASSWORD: Some source types support verification of the current password * ACCOUNT_ONLY_REQUEST: The source supports requesting accounts without entitlements. * ADDITIONAL_ACCOUNT_REQUEST: The source supports requesting additional accounts. * NO_AGGREGATION: A source that does not support aggregation. * GROUPS_HAVE_MEMBERS: The source models group memberships with a member attribute on the group object rather than a groups attribute on the account object. This effects the implementation of delta account aggregation. * NO_PERMISSIONS_PROVISIONING: Indicates that the connector cannot provision direct or target permissions for accounts. When DIRECT_PERMISSIONS and PROVISIONING features are present, it is assumed that the connector can also provision direct permissions. This feature disables that assumption and causes permission request to be converted to work items for accounts. * NO_GROUP_PERMISSIONS_PROVISIONING: Indicates that the connector cannot provision direct or target permissions for groups. When DIRECT_PERMISSIONS and PROVISIONING features are present, it is assumed that the connector can also provision direct permissions. This feature disables that assumption and causes permission request to be converted to work items for groups. * NO_UNSTRUCTURED_TARGETS_PROVISIONING: This string will be replaced by NO_GROUP_PERMISSIONS_PROVISIONING and NO_PERMISSIONS_PROVISIONING. * NO_DIRECT_PERMISSIONS_PROVISIONING: This string will be replaced by NO_GROUP_PERMISSIONS_PROVISIONING and NO_PERMISSIONS_PROVISIONING. * USES_UUID: Connectivity 2.0 flag used to indicate that the connector supports a compound naming structure. * PREFER_UUID: Used in ISC Provisioning AND Aggregation to decide if it should prefer account.uuid to account.nativeIdentity when data is read in through aggregation OR pushed out through provisioning. * ARM_SECURITY_EXTRACT: Indicates the application supports Security extracts for ARM * ARM_UTILIZATION_EXTRACT: Indicates the application supports Utilization extracts for ARM * ARM_CHANGELOG_EXTRACT: Indicates the application supports Change-log extracts for ARM +.PARAMETER Type +Specifies the type of system being managed e.g. Active Directory, Workday, etc.. If you are creating a delimited file source, you must set the `provisionasCsv` query parameter to `true`. +.PARAMETER Connector +Connector script name. +.PARAMETER ConnectorClass +Fully qualified name of the Java class that implements the connector interface. +.PARAMETER ConnectorAttributes +Connector specific configuration. This configuration will differ from type to type. +.PARAMETER DeleteThreshold +Number from 0 to 100 that specifies when to skip the delete phase. +.PARAMETER Authoritative +When this is true, it indicates that the source is referenced by an identity profile. +.PARAMETER ManagementWorkgroup +No description available. +.PARAMETER Healthy +When this is true, it indicates that the source is healthy. +.PARAMETER Status +Status identifier that gives specific information about why a source is or isn't healthy. +.PARAMETER Since +Timestamp that shows when a source health check was last performed. +.PARAMETER ConnectorId +Connector ID +.PARAMETER ConnectorName +Name of the connector that was chosen during source creation. +.PARAMETER ConnectionType +Type of connection (direct or file). +.PARAMETER ConnectorImplementationId +Connector implementation ID. +.PARAMETER Created +Date-time when the source was created +.PARAMETER Modified +Date-time when the source was last modified. +.PARAMETER CredentialProviderEnabled +If this is true, it enables a credential provider for the source. If credentialProvider is turned on, then the source can use credential provider(s) to fetch credentials. +.PARAMETER Category +Source category (e.g. null, CredentialProvider). +.OUTPUTS + +Source +#> + +function Initialize-V2024Source { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Owner}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Cluster}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${AccountCorrelationConfig}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${AccountCorrelationRule}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${ManagerCorrelationMapping}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${ManagerCorrelationRule}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${BeforeProvisioningRule}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Schemas}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${PasswordPolicies}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("AUTHENTICATE", "COMPOSITE", "DIRECT_PERMISSIONS", "DISCOVER_SCHEMA", "ENABLE", "MANAGER_LOOKUP", "NO_RANDOM_ACCESS", "PROXY", "SEARCH", "TEMPLATE", "UNLOCK", "UNSTRUCTURED_TARGETS", "SHAREPOINT_TARGET", "PROVISIONING", "GROUP_PROVISIONING", "SYNC_PROVISIONING", "PASSWORD", "CURRENT_PASSWORD", "ACCOUNT_ONLY_REQUEST", "ADDITIONAL_ACCOUNT_REQUEST", "NO_AGGREGATION", "GROUPS_HAVE_MEMBERS", "NO_PERMISSIONS_PROVISIONING", "NO_GROUP_PERMISSIONS_PROVISIONING", "NO_UNSTRUCTURED_TARGETS_PROVISIONING", "NO_DIRECT_PERMISSIONS_PROVISIONING", "PREFER_UUID", "ARM_SECURITY_EXTRACT", "ARM_UTILIZATION_EXTRACT", "ARM_CHANGELOG_EXTRACT", "USES_UUID")] + [String[]] + ${Features}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Connector}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ConnectorClass}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${ConnectorAttributes}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${DeleteThreshold}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Authoritative} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${ManagementWorkgroup}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Healthy} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("SOURCE_STATE_ERROR_ACCOUNT_FILE_IMPORT", "SOURCE_STATE_ERROR_CLUSTER", "SOURCE_STATE_ERROR_SOURCE", "SOURCE_STATE_ERROR_VA", "SOURCE_STATE_FAILURE_CLUSTER", "SOURCE_STATE_FAILURE_SOURCE", "SOURCE_STATE_HEALTHY", "SOURCE_STATE_UNCHECKED_CLUSTER", "SOURCE_STATE_UNCHECKED_CLUSTER_NO_SOURCES", "SOURCE_STATE_UNCHECKED_SOURCE", "SOURCE_STATE_UNCHECKED_SOURCE_NO_ACCOUNTS")] + [String] + ${Status}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Since}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ConnectorId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ConnectorName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ConnectionType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ConnectorImplementationId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Modified}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${CredentialProviderEnabled} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Category} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Source' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if (!$Owner) { + throw "invalid value for 'Owner', 'Owner' cannot be null." + } + + if (!$Connector) { + throw "invalid value for 'Connector', 'Connector' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "description" = ${Description} + "owner" = ${Owner} + "cluster" = ${Cluster} + "accountCorrelationConfig" = ${AccountCorrelationConfig} + "accountCorrelationRule" = ${AccountCorrelationRule} + "managerCorrelationMapping" = ${ManagerCorrelationMapping} + "managerCorrelationRule" = ${ManagerCorrelationRule} + "beforeProvisioningRule" = ${BeforeProvisioningRule} + "schemas" = ${Schemas} + "passwordPolicies" = ${PasswordPolicies} + "features" = ${Features} + "type" = ${Type} + "connector" = ${Connector} + "connectorClass" = ${ConnectorClass} + "connectorAttributes" = ${ConnectorAttributes} + "deleteThreshold" = ${DeleteThreshold} + "authoritative" = ${Authoritative} + "managementWorkgroup" = ${ManagementWorkgroup} + "healthy" = ${Healthy} + "status" = ${Status} + "since" = ${Since} + "connectorId" = ${ConnectorId} + "connectorName" = ${ConnectorName} + "connectionType" = ${ConnectionType} + "connectorImplementationId" = ${ConnectorImplementationId} + "created" = ${Created} + "modified" = ${Modified} + "credentialProviderEnabled" = ${CredentialProviderEnabled} + "category" = ${Category} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Source + +.DESCRIPTION + +Convert from JSON to Source + +.PARAMETER Json + +Json object + +.OUTPUTS + +Source +#> +function ConvertFrom-V2024JsonToSource { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Source' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Source + $AllProperties = ("id", "name", "description", "owner", "cluster", "accountCorrelationConfig", "accountCorrelationRule", "managerCorrelationMapping", "managerCorrelationRule", "beforeProvisioningRule", "schemas", "passwordPolicies", "features", "type", "connector", "connectorClass", "connectorAttributes", "deleteThreshold", "authoritative", "managementWorkgroup", "healthy", "status", "since", "connectorId", "connectorName", "connectionType", "connectorImplementationId", "created", "modified", "credentialProviderEnabled", "category") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'name' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "owner"))) { + throw "Error! JSON cannot be serialized due to the required property 'owner' missing." + } else { + $Owner = $JsonParameters.PSobject.Properties["owner"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "connector"))) { + throw "Error! JSON cannot be serialized due to the required property 'connector' missing." + } else { + $Connector = $JsonParameters.PSobject.Properties["connector"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "cluster"))) { #optional property not found + $Cluster = $null + } else { + $Cluster = $JsonParameters.PSobject.Properties["cluster"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accountCorrelationConfig"))) { #optional property not found + $AccountCorrelationConfig = $null + } else { + $AccountCorrelationConfig = $JsonParameters.PSobject.Properties["accountCorrelationConfig"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accountCorrelationRule"))) { #optional property not found + $AccountCorrelationRule = $null + } else { + $AccountCorrelationRule = $JsonParameters.PSobject.Properties["accountCorrelationRule"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "managerCorrelationMapping"))) { #optional property not found + $ManagerCorrelationMapping = $null + } else { + $ManagerCorrelationMapping = $JsonParameters.PSobject.Properties["managerCorrelationMapping"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "managerCorrelationRule"))) { #optional property not found + $ManagerCorrelationRule = $null + } else { + $ManagerCorrelationRule = $JsonParameters.PSobject.Properties["managerCorrelationRule"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "beforeProvisioningRule"))) { #optional property not found + $BeforeProvisioningRule = $null + } else { + $BeforeProvisioningRule = $JsonParameters.PSobject.Properties["beforeProvisioningRule"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "schemas"))) { #optional property not found + $Schemas = $null + } else { + $Schemas = $JsonParameters.PSobject.Properties["schemas"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "passwordPolicies"))) { #optional property not found + $PasswordPolicies = $null + } else { + $PasswordPolicies = $JsonParameters.PSobject.Properties["passwordPolicies"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "features"))) { #optional property not found + $Features = $null + } else { + $Features = $JsonParameters.PSobject.Properties["features"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "connectorClass"))) { #optional property not found + $ConnectorClass = $null + } else { + $ConnectorClass = $JsonParameters.PSobject.Properties["connectorClass"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "connectorAttributes"))) { #optional property not found + $ConnectorAttributes = $null + } else { + $ConnectorAttributes = $JsonParameters.PSobject.Properties["connectorAttributes"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "deleteThreshold"))) { #optional property not found + $DeleteThreshold = $null + } else { + $DeleteThreshold = $JsonParameters.PSobject.Properties["deleteThreshold"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "authoritative"))) { #optional property not found + $Authoritative = $null + } else { + $Authoritative = $JsonParameters.PSobject.Properties["authoritative"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "managementWorkgroup"))) { #optional property not found + $ManagementWorkgroup = $null + } else { + $ManagementWorkgroup = $JsonParameters.PSobject.Properties["managementWorkgroup"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "healthy"))) { #optional property not found + $Healthy = $null + } else { + $Healthy = $JsonParameters.PSobject.Properties["healthy"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { #optional property not found + $Status = $null + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "since"))) { #optional property not found + $Since = $null + } else { + $Since = $JsonParameters.PSobject.Properties["since"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "connectorId"))) { #optional property not found + $ConnectorId = $null + } else { + $ConnectorId = $JsonParameters.PSobject.Properties["connectorId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "connectorName"))) { #optional property not found + $ConnectorName = $null + } else { + $ConnectorName = $JsonParameters.PSobject.Properties["connectorName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "connectionType"))) { #optional property not found + $ConnectionType = $null + } else { + $ConnectionType = $JsonParameters.PSobject.Properties["connectionType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "connectorImplementationId"))) { #optional property not found + $ConnectorImplementationId = $null + } else { + $ConnectorImplementationId = $JsonParameters.PSobject.Properties["connectorImplementationId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "credentialProviderEnabled"))) { #optional property not found + $CredentialProviderEnabled = $null + } else { + $CredentialProviderEnabled = $JsonParameters.PSobject.Properties["credentialProviderEnabled"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "category"))) { #optional property not found + $Category = $null + } else { + $Category = $JsonParameters.PSobject.Properties["category"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "description" = ${Description} + "owner" = ${Owner} + "cluster" = ${Cluster} + "accountCorrelationConfig" = ${AccountCorrelationConfig} + "accountCorrelationRule" = ${AccountCorrelationRule} + "managerCorrelationMapping" = ${ManagerCorrelationMapping} + "managerCorrelationRule" = ${ManagerCorrelationRule} + "beforeProvisioningRule" = ${BeforeProvisioningRule} + "schemas" = ${Schemas} + "passwordPolicies" = ${PasswordPolicies} + "features" = ${Features} + "type" = ${Type} + "connector" = ${Connector} + "connectorClass" = ${ConnectorClass} + "connectorAttributes" = ${ConnectorAttributes} + "deleteThreshold" = ${DeleteThreshold} + "authoritative" = ${Authoritative} + "managementWorkgroup" = ${ManagementWorkgroup} + "healthy" = ${Healthy} + "status" = ${Status} + "since" = ${Since} + "connectorId" = ${ConnectorId} + "connectorName" = ${ConnectorName} + "connectionType" = ${ConnectionType} + "connectorImplementationId" = ${ConnectorImplementationId} + "created" = ${Created} + "modified" = ${Modified} + "credentialProviderEnabled" = ${CredentialProviderEnabled} + "category" = ${Category} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Source1.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Source1.ps1 new file mode 100644 index 000000000..92a424f74 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Source1.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Type +Attribute mapping type. +.PARAMETER Properties +Attribute mapping properties. +.OUTPUTS + +Source1 +#> + +function Initialize-V2024Source1 { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Properties} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Source1' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "properties" = ${Properties} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Source1 + +.DESCRIPTION + +Convert from JSON to Source1 + +.PARAMETER Json + +Json object + +.OUTPUTS + +Source1 +#> +function ConvertFrom-V2024JsonToSource1 { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Source1' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Source1 + $AllProperties = ("type", "properties") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "properties"))) { #optional property not found + $Properties = $null + } else { + $Properties = $JsonParameters.PSobject.Properties["properties"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "properties" = ${Properties} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceAccountCorrelationConfig.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceAccountCorrelationConfig.ps1 new file mode 100644 index 000000000..6379ca55b --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceAccountCorrelationConfig.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Reference to account correlation config object. + +.PARAMETER Type +Type of object being referenced. +.PARAMETER Id +Account correlation config ID. +.PARAMETER Name +Account correlation config's human-readable display name. +.OUTPUTS + +SourceAccountCorrelationConfig +#> + +function Initialize-V2024SourceAccountCorrelationConfig { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ACCOUNT_CORRELATION_CONFIG")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SourceAccountCorrelationConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SourceAccountCorrelationConfig + +.DESCRIPTION + +Convert from JSON to SourceAccountCorrelationConfig + +.PARAMETER Json + +Json object + +.OUTPUTS + +SourceAccountCorrelationConfig +#> +function ConvertFrom-V2024JsonToSourceAccountCorrelationConfig { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SourceAccountCorrelationConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SourceAccountCorrelationConfig + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceAccountCorrelationRule.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceAccountCorrelationRule.ps1 new file mode 100644 index 000000000..654143e26 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceAccountCorrelationRule.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Reference to a rule that can do COMPLEX correlation. Only use this rule when you can't use accountCorrelationConfig. + +.PARAMETER Type +Type of object being referenced. +.PARAMETER Id +Rule ID. +.PARAMETER Name +Rule's human-readable display name. +.OUTPUTS + +SourceAccountCorrelationRule +#> + +function Initialize-V2024SourceAccountCorrelationRule { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("RULE")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SourceAccountCorrelationRule' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SourceAccountCorrelationRule + +.DESCRIPTION + +Convert from JSON to SourceAccountCorrelationRule + +.PARAMETER Json + +Json object + +.OUTPUTS + +SourceAccountCorrelationRule +#> +function ConvertFrom-V2024JsonToSourceAccountCorrelationRule { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SourceAccountCorrelationRule' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SourceAccountCorrelationRule + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceAccountCreated.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceAccountCreated.ps1 new file mode 100644 index 000000000..e887a64a4 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceAccountCreated.ps1 @@ -0,0 +1,219 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Uuid +Source unique identifier for the identity. UUID is generated by the source system. +.PARAMETER Id +SailPoint generated unique identifier. +.PARAMETER NativeIdentifier +Unique ID of the account on the source. +.PARAMETER SourceId +The ID of the source. +.PARAMETER SourceName +The name of the source. +.PARAMETER IdentityId +The ID of the identity that is correlated with this account. +.PARAMETER IdentityName +The name of the identity that is correlated with this account. +.PARAMETER Attributes +The attributes of the account. The contents of attributes depends on the account schema for the source. +.OUTPUTS + +SourceAccountCreated +#> + +function Initialize-V2024SourceAccountCreated { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Uuid}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${NativeIdentifier}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SourceId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SourceName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${IdentityId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${IdentityName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${Attributes} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SourceAccountCreated' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$NativeIdentifier) { + throw "invalid value for 'NativeIdentifier', 'NativeIdentifier' cannot be null." + } + + if (!$SourceId) { + throw "invalid value for 'SourceId', 'SourceId' cannot be null." + } + + if (!$SourceName) { + throw "invalid value for 'SourceName', 'SourceName' cannot be null." + } + + if (!$IdentityId) { + throw "invalid value for 'IdentityId', 'IdentityId' cannot be null." + } + + if (!$IdentityName) { + throw "invalid value for 'IdentityName', 'IdentityName' cannot be null." + } + + if (!$Attributes) { + throw "invalid value for 'Attributes', 'Attributes' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "uuid" = ${Uuid} + "id" = ${Id} + "nativeIdentifier" = ${NativeIdentifier} + "sourceId" = ${SourceId} + "sourceName" = ${SourceName} + "identityId" = ${IdentityId} + "identityName" = ${IdentityName} + "attributes" = ${Attributes} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SourceAccountCreated + +.DESCRIPTION + +Convert from JSON to SourceAccountCreated + +.PARAMETER Json + +Json object + +.OUTPUTS + +SourceAccountCreated +#> +function ConvertFrom-V2024JsonToSourceAccountCreated { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SourceAccountCreated' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SourceAccountCreated + $AllProperties = ("uuid", "id", "nativeIdentifier", "sourceId", "sourceName", "identityId", "identityName", "attributes") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'id' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "nativeIdentifier"))) { + throw "Error! JSON cannot be serialized due to the required property 'nativeIdentifier' missing." + } else { + $NativeIdentifier = $JsonParameters.PSobject.Properties["nativeIdentifier"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceId"))) { + throw "Error! JSON cannot be serialized due to the required property 'sourceId' missing." + } else { + $SourceId = $JsonParameters.PSobject.Properties["sourceId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceName"))) { + throw "Error! JSON cannot be serialized due to the required property 'sourceName' missing." + } else { + $SourceName = $JsonParameters.PSobject.Properties["sourceName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityId"))) { + throw "Error! JSON cannot be serialized due to the required property 'identityId' missing." + } else { + $IdentityId = $JsonParameters.PSobject.Properties["identityId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityName"))) { + throw "Error! JSON cannot be serialized due to the required property 'identityName' missing." + } else { + $IdentityName = $JsonParameters.PSobject.Properties["identityName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributes"))) { + throw "Error! JSON cannot be serialized due to the required property 'attributes' missing." + } else { + $Attributes = $JsonParameters.PSobject.Properties["attributes"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "uuid"))) { #optional property not found + $Uuid = $null + } else { + $Uuid = $JsonParameters.PSobject.Properties["uuid"].value + } + + $PSO = [PSCustomObject]@{ + "uuid" = ${Uuid} + "id" = ${Id} + "nativeIdentifier" = ${NativeIdentifier} + "sourceId" = ${SourceId} + "sourceName" = ${SourceName} + "identityId" = ${IdentityId} + "identityName" = ${IdentityName} + "attributes" = ${Attributes} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceAccountDeleted.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceAccountDeleted.ps1 new file mode 100644 index 000000000..a7dfe6f6c --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceAccountDeleted.ps1 @@ -0,0 +1,219 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Uuid +Source unique identifier for the identity. UUID is generated by the source system. +.PARAMETER Id +SailPoint generated unique identifier. +.PARAMETER NativeIdentifier +Unique ID of the account on the source. +.PARAMETER SourceId +The ID of the source. +.PARAMETER SourceName +The name of the source. +.PARAMETER IdentityId +The ID of the identity that is correlated with this account. +.PARAMETER IdentityName +The name of the identity that is correlated with this account. +.PARAMETER Attributes +The attributes of the account. The contents of attributes depends on the account schema for the source. +.OUTPUTS + +SourceAccountDeleted +#> + +function Initialize-V2024SourceAccountDeleted { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Uuid}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${NativeIdentifier}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SourceId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SourceName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${IdentityId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${IdentityName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${Attributes} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SourceAccountDeleted' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$NativeIdentifier) { + throw "invalid value for 'NativeIdentifier', 'NativeIdentifier' cannot be null." + } + + if (!$SourceId) { + throw "invalid value for 'SourceId', 'SourceId' cannot be null." + } + + if (!$SourceName) { + throw "invalid value for 'SourceName', 'SourceName' cannot be null." + } + + if (!$IdentityId) { + throw "invalid value for 'IdentityId', 'IdentityId' cannot be null." + } + + if (!$IdentityName) { + throw "invalid value for 'IdentityName', 'IdentityName' cannot be null." + } + + if (!$Attributes) { + throw "invalid value for 'Attributes', 'Attributes' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "uuid" = ${Uuid} + "id" = ${Id} + "nativeIdentifier" = ${NativeIdentifier} + "sourceId" = ${SourceId} + "sourceName" = ${SourceName} + "identityId" = ${IdentityId} + "identityName" = ${IdentityName} + "attributes" = ${Attributes} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SourceAccountDeleted + +.DESCRIPTION + +Convert from JSON to SourceAccountDeleted + +.PARAMETER Json + +Json object + +.OUTPUTS + +SourceAccountDeleted +#> +function ConvertFrom-V2024JsonToSourceAccountDeleted { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SourceAccountDeleted' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SourceAccountDeleted + $AllProperties = ("uuid", "id", "nativeIdentifier", "sourceId", "sourceName", "identityId", "identityName", "attributes") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'id' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "nativeIdentifier"))) { + throw "Error! JSON cannot be serialized due to the required property 'nativeIdentifier' missing." + } else { + $NativeIdentifier = $JsonParameters.PSobject.Properties["nativeIdentifier"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceId"))) { + throw "Error! JSON cannot be serialized due to the required property 'sourceId' missing." + } else { + $SourceId = $JsonParameters.PSobject.Properties["sourceId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceName"))) { + throw "Error! JSON cannot be serialized due to the required property 'sourceName' missing." + } else { + $SourceName = $JsonParameters.PSobject.Properties["sourceName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityId"))) { + throw "Error! JSON cannot be serialized due to the required property 'identityId' missing." + } else { + $IdentityId = $JsonParameters.PSobject.Properties["identityId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityName"))) { + throw "Error! JSON cannot be serialized due to the required property 'identityName' missing." + } else { + $IdentityName = $JsonParameters.PSobject.Properties["identityName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributes"))) { + throw "Error! JSON cannot be serialized due to the required property 'attributes' missing." + } else { + $Attributes = $JsonParameters.PSobject.Properties["attributes"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "uuid"))) { #optional property not found + $Uuid = $null + } else { + $Uuid = $JsonParameters.PSobject.Properties["uuid"].value + } + + $PSO = [PSCustomObject]@{ + "uuid" = ${Uuid} + "id" = ${Id} + "nativeIdentifier" = ${NativeIdentifier} + "sourceId" = ${SourceId} + "sourceName" = ${SourceName} + "identityId" = ${IdentityId} + "identityName" = ${IdentityName} + "attributes" = ${Attributes} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceAccountUpdated.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceAccountUpdated.ps1 new file mode 100644 index 000000000..efd69971b --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceAccountUpdated.ps1 @@ -0,0 +1,219 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Uuid +Source unique identifier for the identity. UUID is generated by the source system. +.PARAMETER Id +SailPoint generated unique identifier. +.PARAMETER NativeIdentifier +Unique ID of the account on the source. +.PARAMETER SourceId +The ID of the source. +.PARAMETER SourceName +The name of the source. +.PARAMETER IdentityId +The ID of the identity that is correlated with this account. +.PARAMETER IdentityName +The name of the identity that is correlated with this account. +.PARAMETER Attributes +The attributes of the account. The contents of attributes depends on the account schema for the source. +.OUTPUTS + +SourceAccountUpdated +#> + +function Initialize-V2024SourceAccountUpdated { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Uuid}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${NativeIdentifier}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SourceId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SourceName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${IdentityId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${IdentityName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${Attributes} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SourceAccountUpdated' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$NativeIdentifier) { + throw "invalid value for 'NativeIdentifier', 'NativeIdentifier' cannot be null." + } + + if (!$SourceId) { + throw "invalid value for 'SourceId', 'SourceId' cannot be null." + } + + if (!$SourceName) { + throw "invalid value for 'SourceName', 'SourceName' cannot be null." + } + + if (!$IdentityId) { + throw "invalid value for 'IdentityId', 'IdentityId' cannot be null." + } + + if (!$IdentityName) { + throw "invalid value for 'IdentityName', 'IdentityName' cannot be null." + } + + if (!$Attributes) { + throw "invalid value for 'Attributes', 'Attributes' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "uuid" = ${Uuid} + "id" = ${Id} + "nativeIdentifier" = ${NativeIdentifier} + "sourceId" = ${SourceId} + "sourceName" = ${SourceName} + "identityId" = ${IdentityId} + "identityName" = ${IdentityName} + "attributes" = ${Attributes} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SourceAccountUpdated + +.DESCRIPTION + +Convert from JSON to SourceAccountUpdated + +.PARAMETER Json + +Json object + +.OUTPUTS + +SourceAccountUpdated +#> +function ConvertFrom-V2024JsonToSourceAccountUpdated { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SourceAccountUpdated' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SourceAccountUpdated + $AllProperties = ("uuid", "id", "nativeIdentifier", "sourceId", "sourceName", "identityId", "identityName", "attributes") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'id' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "nativeIdentifier"))) { + throw "Error! JSON cannot be serialized due to the required property 'nativeIdentifier' missing." + } else { + $NativeIdentifier = $JsonParameters.PSobject.Properties["nativeIdentifier"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceId"))) { + throw "Error! JSON cannot be serialized due to the required property 'sourceId' missing." + } else { + $SourceId = $JsonParameters.PSobject.Properties["sourceId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sourceName"))) { + throw "Error! JSON cannot be serialized due to the required property 'sourceName' missing." + } else { + $SourceName = $JsonParameters.PSobject.Properties["sourceName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityId"))) { + throw "Error! JSON cannot be serialized due to the required property 'identityId' missing." + } else { + $IdentityId = $JsonParameters.PSobject.Properties["identityId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityName"))) { + throw "Error! JSON cannot be serialized due to the required property 'identityName' missing." + } else { + $IdentityName = $JsonParameters.PSobject.Properties["identityName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributes"))) { + throw "Error! JSON cannot be serialized due to the required property 'attributes' missing." + } else { + $Attributes = $JsonParameters.PSobject.Properties["attributes"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "uuid"))) { #optional property not found + $Uuid = $null + } else { + $Uuid = $JsonParameters.PSobject.Properties["uuid"].value + } + + $PSO = [PSCustomObject]@{ + "uuid" = ${Uuid} + "id" = ${Id} + "nativeIdentifier" = ${NativeIdentifier} + "sourceId" = ${SourceId} + "sourceName" = ${SourceName} + "identityId" = ${IdentityId} + "identityName" = ${IdentityName} + "attributes" = ${Attributes} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceBeforeProvisioningRule.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceBeforeProvisioningRule.ps1 new file mode 100644 index 000000000..a0ce42389 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceBeforeProvisioningRule.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Rule that runs on the CCG and allows for customization of provisioning plans before the API calls the connector. + +.PARAMETER Type +Type of object being referenced. +.PARAMETER Id +Rule ID. +.PARAMETER Name +Rule's human-readable display name. +.OUTPUTS + +SourceBeforeProvisioningRule +#> + +function Initialize-V2024SourceBeforeProvisioningRule { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("RULE")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SourceBeforeProvisioningRule' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SourceBeforeProvisioningRule + +.DESCRIPTION + +Convert from JSON to SourceBeforeProvisioningRule + +.PARAMETER Json + +Json object + +.OUTPUTS + +SourceBeforeProvisioningRule +#> +function ConvertFrom-V2024JsonToSourceBeforeProvisioningRule { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SourceBeforeProvisioningRule' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SourceBeforeProvisioningRule + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceCluster.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceCluster.ps1 new file mode 100644 index 000000000..662ae104e --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceCluster.ps1 @@ -0,0 +1,139 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Reference to the source's associated cluster. + +.PARAMETER Type +Type of object being referenced. +.PARAMETER Id +Cluster ID. +.PARAMETER Name +Cluster's human-readable display name. +.OUTPUTS + +SourceCluster +#> + +function Initialize-V2024SourceCluster { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("CLUSTER")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SourceCluster' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SourceCluster + +.DESCRIPTION + +Convert from JSON to SourceCluster + +.PARAMETER Json + +Json object + +.OUTPUTS + +SourceCluster +#> +function ConvertFrom-V2024JsonToSourceCluster { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SourceCluster' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SourceCluster + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'type' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceClusterDto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceClusterDto.ps1 new file mode 100644 index 000000000..92ab3925d --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceClusterDto.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Source cluster. + +.PARAMETER Type +Source cluster DTO type. +.PARAMETER Id +Source cluster ID. +.PARAMETER Name +Source cluster display name. +.OUTPUTS + +SourceClusterDto +#> + +function Initialize-V2024SourceClusterDto { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("CLUSTER")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SourceClusterDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SourceClusterDto + +.DESCRIPTION + +Convert from JSON to SourceClusterDto + +.PARAMETER Json + +Json object + +.OUTPUTS + +SourceClusterDto +#> +function ConvertFrom-V2024JsonToSourceClusterDto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SourceClusterDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SourceClusterDto + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceCode.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceCode.ps1 new file mode 100644 index 000000000..22c932e8d --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceCode.ps1 @@ -0,0 +1,121 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +SourceCode + +.PARAMETER Version +the version of the code +.PARAMETER Script +The code +.OUTPUTS + +SourceCode +#> + +function Initialize-V2024SourceCode { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Version}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Script} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SourceCode' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Version) { + throw "invalid value for 'Version', 'Version' cannot be null." + } + + if (!$Script) { + throw "invalid value for 'Script', 'Script' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "version" = ${Version} + "script" = ${Script} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SourceCode + +.DESCRIPTION + +Convert from JSON to SourceCode + +.PARAMETER Json + +Json object + +.OUTPUTS + +SourceCode +#> +function ConvertFrom-V2024JsonToSourceCode { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SourceCode' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SourceCode + $AllProperties = ("version", "script") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'version' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "version"))) { + throw "Error! JSON cannot be serialized due to the required property 'version' missing." + } else { + $Version = $JsonParameters.PSobject.Properties["version"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "script"))) { + throw "Error! JSON cannot be serialized due to the required property 'script' missing." + } else { + $Script = $JsonParameters.PSobject.Properties["script"].value + } + + $PSO = [PSCustomObject]@{ + "version" = ${Version} + "script" = ${Script} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceCreated.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceCreated.ps1 new file mode 100644 index 000000000..7738a1f6a --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceCreated.ps1 @@ -0,0 +1,189 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +The unique ID of the source. +.PARAMETER Name +Human friendly name of the source. +.PARAMETER Type +The connection type. +.PARAMETER Created +The date and time the source was created. +.PARAMETER Connector +The connector type used to connect to the source. +.PARAMETER Actor +No description available. +.OUTPUTS + +SourceCreated +#> + +function Initialize-V2024SourceCreated { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.DateTime] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Connector}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Actor} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SourceCreated' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Created) { + throw "invalid value for 'Created', 'Created' cannot be null." + } + + if (!$Connector) { + throw "invalid value for 'Connector', 'Connector' cannot be null." + } + + if (!$Actor) { + throw "invalid value for 'Actor', 'Actor' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "type" = ${Type} + "created" = ${Created} + "connector" = ${Connector} + "actor" = ${Actor} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SourceCreated + +.DESCRIPTION + +Convert from JSON to SourceCreated + +.PARAMETER Json + +Json object + +.OUTPUTS + +SourceCreated +#> +function ConvertFrom-V2024JsonToSourceCreated { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SourceCreated' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SourceCreated + $AllProperties = ("id", "name", "type", "created", "connector", "actor") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'id' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { + throw "Error! JSON cannot be serialized due to the required property 'created' missing." + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "connector"))) { + throw "Error! JSON cannot be serialized due to the required property 'connector' missing." + } else { + $Connector = $JsonParameters.PSobject.Properties["connector"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "actor"))) { + throw "Error! JSON cannot be serialized due to the required property 'actor' missing." + } else { + $Actor = $JsonParameters.PSobject.Properties["actor"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "type" = ${Type} + "created" = ${Created} + "connector" = ${Connector} + "actor" = ${Actor} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceCreatedActor.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceCreatedActor.ps1 new file mode 100644 index 000000000..4849f4819 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceCreatedActor.ps1 @@ -0,0 +1,139 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Identity who created the source. + +.PARAMETER Type +DTO type of identity who created the source. +.PARAMETER Id +ID of identity who created the source. +.PARAMETER Name +Display name of identity who created the source. +.OUTPUTS + +SourceCreatedActor +#> + +function Initialize-V2024SourceCreatedActor { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SourceCreatedActor' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SourceCreatedActor + +.DESCRIPTION + +Convert from JSON to SourceCreatedActor + +.PARAMETER Json + +Json object + +.OUTPUTS + +SourceCreatedActor +#> +function ConvertFrom-V2024JsonToSourceCreatedActor { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SourceCreatedActor' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SourceCreatedActor + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'type' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceDeleted.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceDeleted.ps1 new file mode 100644 index 000000000..79745f658 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceDeleted.ps1 @@ -0,0 +1,189 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +The unique ID of the source. +.PARAMETER Name +Human friendly name of the source. +.PARAMETER Type +The connection type. +.PARAMETER Deleted +The date and time the source was deleted. +.PARAMETER Connector +The connector type used to connect to the source. +.PARAMETER Actor +No description available. +.OUTPUTS + +SourceDeleted +#> + +function Initialize-V2024SourceDeleted { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.DateTime] + ${Deleted}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Connector}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Actor} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SourceDeleted' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Deleted) { + throw "invalid value for 'Deleted', 'Deleted' cannot be null." + } + + if (!$Connector) { + throw "invalid value for 'Connector', 'Connector' cannot be null." + } + + if (!$Actor) { + throw "invalid value for 'Actor', 'Actor' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "type" = ${Type} + "deleted" = ${Deleted} + "connector" = ${Connector} + "actor" = ${Actor} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SourceDeleted + +.DESCRIPTION + +Convert from JSON to SourceDeleted + +.PARAMETER Json + +Json object + +.OUTPUTS + +SourceDeleted +#> +function ConvertFrom-V2024JsonToSourceDeleted { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SourceDeleted' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SourceDeleted + $AllProperties = ("id", "name", "type", "deleted", "connector", "actor") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'id' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "deleted"))) { + throw "Error! JSON cannot be serialized due to the required property 'deleted' missing." + } else { + $Deleted = $JsonParameters.PSobject.Properties["deleted"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "connector"))) { + throw "Error! JSON cannot be serialized due to the required property 'connector' missing." + } else { + $Connector = $JsonParameters.PSobject.Properties["connector"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "actor"))) { + throw "Error! JSON cannot be serialized due to the required property 'actor' missing." + } else { + $Actor = $JsonParameters.PSobject.Properties["actor"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "type" = ${Type} + "deleted" = ${Deleted} + "connector" = ${Connector} + "actor" = ${Actor} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceDeletedActor.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceDeletedActor.ps1 new file mode 100644 index 000000000..d8054a85d --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceDeletedActor.ps1 @@ -0,0 +1,139 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Identity who deleted the source. + +.PARAMETER Type +DTO type of identity who deleted the source. +.PARAMETER Id +ID of identity who deleted the source. +.PARAMETER Name +Display name of identity who deleted the source. +.OUTPUTS + +SourceDeletedActor +#> + +function Initialize-V2024SourceDeletedActor { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SourceDeletedActor' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SourceDeletedActor + +.DESCRIPTION + +Convert from JSON to SourceDeletedActor + +.PARAMETER Json + +Json object + +.OUTPUTS + +SourceDeletedActor +#> +function ConvertFrom-V2024JsonToSourceDeletedActor { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SourceDeletedActor' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SourceDeletedActor + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'type' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceEntitlementRequestConfig.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceEntitlementRequestConfig.ps1 new file mode 100644 index 000000000..1551edd68 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceEntitlementRequestConfig.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Entitlement Request Configuration + +.PARAMETER AccessRequestConfig +No description available. +.OUTPUTS + +SourceEntitlementRequestConfig +#> + +function Initialize-V2024SourceEntitlementRequestConfig { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${AccessRequestConfig} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SourceEntitlementRequestConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "accessRequestConfig" = ${AccessRequestConfig} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SourceEntitlementRequestConfig + +.DESCRIPTION + +Convert from JSON to SourceEntitlementRequestConfig + +.PARAMETER Json + +Json object + +.OUTPUTS + +SourceEntitlementRequestConfig +#> +function ConvertFrom-V2024JsonToSourceEntitlementRequestConfig { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SourceEntitlementRequestConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SourceEntitlementRequestConfig + $AllProperties = ("accessRequestConfig") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accessRequestConfig"))) { #optional property not found + $AccessRequestConfig = $null + } else { + $AccessRequestConfig = $JsonParameters.PSobject.Properties["accessRequestConfig"].value + } + + $PSO = [PSCustomObject]@{ + "accessRequestConfig" = ${AccessRequestConfig} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceHealthDto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceHealthDto.ps1 new file mode 100644 index 000000000..73d4f8b35 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceHealthDto.ps1 @@ -0,0 +1,208 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Dto for source health data + +.PARAMETER Type +Specifies the type of system being managed e.g. Active Directory, Workday, etc.. If you are creating a Delimited File source, you must set the `provisionasCsv` query parameter to `true`. +.PARAMETER Name +the name of the source +.PARAMETER Org +source's org +.PARAMETER IsAuthoritative +Is the source authoritative +.PARAMETER IsCluster +Is the source in a cluster +.PARAMETER Hostname +source's hostname +.PARAMETER Pod +source's pod +.PARAMETER IqServiceVersion +The version of the iqService +.PARAMETER Status +connection test result +.OUTPUTS + +SourceHealthDto +#> + +function Initialize-V2024SourceHealthDto { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Org}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${IsAuthoritative}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${IsCluster}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Hostname}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Pod}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${IqServiceVersion}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("SOURCE_STATE_ERROR_CLUSTER", "SOURCE_STATE_ERROR_SOURCE", "SOURCE_STATE_ERROR_VA", "SOURCE_STATE_FAILURE_CLUSTER", "SOURCE_STATE_FAILURE_SOURCE", "SOURCE_STATE_HEALTHY", "SOURCE_STATE_UNCHECKED_CLUSTER", "SOURCE_STATE_UNCHECKED_CLUSTER_NO_SOURCES", "SOURCE_STATE_UNCHECKED_SOURCE", "SOURCE_STATE_UNCHECKED_SOURCE_NO_ACCOUNTS")] + [String] + ${Status} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SourceHealthDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "name" = ${Name} + "org" = ${Org} + "isAuthoritative" = ${IsAuthoritative} + "isCluster" = ${IsCluster} + "hostname" = ${Hostname} + "pod" = ${Pod} + "iqServiceVersion" = ${IqServiceVersion} + "status" = ${Status} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SourceHealthDto + +.DESCRIPTION + +Convert from JSON to SourceHealthDto + +.PARAMETER Json + +Json object + +.OUTPUTS + +SourceHealthDto +#> +function ConvertFrom-V2024JsonToSourceHealthDto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SourceHealthDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SourceHealthDto + $AllProperties = ("id", "type", "name", "org", "isAuthoritative", "isCluster", "hostname", "pod", "iqServiceVersion", "status") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "org"))) { #optional property not found + $Org = $null + } else { + $Org = $JsonParameters.PSobject.Properties["org"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "isAuthoritative"))) { #optional property not found + $IsAuthoritative = $null + } else { + $IsAuthoritative = $JsonParameters.PSobject.Properties["isAuthoritative"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "isCluster"))) { #optional property not found + $IsCluster = $null + } else { + $IsCluster = $JsonParameters.PSobject.Properties["isCluster"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "hostname"))) { #optional property not found + $Hostname = $null + } else { + $Hostname = $JsonParameters.PSobject.Properties["hostname"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "pod"))) { #optional property not found + $Pod = $null + } else { + $Pod = $JsonParameters.PSobject.Properties["pod"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "iqServiceVersion"))) { #optional property not found + $IqServiceVersion = $null + } else { + $IqServiceVersion = $JsonParameters.PSobject.Properties["iqServiceVersion"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { #optional property not found + $Status = $null + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + "name" = ${Name} + "org" = ${Org} + "isAuthoritative" = ${IsAuthoritative} + "isCluster" = ${IsCluster} + "hostname" = ${Hostname} + "pod" = ${Pod} + "iqServiceVersion" = ${IqServiceVersion} + "status" = ${Status} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceManagementWorkgroup.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceManagementWorkgroup.ps1 new file mode 100644 index 000000000..d5636ecc3 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceManagementWorkgroup.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Reference to management workgroup for the source. + +.PARAMETER Type +Type of object being referenced. +.PARAMETER Id +Management workgroup ID. +.PARAMETER Name +Management workgroup's human-readable display name. +.OUTPUTS + +SourceManagementWorkgroup +#> + +function Initialize-V2024SourceManagementWorkgroup { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("GOVERNANCE_GROUP")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SourceManagementWorkgroup' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SourceManagementWorkgroup + +.DESCRIPTION + +Convert from JSON to SourceManagementWorkgroup + +.PARAMETER Json + +Json object + +.OUTPUTS + +SourceManagementWorkgroup +#> +function ConvertFrom-V2024JsonToSourceManagementWorkgroup { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SourceManagementWorkgroup' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SourceManagementWorkgroup + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceManagerCorrelationMapping.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceManagerCorrelationMapping.ps1 new file mode 100644 index 000000000..ccc42841f --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceManagerCorrelationMapping.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER AccountAttributeName +Name of the attribute to use for manager correlation. The value found on the account attribute will be used to lookup the manager's identity. +.PARAMETER IdentityAttributeName +Name of the identity attribute to search when trying to find a manager using the value from the accountAttribute. +.OUTPUTS + +SourceManagerCorrelationMapping +#> + +function Initialize-V2024SourceManagerCorrelationMapping { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AccountAttributeName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${IdentityAttributeName} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SourceManagerCorrelationMapping' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "accountAttributeName" = ${AccountAttributeName} + "identityAttributeName" = ${IdentityAttributeName} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SourceManagerCorrelationMapping + +.DESCRIPTION + +Convert from JSON to SourceManagerCorrelationMapping + +.PARAMETER Json + +Json object + +.OUTPUTS + +SourceManagerCorrelationMapping +#> +function ConvertFrom-V2024JsonToSourceManagerCorrelationMapping { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SourceManagerCorrelationMapping' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SourceManagerCorrelationMapping + $AllProperties = ("accountAttributeName", "identityAttributeName") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "accountAttributeName"))) { #optional property not found + $AccountAttributeName = $null + } else { + $AccountAttributeName = $JsonParameters.PSobject.Properties["accountAttributeName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "identityAttributeName"))) { #optional property not found + $IdentityAttributeName = $null + } else { + $IdentityAttributeName = $JsonParameters.PSobject.Properties["identityAttributeName"].value + } + + $PSO = [PSCustomObject]@{ + "accountAttributeName" = ${AccountAttributeName} + "identityAttributeName" = ${IdentityAttributeName} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceManagerCorrelationRule.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceManagerCorrelationRule.ps1 new file mode 100644 index 000000000..04da76b8c --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceManagerCorrelationRule.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Reference to the ManagerCorrelationRule. Only use this rule when a simple filter isn't sufficient. + +.PARAMETER Type +Type of object being referenced. +.PARAMETER Id +Rule ID. +.PARAMETER Name +Rule's human-readable display name. +.OUTPUTS + +SourceManagerCorrelationRule +#> + +function Initialize-V2024SourceManagerCorrelationRule { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("RULE")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SourceManagerCorrelationRule' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SourceManagerCorrelationRule + +.DESCRIPTION + +Convert from JSON to SourceManagerCorrelationRule + +.PARAMETER Json + +Json object + +.OUTPUTS + +SourceManagerCorrelationRule +#> +function ConvertFrom-V2024JsonToSourceManagerCorrelationRule { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SourceManagerCorrelationRule' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SourceManagerCorrelationRule + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceOwner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceOwner.ps1 new file mode 100644 index 000000000..0d7e36149 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceOwner.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Reference to identity object who owns the source. + +.PARAMETER Type +Type of object being referenced. +.PARAMETER Id +Owner identity's ID. +.PARAMETER Name +Owner identity's human-readable display name. +.OUTPUTS + +SourceOwner +#> + +function Initialize-V2024SourceOwner { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SourceOwner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SourceOwner + +.DESCRIPTION + +Convert from JSON to SourceOwner + +.PARAMETER Json + +Json object + +.OUTPUTS + +SourceOwner +#> +function ConvertFrom-V2024JsonToSourceOwner { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SourceOwner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SourceOwner + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourcePasswordPoliciesInner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourcePasswordPoliciesInner.ps1 new file mode 100644 index 000000000..6df78fa36 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourcePasswordPoliciesInner.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Type +Type of object being referenced. +.PARAMETER Id +Policy ID. +.PARAMETER Name +Policy's human-readable display name. +.OUTPUTS + +SourcePasswordPoliciesInner +#> + +function Initialize-V2024SourcePasswordPoliciesInner { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("PASSWORD_POLICY")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SourcePasswordPoliciesInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SourcePasswordPoliciesInner + +.DESCRIPTION + +Convert from JSON to SourcePasswordPoliciesInner + +.PARAMETER Json + +Json object + +.OUTPUTS + +SourcePasswordPoliciesInner +#> +function ConvertFrom-V2024JsonToSourcePasswordPoliciesInner { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SourcePasswordPoliciesInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SourcePasswordPoliciesInner + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceSchemasInner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceSchemasInner.ps1 new file mode 100644 index 000000000..e1f365f13 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceSchemasInner.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Type +Type of object being referenced. +.PARAMETER Id +Schema ID. +.PARAMETER Name +Schema's human-readable display name. +.OUTPUTS + +SourceSchemasInner +#> + +function Initialize-V2024SourceSchemasInner { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("CONNECTOR_SCHEMA")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SourceSchemasInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SourceSchemasInner + +.DESCRIPTION + +Convert from JSON to SourceSchemasInner + +.PARAMETER Json + +Json object + +.OUTPUTS + +SourceSchemasInner +#> +function ConvertFrom-V2024JsonToSourceSchemasInner { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SourceSchemasInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SourceSchemasInner + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceSyncJob.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceSyncJob.ps1 new file mode 100644 index 000000000..eade6193a --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceSyncJob.ps1 @@ -0,0 +1,139 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +Job ID. +.PARAMETER Status +The job status. +.PARAMETER Payload +No description available. +.OUTPUTS + +SourceSyncJob +#> + +function Initialize-V2024SourceSyncJob { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("QUEUED", "IN_PROGRESS", "SUCCESS", "ERROR")] + [String] + ${Status}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Payload} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SourceSyncJob' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Status) { + throw "invalid value for 'Status', 'Status' cannot be null." + } + + if (!$Payload) { + throw "invalid value for 'Payload', 'Payload' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "status" = ${Status} + "payload" = ${Payload} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SourceSyncJob + +.DESCRIPTION + +Convert from JSON to SourceSyncJob + +.PARAMETER Json + +Json object + +.OUTPUTS + +SourceSyncJob +#> +function ConvertFrom-V2024JsonToSourceSyncJob { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SourceSyncJob' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SourceSyncJob + $AllProperties = ("id", "status", "payload") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'id' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { + throw "Error! JSON cannot be serialized due to the required property 'status' missing." + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "payload"))) { + throw "Error! JSON cannot be serialized due to the required property 'payload' missing." + } else { + $Payload = $JsonParameters.PSobject.Properties["payload"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "status" = ${Status} + "payload" = ${Payload} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceSyncPayload.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceSyncPayload.ps1 new file mode 100644 index 000000000..9ef9a478e --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceSyncPayload.ps1 @@ -0,0 +1,121 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Type +Payload type. +.PARAMETER DataJson +Payload type. +.OUTPUTS + +SourceSyncPayload +#> + +function Initialize-V2024SourceSyncPayload { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${DataJson} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SourceSyncPayload' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$DataJson) { + throw "invalid value for 'DataJson', 'DataJson' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "dataJson" = ${DataJson} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SourceSyncPayload + +.DESCRIPTION + +Convert from JSON to SourceSyncPayload + +.PARAMETER Json + +Json object + +.OUTPUTS + +SourceSyncPayload +#> +function ConvertFrom-V2024JsonToSourceSyncPayload { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SourceSyncPayload' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SourceSyncPayload + $AllProperties = ("type", "dataJson") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'type' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "dataJson"))) { + throw "Error! JSON cannot be serialized due to the required property 'dataJson' missing." + } else { + $DataJson = $JsonParameters.PSobject.Properties["dataJson"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "dataJson" = ${DataJson} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceUpdated.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceUpdated.ps1 new file mode 100644 index 000000000..33633e0be --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceUpdated.ps1 @@ -0,0 +1,189 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +The unique ID of the source. +.PARAMETER Name +The user friendly name of the source. +.PARAMETER Type +The connection type of the source. +.PARAMETER Modified +The date and time the source was modified. +.PARAMETER Connector +The connector type used to connect to the source. +.PARAMETER Actor +No description available. +.OUTPUTS + +SourceUpdated +#> + +function Initialize-V2024SourceUpdated { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.DateTime] + ${Modified}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Connector}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Actor} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SourceUpdated' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Modified) { + throw "invalid value for 'Modified', 'Modified' cannot be null." + } + + if (!$Connector) { + throw "invalid value for 'Connector', 'Connector' cannot be null." + } + + if (!$Actor) { + throw "invalid value for 'Actor', 'Actor' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "type" = ${Type} + "modified" = ${Modified} + "connector" = ${Connector} + "actor" = ${Actor} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SourceUpdated + +.DESCRIPTION + +Convert from JSON to SourceUpdated + +.PARAMETER Json + +Json object + +.OUTPUTS + +SourceUpdated +#> +function ConvertFrom-V2024JsonToSourceUpdated { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SourceUpdated' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SourceUpdated + $AllProperties = ("id", "name", "type", "modified", "connector", "actor") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'id' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { + throw "Error! JSON cannot be serialized due to the required property 'modified' missing." + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "connector"))) { + throw "Error! JSON cannot be serialized due to the required property 'connector' missing." + } else { + $Connector = $JsonParameters.PSobject.Properties["connector"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "actor"))) { + throw "Error! JSON cannot be serialized due to the required property 'actor' missing." + } else { + $Actor = $JsonParameters.PSobject.Properties["actor"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "type" = ${Type} + "modified" = ${Modified} + "connector" = ${Connector} + "actor" = ${Actor} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceUpdatedActor.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceUpdatedActor.ps1 new file mode 100644 index 000000000..efe9c03ef --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceUpdatedActor.ps1 @@ -0,0 +1,135 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Identity who updated the source. + +.PARAMETER Type +DTO type of identity who updated the source. +.PARAMETER Id +ID of identity who updated the source. +.PARAMETER Name +Display name of identity who updated the source. +.OUTPUTS + +SourceUpdatedActor +#> + +function Initialize-V2024SourceUpdatedActor { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SourceUpdatedActor' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SourceUpdatedActor + +.DESCRIPTION + +Convert from JSON to SourceUpdatedActor + +.PARAMETER Json + +Json object + +.OUTPUTS + +SourceUpdatedActor +#> +function ConvertFrom-V2024JsonToSourceUpdatedActor { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SourceUpdatedActor' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SourceUpdatedActor + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'type' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceUsage.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceUsage.ps1 new file mode 100644 index 000000000..2f823079d --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceUsage.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Date +The first day of the month for which activity is aggregated. +.PARAMETER Count +The average number of days that accounts were active within this source, for the month. +.OUTPUTS + +SourceUsage +#> + +function Initialize-V2024SourceUsage { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Date}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Double]] + ${Count} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SourceUsage' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "date" = ${Date} + "count" = ${Count} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SourceUsage + +.DESCRIPTION + +Convert from JSON to SourceUsage + +.PARAMETER Json + +Json object + +.OUTPUTS + +SourceUsage +#> +function ConvertFrom-V2024JsonToSourceUsage { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SourceUsage' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SourceUsage + $AllProperties = ("date", "count") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "date"))) { #optional property not found + $Date = $null + } else { + $Date = $JsonParameters.PSobject.Properties["date"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "count"))) { #optional property not found + $Count = $null + } else { + $Count = $JsonParameters.PSobject.Properties["count"].value + } + + $PSO = [PSCustomObject]@{ + "date" = ${Date} + "count" = ${Count} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceUsageStatus.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceUsageStatus.ps1 new file mode 100644 index 000000000..57d13022a --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SourceUsageStatus.ps1 @@ -0,0 +1,97 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Status +Source Usage Status. Acceptable values are: - COMPLETE - This status means that an activity data source has been setup and usage insights are available for the source. - INCOMPLETE - This status means that an activity data source has not been setup and usage insights are not available for the source. +.OUTPUTS + +SourceUsageStatus +#> + +function Initialize-V2024SourceUsageStatus { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("COMPLETE", "INCOMPLETE")] + [String] + ${Status} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SourceUsageStatus' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "status" = ${Status} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SourceUsageStatus + +.DESCRIPTION + +Convert from JSON to SourceUsageStatus + +.PARAMETER Json + +Json object + +.OUTPUTS + +SourceUsageStatus +#> +function ConvertFrom-V2024JsonToSourceUsageStatus { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SourceUsageStatus' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SourceUsageStatus + $AllProperties = ("status") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { #optional property not found + $Status = $null + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + $PSO = [PSCustomObject]@{ + "status" = ${Status} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SpConfigExportJob.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SpConfigExportJob.ps1 new file mode 100644 index 000000000..fa3bfaa2b --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SpConfigExportJob.ps1 @@ -0,0 +1,208 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER JobId +Unique id assigned to this job. +.PARAMETER Status +Status of the job. +.PARAMETER Type +Type of the job, either export or import. +.PARAMETER Expiration +The time until which the artifacts will be available for download. +.PARAMETER Created +The time the job was started. +.PARAMETER Modified +The time of the last update to the job. +.PARAMETER Description +Optional user defined description/name for export job. +.OUTPUTS + +SpConfigExportJob +#> + +function Initialize-V2024SpConfigExportJob { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${JobId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("NOT_STARTED", "IN_PROGRESS", "COMPLETE", "CANCELLED", "FAILED")] + [String] + ${Status}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("EXPORT", "IMPORT")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.DateTime] + ${Expiration}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.DateTime] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.DateTime] + ${Modified}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SpConfigExportJob' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$JobId) { + throw "invalid value for 'JobId', 'JobId' cannot be null." + } + + if (!$Status) { + throw "invalid value for 'Status', 'Status' cannot be null." + } + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Expiration) { + throw "invalid value for 'Expiration', 'Expiration' cannot be null." + } + + if (!$Created) { + throw "invalid value for 'Created', 'Created' cannot be null." + } + + if (!$Modified) { + throw "invalid value for 'Modified', 'Modified' cannot be null." + } + + if (!$Description) { + throw "invalid value for 'Description', 'Description' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "jobId" = ${JobId} + "status" = ${Status} + "type" = ${Type} + "expiration" = ${Expiration} + "created" = ${Created} + "modified" = ${Modified} + "description" = ${Description} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SpConfigExportJob + +.DESCRIPTION + +Convert from JSON to SpConfigExportJob + +.PARAMETER Json + +Json object + +.OUTPUTS + +SpConfigExportJob +#> +function ConvertFrom-V2024JsonToSpConfigExportJob { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SpConfigExportJob' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SpConfigExportJob + $AllProperties = ("jobId", "status", "type", "expiration", "created", "modified", "description") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'jobId' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "jobId"))) { + throw "Error! JSON cannot be serialized due to the required property 'jobId' missing." + } else { + $JobId = $JsonParameters.PSobject.Properties["jobId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { + throw "Error! JSON cannot be serialized due to the required property 'status' missing." + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "expiration"))) { + throw "Error! JSON cannot be serialized due to the required property 'expiration' missing." + } else { + $Expiration = $JsonParameters.PSobject.Properties["expiration"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { + throw "Error! JSON cannot be serialized due to the required property 'created' missing." + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { + throw "Error! JSON cannot be serialized due to the required property 'modified' missing." + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { + throw "Error! JSON cannot be serialized due to the required property 'description' missing." + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + $PSO = [PSCustomObject]@{ + "jobId" = ${JobId} + "status" = ${Status} + "type" = ${Type} + "expiration" = ${Expiration} + "created" = ${Created} + "modified" = ${Modified} + "description" = ${Description} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SpConfigExportJobStatus.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SpConfigExportJobStatus.ps1 new file mode 100644 index 000000000..82b2d023f --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SpConfigExportJobStatus.ps1 @@ -0,0 +1,225 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER JobId +Unique id assigned to this job. +.PARAMETER Status +Status of the job. +.PARAMETER Type +Type of the job, either export or import. +.PARAMETER Expiration +The time until which the artifacts will be available for download. +.PARAMETER Created +The time the job was started. +.PARAMETER Modified +The time of the last update to the job. +.PARAMETER Description +Optional user defined description/name for export job. +.PARAMETER Completed +The time the job was completed. +.OUTPUTS + +SpConfigExportJobStatus +#> + +function Initialize-V2024SpConfigExportJobStatus { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${JobId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("NOT_STARTED", "IN_PROGRESS", "COMPLETE", "CANCELLED", "FAILED")] + [String] + ${Status}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("EXPORT", "IMPORT")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.DateTime] + ${Expiration}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.DateTime] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.DateTime] + ${Modified}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.DateTime] + ${Completed} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SpConfigExportJobStatus' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$JobId) { + throw "invalid value for 'JobId', 'JobId' cannot be null." + } + + if (!$Status) { + throw "invalid value for 'Status', 'Status' cannot be null." + } + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Expiration) { + throw "invalid value for 'Expiration', 'Expiration' cannot be null." + } + + if (!$Created) { + throw "invalid value for 'Created', 'Created' cannot be null." + } + + if (!$Modified) { + throw "invalid value for 'Modified', 'Modified' cannot be null." + } + + if (!$Description) { + throw "invalid value for 'Description', 'Description' cannot be null." + } + + if (!$Completed) { + throw "invalid value for 'Completed', 'Completed' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "jobId" = ${JobId} + "status" = ${Status} + "type" = ${Type} + "expiration" = ${Expiration} + "created" = ${Created} + "modified" = ${Modified} + "description" = ${Description} + "completed" = ${Completed} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SpConfigExportJobStatus + +.DESCRIPTION + +Convert from JSON to SpConfigExportJobStatus + +.PARAMETER Json + +Json object + +.OUTPUTS + +SpConfigExportJobStatus +#> +function ConvertFrom-V2024JsonToSpConfigExportJobStatus { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SpConfigExportJobStatus' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SpConfigExportJobStatus + $AllProperties = ("jobId", "status", "type", "expiration", "created", "modified", "description", "completed") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'jobId' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "jobId"))) { + throw "Error! JSON cannot be serialized due to the required property 'jobId' missing." + } else { + $JobId = $JsonParameters.PSobject.Properties["jobId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { + throw "Error! JSON cannot be serialized due to the required property 'status' missing." + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "expiration"))) { + throw "Error! JSON cannot be serialized due to the required property 'expiration' missing." + } else { + $Expiration = $JsonParameters.PSobject.Properties["expiration"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { + throw "Error! JSON cannot be serialized due to the required property 'created' missing." + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { + throw "Error! JSON cannot be serialized due to the required property 'modified' missing." + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { + throw "Error! JSON cannot be serialized due to the required property 'description' missing." + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "completed"))) { + throw "Error! JSON cannot be serialized due to the required property 'completed' missing." + } else { + $Completed = $JsonParameters.PSobject.Properties["completed"].value + } + + $PSO = [PSCustomObject]@{ + "jobId" = ${JobId} + "status" = ${Status} + "type" = ${Type} + "expiration" = ${Expiration} + "created" = ${Created} + "modified" = ${Modified} + "description" = ${Description} + "completed" = ${Completed} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SpConfigExportResults.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SpConfigExportResults.ps1 new file mode 100644 index 000000000..b3cbac0c0 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SpConfigExportResults.ps1 @@ -0,0 +1,161 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Response model for config export download response. + +.PARAMETER Version +Current version of the export results object. +.PARAMETER Timestamp +Time the export was completed. +.PARAMETER Tenant +Name of the tenant where this export originated. +.PARAMETER Description +Optional user defined description/name for export job. +.PARAMETER Options +No description available. +.PARAMETER Objects +No description available. +.OUTPUTS + +SpConfigExportResults +#> + +function Initialize-V2024SpConfigExportResults { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${Version}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Timestamp}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Tenant}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Options}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Objects} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SpConfigExportResults' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "version" = ${Version} + "timestamp" = ${Timestamp} + "tenant" = ${Tenant} + "description" = ${Description} + "options" = ${Options} + "objects" = ${Objects} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SpConfigExportResults + +.DESCRIPTION + +Convert from JSON to SpConfigExportResults + +.PARAMETER Json + +Json object + +.OUTPUTS + +SpConfigExportResults +#> +function ConvertFrom-V2024JsonToSpConfigExportResults { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SpConfigExportResults' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SpConfigExportResults + $AllProperties = ("version", "timestamp", "tenant", "description", "options", "objects") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "version"))) { #optional property not found + $Version = $null + } else { + $Version = $JsonParameters.PSobject.Properties["version"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "timestamp"))) { #optional property not found + $Timestamp = $null + } else { + $Timestamp = $JsonParameters.PSobject.Properties["timestamp"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "tenant"))) { #optional property not found + $Tenant = $null + } else { + $Tenant = $JsonParameters.PSobject.Properties["tenant"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "options"))) { #optional property not found + $Options = $null + } else { + $Options = $JsonParameters.PSobject.Properties["options"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "objects"))) { #optional property not found + $Objects = $null + } else { + $Objects = $JsonParameters.PSobject.Properties["objects"].value + } + + $PSO = [PSCustomObject]@{ + "version" = ${Version} + "timestamp" = ${Timestamp} + "tenant" = ${Tenant} + "description" = ${Description} + "options" = ${Options} + "objects" = ${Objects} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SpConfigImportJobStatus.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SpConfigImportJobStatus.ps1 new file mode 100644 index 000000000..d348b6f31 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SpConfigImportJobStatus.ps1 @@ -0,0 +1,225 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER JobId +Unique id assigned to this job. +.PARAMETER Status +Status of the job. +.PARAMETER Type +Type of the job, either export or import. +.PARAMETER Expiration +The time until which the artifacts will be available for download. +.PARAMETER Created +The time the job was started. +.PARAMETER Modified +The time of the last update to the job. +.PARAMETER Message +This message contains additional information about the overall status of the job. +.PARAMETER Completed +The time the job was completed. +.OUTPUTS + +SpConfigImportJobStatus +#> + +function Initialize-V2024SpConfigImportJobStatus { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${JobId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("NOT_STARTED", "IN_PROGRESS", "COMPLETE", "CANCELLED", "FAILED")] + [String] + ${Status}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("EXPORT", "IMPORT")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.DateTime] + ${Expiration}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.DateTime] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.DateTime] + ${Modified}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Message}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.DateTime] + ${Completed} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SpConfigImportJobStatus' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$JobId) { + throw "invalid value for 'JobId', 'JobId' cannot be null." + } + + if (!$Status) { + throw "invalid value for 'Status', 'Status' cannot be null." + } + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Expiration) { + throw "invalid value for 'Expiration', 'Expiration' cannot be null." + } + + if (!$Created) { + throw "invalid value for 'Created', 'Created' cannot be null." + } + + if (!$Modified) { + throw "invalid value for 'Modified', 'Modified' cannot be null." + } + + if (!$Message) { + throw "invalid value for 'Message', 'Message' cannot be null." + } + + if (!$Completed) { + throw "invalid value for 'Completed', 'Completed' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "jobId" = ${JobId} + "status" = ${Status} + "type" = ${Type} + "expiration" = ${Expiration} + "created" = ${Created} + "modified" = ${Modified} + "message" = ${Message} + "completed" = ${Completed} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SpConfigImportJobStatus + +.DESCRIPTION + +Convert from JSON to SpConfigImportJobStatus + +.PARAMETER Json + +Json object + +.OUTPUTS + +SpConfigImportJobStatus +#> +function ConvertFrom-V2024JsonToSpConfigImportJobStatus { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SpConfigImportJobStatus' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SpConfigImportJobStatus + $AllProperties = ("jobId", "status", "type", "expiration", "created", "modified", "message", "completed") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'jobId' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "jobId"))) { + throw "Error! JSON cannot be serialized due to the required property 'jobId' missing." + } else { + $JobId = $JsonParameters.PSobject.Properties["jobId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { + throw "Error! JSON cannot be serialized due to the required property 'status' missing." + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "expiration"))) { + throw "Error! JSON cannot be serialized due to the required property 'expiration' missing." + } else { + $Expiration = $JsonParameters.PSobject.Properties["expiration"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { + throw "Error! JSON cannot be serialized due to the required property 'created' missing." + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { + throw "Error! JSON cannot be serialized due to the required property 'modified' missing." + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "message"))) { + throw "Error! JSON cannot be serialized due to the required property 'message' missing." + } else { + $Message = $JsonParameters.PSobject.Properties["message"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "completed"))) { + throw "Error! JSON cannot be serialized due to the required property 'completed' missing." + } else { + $Completed = $JsonParameters.PSobject.Properties["completed"].value + } + + $PSO = [PSCustomObject]@{ + "jobId" = ${JobId} + "status" = ${Status} + "type" = ${Type} + "expiration" = ${Expiration} + "created" = ${Created} + "modified" = ${Modified} + "message" = ${Message} + "completed" = ${Completed} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SpConfigImportResults.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SpConfigImportResults.ps1 new file mode 100644 index 000000000..b1e50d31f --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SpConfigImportResults.ps1 @@ -0,0 +1,117 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Response Body for Config Import command. + +.PARAMETER Results +The results of an object configuration import job. +.PARAMETER ExportJobId +If a backup was performed before the import, this will contain the jobId of the backup job. This id can be used to retrieve the json file of the backup export. +.OUTPUTS + +SpConfigImportResults +#> + +function Initialize-V2024SpConfigImportResults { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${Results}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ExportJobId} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SpConfigImportResults' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Results) { + throw "invalid value for 'Results', 'Results' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "results" = ${Results} + "exportJobId" = ${ExportJobId} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SpConfigImportResults + +.DESCRIPTION + +Convert from JSON to SpConfigImportResults + +.PARAMETER Json + +Json object + +.OUTPUTS + +SpConfigImportResults +#> +function ConvertFrom-V2024JsonToSpConfigImportResults { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SpConfigImportResults' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SpConfigImportResults + $AllProperties = ("results", "exportJobId") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'results' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "results"))) { + throw "Error! JSON cannot be serialized due to the required property 'results' missing." + } else { + $Results = $JsonParameters.PSobject.Properties["results"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "exportJobId"))) { #optional property not found + $ExportJobId = $null + } else { + $ExportJobId = $JsonParameters.PSobject.Properties["exportJobId"].value + } + + $PSO = [PSCustomObject]@{ + "results" = ${Results} + "exportJobId" = ${ExportJobId} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SpConfigJob.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SpConfigJob.ps1 new file mode 100644 index 000000000..068c45f9a --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SpConfigJob.ps1 @@ -0,0 +1,191 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER JobId +Unique id assigned to this job. +.PARAMETER Status +Status of the job. +.PARAMETER Type +Type of the job, either export or import. +.PARAMETER Expiration +The time until which the artifacts will be available for download. +.PARAMETER Created +The time the job was started. +.PARAMETER Modified +The time of the last update to the job. +.OUTPUTS + +SpConfigJob +#> + +function Initialize-V2024SpConfigJob { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${JobId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("NOT_STARTED", "IN_PROGRESS", "COMPLETE", "CANCELLED", "FAILED")] + [String] + ${Status}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("EXPORT", "IMPORT")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.DateTime] + ${Expiration}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.DateTime] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.DateTime] + ${Modified} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SpConfigJob' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$JobId) { + throw "invalid value for 'JobId', 'JobId' cannot be null." + } + + if (!$Status) { + throw "invalid value for 'Status', 'Status' cannot be null." + } + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Expiration) { + throw "invalid value for 'Expiration', 'Expiration' cannot be null." + } + + if (!$Created) { + throw "invalid value for 'Created', 'Created' cannot be null." + } + + if (!$Modified) { + throw "invalid value for 'Modified', 'Modified' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "jobId" = ${JobId} + "status" = ${Status} + "type" = ${Type} + "expiration" = ${Expiration} + "created" = ${Created} + "modified" = ${Modified} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SpConfigJob + +.DESCRIPTION + +Convert from JSON to SpConfigJob + +.PARAMETER Json + +Json object + +.OUTPUTS + +SpConfigJob +#> +function ConvertFrom-V2024JsonToSpConfigJob { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SpConfigJob' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SpConfigJob + $AllProperties = ("jobId", "status", "type", "expiration", "created", "modified") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'jobId' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "jobId"))) { + throw "Error! JSON cannot be serialized due to the required property 'jobId' missing." + } else { + $JobId = $JsonParameters.PSobject.Properties["jobId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { + throw "Error! JSON cannot be serialized due to the required property 'status' missing." + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "expiration"))) { + throw "Error! JSON cannot be serialized due to the required property 'expiration' missing." + } else { + $Expiration = $JsonParameters.PSobject.Properties["expiration"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { + throw "Error! JSON cannot be serialized due to the required property 'created' missing." + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { + throw "Error! JSON cannot be serialized due to the required property 'modified' missing." + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + $PSO = [PSCustomObject]@{ + "jobId" = ${JobId} + "status" = ${Status} + "type" = ${Type} + "expiration" = ${Expiration} + "created" = ${Created} + "modified" = ${Modified} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SpConfigMessage.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SpConfigMessage.ps1 new file mode 100644 index 000000000..2e6f60e52 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SpConfigMessage.ps1 @@ -0,0 +1,138 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Message model for Config Import/Export. + +.PARAMETER Key +Message key. +.PARAMETER Text +Message text. +.PARAMETER Details +Message details if any, in key:value pairs. +.OUTPUTS + +SpConfigMessage +#> + +function Initialize-V2024SpConfigMessage { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Key}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Text}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${Details} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SpConfigMessage' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Key) { + throw "invalid value for 'Key', 'Key' cannot be null." + } + + if (!$Text) { + throw "invalid value for 'Text', 'Text' cannot be null." + } + + if (!$Details) { + throw "invalid value for 'Details', 'Details' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "key" = ${Key} + "text" = ${Text} + "details" = ${Details} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SpConfigMessage + +.DESCRIPTION + +Convert from JSON to SpConfigMessage + +.PARAMETER Json + +Json object + +.OUTPUTS + +SpConfigMessage +#> +function ConvertFrom-V2024JsonToSpConfigMessage { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SpConfigMessage' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SpConfigMessage + $AllProperties = ("key", "text", "details") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'key' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "key"))) { + throw "Error! JSON cannot be serialized due to the required property 'key' missing." + } else { + $Key = $JsonParameters.PSobject.Properties["key"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "text"))) { + throw "Error! JSON cannot be serialized due to the required property 'text' missing." + } else { + $Text = $JsonParameters.PSobject.Properties["text"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "details"))) { + throw "Error! JSON cannot be serialized due to the required property 'details' missing." + } else { + $Details = $JsonParameters.PSobject.Properties["details"].value + } + + $PSO = [PSCustomObject]@{ + "key" = ${Key} + "text" = ${Text} + "details" = ${Details} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SpConfigMessage1.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SpConfigMessage1.ps1 new file mode 100644 index 000000000..fa3c4e767 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SpConfigMessage1.ps1 @@ -0,0 +1,138 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Message model for Config Import/Export. + +.PARAMETER Key +Message key. +.PARAMETER Text +Message text. +.PARAMETER Details +Message details if any, in key:value pairs. +.OUTPUTS + +SpConfigMessage1 +#> + +function Initialize-V2024SpConfigMessage1 { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Key}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Text}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${Details} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SpConfigMessage1' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Key) { + throw "invalid value for 'Key', 'Key' cannot be null." + } + + if (!$Text) { + throw "invalid value for 'Text', 'Text' cannot be null." + } + + if (!$Details) { + throw "invalid value for 'Details', 'Details' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "key" = ${Key} + "text" = ${Text} + "details" = ${Details} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SpConfigMessage1 + +.DESCRIPTION + +Convert from JSON to SpConfigMessage1 + +.PARAMETER Json + +Json object + +.OUTPUTS + +SpConfigMessage1 +#> +function ConvertFrom-V2024JsonToSpConfigMessage1 { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SpConfigMessage1' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SpConfigMessage1 + $AllProperties = ("key", "text", "details") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'key' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "key"))) { + throw "Error! JSON cannot be serialized due to the required property 'key' missing." + } else { + $Key = $JsonParameters.PSobject.Properties["key"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "text"))) { + throw "Error! JSON cannot be serialized due to the required property 'text' missing." + } else { + $Text = $JsonParameters.PSobject.Properties["text"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "details"))) { + throw "Error! JSON cannot be serialized due to the required property 'details' missing." + } else { + $Details = $JsonParameters.PSobject.Properties["details"].value + } + + $PSO = [PSCustomObject]@{ + "key" = ${Key} + "text" = ${Text} + "details" = ${Details} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SpConfigObject.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SpConfigObject.ps1 new file mode 100644 index 000000000..dc74266a6 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SpConfigObject.ps1 @@ -0,0 +1,252 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Response model for get object configuration. + +.PARAMETER ObjectType +The object type this configuration is for. +.PARAMETER ResolveByIdUrl +No description available. +.PARAMETER ResolveByNameUrl +Url and query parameters to be used to resolve this type of object by name. +.PARAMETER ExportUrl +No description available. +.PARAMETER ExportRight +Rights needed by the invoker of sp-config/export in order to export this type of object. +.PARAMETER ExportLimit +Pagination limit imposed by the target service for this object type. +.PARAMETER ImportUrl +No description available. +.PARAMETER ImportRight +Rights needed by the invoker of sp-config/import in order to import this type of object. +.PARAMETER ImportLimit +Pagination limit imposed by the target service for this object type. +.PARAMETER ReferenceExtractors +List of json paths within an exported object of this type that represent references that need to be resolved. +.PARAMETER SignatureRequired +If true, this type of object will be JWS signed and cannot be modified before import. +.PARAMETER LegacyObject +No description available. +.PARAMETER OnePerTenant +No description available. +.OUTPUTS + +SpConfigObject +#> + +function Initialize-V2024SpConfigObject { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ObjectType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${ResolveByIdUrl}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${ResolveByNameUrl}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${ExportUrl}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ExportRight}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${ExportLimit}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${ImportUrl}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ImportRight}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${ImportLimit}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${ReferenceExtractors}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${SignatureRequired} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${LegacyObject} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${OnePerTenant} = $false + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SpConfigObject' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "objectType" = ${ObjectType} + "resolveByIdUrl" = ${ResolveByIdUrl} + "resolveByNameUrl" = ${ResolveByNameUrl} + "exportUrl" = ${ExportUrl} + "exportRight" = ${ExportRight} + "exportLimit" = ${ExportLimit} + "importUrl" = ${ImportUrl} + "importRight" = ${ImportRight} + "importLimit" = ${ImportLimit} + "referenceExtractors" = ${ReferenceExtractors} + "signatureRequired" = ${SignatureRequired} + "legacyObject" = ${LegacyObject} + "onePerTenant" = ${OnePerTenant} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SpConfigObject + +.DESCRIPTION + +Convert from JSON to SpConfigObject + +.PARAMETER Json + +Json object + +.OUTPUTS + +SpConfigObject +#> +function ConvertFrom-V2024JsonToSpConfigObject { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SpConfigObject' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SpConfigObject + $AllProperties = ("objectType", "resolveByIdUrl", "resolveByNameUrl", "exportUrl", "exportRight", "exportLimit", "importUrl", "importRight", "importLimit", "referenceExtractors", "signatureRequired", "legacyObject", "onePerTenant") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "objectType"))) { #optional property not found + $ObjectType = $null + } else { + $ObjectType = $JsonParameters.PSobject.Properties["objectType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "resolveByIdUrl"))) { #optional property not found + $ResolveByIdUrl = $null + } else { + $ResolveByIdUrl = $JsonParameters.PSobject.Properties["resolveByIdUrl"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "resolveByNameUrl"))) { #optional property not found + $ResolveByNameUrl = $null + } else { + $ResolveByNameUrl = $JsonParameters.PSobject.Properties["resolveByNameUrl"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "exportUrl"))) { #optional property not found + $ExportUrl = $null + } else { + $ExportUrl = $JsonParameters.PSobject.Properties["exportUrl"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "exportRight"))) { #optional property not found + $ExportRight = $null + } else { + $ExportRight = $JsonParameters.PSobject.Properties["exportRight"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "exportLimit"))) { #optional property not found + $ExportLimit = $null + } else { + $ExportLimit = $JsonParameters.PSobject.Properties["exportLimit"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "importUrl"))) { #optional property not found + $ImportUrl = $null + } else { + $ImportUrl = $JsonParameters.PSobject.Properties["importUrl"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "importRight"))) { #optional property not found + $ImportRight = $null + } else { + $ImportRight = $JsonParameters.PSobject.Properties["importRight"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "importLimit"))) { #optional property not found + $ImportLimit = $null + } else { + $ImportLimit = $JsonParameters.PSobject.Properties["importLimit"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "referenceExtractors"))) { #optional property not found + $ReferenceExtractors = $null + } else { + $ReferenceExtractors = $JsonParameters.PSobject.Properties["referenceExtractors"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "signatureRequired"))) { #optional property not found + $SignatureRequired = $null + } else { + $SignatureRequired = $JsonParameters.PSobject.Properties["signatureRequired"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "legacyObject"))) { #optional property not found + $LegacyObject = $null + } else { + $LegacyObject = $JsonParameters.PSobject.Properties["legacyObject"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "onePerTenant"))) { #optional property not found + $OnePerTenant = $null + } else { + $OnePerTenant = $JsonParameters.PSobject.Properties["onePerTenant"].value + } + + $PSO = [PSCustomObject]@{ + "objectType" = ${ObjectType} + "resolveByIdUrl" = ${ResolveByIdUrl} + "resolveByNameUrl" = ${ResolveByNameUrl} + "exportUrl" = ${ExportUrl} + "exportRight" = ${ExportRight} + "exportLimit" = ${ExportLimit} + "importUrl" = ${ImportUrl} + "importRight" = ${ImportRight} + "importLimit" = ${ImportLimit} + "referenceExtractors" = ${ReferenceExtractors} + "signatureRequired" = ${SignatureRequired} + "legacyObject" = ${LegacyObject} + "onePerTenant" = ${OnePerTenant} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SpConfigUrl.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SpConfigUrl.ps1 new file mode 100644 index 000000000..c5e306cac --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SpConfigUrl.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Format of resolver URLs for Object Configurations + +.PARAMETER Url +URL for the target object endpoint. +.PARAMETER Query +Any query parameters that are needed for the URL. +.OUTPUTS + +SpConfigUrl +#> + +function Initialize-V2024SpConfigUrl { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Url}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Query} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SpConfigUrl' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "url" = ${Url} + "query" = ${Query} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SpConfigUrl + +.DESCRIPTION + +Convert from JSON to SpConfigUrl + +.PARAMETER Json + +Json object + +.OUTPUTS + +SpConfigUrl +#> +function ConvertFrom-V2024JsonToSpConfigUrl { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SpConfigUrl' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SpConfigUrl + $AllProperties = ("url", "query") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "url"))) { #optional property not found + $Url = $null + } else { + $Url = $JsonParameters.PSobject.Properties["url"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "query"))) { #optional property not found + $Query = $null + } else { + $Query = $JsonParameters.PSobject.Properties["query"].value + } + + $PSO = [PSCustomObject]@{ + "url" = ${Url} + "query" = ${Query} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Split.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Split.ps1 new file mode 100644 index 000000000..607b24814 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Split.ps1 @@ -0,0 +1,160 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Delimiter +This can be either a single character or a regex expression, and is used by the transform to identify the break point between two substrings in the incoming data +.PARAMETER Index +An integer value for the desired array element after the incoming data has been split into a list; the array is a 0-based object, so the first array element would be index 0, the second element would be index 1, etc. +.PARAMETER Throws +A boolean (true/false) value which indicates whether an exception should be thrown and returned as an output when an index is out of bounds with the resultant array (i.e., the provided index value is larger than the size of the array) `true` - The transform should return ""IndexOutOfBoundsException"" `false` - The transform should return null If not provided, the transform will default to false and return a null +.PARAMETER RequiresPeriodicRefresh +A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process +.PARAMETER VarInput +This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI. +.OUTPUTS + +Split +#> + +function Initialize-V2024Split { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Delimiter}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Index}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Throws} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${RequiresPeriodicRefresh} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${VarInput} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Split' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Delimiter) { + throw "invalid value for 'Delimiter', 'Delimiter' cannot be null." + } + + if (!$Index) { + throw "invalid value for 'Index', 'Index' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "delimiter" = ${Delimiter} + "index" = ${Index} + "throws" = ${Throws} + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + "input" = ${VarInput} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Split + +.DESCRIPTION + +Convert from JSON to Split + +.PARAMETER Json + +Json object + +.OUTPUTS + +Split +#> +function ConvertFrom-V2024JsonToSplit { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Split' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Split + $AllProperties = ("delimiter", "index", "throws", "requiresPeriodicRefresh", "input") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'delimiter' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "delimiter"))) { + throw "Error! JSON cannot be serialized due to the required property 'delimiter' missing." + } else { + $Delimiter = $JsonParameters.PSobject.Properties["delimiter"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "index"))) { + throw "Error! JSON cannot be serialized due to the required property 'index' missing." + } else { + $Index = $JsonParameters.PSobject.Properties["index"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "throws"))) { #optional property not found + $Throws = $null + } else { + $Throws = $JsonParameters.PSobject.Properties["throws"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requiresPeriodicRefresh"))) { #optional property not found + $RequiresPeriodicRefresh = $null + } else { + $RequiresPeriodicRefresh = $JsonParameters.PSobject.Properties["requiresPeriodicRefresh"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "input"))) { #optional property not found + $VarInput = $null + } else { + $VarInput = $JsonParameters.PSobject.Properties["input"].value + } + + $PSO = [PSCustomObject]@{ + "delimiter" = ${Delimiter} + "index" = ${Index} + "throws" = ${Throws} + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + "input" = ${VarInput} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/StandardLevel.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/StandardLevel.ps1 new file mode 100644 index 000000000..bbc371e84 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/StandardLevel.ps1 @@ -0,0 +1,34 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum StandardLevel. + +.DESCRIPTION + +Standard Log4j log level +#> + +enum StandardLevel { + # enum value: "false" + false + # enum value: "FATAL" + FATAL + # enum value: "ERROR" + ERROR + # enum value: "WARN" + WARN + # enum value: "INFO" + INFO + # enum value: "DEBUG" + DEBUG + # enum value: "TRACE" + TRACE +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/StartInvocationInput.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/StartInvocationInput.ps1 new file mode 100644 index 000000000..5839a6369 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/StartInvocationInput.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER TriggerId +Trigger ID +.PARAMETER VarInput +Trigger input payload. Its schema is defined in the trigger definition. +.PARAMETER ContentJson +JSON map of invocation metadata +.OUTPUTS + +StartInvocationInput +#> + +function Initialize-V2024StartInvocationInput { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${TriggerId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${VarInput}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${ContentJson} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024StartInvocationInput' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "triggerId" = ${TriggerId} + "input" = ${VarInput} + "contentJson" = ${ContentJson} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to StartInvocationInput + +.DESCRIPTION + +Convert from JSON to StartInvocationInput + +.PARAMETER Json + +Json object + +.OUTPUTS + +StartInvocationInput +#> +function ConvertFrom-V2024JsonToStartInvocationInput { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024StartInvocationInput' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024StartInvocationInput + $AllProperties = ("triggerId", "input", "contentJson") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "triggerId"))) { #optional property not found + $TriggerId = $null + } else { + $TriggerId = $JsonParameters.PSobject.Properties["triggerId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "input"))) { #optional property not found + $VarInput = $null + } else { + $VarInput = $JsonParameters.PSobject.Properties["input"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "contentJson"))) { #optional property not found + $ContentJson = $null + } else { + $ContentJson = $JsonParameters.PSobject.Properties["contentJson"].value + } + + $PSO = [PSCustomObject]@{ + "triggerId" = ${TriggerId} + "input" = ${VarInput} + "contentJson" = ${ContentJson} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Static.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Static.ps1 new file mode 100644 index 000000000..688a836e1 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Static.ps1 @@ -0,0 +1,117 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Values +This must evaluate to a JSON string, either through a fixed value or through conditional logic using the Apache Velocity Template Language. +.PARAMETER RequiresPeriodicRefresh +A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process +.OUTPUTS + +Static +#> + +function Initialize-V2024Static { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Values}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${RequiresPeriodicRefresh} = $false + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Static' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Values) { + throw "invalid value for 'Values', 'Values' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "values" = ${Values} + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Static + +.DESCRIPTION + +Convert from JSON to Static + +.PARAMETER Json + +Json object + +.OUTPUTS + +Static +#> +function ConvertFrom-V2024JsonToStatic { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Static' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Static + $AllProperties = ("values", "requiresPeriodicRefresh") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'values' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "values"))) { + throw "Error! JSON cannot be serialized due to the required property 'values' missing." + } else { + $Values = $JsonParameters.PSobject.Properties["values"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requiresPeriodicRefresh"))) { #optional property not found + $RequiresPeriodicRefresh = $null + } else { + $RequiresPeriodicRefresh = $JsonParameters.PSobject.Properties["requiresPeriodicRefresh"].value + } + + $PSO = [PSCustomObject]@{ + "values" = ${Values} + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/StatusResponse.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/StatusResponse.ps1 new file mode 100644 index 000000000..e3974026b --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/StatusResponse.ps1 @@ -0,0 +1,118 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Response model for connection check, configuration test and ping of source connectors. + +.OUTPUTS + +StatusResponse +#> + +function Initialize-V2024StatusResponse { + [CmdletBinding()] + Param ( + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024StatusResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to StatusResponse + +.DESCRIPTION + +Convert from JSON to StatusResponse + +.PARAMETER Json + +Json object + +.OUTPUTS + +StatusResponse +#> +function ConvertFrom-V2024JsonToStatusResponse { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024StatusResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024StatusResponse + $AllProperties = ("id", "name", "status", "elapsedMillis", "details") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { #optional property not found + $Status = $null + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "elapsedMillis"))) { #optional property not found + $ElapsedMillis = $null + } else { + $ElapsedMillis = $JsonParameters.PSobject.Properties["elapsedMillis"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "details"))) { #optional property not found + $Details = $null + } else { + $Details = $JsonParameters.PSobject.Properties["details"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "status" = ${Status} + "elapsedMillis" = ${ElapsedMillis} + "details" = ${Details} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SubSearchAggregationSpecification.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SubSearchAggregationSpecification.ps1 new file mode 100644 index 000000000..22d170e05 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SubSearchAggregationSpecification.ps1 @@ -0,0 +1,148 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Nested +No description available. +.PARAMETER Metric +No description available. +.PARAMETER VarFilter +No description available. +.PARAMETER Bucket +No description available. +.PARAMETER SubAggregation +No description available. +.OUTPUTS + +SubSearchAggregationSpecification +#> + +function Initialize-V2024SubSearchAggregationSpecification { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Nested}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Metric}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${VarFilter}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Bucket}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${SubAggregation} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SubSearchAggregationSpecification' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "nested" = ${Nested} + "metric" = ${Metric} + "filter" = ${VarFilter} + "bucket" = ${Bucket} + "subAggregation" = ${SubAggregation} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SubSearchAggregationSpecification + +.DESCRIPTION + +Convert from JSON to SubSearchAggregationSpecification + +.PARAMETER Json + +Json object + +.OUTPUTS + +SubSearchAggregationSpecification +#> +function ConvertFrom-V2024JsonToSubSearchAggregationSpecification { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SubSearchAggregationSpecification' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SubSearchAggregationSpecification + $AllProperties = ("nested", "metric", "filter", "bucket", "subAggregation") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "nested"))) { #optional property not found + $Nested = $null + } else { + $Nested = $JsonParameters.PSobject.Properties["nested"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "metric"))) { #optional property not found + $Metric = $null + } else { + $Metric = $JsonParameters.PSobject.Properties["metric"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "filter"))) { #optional property not found + $VarFilter = $null + } else { + $VarFilter = $JsonParameters.PSobject.Properties["filter"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "bucket"))) { #optional property not found + $Bucket = $null + } else { + $Bucket = $JsonParameters.PSobject.Properties["bucket"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "subAggregation"))) { #optional property not found + $SubAggregation = $null + } else { + $SubAggregation = $JsonParameters.PSobject.Properties["subAggregation"].value + } + + $PSO = [PSCustomObject]@{ + "nested" = ${Nested} + "metric" = ${Metric} + "filter" = ${VarFilter} + "bucket" = ${Bucket} + "subAggregation" = ${SubAggregation} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Subscription.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Subscription.ps1 new file mode 100644 index 000000000..3dbb8137f --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Subscription.ps1 @@ -0,0 +1,255 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +Subscription ID. +.PARAMETER Name +Subscription name. +.PARAMETER Description +Subscription description. +.PARAMETER TriggerId +ID of trigger subscribed to. +.PARAMETER TriggerName +Trigger name of trigger subscribed to. +.PARAMETER Type +No description available. +.PARAMETER ResponseDeadline +Deadline for completing REQUEST_RESPONSE trigger invocation, represented in ISO-8601 duration format. +.PARAMETER HttpConfig +No description available. +.PARAMETER EventBridgeConfig +No description available. +.PARAMETER Enabled +Whether subscription should receive real-time trigger invocations or not. Test trigger invocations are always enabled regardless of this option. +.PARAMETER VarFilter +JSONPath filter to conditionally invoke trigger when expression evaluates to true. +.OUTPUTS + +Subscription +#> + +function Initialize-V2024Subscription { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${TriggerId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${TriggerName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("HTTP", "EVENTBRIDGE", "INLINE", "SCRIPT", "WORKFLOW")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ResponseDeadline} = "PT1H", + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${HttpConfig}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${EventBridgeConfig}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Boolean] + ${Enabled} = $true, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${VarFilter} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Subscription' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if (!$TriggerId) { + throw "invalid value for 'TriggerId', 'TriggerId' cannot be null." + } + + if (!$TriggerName) { + throw "invalid value for 'TriggerName', 'TriggerName' cannot be null." + } + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Enabled) { + throw "invalid value for 'Enabled', 'Enabled' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "description" = ${Description} + "triggerId" = ${TriggerId} + "triggerName" = ${TriggerName} + "type" = ${Type} + "responseDeadline" = ${ResponseDeadline} + "httpConfig" = ${HttpConfig} + "eventBridgeConfig" = ${EventBridgeConfig} + "enabled" = ${Enabled} + "filter" = ${VarFilter} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Subscription + +.DESCRIPTION + +Convert from JSON to Subscription + +.PARAMETER Json + +Json object + +.OUTPUTS + +Subscription +#> +function ConvertFrom-V2024JsonToSubscription { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Subscription' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Subscription + $AllProperties = ("id", "name", "description", "triggerId", "triggerName", "type", "responseDeadline", "httpConfig", "eventBridgeConfig", "enabled", "filter") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'id' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "triggerId"))) { + throw "Error! JSON cannot be serialized due to the required property 'triggerId' missing." + } else { + $TriggerId = $JsonParameters.PSobject.Properties["triggerId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "triggerName"))) { + throw "Error! JSON cannot be serialized due to the required property 'triggerName' missing." + } else { + $TriggerName = $JsonParameters.PSobject.Properties["triggerName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "enabled"))) { + throw "Error! JSON cannot be serialized due to the required property 'enabled' missing." + } else { + $Enabled = $JsonParameters.PSobject.Properties["enabled"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "responseDeadline"))) { #optional property not found + $ResponseDeadline = $null + } else { + $ResponseDeadline = $JsonParameters.PSobject.Properties["responseDeadline"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "httpConfig"))) { #optional property not found + $HttpConfig = $null + } else { + $HttpConfig = $JsonParameters.PSobject.Properties["httpConfig"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "eventBridgeConfig"))) { #optional property not found + $EventBridgeConfig = $null + } else { + $EventBridgeConfig = $JsonParameters.PSobject.Properties["eventBridgeConfig"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "filter"))) { #optional property not found + $VarFilter = $null + } else { + $VarFilter = $JsonParameters.PSobject.Properties["filter"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "description" = ${Description} + "triggerId" = ${TriggerId} + "triggerName" = ${TriggerName} + "type" = ${Type} + "responseDeadline" = ${ResponseDeadline} + "httpConfig" = ${HttpConfig} + "eventBridgeConfig" = ${EventBridgeConfig} + "enabled" = ${Enabled} + "filter" = ${VarFilter} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SubscriptionPatchRequestInner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SubscriptionPatchRequestInner.ps1 new file mode 100644 index 000000000..940525550 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SubscriptionPatchRequestInner.ps1 @@ -0,0 +1,135 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +A JSONPatch Operation as defined by [RFC 6902 - JSON Patch](https://tools.ietf.org/html/rfc6902) + +.PARAMETER Op +The operation to be performed +.PARAMETER Path +A string JSON Pointer representing the target path to an element to be affected by the operation +.PARAMETER Value +No description available. +.OUTPUTS + +SubscriptionPatchRequestInner +#> + +function Initialize-V2024SubscriptionPatchRequestInner { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("add", "remove", "replace", "move", "copy")] + [String] + ${Op}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Path}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Value} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SubscriptionPatchRequestInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Op) { + throw "invalid value for 'Op', 'Op' cannot be null." + } + + if (!$Path) { + throw "invalid value for 'Path', 'Path' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "op" = ${Op} + "path" = ${Path} + "value" = ${Value} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SubscriptionPatchRequestInner + +.DESCRIPTION + +Convert from JSON to SubscriptionPatchRequestInner + +.PARAMETER Json + +Json object + +.OUTPUTS + +SubscriptionPatchRequestInner +#> +function ConvertFrom-V2024JsonToSubscriptionPatchRequestInner { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SubscriptionPatchRequestInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SubscriptionPatchRequestInner + $AllProperties = ("op", "path", "value") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'op' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "op"))) { + throw "Error! JSON cannot be serialized due to the required property 'op' missing." + } else { + $Op = $JsonParameters.PSobject.Properties["op"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "path"))) { + throw "Error! JSON cannot be serialized due to the required property 'path' missing." + } else { + $Path = $JsonParameters.PSobject.Properties["path"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "value"))) { #optional property not found + $Value = $null + } else { + $Value = $JsonParameters.PSobject.Properties["value"].value + } + + $PSO = [PSCustomObject]@{ + "op" = ${Op} + "path" = ${Path} + "value" = ${Value} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SubscriptionPatchRequestInnerValue.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SubscriptionPatchRequestInnerValue.ps1 new file mode 100644 index 000000000..12f61a0d4 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SubscriptionPatchRequestInnerValue.ps1 @@ -0,0 +1,120 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +The value to be used for the operation, required for ""add"" and ""replace"" operations + +.PARAMETER Json + +JSON object + +.OUTPUTS + +SubscriptionPatchRequestInnerValue +#> +function ConvertFrom-V2024JsonToSubscriptionPatchRequestInnerValue { + [CmdletBinding()] + Param ( + [AllowEmptyString()] + [string]$Json + ) + + Process { + $match = 0 + $matchType = $null + $matchInstance = $null + + if ($match -ne 0) { # no match yet + # try to match Int32 defined in the anyOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToInt32 $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "Int32" + $match++ + break + } + } + } catch { + # fail to match the schema defined in anyOf, proceed to the next one + Write-Debug "Failed to match 'Int32' defined in anyOf (V2024SubscriptionPatchRequestInnerValue). Proceeding to the next one if any." + } + } + + if ($match -ne 0) { # no match yet + # try to match String defined in the anyOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToString $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "String" + $match++ + break + } + } + } catch { + # fail to match the schema defined in anyOf, proceed to the next one + Write-Debug "Failed to match 'String' defined in anyOf (V2024SubscriptionPatchRequestInnerValue). Proceeding to the next one if any." + } + } + + if ($match -ne 0) { # no match yet + # try to match SubscriptionPatchRequestInnerValueAnyOfInner[] defined in the anyOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToSubscriptionPatchRequestInnerValueAnyOfInner[] $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "SubscriptionPatchRequestInnerValueAnyOfInner[]" + $match++ + break + } + } + } catch { + # fail to match the schema defined in anyOf, proceed to the next one + Write-Debug "Failed to match 'SubscriptionPatchRequestInnerValueAnyOfInner[]' defined in anyOf (V2024SubscriptionPatchRequestInnerValue). Proceeding to the next one if any." + } + } + + if ($match -ne 0) { # no match yet + # try to match SystemCollectionsHashtable defined in the anyOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToSystemCollectionsHashtable $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "SystemCollectionsHashtable" + $match++ + break + } + } + } catch { + # fail to match the schema defined in anyOf, proceed to the next one + Write-Debug "Failed to match 'SystemCollectionsHashtable' defined in anyOf (V2024SubscriptionPatchRequestInnerValue). Proceeding to the next one if any." + } + } + + if ($match -eq 1) { + return [PSCustomObject]@{ + "ActualType" = ${matchType} + "ActualInstance" = ${matchInstance} + "anyOfSchemas" = @("Int32", "String", "SubscriptionPatchRequestInnerValueAnyOfInner[]", "SystemCollectionsHashtable") + } + } else { + throw "Error! The JSON payload doesn't matches any type defined in anyOf schemas ([Int32, String, SubscriptionPatchRequestInnerValueAnyOfInner[], SystemCollectionsHashtable]). JSON Payload: $($Json)" + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SubscriptionPatchRequestInnerValueAnyOfInner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SubscriptionPatchRequestInnerValueAnyOfInner.ps1 new file mode 100644 index 000000000..d939eddb3 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SubscriptionPatchRequestInnerValueAnyOfInner.ps1 @@ -0,0 +1,102 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Json + +JSON object + +.OUTPUTS + +SubscriptionPatchRequestInnerValueAnyOfInner +#> +function ConvertFrom-V2024JsonToSubscriptionPatchRequestInnerValueAnyOfInner { + [CmdletBinding()] + Param ( + [AllowEmptyString()] + [string]$Json + ) + + Process { + $match = 0 + $matchType = $null + $matchInstance = $null + + if ($match -ne 0) { # no match yet + # try to match Int32 defined in the anyOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToInt32 $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "Int32" + $match++ + break + } + } + } catch { + # fail to match the schema defined in anyOf, proceed to the next one + Write-Debug "Failed to match 'Int32' defined in anyOf (V2024SubscriptionPatchRequestInnerValueAnyOfInner). Proceeding to the next one if any." + } + } + + if ($match -ne 0) { # no match yet + # try to match String defined in the anyOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToString $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "String" + $match++ + break + } + } + } catch { + # fail to match the schema defined in anyOf, proceed to the next one + Write-Debug "Failed to match 'String' defined in anyOf (V2024SubscriptionPatchRequestInnerValueAnyOfInner). Proceeding to the next one if any." + } + } + + if ($match -ne 0) { # no match yet + # try to match SystemCollectionsHashtable defined in the anyOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToSystemCollectionsHashtable $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "SystemCollectionsHashtable" + $match++ + break + } + } + } catch { + # fail to match the schema defined in anyOf, proceed to the next one + Write-Debug "Failed to match 'SystemCollectionsHashtable' defined in anyOf (V2024SubscriptionPatchRequestInnerValueAnyOfInner). Proceeding to the next one if any." + } + } + + if ($match -eq 1) { + return [PSCustomObject]@{ + "ActualType" = ${matchType} + "ActualInstance" = ${matchInstance} + "anyOfSchemas" = @("Int32", "String", "SystemCollectionsHashtable") + } + } else { + throw "Error! The JSON payload doesn't matches any type defined in anyOf schemas ([Int32, String, SystemCollectionsHashtable]). JSON Payload: $($Json)" + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SubscriptionPostRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SubscriptionPostRequest.ps1 new file mode 100644 index 000000000..12eb6b295 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SubscriptionPostRequest.ps1 @@ -0,0 +1,217 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Name +Subscription name. +.PARAMETER Description +Subscription description. +.PARAMETER TriggerId +ID of trigger subscribed to. +.PARAMETER Type +No description available. +.PARAMETER ResponseDeadline +Deadline for completing REQUEST_RESPONSE trigger invocation, represented in ISO-8601 duration format. +.PARAMETER HttpConfig +No description available. +.PARAMETER EventBridgeConfig +No description available. +.PARAMETER Enabled +Whether subscription should receive real-time trigger invocations or not. Test trigger invocations are always enabled regardless of this option. +.PARAMETER VarFilter +JSONPath filter to conditionally invoke trigger when expression evaluates to true. +.OUTPUTS + +SubscriptionPostRequest +#> + +function Initialize-V2024SubscriptionPostRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${TriggerId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("HTTP", "EVENTBRIDGE", "INLINE", "SCRIPT", "WORKFLOW")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ResponseDeadline} = "PT1H", + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${HttpConfig}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${EventBridgeConfig}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Enabled} = $true, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${VarFilter} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SubscriptionPostRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if (!$TriggerId) { + throw "invalid value for 'TriggerId', 'TriggerId' cannot be null." + } + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "description" = ${Description} + "triggerId" = ${TriggerId} + "type" = ${Type} + "responseDeadline" = ${ResponseDeadline} + "httpConfig" = ${HttpConfig} + "eventBridgeConfig" = ${EventBridgeConfig} + "enabled" = ${Enabled} + "filter" = ${VarFilter} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SubscriptionPostRequest + +.DESCRIPTION + +Convert from JSON to SubscriptionPostRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +SubscriptionPostRequest +#> +function ConvertFrom-V2024JsonToSubscriptionPostRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SubscriptionPostRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SubscriptionPostRequest + $AllProperties = ("name", "description", "triggerId", "type", "responseDeadline", "httpConfig", "eventBridgeConfig", "enabled", "filter") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'name' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "triggerId"))) { + throw "Error! JSON cannot be serialized due to the required property 'triggerId' missing." + } else { + $TriggerId = $JsonParameters.PSobject.Properties["triggerId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "responseDeadline"))) { #optional property not found + $ResponseDeadline = $null + } else { + $ResponseDeadline = $JsonParameters.PSobject.Properties["responseDeadline"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "httpConfig"))) { #optional property not found + $HttpConfig = $null + } else { + $HttpConfig = $JsonParameters.PSobject.Properties["httpConfig"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "eventBridgeConfig"))) { #optional property not found + $EventBridgeConfig = $null + } else { + $EventBridgeConfig = $JsonParameters.PSobject.Properties["eventBridgeConfig"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "enabled"))) { #optional property not found + $Enabled = $null + } else { + $Enabled = $JsonParameters.PSobject.Properties["enabled"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "filter"))) { #optional property not found + $VarFilter = $null + } else { + $VarFilter = $JsonParameters.PSobject.Properties["filter"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "description" = ${Description} + "triggerId" = ${TriggerId} + "type" = ${Type} + "responseDeadline" = ${ResponseDeadline} + "httpConfig" = ${HttpConfig} + "eventBridgeConfig" = ${EventBridgeConfig} + "enabled" = ${Enabled} + "filter" = ${VarFilter} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SubscriptionPutRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SubscriptionPutRequest.ps1 new file mode 100644 index 000000000..608a0d6ac --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SubscriptionPutRequest.ps1 @@ -0,0 +1,188 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Name +Subscription name. +.PARAMETER Description +Subscription description. +.PARAMETER Type +No description available. +.PARAMETER ResponseDeadline +Deadline for completing REQUEST_RESPONSE trigger invocation, represented in ISO-8601 duration format. +.PARAMETER HttpConfig +No description available. +.PARAMETER EventBridgeConfig +No description available. +.PARAMETER Enabled +Whether subscription should receive real-time trigger invocations or not. Test trigger invocations are always enabled regardless of this option. +.PARAMETER VarFilter +JSONPath filter to conditionally invoke trigger when expression evaluates to true. +.OUTPUTS + +SubscriptionPutRequest +#> + +function Initialize-V2024SubscriptionPutRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("HTTP", "EVENTBRIDGE", "INLINE", "SCRIPT", "WORKFLOW")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ResponseDeadline} = "PT1H", + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${HttpConfig}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${EventBridgeConfig}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Enabled} = $true, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${VarFilter} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024SubscriptionPutRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "description" = ${Description} + "type" = ${Type} + "responseDeadline" = ${ResponseDeadline} + "httpConfig" = ${HttpConfig} + "eventBridgeConfig" = ${EventBridgeConfig} + "enabled" = ${Enabled} + "filter" = ${VarFilter} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to SubscriptionPutRequest + +.DESCRIPTION + +Convert from JSON to SubscriptionPutRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +SubscriptionPutRequest +#> +function ConvertFrom-V2024JsonToSubscriptionPutRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024SubscriptionPutRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024SubscriptionPutRequest + $AllProperties = ("name", "description", "type", "responseDeadline", "httpConfig", "eventBridgeConfig", "enabled", "filter") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "responseDeadline"))) { #optional property not found + $ResponseDeadline = $null + } else { + $ResponseDeadline = $JsonParameters.PSobject.Properties["responseDeadline"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "httpConfig"))) { #optional property not found + $HttpConfig = $null + } else { + $HttpConfig = $JsonParameters.PSobject.Properties["httpConfig"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "eventBridgeConfig"))) { #optional property not found + $EventBridgeConfig = $null + } else { + $EventBridgeConfig = $JsonParameters.PSobject.Properties["eventBridgeConfig"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "enabled"))) { #optional property not found + $Enabled = $null + } else { + $Enabled = $JsonParameters.PSobject.Properties["enabled"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "filter"))) { #optional property not found + $VarFilter = $null + } else { + $VarFilter = $JsonParameters.PSobject.Properties["filter"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "description" = ${Description} + "type" = ${Type} + "responseDeadline" = ${ResponseDeadline} + "httpConfig" = ${HttpConfig} + "eventBridgeConfig" = ${EventBridgeConfig} + "enabled" = ${Enabled} + "filter" = ${VarFilter} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/SubscriptionType.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SubscriptionType.ps1 new file mode 100644 index 000000000..b3039d3cb --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/SubscriptionType.ps1 @@ -0,0 +1,30 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum SubscriptionType. + +.DESCRIPTION + +Subscription type. **NOTE** If type is EVENTBRIDGE, then eventBridgeConfig is required. If type is HTTP, then httpConfig is required. +#> + +enum SubscriptionType { + # enum value: "HTTP" + HTTP + # enum value: "EVENTBRIDGE" + EVENTBRIDGE + # enum value: "INLINE" + INLINE + # enum value: "SCRIPT" + SCRIPT + # enum value: "WORKFLOW" + WORKFLOW +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Substring.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Substring.ps1 new file mode 100644 index 000000000..c3a748506 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Substring.ps1 @@ -0,0 +1,169 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER VarBegin +The index of the first character to include in the returned substring. If `begin` is set to -1, the transform will begin at character 0 of the input data +.PARAMETER BeginOffset +This integer value is the number of characters to add to the begin attribute when returning a substring. This attribute is only used if begin is not -1. +.PARAMETER VarEnd +The index of the first character to exclude from the returned substring. If end is -1 or not provided at all, the substring transform will return everything up to the end of the input string. +.PARAMETER EndOffset +This integer value is the number of characters to add to the end attribute when returning a substring. This attribute is only used if end is provided and is not -1. +.PARAMETER RequiresPeriodicRefresh +A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process +.PARAMETER VarInput +This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI. +.OUTPUTS + +Substring +#> + +function Initialize-V2024Substring { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Int32] + ${VarBegin}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${BeginOffset}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${VarEnd}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${EndOffset}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${RequiresPeriodicRefresh} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${VarInput} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Substring' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$VarBegin) { + throw "invalid value for 'VarBegin', 'VarBegin' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "begin" = ${VarBegin} + "beginOffset" = ${BeginOffset} + "end" = ${VarEnd} + "endOffset" = ${EndOffset} + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + "input" = ${VarInput} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Substring + +.DESCRIPTION + +Convert from JSON to Substring + +.PARAMETER Json + +Json object + +.OUTPUTS + +Substring +#> +function ConvertFrom-V2024JsonToSubstring { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Substring' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Substring + $AllProperties = ("begin", "beginOffset", "end", "endOffset", "requiresPeriodicRefresh", "input") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'begin' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "begin"))) { + throw "Error! JSON cannot be serialized due to the required property 'begin' missing." + } else { + $VarBegin = $JsonParameters.PSobject.Properties["begin"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "beginOffset"))) { #optional property not found + $BeginOffset = $null + } else { + $BeginOffset = $JsonParameters.PSobject.Properties["beginOffset"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "end"))) { #optional property not found + $VarEnd = $null + } else { + $VarEnd = $JsonParameters.PSobject.Properties["end"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "endOffset"))) { #optional property not found + $EndOffset = $null + } else { + $EndOffset = $JsonParameters.PSobject.Properties["endOffset"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requiresPeriodicRefresh"))) { #optional property not found + $RequiresPeriodicRefresh = $null + } else { + $RequiresPeriodicRefresh = $JsonParameters.PSobject.Properties["requiresPeriodicRefresh"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "input"))) { #optional property not found + $VarInput = $null + } else { + $VarInput = $JsonParameters.PSobject.Properties["input"].value + } + + $PSO = [PSCustomObject]@{ + "begin" = ${VarBegin} + "beginOffset" = ${BeginOffset} + "end" = ${VarEnd} + "endOffset" = ${EndOffset} + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + "input" = ${VarInput} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/TaggedObject.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TaggedObject.ps1 new file mode 100644 index 000000000..82f47b0de --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TaggedObject.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Tagged object. + +.PARAMETER ObjectRef +No description available. +.PARAMETER Tags +Labels to be applied to an Object +.OUTPUTS + +TaggedObject +#> + +function Initialize-V2024TaggedObject { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${ObjectRef}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Tags} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024TaggedObject' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "objectRef" = ${ObjectRef} + "tags" = ${Tags} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to TaggedObject + +.DESCRIPTION + +Convert from JSON to TaggedObject + +.PARAMETER Json + +Json object + +.OUTPUTS + +TaggedObject +#> +function ConvertFrom-V2024JsonToTaggedObject { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024TaggedObject' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024TaggedObject + $AllProperties = ("objectRef", "tags") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "objectRef"))) { #optional property not found + $ObjectRef = $null + } else { + $ObjectRef = $JsonParameters.PSobject.Properties["objectRef"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "tags"))) { #optional property not found + $Tags = $null + } else { + $Tags = $JsonParameters.PSobject.Properties["tags"].value + } + + $PSO = [PSCustomObject]@{ + "objectRef" = ${ObjectRef} + "tags" = ${Tags} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/TaggedObjectDto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TaggedObjectDto.ps1 new file mode 100644 index 000000000..a76739ce8 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TaggedObjectDto.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Type +DTO type +.PARAMETER Id +ID of the object this reference applies to +.PARAMETER Name +Human-readable display name of the object this reference applies to +.OUTPUTS + +TaggedObjectDto +#> + +function Initialize-V2024TaggedObjectDto { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ACCESS_PROFILE", "APPLICATION", "CAMPAIGN", "ENTITLEMENT", "IDENTITY", "ROLE", "SOD_POLICY", "SOURCE")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024TaggedObjectDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to TaggedObjectDto + +.DESCRIPTION + +Convert from JSON to TaggedObjectDto + +.PARAMETER Json + +Json object + +.OUTPUTS + +TaggedObjectDto +#> +function ConvertFrom-V2024JsonToTaggedObjectDto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024TaggedObjectDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024TaggedObjectDto + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Target.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Target.ps1 new file mode 100644 index 000000000..7554365c5 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Target.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +Target ID +.PARAMETER Type +Target type +.PARAMETER Name +Target name +.OUTPUTS + +Target +#> + +function Initialize-V2024Target { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("APPLICATION", "IDENTITY", "")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Target' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Target + +.DESCRIPTION + +Convert from JSON to Target + +.PARAMETER Json + +Json object + +.OUTPUTS + +Target +#> +function ConvertFrom-V2024JsonToTarget { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Target' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Target + $AllProperties = ("id", "type", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/TaskDefinitionSummary.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TaskDefinitionSummary.ps1 new file mode 100644 index 000000000..bbca17261 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TaskDefinitionSummary.ps1 @@ -0,0 +1,185 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Definition of a type of task, used to invoke tasks + +.PARAMETER Id +System-generated unique ID of the TaskDefinition +.PARAMETER UniqueName +Name of the TaskDefinition +.PARAMETER Description +Description of the TaskDefinition +.PARAMETER ParentName +Name of the parent of the TaskDefinition +.PARAMETER Executor +Executor of the TaskDefinition +.PARAMETER Arguments +Formal parameters of the TaskDefinition, without values +.OUTPUTS + +TaskDefinitionSummary +#> + +function Initialize-V2024TaskDefinitionSummary { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${UniqueName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ParentName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Executor}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${Arguments} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024TaskDefinitionSummary' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$UniqueName) { + throw "invalid value for 'UniqueName', 'UniqueName' cannot be null." + } + + if (!$Description) { + throw "invalid value for 'Description', 'Description' cannot be null." + } + + if (!$ParentName) { + throw "invalid value for 'ParentName', 'ParentName' cannot be null." + } + + if (!$Arguments) { + throw "invalid value for 'Arguments', 'Arguments' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "uniqueName" = ${UniqueName} + "description" = ${Description} + "parentName" = ${ParentName} + "executor" = ${Executor} + "arguments" = ${Arguments} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to TaskDefinitionSummary + +.DESCRIPTION + +Convert from JSON to TaskDefinitionSummary + +.PARAMETER Json + +Json object + +.OUTPUTS + +TaskDefinitionSummary +#> +function ConvertFrom-V2024JsonToTaskDefinitionSummary { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024TaskDefinitionSummary' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024TaskDefinitionSummary + $AllProperties = ("id", "uniqueName", "description", "parentName", "executor", "arguments") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'id' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "uniqueName"))) { + throw "Error! JSON cannot be serialized due to the required property 'uniqueName' missing." + } else { + $UniqueName = $JsonParameters.PSobject.Properties["uniqueName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { + throw "Error! JSON cannot be serialized due to the required property 'description' missing." + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "parentName"))) { + throw "Error! JSON cannot be serialized due to the required property 'parentName' missing." + } else { + $ParentName = $JsonParameters.PSobject.Properties["parentName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "executor"))) { + throw "Error! JSON cannot be serialized due to the required property 'executor' missing." + } else { + $Executor = $JsonParameters.PSobject.Properties["executor"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "arguments"))) { + throw "Error! JSON cannot be serialized due to the required property 'arguments' missing." + } else { + $Arguments = $JsonParameters.PSobject.Properties["arguments"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "uniqueName" = ${UniqueName} + "description" = ${Description} + "parentName" = ${ParentName} + "executor" = ${Executor} + "arguments" = ${Arguments} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/TaskResultDetails.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TaskResultDetails.ps1 new file mode 100644 index 000000000..742a19085 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TaskResultDetails.ps1 @@ -0,0 +1,268 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Details about job or task type, state and lifecycle. + +.PARAMETER Type +Type of the job or task underlying in the report processing. It could be a quartz task, QPOC or MENTOS jobs or a refresh/sync task. +.PARAMETER Id +Unique task definition identifier. +.PARAMETER ReportType +Use this property to define what report should be processed in the RDE service. +.PARAMETER Description +Description of the report purpose and/or contents. +.PARAMETER ParentName +Name of the parent task/report if exists. +.PARAMETER Launcher +Name of the report processing initiator. +.PARAMETER Created +Report creation date +.PARAMETER Launched +Report start date +.PARAMETER Completed +Report completion date +.PARAMETER CompletionStatus +Report completion status. +.PARAMETER Messages +List of the messages dedicated to the report. From task definition perspective here usually should be warnings or errors. +.PARAMETER Returns +Task definition results, if necessary. +.PARAMETER Attributes +Extra attributes map(dictionary) needed for the report. +.PARAMETER Progress +Current report state. +.OUTPUTS + +TaskResultDetails +#> + +function Initialize-V2024TaskResultDetails { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("QUARTZ", "QPOC", "MENTOS", "QUEUED_TASK")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ACCOUNTS", "IDENTITIES_DETAILS", "IDENTITIES", "IDENTITY_PROFILE_IDENTITY_ERROR", "ORPHAN_IDENTITIES", "SEARCH_EXPORT", "UNCORRELATED_ACCOUNTS")] + [PSCustomObject] + ${ReportType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ParentName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Launcher}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Launched}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Completed}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("SUCCESS", "WARNING", "ERROR", "TERMINATED", "TEMP_ERROR")] + [String] + ${CompletionStatus}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Messages}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Returns}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${Attributes}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Progress} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024TaskResultDetails' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "reportType" = ${ReportType} + "description" = ${Description} + "parentName" = ${ParentName} + "launcher" = ${Launcher} + "created" = ${Created} + "launched" = ${Launched} + "completed" = ${Completed} + "completionStatus" = ${CompletionStatus} + "messages" = ${Messages} + "returns" = ${Returns} + "attributes" = ${Attributes} + "progress" = ${Progress} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to TaskResultDetails + +.DESCRIPTION + +Convert from JSON to TaskResultDetails + +.PARAMETER Json + +Json object + +.OUTPUTS + +TaskResultDetails +#> +function ConvertFrom-V2024JsonToTaskResultDetails { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024TaskResultDetails' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024TaskResultDetails + $AllProperties = ("type", "id", "reportType", "description", "parentName", "launcher", "created", "launched", "completed", "completionStatus", "messages", "returns", "attributes", "progress") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "reportType"))) { #optional property not found + $ReportType = $null + } else { + $ReportType = $JsonParameters.PSobject.Properties["reportType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "parentName"))) { #optional property not found + $ParentName = $null + } else { + $ParentName = $JsonParameters.PSobject.Properties["parentName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "launcher"))) { #optional property not found + $Launcher = $null + } else { + $Launcher = $JsonParameters.PSobject.Properties["launcher"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "launched"))) { #optional property not found + $Launched = $null + } else { + $Launched = $JsonParameters.PSobject.Properties["launched"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "completed"))) { #optional property not found + $Completed = $null + } else { + $Completed = $JsonParameters.PSobject.Properties["completed"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "completionStatus"))) { #optional property not found + $CompletionStatus = $null + } else { + $CompletionStatus = $JsonParameters.PSobject.Properties["completionStatus"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "messages"))) { #optional property not found + $Messages = $null + } else { + $Messages = $JsonParameters.PSobject.Properties["messages"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "returns"))) { #optional property not found + $Returns = $null + } else { + $Returns = $JsonParameters.PSobject.Properties["returns"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributes"))) { #optional property not found + $Attributes = $null + } else { + $Attributes = $JsonParameters.PSobject.Properties["attributes"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "progress"))) { #optional property not found + $Progress = $null + } else { + $Progress = $JsonParameters.PSobject.Properties["progress"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "reportType" = ${ReportType} + "description" = ${Description} + "parentName" = ${ParentName} + "launcher" = ${Launcher} + "created" = ${Created} + "launched" = ${Launched} + "completed" = ${Completed} + "completionStatus" = ${CompletionStatus} + "messages" = ${Messages} + "returns" = ${Returns} + "attributes" = ${Attributes} + "progress" = ${Progress} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/TaskResultDetailsMessagesInner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TaskResultDetailsMessagesInner.ps1 new file mode 100644 index 000000000..508843c5a --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TaskResultDetailsMessagesInner.ps1 @@ -0,0 +1,149 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Type +Type of the message. +.PARAMETER VarError +Flag whether message is an error. +.PARAMETER Warning +Flag whether message is a warning. +.PARAMETER Key +Message string identifier. +.PARAMETER LocalizedText +Message context with the locale based language. +.OUTPUTS + +TaskResultDetailsMessagesInner +#> + +function Initialize-V2024TaskResultDetailsMessagesInner { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("INFO", "WARN", "ERROR")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${VarError} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Warning} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Key}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${LocalizedText} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024TaskResultDetailsMessagesInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "error" = ${VarError} + "warning" = ${Warning} + "key" = ${Key} + "localizedText" = ${LocalizedText} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to TaskResultDetailsMessagesInner + +.DESCRIPTION + +Convert from JSON to TaskResultDetailsMessagesInner + +.PARAMETER Json + +Json object + +.OUTPUTS + +TaskResultDetailsMessagesInner +#> +function ConvertFrom-V2024JsonToTaskResultDetailsMessagesInner { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024TaskResultDetailsMessagesInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024TaskResultDetailsMessagesInner + $AllProperties = ("type", "error", "warning", "key", "localizedText") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "error"))) { #optional property not found + $VarError = $null + } else { + $VarError = $JsonParameters.PSobject.Properties["error"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "warning"))) { #optional property not found + $Warning = $null + } else { + $Warning = $JsonParameters.PSobject.Properties["warning"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "key"))) { #optional property not found + $Key = $null + } else { + $Key = $JsonParameters.PSobject.Properties["key"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "localizedText"))) { #optional property not found + $LocalizedText = $null + } else { + $LocalizedText = $JsonParameters.PSobject.Properties["localizedText"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "error" = ${VarError} + "warning" = ${Warning} + "key" = ${Key} + "localizedText" = ${LocalizedText} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/TaskResultDetailsReturnsInner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TaskResultDetailsReturnsInner.ps1 new file mode 100644 index 000000000..f65f20932 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TaskResultDetailsReturnsInner.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER DisplayLabel +Attribute description. +.PARAMETER AttributeName +System or database attribute name. +.OUTPUTS + +TaskResultDetailsReturnsInner +#> + +function Initialize-V2024TaskResultDetailsReturnsInner { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${DisplayLabel}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AttributeName} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024TaskResultDetailsReturnsInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "displayLabel" = ${DisplayLabel} + "attributeName" = ${AttributeName} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to TaskResultDetailsReturnsInner + +.DESCRIPTION + +Convert from JSON to TaskResultDetailsReturnsInner + +.PARAMETER Json + +Json object + +.OUTPUTS + +TaskResultDetailsReturnsInner +#> +function ConvertFrom-V2024JsonToTaskResultDetailsReturnsInner { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024TaskResultDetailsReturnsInner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024TaskResultDetailsReturnsInner + $AllProperties = ("displayLabel", "attributeName") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "displayLabel"))) { #optional property not found + $DisplayLabel = $null + } else { + $DisplayLabel = $JsonParameters.PSobject.Properties["displayLabel"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributeName"))) { #optional property not found + $AttributeName = $null + } else { + $AttributeName = $JsonParameters.PSobject.Properties["attributeName"].value + } + + $PSO = [PSCustomObject]@{ + "displayLabel" = ${DisplayLabel} + "attributeName" = ${AttributeName} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/TaskResultDto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TaskResultDto.ps1 new file mode 100644 index 000000000..46b510143 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TaskResultDto.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Task result. + +.PARAMETER Type +Task result DTO type. +.PARAMETER Id +Task result ID. +.PARAMETER Name +Task result display name. +.OUTPUTS + +TaskResultDto +#> + +function Initialize-V2024TaskResultDto { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("TASK_RESULT")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024TaskResultDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to TaskResultDto + +.DESCRIPTION + +Convert from JSON to TaskResultDto + +.PARAMETER Json + +Json object + +.OUTPUTS + +TaskResultDto +#> +function ConvertFrom-V2024JsonToTaskResultDto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024TaskResultDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024TaskResultDto + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/TaskResultResponse.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TaskResultResponse.ps1 new file mode 100644 index 000000000..79c82dbca --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TaskResultResponse.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Type +the type of response reference +.PARAMETER Id +the task ID +.PARAMETER Name +the task name (not used in this endpoint, always null) +.OUTPUTS + +TaskResultResponse +#> + +function Initialize-V2024TaskResultResponse { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024TaskResultResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to TaskResultResponse + +.DESCRIPTION + +Convert from JSON to TaskResultResponse + +.PARAMETER Json + +Json object + +.OUTPUTS + +TaskResultResponse +#> +function ConvertFrom-V2024JsonToTaskResultResponse { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024TaskResultResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024TaskResultResponse + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/TaskResultSimplified.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TaskResultSimplified.ps1 new file mode 100644 index 000000000..cd6378f04 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TaskResultSimplified.ps1 @@ -0,0 +1,175 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +Task identifier +.PARAMETER Name +Task name +.PARAMETER Description +Task description +.PARAMETER Launcher +User or process who launched the task +.PARAMETER Completed +Date time of completion +.PARAMETER Launched +Date time when the task was launched +.PARAMETER CompletionStatus +Task result status +.OUTPUTS + +TaskResultSimplified +#> + +function Initialize-V2024TaskResultSimplified { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Launcher}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Completed}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Launched}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("Success", "Warning", "Error", "Terminated", "TempError")] + [String] + ${CompletionStatus} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024TaskResultSimplified' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "description" = ${Description} + "launcher" = ${Launcher} + "completed" = ${Completed} + "launched" = ${Launched} + "completionStatus" = ${CompletionStatus} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to TaskResultSimplified + +.DESCRIPTION + +Convert from JSON to TaskResultSimplified + +.PARAMETER Json + +Json object + +.OUTPUTS + +TaskResultSimplified +#> +function ConvertFrom-V2024JsonToTaskResultSimplified { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024TaskResultSimplified' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024TaskResultSimplified + $AllProperties = ("id", "name", "description", "launcher", "completed", "launched", "completionStatus") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "launcher"))) { #optional property not found + $Launcher = $null + } else { + $Launcher = $JsonParameters.PSobject.Properties["launcher"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "completed"))) { #optional property not found + $Completed = $null + } else { + $Completed = $JsonParameters.PSobject.Properties["completed"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "launched"))) { #optional property not found + $Launched = $null + } else { + $Launched = $JsonParameters.PSobject.Properties["launched"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "completionStatus"))) { #optional property not found + $CompletionStatus = $null + } else { + $CompletionStatus = $JsonParameters.PSobject.Properties["completionStatus"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "description" = ${Description} + "launcher" = ${Launcher} + "completed" = ${Completed} + "launched" = ${Launched} + "completionStatus" = ${CompletionStatus} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/TaskReturnDetails.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TaskReturnDetails.ps1 new file mode 100644 index 000000000..292b8c0a9 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TaskReturnDetails.ps1 @@ -0,0 +1,121 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Task return details + +.PARAMETER Name +Display name of the TaskReturnDetails +.PARAMETER AttributeName +Attribute the TaskReturnDetails is for +.OUTPUTS + +TaskReturnDetails +#> + +function Initialize-V2024TaskReturnDetails { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AttributeName} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024TaskReturnDetails' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if (!$AttributeName) { + throw "invalid value for 'AttributeName', 'AttributeName' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "attributeName" = ${AttributeName} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to TaskReturnDetails + +.DESCRIPTION + +Convert from JSON to TaskReturnDetails + +.PARAMETER Json + +Json object + +.OUTPUTS + +TaskReturnDetails +#> +function ConvertFrom-V2024JsonToTaskReturnDetails { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024TaskReturnDetails' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024TaskReturnDetails + $AllProperties = ("name", "attributeName") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'name' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributeName"))) { + throw "Error! JSON cannot be serialized due to the required property 'attributeName' missing." + } else { + $AttributeName = $JsonParameters.PSobject.Properties["attributeName"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "attributeName" = ${AttributeName} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/TaskStatus.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TaskStatus.ps1 new file mode 100644 index 000000000..b3b1587c8 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TaskStatus.ps1 @@ -0,0 +1,367 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Details and current status of a specific task + +.PARAMETER Id +System-generated unique ID of the task this TaskStatus represents +.PARAMETER Type +Type of task this TaskStatus represents +.PARAMETER UniqueName +Name of the task this TaskStatus represents +.PARAMETER Description +Description of the task this TaskStatus represents +.PARAMETER ParentName +Name of the parent of the task this TaskStatus represents +.PARAMETER Launcher +Service to execute the task this TaskStatus represents +.PARAMETER Target +No description available. +.PARAMETER Created +Creation date of the task this TaskStatus represents +.PARAMETER Modified +Last modification date of the task this TaskStatus represents +.PARAMETER Launched +Launch date of the task this TaskStatus represents +.PARAMETER Completed +Completion date of the task this TaskStatus represents +.PARAMETER CompletionStatus +Completion status of the task this TaskStatus represents +.PARAMETER Messages +Messages associated with the task this TaskStatus represents +.PARAMETER Returns +Return values from the task this TaskStatus represents +.PARAMETER Attributes +Attributes of the task this TaskStatus represents +.PARAMETER Progress +Current progress of the task this TaskStatus represents +.PARAMETER PercentComplete +Current percentage completion of the task this TaskStatus represents +.PARAMETER TaskDefinitionSummary +No description available. +.OUTPUTS + +TaskStatus +#> + +function Initialize-V2024TaskStatus { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("QUARTZ", "QPOC", "QUEUED_TASK")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${UniqueName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ParentName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Launcher}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Target}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.DateTime] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.DateTime] + ${Modified}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Launched}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Completed}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("SUCCESS", "WARNING", "ERROR", "TERMINATED", "TEMPERROR", "")] + [String] + ${CompletionStatus}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Messages}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Returns}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${Attributes}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Progress}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Int32] + ${PercentComplete}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${TaskDefinitionSummary} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024TaskStatus' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$UniqueName) { + throw "invalid value for 'UniqueName', 'UniqueName' cannot be null." + } + + if (!$Description) { + throw "invalid value for 'Description', 'Description' cannot be null." + } + + if (!$Launcher) { + throw "invalid value for 'Launcher', 'Launcher' cannot be null." + } + + if (!$Created) { + throw "invalid value for 'Created', 'Created' cannot be null." + } + + if (!$Modified) { + throw "invalid value for 'Modified', 'Modified' cannot be null." + } + + if (!$Messages) { + throw "invalid value for 'Messages', 'Messages' cannot be null." + } + + if (!$Returns) { + throw "invalid value for 'Returns', 'Returns' cannot be null." + } + + if (!$Attributes) { + throw "invalid value for 'Attributes', 'Attributes' cannot be null." + } + + if (!$PercentComplete) { + throw "invalid value for 'PercentComplete', 'PercentComplete' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + "uniqueName" = ${UniqueName} + "description" = ${Description} + "parentName" = ${ParentName} + "launcher" = ${Launcher} + "target" = ${Target} + "created" = ${Created} + "modified" = ${Modified} + "launched" = ${Launched} + "completed" = ${Completed} + "completionStatus" = ${CompletionStatus} + "messages" = ${Messages} + "returns" = ${Returns} + "attributes" = ${Attributes} + "progress" = ${Progress} + "percentComplete" = ${PercentComplete} + "taskDefinitionSummary" = ${TaskDefinitionSummary} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to TaskStatus + +.DESCRIPTION + +Convert from JSON to TaskStatus + +.PARAMETER Json + +Json object + +.OUTPUTS + +TaskStatus +#> +function ConvertFrom-V2024JsonToTaskStatus { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024TaskStatus' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024TaskStatus + $AllProperties = ("id", "type", "uniqueName", "description", "parentName", "launcher", "target", "created", "modified", "launched", "completed", "completionStatus", "messages", "returns", "attributes", "progress", "percentComplete", "taskDefinitionSummary") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'id' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "uniqueName"))) { + throw "Error! JSON cannot be serialized due to the required property 'uniqueName' missing." + } else { + $UniqueName = $JsonParameters.PSobject.Properties["uniqueName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { + throw "Error! JSON cannot be serialized due to the required property 'description' missing." + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "parentName"))) { + throw "Error! JSON cannot be serialized due to the required property 'parentName' missing." + } else { + $ParentName = $JsonParameters.PSobject.Properties["parentName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "launcher"))) { + throw "Error! JSON cannot be serialized due to the required property 'launcher' missing." + } else { + $Launcher = $JsonParameters.PSobject.Properties["launcher"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { + throw "Error! JSON cannot be serialized due to the required property 'created' missing." + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { + throw "Error! JSON cannot be serialized due to the required property 'modified' missing." + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "launched"))) { + throw "Error! JSON cannot be serialized due to the required property 'launched' missing." + } else { + $Launched = $JsonParameters.PSobject.Properties["launched"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "completed"))) { + throw "Error! JSON cannot be serialized due to the required property 'completed' missing." + } else { + $Completed = $JsonParameters.PSobject.Properties["completed"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "completionStatus"))) { + throw "Error! JSON cannot be serialized due to the required property 'completionStatus' missing." + } else { + $CompletionStatus = $JsonParameters.PSobject.Properties["completionStatus"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "messages"))) { + throw "Error! JSON cannot be serialized due to the required property 'messages' missing." + } else { + $Messages = $JsonParameters.PSobject.Properties["messages"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "returns"))) { + throw "Error! JSON cannot be serialized due to the required property 'returns' missing." + } else { + $Returns = $JsonParameters.PSobject.Properties["returns"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributes"))) { + throw "Error! JSON cannot be serialized due to the required property 'attributes' missing." + } else { + $Attributes = $JsonParameters.PSobject.Properties["attributes"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "progress"))) { + throw "Error! JSON cannot be serialized due to the required property 'progress' missing." + } else { + $Progress = $JsonParameters.PSobject.Properties["progress"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "percentComplete"))) { + throw "Error! JSON cannot be serialized due to the required property 'percentComplete' missing." + } else { + $PercentComplete = $JsonParameters.PSobject.Properties["percentComplete"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "target"))) { #optional property not found + $Target = $null + } else { + $Target = $JsonParameters.PSobject.Properties["target"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "taskDefinitionSummary"))) { #optional property not found + $TaskDefinitionSummary = $null + } else { + $TaskDefinitionSummary = $JsonParameters.PSobject.Properties["taskDefinitionSummary"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + "uniqueName" = ${UniqueName} + "description" = ${Description} + "parentName" = ${ParentName} + "launcher" = ${Launcher} + "target" = ${Target} + "created" = ${Created} + "modified" = ${Modified} + "launched" = ${Launched} + "completed" = ${Completed} + "completionStatus" = ${CompletionStatus} + "messages" = ${Messages} + "returns" = ${Returns} + "attributes" = ${Attributes} + "progress" = ${Progress} + "percentComplete" = ${PercentComplete} + "taskDefinitionSummary" = ${TaskDefinitionSummary} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/TaskStatusMessage.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TaskStatusMessage.ps1 new file mode 100644 index 000000000..d452b9383 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TaskStatusMessage.ps1 @@ -0,0 +1,148 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +TaskStatus Message + +.PARAMETER Type +Type of the message +.PARAMETER LocalizedText +No description available. +.PARAMETER Key +Key of the message +.PARAMETER Parameters +Message parameters for internationalization +.OUTPUTS + +TaskStatusMessage +#> + +function Initialize-V2024TaskStatusMessage { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("INFO", "WARN", "ERROR")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${LocalizedText}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Key}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Parameters} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024TaskStatusMessage' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Key) { + throw "invalid value for 'Key', 'Key' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "localizedText" = ${LocalizedText} + "key" = ${Key} + "parameters" = ${Parameters} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to TaskStatusMessage + +.DESCRIPTION + +Convert from JSON to TaskStatusMessage + +.PARAMETER Json + +Json object + +.OUTPUTS + +TaskStatusMessage +#> +function ConvertFrom-V2024JsonToTaskStatusMessage { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024TaskStatusMessage' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024TaskStatusMessage + $AllProperties = ("type", "localizedText", "key", "parameters") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'type' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "localizedText"))) { + throw "Error! JSON cannot be serialized due to the required property 'localizedText' missing." + } else { + $LocalizedText = $JsonParameters.PSobject.Properties["localizedText"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "key"))) { + throw "Error! JSON cannot be serialized due to the required property 'key' missing." + } else { + $Key = $JsonParameters.PSobject.Properties["key"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "parameters"))) { + throw "Error! JSON cannot be serialized due to the required property 'parameters' missing." + } else { + $Parameters = $JsonParameters.PSobject.Properties["parameters"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "localizedText" = ${LocalizedText} + "key" = ${Key} + "parameters" = ${Parameters} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/TemplateBulkDeleteDto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TemplateBulkDeleteDto.ps1 new file mode 100644 index 000000000..2349a7f8a --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TemplateBulkDeleteDto.ps1 @@ -0,0 +1,131 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Key +No description available. +.PARAMETER Medium +No description available. +.PARAMETER Locale +The locale for the message text, a BCP 47 language tag. +.OUTPUTS + +TemplateBulkDeleteDto +#> + +function Initialize-V2024TemplateBulkDeleteDto { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Key}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("EMAIL", "PHONE", "SMS")] + [String] + ${Medium}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Locale} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024TemplateBulkDeleteDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Key) { + throw "invalid value for 'Key', 'Key' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "key" = ${Key} + "medium" = ${Medium} + "locale" = ${Locale} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to TemplateBulkDeleteDto + +.DESCRIPTION + +Convert from JSON to TemplateBulkDeleteDto + +.PARAMETER Json + +Json object + +.OUTPUTS + +TemplateBulkDeleteDto +#> +function ConvertFrom-V2024JsonToTemplateBulkDeleteDto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024TemplateBulkDeleteDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024TemplateBulkDeleteDto + $AllProperties = ("key", "medium", "locale") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'key' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "key"))) { + throw "Error! JSON cannot be serialized due to the required property 'key' missing." + } else { + $Key = $JsonParameters.PSobject.Properties["key"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "medium"))) { #optional property not found + $Medium = $null + } else { + $Medium = $JsonParameters.PSobject.Properties["medium"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "locale"))) { #optional property not found + $Locale = $null + } else { + $Locale = $JsonParameters.PSobject.Properties["locale"].value + } + + $PSO = [PSCustomObject]@{ + "key" = ${Key} + "medium" = ${Medium} + "locale" = ${Locale} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/TemplateDto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TemplateDto.ps1 new file mode 100644 index 000000000..2d1e020ad --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TemplateDto.ps1 @@ -0,0 +1,308 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Key +The key of the template +.PARAMETER Name +The name of the Task Manager Subscription +.PARAMETER Medium +The message medium. More mediums may be added in the future. +.PARAMETER Locale +The locale for the message text, a BCP 47 language tag. +.PARAMETER Subject +The subject line in the template +.PARAMETER Header +The header value is now located within the body field. If included with non-null values, will result in a 400. +.PARAMETER Body +The body in the template +.PARAMETER Footer +The footer value is now located within the body field. If included with non-null values, will result in a 400. +.PARAMETER VarFrom +The ""From:"" address in the template +.PARAMETER ReplyTo +The ""Reply To"" line in the template +.PARAMETER Description +The description in the template +.PARAMETER Id +This is auto-generated. +.PARAMETER Created +The time when this template is created. This is auto-generated. +.PARAMETER Modified +The time when this template was last modified. This is auto-generated. +.PARAMETER SlackTemplate +No description available. +.PARAMETER TeamsTemplate +No description available. +.OUTPUTS + +TemplateDto +#> + +function Initialize-V2024TemplateDto { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Key}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("EMAIL", "PHONE", "SMS", "SLACK", "TEAMS")] + [String] + ${Medium}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Locale}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Subject}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Header}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Body}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Footer}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${VarFrom}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ReplyTo}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Modified}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${SlackTemplate}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${TeamsTemplate} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024TemplateDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Key) { + throw "invalid value for 'Key', 'Key' cannot be null." + } + + if (!$Medium) { + throw "invalid value for 'Medium', 'Medium' cannot be null." + } + + if (!$Locale) { + throw "invalid value for 'Locale', 'Locale' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "key" = ${Key} + "name" = ${Name} + "medium" = ${Medium} + "locale" = ${Locale} + "subject" = ${Subject} + "header" = ${Header} + "body" = ${Body} + "footer" = ${Footer} + "from" = ${VarFrom} + "replyTo" = ${ReplyTo} + "description" = ${Description} + "id" = ${Id} + "created" = ${Created} + "modified" = ${Modified} + "slackTemplate" = ${SlackTemplate} + "teamsTemplate" = ${TeamsTemplate} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to TemplateDto + +.DESCRIPTION + +Convert from JSON to TemplateDto + +.PARAMETER Json + +Json object + +.OUTPUTS + +TemplateDto +#> +function ConvertFrom-V2024JsonToTemplateDto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024TemplateDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024TemplateDto + $AllProperties = ("key", "name", "medium", "locale", "subject", "header", "body", "footer", "from", "replyTo", "description", "id", "created", "modified", "slackTemplate", "teamsTemplate") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'key' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "key"))) { + throw "Error! JSON cannot be serialized due to the required property 'key' missing." + } else { + $Key = $JsonParameters.PSobject.Properties["key"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "medium"))) { + throw "Error! JSON cannot be serialized due to the required property 'medium' missing." + } else { + $Medium = $JsonParameters.PSobject.Properties["medium"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "locale"))) { + throw "Error! JSON cannot be serialized due to the required property 'locale' missing." + } else { + $Locale = $JsonParameters.PSobject.Properties["locale"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "subject"))) { #optional property not found + $Subject = $null + } else { + $Subject = $JsonParameters.PSobject.Properties["subject"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "header"))) { #optional property not found + $Header = $null + } else { + $Header = $JsonParameters.PSobject.Properties["header"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "body"))) { #optional property not found + $Body = $null + } else { + $Body = $JsonParameters.PSobject.Properties["body"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "footer"))) { #optional property not found + $Footer = $null + } else { + $Footer = $JsonParameters.PSobject.Properties["footer"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "from"))) { #optional property not found + $VarFrom = $null + } else { + $VarFrom = $JsonParameters.PSobject.Properties["from"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "replyTo"))) { #optional property not found + $ReplyTo = $null + } else { + $ReplyTo = $JsonParameters.PSobject.Properties["replyTo"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "slackTemplate"))) { #optional property not found + $SlackTemplate = $null + } else { + $SlackTemplate = $JsonParameters.PSobject.Properties["slackTemplate"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "teamsTemplate"))) { #optional property not found + $TeamsTemplate = $null + } else { + $TeamsTemplate = $JsonParameters.PSobject.Properties["teamsTemplate"].value + } + + $PSO = [PSCustomObject]@{ + "key" = ${Key} + "name" = ${Name} + "medium" = ${Medium} + "locale" = ${Locale} + "subject" = ${Subject} + "header" = ${Header} + "body" = ${Body} + "footer" = ${Footer} + "from" = ${VarFrom} + "replyTo" = ${ReplyTo} + "description" = ${Description} + "id" = ${Id} + "created" = ${Created} + "modified" = ${Modified} + "slackTemplate" = ${SlackTemplate} + "teamsTemplate" = ${TeamsTemplate} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/TemplateDtoDefault.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TemplateDtoDefault.ps1 new file mode 100644 index 000000000..4d9266646 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TemplateDtoDefault.ps1 @@ -0,0 +1,253 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Key +The key of the default template +.PARAMETER Name +The name of the default template +.PARAMETER Medium +The message medium. More mediums may be added in the future. +.PARAMETER Locale +The locale for the message text, a BCP 47 language tag. +.PARAMETER Subject +The subject of the default template +.PARAMETER Header +The header value is now located within the body field. If included with non-null values, will result in a 400. +.PARAMETER Body +The body of the default template +.PARAMETER Footer +The footer value is now located within the body field. If included with non-null values, will result in a 400. +.PARAMETER VarFrom +The ""From:"" address of the default template +.PARAMETER ReplyTo +The ""Reply To"" field of the default template +.PARAMETER Description +The description of the default template +.PARAMETER SlackTemplate +No description available. +.PARAMETER TeamsTemplate +No description available. +.OUTPUTS + +TemplateDtoDefault +#> + +function Initialize-V2024TemplateDtoDefault { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Key}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("EMAIL", "PHONE", "SMS", "SLACK", "TEAMS")] + [String] + ${Medium}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Locale}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Subject}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Header}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Body}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Footer}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${VarFrom}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ReplyTo}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${SlackTemplate}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${TeamsTemplate} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024TemplateDtoDefault' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "key" = ${Key} + "name" = ${Name} + "medium" = ${Medium} + "locale" = ${Locale} + "subject" = ${Subject} + "header" = ${Header} + "body" = ${Body} + "footer" = ${Footer} + "from" = ${VarFrom} + "replyTo" = ${ReplyTo} + "description" = ${Description} + "slackTemplate" = ${SlackTemplate} + "teamsTemplate" = ${TeamsTemplate} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to TemplateDtoDefault + +.DESCRIPTION + +Convert from JSON to TemplateDtoDefault + +.PARAMETER Json + +Json object + +.OUTPUTS + +TemplateDtoDefault +#> +function ConvertFrom-V2024JsonToTemplateDtoDefault { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024TemplateDtoDefault' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024TemplateDtoDefault + $AllProperties = ("key", "name", "medium", "locale", "subject", "header", "body", "footer", "from", "replyTo", "description", "slackTemplate", "teamsTemplate") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "key"))) { #optional property not found + $Key = $null + } else { + $Key = $JsonParameters.PSobject.Properties["key"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "medium"))) { #optional property not found + $Medium = $null + } else { + $Medium = $JsonParameters.PSobject.Properties["medium"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "locale"))) { #optional property not found + $Locale = $null + } else { + $Locale = $JsonParameters.PSobject.Properties["locale"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "subject"))) { #optional property not found + $Subject = $null + } else { + $Subject = $JsonParameters.PSobject.Properties["subject"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "header"))) { #optional property not found + $Header = $null + } else { + $Header = $JsonParameters.PSobject.Properties["header"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "body"))) { #optional property not found + $Body = $null + } else { + $Body = $JsonParameters.PSobject.Properties["body"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "footer"))) { #optional property not found + $Footer = $null + } else { + $Footer = $JsonParameters.PSobject.Properties["footer"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "from"))) { #optional property not found + $VarFrom = $null + } else { + $VarFrom = $JsonParameters.PSobject.Properties["from"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "replyTo"))) { #optional property not found + $ReplyTo = $null + } else { + $ReplyTo = $JsonParameters.PSobject.Properties["replyTo"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "slackTemplate"))) { #optional property not found + $SlackTemplate = $null + } else { + $SlackTemplate = $JsonParameters.PSobject.Properties["slackTemplate"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "teamsTemplate"))) { #optional property not found + $TeamsTemplate = $null + } else { + $TeamsTemplate = $JsonParameters.PSobject.Properties["teamsTemplate"].value + } + + $PSO = [PSCustomObject]@{ + "key" = ${Key} + "name" = ${Name} + "medium" = ${Medium} + "locale" = ${Locale} + "subject" = ${Subject} + "header" = ${Header} + "body" = ${Body} + "footer" = ${Footer} + "from" = ${VarFrom} + "replyTo" = ${ReplyTo} + "description" = ${Description} + "slackTemplate" = ${SlackTemplate} + "teamsTemplate" = ${TeamsTemplate} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/TemplateSlack.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TemplateSlack.ps1 new file mode 100644 index 000000000..53ddcba07 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TemplateSlack.ps1 @@ -0,0 +1,226 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Key +No description available. +.PARAMETER Text +No description available. +.PARAMETER Blocks +No description available. +.PARAMETER Attachments +No description available. +.PARAMETER NotificationType +No description available. +.PARAMETER ApprovalId +No description available. +.PARAMETER RequestId +No description available. +.PARAMETER RequestedById +No description available. +.PARAMETER IsSubscription +No description available. +.PARAMETER AutoApprovalData +No description available. +.PARAMETER CustomFields +No description available. +.OUTPUTS + +TemplateSlack +#> + +function Initialize-V2024TemplateSlack { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Key}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Text}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Blocks}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Attachments}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${NotificationType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ApprovalId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${RequestId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${RequestedById}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${IsSubscription}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${AutoApprovalData}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${CustomFields} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024TemplateSlack' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "key" = ${Key} + "text" = ${Text} + "blocks" = ${Blocks} + "attachments" = ${Attachments} + "notificationType" = ${NotificationType} + "approvalId" = ${ApprovalId} + "requestId" = ${RequestId} + "requestedById" = ${RequestedById} + "isSubscription" = ${IsSubscription} + "autoApprovalData" = ${AutoApprovalData} + "customFields" = ${CustomFields} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to TemplateSlack + +.DESCRIPTION + +Convert from JSON to TemplateSlack + +.PARAMETER Json + +Json object + +.OUTPUTS + +TemplateSlack +#> +function ConvertFrom-V2024JsonToTemplateSlack { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024TemplateSlack' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024TemplateSlack + $AllProperties = ("key", "text", "blocks", "attachments", "notificationType", "approvalId", "requestId", "requestedById", "isSubscription", "autoApprovalData", "customFields") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "key"))) { #optional property not found + $Key = $null + } else { + $Key = $JsonParameters.PSobject.Properties["key"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "text"))) { #optional property not found + $Text = $null + } else { + $Text = $JsonParameters.PSobject.Properties["text"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "blocks"))) { #optional property not found + $Blocks = $null + } else { + $Blocks = $JsonParameters.PSobject.Properties["blocks"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attachments"))) { #optional property not found + $Attachments = $null + } else { + $Attachments = $JsonParameters.PSobject.Properties["attachments"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "notificationType"))) { #optional property not found + $NotificationType = $null + } else { + $NotificationType = $JsonParameters.PSobject.Properties["notificationType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "approvalId"))) { #optional property not found + $ApprovalId = $null + } else { + $ApprovalId = $JsonParameters.PSobject.Properties["approvalId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requestId"))) { #optional property not found + $RequestId = $null + } else { + $RequestId = $JsonParameters.PSobject.Properties["requestId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requestedById"))) { #optional property not found + $RequestedById = $null + } else { + $RequestedById = $JsonParameters.PSobject.Properties["requestedById"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "isSubscription"))) { #optional property not found + $IsSubscription = $null + } else { + $IsSubscription = $JsonParameters.PSobject.Properties["isSubscription"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "autoApprovalData"))) { #optional property not found + $AutoApprovalData = $null + } else { + $AutoApprovalData = $JsonParameters.PSobject.Properties["autoApprovalData"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "customFields"))) { #optional property not found + $CustomFields = $null + } else { + $CustomFields = $JsonParameters.PSobject.Properties["customFields"].value + } + + $PSO = [PSCustomObject]@{ + "key" = ${Key} + "text" = ${Text} + "blocks" = ${Blocks} + "attachments" = ${Attachments} + "notificationType" = ${NotificationType} + "approvalId" = ${ApprovalId} + "requestId" = ${RequestId} + "requestedById" = ${RequestedById} + "isSubscription" = ${IsSubscription} + "autoApprovalData" = ${AutoApprovalData} + "customFields" = ${CustomFields} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/TemplateSlackAutoApprovalData.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TemplateSlackAutoApprovalData.ps1 new file mode 100644 index 000000000..ca3a5d5a8 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TemplateSlackAutoApprovalData.ps1 @@ -0,0 +1,148 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER IsAutoApproved +No description available. +.PARAMETER ItemId +No description available. +.PARAMETER ItemType +No description available. +.PARAMETER AutoApprovalMessageJSON +No description available. +.PARAMETER AutoApprovalTitle +No description available. +.OUTPUTS + +TemplateSlackAutoApprovalData +#> + +function Initialize-V2024TemplateSlackAutoApprovalData { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${IsAutoApproved}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ItemId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ItemType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AutoApprovalMessageJSON}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${AutoApprovalTitle} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024TemplateSlackAutoApprovalData' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "isAutoApproved" = ${IsAutoApproved} + "itemId" = ${ItemId} + "itemType" = ${ItemType} + "autoApprovalMessageJSON" = ${AutoApprovalMessageJSON} + "autoApprovalTitle" = ${AutoApprovalTitle} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to TemplateSlackAutoApprovalData + +.DESCRIPTION + +Convert from JSON to TemplateSlackAutoApprovalData + +.PARAMETER Json + +Json object + +.OUTPUTS + +TemplateSlackAutoApprovalData +#> +function ConvertFrom-V2024JsonToTemplateSlackAutoApprovalData { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024TemplateSlackAutoApprovalData' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024TemplateSlackAutoApprovalData + $AllProperties = ("isAutoApproved", "itemId", "itemType", "autoApprovalMessageJSON", "autoApprovalTitle") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "isAutoApproved"))) { #optional property not found + $IsAutoApproved = $null + } else { + $IsAutoApproved = $JsonParameters.PSobject.Properties["isAutoApproved"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "itemId"))) { #optional property not found + $ItemId = $null + } else { + $ItemId = $JsonParameters.PSobject.Properties["itemId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "itemType"))) { #optional property not found + $ItemType = $null + } else { + $ItemType = $JsonParameters.PSobject.Properties["itemType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "autoApprovalMessageJSON"))) { #optional property not found + $AutoApprovalMessageJSON = $null + } else { + $AutoApprovalMessageJSON = $JsonParameters.PSobject.Properties["autoApprovalMessageJSON"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "autoApprovalTitle"))) { #optional property not found + $AutoApprovalTitle = $null + } else { + $AutoApprovalTitle = $JsonParameters.PSobject.Properties["autoApprovalTitle"].value + } + + $PSO = [PSCustomObject]@{ + "isAutoApproved" = ${IsAutoApproved} + "itemId" = ${ItemId} + "itemType" = ${ItemType} + "autoApprovalMessageJSON" = ${AutoApprovalMessageJSON} + "autoApprovalTitle" = ${AutoApprovalTitle} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/TemplateSlackCustomFields.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TemplateSlackCustomFields.ps1 new file mode 100644 index 000000000..f67eaef00 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TemplateSlackCustomFields.ps1 @@ -0,0 +1,135 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER RequestType +No description available. +.PARAMETER ContainsDeny +No description available. +.PARAMETER CampaignId +No description available. +.PARAMETER CampaignStatus +No description available. +.OUTPUTS + +TemplateSlackCustomFields +#> + +function Initialize-V2024TemplateSlackCustomFields { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${RequestType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ContainsDeny}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${CampaignId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${CampaignStatus} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024TemplateSlackCustomFields' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "requestType" = ${RequestType} + "containsDeny" = ${ContainsDeny} + "campaignId" = ${CampaignId} + "campaignStatus" = ${CampaignStatus} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to TemplateSlackCustomFields + +.DESCRIPTION + +Convert from JSON to TemplateSlackCustomFields + +.PARAMETER Json + +Json object + +.OUTPUTS + +TemplateSlackCustomFields +#> +function ConvertFrom-V2024JsonToTemplateSlackCustomFields { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024TemplateSlackCustomFields' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024TemplateSlackCustomFields + $AllProperties = ("requestType", "containsDeny", "campaignId", "campaignStatus") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requestType"))) { #optional property not found + $RequestType = $null + } else { + $RequestType = $JsonParameters.PSobject.Properties["requestType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "containsDeny"))) { #optional property not found + $ContainsDeny = $null + } else { + $ContainsDeny = $JsonParameters.PSobject.Properties["containsDeny"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "campaignId"))) { #optional property not found + $CampaignId = $null + } else { + $CampaignId = $JsonParameters.PSobject.Properties["campaignId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "campaignStatus"))) { #optional property not found + $CampaignStatus = $null + } else { + $CampaignStatus = $JsonParameters.PSobject.Properties["campaignStatus"].value + } + + $PSO = [PSCustomObject]@{ + "requestType" = ${RequestType} + "containsDeny" = ${ContainsDeny} + "campaignId" = ${CampaignId} + "campaignStatus" = ${CampaignStatus} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/TemplateTeams.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TemplateTeams.ps1 new file mode 100644 index 000000000..3bb534aa4 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TemplateTeams.ps1 @@ -0,0 +1,226 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Key +No description available. +.PARAMETER Title +No description available. +.PARAMETER Text +No description available. +.PARAMETER MessageJSON +No description available. +.PARAMETER IsSubscription +No description available. +.PARAMETER ApprovalId +No description available. +.PARAMETER RequestId +No description available. +.PARAMETER RequestedById +No description available. +.PARAMETER NotificationType +No description available. +.PARAMETER AutoApprovalData +No description available. +.PARAMETER CustomFields +No description available. +.OUTPUTS + +TemplateTeams +#> + +function Initialize-V2024TemplateTeams { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Key}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Title}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Text}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${MessageJSON}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${IsSubscription}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ApprovalId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${RequestId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${RequestedById}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${NotificationType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${AutoApprovalData}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${CustomFields} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024TemplateTeams' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "key" = ${Key} + "title" = ${Title} + "text" = ${Text} + "messageJSON" = ${MessageJSON} + "isSubscription" = ${IsSubscription} + "approvalId" = ${ApprovalId} + "requestId" = ${RequestId} + "requestedById" = ${RequestedById} + "notificationType" = ${NotificationType} + "autoApprovalData" = ${AutoApprovalData} + "customFields" = ${CustomFields} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to TemplateTeams + +.DESCRIPTION + +Convert from JSON to TemplateTeams + +.PARAMETER Json + +Json object + +.OUTPUTS + +TemplateTeams +#> +function ConvertFrom-V2024JsonToTemplateTeams { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024TemplateTeams' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024TemplateTeams + $AllProperties = ("key", "title", "text", "messageJSON", "isSubscription", "approvalId", "requestId", "requestedById", "notificationType", "autoApprovalData", "customFields") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "key"))) { #optional property not found + $Key = $null + } else { + $Key = $JsonParameters.PSobject.Properties["key"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "title"))) { #optional property not found + $Title = $null + } else { + $Title = $JsonParameters.PSobject.Properties["title"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "text"))) { #optional property not found + $Text = $null + } else { + $Text = $JsonParameters.PSobject.Properties["text"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "messageJSON"))) { #optional property not found + $MessageJSON = $null + } else { + $MessageJSON = $JsonParameters.PSobject.Properties["messageJSON"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "isSubscription"))) { #optional property not found + $IsSubscription = $null + } else { + $IsSubscription = $JsonParameters.PSobject.Properties["isSubscription"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "approvalId"))) { #optional property not found + $ApprovalId = $null + } else { + $ApprovalId = $JsonParameters.PSobject.Properties["approvalId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requestId"))) { #optional property not found + $RequestId = $null + } else { + $RequestId = $JsonParameters.PSobject.Properties["requestId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requestedById"))) { #optional property not found + $RequestedById = $null + } else { + $RequestedById = $JsonParameters.PSobject.Properties["requestedById"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "notificationType"))) { #optional property not found + $NotificationType = $null + } else { + $NotificationType = $JsonParameters.PSobject.Properties["notificationType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "autoApprovalData"))) { #optional property not found + $AutoApprovalData = $null + } else { + $AutoApprovalData = $JsonParameters.PSobject.Properties["autoApprovalData"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "customFields"))) { #optional property not found + $CustomFields = $null + } else { + $CustomFields = $JsonParameters.PSobject.Properties["customFields"].value + } + + $PSO = [PSCustomObject]@{ + "key" = ${Key} + "title" = ${Title} + "text" = ${Text} + "messageJSON" = ${MessageJSON} + "isSubscription" = ${IsSubscription} + "approvalId" = ${ApprovalId} + "requestId" = ${RequestId} + "requestedById" = ${RequestedById} + "notificationType" = ${NotificationType} + "autoApprovalData" = ${AutoApprovalData} + "customFields" = ${CustomFields} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Tenant.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Tenant.ps1 new file mode 100644 index 000000000..4bc909704 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Tenant.ps1 @@ -0,0 +1,168 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Name +Abbreviated name of the Tenant +.PARAMETER FullName +Human-readable name of the Tenant +.PARAMETER Pod +Deployment pod for the Tenant +.PARAMETER Region +Deployment region for the Tenant +.PARAMETER Description +Description of the Tenant +.PARAMETER Products +No description available. +.OUTPUTS + +Tenant +#> + +function Initialize-V2024Tenant { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${FullName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Pod}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Region}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Products} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Tenant' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "fullName" = ${FullName} + "pod" = ${Pod} + "region" = ${Region} + "description" = ${Description} + "products" = ${Products} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Tenant + +.DESCRIPTION + +Convert from JSON to Tenant + +.PARAMETER Json + +Json object + +.OUTPUTS + +Tenant +#> +function ConvertFrom-V2024JsonToTenant { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Tenant' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Tenant + $AllProperties = ("id", "name", "fullName", "pod", "region", "description", "products") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "fullName"))) { #optional property not found + $FullName = $null + } else { + $FullName = $JsonParameters.PSobject.Properties["fullName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "pod"))) { #optional property not found + $Pod = $null + } else { + $Pod = $JsonParameters.PSobject.Properties["pod"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "region"))) { #optional property not found + $Region = $null + } else { + $Region = $JsonParameters.PSobject.Properties["region"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "products"))) { #optional property not found + $Products = $null + } else { + $Products = $JsonParameters.PSobject.Properties["products"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "fullName" = ${FullName} + "pod" = ${Pod} + "region" = ${Region} + "description" = ${Description} + "products" = ${Products} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/TenantConfigurationDetails.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TenantConfigurationDetails.ps1 new file mode 100644 index 000000000..515b093c0 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TenantConfigurationDetails.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Details of any tenant-wide Reassignment Configurations (eg. enabled/disabled) + +.PARAMETER Disabled +Flag to determine if Reassignment Configuration is enabled or disabled for a tenant. When this flag is set to true, Reassignment Configuration is disabled. +.OUTPUTS + +TenantConfigurationDetails +#> + +function Initialize-V2024TenantConfigurationDetails { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Disabled} = $false + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024TenantConfigurationDetails' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "disabled" = ${Disabled} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to TenantConfigurationDetails + +.DESCRIPTION + +Convert from JSON to TenantConfigurationDetails + +.PARAMETER Json + +Json object + +.OUTPUTS + +TenantConfigurationDetails +#> +function ConvertFrom-V2024JsonToTenantConfigurationDetails { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024TenantConfigurationDetails' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024TenantConfigurationDetails + $AllProperties = ("disabled") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "disabled"))) { #optional property not found + $Disabled = $null + } else { + $Disabled = $JsonParameters.PSobject.Properties["disabled"].value + } + + $PSO = [PSCustomObject]@{ + "disabled" = ${Disabled} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/TenantConfigurationRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TenantConfigurationRequest.ps1 new file mode 100644 index 000000000..6788afa01 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TenantConfigurationRequest.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Tenant-wide Reassignment Configuration settings + +.PARAMETER ConfigDetails +No description available. +.OUTPUTS + +TenantConfigurationRequest +#> + +function Initialize-V2024TenantConfigurationRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${ConfigDetails} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024TenantConfigurationRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "configDetails" = ${ConfigDetails} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to TenantConfigurationRequest + +.DESCRIPTION + +Convert from JSON to TenantConfigurationRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +TenantConfigurationRequest +#> +function ConvertFrom-V2024JsonToTenantConfigurationRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024TenantConfigurationRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024TenantConfigurationRequest + $AllProperties = ("configDetails") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "configDetails"))) { #optional property not found + $ConfigDetails = $null + } else { + $ConfigDetails = $JsonParameters.PSobject.Properties["configDetails"].value + } + + $PSO = [PSCustomObject]@{ + "configDetails" = ${ConfigDetails} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/TenantConfigurationResponse.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TenantConfigurationResponse.ps1 new file mode 100644 index 000000000..8e9a4956a --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TenantConfigurationResponse.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Tenant-wide Reassignment Configuration settings + +.PARAMETER AuditDetails +No description available. +.PARAMETER ConfigDetails +No description available. +.OUTPUTS + +TenantConfigurationResponse +#> + +function Initialize-V2024TenantConfigurationResponse { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${AuditDetails}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${ConfigDetails} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024TenantConfigurationResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "auditDetails" = ${AuditDetails} + "configDetails" = ${ConfigDetails} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to TenantConfigurationResponse + +.DESCRIPTION + +Convert from JSON to TenantConfigurationResponse + +.PARAMETER Json + +Json object + +.OUTPUTS + +TenantConfigurationResponse +#> +function ConvertFrom-V2024JsonToTenantConfigurationResponse { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024TenantConfigurationResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024TenantConfigurationResponse + $AllProperties = ("auditDetails", "configDetails") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "auditDetails"))) { #optional property not found + $AuditDetails = $null + } else { + $AuditDetails = $JsonParameters.PSobject.Properties["auditDetails"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "configDetails"))) { #optional property not found + $ConfigDetails = $null + } else { + $ConfigDetails = $JsonParameters.PSobject.Properties["configDetails"].value + } + + $PSO = [PSCustomObject]@{ + "auditDetails" = ${AuditDetails} + "configDetails" = ${ConfigDetails} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/TenantUiMetadataItemResponse.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TenantUiMetadataItemResponse.ps1 new file mode 100644 index 000000000..3e07437a8 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TenantUiMetadataItemResponse.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER IframeWhiteList +Parameter that organizational administrators can adjust to permit another domain to encapsulate IDN within an iframe. If you would like to reset the value use ""null"". It will only allow include into iframe non authenticated portions of the product, such as password reset. +.PARAMETER UsernameLabel +Descriptor for the username input field. If you would like to reset the value use ""null"". +.PARAMETER UsernameEmptyText +Placeholder text displayed in the username input field. If you would like to reset the value use ""null"". +.OUTPUTS + +TenantUiMetadataItemResponse +#> + +function Initialize-V2024TenantUiMetadataItemResponse { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${IframeWhiteList}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${UsernameLabel}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${UsernameEmptyText} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024TenantUiMetadataItemResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "iframeWhiteList" = ${IframeWhiteList} + "usernameLabel" = ${UsernameLabel} + "usernameEmptyText" = ${UsernameEmptyText} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to TenantUiMetadataItemResponse + +.DESCRIPTION + +Convert from JSON to TenantUiMetadataItemResponse + +.PARAMETER Json + +Json object + +.OUTPUTS + +TenantUiMetadataItemResponse +#> +function ConvertFrom-V2024JsonToTenantUiMetadataItemResponse { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024TenantUiMetadataItemResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024TenantUiMetadataItemResponse + $AllProperties = ("iframeWhiteList", "usernameLabel", "usernameEmptyText") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "iframeWhiteList"))) { #optional property not found + $IframeWhiteList = $null + } else { + $IframeWhiteList = $JsonParameters.PSobject.Properties["iframeWhiteList"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "usernameLabel"))) { #optional property not found + $UsernameLabel = $null + } else { + $UsernameLabel = $JsonParameters.PSobject.Properties["usernameLabel"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "usernameEmptyText"))) { #optional property not found + $UsernameEmptyText = $null + } else { + $UsernameEmptyText = $JsonParameters.PSobject.Properties["usernameEmptyText"].value + } + + $PSO = [PSCustomObject]@{ + "iframeWhiteList" = ${IframeWhiteList} + "usernameLabel" = ${UsernameLabel} + "usernameEmptyText" = ${UsernameEmptyText} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/TenantUiMetadataItemUpdateRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TenantUiMetadataItemUpdateRequest.ps1 new file mode 100644 index 000000000..a539a36ab --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TenantUiMetadataItemUpdateRequest.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER IframeWhiteList +Parameter that organizational administrators can adjust to permit another domain to encapsulate IDN within an iframe. If you would like to reset the value use ""null"". It will only allow include into iframe non authenticated portions of the product, such as password reset. +.PARAMETER UsernameLabel +Descriptor for the username input field. If you would like to reset the value use ""null"". +.PARAMETER UsernameEmptyText +Placeholder text displayed in the username input field. If you would like to reset the value use ""null"". +.OUTPUTS + +TenantUiMetadataItemUpdateRequest +#> + +function Initialize-V2024TenantUiMetadataItemUpdateRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${IframeWhiteList}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${UsernameLabel}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${UsernameEmptyText} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024TenantUiMetadataItemUpdateRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "iframeWhiteList" = ${IframeWhiteList} + "usernameLabel" = ${UsernameLabel} + "usernameEmptyText" = ${UsernameEmptyText} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to TenantUiMetadataItemUpdateRequest + +.DESCRIPTION + +Convert from JSON to TenantUiMetadataItemUpdateRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +TenantUiMetadataItemUpdateRequest +#> +function ConvertFrom-V2024JsonToTenantUiMetadataItemUpdateRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024TenantUiMetadataItemUpdateRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024TenantUiMetadataItemUpdateRequest + $AllProperties = ("iframeWhiteList", "usernameLabel", "usernameEmptyText") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "iframeWhiteList"))) { #optional property not found + $IframeWhiteList = $null + } else { + $IframeWhiteList = $JsonParameters.PSobject.Properties["iframeWhiteList"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "usernameLabel"))) { #optional property not found + $UsernameLabel = $null + } else { + $UsernameLabel = $JsonParameters.PSobject.Properties["usernameLabel"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "usernameEmptyText"))) { #optional property not found + $UsernameEmptyText = $null + } else { + $UsernameEmptyText = $JsonParameters.PSobject.Properties["usernameEmptyText"].value + } + + $PSO = [PSCustomObject]@{ + "iframeWhiteList" = ${IframeWhiteList} + "usernameLabel" = ${UsernameLabel} + "usernameEmptyText" = ${UsernameEmptyText} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/TestExternalExecuteWorkflow200Response.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TestExternalExecuteWorkflow200Response.ps1 new file mode 100644 index 000000000..3d7f4c666 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TestExternalExecuteWorkflow200Response.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Payload +The input that was received +.OUTPUTS + +TestExternalExecuteWorkflow200Response +#> + +function Initialize-V2024TestExternalExecuteWorkflow200Response { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Payload} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024TestExternalExecuteWorkflow200Response' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "payload" = ${Payload} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to TestExternalExecuteWorkflow200Response + +.DESCRIPTION + +Convert from JSON to TestExternalExecuteWorkflow200Response + +.PARAMETER Json + +Json object + +.OUTPUTS + +TestExternalExecuteWorkflow200Response +#> +function ConvertFrom-V2024JsonToTestExternalExecuteWorkflow200Response { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024TestExternalExecuteWorkflow200Response' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024TestExternalExecuteWorkflow200Response + $AllProperties = ("payload") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "payload"))) { #optional property not found + $Payload = $null + } else { + $Payload = $JsonParameters.PSobject.Properties["payload"].value + } + + $PSO = [PSCustomObject]@{ + "payload" = ${Payload} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/TestExternalExecuteWorkflowRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TestExternalExecuteWorkflowRequest.ps1 new file mode 100644 index 000000000..812d0b061 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TestExternalExecuteWorkflowRequest.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER VarInput +The test input for the workflow +.OUTPUTS + +TestExternalExecuteWorkflowRequest +#> + +function Initialize-V2024TestExternalExecuteWorkflowRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${VarInput} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024TestExternalExecuteWorkflowRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "input" = ${VarInput} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to TestExternalExecuteWorkflowRequest + +.DESCRIPTION + +Convert from JSON to TestExternalExecuteWorkflowRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +TestExternalExecuteWorkflowRequest +#> +function ConvertFrom-V2024JsonToTestExternalExecuteWorkflowRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024TestExternalExecuteWorkflowRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024TestExternalExecuteWorkflowRequest + $AllProperties = ("input") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "input"))) { #optional property not found + $VarInput = $null + } else { + $VarInput = $JsonParameters.PSobject.Properties["input"].value + } + + $PSO = [PSCustomObject]@{ + "input" = ${VarInput} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/TestInvocation.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TestInvocation.ps1 new file mode 100644 index 000000000..24697815d --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TestInvocation.ps1 @@ -0,0 +1,147 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER TriggerId +Trigger ID +.PARAMETER VarInput +Mock input to use for test invocation. This must adhere to the input schema defined in the trigger being invoked. If this property is omitted, then the default trigger sample payload will be sent. +.PARAMETER ContentJson +JSON map of invocation metadata. +.PARAMETER SubscriptionIds +Only send the test event to the subscription IDs listed. If omitted, the test event will be sent to all subscribers. +.OUTPUTS + +TestInvocation +#> + +function Initialize-V2024TestInvocation { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${TriggerId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${VarInput}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${ContentJson}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${SubscriptionIds} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024TestInvocation' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$TriggerId) { + throw "invalid value for 'TriggerId', 'TriggerId' cannot be null." + } + + if (!$ContentJson) { + throw "invalid value for 'ContentJson', 'ContentJson' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "triggerId" = ${TriggerId} + "input" = ${VarInput} + "contentJson" = ${ContentJson} + "subscriptionIds" = ${SubscriptionIds} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to TestInvocation + +.DESCRIPTION + +Convert from JSON to TestInvocation + +.PARAMETER Json + +Json object + +.OUTPUTS + +TestInvocation +#> +function ConvertFrom-V2024JsonToTestInvocation { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024TestInvocation' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024TestInvocation + $AllProperties = ("triggerId", "input", "contentJson", "subscriptionIds") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'triggerId' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "triggerId"))) { + throw "Error! JSON cannot be serialized due to the required property 'triggerId' missing." + } else { + $TriggerId = $JsonParameters.PSobject.Properties["triggerId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "contentJson"))) { + throw "Error! JSON cannot be serialized due to the required property 'contentJson' missing." + } else { + $ContentJson = $JsonParameters.PSobject.Properties["contentJson"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "input"))) { #optional property not found + $VarInput = $null + } else { + $VarInput = $JsonParameters.PSobject.Properties["input"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "subscriptionIds"))) { #optional property not found + $SubscriptionIds = $null + } else { + $SubscriptionIds = $JsonParameters.PSobject.Properties["subscriptionIds"].value + } + + $PSO = [PSCustomObject]@{ + "triggerId" = ${TriggerId} + "input" = ${VarInput} + "contentJson" = ${ContentJson} + "subscriptionIds" = ${SubscriptionIds} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/TestWorkflow200Response.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TestWorkflow200Response.ps1 new file mode 100644 index 000000000..a1940b757 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TestWorkflow200Response.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER WorkflowExecutionId +The workflow execution id +.OUTPUTS + +TestWorkflow200Response +#> + +function Initialize-V2024TestWorkflow200Response { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${WorkflowExecutionId} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024TestWorkflow200Response' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "workflowExecutionId" = ${WorkflowExecutionId} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to TestWorkflow200Response + +.DESCRIPTION + +Convert from JSON to TestWorkflow200Response + +.PARAMETER Json + +Json object + +.OUTPUTS + +TestWorkflow200Response +#> +function ConvertFrom-V2024JsonToTestWorkflow200Response { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024TestWorkflow200Response' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024TestWorkflow200Response + $AllProperties = ("workflowExecutionId") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "workflowExecutionId"))) { #optional property not found + $WorkflowExecutionId = $null + } else { + $WorkflowExecutionId = $JsonParameters.PSobject.Properties["workflowExecutionId"].value + } + + $PSO = [PSCustomObject]@{ + "workflowExecutionId" = ${WorkflowExecutionId} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/TestWorkflowRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TestWorkflowRequest.ps1 new file mode 100644 index 000000000..64bb274d6 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TestWorkflowRequest.ps1 @@ -0,0 +1,104 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER VarInput +The test input for the workflow. +.OUTPUTS + +TestWorkflowRequest +#> + +function Initialize-V2024TestWorkflowRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${VarInput} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024TestWorkflowRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$VarInput) { + throw "invalid value for 'VarInput', 'VarInput' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "input" = ${VarInput} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to TestWorkflowRequest + +.DESCRIPTION + +Convert from JSON to TestWorkflowRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +TestWorkflowRequest +#> +function ConvertFrom-V2024JsonToTestWorkflowRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024TestWorkflowRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024TestWorkflowRequest + $AllProperties = ("input") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'input' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "input"))) { + throw "Error! JSON cannot be serialized due to the required property 'input' missing." + } else { + $VarInput = $JsonParameters.PSobject.Properties["input"].value + } + + $PSO = [PSCustomObject]@{ + "input" = ${VarInput} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/TextQuery.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TextQuery.ps1 new file mode 100644 index 000000000..26e9c1133 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TextQuery.ps1 @@ -0,0 +1,147 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Query parameters used to construct an Elasticsearch text query object. + +.PARAMETER Terms +Words or characters that specify a particular thing to be searched for. +.PARAMETER Fields +The fields to be searched. +.PARAMETER MatchAny +Indicates that at least one of the terms must be found in the specified fields; otherwise, all terms must be found. +.PARAMETER Contains +Indicates that the terms can be located anywhere in the specified fields; otherwise, the fields must begin with the terms. +.OUTPUTS + +TextQuery +#> + +function Initialize-V2024TextQuery { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Terms}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Fields}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${MatchAny} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Contains} = $false + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024TextQuery' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Terms) { + throw "invalid value for 'Terms', 'Terms' cannot be null." + } + + if (!$Fields) { + throw "invalid value for 'Fields', 'Fields' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "terms" = ${Terms} + "fields" = ${Fields} + "matchAny" = ${MatchAny} + "contains" = ${Contains} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to TextQuery + +.DESCRIPTION + +Convert from JSON to TextQuery + +.PARAMETER Json + +Json object + +.OUTPUTS + +TextQuery +#> +function ConvertFrom-V2024JsonToTextQuery { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024TextQuery' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024TextQuery + $AllProperties = ("terms", "fields", "matchAny", "contains") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'terms' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "terms"))) { + throw "Error! JSON cannot be serialized due to the required property 'terms' missing." + } else { + $Terms = $JsonParameters.PSobject.Properties["terms"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "fields"))) { + throw "Error! JSON cannot be serialized due to the required property 'fields' missing." + } else { + $Fields = $JsonParameters.PSobject.Properties["fields"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "matchAny"))) { #optional property not found + $MatchAny = $null + } else { + $MatchAny = $JsonParameters.PSobject.Properties["matchAny"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "contains"))) { #optional property not found + $Contains = $null + } else { + $Contains = $JsonParameters.PSobject.Properties["contains"].value + } + + $PSO = [PSCustomObject]@{ + "terms" = ${Terms} + "fields" = ${Fields} + "matchAny" = ${MatchAny} + "contains" = ${Contains} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Transform.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Transform.ps1 new file mode 100644 index 000000000..3539492cc --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Transform.ps1 @@ -0,0 +1,143 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +The representation of an internally- or customer-defined transform. + +.PARAMETER Name +Unique name of this transform +.PARAMETER Type +The type of transform operation +.PARAMETER Attributes +No description available. +.OUTPUTS + +Transform +#> + +function Initialize-V2024Transform { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("accountAttribute", "base64Decode", "base64Encode", "concat", "conditional", "dateCompare", "dateFormat", "dateMath", "decomposeDiacriticalMarks", "e164phone", "firstValid", "rule", "identityAttribute", "indexOf", "iso3166", "lastIndexOf", "leftPad", "lookup", "lower", "normalizeNames", "randomAlphaNumeric", "randomNumeric", "reference", "replaceAll", "replace", "rightPad", "split", "static", "substring", "trim", "upper", "usernameGenerator", "uuid", "displayName", "rfc5646")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Attributes} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Transform' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if ($Name.length -gt 50) { + throw "invalid value for 'Name', the character length must be smaller than or equal to 50." + } + + if ($Name.length -lt 1) { + throw "invalid value for 'Name', the character length must be great than or equal to 1." + } + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "type" = ${Type} + "attributes" = ${Attributes} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Transform + +.DESCRIPTION + +Convert from JSON to Transform + +.PARAMETER Json + +Json object + +.OUTPUTS + +Transform +#> +function ConvertFrom-V2024JsonToTransform { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Transform' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Transform + $AllProperties = ("name", "type", "attributes") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'name' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributes"))) { + throw "Error! JSON cannot be serialized due to the required property 'attributes' missing." + } else { + $Attributes = $JsonParameters.PSobject.Properties["attributes"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "type" = ${Type} + "attributes" = ${Attributes} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/TransformAttributes.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TransformAttributes.ps1 new file mode 100644 index 000000000..9e3dab59e --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TransformAttributes.ps1 @@ -0,0 +1,555 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Meta-data about the transform. Values in this list are specific to the type of transform to be executed. + +.PARAMETER Json + +JSON object + +.OUTPUTS + +TransformAttributes +#> +function ConvertFrom-V2024JsonToTransformAttributes { + [CmdletBinding()] + Param ( + [AllowEmptyString()] + [string]$Json + ) + + Process { + $match = 0 + $matchType = $null + $matchInstance = $null + + # nullable check + if ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { + return [PSCustomObject]@{ + "ActualType" = $null + "ActualInstance" = $null + "OneOfSchemas" = @("AccountAttribute", "Base64Decode", "Base64Encode", "Concatenation", "Conditional", "DateCompare", "DateFormat", "DateMath", "DecomposeDiacriticalMarks", "E164phone", "FirstValid", "ISO3166", "IdentityAttribute1", "IndexOf", "LeftPad", "Lookup", "Lower", "NameNormalizer", "RandomAlphaNumeric", "RandomNumeric", "Reference", "Replace", "ReplaceAll", "RightPad", "Rule", "Split", "Static", "Substring", "Trim", "UUIDGenerator", "Upper") + } + } + + # try to match AccountAttribute defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToAccountAttribute $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "AccountAttribute" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'AccountAttribute' defined in oneOf (V2024TransformAttributes). Proceeding to the next one if any." + } + + # try to match Base64Decode defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToBase64Decode $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "Base64Decode" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'Base64Decode' defined in oneOf (V2024TransformAttributes). Proceeding to the next one if any." + } + + # try to match Base64Encode defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToBase64Encode $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "Base64Encode" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'Base64Encode' defined in oneOf (V2024TransformAttributes). Proceeding to the next one if any." + } + + # try to match Concatenation defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToConcatenation $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "Concatenation" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'Concatenation' defined in oneOf (V2024TransformAttributes). Proceeding to the next one if any." + } + + # try to match Conditional defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToConditional $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "Conditional" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'Conditional' defined in oneOf (V2024TransformAttributes). Proceeding to the next one if any." + } + + # try to match DateCompare defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToDateCompare $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "DateCompare" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'DateCompare' defined in oneOf (V2024TransformAttributes). Proceeding to the next one if any." + } + + # try to match DateFormat defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToDateFormat $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "DateFormat" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'DateFormat' defined in oneOf (V2024TransformAttributes). Proceeding to the next one if any." + } + + # try to match DateMath defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToDateMath $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "DateMath" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'DateMath' defined in oneOf (V2024TransformAttributes). Proceeding to the next one if any." + } + + # try to match DecomposeDiacriticalMarks defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToDecomposeDiacriticalMarks $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "DecomposeDiacriticalMarks" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'DecomposeDiacriticalMarks' defined in oneOf (V2024TransformAttributes). Proceeding to the next one if any." + } + + # try to match E164phone defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToE164phone $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "E164phone" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'E164phone' defined in oneOf (V2024TransformAttributes). Proceeding to the next one if any." + } + + # try to match FirstValid defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToFirstValid $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "FirstValid" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'FirstValid' defined in oneOf (V2024TransformAttributes). Proceeding to the next one if any." + } + + # try to match ISO3166 defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToISO3166 $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "ISO3166" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'ISO3166' defined in oneOf (V2024TransformAttributes). Proceeding to the next one if any." + } + + # try to match IdentityAttribute1 defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToIdentityAttribute1 $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "IdentityAttribute1" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'IdentityAttribute1' defined in oneOf (V2024TransformAttributes). Proceeding to the next one if any." + } + + # try to match IndexOf defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToIndexOf $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "IndexOf" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'IndexOf' defined in oneOf (V2024TransformAttributes). Proceeding to the next one if any." + } + + # try to match LeftPad defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToLeftPad $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "LeftPad" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'LeftPad' defined in oneOf (V2024TransformAttributes). Proceeding to the next one if any." + } + + # try to match Lookup defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToLookup $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "Lookup" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'Lookup' defined in oneOf (V2024TransformAttributes). Proceeding to the next one if any." + } + + # try to match Lower defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToLower $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "Lower" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'Lower' defined in oneOf (V2024TransformAttributes). Proceeding to the next one if any." + } + + # try to match NameNormalizer defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToNameNormalizer $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "NameNormalizer" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'NameNormalizer' defined in oneOf (V2024TransformAttributes). Proceeding to the next one if any." + } + + # try to match RandomAlphaNumeric defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToRandomAlphaNumeric $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "RandomAlphaNumeric" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'RandomAlphaNumeric' defined in oneOf (V2024TransformAttributes). Proceeding to the next one if any." + } + + # try to match RandomNumeric defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToRandomNumeric $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "RandomNumeric" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'RandomNumeric' defined in oneOf (V2024TransformAttributes). Proceeding to the next one if any." + } + + # try to match Reference defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToReference $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "Reference" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'Reference' defined in oneOf (V2024TransformAttributes). Proceeding to the next one if any." + } + + # try to match Replace defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToReplace $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "Replace" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'Replace' defined in oneOf (V2024TransformAttributes). Proceeding to the next one if any." + } + + # try to match ReplaceAll defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToReplaceAll $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "ReplaceAll" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'ReplaceAll' defined in oneOf (V2024TransformAttributes). Proceeding to the next one if any." + } + + # try to match RightPad defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToRightPad $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "RightPad" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'RightPad' defined in oneOf (V2024TransformAttributes). Proceeding to the next one if any." + } + + # try to match Rule defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToRule $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "Rule" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'Rule' defined in oneOf (V2024TransformAttributes). Proceeding to the next one if any." + } + + # try to match Split defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToSplit $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "Split" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'Split' defined in oneOf (V2024TransformAttributes). Proceeding to the next one if any." + } + + # try to match Static defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToStatic $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "Static" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'Static' defined in oneOf (V2024TransformAttributes). Proceeding to the next one if any." + } + + # try to match Substring defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToSubstring $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "Substring" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'Substring' defined in oneOf (V2024TransformAttributes). Proceeding to the next one if any." + } + + # try to match Trim defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToTrim $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "Trim" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'Trim' defined in oneOf (V2024TransformAttributes). Proceeding to the next one if any." + } + + # try to match UUIDGenerator defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToUUIDGenerator $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "UUIDGenerator" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'UUIDGenerator' defined in oneOf (V2024TransformAttributes). Proceeding to the next one if any." + } + + # try to match Upper defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToUpper $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "Upper" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'Upper' defined in oneOf (V2024TransformAttributes). Proceeding to the next one if any." + } + + if ($match -gt 1) { + throw "Error! The JSON payload matches more than one type defined in oneOf schemas ([AccountAttribute, Base64Decode, Base64Encode, Concatenation, Conditional, DateCompare, DateFormat, DateMath, DecomposeDiacriticalMarks, E164phone, FirstValid, ISO3166, IdentityAttribute1, IndexOf, LeftPad, Lookup, Lower, NameNormalizer, RandomAlphaNumeric, RandomNumeric, Reference, Replace, ReplaceAll, RightPad, Rule, Split, Static, Substring, Trim, UUIDGenerator, Upper]). JSON Payload: $($Json)" + } elseif ($match -eq 1) { + return [PSCustomObject]@{ + "ActualType" = ${matchType} + "ActualInstance" = ${matchInstance} + "OneOfSchemas" = @("AccountAttribute", "Base64Decode", "Base64Encode", "Concatenation", "Conditional", "DateCompare", "DateFormat", "DateMath", "DecomposeDiacriticalMarks", "E164phone", "FirstValid", "ISO3166", "IdentityAttribute1", "IndexOf", "LeftPad", "Lookup", "Lower", "NameNormalizer", "RandomAlphaNumeric", "RandomNumeric", "Reference", "Replace", "ReplaceAll", "RightPad", "Rule", "Split", "Static", "Substring", "Trim", "UUIDGenerator", "Upper") + } + } else { + throw "Error! The JSON payload doesn't matches any type defined in oneOf schemas ([AccountAttribute, Base64Decode, Base64Encode, Concatenation, Conditional, DateCompare, DateFormat, DateMath, DecomposeDiacriticalMarks, E164phone, FirstValid, ISO3166, IdentityAttribute1, IndexOf, LeftPad, Lookup, Lower, NameNormalizer, RandomAlphaNumeric, RandomNumeric, Reference, Replace, ReplaceAll, RightPad, Rule, Split, Static, Substring, Trim, UUIDGenerator, Upper]). JSON Payload: $($Json)" + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/TransformDefinition.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TransformDefinition.ps1 new file mode 100644 index 000000000..763634db2 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TransformDefinition.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Type +The type of the transform definition. +.PARAMETER Attributes +Arbitrary key-value pairs to store any metadata for the object +.OUTPUTS + +TransformDefinition +#> + +function Initialize-V2024TransformDefinition { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${Attributes} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024TransformDefinition' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "attributes" = ${Attributes} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to TransformDefinition + +.DESCRIPTION + +Convert from JSON to TransformDefinition + +.PARAMETER Json + +Json object + +.OUTPUTS + +TransformDefinition +#> +function ConvertFrom-V2024JsonToTransformDefinition { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024TransformDefinition' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024TransformDefinition + $AllProperties = ("type", "attributes") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributes"))) { #optional property not found + $Attributes = $null + } else { + $Attributes = $JsonParameters.PSobject.Properties["attributes"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "attributes" = ${Attributes} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/TransformDefinitionAttributesValue.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TransformDefinitionAttributesValue.ps1 new file mode 100644 index 000000000..809973b6c --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TransformDefinitionAttributesValue.ps1 @@ -0,0 +1,84 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Json + +JSON object + +.OUTPUTS + +TransformDefinitionAttributesValue +#> +function ConvertFrom-V2024JsonToTransformDefinitionAttributesValue { + [CmdletBinding()] + Param ( + [AllowEmptyString()] + [string]$Json + ) + + Process { + $match = 0 + $matchType = $null + $matchInstance = $null + + if ($match -ne 0) { # no match yet + # try to match String defined in the anyOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToString $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "String" + $match++ + break + } + } + } catch { + # fail to match the schema defined in anyOf, proceed to the next one + Write-Debug "Failed to match 'String' defined in anyOf (V2024TransformDefinitionAttributesValue). Proceeding to the next one if any." + } + } + + if ($match -ne 0) { # no match yet + # try to match SystemCollectionsHashtable defined in the anyOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToSystemCollectionsHashtable $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "SystemCollectionsHashtable" + $match++ + break + } + } + } catch { + # fail to match the schema defined in anyOf, proceed to the next one + Write-Debug "Failed to match 'SystemCollectionsHashtable' defined in anyOf (V2024TransformDefinitionAttributesValue). Proceeding to the next one if any." + } + } + + if ($match -eq 1) { + return [PSCustomObject]@{ + "ActualType" = ${matchType} + "ActualInstance" = ${matchInstance} + "anyOfSchemas" = @("String", "SystemCollectionsHashtable") + } + } else { + throw "Error! The JSON payload doesn't matches any type defined in anyOf schemas ([String, SystemCollectionsHashtable]). JSON Payload: $($Json)" + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/TransformRead.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TransformRead.ps1 new file mode 100644 index 000000000..a053736ee --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TransformRead.ps1 @@ -0,0 +1,177 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Name +Unique name of this transform +.PARAMETER Type +The type of transform operation +.PARAMETER Attributes +No description available. +.PARAMETER Id +Unique ID of this transform +.PARAMETER Internal +Indicates whether this is an internal SailPoint-created transform or a customer-created transform +.OUTPUTS + +TransformRead +#> + +function Initialize-V2024TransformRead { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("accountAttribute", "base64Decode", "base64Encode", "concat", "conditional", "dateCompare", "dateFormat", "dateMath", "decomposeDiacriticalMarks", "e164phone", "firstValid", "rule", "identityAttribute", "indexOf", "iso3166", "lastIndexOf", "leftPad", "lookup", "lower", "normalizeNames", "randomAlphaNumeric", "randomNumeric", "reference", "replaceAll", "replace", "rightPad", "split", "static", "substring", "trim", "upper", "usernameGenerator", "uuid", "displayName", "rfc5646")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Attributes}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [Boolean] + ${Internal} = $false + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024TransformRead' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if ($Name.length -gt 50) { + throw "invalid value for 'Name', the character length must be smaller than or equal to 50." + } + + if ($Name.length -lt 1) { + throw "invalid value for 'Name', the character length must be great than or equal to 1." + } + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Internal) { + throw "invalid value for 'Internal', 'Internal' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "type" = ${Type} + "attributes" = ${Attributes} + "id" = ${Id} + "internal" = ${Internal} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to TransformRead + +.DESCRIPTION + +Convert from JSON to TransformRead + +.PARAMETER Json + +Json object + +.OUTPUTS + +TransformRead +#> +function ConvertFrom-V2024JsonToTransformRead { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024TransformRead' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024TransformRead + $AllProperties = ("name", "type", "attributes", "id", "internal") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'name' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributes"))) { + throw "Error! JSON cannot be serialized due to the required property 'attributes' missing." + } else { + $Attributes = $JsonParameters.PSobject.Properties["attributes"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "internal"))) { + throw "Error! JSON cannot be serialized due to the required property 'internal' missing." + } else { + $Internal = $JsonParameters.PSobject.Properties["internal"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "type" = ${Type} + "attributes" = ${Attributes} + "id" = ${Id} + "internal" = ${Internal} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/TransformRule.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TransformRule.ps1 new file mode 100644 index 000000000..8b801c345 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TransformRule.ps1 @@ -0,0 +1,117 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Name +This is the name of the Transform rule that needs to be invoked by the transform +.PARAMETER RequiresPeriodicRefresh +A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process +.OUTPUTS + +TransformRule +#> + +function Initialize-V2024TransformRule { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${RequiresPeriodicRefresh} = $false + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024TransformRule' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to TransformRule + +.DESCRIPTION + +Convert from JSON to TransformRule + +.PARAMETER Json + +Json object + +.OUTPUTS + +TransformRule +#> +function ConvertFrom-V2024JsonToTransformRule { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024TransformRule' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024TransformRule + $AllProperties = ("name", "requiresPeriodicRefresh") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'name' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requiresPeriodicRefresh"))) { #optional property not found + $RequiresPeriodicRefresh = $null + } else { + $RequiresPeriodicRefresh = $JsonParameters.PSobject.Properties["requiresPeriodicRefresh"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/TranslationMessage.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TranslationMessage.ps1 new file mode 100644 index 000000000..6ef01782f --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TranslationMessage.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Key +The key of the translation message +.PARAMETER Values +The values corresponding to the translation messages +.OUTPUTS + +TranslationMessage +#> + +function Initialize-V2024TranslationMessage { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Key}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Values} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024TranslationMessage' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "key" = ${Key} + "values" = ${Values} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to TranslationMessage + +.DESCRIPTION + +Convert from JSON to TranslationMessage + +.PARAMETER Json + +Json object + +.OUTPUTS + +TranslationMessage +#> +function ConvertFrom-V2024JsonToTranslationMessage { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024TranslationMessage' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024TranslationMessage + $AllProperties = ("key", "values") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "key"))) { #optional property not found + $Key = $null + } else { + $Key = $JsonParameters.PSobject.Properties["key"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "values"))) { #optional property not found + $Values = $null + } else { + $Values = $JsonParameters.PSobject.Properties["values"].value + } + + $PSO = [PSCustomObject]@{ + "key" = ${Key} + "values" = ${Values} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Trigger.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Trigger.ps1 new file mode 100644 index 000000000..f7e287b1d --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Trigger.ps1 @@ -0,0 +1,212 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +Unique identifier of the trigger. +.PARAMETER Name +Trigger Name. +.PARAMETER Type +No description available. +.PARAMETER Description +Trigger Description. +.PARAMETER InputSchema +The JSON schema of the payload that will be sent by the trigger to the subscribed service. +.PARAMETER ExampleInput +No description available. +.PARAMETER OutputSchema +The JSON schema of the response that will be sent by the subscribed service to the trigger in response to an event. This only applies to a trigger type of `REQUEST_RESPONSE`. +.PARAMETER ExampleOutput +No description available. +.OUTPUTS + +Trigger +#> + +function Initialize-V2024Trigger { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("REQUEST_RESPONSE", "FIRE_AND_FORGET")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${InputSchema}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${ExampleInput}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${OutputSchema}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${ExampleOutput} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Trigger' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$InputSchema) { + throw "invalid value for 'InputSchema', 'InputSchema' cannot be null." + } + + if (!$ExampleInput) { + throw "invalid value for 'ExampleInput', 'ExampleInput' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "type" = ${Type} + "description" = ${Description} + "inputSchema" = ${InputSchema} + "exampleInput" = ${ExampleInput} + "outputSchema" = ${OutputSchema} + "exampleOutput" = ${ExampleOutput} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Trigger + +.DESCRIPTION + +Convert from JSON to Trigger + +.PARAMETER Json + +Json object + +.OUTPUTS + +Trigger +#> +function ConvertFrom-V2024JsonToTrigger { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Trigger' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Trigger + $AllProperties = ("id", "name", "type", "description", "inputSchema", "exampleInput", "outputSchema", "exampleOutput") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'id' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "inputSchema"))) { + throw "Error! JSON cannot be serialized due to the required property 'inputSchema' missing." + } else { + $InputSchema = $JsonParameters.PSobject.Properties["inputSchema"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "exampleInput"))) { + throw "Error! JSON cannot be serialized due to the required property 'exampleInput' missing." + } else { + $ExampleInput = $JsonParameters.PSobject.Properties["exampleInput"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "outputSchema"))) { #optional property not found + $OutputSchema = $null + } else { + $OutputSchema = $JsonParameters.PSobject.Properties["outputSchema"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "exampleOutput"))) { #optional property not found + $ExampleOutput = $null + } else { + $ExampleOutput = $JsonParameters.PSobject.Properties["exampleOutput"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "type" = ${Type} + "description" = ${Description} + "inputSchema" = ${InputSchema} + "exampleInput" = ${ExampleInput} + "outputSchema" = ${OutputSchema} + "exampleOutput" = ${ExampleOutput} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/TriggerExampleInput.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TriggerExampleInput.ps1 new file mode 100644 index 000000000..8cb7f4588 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TriggerExampleInput.ps1 @@ -0,0 +1,434 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +An example of the JSON payload that will be sent by the trigger to the subscribed service. + +.PARAMETER Json + +JSON object + +.OUTPUTS + +TriggerExampleInput +#> +function ConvertFrom-V2024JsonToTriggerExampleInput { + [CmdletBinding()] + Param ( + [AllowEmptyString()] + [string]$Json + ) + + Process { + $match = 0 + $matchType = $null + $matchInstance = $null + + # try to match AccessRequestDynamicApprover defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToAccessRequestDynamicApprover $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "AccessRequestDynamicApprover" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'AccessRequestDynamicApprover' defined in oneOf (V2024TriggerExampleInput). Proceeding to the next one if any." + } + + # try to match AccessRequestPostApproval defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToAccessRequestPostApproval $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "AccessRequestPostApproval" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'AccessRequestPostApproval' defined in oneOf (V2024TriggerExampleInput). Proceeding to the next one if any." + } + + # try to match AccessRequestPreApproval defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToAccessRequestPreApproval $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "AccessRequestPreApproval" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'AccessRequestPreApproval' defined in oneOf (V2024TriggerExampleInput). Proceeding to the next one if any." + } + + # try to match AccountAggregationCompleted defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToAccountAggregationCompleted $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "AccountAggregationCompleted" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'AccountAggregationCompleted' defined in oneOf (V2024TriggerExampleInput). Proceeding to the next one if any." + } + + # try to match AccountAttributesChanged defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToAccountAttributesChanged $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "AccountAttributesChanged" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'AccountAttributesChanged' defined in oneOf (V2024TriggerExampleInput). Proceeding to the next one if any." + } + + # try to match AccountCorrelated defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToAccountCorrelated $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "AccountCorrelated" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'AccountCorrelated' defined in oneOf (V2024TriggerExampleInput). Proceeding to the next one if any." + } + + # try to match AccountUncorrelated defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToAccountUncorrelated $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "AccountUncorrelated" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'AccountUncorrelated' defined in oneOf (V2024TriggerExampleInput). Proceeding to the next one if any." + } + + # try to match AccountsCollectedForAggregation defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToAccountsCollectedForAggregation $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "AccountsCollectedForAggregation" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'AccountsCollectedForAggregation' defined in oneOf (V2024TriggerExampleInput). Proceeding to the next one if any." + } + + # try to match CampaignActivated defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToCampaignActivated $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "CampaignActivated" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'CampaignActivated' defined in oneOf (V2024TriggerExampleInput). Proceeding to the next one if any." + } + + # try to match CampaignEnded defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToCampaignEnded $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "CampaignEnded" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'CampaignEnded' defined in oneOf (V2024TriggerExampleInput). Proceeding to the next one if any." + } + + # try to match CampaignGenerated defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToCampaignGenerated $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "CampaignGenerated" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'CampaignGenerated' defined in oneOf (V2024TriggerExampleInput). Proceeding to the next one if any." + } + + # try to match CertificationSignedOff defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToCertificationSignedOff $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "CertificationSignedOff" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'CertificationSignedOff' defined in oneOf (V2024TriggerExampleInput). Proceeding to the next one if any." + } + + # try to match IdentityAttributesChanged defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToIdentityAttributesChanged $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "IdentityAttributesChanged" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'IdentityAttributesChanged' defined in oneOf (V2024TriggerExampleInput). Proceeding to the next one if any." + } + + # try to match IdentityCreated defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToIdentityCreated $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "IdentityCreated" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'IdentityCreated' defined in oneOf (V2024TriggerExampleInput). Proceeding to the next one if any." + } + + # try to match IdentityDeleted defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToIdentityDeleted $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "IdentityDeleted" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'IdentityDeleted' defined in oneOf (V2024TriggerExampleInput). Proceeding to the next one if any." + } + + # try to match ProvisioningCompleted defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToProvisioningCompleted $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "ProvisioningCompleted" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'ProvisioningCompleted' defined in oneOf (V2024TriggerExampleInput). Proceeding to the next one if any." + } + + # try to match SavedSearchComplete defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToSavedSearchComplete $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "SavedSearchComplete" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'SavedSearchComplete' defined in oneOf (V2024TriggerExampleInput). Proceeding to the next one if any." + } + + # try to match SourceAccountCreated defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToSourceAccountCreated $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "SourceAccountCreated" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'SourceAccountCreated' defined in oneOf (V2024TriggerExampleInput). Proceeding to the next one if any." + } + + # try to match SourceAccountDeleted defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToSourceAccountDeleted $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "SourceAccountDeleted" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'SourceAccountDeleted' defined in oneOf (V2024TriggerExampleInput). Proceeding to the next one if any." + } + + # try to match SourceAccountUpdated defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToSourceAccountUpdated $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "SourceAccountUpdated" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'SourceAccountUpdated' defined in oneOf (V2024TriggerExampleInput). Proceeding to the next one if any." + } + + # try to match SourceCreated defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToSourceCreated $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "SourceCreated" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'SourceCreated' defined in oneOf (V2024TriggerExampleInput). Proceeding to the next one if any." + } + + # try to match SourceDeleted defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToSourceDeleted $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "SourceDeleted" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'SourceDeleted' defined in oneOf (V2024TriggerExampleInput). Proceeding to the next one if any." + } + + # try to match SourceUpdated defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToSourceUpdated $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "SourceUpdated" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'SourceUpdated' defined in oneOf (V2024TriggerExampleInput). Proceeding to the next one if any." + } + + # try to match VAClusterStatusChangeEvent defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToVAClusterStatusChangeEvent $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "VAClusterStatusChangeEvent" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'VAClusterStatusChangeEvent' defined in oneOf (V2024TriggerExampleInput). Proceeding to the next one if any." + } + + if ($match -gt 1) { + throw "Error! The JSON payload matches more than one type defined in oneOf schemas ([AccessRequestDynamicApprover, AccessRequestPostApproval, AccessRequestPreApproval, AccountAggregationCompleted, AccountAttributesChanged, AccountCorrelated, AccountUncorrelated, AccountsCollectedForAggregation, CampaignActivated, CampaignEnded, CampaignGenerated, CertificationSignedOff, IdentityAttributesChanged, IdentityCreated, IdentityDeleted, ProvisioningCompleted, SavedSearchComplete, SourceAccountCreated, SourceAccountDeleted, SourceAccountUpdated, SourceCreated, SourceDeleted, SourceUpdated, VAClusterStatusChangeEvent]). JSON Payload: $($Json)" + } elseif ($match -eq 1) { + return [PSCustomObject]@{ + "ActualType" = ${matchType} + "ActualInstance" = ${matchInstance} + "OneOfSchemas" = @("AccessRequestDynamicApprover", "AccessRequestPostApproval", "AccessRequestPreApproval", "AccountAggregationCompleted", "AccountAttributesChanged", "AccountCorrelated", "AccountUncorrelated", "AccountsCollectedForAggregation", "CampaignActivated", "CampaignEnded", "CampaignGenerated", "CertificationSignedOff", "IdentityAttributesChanged", "IdentityCreated", "IdentityDeleted", "ProvisioningCompleted", "SavedSearchComplete", "SourceAccountCreated", "SourceAccountDeleted", "SourceAccountUpdated", "SourceCreated", "SourceDeleted", "SourceUpdated", "VAClusterStatusChangeEvent") + } + } else { + throw "Error! The JSON payload doesn't matches any type defined in oneOf schemas ([AccessRequestDynamicApprover, AccessRequestPostApproval, AccessRequestPreApproval, AccountAggregationCompleted, AccountAttributesChanged, AccountCorrelated, AccountUncorrelated, AccountsCollectedForAggregation, CampaignActivated, CampaignEnded, CampaignGenerated, CertificationSignedOff, IdentityAttributesChanged, IdentityCreated, IdentityDeleted, ProvisioningCompleted, SavedSearchComplete, SourceAccountCreated, SourceAccountDeleted, SourceAccountUpdated, SourceCreated, SourceDeleted, SourceUpdated, VAClusterStatusChangeEvent]). JSON Payload: $($Json)" + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/TriggerExampleOutput.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TriggerExampleOutput.ps1 new file mode 100644 index 000000000..5e330278c --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TriggerExampleOutput.ps1 @@ -0,0 +1,91 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +An example of the JSON payload that will be sent by the subscribed service to the trigger in response to an event. + +.PARAMETER Json + +JSON object + +.OUTPUTS + +TriggerExampleOutput +#> +function ConvertFrom-V2024JsonToTriggerExampleOutput { + [CmdletBinding()] + Param ( + [AllowEmptyString()] + [string]$Json + ) + + Process { + $match = 0 + $matchType = $null + $matchInstance = $null + + # nullable check + if ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { + return [PSCustomObject]@{ + "ActualType" = $null + "ActualInstance" = $null + "OneOfSchemas" = @("AccessRequestDynamicApprover1", "AccessRequestPreApproval1") + } + } + + # try to match AccessRequestDynamicApprover1 defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToAccessRequestDynamicApprover1 $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "AccessRequestDynamicApprover1" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'AccessRequestDynamicApprover1' defined in oneOf (V2024TriggerExampleOutput). Proceeding to the next one if any." + } + + # try to match AccessRequestPreApproval1 defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToAccessRequestPreApproval1 $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "AccessRequestPreApproval1" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'AccessRequestPreApproval1' defined in oneOf (V2024TriggerExampleOutput). Proceeding to the next one if any." + } + + if ($match -gt 1) { + throw "Error! The JSON payload matches more than one type defined in oneOf schemas ([AccessRequestDynamicApprover1, AccessRequestPreApproval1]). JSON Payload: $($Json)" + } elseif ($match -eq 1) { + return [PSCustomObject]@{ + "ActualType" = ${matchType} + "ActualInstance" = ${matchInstance} + "OneOfSchemas" = @("AccessRequestDynamicApprover1", "AccessRequestPreApproval1") + } + } else { + throw "Error! The JSON payload doesn't matches any type defined in oneOf schemas ([AccessRequestDynamicApprover1, AccessRequestPreApproval1]). JSON Payload: $($Json)" + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/TriggerType.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TriggerType.ps1 new file mode 100644 index 000000000..ebd67f0eb --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TriggerType.ps1 @@ -0,0 +1,24 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum TriggerType. + +.DESCRIPTION + +The type of trigger. +#> + +enum TriggerType { + # enum value: "REQUEST_RESPONSE" + REQUEST_RESPONSE + # enum value: "FIRE_AND_FORGET" + FIRE_AND_FORGET +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Trim.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Trim.ps1 new file mode 100644 index 000000000..db579d3d7 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Trim.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER RequiresPeriodicRefresh +A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process +.PARAMETER VarInput +This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI. +.OUTPUTS + +Trim +#> + +function Initialize-V2024Trim { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${RequiresPeriodicRefresh} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${VarInput} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Trim' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + "input" = ${VarInput} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Trim + +.DESCRIPTION + +Convert from JSON to Trim + +.PARAMETER Json + +Json object + +.OUTPUTS + +Trim +#> +function ConvertFrom-V2024JsonToTrim { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Trim' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Trim + $AllProperties = ("requiresPeriodicRefresh", "input") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requiresPeriodicRefresh"))) { #optional property not found + $RequiresPeriodicRefresh = $null + } else { + $RequiresPeriodicRefresh = $JsonParameters.PSobject.Properties["requiresPeriodicRefresh"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "input"))) { #optional property not found + $VarInput = $null + } else { + $VarInput = $JsonParameters.PSobject.Properties["input"].value + } + + $PSO = [PSCustomObject]@{ + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + "input" = ${VarInput} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/TypeAheadQuery.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TypeAheadQuery.ps1 new file mode 100644 index 000000000..4829bb004 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TypeAheadQuery.ps1 @@ -0,0 +1,198 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Query parameters used to construct an Elasticsearch type ahead query object. The typeAheadQuery performs a search for top values beginning with the typed values. For example, typing ""Jo"" results in top hits matching ""Jo."" Typing ""Job"" results in top hits matching ""Job."" + +.PARAMETER Query +The type ahead query string used to construct a phrase prefix match query. +.PARAMETER Field +The field on which to perform the type ahead search. +.PARAMETER NestedType +The nested type. +.PARAMETER MaxExpansions +The number of suffixes the last term will be expanded into. Influences the performance of the query and the number results returned. Valid values: 1 to 1000. +.PARAMETER Size +The max amount of records the search will return. +.PARAMETER Sort +The sort order of the returned records. +.PARAMETER SortByValue +The flag that defines the sort type, by count or value. +.OUTPUTS + +TypeAheadQuery +#> + +function Initialize-V2024TypeAheadQuery { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Query}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Field}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${NestedType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${MaxExpansions} = 10, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${Size} = 100, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Sort} = "desc", + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${SortByValue} = $false + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024TypeAheadQuery' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Query) { + throw "invalid value for 'Query', 'Query' cannot be null." + } + + if (!$Field) { + throw "invalid value for 'Field', 'Field' cannot be null." + } + + if ($MaxExpansions -and $MaxExpansions -gt 1000) { + throw "invalid value for 'MaxExpansions', must be smaller than or equal to 1000." + } + + if ($MaxExpansions -and $MaxExpansions -lt 1) { + throw "invalid value for 'MaxExpansions', must be greater than or equal to 1." + } + + if ($Size -and $Size -lt 1) { + throw "invalid value for 'Size', must be greater than or equal to 1." + } + + + $PSO = [PSCustomObject]@{ + "query" = ${Query} + "field" = ${Field} + "nestedType" = ${NestedType} + "maxExpansions" = ${MaxExpansions} + "size" = ${Size} + "sort" = ${Sort} + "sortByValue" = ${SortByValue} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to TypeAheadQuery + +.DESCRIPTION + +Convert from JSON to TypeAheadQuery + +.PARAMETER Json + +Json object + +.OUTPUTS + +TypeAheadQuery +#> +function ConvertFrom-V2024JsonToTypeAheadQuery { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024TypeAheadQuery' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024TypeAheadQuery + $AllProperties = ("query", "field", "nestedType", "maxExpansions", "size", "sort", "sortByValue") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'query' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "query"))) { + throw "Error! JSON cannot be serialized due to the required property 'query' missing." + } else { + $Query = $JsonParameters.PSobject.Properties["query"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "field"))) { + throw "Error! JSON cannot be serialized due to the required property 'field' missing." + } else { + $Field = $JsonParameters.PSobject.Properties["field"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "nestedType"))) { #optional property not found + $NestedType = $null + } else { + $NestedType = $JsonParameters.PSobject.Properties["nestedType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "maxExpansions"))) { #optional property not found + $MaxExpansions = $null + } else { + $MaxExpansions = $JsonParameters.PSobject.Properties["maxExpansions"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "size"))) { #optional property not found + $Size = $null + } else { + $Size = $JsonParameters.PSobject.Properties["size"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sort"))) { #optional property not found + $Sort = $null + } else { + $Sort = $JsonParameters.PSobject.Properties["sort"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sortByValue"))) { #optional property not found + $SortByValue = $null + } else { + $SortByValue = $JsonParameters.PSobject.Properties["sortByValue"].value + } + + $PSO = [PSCustomObject]@{ + "query" = ${Query} + "field" = ${Field} + "nestedType" = ${NestedType} + "maxExpansions" = ${MaxExpansions} + "size" = ${Size} + "sort" = ${Sort} + "sortByValue" = ${SortByValue} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/TypedReference.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TypedReference.ps1 new file mode 100644 index 000000000..cf96f390f --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/TypedReference.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +A typed reference to the object. + +.PARAMETER Type +No description available. +.PARAMETER Id +The id of the object. +.OUTPUTS + +TypedReference +#> + +function Initialize-V2024TypedReference { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ACCOUNT_CORRELATION_CONFIG", "ACCESS_PROFILE", "ACCESS_REQUEST_APPROVAL", "ACCOUNT", "APPLICATION", "CAMPAIGN", "CAMPAIGN_FILTER", "CERTIFICATION", "CLUSTER", "CONNECTOR_SCHEMA", "ENTITLEMENT", "GOVERNANCE_GROUP", "IDENTITY", "IDENTITY_PROFILE", "IDENTITY_REQUEST", "LIFECYCLE_STATE", "PASSWORD_POLICY", "ROLE", "RULE", "SOD_POLICY", "SOURCE", "TAG", "TAG_CATEGORY", "TASK_RESULT", "REPORT_RESULT", "SOD_VIOLATION", "ACCOUNT_ACTIVITY", "WORKGROUP")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024TypedReference' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to TypedReference + +.DESCRIPTION + +Convert from JSON to TypedReference + +.PARAMETER Json + +Json object + +.OUTPUTS + +TypedReference +#> +function ConvertFrom-V2024JsonToTypedReference { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024TypedReference' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024TypedReference + $AllProperties = ("type", "id") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'type' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/UUIDGenerator.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/UUIDGenerator.ps1 new file mode 100644 index 000000000..bae6c0367 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/UUIDGenerator.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER RequiresPeriodicRefresh +A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process +.OUTPUTS + +UUIDGenerator +#> + +function Initialize-V2024UUIDGenerator { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${RequiresPeriodicRefresh} = $false + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024UUIDGenerator' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to UUIDGenerator + +.DESCRIPTION + +Convert from JSON to UUIDGenerator + +.PARAMETER Json + +Json object + +.OUTPUTS + +UUIDGenerator +#> +function ConvertFrom-V2024JsonToUUIDGenerator { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024UUIDGenerator' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024UUIDGenerator + $AllProperties = ("requiresPeriodicRefresh") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requiresPeriodicRefresh"))) { #optional property not found + $RequiresPeriodicRefresh = $null + } else { + $RequiresPeriodicRefresh = $JsonParameters.PSobject.Properties["requiresPeriodicRefresh"].value + } + + $PSO = [PSCustomObject]@{ + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/UpdateAccessProfilesInBulk412Response.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/UpdateAccessProfilesInBulk412Response.ps1 new file mode 100644 index 000000000..accc93274 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/UpdateAccessProfilesInBulk412Response.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Message +A message describing the error +.OUTPUTS + +UpdateAccessProfilesInBulk412Response +#> + +function Initialize-V2024UpdateAccessProfilesInBulk412Response { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Message} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024UpdateAccessProfilesInBulk412Response' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "message" = ${Message} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to UpdateAccessProfilesInBulk412Response + +.DESCRIPTION + +Convert from JSON to UpdateAccessProfilesInBulk412Response + +.PARAMETER Json + +Json object + +.OUTPUTS + +UpdateAccessProfilesInBulk412Response +#> +function ConvertFrom-V2024JsonToUpdateAccessProfilesInBulk412Response { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024UpdateAccessProfilesInBulk412Response' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024UpdateAccessProfilesInBulk412Response + $AllProperties = ("message") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "message"))) { #optional property not found + $Message = $null + } else { + $Message = $JsonParameters.PSobject.Properties["message"].value + } + + $PSO = [PSCustomObject]@{ + "message" = ${Message} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/UpdateDetail.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/UpdateDetail.ps1 new file mode 100644 index 000000000..6758d8aa3 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/UpdateDetail.ps1 @@ -0,0 +1,136 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Message +The detailed message for an update. Typically the relevent error message when status is error. +.PARAMETER ScriptName +The connector script name +.PARAMETER UpdatedFiles +The list of updated files supported by the connector +.PARAMETER Status +The connector update status +.OUTPUTS + +UpdateDetail +#> + +function Initialize-V2024UpdateDetail { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Message}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ScriptName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${UpdatedFiles}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ERROR", "UPDATED", "UNCHANGED", "SKIPPED")] + [String] + ${Status} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024UpdateDetail' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "message" = ${Message} + "scriptName" = ${ScriptName} + "updatedFiles" = ${UpdatedFiles} + "status" = ${Status} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to UpdateDetail + +.DESCRIPTION + +Convert from JSON to UpdateDetail + +.PARAMETER Json + +Json object + +.OUTPUTS + +UpdateDetail +#> +function ConvertFrom-V2024JsonToUpdateDetail { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024UpdateDetail' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024UpdateDetail + $AllProperties = ("message", "scriptName", "updatedFiles", "status") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "message"))) { #optional property not found + $Message = $null + } else { + $Message = $JsonParameters.PSobject.Properties["message"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "scriptName"))) { #optional property not found + $ScriptName = $null + } else { + $ScriptName = $JsonParameters.PSobject.Properties["scriptName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "updatedFiles"))) { #optional property not found + $UpdatedFiles = $null + } else { + $UpdatedFiles = $JsonParameters.PSobject.Properties["updatedFiles"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { #optional property not found + $Status = $null + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + $PSO = [PSCustomObject]@{ + "message" = ${Message} + "scriptName" = ${ScriptName} + "updatedFiles" = ${UpdatedFiles} + "status" = ${Status} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/UploadsRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/UploadsRequest.ps1 new file mode 100644 index 000000000..3f29b8e6b --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/UploadsRequest.ps1 @@ -0,0 +1,267 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER JobId +Unique id assigned to this job. +.PARAMETER Status +Status of the job. +.PARAMETER Type +Type of the job, either Backup or Draft. +.PARAMETER Tenant +The name of the tenant performing the upload +.PARAMETER RequesterName +The name of the requester. +.PARAMETER Created +The time the job was started. +.PARAMETER Modified +The time of the last update to the job. +.PARAMETER Name +The name assigned to the upload file in the request body. +.PARAMETER UserCanDelete +Is the job a regular backup job, if so is the user allowed to delete the backup file. Since this is an upload job it remains as false. +.PARAMETER IsPartial +Is the job a regular backup job, if so is it partial. Since this is an upload job it remains as false. +.PARAMETER BackupType +What kind of backup is this being treated as. +.PARAMETER HydrationStatus +have the objects contained in the upload file been hydrated. +.OUTPUTS + +UploadsRequest +#> + +function Initialize-V2024UploadsRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${JobId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("NOT_STARTED", "IN_PROGRESS", "COMPLETE", "CANCELLED", "FAILED")] + [String] + ${Status}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("BACKUP", "DRAFT")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Tenant}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${RequesterName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.DateTime] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.DateTime] + ${Modified}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${UserCanDelete} = $true, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${IsPartial} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("UPLOADED", "AUTOMATED", "MANUAL")] + [String] + ${BackupType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("HYDRATED", "NOT_HYDRATED")] + [String] + ${HydrationStatus} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024UploadsRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$JobId) { + throw "invalid value for 'JobId', 'JobId' cannot be null." + } + + if (!$Status) { + throw "invalid value for 'Status', 'Status' cannot be null." + } + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Created) { + throw "invalid value for 'Created', 'Created' cannot be null." + } + + if (!$Modified) { + throw "invalid value for 'Modified', 'Modified' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "jobId" = ${JobId} + "status" = ${Status} + "type" = ${Type} + "tenant" = ${Tenant} + "requesterName" = ${RequesterName} + "created" = ${Created} + "modified" = ${Modified} + "name" = ${Name} + "userCanDelete" = ${UserCanDelete} + "isPartial" = ${IsPartial} + "backupType" = ${BackupType} + "hydrationStatus" = ${HydrationStatus} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to UploadsRequest + +.DESCRIPTION + +Convert from JSON to UploadsRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +UploadsRequest +#> +function ConvertFrom-V2024JsonToUploadsRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024UploadsRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024UploadsRequest + $AllProperties = ("jobId", "status", "type", "tenant", "requesterName", "created", "modified", "name", "userCanDelete", "isPartial", "backupType", "hydrationStatus") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'jobId' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "jobId"))) { + throw "Error! JSON cannot be serialized due to the required property 'jobId' missing." + } else { + $JobId = $JsonParameters.PSobject.Properties["jobId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { + throw "Error! JSON cannot be serialized due to the required property 'status' missing." + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { + throw "Error! JSON cannot be serialized due to the required property 'created' missing." + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { + throw "Error! JSON cannot be serialized due to the required property 'modified' missing." + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "tenant"))) { #optional property not found + $Tenant = $null + } else { + $Tenant = $JsonParameters.PSobject.Properties["tenant"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requesterName"))) { #optional property not found + $RequesterName = $null + } else { + $RequesterName = $JsonParameters.PSobject.Properties["requesterName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "userCanDelete"))) { #optional property not found + $UserCanDelete = $null + } else { + $UserCanDelete = $JsonParameters.PSobject.Properties["userCanDelete"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "isPartial"))) { #optional property not found + $IsPartial = $null + } else { + $IsPartial = $JsonParameters.PSobject.Properties["isPartial"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "backupType"))) { #optional property not found + $BackupType = $null + } else { + $BackupType = $JsonParameters.PSobject.Properties["backupType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "hydrationStatus"))) { #optional property not found + $HydrationStatus = $null + } else { + $HydrationStatus = $JsonParameters.PSobject.Properties["hydrationStatus"].value + } + + $PSO = [PSCustomObject]@{ + "jobId" = ${JobId} + "status" = ${Status} + "type" = ${Type} + "tenant" = ${Tenant} + "requesterName" = ${RequesterName} + "created" = ${Created} + "modified" = ${Modified} + "name" = ${Name} + "userCanDelete" = ${UserCanDelete} + "isPartial" = ${IsPartial} + "backupType" = ${BackupType} + "hydrationStatus" = ${HydrationStatus} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/UploadsResponse.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/UploadsResponse.ps1 new file mode 100644 index 000000000..3cc11fc55 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/UploadsResponse.ps1 @@ -0,0 +1,267 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER JobId +Unique id assigned to this job. +.PARAMETER Status +Status of the job. +.PARAMETER Type +Type of the job, either Backup or Draft. +.PARAMETER Tenant +The name of the tenant performing the upload +.PARAMETER RequesterName +The name of the requester. +.PARAMETER Created +The time the job was started. +.PARAMETER Modified +The time of the last update to the job. +.PARAMETER Name +The name assigned to the upload file in the request body. +.PARAMETER UserCanDelete +Is the job a regular backup job, if so is the user allowed to delete the backup file. Since this is an upload job it remains as false. +.PARAMETER IsPartial +Is the job a regular backup job, if so is it partial. Since this is an upload job it remains as false. +.PARAMETER BackupType +What kind of backup is this being treated as. +.PARAMETER HydrationStatus +have the objects contained in the upload file been hydrated. +.OUTPUTS + +UploadsResponse +#> + +function Initialize-V2024UploadsResponse { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${JobId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("NOT_STARTED", "IN_PROGRESS", "COMPLETE", "CANCELLED", "FAILED")] + [String] + ${Status}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("BACKUP", "DRAFT")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Tenant}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${RequesterName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.DateTime] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.DateTime] + ${Modified}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${UserCanDelete} = $true, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${IsPartial} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("UPLOADED", "AUTOMATED", "MANUAL")] + [String] + ${BackupType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("HYDRATED", "NOT_HYDRATED")] + [String] + ${HydrationStatus} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024UploadsResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$JobId) { + throw "invalid value for 'JobId', 'JobId' cannot be null." + } + + if (!$Status) { + throw "invalid value for 'Status', 'Status' cannot be null." + } + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Created) { + throw "invalid value for 'Created', 'Created' cannot be null." + } + + if (!$Modified) { + throw "invalid value for 'Modified', 'Modified' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "jobId" = ${JobId} + "status" = ${Status} + "type" = ${Type} + "tenant" = ${Tenant} + "requesterName" = ${RequesterName} + "created" = ${Created} + "modified" = ${Modified} + "name" = ${Name} + "userCanDelete" = ${UserCanDelete} + "isPartial" = ${IsPartial} + "backupType" = ${BackupType} + "hydrationStatus" = ${HydrationStatus} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to UploadsResponse + +.DESCRIPTION + +Convert from JSON to UploadsResponse + +.PARAMETER Json + +Json object + +.OUTPUTS + +UploadsResponse +#> +function ConvertFrom-V2024JsonToUploadsResponse { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024UploadsResponse' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024UploadsResponse + $AllProperties = ("jobId", "status", "type", "tenant", "requesterName", "created", "modified", "name", "userCanDelete", "isPartial", "backupType", "hydrationStatus") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'jobId' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "jobId"))) { + throw "Error! JSON cannot be serialized due to the required property 'jobId' missing." + } else { + $JobId = $JsonParameters.PSobject.Properties["jobId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { + throw "Error! JSON cannot be serialized due to the required property 'status' missing." + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { + throw "Error! JSON cannot be serialized due to the required property 'created' missing." + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { + throw "Error! JSON cannot be serialized due to the required property 'modified' missing." + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "tenant"))) { #optional property not found + $Tenant = $null + } else { + $Tenant = $JsonParameters.PSobject.Properties["tenant"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requesterName"))) { #optional property not found + $RequesterName = $null + } else { + $RequesterName = $JsonParameters.PSobject.Properties["requesterName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "userCanDelete"))) { #optional property not found + $UserCanDelete = $null + } else { + $UserCanDelete = $JsonParameters.PSobject.Properties["userCanDelete"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "isPartial"))) { #optional property not found + $IsPartial = $null + } else { + $IsPartial = $JsonParameters.PSobject.Properties["isPartial"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "backupType"))) { #optional property not found + $BackupType = $null + } else { + $BackupType = $JsonParameters.PSobject.Properties["backupType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "hydrationStatus"))) { #optional property not found + $HydrationStatus = $null + } else { + $HydrationStatus = $JsonParameters.PSobject.Properties["hydrationStatus"].value + } + + $PSO = [PSCustomObject]@{ + "jobId" = ${JobId} + "status" = ${Status} + "type" = ${Type} + "tenant" = ${Tenant} + "requesterName" = ${RequesterName} + "created" = ${Created} + "modified" = ${Modified} + "name" = ${Name} + "userCanDelete" = ${UserCanDelete} + "isPartial" = ${IsPartial} + "backupType" = ${BackupType} + "hydrationStatus" = ${HydrationStatus} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Upper.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Upper.ps1 new file mode 100644 index 000000000..01191f8b2 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Upper.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER RequiresPeriodicRefresh +A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process +.PARAMETER VarInput +This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI. +.OUTPUTS + +Upper +#> + +function Initialize-V2024Upper { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${RequiresPeriodicRefresh} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${VarInput} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Upper' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + "input" = ${VarInput} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Upper + +.DESCRIPTION + +Convert from JSON to Upper + +.PARAMETER Json + +Json object + +.OUTPUTS + +Upper +#> +function ConvertFrom-V2024JsonToUpper { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Upper' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Upper + $AllProperties = ("requiresPeriodicRefresh", "input") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requiresPeriodicRefresh"))) { #optional property not found + $RequiresPeriodicRefresh = $null + } else { + $RequiresPeriodicRefresh = $JsonParameters.PSobject.Properties["requiresPeriodicRefresh"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "input"))) { #optional property not found + $VarInput = $null + } else { + $VarInput = $JsonParameters.PSobject.Properties["input"].value + } + + $PSO = [PSCustomObject]@{ + "requiresPeriodicRefresh" = ${RequiresPeriodicRefresh} + "input" = ${VarInput} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/UsageType.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/UsageType.ps1 new file mode 100644 index 000000000..ce3f58ece --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/UsageType.ps1 @@ -0,0 +1,52 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum UsageType. + +.DESCRIPTION + +The type of provisioning policy usage. In IdentityNow, a source can support various provisioning operations. For example, when a joiner is added to a source, this may trigger both CREATE and UPDATE provisioning operations. Each usage type is considered a provisioning policy. A source can have any number of these provisioning policies defined. These are the common usage types: CREATE - This usage type relates to 'Create Account Profile', the provisioning template for the account to be created. For example, this would be used for a joiner on a source. UPDATE - This usage type relates to 'Update Account Profile', the provisioning template for the 'Update' connector operations. For example, this would be used for an attribute sync on a source. ENABLE - This usage type relates to 'Enable Account Profile', the provisioning template for the account to be enabled. For example, this could be used for a joiner on a source once the joiner's account is created. DISABLE - This usage type relates to 'Disable Account Profile', the provisioning template for the account to be disabled. For example, this could be used when a leaver is removed temporarily from a source. You can use these four usage types for all your provisioning policy needs. +#> + +enum UsageType { + # enum value: "CREATE" + CREATE + # enum value: "UPDATE" + UPDATE + # enum value: "ENABLE" + ENABLE + # enum value: "DISABLE" + DISABLE + # enum value: "DELETE" + DELETE + # enum value: "ASSIGN" + ASSIGN + # enum value: "UNASSIGN" + UNASSIGN + # enum value: "CREATE_GROUP" + CREATE_GROUP + # enum value: "UPDATE_GROUP" + UPDATE_GROUP + # enum value: "DELETE_GROUP" + DELETE_GROUP + # enum value: "REGISTER" + REGISTER + # enum value: "CREATE_IDENTITY" + CREATE_IDENTITY + # enum value: "UPDATE_IDENTITY" + UPDATE_IDENTITY + # enum value: "EDIT_GROUP" + EDIT_GROUP + # enum value: "UNLOCK" + UNLOCK + # enum value: "CHANGE_PASSWORD" + CHANGE_PASSWORD +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/V3ConnectorDto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/V3ConnectorDto.ps1 new file mode 100644 index 000000000..7f2df90f4 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/V3ConnectorDto.ps1 @@ -0,0 +1,188 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Name +The connector name +.PARAMETER Type +The connector type +.PARAMETER ScriptName +The connector script name +.PARAMETER ClassName +The connector class name. +.PARAMETER Features +The list of features supported by the connector +.PARAMETER DirectConnect +true if the source is a direct connect source +.PARAMETER ConnectorMetadata +A map containing metadata pertinent to the connector +.PARAMETER Status +The connector status +.OUTPUTS + +V3ConnectorDto +#> + +function Initialize-V2024V3ConnectorDto { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ScriptName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ClassName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Features}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${DirectConnect} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${ConnectorMetadata}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("DEPRECATED", "DEVELOPMENT", "DEMO", "RELEASED")] + [String] + ${Status} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024V3ConnectorDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "type" = ${Type} + "scriptName" = ${ScriptName} + "className" = ${ClassName} + "features" = ${Features} + "directConnect" = ${DirectConnect} + "connectorMetadata" = ${ConnectorMetadata} + "status" = ${Status} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to V3ConnectorDto + +.DESCRIPTION + +Convert from JSON to V3ConnectorDto + +.PARAMETER Json + +Json object + +.OUTPUTS + +V3ConnectorDto +#> +function ConvertFrom-V2024JsonToV3ConnectorDto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024V3ConnectorDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024V3ConnectorDto + $AllProperties = ("name", "type", "scriptName", "className", "features", "directConnect", "connectorMetadata", "status") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "scriptName"))) { #optional property not found + $ScriptName = $null + } else { + $ScriptName = $JsonParameters.PSobject.Properties["scriptName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "className"))) { #optional property not found + $ClassName = $null + } else { + $ClassName = $JsonParameters.PSobject.Properties["className"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "features"))) { #optional property not found + $Features = $null + } else { + $Features = $JsonParameters.PSobject.Properties["features"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "directConnect"))) { #optional property not found + $DirectConnect = $null + } else { + $DirectConnect = $JsonParameters.PSobject.Properties["directConnect"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "connectorMetadata"))) { #optional property not found + $ConnectorMetadata = $null + } else { + $ConnectorMetadata = $JsonParameters.PSobject.Properties["connectorMetadata"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { #optional property not found + $Status = $null + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "type" = ${Type} + "scriptName" = ${ScriptName} + "className" = ${ClassName} + "features" = ${Features} + "directConnect" = ${DirectConnect} + "connectorMetadata" = ${ConnectorMetadata} + "status" = ${Status} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/V3CreateConnectorDto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/V3CreateConnectorDto.ps1 new file mode 100644 index 000000000..c64526fae --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/V3CreateConnectorDto.ps1 @@ -0,0 +1,161 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Name +The connector name. Need to be unique per tenant. The name will able be used to derive a url friendly unique scriptname that will be in response. Script name can then be used for all update endpoints +.PARAMETER Type +The connector type. If not specified will be defaulted to 'custom '+name +.PARAMETER ClassName +The connector class name. If you are implementing openconnector standard (what is recommended), then this need to be set to sailpoint.connector.OpenConnectorAdapter +.PARAMETER DirectConnect +true if the source is a direct connect source +.PARAMETER Status +The connector status +.OUTPUTS + +V3CreateConnectorDto +#> + +function Initialize-V2024V3CreateConnectorDto { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ClassName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${DirectConnect} = $true, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("DEVELOPMENT", "DEMO", "RELEASED")] + [String] + ${Status} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024V3CreateConnectorDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + if (!$ClassName) { + throw "invalid value for 'ClassName', 'ClassName' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "type" = ${Type} + "className" = ${ClassName} + "directConnect" = ${DirectConnect} + "status" = ${Status} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to V3CreateConnectorDto + +.DESCRIPTION + +Convert from JSON to V3CreateConnectorDto + +.PARAMETER Json + +Json object + +.OUTPUTS + +V3CreateConnectorDto +#> +function ConvertFrom-V2024JsonToV3CreateConnectorDto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024V3CreateConnectorDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024V3CreateConnectorDto + $AllProperties = ("name", "type", "className", "directConnect", "status") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'name' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "className"))) { + throw "Error! JSON cannot be serialized due to the required property 'className' missing." + } else { + $ClassName = $JsonParameters.PSobject.Properties["className"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "directConnect"))) { #optional property not found + $DirectConnect = $null + } else { + $DirectConnect = $JsonParameters.PSobject.Properties["directConnect"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { #optional property not found + $Status = $null + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "type" = ${Type} + "className" = ${ClassName} + "directConnect" = ${DirectConnect} + "status" = ${Status} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/VAClusterStatusChangeEvent.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/VAClusterStatusChangeEvent.ps1 new file mode 100644 index 000000000..4a2e81234 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/VAClusterStatusChangeEvent.ps1 @@ -0,0 +1,173 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Created +The date and time the status change occurred. +.PARAMETER Type +The type of the object that initiated this event. +.PARAMETER Application +No description available. +.PARAMETER HealthCheckResult +No description available. +.PARAMETER PreviousHealthCheckResult +No description available. +.OUTPUTS + +VAClusterStatusChangeEvent +#> + +function Initialize-V2024VAClusterStatusChangeEvent { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.DateTime] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("SOURCE", "CLUSTER")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Application}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${HealthCheckResult}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${PreviousHealthCheckResult} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024VAClusterStatusChangeEvent' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Created) { + throw "invalid value for 'Created', 'Created' cannot be null." + } + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Application) { + throw "invalid value for 'Application', 'Application' cannot be null." + } + + if (!$HealthCheckResult) { + throw "invalid value for 'HealthCheckResult', 'HealthCheckResult' cannot be null." + } + + if (!$PreviousHealthCheckResult) { + throw "invalid value for 'PreviousHealthCheckResult', 'PreviousHealthCheckResult' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "created" = ${Created} + "type" = ${Type} + "application" = ${Application} + "healthCheckResult" = ${HealthCheckResult} + "previousHealthCheckResult" = ${PreviousHealthCheckResult} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to VAClusterStatusChangeEvent + +.DESCRIPTION + +Convert from JSON to VAClusterStatusChangeEvent + +.PARAMETER Json + +Json object + +.OUTPUTS + +VAClusterStatusChangeEvent +#> +function ConvertFrom-V2024JsonToVAClusterStatusChangeEvent { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024VAClusterStatusChangeEvent' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024VAClusterStatusChangeEvent + $AllProperties = ("created", "type", "application", "healthCheckResult", "previousHealthCheckResult") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'created' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { + throw "Error! JSON cannot be serialized due to the required property 'created' missing." + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "application"))) { + throw "Error! JSON cannot be serialized due to the required property 'application' missing." + } else { + $Application = $JsonParameters.PSobject.Properties["application"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "healthCheckResult"))) { + throw "Error! JSON cannot be serialized due to the required property 'healthCheckResult' missing." + } else { + $HealthCheckResult = $JsonParameters.PSobject.Properties["healthCheckResult"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "previousHealthCheckResult"))) { + throw "Error! JSON cannot be serialized due to the required property 'previousHealthCheckResult' missing." + } else { + $PreviousHealthCheckResult = $JsonParameters.PSobject.Properties["previousHealthCheckResult"].value + } + + $PSO = [PSCustomObject]@{ + "created" = ${Created} + "type" = ${Type} + "application" = ${Application} + "healthCheckResult" = ${HealthCheckResult} + "previousHealthCheckResult" = ${PreviousHealthCheckResult} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/VAClusterStatusChangeEventApplication.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/VAClusterStatusChangeEventApplication.ps1 new file mode 100644 index 000000000..2a0d0e947 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/VAClusterStatusChangeEventApplication.ps1 @@ -0,0 +1,134 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Details about the `CLUSTER` or `SOURCE` that initiated this event. + +.PARAMETER Id +The GUID of the application +.PARAMETER Name +The name of the application +.PARAMETER Attributes +Custom map of attributes for a source. This will only be populated if type is `SOURCE` and the source has a proxy. +.OUTPUTS + +VAClusterStatusChangeEventApplication +#> + +function Initialize-V2024VAClusterStatusChangeEventApplication { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${Attributes} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024VAClusterStatusChangeEventApplication' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Name) { + throw "invalid value for 'Name', 'Name' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "attributes" = ${Attributes} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to VAClusterStatusChangeEventApplication + +.DESCRIPTION + +Convert from JSON to VAClusterStatusChangeEventApplication + +.PARAMETER Json + +Json object + +.OUTPUTS + +VAClusterStatusChangeEventApplication +#> +function ConvertFrom-V2024JsonToVAClusterStatusChangeEventApplication { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024VAClusterStatusChangeEventApplication' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024VAClusterStatusChangeEventApplication + $AllProperties = ("id", "name", "attributes") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'id' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { + throw "Error! JSON cannot be serialized due to the required property 'name' missing." + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributes"))) { + throw "Error! JSON cannot be serialized due to the required property 'attributes' missing." + } else { + $Attributes = $JsonParameters.PSobject.Properties["attributes"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "attributes" = ${Attributes} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/VAClusterStatusChangeEventHealthCheckResult.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/VAClusterStatusChangeEventHealthCheckResult.ps1 new file mode 100644 index 000000000..b2b045bf2 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/VAClusterStatusChangeEventHealthCheckResult.ps1 @@ -0,0 +1,139 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +The results of the most recent health check. + +.PARAMETER Message +Detailed message of the result of the health check. +.PARAMETER ResultType +The type of the health check result. +.PARAMETER Status +The status of the health check. +.OUTPUTS + +VAClusterStatusChangeEventHealthCheckResult +#> + +function Initialize-V2024VAClusterStatusChangeEventHealthCheckResult { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Message}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ResultType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("Succeeded", "Failed")] + [PSCustomObject] + ${Status} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024VAClusterStatusChangeEventHealthCheckResult' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Message) { + throw "invalid value for 'Message', 'Message' cannot be null." + } + + if (!$ResultType) { + throw "invalid value for 'ResultType', 'ResultType' cannot be null." + } + + if (!$Status) { + throw "invalid value for 'Status', 'Status' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "message" = ${Message} + "resultType" = ${ResultType} + "status" = ${Status} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to VAClusterStatusChangeEventHealthCheckResult + +.DESCRIPTION + +Convert from JSON to VAClusterStatusChangeEventHealthCheckResult + +.PARAMETER Json + +Json object + +.OUTPUTS + +VAClusterStatusChangeEventHealthCheckResult +#> +function ConvertFrom-V2024JsonToVAClusterStatusChangeEventHealthCheckResult { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024VAClusterStatusChangeEventHealthCheckResult' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024VAClusterStatusChangeEventHealthCheckResult + $AllProperties = ("message", "resultType", "status") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'message' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "message"))) { + throw "Error! JSON cannot be serialized due to the required property 'message' missing." + } else { + $Message = $JsonParameters.PSobject.Properties["message"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "resultType"))) { + throw "Error! JSON cannot be serialized due to the required property 'resultType' missing." + } else { + $ResultType = $JsonParameters.PSobject.Properties["resultType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { + throw "Error! JSON cannot be serialized due to the required property 'status' missing." + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + $PSO = [PSCustomObject]@{ + "message" = ${Message} + "resultType" = ${ResultType} + "status" = ${Status} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/VAClusterStatusChangeEventPreviousHealthCheckResult.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/VAClusterStatusChangeEventPreviousHealthCheckResult.ps1 new file mode 100644 index 000000000..66d61bbe6 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/VAClusterStatusChangeEventPreviousHealthCheckResult.ps1 @@ -0,0 +1,139 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +The results of the last health check. + +.PARAMETER Message +Detailed message of the result of the health check. +.PARAMETER ResultType +The type of the health check result. +.PARAMETER Status +The status of the health check. +.OUTPUTS + +VAClusterStatusChangeEventPreviousHealthCheckResult +#> + +function Initialize-V2024VAClusterStatusChangeEventPreviousHealthCheckResult { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Message}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${ResultType}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("Succeeded", "Failed")] + [PSCustomObject] + ${Status} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024VAClusterStatusChangeEventPreviousHealthCheckResult' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Message) { + throw "invalid value for 'Message', 'Message' cannot be null." + } + + if (!$ResultType) { + throw "invalid value for 'ResultType', 'ResultType' cannot be null." + } + + if (!$Status) { + throw "invalid value for 'Status', 'Status' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "message" = ${Message} + "resultType" = ${ResultType} + "status" = ${Status} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to VAClusterStatusChangeEventPreviousHealthCheckResult + +.DESCRIPTION + +Convert from JSON to VAClusterStatusChangeEventPreviousHealthCheckResult + +.PARAMETER Json + +Json object + +.OUTPUTS + +VAClusterStatusChangeEventPreviousHealthCheckResult +#> +function ConvertFrom-V2024JsonToVAClusterStatusChangeEventPreviousHealthCheckResult { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024VAClusterStatusChangeEventPreviousHealthCheckResult' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024VAClusterStatusChangeEventPreviousHealthCheckResult + $AllProperties = ("message", "resultType", "status") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'message' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "message"))) { + throw "Error! JSON cannot be serialized due to the required property 'message' missing." + } else { + $Message = $JsonParameters.PSobject.Properties["message"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "resultType"))) { + throw "Error! JSON cannot be serialized due to the required property 'resultType' missing." + } else { + $ResultType = $JsonParameters.PSobject.Properties["resultType"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { + throw "Error! JSON cannot be serialized due to the required property 'status' missing." + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + $PSO = [PSCustomObject]@{ + "message" = ${Message} + "resultType" = ${ResultType} + "status" = ${Status} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ValidateFilterInputDto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ValidateFilterInputDto.ps1 new file mode 100644 index 000000000..49af9a4fa --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ValidateFilterInputDto.ps1 @@ -0,0 +1,121 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER VarInput +Mock input to evaluate filter expression against. +.PARAMETER VarFilter +JSONPath filter to conditionally invoke trigger when expression evaluates to true. +.OUTPUTS + +ValidateFilterInputDto +#> + +function Initialize-V2024ValidateFilterInputDto { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${VarInput}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${VarFilter} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ValidateFilterInputDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$VarInput) { + throw "invalid value for 'VarInput', 'VarInput' cannot be null." + } + + if (!$VarFilter) { + throw "invalid value for 'VarFilter', 'VarFilter' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "input" = ${VarInput} + "filter" = ${VarFilter} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ValidateFilterInputDto + +.DESCRIPTION + +Convert from JSON to ValidateFilterInputDto + +.PARAMETER Json + +Json object + +.OUTPUTS + +ValidateFilterInputDto +#> +function ConvertFrom-V2024JsonToValidateFilterInputDto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ValidateFilterInputDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ValidateFilterInputDto + $AllProperties = ("input", "filter") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'input' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "input"))) { + throw "Error! JSON cannot be serialized due to the required property 'input' missing." + } else { + $VarInput = $JsonParameters.PSobject.Properties["input"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "filter"))) { + throw "Error! JSON cannot be serialized due to the required property 'filter' missing." + } else { + $VarFilter = $JsonParameters.PSobject.Properties["filter"].value + } + + $PSO = [PSCustomObject]@{ + "input" = ${VarInput} + "filter" = ${VarFilter} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ValidateFilterOutputDto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ValidateFilterOutputDto.ps1 new file mode 100644 index 000000000..038228036 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ValidateFilterOutputDto.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER IsValid +When this field is true, the filter expression is valid against the input. +.PARAMETER IsValidJSONPath +When this field is true, the filter expression is using a valid JSON path. +.PARAMETER IsPathExist +When this field is true, the filter expression is using an existing path. +.OUTPUTS + +ValidateFilterOutputDto +#> + +function Initialize-V2024ValidateFilterOutputDto { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${IsValid} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${IsValidJSONPath} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${IsPathExist} = $false + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ValidateFilterOutputDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "isValid" = ${IsValid} + "isValidJSONPath" = ${IsValidJSONPath} + "isPathExist" = ${IsPathExist} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ValidateFilterOutputDto + +.DESCRIPTION + +Convert from JSON to ValidateFilterOutputDto + +.PARAMETER Json + +Json object + +.OUTPUTS + +ValidateFilterOutputDto +#> +function ConvertFrom-V2024JsonToValidateFilterOutputDto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ValidateFilterOutputDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ValidateFilterOutputDto + $AllProperties = ("isValid", "isValidJSONPath", "isPathExist") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "isValid"))) { #optional property not found + $IsValid = $null + } else { + $IsValid = $JsonParameters.PSobject.Properties["isValid"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "isValidJSONPath"))) { #optional property not found + $IsValidJSONPath = $null + } else { + $IsValidJSONPath = $JsonParameters.PSobject.Properties["isValidJSONPath"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "isPathExist"))) { #optional property not found + $IsPathExist = $null + } else { + $IsPathExist = $JsonParameters.PSobject.Properties["isPathExist"].value + } + + $PSO = [PSCustomObject]@{ + "isValid" = ${IsValid} + "isValidJSONPath" = ${IsValidJSONPath} + "isPathExist" = ${IsPathExist} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Value.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Value.ps1 new file mode 100644 index 000000000..4593db18d --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Value.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Type +The type of attribute value +.PARAMETER Value +The attribute value +.OUTPUTS + +Value +#> + +function Initialize-V2024Value { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Value} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Value' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "value" = ${Value} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Value + +.DESCRIPTION + +Convert from JSON to Value + +.PARAMETER Json + +Json object + +.OUTPUTS + +Value +#> +function ConvertFrom-V2024JsonToValue { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Value' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Value + $AllProperties = ("type", "value") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "value"))) { #optional property not found + $Value = $null + } else { + $Value = $JsonParameters.PSobject.Properties["value"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "value" = ${Value} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/VendorConnectorMapping.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/VendorConnectorMapping.ps1 new file mode 100644 index 000000000..28e8522fa --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/VendorConnectorMapping.ps1 @@ -0,0 +1,200 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +The unique identifier for the vendor-connector mapping. +.PARAMETER Vendor +The name of the vendor. +.PARAMETER Connector +The name of the connector. +.PARAMETER CreatedAt +The creation timestamp of the mapping. +.PARAMETER CreatedBy +The identifier of the user who created the mapping. +.PARAMETER UpdatedAt +No description available. +.PARAMETER UpdatedBy +No description available. +.PARAMETER DeletedAt +No description available. +.PARAMETER DeletedBy +No description available. +.OUTPUTS + +VendorConnectorMapping +#> + +function Initialize-V2024VendorConnectorMapping { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Vendor}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Connector}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${CreatedAt}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${CreatedBy}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${UpdatedAt}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${UpdatedBy}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${DeletedAt}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${DeletedBy} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024VendorConnectorMapping' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "vendor" = ${Vendor} + "connector" = ${Connector} + "createdAt" = ${CreatedAt} + "createdBy" = ${CreatedBy} + "updatedAt" = ${UpdatedAt} + "updatedBy" = ${UpdatedBy} + "deletedAt" = ${DeletedAt} + "deletedBy" = ${DeletedBy} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to VendorConnectorMapping + +.DESCRIPTION + +Convert from JSON to VendorConnectorMapping + +.PARAMETER Json + +Json object + +.OUTPUTS + +VendorConnectorMapping +#> +function ConvertFrom-V2024JsonToVendorConnectorMapping { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024VendorConnectorMapping' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024VendorConnectorMapping + $AllProperties = ("id", "vendor", "connector", "createdAt", "createdBy", "updatedAt", "updatedBy", "deletedAt", "deletedBy") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "vendor"))) { #optional property not found + $Vendor = $null + } else { + $Vendor = $JsonParameters.PSobject.Properties["vendor"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "connector"))) { #optional property not found + $Connector = $null + } else { + $Connector = $JsonParameters.PSobject.Properties["connector"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "createdAt"))) { #optional property not found + $CreatedAt = $null + } else { + $CreatedAt = $JsonParameters.PSobject.Properties["createdAt"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "createdBy"))) { #optional property not found + $CreatedBy = $null + } else { + $CreatedBy = $JsonParameters.PSobject.Properties["createdBy"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "updatedAt"))) { #optional property not found + $UpdatedAt = $null + } else { + $UpdatedAt = $JsonParameters.PSobject.Properties["updatedAt"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "updatedBy"))) { #optional property not found + $UpdatedBy = $null + } else { + $UpdatedBy = $JsonParameters.PSobject.Properties["updatedBy"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "deletedAt"))) { #optional property not found + $DeletedAt = $null + } else { + $DeletedAt = $JsonParameters.PSobject.Properties["deletedAt"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "deletedBy"))) { #optional property not found + $DeletedBy = $null + } else { + $DeletedBy = $JsonParameters.PSobject.Properties["deletedBy"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "vendor" = ${Vendor} + "connector" = ${Connector} + "createdAt" = ${CreatedAt} + "createdBy" = ${CreatedBy} + "updatedAt" = ${UpdatedAt} + "updatedBy" = ${UpdatedBy} + "deletedAt" = ${DeletedAt} + "deletedBy" = ${DeletedBy} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/VendorConnectorMappingDeletedAt.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/VendorConnectorMappingDeletedAt.ps1 new file mode 100644 index 000000000..9af645740 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/VendorConnectorMappingDeletedAt.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +An object representing the nullable timestamp of when the mapping was deleted. + +.PARAMETER Time +The timestamp when the mapping was deleted, represented in ISO 8601 format, if applicable. +.PARAMETER Valid +A flag indicating if the 'Time' field is set and valid, i.e., if the mapping has been deleted. +.OUTPUTS + +VendorConnectorMappingDeletedAt +#> + +function Initialize-V2024VendorConnectorMappingDeletedAt { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Time}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Valid} = $false + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024VendorConnectorMappingDeletedAt' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "Time" = ${Time} + "Valid" = ${Valid} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to VendorConnectorMappingDeletedAt + +.DESCRIPTION + +Convert from JSON to VendorConnectorMappingDeletedAt + +.PARAMETER Json + +Json object + +.OUTPUTS + +VendorConnectorMappingDeletedAt +#> +function ConvertFrom-V2024JsonToVendorConnectorMappingDeletedAt { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024VendorConnectorMappingDeletedAt' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024VendorConnectorMappingDeletedAt + $AllProperties = ("Time", "Valid") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "Time"))) { #optional property not found + $Time = $null + } else { + $Time = $JsonParameters.PSobject.Properties["Time"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "Valid"))) { #optional property not found + $Valid = $null + } else { + $Valid = $JsonParameters.PSobject.Properties["Valid"].value + } + + $PSO = [PSCustomObject]@{ + "Time" = ${Time} + "Valid" = ${Valid} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/VendorConnectorMappingDeletedBy.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/VendorConnectorMappingDeletedBy.ps1 new file mode 100644 index 000000000..f99cc45d9 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/VendorConnectorMappingDeletedBy.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +An object representing the nullable identifier of the user who deleted the mapping. + +.PARAMETER String +The identifier of the user who deleted the mapping, if applicable. +.PARAMETER Valid +A flag indicating if the 'String' field is set and valid, i.e., if the mapping has been deleted. +.OUTPUTS + +VendorConnectorMappingDeletedBy +#> + +function Initialize-V2024VendorConnectorMappingDeletedBy { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${String}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Valid} = $false + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024VendorConnectorMappingDeletedBy' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "String" = ${String} + "Valid" = ${Valid} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to VendorConnectorMappingDeletedBy + +.DESCRIPTION + +Convert from JSON to VendorConnectorMappingDeletedBy + +.PARAMETER Json + +Json object + +.OUTPUTS + +VendorConnectorMappingDeletedBy +#> +function ConvertFrom-V2024JsonToVendorConnectorMappingDeletedBy { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024VendorConnectorMappingDeletedBy' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024VendorConnectorMappingDeletedBy + $AllProperties = ("String", "Valid") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "String"))) { #optional property not found + $String = $null + } else { + $String = $JsonParameters.PSobject.Properties["String"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "Valid"))) { #optional property not found + $Valid = $null + } else { + $Valid = $JsonParameters.PSobject.Properties["Valid"].value + } + + $PSO = [PSCustomObject]@{ + "String" = ${String} + "Valid" = ${Valid} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/VendorConnectorMappingUpdatedAt.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/VendorConnectorMappingUpdatedAt.ps1 new file mode 100644 index 000000000..2dcb34267 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/VendorConnectorMappingUpdatedAt.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +An object representing the nullable timestamp of the last update. + +.PARAMETER Time +The timestamp when the mapping was last updated, represented in ISO 8601 format. +.PARAMETER Valid +A flag indicating if the 'Time' field is set and valid. +.OUTPUTS + +VendorConnectorMappingUpdatedAt +#> + +function Initialize-V2024VendorConnectorMappingUpdatedAt { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Time}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Valid} = $false + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024VendorConnectorMappingUpdatedAt' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "Time" = ${Time} + "Valid" = ${Valid} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to VendorConnectorMappingUpdatedAt + +.DESCRIPTION + +Convert from JSON to VendorConnectorMappingUpdatedAt + +.PARAMETER Json + +Json object + +.OUTPUTS + +VendorConnectorMappingUpdatedAt +#> +function ConvertFrom-V2024JsonToVendorConnectorMappingUpdatedAt { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024VendorConnectorMappingUpdatedAt' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024VendorConnectorMappingUpdatedAt + $AllProperties = ("Time", "Valid") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "Time"))) { #optional property not found + $Time = $null + } else { + $Time = $JsonParameters.PSobject.Properties["Time"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "Valid"))) { #optional property not found + $Valid = $null + } else { + $Valid = $JsonParameters.PSobject.Properties["Valid"].value + } + + $PSO = [PSCustomObject]@{ + "Time" = ${Time} + "Valid" = ${Valid} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/VendorConnectorMappingUpdatedBy.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/VendorConnectorMappingUpdatedBy.ps1 new file mode 100644 index 000000000..922bb0e38 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/VendorConnectorMappingUpdatedBy.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +An object representing the nullable identifier of the user who last updated the mapping. + +.PARAMETER String +The identifier of the user who last updated the mapping, if available. +.PARAMETER Valid +A flag indicating if the 'String' field is set and valid. +.OUTPUTS + +VendorConnectorMappingUpdatedBy +#> + +function Initialize-V2024VendorConnectorMappingUpdatedBy { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${String}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Valid} = $false + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024VendorConnectorMappingUpdatedBy' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "String" = ${String} + "Valid" = ${Valid} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to VendorConnectorMappingUpdatedBy + +.DESCRIPTION + +Convert from JSON to VendorConnectorMappingUpdatedBy + +.PARAMETER Json + +Json object + +.OUTPUTS + +VendorConnectorMappingUpdatedBy +#> +function ConvertFrom-V2024JsonToVendorConnectorMappingUpdatedBy { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024VendorConnectorMappingUpdatedBy' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024VendorConnectorMappingUpdatedBy + $AllProperties = ("String", "Valid") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "String"))) { #optional property not found + $String = $null + } else { + $String = $JsonParameters.PSobject.Properties["String"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "Valid"))) { #optional property not found + $Valid = $null + } else { + $Valid = $JsonParameters.PSobject.Properties["Valid"].value + } + + $PSO = [PSCustomObject]@{ + "String" = ${String} + "Valid" = ${Valid} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ViolationContext.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ViolationContext.ps1 new file mode 100644 index 000000000..958b9affc --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ViolationContext.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Policy +No description available. +.PARAMETER ConflictingAccessCriteria +No description available. +.OUTPUTS + +ViolationContext +#> + +function Initialize-V2024ViolationContext { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Policy}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${ConflictingAccessCriteria} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ViolationContext' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "policy" = ${Policy} + "conflictingAccessCriteria" = ${ConflictingAccessCriteria} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ViolationContext + +.DESCRIPTION + +Convert from JSON to ViolationContext + +.PARAMETER Json + +Json object + +.OUTPUTS + +ViolationContext +#> +function ConvertFrom-V2024JsonToViolationContext { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ViolationContext' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ViolationContext + $AllProperties = ("policy", "conflictingAccessCriteria") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "policy"))) { #optional property not found + $Policy = $null + } else { + $Policy = $JsonParameters.PSobject.Properties["policy"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "conflictingAccessCriteria"))) { #optional property not found + $ConflictingAccessCriteria = $null + } else { + $ConflictingAccessCriteria = $JsonParameters.PSobject.Properties["conflictingAccessCriteria"].value + } + + $PSO = [PSCustomObject]@{ + "policy" = ${Policy} + "conflictingAccessCriteria" = ${ConflictingAccessCriteria} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ViolationContextPolicy.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ViolationContextPolicy.ps1 new file mode 100644 index 000000000..ba5dc88cf --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ViolationContextPolicy.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +The types of objects supported for SOD violations + +.PARAMETER Type +The type of object that is referenced +.PARAMETER Id +SOD policy ID. +.PARAMETER Name +No description available. +.OUTPUTS + +ViolationContextPolicy +#> + +function Initialize-V2024ViolationContextPolicy { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("ENTITLEMENT")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ViolationContextPolicy' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ViolationContextPolicy + +.DESCRIPTION + +Convert from JSON to ViolationContextPolicy + +.PARAMETER Json + +Json object + +.OUTPUTS + +ViolationContextPolicy +#> +function ConvertFrom-V2024JsonToViolationContextPolicy { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ViolationContextPolicy' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ViolationContextPolicy + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ViolationOwnerAssignmentConfig.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ViolationOwnerAssignmentConfig.ps1 new file mode 100644 index 000000000..615b63e43 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ViolationOwnerAssignmentConfig.ps1 @@ -0,0 +1,110 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER AssignmentRule +Details about the violations owner. MANAGER - identity's manager STATIC - Governance Group or Identity +.PARAMETER OwnerRef +No description available. +.OUTPUTS + +ViolationOwnerAssignmentConfig +#> + +function Initialize-V2024ViolationOwnerAssignmentConfig { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("MANAGER", "STATIC", "")] + [String] + ${AssignmentRule}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${OwnerRef} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ViolationOwnerAssignmentConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "assignmentRule" = ${AssignmentRule} + "ownerRef" = ${OwnerRef} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ViolationOwnerAssignmentConfig + +.DESCRIPTION + +Convert from JSON to ViolationOwnerAssignmentConfig + +.PARAMETER Json + +Json object + +.OUTPUTS + +ViolationOwnerAssignmentConfig +#> +function ConvertFrom-V2024JsonToViolationOwnerAssignmentConfig { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ViolationOwnerAssignmentConfig' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ViolationOwnerAssignmentConfig + $AllProperties = ("assignmentRule", "ownerRef") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "assignmentRule"))) { #optional property not found + $AssignmentRule = $null + } else { + $AssignmentRule = $JsonParameters.PSobject.Properties["assignmentRule"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "ownerRef"))) { #optional property not found + $OwnerRef = $null + } else { + $OwnerRef = $JsonParameters.PSobject.Properties["ownerRef"].value + } + + $PSO = [PSCustomObject]@{ + "assignmentRule" = ${AssignmentRule} + "ownerRef" = ${OwnerRef} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ViolationOwnerAssignmentConfigOwnerRef.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ViolationOwnerAssignmentConfigOwnerRef.ps1 new file mode 100644 index 000000000..5b3ab5030 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ViolationOwnerAssignmentConfigOwnerRef.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +The owner of the violation assignment config. + +.PARAMETER Type +Owner type. +.PARAMETER Id +Owner's ID. +.PARAMETER Name +Owner's name. +.OUTPUTS + +ViolationOwnerAssignmentConfigOwnerRef +#> + +function Initialize-V2024ViolationOwnerAssignmentConfigOwnerRef { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY", "GOVERNANCE_GROUP", "MANAGER", "")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ViolationOwnerAssignmentConfigOwnerRef' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ViolationOwnerAssignmentConfigOwnerRef + +.DESCRIPTION + +Convert from JSON to ViolationOwnerAssignmentConfigOwnerRef + +.PARAMETER Json + +Json object + +.OUTPUTS + +ViolationOwnerAssignmentConfigOwnerRef +#> +function ConvertFrom-V2024JsonToViolationOwnerAssignmentConfigOwnerRef { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ViolationOwnerAssignmentConfigOwnerRef' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ViolationOwnerAssignmentConfigOwnerRef + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/ViolationPrediction.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ViolationPrediction.ps1 new file mode 100644 index 000000000..297063d78 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/ViolationPrediction.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +An object containing a listing of the SOD violation reasons detected by this check. + +.PARAMETER ViolationContexts +List of Violation Contexts +.OUTPUTS + +ViolationPrediction +#> + +function Initialize-V2024ViolationPrediction { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${ViolationContexts} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024ViolationPrediction' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "violationContexts" = ${ViolationContexts} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to ViolationPrediction + +.DESCRIPTION + +Convert from JSON to ViolationPrediction + +.PARAMETER Json + +Json object + +.OUTPUTS + +ViolationPrediction +#> +function ConvertFrom-V2024JsonToViolationPrediction { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024ViolationPrediction' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024ViolationPrediction + $AllProperties = ("violationContexts") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "violationContexts"))) { #optional property not found + $ViolationContexts = $null + } else { + $ViolationContexts = $JsonParameters.PSobject.Properties["violationContexts"].value + } + + $PSO = [PSCustomObject]@{ + "violationContexts" = ${ViolationContexts} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/VisibilityCriteria.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/VisibilityCriteria.ps1 new file mode 100644 index 000000000..1442c1da6 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/VisibilityCriteria.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Expression +No description available. +.OUTPUTS + +VisibilityCriteria +#> + +function Initialize-V2024VisibilityCriteria { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Expression} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024VisibilityCriteria' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "expression" = ${Expression} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to VisibilityCriteria + +.DESCRIPTION + +Convert from JSON to VisibilityCriteria + +.PARAMETER Json + +Json object + +.OUTPUTS + +VisibilityCriteria +#> +function ConvertFrom-V2024JsonToVisibilityCriteria { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024VisibilityCriteria' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024VisibilityCriteria + $AllProperties = ("expression") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "expression"))) { #optional property not found + $Expression = $null + } else { + $Expression = $JsonParameters.PSobject.Properties["expression"].value + } + + $PSO = [PSCustomObject]@{ + "expression" = ${Expression} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkItemForward.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkItemForward.ps1 new file mode 100644 index 000000000..5b3b13ac0 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkItemForward.ps1 @@ -0,0 +1,134 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER TargetOwnerId +The ID of the identity to forward this work item to. +.PARAMETER Comment +Comments to send to the target owner +.PARAMETER SendNotifications +If true, send a notification to the target owner. +.OUTPUTS + +WorkItemForward +#> + +function Initialize-V2024WorkItemForward { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${TargetOwnerId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Comment}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${SendNotifications} = $true + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024WorkItemForward' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$TargetOwnerId) { + throw "invalid value for 'TargetOwnerId', 'TargetOwnerId' cannot be null." + } + + if (!$Comment) { + throw "invalid value for 'Comment', 'Comment' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "targetOwnerId" = ${TargetOwnerId} + "comment" = ${Comment} + "sendNotifications" = ${SendNotifications} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to WorkItemForward + +.DESCRIPTION + +Convert from JSON to WorkItemForward + +.PARAMETER Json + +Json object + +.OUTPUTS + +WorkItemForward +#> +function ConvertFrom-V2024JsonToWorkItemForward { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024WorkItemForward' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024WorkItemForward + $AllProperties = ("targetOwnerId", "comment", "sendNotifications") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'targetOwnerId' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "targetOwnerId"))) { + throw "Error! JSON cannot be serialized due to the required property 'targetOwnerId' missing." + } else { + $TargetOwnerId = $JsonParameters.PSobject.Properties["targetOwnerId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "comment"))) { + throw "Error! JSON cannot be serialized due to the required property 'comment' missing." + } else { + $Comment = $JsonParameters.PSobject.Properties["comment"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sendNotifications"))) { #optional property not found + $SendNotifications = $null + } else { + $SendNotifications = $JsonParameters.PSobject.Properties["sendNotifications"].value + } + + $PSO = [PSCustomObject]@{ + "targetOwnerId" = ${TargetOwnerId} + "comment" = ${Comment} + "sendNotifications" = ${SendNotifications} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkItemState.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkItemState.ps1 new file mode 100644 index 000000000..29fccceff --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkItemState.ps1 @@ -0,0 +1,34 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum WorkItemState. + +.DESCRIPTION + +The state of a work item +#> + +enum WorkItemState { + # enum value: "Finished" + Finished + # enum value: "Rejected" + Rejected + # enum value: "Returned" + Returned + # enum value: "Expired" + Expired + # enum value: "Pending" + Pending + # enum value: "Canceled" + Canceled + # enum value: "null" + null +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkItemStateManualWorkItems.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkItemStateManualWorkItems.ps1 new file mode 100644 index 000000000..a9a8d3a0f --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkItemStateManualWorkItems.ps1 @@ -0,0 +1,32 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum WorkItemStateManualWorkItems. + +.DESCRIPTION + +The state of a work item +#> + +enum WorkItemStateManualWorkItems { + # enum value: "Finished" + Finished + # enum value: "Rejected" + Rejected + # enum value: "Returned" + Returned + # enum value: "Expired" + Expired + # enum value: "Pending" + Pending + # enum value: "Canceled" + Canceled +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkItemTypeManualWorkItems.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkItemTypeManualWorkItems.ps1 new file mode 100644 index 000000000..3ebfe5c1f --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkItemTypeManualWorkItems.ps1 @@ -0,0 +1,48 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +Enum WorkItemTypeManualWorkItems. + +.DESCRIPTION + +The type of the work item +#> + +enum WorkItemTypeManualWorkItems { + # enum value: "Generic" + Generic + # enum value: "Certification" + Certification + # enum value: "Remediation" + Remediation + # enum value: "Delegation" + Delegation + # enum value: "Approval" + Approval + # enum value: "ViolationReview" + ViolationReview + # enum value: "Form" + Form + # enum value: "PolicyVioloation" + PolicyVioloation + # enum value: "Challenge" + Challenge + # enum value: "ImpactAnalysis" + ImpactAnalysis + # enum value: "Signoff" + Signoff + # enum value: "Event" + Event + # enum value: "ManualAction" + ManualAction + # enum value: "Test" + Test +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkItems.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkItems.ps1 new file mode 100644 index 000000000..2b3b962bb --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkItems.ps1 @@ -0,0 +1,306 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +ID of the work item +.PARAMETER RequesterId +ID of the requester +.PARAMETER RequesterDisplayName +The displayname of the requester +.PARAMETER OwnerId +The ID of the owner +.PARAMETER OwnerName +The name of the owner +.PARAMETER Created +Time when the work item was created +.PARAMETER Modified +Time when the work item was last updated +.PARAMETER Description +The description of the work item +.PARAMETER State +No description available. +.PARAMETER Type +No description available. +.PARAMETER RemediationItems +A list of remediation items +.PARAMETER ApprovalItems +A list of items that need to be approved +.PARAMETER Name +The work item name +.PARAMETER Completed +The time at which the work item completed +.PARAMETER NumItems +The number of items in the work item +.PARAMETER Form +No description available. +.PARAMETER Errors +An array of errors that ocurred during the work item +.OUTPUTS + +WorkItems +#> + +function Initialize-V2024WorkItems { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${RequesterId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${RequesterDisplayName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${OwnerId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${OwnerName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Modified}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("Finished", "Rejected", "Returned", "Expired", "Pending", "Canceled")] + [PSCustomObject] + ${State}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("Generic", "Certification", "Remediation", "Delegation", "Approval", "ViolationReview", "Form", "PolicyVioloation", "Challenge", "ImpactAnalysis", "Signoff", "Event", "ManualAction", "Test")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${RemediationItems}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${ApprovalItems}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Completed}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${NumItems}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Form}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Errors} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024WorkItems' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "requesterId" = ${RequesterId} + "requesterDisplayName" = ${RequesterDisplayName} + "ownerId" = ${OwnerId} + "ownerName" = ${OwnerName} + "created" = ${Created} + "modified" = ${Modified} + "description" = ${Description} + "state" = ${State} + "type" = ${Type} + "remediationItems" = ${RemediationItems} + "approvalItems" = ${ApprovalItems} + "name" = ${Name} + "completed" = ${Completed} + "numItems" = ${NumItems} + "form" = ${Form} + "errors" = ${Errors} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to WorkItems + +.DESCRIPTION + +Convert from JSON to WorkItems + +.PARAMETER Json + +Json object + +.OUTPUTS + +WorkItems +#> +function ConvertFrom-V2024JsonToWorkItems { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024WorkItems' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024WorkItems + $AllProperties = ("id", "requesterId", "requesterDisplayName", "ownerId", "ownerName", "created", "modified", "description", "state", "type", "remediationItems", "approvalItems", "name", "completed", "numItems", "form", "errors") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requesterId"))) { #optional property not found + $RequesterId = $null + } else { + $RequesterId = $JsonParameters.PSobject.Properties["requesterId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requesterDisplayName"))) { #optional property not found + $RequesterDisplayName = $null + } else { + $RequesterDisplayName = $JsonParameters.PSobject.Properties["requesterDisplayName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "ownerId"))) { #optional property not found + $OwnerId = $null + } else { + $OwnerId = $JsonParameters.PSobject.Properties["ownerId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "ownerName"))) { #optional property not found + $OwnerName = $null + } else { + $OwnerName = $JsonParameters.PSobject.Properties["ownerName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "state"))) { #optional property not found + $State = $null + } else { + $State = $JsonParameters.PSobject.Properties["state"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "remediationItems"))) { #optional property not found + $RemediationItems = $null + } else { + $RemediationItems = $JsonParameters.PSobject.Properties["remediationItems"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "approvalItems"))) { #optional property not found + $ApprovalItems = $null + } else { + $ApprovalItems = $JsonParameters.PSobject.Properties["approvalItems"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "completed"))) { #optional property not found + $Completed = $null + } else { + $Completed = $JsonParameters.PSobject.Properties["completed"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "numItems"))) { #optional property not found + $NumItems = $null + } else { + $NumItems = $JsonParameters.PSobject.Properties["numItems"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "form"))) { #optional property not found + $Form = $null + } else { + $Form = $JsonParameters.PSobject.Properties["form"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "errors"))) { #optional property not found + $Errors = $null + } else { + $Errors = $JsonParameters.PSobject.Properties["errors"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "requesterId" = ${RequesterId} + "requesterDisplayName" = ${RequesterDisplayName} + "ownerId" = ${OwnerId} + "ownerName" = ${OwnerName} + "created" = ${Created} + "modified" = ${Modified} + "description" = ${Description} + "state" = ${State} + "type" = ${Type} + "remediationItems" = ${RemediationItems} + "approvalItems" = ${ApprovalItems} + "name" = ${Name} + "completed" = ${Completed} + "numItems" = ${NumItems} + "form" = ${Form} + "errors" = ${Errors} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkItemsCount.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkItemsCount.ps1 new file mode 100644 index 000000000..9477c691f --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkItemsCount.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Count +The count of work items +.OUTPUTS + +WorkItemsCount +#> + +function Initialize-V2024WorkItemsCount { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${Count} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024WorkItemsCount' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "count" = ${Count} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to WorkItemsCount + +.DESCRIPTION + +Convert from JSON to WorkItemsCount + +.PARAMETER Json + +Json object + +.OUTPUTS + +WorkItemsCount +#> +function ConvertFrom-V2024JsonToWorkItemsCount { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024WorkItemsCount' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024WorkItemsCount + $AllProperties = ("count") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "count"))) { #optional property not found + $Count = $null + } else { + $Count = $JsonParameters.PSobject.Properties["count"].value + } + + $PSO = [PSCustomObject]@{ + "count" = ${Count} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkItemsForm.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkItemsForm.ps1 new file mode 100644 index 000000000..2d20f178f --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkItemsForm.ps1 @@ -0,0 +1,161 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +ID of the form +.PARAMETER Name +Name of the form +.PARAMETER Title +The form title +.PARAMETER Subtitle +The form subtitle. +.PARAMETER TargetUser +The name of the user that should be shown this form +.PARAMETER Sections +Sections of the form +.OUTPUTS + +WorkItemsForm +#> + +function Initialize-V2024WorkItemsForm { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Title}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Subtitle}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${TargetUser}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${Sections} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024WorkItemsForm' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "title" = ${Title} + "subtitle" = ${Subtitle} + "targetUser" = ${TargetUser} + "sections" = ${Sections} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to WorkItemsForm + +.DESCRIPTION + +Convert from JSON to WorkItemsForm + +.PARAMETER Json + +Json object + +.OUTPUTS + +WorkItemsForm +#> +function ConvertFrom-V2024JsonToWorkItemsForm { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024WorkItemsForm' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024WorkItemsForm + $AllProperties = ("id", "name", "title", "subtitle", "targetUser", "sections") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "title"))) { #optional property not found + $Title = $null + } else { + $Title = $JsonParameters.PSobject.Properties["title"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "subtitle"))) { #optional property not found + $Subtitle = $null + } else { + $Subtitle = $JsonParameters.PSobject.Properties["subtitle"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "targetUser"))) { #optional property not found + $TargetUser = $null + } else { + $TargetUser = $JsonParameters.PSobject.Properties["targetUser"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "sections"))) { #optional property not found + $Sections = $null + } else { + $Sections = $JsonParameters.PSobject.Properties["sections"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "title" = ${Title} + "subtitle" = ${Subtitle} + "targetUser" = ${TargetUser} + "sections" = ${Sections} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkItemsSummary.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkItemsSummary.ps1 new file mode 100644 index 000000000..8fe49cd3b --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkItemsSummary.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Open +The count of open work items +.PARAMETER Completed +The count of completed work items +.PARAMETER Total +The count of total work items +.OUTPUTS + +WorkItemsSummary +#> + +function Initialize-V2024WorkItemsSummary { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${Open}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${Completed}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${Total} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024WorkItemsSummary' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "open" = ${Open} + "completed" = ${Completed} + "total" = ${Total} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to WorkItemsSummary + +.DESCRIPTION + +Convert from JSON to WorkItemsSummary + +.PARAMETER Json + +Json object + +.OUTPUTS + +WorkItemsSummary +#> +function ConvertFrom-V2024JsonToWorkItemsSummary { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024WorkItemsSummary' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024WorkItemsSummary + $AllProperties = ("open", "completed", "total") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "open"))) { #optional property not found + $Open = $null + } else { + $Open = $JsonParameters.PSobject.Properties["open"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "completed"))) { #optional property not found + $Completed = $null + } else { + $Completed = $JsonParameters.PSobject.Properties["completed"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "total"))) { #optional property not found + $Total = $null + } else { + $Total = $JsonParameters.PSobject.Properties["total"].value + } + + $PSO = [PSCustomObject]@{ + "open" = ${Open} + "completed" = ${Completed} + "total" = ${Total} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/Workflow.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Workflow.ps1 new file mode 100644 index 000000000..1c4f66a23 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/Workflow.ps1 @@ -0,0 +1,252 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Name +The name of the workflow +.PARAMETER Owner +No description available. +.PARAMETER Description +Description of what the workflow accomplishes +.PARAMETER Definition +No description available. +.PARAMETER Enabled +Enable or disable the workflow. Workflows cannot be created in an enabled state. +.PARAMETER Trigger +No description available. +.PARAMETER Id +Workflow ID. This is a UUID generated upon creation. +.PARAMETER ExecutionCount +The number of times this workflow has been executed. +.PARAMETER FailureCount +The number of times this workflow has failed during execution. +.PARAMETER Created +The date and time the workflow was created. +.PARAMETER Modified +The date and time the workflow was modified. +.PARAMETER ModifiedBy +No description available. +.PARAMETER Creator +No description available. +.OUTPUTS + +Workflow +#> + +function Initialize-V2024Workflow { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Owner}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Definition}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Enabled} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Trigger}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${ExecutionCount}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${FailureCount}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Modified}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${ModifiedBy}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Creator} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024Workflow' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "owner" = ${Owner} + "description" = ${Description} + "definition" = ${Definition} + "enabled" = ${Enabled} + "trigger" = ${Trigger} + "id" = ${Id} + "executionCount" = ${ExecutionCount} + "failureCount" = ${FailureCount} + "created" = ${Created} + "modified" = ${Modified} + "modifiedBy" = ${ModifiedBy} + "creator" = ${Creator} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to Workflow + +.DESCRIPTION + +Convert from JSON to Workflow + +.PARAMETER Json + +Json object + +.OUTPUTS + +Workflow +#> +function ConvertFrom-V2024JsonToWorkflow { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024Workflow' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024Workflow + $AllProperties = ("name", "owner", "description", "definition", "enabled", "trigger", "id", "executionCount", "failureCount", "created", "modified", "modifiedBy", "creator") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "owner"))) { #optional property not found + $Owner = $null + } else { + $Owner = $JsonParameters.PSobject.Properties["owner"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "definition"))) { #optional property not found + $Definition = $null + } else { + $Definition = $JsonParameters.PSobject.Properties["definition"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "enabled"))) { #optional property not found + $Enabled = $null + } else { + $Enabled = $JsonParameters.PSobject.Properties["enabled"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "trigger"))) { #optional property not found + $Trigger = $null + } else { + $Trigger = $JsonParameters.PSobject.Properties["trigger"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "executionCount"))) { #optional property not found + $ExecutionCount = $null + } else { + $ExecutionCount = $JsonParameters.PSobject.Properties["executionCount"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "failureCount"))) { #optional property not found + $FailureCount = $null + } else { + $FailureCount = $JsonParameters.PSobject.Properties["failureCount"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modifiedBy"))) { #optional property not found + $ModifiedBy = $null + } else { + $ModifiedBy = $JsonParameters.PSobject.Properties["modifiedBy"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "creator"))) { #optional property not found + $Creator = $null + } else { + $Creator = $JsonParameters.PSobject.Properties["creator"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "owner" = ${Owner} + "description" = ${Description} + "definition" = ${Definition} + "enabled" = ${Enabled} + "trigger" = ${Trigger} + "id" = ${Id} + "executionCount" = ${ExecutionCount} + "failureCount" = ${FailureCount} + "created" = ${Created} + "modified" = ${Modified} + "modifiedBy" = ${ModifiedBy} + "creator" = ${Creator} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkflowAllOfCreator.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkflowAllOfCreator.ps1 new file mode 100644 index 000000000..0863e0540 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkflowAllOfCreator.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Workflow creator's identity. + +.PARAMETER Type +Workflow creator's DTO type. +.PARAMETER Id +Workflow creator's identity ID. +.PARAMETER Name +Workflow creator's display name. +.OUTPUTS + +WorkflowAllOfCreator +#> + +function Initialize-V2024WorkflowAllOfCreator { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024WorkflowAllOfCreator' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to WorkflowAllOfCreator + +.DESCRIPTION + +Convert from JSON to WorkflowAllOfCreator + +.PARAMETER Json + +Json object + +.OUTPUTS + +WorkflowAllOfCreator +#> +function ConvertFrom-V2024JsonToWorkflowAllOfCreator { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024WorkflowAllOfCreator' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024WorkflowAllOfCreator + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkflowBody.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkflowBody.ps1 new file mode 100644 index 000000000..1531899eb --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkflowBody.ps1 @@ -0,0 +1,161 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Name +The name of the workflow +.PARAMETER Owner +No description available. +.PARAMETER Description +Description of what the workflow accomplishes +.PARAMETER Definition +No description available. +.PARAMETER Enabled +Enable or disable the workflow. Workflows cannot be created in an enabled state. +.PARAMETER Trigger +No description available. +.OUTPUTS + +WorkflowBody +#> + +function Initialize-V2024WorkflowBody { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Owner}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Definition}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Enabled} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Trigger} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024WorkflowBody' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "owner" = ${Owner} + "description" = ${Description} + "definition" = ${Definition} + "enabled" = ${Enabled} + "trigger" = ${Trigger} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to WorkflowBody + +.DESCRIPTION + +Convert from JSON to WorkflowBody + +.PARAMETER Json + +Json object + +.OUTPUTS + +WorkflowBody +#> +function ConvertFrom-V2024JsonToWorkflowBody { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024WorkflowBody' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024WorkflowBody + $AllProperties = ("name", "owner", "description", "definition", "enabled", "trigger") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "owner"))) { #optional property not found + $Owner = $null + } else { + $Owner = $JsonParameters.PSobject.Properties["owner"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "definition"))) { #optional property not found + $Definition = $null + } else { + $Definition = $JsonParameters.PSobject.Properties["definition"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "enabled"))) { #optional property not found + $Enabled = $null + } else { + $Enabled = $JsonParameters.PSobject.Properties["enabled"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "trigger"))) { #optional property not found + $Trigger = $null + } else { + $Trigger = $JsonParameters.PSobject.Properties["trigger"].value + } + + $PSO = [PSCustomObject]@{ + "name" = ${Name} + "owner" = ${Owner} + "description" = ${Description} + "definition" = ${Definition} + "enabled" = ${Enabled} + "trigger" = ${Trigger} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkflowBodyOwner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkflowBodyOwner.ps1 new file mode 100644 index 000000000..39ad41884 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkflowBodyOwner.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +The identity that owns the workflow. The owner's permissions in IDN will determine what actions the workflow is allowed to perform. Ownership can be changed by updating the owner in a PUT or PATCH request. + +.PARAMETER Type +The type of object that is referenced +.PARAMETER Id +The unique ID of the object +.PARAMETER Name +The name of the object +.OUTPUTS + +WorkflowBodyOwner +#> + +function Initialize-V2024WorkflowBodyOwner { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024WorkflowBodyOwner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to WorkflowBodyOwner + +.DESCRIPTION + +Convert from JSON to WorkflowBodyOwner + +.PARAMETER Json + +Json object + +.OUTPUTS + +WorkflowBodyOwner +#> +function ConvertFrom-V2024JsonToWorkflowBodyOwner { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024WorkflowBodyOwner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024WorkflowBodyOwner + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkflowDefinition.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkflowDefinition.ps1 new file mode 100644 index 000000000..181488aec --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkflowDefinition.ps1 @@ -0,0 +1,109 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +The map of steps that the workflow will execute. + +.PARAMETER Start +The name of the starting step. +.PARAMETER Steps +One or more step objects that comprise this workflow. Please see the Workflow documentation to see the JSON schema for each step type. +.OUTPUTS + +WorkflowDefinition +#> + +function Initialize-V2024WorkflowDefinition { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Start}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Collections.Hashtable] + ${Steps} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024WorkflowDefinition' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "start" = ${Start} + "steps" = ${Steps} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to WorkflowDefinition + +.DESCRIPTION + +Convert from JSON to WorkflowDefinition + +.PARAMETER Json + +Json object + +.OUTPUTS + +WorkflowDefinition +#> +function ConvertFrom-V2024JsonToWorkflowDefinition { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024WorkflowDefinition' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024WorkflowDefinition + $AllProperties = ("start", "steps") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "start"))) { #optional property not found + $Start = $null + } else { + $Start = $JsonParameters.PSobject.Properties["start"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "steps"))) { #optional property not found + $Steps = $null + } else { + $Steps = $JsonParameters.PSobject.Properties["steps"].value + } + + $PSO = [PSCustomObject]@{ + "start" = ${Start} + "steps" = ${Steps} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkflowExecution.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkflowExecution.ps1 new file mode 100644 index 000000000..8a109d9b1 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkflowExecution.ps1 @@ -0,0 +1,162 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +Workflow execution ID. +.PARAMETER WorkflowId +Workflow ID. +.PARAMETER RequestId +Backend ID that tracks a workflow request in the system. Provide this ID in a customer support ticket for debugging purposes. +.PARAMETER StartTime +Date/time when the workflow started. +.PARAMETER CloseTime +Date/time when the workflow ended. +.PARAMETER Status +Workflow execution status. +.OUTPUTS + +WorkflowExecution +#> + +function Initialize-V2024WorkflowExecution { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${WorkflowId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${RequestId}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${StartTime}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${CloseTime}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("Completed", "Failed", "Canceled", "Executing")] + [String] + ${Status} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024WorkflowExecution' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "workflowId" = ${WorkflowId} + "requestId" = ${RequestId} + "startTime" = ${StartTime} + "closeTime" = ${CloseTime} + "status" = ${Status} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to WorkflowExecution + +.DESCRIPTION + +Convert from JSON to WorkflowExecution + +.PARAMETER Json + +Json object + +.OUTPUTS + +WorkflowExecution +#> +function ConvertFrom-V2024JsonToWorkflowExecution { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024WorkflowExecution' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024WorkflowExecution + $AllProperties = ("id", "workflowId", "requestId", "startTime", "closeTime", "status") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "workflowId"))) { #optional property not found + $WorkflowId = $null + } else { + $WorkflowId = $JsonParameters.PSobject.Properties["workflowId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "requestId"))) { #optional property not found + $RequestId = $null + } else { + $RequestId = $JsonParameters.PSobject.Properties["requestId"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "startTime"))) { #optional property not found + $StartTime = $null + } else { + $StartTime = $JsonParameters.PSobject.Properties["startTime"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "closeTime"))) { #optional property not found + $CloseTime = $null + } else { + $CloseTime = $JsonParameters.PSobject.Properties["closeTime"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { #optional property not found + $Status = $null + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "workflowId" = ${WorkflowId} + "requestId" = ${RequestId} + "startTime" = ${StartTime} + "closeTime" = ${CloseTime} + "status" = ${Status} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkflowExecutionEvent.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkflowExecutionEvent.ps1 new file mode 100644 index 000000000..dba16686a --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkflowExecutionEvent.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Type +The type of event +.PARAMETER Timestamp +The date-time when the event occurred +.PARAMETER Attributes +Additional attributes associated with the event +.OUTPUTS + +WorkflowExecutionEvent +#> + +function Initialize-V2024WorkflowExecutionEvent { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("WorkflowExecutionScheduled", "WorkflowExecutionStarted", "WorkflowExecutionCompleted", "WorkflowExecutionFailed", "WorkflowTaskScheduled", "WorkflowTaskStarted", "WorkflowTaskCompleted", "WorkflowTaskFailed", "ActivityTaskScheduled", "ActivityTaskStarted", "ActivityTaskCompleted", "ActivityTaskFailed")] + [PSCustomObject] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Timestamp}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Attributes} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024WorkflowExecutionEvent' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "timestamp" = ${Timestamp} + "attributes" = ${Attributes} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to WorkflowExecutionEvent + +.DESCRIPTION + +Convert from JSON to WorkflowExecutionEvent + +.PARAMETER Json + +Json object + +.OUTPUTS + +WorkflowExecutionEvent +#> +function ConvertFrom-V2024JsonToWorkflowExecutionEvent { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024WorkflowExecutionEvent' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024WorkflowExecutionEvent + $AllProperties = ("type", "timestamp", "attributes") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "timestamp"))) { #optional property not found + $Timestamp = $null + } else { + $Timestamp = $JsonParameters.PSobject.Properties["timestamp"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributes"))) { #optional property not found + $Attributes = $null + } else { + $Attributes = $JsonParameters.PSobject.Properties["attributes"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "timestamp" = ${Timestamp} + "attributes" = ${Attributes} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkflowLibraryAction.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkflowLibraryAction.ps1 new file mode 100644 index 000000000..03f083ab0 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkflowLibraryAction.ps1 @@ -0,0 +1,239 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +Action ID. This is a static namespaced ID for the action +.PARAMETER Name +Action Name +.PARAMETER Type +Action type +.PARAMETER Description +Action Description +.PARAMETER FormFields +One or more inputs that the action accepts +.PARAMETER ExampleOutput +No description available. +.PARAMETER Deprecated +No description available. +.PARAMETER DeprecatedBy +No description available. +.PARAMETER VersionNumber +Version number +.PARAMETER IsSimulationEnabled +No description available. +.PARAMETER IsDynamicSchema +Determines whether the dynamic output schema is returned in place of the action's output schema. The dynamic schema lists non-static properties, like properties of a workflow form where each form has different fields. These will be provided dynamically based on available form fields. +.PARAMETER OutputSchema +Defines the output schema, if any, that this action produces. +.OUTPUTS + +WorkflowLibraryAction +#> + +function Initialize-V2024WorkflowLibraryAction { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${FormFields}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${ExampleOutput}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Deprecated}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${DeprecatedBy}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Int32]] + ${VersionNumber}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${IsSimulationEnabled}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${IsDynamicSchema} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${OutputSchema} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024WorkflowLibraryAction' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "type" = ${Type} + "description" = ${Description} + "formFields" = ${FormFields} + "exampleOutput" = ${ExampleOutput} + "deprecated" = ${Deprecated} + "deprecatedBy" = ${DeprecatedBy} + "versionNumber" = ${VersionNumber} + "isSimulationEnabled" = ${IsSimulationEnabled} + "isDynamicSchema" = ${IsDynamicSchema} + "outputSchema" = ${OutputSchema} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to WorkflowLibraryAction + +.DESCRIPTION + +Convert from JSON to WorkflowLibraryAction + +.PARAMETER Json + +Json object + +.OUTPUTS + +WorkflowLibraryAction +#> +function ConvertFrom-V2024JsonToWorkflowLibraryAction { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024WorkflowLibraryAction' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024WorkflowLibraryAction + $AllProperties = ("id", "name", "type", "description", "formFields", "exampleOutput", "deprecated", "deprecatedBy", "versionNumber", "isSimulationEnabled", "isDynamicSchema", "outputSchema") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "formFields"))) { #optional property not found + $FormFields = $null + } else { + $FormFields = $JsonParameters.PSobject.Properties["formFields"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "exampleOutput"))) { #optional property not found + $ExampleOutput = $null + } else { + $ExampleOutput = $JsonParameters.PSobject.Properties["exampleOutput"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "deprecated"))) { #optional property not found + $Deprecated = $null + } else { + $Deprecated = $JsonParameters.PSobject.Properties["deprecated"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "deprecatedBy"))) { #optional property not found + $DeprecatedBy = $null + } else { + $DeprecatedBy = $JsonParameters.PSobject.Properties["deprecatedBy"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "versionNumber"))) { #optional property not found + $VersionNumber = $null + } else { + $VersionNumber = $JsonParameters.PSobject.Properties["versionNumber"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "isSimulationEnabled"))) { #optional property not found + $IsSimulationEnabled = $null + } else { + $IsSimulationEnabled = $JsonParameters.PSobject.Properties["isSimulationEnabled"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "isDynamicSchema"))) { #optional property not found + $IsDynamicSchema = $null + } else { + $IsDynamicSchema = $JsonParameters.PSobject.Properties["isDynamicSchema"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "outputSchema"))) { #optional property not found + $OutputSchema = $null + } else { + $OutputSchema = $JsonParameters.PSobject.Properties["outputSchema"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "type" = ${Type} + "description" = ${Description} + "formFields" = ${FormFields} + "exampleOutput" = ${ExampleOutput} + "deprecated" = ${Deprecated} + "deprecatedBy" = ${DeprecatedBy} + "versionNumber" = ${VersionNumber} + "isSimulationEnabled" = ${IsSimulationEnabled} + "isDynamicSchema" = ${IsDynamicSchema} + "outputSchema" = ${OutputSchema} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkflowLibraryActionExampleOutput.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkflowLibraryActionExampleOutput.ps1 new file mode 100644 index 000000000..2edfc120f --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkflowLibraryActionExampleOutput.ps1 @@ -0,0 +1,82 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Json + +JSON object + +.OUTPUTS + +WorkflowLibraryActionExampleOutput +#> +function ConvertFrom-V2024JsonToWorkflowLibraryActionExampleOutput { + [CmdletBinding()] + Param ( + [AllowEmptyString()] + [string]$Json + ) + + Process { + $match = 0 + $matchType = $null + $matchInstance = $null + + # try to match SystemCollectionsHashtable defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToSystemCollectionsHashtable $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "SystemCollectionsHashtable" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'SystemCollectionsHashtable' defined in oneOf (V2024WorkflowLibraryActionExampleOutput). Proceeding to the next one if any." + } + + # try to match SystemCollectionsHashtable[] defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToSystemCollectionsHashtable[] $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "SystemCollectionsHashtable[]" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'SystemCollectionsHashtable[]' defined in oneOf (V2024WorkflowLibraryActionExampleOutput). Proceeding to the next one if any." + } + + if ($match -gt 1) { + throw "Error! The JSON payload matches more than one type defined in oneOf schemas ([SystemCollectionsHashtable, SystemCollectionsHashtable[]]). JSON Payload: $($Json)" + } elseif ($match -eq 1) { + return [PSCustomObject]@{ + "ActualType" = ${matchType} + "ActualInstance" = ${matchInstance} + "OneOfSchemas" = @("SystemCollectionsHashtable", "SystemCollectionsHashtable[]") + } + } else { + throw "Error! The JSON payload doesn't matches any type defined in oneOf schemas ([SystemCollectionsHashtable, SystemCollectionsHashtable[]]). JSON Payload: $($Json)" + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkflowLibraryFormFields.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkflowLibraryFormFields.ps1 new file mode 100644 index 000000000..9fb0a66f5 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkflowLibraryFormFields.ps1 @@ -0,0 +1,162 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Description +Description of the form field +.PARAMETER HelpText +Describes the form field in the UI +.PARAMETER Label +A human readable name for this form field in the UI +.PARAMETER Name +The name of the input attribute +.PARAMETER Required +Denotes if this field is a required attribute +.PARAMETER Type +The type of the form field +.OUTPUTS + +WorkflowLibraryFormFields +#> + +function Initialize-V2024WorkflowLibraryFormFields { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${HelpText}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Label}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Required} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("text", "textarea", "boolean", "email", "url", "number", "json", "checkbox", "jsonpath", "select", "multiType", "duration", "toggle", "formPicker", "identityPicker", "governanceGroupPicker", "string", "object", "array", "secret", "keyValuePairs", "emailPicker", "advancedToggle", "variableCreator", "htmlEditor")] + [String] + ${Type} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024WorkflowLibraryFormFields' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "description" = ${Description} + "helpText" = ${HelpText} + "label" = ${Label} + "name" = ${Name} + "required" = ${Required} + "type" = ${Type} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to WorkflowLibraryFormFields + +.DESCRIPTION + +Convert from JSON to WorkflowLibraryFormFields + +.PARAMETER Json + +Json object + +.OUTPUTS + +WorkflowLibraryFormFields +#> +function ConvertFrom-V2024JsonToWorkflowLibraryFormFields { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024WorkflowLibraryFormFields' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024WorkflowLibraryFormFields + $AllProperties = ("description", "helpText", "label", "name", "required", "type") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "helpText"))) { #optional property not found + $HelpText = $null + } else { + $HelpText = $JsonParameters.PSobject.Properties["helpText"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "label"))) { #optional property not found + $Label = $null + } else { + $Label = $JsonParameters.PSobject.Properties["label"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "required"))) { #optional property not found + $Required = $null + } else { + $Required = $JsonParameters.PSobject.Properties["required"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + $PSO = [PSCustomObject]@{ + "description" = ${Description} + "helpText" = ${HelpText} + "label" = ${Label} + "name" = ${Name} + "required" = ${Required} + "type" = ${Type} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkflowLibraryOperator.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkflowLibraryOperator.ps1 new file mode 100644 index 000000000..02729c2b4 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkflowLibraryOperator.ps1 @@ -0,0 +1,200 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +Operator ID. +.PARAMETER Name +Operator friendly name +.PARAMETER Type +Operator type +.PARAMETER Description +Description of the operator +.PARAMETER IsDynamicSchema +Determines whether the dynamic output schema is returned in place of the action's output schema. The dynamic schema lists non-static properties, like properties of a workflow form where each form has different fields. These will be provided dynamically based on available form fields. +.PARAMETER Deprecated +No description available. +.PARAMETER DeprecatedBy +No description available. +.PARAMETER IsSimulationEnabled +No description available. +.PARAMETER FormFields +One or more inputs that the operator accepts +.OUTPUTS + +WorkflowLibraryOperator +#> + +function Initialize-V2024WorkflowLibraryOperator { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${IsDynamicSchema}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Deprecated}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${DeprecatedBy}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${IsSimulationEnabled}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${FormFields} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024WorkflowLibraryOperator' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "type" = ${Type} + "description" = ${Description} + "isDynamicSchema" = ${IsDynamicSchema} + "deprecated" = ${Deprecated} + "deprecatedBy" = ${DeprecatedBy} + "isSimulationEnabled" = ${IsSimulationEnabled} + "formFields" = ${FormFields} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to WorkflowLibraryOperator + +.DESCRIPTION + +Convert from JSON to WorkflowLibraryOperator + +.PARAMETER Json + +Json object + +.OUTPUTS + +WorkflowLibraryOperator +#> +function ConvertFrom-V2024JsonToWorkflowLibraryOperator { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024WorkflowLibraryOperator' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024WorkflowLibraryOperator + $AllProperties = ("id", "name", "type", "description", "isDynamicSchema", "deprecated", "deprecatedBy", "isSimulationEnabled", "formFields") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "isDynamicSchema"))) { #optional property not found + $IsDynamicSchema = $null + } else { + $IsDynamicSchema = $JsonParameters.PSobject.Properties["isDynamicSchema"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "deprecated"))) { #optional property not found + $Deprecated = $null + } else { + $Deprecated = $JsonParameters.PSobject.Properties["deprecated"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "deprecatedBy"))) { #optional property not found + $DeprecatedBy = $null + } else { + $DeprecatedBy = $JsonParameters.PSobject.Properties["deprecatedBy"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "isSimulationEnabled"))) { #optional property not found + $IsSimulationEnabled = $null + } else { + $IsSimulationEnabled = $JsonParameters.PSobject.Properties["isSimulationEnabled"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "formFields"))) { #optional property not found + $FormFields = $null + } else { + $FormFields = $JsonParameters.PSobject.Properties["formFields"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "name" = ${Name} + "type" = ${Type} + "description" = ${Description} + "isDynamicSchema" = ${IsDynamicSchema} + "deprecated" = ${Deprecated} + "deprecatedBy" = ${DeprecatedBy} + "isSimulationEnabled" = ${IsSimulationEnabled} + "formFields" = ${FormFields} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkflowLibraryTrigger.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkflowLibraryTrigger.ps1 new file mode 100644 index 000000000..7e503a913 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkflowLibraryTrigger.ps1 @@ -0,0 +1,227 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +Trigger ID. This is a static namespaced ID for the trigger. +.PARAMETER Type +Trigger type +.PARAMETER Deprecated +No description available. +.PARAMETER DeprecatedBy +No description available. +.PARAMETER IsSimulationEnabled +No description available. +.PARAMETER OutputSchema +Example output schema +.PARAMETER Name +Trigger Name +.PARAMETER Description +Trigger Description +.PARAMETER IsDynamicSchema +Determines whether the dynamic output schema is returned in place of the action's output schema. The dynamic schema lists non-static properties, like properties of a workflow form where each form has different fields. These will be provided dynamically based on available form fields. +.PARAMETER InputExample +Example trigger payload if applicable +.PARAMETER FormFields +One or more inputs that the trigger accepts +.OUTPUTS + +WorkflowLibraryTrigger +#> + +function Initialize-V2024WorkflowLibraryTrigger { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("EVENT", "SCHEDULED", "EXTERNAL")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${Deprecated}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${DeprecatedBy}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${IsSimulationEnabled}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${OutputSchema}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[Boolean]] + ${IsDynamicSchema} = $false, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${InputExample}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject[]] + ${FormFields} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024WorkflowLibraryTrigger' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + "deprecated" = ${Deprecated} + "deprecatedBy" = ${DeprecatedBy} + "isSimulationEnabled" = ${IsSimulationEnabled} + "outputSchema" = ${OutputSchema} + "name" = ${Name} + "description" = ${Description} + "isDynamicSchema" = ${IsDynamicSchema} + "inputExample" = ${InputExample} + "formFields" = ${FormFields} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to WorkflowLibraryTrigger + +.DESCRIPTION + +Convert from JSON to WorkflowLibraryTrigger + +.PARAMETER Json + +Json object + +.OUTPUTS + +WorkflowLibraryTrigger +#> +function ConvertFrom-V2024JsonToWorkflowLibraryTrigger { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024WorkflowLibraryTrigger' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024WorkflowLibraryTrigger + $AllProperties = ("id", "type", "deprecated", "deprecatedBy", "isSimulationEnabled", "outputSchema", "name", "description", "isDynamicSchema", "inputExample", "formFields") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "deprecated"))) { #optional property not found + $Deprecated = $null + } else { + $Deprecated = $JsonParameters.PSobject.Properties["deprecated"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "deprecatedBy"))) { #optional property not found + $DeprecatedBy = $null + } else { + $DeprecatedBy = $JsonParameters.PSobject.Properties["deprecatedBy"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "isSimulationEnabled"))) { #optional property not found + $IsSimulationEnabled = $null + } else { + $IsSimulationEnabled = $JsonParameters.PSobject.Properties["isSimulationEnabled"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "outputSchema"))) { #optional property not found + $OutputSchema = $null + } else { + $OutputSchema = $JsonParameters.PSobject.Properties["outputSchema"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "isDynamicSchema"))) { #optional property not found + $IsDynamicSchema = $null + } else { + $IsDynamicSchema = $JsonParameters.PSobject.Properties["isDynamicSchema"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "inputExample"))) { #optional property not found + $InputExample = $null + } else { + $InputExample = $JsonParameters.PSobject.Properties["inputExample"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "formFields"))) { #optional property not found + $FormFields = $null + } else { + $FormFields = $JsonParameters.PSobject.Properties["formFields"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "type" = ${Type} + "deprecated" = ${Deprecated} + "deprecatedBy" = ${DeprecatedBy} + "isSimulationEnabled" = ${IsSimulationEnabled} + "outputSchema" = ${OutputSchema} + "name" = ${Name} + "description" = ${Description} + "isDynamicSchema" = ${IsDynamicSchema} + "inputExample" = ${InputExample} + "formFields" = ${FormFields} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkflowModifiedBy.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkflowModifiedBy.ps1 new file mode 100644 index 000000000..d0e54572b --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkflowModifiedBy.ps1 @@ -0,0 +1,123 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Type +No description available. +.PARAMETER Id +Identity ID +.PARAMETER Name +Human-readable display name of identity. +.OUTPUTS + +WorkflowModifiedBy +#> + +function Initialize-V2024WorkflowModifiedBy { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024WorkflowModifiedBy' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to WorkflowModifiedBy + +.DESCRIPTION + +Convert from JSON to WorkflowModifiedBy + +.PARAMETER Json + +Json object + +.OUTPUTS + +WorkflowModifiedBy +#> +function ConvertFrom-V2024JsonToWorkflowModifiedBy { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024WorkflowModifiedBy' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024WorkflowModifiedBy + $AllProperties = ("type", "id", "name") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkflowOAuthClient.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkflowOAuthClient.ps1 new file mode 100644 index 000000000..e1e77b596 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkflowOAuthClient.ps1 @@ -0,0 +1,122 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +OAuth client ID for the trigger. This is a UUID generated upon creation. +.PARAMETER Secret +OAuthClient secret. +.PARAMETER Url +URL for the external trigger to invoke +.OUTPUTS + +WorkflowOAuthClient +#> + +function Initialize-V2024WorkflowOAuthClient { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Secret}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Url} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024WorkflowOAuthClient' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "secret" = ${Secret} + "url" = ${Url} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to WorkflowOAuthClient + +.DESCRIPTION + +Convert from JSON to WorkflowOAuthClient + +.PARAMETER Json + +Json object + +.OUTPUTS + +WorkflowOAuthClient +#> +function ConvertFrom-V2024JsonToWorkflowOAuthClient { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024WorkflowOAuthClient' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024WorkflowOAuthClient + $AllProperties = ("id", "secret", "url") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "secret"))) { #optional property not found + $Secret = $null + } else { + $Secret = $JsonParameters.PSobject.Properties["secret"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "url"))) { #optional property not found + $Url = $null + } else { + $Url = $JsonParameters.PSobject.Properties["url"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "secret" = ${Secret} + "url" = ${Url} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkflowTrigger.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkflowTrigger.ps1 new file mode 100644 index 000000000..ae51d7b70 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkflowTrigger.ps1 @@ -0,0 +1,135 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +The trigger that starts the workflow + +.PARAMETER Type +The trigger type +.PARAMETER DisplayName +No description available. +.PARAMETER Attributes +No description available. +.OUTPUTS + +WorkflowTrigger +#> + +function Initialize-V2024WorkflowTrigger { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("EVENT", "EXTERNAL", "SCHEDULED")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${DisplayName}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Attributes} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024WorkflowTrigger' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Type) { + throw "invalid value for 'Type', 'Type' cannot be null." + } + + if (!$Attributes) { + throw "invalid value for 'Attributes', 'Attributes' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "displayName" = ${DisplayName} + "attributes" = ${Attributes} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to WorkflowTrigger + +.DESCRIPTION + +Convert from JSON to WorkflowTrigger + +.PARAMETER Json + +Json object + +.OUTPUTS + +WorkflowTrigger +#> +function ConvertFrom-V2024JsonToWorkflowTrigger { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024WorkflowTrigger' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024WorkflowTrigger + $AllProperties = ("type", "displayName", "attributes") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'type' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { + throw "Error! JSON cannot be serialized due to the required property 'type' missing." + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "attributes"))) { + throw "Error! JSON cannot be serialized due to the required property 'attributes' missing." + } else { + $Attributes = $JsonParameters.PSobject.Properties["attributes"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "displayName"))) { #optional property not found + $DisplayName = $null + } else { + $DisplayName = $JsonParameters.PSobject.Properties["displayName"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "displayName" = ${DisplayName} + "attributes" = ${Attributes} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkflowTriggerAttributes.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkflowTriggerAttributes.ps1 new file mode 100644 index 000000000..bb6e941e6 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkflowTriggerAttributes.ps1 @@ -0,0 +1,98 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +Workflow Trigger Attributes. + +.PARAMETER Json + +JSON object + +.OUTPUTS + +WorkflowTriggerAttributes +#> +function ConvertFrom-V2024JsonToWorkflowTriggerAttributes { + [CmdletBinding()] + Param ( + [AllowEmptyString()] + [string]$Json + ) + + Process { + $match = 0 + $matchType = $null + $matchInstance = $null + + # try to match EventAttributes defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToEventAttributes $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "EventAttributes" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'EventAttributes' defined in oneOf (V2024WorkflowTriggerAttributes). Proceeding to the next one if any." + } + + # try to match ExternalAttributes defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToExternalAttributes $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "ExternalAttributes" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'ExternalAttributes' defined in oneOf (V2024WorkflowTriggerAttributes). Proceeding to the next one if any." + } + + # try to match ScheduledAttributes defined in the oneOf schemas + try { + $matchInstance = ConvertFrom-V2024JsonToScheduledAttributes $Json + + foreach($property in $matchInstance.PsObject.Properties) { + if ($null -ne $property.Value) { + $matchType = "ScheduledAttributes" + $match++ + break + } + } + } catch { + # fail to match the schema defined in oneOf, proceed to the next one + Write-Debug "Failed to match 'ScheduledAttributes' defined in oneOf (V2024WorkflowTriggerAttributes). Proceeding to the next one if any." + } + + if ($match -gt 1) { + throw "Error! The JSON payload matches more than one type defined in oneOf schemas ([EventAttributes, ExternalAttributes, ScheduledAttributes]). JSON Payload: $($Json)" + } elseif ($match -eq 1) { + return [PSCustomObject]@{ + "ActualType" = ${matchType} + "ActualInstance" = ${matchInstance} + "OneOfSchemas" = @("EventAttributes", "ExternalAttributes", "ScheduledAttributes") + } + } else { + throw "Error! The JSON payload doesn't matches any type defined in oneOf schemas ([EventAttributes, ExternalAttributes, ScheduledAttributes]). JSON Payload: $($Json)" + } + } +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkgroupBulkDeleteRequest.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkgroupBulkDeleteRequest.ps1 new file mode 100644 index 000000000..a0f0752c4 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkgroupBulkDeleteRequest.ps1 @@ -0,0 +1,96 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Ids +List of IDs of Governance Groups to be deleted. +.OUTPUTS + +WorkgroupBulkDeleteRequest +#> + +function Initialize-V2024WorkgroupBulkDeleteRequest { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String[]] + ${Ids} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024WorkgroupBulkDeleteRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "ids" = ${Ids} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to WorkgroupBulkDeleteRequest + +.DESCRIPTION + +Convert from JSON to WorkgroupBulkDeleteRequest + +.PARAMETER Json + +Json object + +.OUTPUTS + +WorkgroupBulkDeleteRequest +#> +function ConvertFrom-V2024JsonToWorkgroupBulkDeleteRequest { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024WorkgroupBulkDeleteRequest' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024WorkgroupBulkDeleteRequest + $AllProperties = ("ids") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "ids"))) { #optional property not found + $Ids = $null + } else { + $Ids = $JsonParameters.PSobject.Properties["ids"].value + } + + $PSO = [PSCustomObject]@{ + "ids" = ${Ids} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkgroupConnectionDto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkgroupConnectionDto.ps1 new file mode 100644 index 000000000..3fa27ccd5 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkgroupConnectionDto.ps1 @@ -0,0 +1,110 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Object +No description available. +.PARAMETER ConnectionType +Connection Type. +.OUTPUTS + +WorkgroupConnectionDto +#> + +function Initialize-V2024WorkgroupConnectionDto { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Object}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("AccessRequestReviewer", "Owner", "ManagementWorkgroup")] + [String] + ${ConnectionType} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024WorkgroupConnectionDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "object" = ${Object} + "connectionType" = ${ConnectionType} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to WorkgroupConnectionDto + +.DESCRIPTION + +Convert from JSON to WorkgroupConnectionDto + +.PARAMETER Json + +Json object + +.OUTPUTS + +WorkgroupConnectionDto +#> +function ConvertFrom-V2024JsonToWorkgroupConnectionDto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024WorkgroupConnectionDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024WorkgroupConnectionDto + $AllProperties = ("object", "connectionType") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "object"))) { #optional property not found + $Object = $null + } else { + $Object = $JsonParameters.PSobject.Properties["object"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "connectionType"))) { #optional property not found + $ConnectionType = $null + } else { + $ConnectionType = $JsonParameters.PSobject.Properties["connectionType"].value + } + + $PSO = [PSCustomObject]@{ + "object" = ${Object} + "connectionType" = ${ConnectionType} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkgroupDeleteItem.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkgroupDeleteItem.ps1 new file mode 100644 index 000000000..47912f867 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkgroupDeleteItem.ps1 @@ -0,0 +1,134 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +Id of the Governance Group. +.PARAMETER Status + The HTTP response status code returned for an individual Governance Group that is requested for deletion during a bulk delete operation. > 204 - Governance Group deleted successfully. > 409 - Governance Group is in use,hence can not be deleted. > 404 - Governance Group not found. +.PARAMETER Description +Human readable status description and containing additional context information about success or failures etc. +.OUTPUTS + +WorkgroupDeleteItem +#> + +function Initialize-V2024WorkgroupDeleteItem { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Status}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024WorkgroupDeleteItem' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Status) { + throw "invalid value for 'Status', 'Status' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "status" = ${Status} + "description" = ${Description} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to WorkgroupDeleteItem + +.DESCRIPTION + +Convert from JSON to WorkgroupDeleteItem + +.PARAMETER Json + +Json object + +.OUTPUTS + +WorkgroupDeleteItem +#> +function ConvertFrom-V2024JsonToWorkgroupDeleteItem { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024WorkgroupDeleteItem' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024WorkgroupDeleteItem + $AllProperties = ("id", "status", "description") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'id' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { + throw "Error! JSON cannot be serialized due to the required property 'status' missing." + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "status" = ${Status} + "description" = ${Description} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkgroupDto.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkgroupDto.ps1 new file mode 100644 index 000000000..0dc8611bd --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkgroupDto.ps1 @@ -0,0 +1,169 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Owner +No description available. +.PARAMETER Name +Governance group name. +.PARAMETER Description +Governance group description. +.PARAMETER Created +No description available. +.PARAMETER Modified +No description available. +.OUTPUTS + +WorkgroupDto +#> + +function Initialize-V2024WorkgroupDto { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [PSCustomObject] + ${Owner}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Created}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [System.Nullable[System.DateTime]] + ${Modified} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024WorkgroupDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "owner" = ${Owner} + "name" = ${Name} + "description" = ${Description} + "created" = ${Created} + "modified" = ${Modified} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to WorkgroupDto + +.DESCRIPTION + +Convert from JSON to WorkgroupDto + +.PARAMETER Json + +Json object + +.OUTPUTS + +WorkgroupDto +#> +function ConvertFrom-V2024JsonToWorkgroupDto { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024WorkgroupDto' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024WorkgroupDto + $AllProperties = ("owner", "id", "name", "description", "memberCount", "connectionCount", "created", "modified") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "owner"))) { #optional property not found + $Owner = $null + } else { + $Owner = $JsonParameters.PSobject.Properties["owner"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "memberCount"))) { #optional property not found + $MemberCount = $null + } else { + $MemberCount = $JsonParameters.PSobject.Properties["memberCount"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "connectionCount"))) { #optional property not found + $ConnectionCount = $null + } else { + $ConnectionCount = $JsonParameters.PSobject.Properties["connectionCount"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "created"))) { #optional property not found + $Created = $null + } else { + $Created = $JsonParameters.PSobject.Properties["created"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "modified"))) { #optional property not found + $Modified = $null + } else { + $Modified = $JsonParameters.PSobject.Properties["modified"].value + } + + $PSO = [PSCustomObject]@{ + "owner" = ${Owner} + "id" = ${Id} + "name" = ${Name} + "description" = ${Description} + "memberCount" = ${MemberCount} + "connectionCount" = ${ConnectionCount} + "created" = ${Created} + "modified" = ${Modified} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkgroupDtoOwner.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkgroupDtoOwner.ps1 new file mode 100644 index 000000000..b37128edd --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkgroupDtoOwner.ps1 @@ -0,0 +1,137 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Type +Owner's DTO type. +.PARAMETER Id +Owner's identity ID. +.PARAMETER Name +Owner's name. +.OUTPUTS + +WorkgroupDtoOwner +#> + +function Initialize-V2024WorkgroupDtoOwner { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [ValidateSet("IDENTITY")] + [String] + ${Type}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Name} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024WorkgroupDtoOwner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to WorkgroupDtoOwner + +.DESCRIPTION + +Convert from JSON to WorkgroupDtoOwner + +.PARAMETER Json + +Json object + +.OUTPUTS + +WorkgroupDtoOwner +#> +function ConvertFrom-V2024JsonToWorkgroupDtoOwner { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024WorkgroupDtoOwner' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024WorkgroupDtoOwner + $AllProperties = ("type", "id", "name", "displayName", "emailAddress") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "type"))) { #optional property not found + $Type = $null + } else { + $Type = $JsonParameters.PSobject.Properties["type"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { #optional property not found + $Id = $null + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "name"))) { #optional property not found + $Name = $null + } else { + $Name = $JsonParameters.PSobject.Properties["name"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "displayName"))) { #optional property not found + $DisplayName = $null + } else { + $DisplayName = $JsonParameters.PSobject.Properties["displayName"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "emailAddress"))) { #optional property not found + $EmailAddress = $null + } else { + $EmailAddress = $JsonParameters.PSobject.Properties["emailAddress"].value + } + + $PSO = [PSCustomObject]@{ + "type" = ${Type} + "id" = ${Id} + "name" = ${Name} + "displayName" = ${DisplayName} + "emailAddress" = ${EmailAddress} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkgroupMemberAddItem.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkgroupMemberAddItem.ps1 new file mode 100644 index 000000000..b51e4f5ee --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkgroupMemberAddItem.ps1 @@ -0,0 +1,134 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +Identifier of identity in bulk member add request. +.PARAMETER Status + The HTTP response status code returned for an individual member that is requested for addition during a bulk add operation. The HTTP response status code returned for an individual Governance Group is requested for deletion. > 201 - Identity is added into Governance Group members list. > 409 - Identity is already member of Governance Group. +.PARAMETER Description +Human readable status description and containing additional context information about success or failures etc. +.OUTPUTS + +WorkgroupMemberAddItem +#> + +function Initialize-V2024WorkgroupMemberAddItem { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Status}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024WorkgroupMemberAddItem' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Status) { + throw "invalid value for 'Status', 'Status' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "status" = ${Status} + "description" = ${Description} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to WorkgroupMemberAddItem + +.DESCRIPTION + +Convert from JSON to WorkgroupMemberAddItem + +.PARAMETER Json + +Json object + +.OUTPUTS + +WorkgroupMemberAddItem +#> +function ConvertFrom-V2024JsonToWorkgroupMemberAddItem { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024WorkgroupMemberAddItem' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024WorkgroupMemberAddItem + $AllProperties = ("id", "status", "description") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'id' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { + throw "Error! JSON cannot be serialized due to the required property 'status' missing." + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "status" = ${Status} + "description" = ${Description} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkgroupMemberDeleteItem.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkgroupMemberDeleteItem.ps1 new file mode 100644 index 000000000..6f4538d66 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Model/WorkgroupMemberDeleteItem.ps1 @@ -0,0 +1,134 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + +No summary available. + +.DESCRIPTION + +No description available. + +.PARAMETER Id +Identifier of identity in bulk member add /remove request. +.PARAMETER Status + The HTTP response status code returned for an individual member that is requested for deletion during a bulk delete operation. > 204 - Identity is removed from Governance Group members list. > 404 - Identity is not member of Governance Group. +.PARAMETER Description +Human readable status description and containing additional context information about success or failures etc. +.OUTPUTS + +WorkgroupMemberDeleteItem +#> + +function Initialize-V2024WorkgroupMemberDeleteItem { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Id}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Status}, + [Parameter(ValueFromPipelineByPropertyName = $true)] + [String] + ${Description} + ) + + Process { + 'Creating PSCustomObject: PSSailpointV2024 => V2024WorkgroupMemberDeleteItem' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + if (!$Id) { + throw "invalid value for 'Id', 'Id' cannot be null." + } + + if (!$Status) { + throw "invalid value for 'Status', 'Status' cannot be null." + } + + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "status" = ${Status} + "description" = ${Description} + } + + return $PSO + } +} + +<# +.SYNOPSIS + +Convert from JSON to WorkgroupMemberDeleteItem + +.DESCRIPTION + +Convert from JSON to WorkgroupMemberDeleteItem + +.PARAMETER Json + +Json object + +.OUTPUTS + +WorkgroupMemberDeleteItem +#> +function ConvertFrom-V2024JsonToWorkgroupMemberDeleteItem { + Param( + [AllowEmptyString()] + [string]$Json + ) + + Process { + 'Converting JSON to PSCustomObject: PSSailpointV2024 => V2024WorkgroupMemberDeleteItem' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $JsonParameters = ConvertFrom-Json -InputObject $Json + + # check if Json contains properties not defined in V2024WorkgroupMemberDeleteItem + $AllProperties = ("id", "status", "description") + foreach ($name in $JsonParameters.PsObject.Properties.Name) { + if (!($AllProperties.Contains($name))) { + throw "Error! JSON key '$name' not found in the properties: $($AllProperties)" + } + } + + If ([string]::IsNullOrEmpty($Json) -or $Json -eq "{}") { # empty json + throw "Error! Empty JSON cannot be serialized due to the required property 'id' missing." + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "id"))) { + throw "Error! JSON cannot be serialized due to the required property 'id' missing." + } else { + $Id = $JsonParameters.PSobject.Properties["id"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "status"))) { + throw "Error! JSON cannot be serialized due to the required property 'status' missing." + } else { + $Status = $JsonParameters.PSobject.Properties["status"].value + } + + if (!([bool]($JsonParameters.PSobject.Properties.name -match "description"))) { #optional property not found + $Description = $null + } else { + $Description = $JsonParameters.PSobject.Properties["description"].value + } + + $PSO = [PSCustomObject]@{ + "id" = ${Id} + "status" = ${Status} + "description" = ${Description} + } + + return $PSO + } + +} + diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/PSSailpointV2024.psm1 b/PSSailpoint/v2024/src/PSSailpointV2024/PSSailpointV2024.psm1 new file mode 100644 index 000000000..c4a70dd9a --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/PSSailpointV2024.psm1 @@ -0,0 +1,37 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +#region Import functions + +# define the following classes in PowerShell +try { + Add-Type -AssemblyName System.Web -ErrorAction Ignore | Out-Null + Add-Type -AssemblyName System.Net -ErrorAction Ignore | Out-Null +} catch { + Write-Verbose $_ +} + +# set $ErrorActionPreference to 'Stop' globally +$ErrorActionPreference = 'Stop' + +# store the API client's configuration +$Script:Configuration = [System.Collections.HashTable]@{} + +$Script:CmdletBindingParameters = @('Verbose','Debug','ErrorAction','WarningAction','InformationAction','ErrorVariable','WarningVariable','InformationVariable','OutVariable','OutBuffer','PipelineVariable') + +'Api', 'Model', 'Client', 'Private' | Get-ChildItem -Path { + Join-Path $PSScriptRoot $_ +} -Filter '*.ps1' | ForEach-Object { + Write-Debug "Importing file: $($_.BaseName)" + try { + . $_.FullName + } catch { + Write-Error -Message "Failed to import function $($_.Fullname): $_" + } +} + +#endregion diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Private/Get-CommonParameters.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Private/Get-CommonParameters.ps1 new file mode 100644 index 000000000..d6ffd2632 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Private/Get-CommonParameters.ps1 @@ -0,0 +1,21 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.Synopsis + Helper function to get common parameters (Verbose, Debug, etc.) +.Example + Get-CommonParameters +#> +function Get-CommonParameters { + function tmp { + [CmdletBinding()] + Param () + } + + (Get-Command -Name tmp -CommandType Function).Parameters.Keys +} diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Private/Out-DebugParameter.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Private/Out-DebugParameter.ps1 new file mode 100644 index 000000000..a68bac95f --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Private/Out-DebugParameter.ps1 @@ -0,0 +1,44 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.Synopsis + Helper function to format debug parameter output. +.Example + $PSBoundParameters | Out-DebugParameter | Write-Debug +#> +function Out-DebugParameter { + [CmdletBinding()] + Param ( + [Parameter(ValueFromPipeline = $true, Mandatory = $true)] + [AllowEmptyCollection()] + $InputObject + ) + + Begin { + $CommonParameters = Get-CommonParameters + } + + Process { + $InputObject.GetEnumerator() | Where-Object { + $CommonParameters -notcontains $_.Key + } | Format-Table -AutoSize -Property ( + @{ + Name = 'Parameter' + Expression = {$_.Key} + }, + @{ + Name = 'Value' + Expression = {$_.Value} + } + ) | Out-String -Stream | ForEach-Object { + if ($_.Trim()) { + $_ + } + } + } +} diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Private/V2024ApiClient.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Private/V2024ApiClient.ps1 new file mode 100644 index 000000000..d44f3fabf --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Private/V2024ApiClient.ps1 @@ -0,0 +1,296 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +function Invoke-V2024ApiClient { + [OutputType('System.Collections.Hashtable')] + [CmdletBinding()] + Param( + [Parameter(Mandatory)] + [string]$Uri, + [Parameter(Mandatory)] + [AllowEmptyCollection()] + [string[]]$Accepts, + [Parameter(Mandatory)] + [AllowEmptyCollection()] + [string[]]$ContentTypes, + [Parameter(Mandatory)] + [hashtable]$HeaderParameters, + [Parameter(Mandatory)] + [hashtable]$FormParameters, + [Parameter(Mandatory)] + [hashtable]$QueryParameters, + [Parameter(Mandatory)] + [hashtable]$CookieParameters, + [Parameter(Mandatory)] + [AllowEmptyString()] + [string]$Body, + [Parameter(Mandatory)] + [string]$Method, + [Parameter(Mandatory)] + [AllowEmptyString()] + [string]$ReturnType, + [Parameter(Mandatory)] + [bool]$IsBodyNullable + ) + + 'Calling method: Invoke-V2024ApiClient' | Write-Debug + $PSBoundParameters | Out-DebugParameter | Write-Debug + + $Configuration = Get-DefaultConfiguration + $RequestUri = $Configuration["BaseUrl"] + "v2024" + $Uri + $SkipCertificateCheck = $Configuration["SkipCertificateCheck"] + + Write-Debug "Calling Endpoint: $RequestUri" + + # cookie parameters + foreach ($Parameter in $CookieParameters.GetEnumerator()) { + if ($Parameter.Name -eq "cookieAuth") { + $HeaderParameters["Cookie"] = $Parameter.Value + } else { + $HeaderParameters[$Parameter.Name] = $Parameter.Value + } + } + if ($CookieParameters -and $CookieParameters.Count -gt 1) { + Write-Warning "Multiple cookie parameters found. Currently only the first one is supported/used" + } + + # accept, content-type headers + $Accept = SelectHeaders -Headers $Accepts + if ($Accept) { + $HeaderParameters['Accept'] = $Accept + } + + try { + $Token = Get-IDNAccessToken + $HeaderParameters['Authorization'] = "Bearer $Token" + } catch { + Write-Host $_ -ForegroundColor Red + break + } + + # Add Custom Header + $HeaderParameters['X-SailPoint-SDK'] = "Powershell-1.3.1" + $HeaderParameters['User-Agent'] = "OpenAPI-Generator/1.3.1/ps" + + + $HasFormData = $False + $ContentType= SelectHeaders -Headers $ContentTypes + if ($ContentType) { + $HeaderParameters['Content-Type'] = $ContentType + if ($ContentType -eq 'multipart/form-data') { + $HasFormData = $True + } + } + + # add default headers if any + foreach ($header in $Configuration["DefaultHeaders"].GetEnumerator()) { + $HeaderParameters[$header.Name] = $header.Value + } + + # construct URL query string + $HttpValues = [System.Web.HttpUtility]::ParseQueryString([String]::Empty) + foreach ($Parameter in $QueryParameters.GetEnumerator()) { + if ($Parameter.Value.Count -gt 1) { // array + foreach ($Value in $Parameter.Value) { + $HttpValues.Add($Parameter.Key + '[]', $Value) + } + } else { + $HttpValues.Add($Parameter.Key,$Parameter.Value) + } + } + # Build the request and load it with the query string. + $UriBuilder = [System.UriBuilder]($RequestUri) + $UriBuilder.Query = $HttpValues.ToString() + + # include form parameters in the request body + if ($FormParameters -and $FormParameters.Count -gt 0) { + if ($HasFormData) { + $multipartContent = [System.Net.Http.MultipartFormDataContent]::new() + + $FormParameters.Keys | ForEach-Object { + $value = $FormParameters[$_] + $isFile = $value.GetType().FullName -eq "System.IO.FileInfo" + if($isFile) { + $FileStream = [System.IO.FileStream]::new($value.FullName, [System.IO.FileMode]::Open) + $fileHeader = [System.Net.Http.Headers.ContentDispositionHeaderValue]::new("form-data") + $fileHeader.Name = $_ + $fileHeader.FileName = $value.Name + $fileContent = [System.Net.Http.StreamContent]::new($FileStream) + $fileContent.Headers.ContentDisposition = $fileHeader + $multipartContent.Add($fileContent) + } else { + $stringHeader = [System.Net.Http.Headers.ContentDispositionHeaderValue]::new("form-data") + $stringHeader.Name = $_ + $stringContent = [System.Net.Http.StringContent]::new([string]$value) + $stringContent.Headers.ContentDisposition = $stringHeader + $multipartContent.Add($stringContent) + } + } + + $RequestBody = $multipartContent + } else { + $RequestBody = $FormParameters + } + } + + if(($ContentType -eq 'multipart/form-data') -and -not ($FormParameters -and $FormParameters.Count -gt 0)) + { + $HeaderParameters.Remove('Content-Type') + } + + + if ($Body -or $IsBodyNullable) { + $RequestBody = $Body + if ([string]::IsNullOrEmpty($RequestBody) -and $IsBodyNullable -eq $true) { + $RequestBody = "null" + } + } + + + Write-Verbose ("Request Headers: {0}" -f ($HeaderParameters | Out-String)) + Write-Verbose "Request Body: $RequestBody" + + if ($SkipCertificateCheck -eq $true) { + if ($null -eq $Configuration["Proxy"]) { + # skip certification check, no proxy + $Response = Invoke-WebRequest -Uri $UriBuilder.Uri ` + -Method $Method ` + -Headers $HeaderParameters ` + -Body $RequestBody ` + -ErrorAction Stop ` + -UseBasicParsing ` + -SkipHeaderValidation ` + -MaximumRetryCount $Configuration["MaximumRetryCount"] ` + -RetryIntervalSec $Configuration["RetryIntervalSeconds"] ` + -SkipCertificateCheck + } else { + # skip certification check, use proxy + $Response = Invoke-WebRequest -Uri $UriBuilder.Uri ` + -Method $Method ` + -Headers $HeaderParameters ` + -Body $RequestBody ` + -ErrorAction Stop ` + -UseBasicParsing ` + -SkipHeaderValidation ` + -MaximumRetryCount $Configuration["MaximumRetryCount"] ` + -RetryIntervalSec $Configuration["RetryIntervalSeconds"] ` + -SkipCertificateCheck ` + -Proxy $Configuration["Proxy"].GetProxy($UriBuilder.Uri) ` + -ProxyUseDefaultCredentials + } + } else { + if ($null -eq $Configuration["Proxy"]) { + # perform certification check, no proxy + $Response = Invoke-WebRequest -Uri $UriBuilder.Uri ` + -Method $Method ` + -Headers $HeaderParameters ` + -Body $RequestBody ` + -ErrorAction Stop ` + -UseBasicParsing ` + -SkipHeaderValidation ` + -MaximumRetryCount $Configuration["MaximumRetryCount"] ` + -RetryIntervalSec $Configuration["RetryIntervalSeconds"] + } else { + # perform certification check, use proxy + $Response = Invoke-WebRequest -Uri $UriBuilder.Uri ` + -Method $Method ` + -Headers $HeaderParameters ` + -Body $RequestBody ` + -ErrorAction Stop ` + -UseBasicParsing ` + -SkipHeaderValidation ` + -MaximumRetryCount $Configuration["MaximumRetryCount"] ` + -RetryIntervalSec $Configuration["RetryIntervalSeconds"] ` + -Proxy $Configuration["Proxy"].GetProxy($UriBuilder.Uri) ` + -ProxyUseDefaultCredentials + } + } + + return @{ + Response = DeserializeResponse -Response $Response -ReturnType $ReturnType -ContentTypes $Response.Headers["Content-Type"] + StatusCode = $Response.StatusCode + Headers = $Response.Headers + } +} + +# Select JSON MIME if present, otherwise choose the first one if available +function SelectHeaders { + Param( + [Parameter(Mandatory)] + [AllowEmptyCollection()] + [String[]]$Headers + ) + + foreach ($Header in $Headers) { + if (-not(IsJsonMIME -MIME $Header)) { + return $Header + } + } + + if (!($Headers) -or $Headers.Count -eq 0) { + return $null + } else { + return $Headers[0] # return the first one + } +} + +function IsJsonMIME { + Param( + [Parameter(Mandatory)] + [string]$MIME + ) + + if ($MIME -match "(?i)^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$") { + return $true + } else { + return $false + } +} + +function DeserializeResponse { + Param( + [Parameter(Mandatory)] + [AllowEmptyString()] + [string]$ReturnType, + [Parameter(Mandatory)] + [AllowEmptyString()] + [string]$Response, + [Parameter(Mandatory)] + [AllowNull()] + [AllowEmptyCollection()] + [string[]]$ContentTypes + ) + + If ($null -eq $ContentTypes) { + $ContentTypes = [string[]]@() + } + + If ([string]::IsNullOrEmpty($ReturnType) -and $ContentTypes.Count -eq 0) { # void response + return $Response + } Elseif ($ReturnType -match '\[\]$') { # array + return ConvertFrom-Json $Response -AsHashtable + } Elseif (@("String", "Boolean", "System.DateTime") -contains $ReturnType) { # string, boolean ,datetime + return $Response + } Else { # others (e.g. model, file) + if ($ContentTypes) { + $ContentType = $null + if ($ContentTypes.Count -gt 1) { + $ContentType = SelectHeaders -Headers $ContentTypes + } else { + $ContentType = $ContentTypes[0] + } + + if (IsJsonMIME -MIME $ContentType) { # JSON + return ConvertFrom-Json $Response -AsHashtable + } else { # XML, file, etc + return $Response + } + } else { # no content type in response header, returning raw response + return $Response + } + } +} diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Private/V2024HttpSignatureAuth.ps1 b/PSSailpoint/v2024/src/PSSailpointV2024/Private/V2024HttpSignatureAuth.ps1 new file mode 100644 index 000000000..1f176d4d2 --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Private/V2024HttpSignatureAuth.ps1 @@ -0,0 +1,436 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +<# +.SYNOPSIS + Gets the headers for HTTP signature. +.DESCRIPTION + Gets the headers for the http signature. +.PARAMETER Method + HTTP method +.PARAMETER UriBuilder + UriBuilder for url and query parameter +.PARAMETER Body + Request body +.OUTPUTS + Hashtable +#> +function Get-V2024HttpSignedHeader { + param( + [string]$Method, + [System.UriBuilder]$UriBuilder, + [string]$Body, + [hashtable]$RequestHeader + ) + + $HEADER_REQUEST_TARGET = '(request-target)' + # The time when the HTTP signature was generated. + $HEADER_CREATED = '(created)' + # The time when the HTTP signature expires. The API server should reject HTTP requests + # that have expired. + $HEADER_EXPIRES = '(expires)' + # The 'Host' header. + $HEADER_HOST = 'Host' + # The 'Date' header. + $HEADER_DATE = 'Date' + # When the 'Digest' header is included in the HTTP signature, the client automatically + # computes the digest of the HTTP request body, per RFC 3230. + $HEADER_DIGEST = 'Digest' + # The 'Authorization' header is automatically generated by the client. It includes + # the list of signed headers and a base64-encoded signature. + $HEADER_AUTHORIZATION = 'Authorization' + + #Hash table to store singed headers + $HttpSignedRequestHeader = @{ } + $HttpSignatureHeader = @{ } + $TargetHost = $UriBuilder.Host + $httpSigningConfiguration = Get-V2024ConfigurationHttpSigning + $Digest = $null + + #get the body digest + $bodyHash = Get-V2024StringHash -String $Body -HashName $httpSigningConfiguration.HashAlgorithm + if ($httpSigningConfiguration.HashAlgorithm -eq "SHA256") { + $Digest = [String]::Format("SHA-256={0}", [Convert]::ToBase64String($bodyHash)) + } elseif ($httpSigningConfiguration.HashAlgorithm -eq "SHA512") { + $Digest = [String]::Format("SHA-512={0}", [Convert]::ToBase64String($bodyHash)) + } + + $dateTime = Get-Date + #get the date in UTC + $currentDate = $dateTime.ToUniversalTime().ToString("r") + + foreach ($headerItem in $httpSigningConfiguration.HttpSigningHeader) { + + if ($headerItem -eq $HEADER_REQUEST_TARGET) { + $requestTargetPath = [string]::Format("{0} {1}{2}", $Method.ToLower(), $UriBuilder.Path, $UriBuilder.Query) + $HttpSignatureHeader.Add($HEADER_REQUEST_TARGET, $requestTargetPath) + } elseif ($headerItem -eq $HEADER_CREATED) { + $created = Get-V2024UnixTime -Date $dateTime -TotalTime TotalSeconds + $HttpSignatureHeader.Add($HEADER_CREATED, $created) + } elseif ($headerItem -eq $HEADER_EXPIRES) { + $expire = $dateTime.AddSeconds($httpSigningConfiguration.SignatureValidityPeriod) + $expireEpocTime = Get-V2024UnixTime -Date $expire -TotalTime TotalSeconds + $HttpSignatureHeader.Add($HEADER_EXPIRES, $expireEpocTime) + } elseif ($headerItem -eq $HEADER_HOST) { + $HttpSignedRequestHeader[$HEADER_HOST] = $TargetHost + $HttpSignatureHeader.Add($HEADER_HOST.ToLower(), $TargetHost) + } elseif ($headerItem -eq $HEADER_DATE) { + $HttpSignedRequestHeader[$HEADER_DATE] = $currentDate + $HttpSignatureHeader.Add($HEADER_DATE.ToLower(), $currentDate) + } elseif ($headerItem -eq $HEADER_DIGEST) { + $HttpSignedRequestHeader[$HEADER_DIGEST] = $Digest + $HttpSignatureHeader.Add($HEADER_DIGEST.ToLower(), $Digest) + } elseif($RequestHeader.ContainsKey($headerItem)) { + $HttpSignatureHeader.Add($headerItem.ToLower(), $RequestHeader[$headerItem]) + } else { + throw "Cannot sign HTTP request. Request does not contain the $headerItem header." + } + } + + # header's name separated by space + $headersKeysString = $HttpSignatureHeader.Keys -join " " + $headerValuesList = @() + foreach ($item in $HttpSignatureHeader.GetEnumerator()) { + $headerValuesList += [string]::Format("{0}: {1}", $item.Name, $item.Value) + } + #Concatenate headers value separated by new line + $headerValuesString = $headerValuesList -join "`n" + + #Gets the hash of the headers value + $signatureHashString = Get-V2024StringHash -String $headerValuesString -HashName $httpSigningConfiguration.HashAlgorithm + + #Gets the Key type to select the correct signing algorithm + $KeyType = Get-V2024KeyTypeFromFile -KeyFilePath $httpSigningConfiguration.KeyFilePath + + if ($keyType -eq "RSA") { + $headerSignatureStr = Get-V2024RSASignature -PrivateKeyFilePath $httpSigningConfiguration.KeyFilePath ` + -DataToSign $signatureHashString ` + -HashAlgorithmName $httpSigningConfiguration.HashAlgorithm ` + -KeyPassPhrase $httpSigningConfiguration.KeyPassPhrase ` + -SigningAlgorithm $httpSigningConfiguration.SigningAlgorithm + } elseif ($KeyType -eq "EC") { + $headerSignatureStr = Get-V2024ECDSASignature -ECKeyFilePath $httpSigningConfiguration.KeyFilePath ` + -DataToSign $signatureHashString ` + -HashAlgorithmName $httpSigningConfiguration.HashAlgorithm ` + -KeyPassPhrase $httpSigningConfiguration.KeyPassPhrase + } + #Deprecated + <#$cryptographicScheme = Get-V2024CryptographicScheme -SigningAlgorithm $httpSigningConfiguration.SigningAlgorithm ` + -HashAlgorithm $httpSigningConfiguration.HashAlgorithm + #> + $cryptographicScheme = "hs2019" + $authorizationHeaderValue = [string]::Format("Signature keyId=""{0}"",algorithm=""{1}""", + $httpSigningConfiguration.KeyId, $cryptographicScheme) + + if ($HttpSignatureHeader.ContainsKey($HEADER_CREATED)) { + $authorizationHeaderValue += [string]::Format(",created={0}", $HttpSignatureHeader[$HEADER_CREATED]) + } + + if ($HttpSignatureHeader.ContainsKey($HEADER_EXPIRES)) { + $authorizationHeaderValue += [string]::Format(",expires={0}", $HttpSignatureHeader[$HEADER_EXPIRES]) + } + + $authorizationHeaderValue += [string]::Format(",headers=""{0}"",signature=""{1}""", + $headersKeysString , $headerSignatureStr) + + $HttpSignedRequestHeader[$HEADER_AUTHORIZATION] = $authorizationHeaderValue + return $HttpSignedRequestHeader +} + +<# +.SYNOPSIS + Gets the RSA signature + +.DESCRIPTION + Gets the RSA signature for the http signing +.PARAMETER PrivateKeyFilePath + Specify the API key file path +.PARAMETER DataToSign + Specify the data to sign +.PARAMETER HashAlgorithmName + HashAlgorithm to calculate the hash +.PARAMETER KeyPassPhrase + KeyPassPhrase for the encrypted key +.OUTPUTS + Base64String +#> +function Get-V2024RSASignature { + Param( + [string]$PrivateKeyFilePath, + [byte[]]$DataToSign, + [string]$HashAlgorithmName, + [string]$SigningAlgorithm, + [securestring]$KeyPassPhrase + ) + try { + + if ($hashAlgorithmName -eq "sha256") { + $hashAlgo = [System.Security.Cryptography.HashAlgorithmName]::SHA256 + } elseif ($hashAlgorithmName -eq "sha512") { + $hashAlgo = [System.Security.Cryptography.HashAlgorithmName]::SHA512 + } + + if ($PSVersionTable.PSVersion.Major -ge 7) { + $ecKeyHeader = "-----BEGIN RSA PRIVATE KEY-----" + $ecKeyFooter = "-----END RSA PRIVATE KEY-----" + $keyStr = Get-Content -Path $PrivateKeyFilePath -Raw + $ecKeyBase64String = $keyStr.Replace($ecKeyHeader, "").Replace($ecKeyFooter, "").Trim() + $keyBytes = [System.Convert]::FromBase64String($ecKeyBase64String) + $rsa = [System.Security.Cryptography.RSA]::Create() + [int]$bytCount = 0 + $rsa.ImportRSAPrivateKey($keyBytes, [ref] $bytCount) + + if ($SigningAlgorithm -eq "RSASSA-PSS") { + $signedBytes = $rsa.SignHash($DataToSign, $hashAlgo, [System.Security.Cryptography.RSASignaturePadding]::Pss) + } else { + $signedBytes = $rsa.SignHash($DataToSign, $hashAlgo, [System.Security.Cryptography.RSASignaturePadding]::Pkcs1) + } + } else { + $rsa_provider_path = Join-Path -Path $PSScriptRoot -ChildPath "V2024RSAEncryptionProvider.cs" + $rsa_provider_sourceCode = Get-Content -Path $rsa_provider_path -Raw + Add-Type -TypeDefinition $rsa_provider_sourceCode + + [System.Security.Cryptography.RSA]$rsa = [RSAEncryption.RSAEncryptionProvider]::GetRSAProviderFromPemFile($PrivateKeyFilePath, $KeyPassPhrase) + + if ($SigningAlgorithm -eq "RSASSA-PSS") { + throw "$SigningAlgorithm is not supported on $($PSVersionTable.PSVersion)" + } else { + $signedBytes = $rsa.SignHash($DataToSign, $hashAlgo, [System.Security.Cryptography.RSASignaturePadding]::Pkcs1) + } + } + + $signedString = [Convert]::ToBase64String($signedBytes) + return $signedString + } catch { + throw $_ + } +} + +<# +.SYNOPSIS + Gets the ECDSA signature + +.DESCRIPTION + Gets the ECDSA signature for the http signing +.PARAMETER PrivateKeyFilePath + Specify the API key file path +.PARAMETER DataToSign + Specify the data to sign +.PARAMETER HashAlgorithmName + HashAlgorithm to calculate the hash +.PARAMETER KeyPassPhrase + KeyPassPhrase for the encrypted key +.OUTPUTS + Base64String +#> +function Get-V2024ECDSASignature { + param( + [Parameter(Mandatory = $true)] + [string]$ECKeyFilePath, + [Parameter(Mandatory = $true)] + [byte[]]$DataToSign, + [Parameter(Mandatory = $false)] + [String]$HashAlgorithmName, + [Parameter(Mandatory = $false)] + [securestring]$KeyPassPhrase + ) + if (!(Test-Path -Path $ECKeyFilePath)) { + throw "key file path does not exist." + } + + if ($PSVersionTable.PSVersion.Major -lt 7) { + throw "ECDSA key is not supported on PowerShell version $($PSVersionTable.PSVersion), Use PowerShell v7.0 and above" + } + + $ecKeyHeader = "-----BEGIN EC PRIVATE KEY-----" + $ecKeyFooter = "-----END EC PRIVATE KEY-----" + $keyStr = Get-Content -Path $ECKeyFilePath -Raw + $ecKeyBase64String = $keyStr.Replace($ecKeyHeader, "").Replace($ecKeyFooter, "").Trim() + $keyBytes = [System.Convert]::FromBase64String($ecKeyBase64String) + $ecdsa = [System.Security.Cryptography.ECDsa]::Create() + + [int]$bytCount =0 + if (![string]::IsNullOrEmpty($KeyPassPhrase)) { + $ecdsa.ImportEncryptedPkcs8PrivateKey($KeyPassPhrase,$keyBytes,[ref]$bytCount) + } else { + $ecdsa.ImportPkcs8PrivateKey($keyBytes,[ref]$bytCount) + } + + $signedBytes = $ecdsa.SignHash($DataToSign) + $derBytes = ConvertTo-ECDSAANS1Format -RawBytes $signedBytes + $signedString = [System.Convert]::ToBase64String($derBytes) + return $signedString +} + +<# +.Synopsis + Gets the hash of string. +.Description + Gets the hash of string +.Parameter String + Specifies the string to calculate the hash +.Parameter HashName + Specifies the hash name to calculate the hash, Accepted values are "SHA1", "SHA256" and "SHA512" + It is recommended not to use "SHA1" to calculate the Hash +.Outputs + String +#> +Function Get-V2024StringHash { + param( + [Parameter(Mandatory = $true)] + [AllowEmptyString()] + [string]$String, + [Parameter(Mandatory = $true)] + [ValidateSet("SHA1", "SHA256", "SHA512")] + $HashName + ) + $hashAlgorithm = [System.Security.Cryptography.HashAlgorithm]::Create($HashName) + $hashAlgorithm.ComputeHash([System.Text.Encoding]::UTF8.GetBytes($String)) +} + +<# +.Synopsis + Gets the Unix time. +.Description + Gets the Unix time +.Parameter Date + Specifies the date to calculate the unix time +.Parameter ToTalTime + Specifies the total time , Accepted values are "TotalDays", "TotalHours", "TotalMinutes", "TotalSeconds" and "TotalMilliseconds" +.Outputs +Integer +#> +function Get-V2024UnixTime { + param( + [Parameter(Mandatory = $true)] + [DateTime]$Date, + [Parameter(Mandatory = $false)] + [ValidateSet("TotalDays", "TotalHours", "TotalMinutes", "TotalSeconds", "TotalMilliseconds")] + [string]$TotalTime = "TotalSeconds" + ) + $date1 = Get-Date -Date "01/01/1970" + $timespan = New-TimeSpan -Start $date1 -End $Date + switch ($TotalTime) { + "TotalDays" { [int]$timespan.TotalDays } + "TotalHours" { [int]$timespan.TotalHours } + "TotalMinutes" { [int]$timespan.TotalMinutes } + "TotalSeconds" { [int]$timespan.TotalSeconds } + "TotalMilliseconds" { [int]$timespan.TotalMilliseconds } + } +} + +function Get-V2024CryptographicScheme { + param( + [Parameter(Mandatory = $true)] + [string]$SigningAlgorithm, + [Parameter(Mandatory = $true)] + [string]$HashAlgorithm + ) + $rsaSignatureType = @("RSASSA-PKCS1-v1_5", "RSASSA-PSS") + $SigningAlgorithm = $null + if ($rsaSignatureType -contains $SigningAlgorithm) { + switch ($HashAlgorithm) { + "sha256" { $SigningAlgorithm = "rsa-sha256" } + "sha512" { $SigningAlgorithm = "rsa-sha512" } + } + } + return $SigningAlgorithm +} + +<# +.Synopsis + Gets the key type from the pem file. +.Description + Gets the key type from the pem file. +.Parameter KeyFilePath + Specifies the key file path (pem file) +.Outputs +String +#> +function Get-V2024KeyTypeFromFile { + param( + [Parameter(Mandatory = $true)] + [string]$KeyFilePath + ) + + if (-not(Test-Path -Path $KeyFilePath)) { + throw "Key file path does not exist." + } + $ecPrivateKeyHeader = "BEGIN EC PRIVATE KEY" + $ecPrivateKeyFooter = "END EC PRIVATE KEY" + $rsaPrivateKeyHeader = "BEGIN RSA PRIVATE KEY" + $rsaPrivateFooter = "END RSA PRIVATE KEY" + $pkcs8Header = "BEGIN PRIVATE KEY" + $pkcs8Footer = "END PRIVATE KEY" + $keyType = $null + $key = Get-Content -Path $KeyFilePath + + if ($key[0] -match $rsaPrivateKeyHeader -and $key[$key.Length - 1] -match $rsaPrivateFooter) { + $KeyType = "RSA" + } elseif ($key[0] -match $ecPrivateKeyHeader -and $key[$key.Length - 1] -match $ecPrivateKeyFooter) { + $keyType = "EC" + } elseif ($key[0] -match $ecPrivateKeyHeader -and $key[$key.Length - 1] -match $ecPrivateKeyFooter) { + <#this type of key can hold many type different types of private key, but here due lack of pem header + Considering this as EC key + #> + #TODO :- update the key based on oid + $keyType = "EC" + } else { + throw "Either the key is invalid or key is not supported" + } + return $keyType +} + + +<# +.Synopsis + Converts sequence of R and S bytes to ANS1 format for ECDSASignature. +.Description + Converts sequence of R and S bytes to ANS1 format for ECDSASignature. +.Parameter RawBytes[] + Specifies the R and S bytes of ECDSA signature. +.Outputs + Byte[] +#> +function ConvertTo-ECDSAANS1Format{ + Param( + [Parameter(Mandatory = $true)] + [byte[]]$RawBytes + ) + + $derLength = 68 #default length for ECDSA code signing bit 0x44 + $rbytesLength = 32 #R length 0x20 + $sbytesLength = 32 #S length 0x20 + [byte[]]$rBytes = $signedBytes[0..31] + [byte[]]$sBytes = $signedBytes[32..63] + + if($rBytes[0] -gt 0x7F){ + $derLength++ + $rbytesLength++ + $rBytes = [byte[]]@(0x00) + $rBytes + } + + if($sBytes[0] -gt 0x7F){ + $derLength++ + $sbytesLength++ + $sBytes = [byte[]]@(0x00) + $sBytes + } + + [byte[]]$derBytes = @() + + $derBytes += 48 # start of the sequence 0x30 + $derBytes += $derLength # total length r length, type and r bytes + + $derBytes += 2 # tag for integer + $derBytes += $rbytesLength # length of r + $derBytes += $rBytes + + $derBytes += 2 #tag for integer + $derBytes += $sbytesLength #length of s + $derBytes += $sBytes + return $derBytes +} \ No newline at end of file diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/Private/V2024RSAEncryptionProvider.cs b/PSSailpoint/v2024/src/PSSailpointV2024/Private/V2024RSAEncryptionProvider.cs new file mode 100644 index 000000000..689b83a6d --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/Private/V2024RSAEncryptionProvider.cs @@ -0,0 +1,353 @@ +/* + * Identity Security Cloud V2024 API + * + * Use these APIs to interact with the Identity Security Cloud platform to achieve repeatable, automated processes with greater scalability. We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs. + * + * The version of the OpenAPI document: v2024 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ +using System; +using System.Collections.Generic; +using System.IO; +using System.Net; +using System.Runtime.InteropServices; +using System.Security; +using System.Security.Cryptography; +using System.Text; + +namespace RSAEncryption +{ + /// + /// A RSA enccryption provider. + /// + public class RSAEncryptionProvider + { + /// + /// Get the RSA provider from the PEM file. + /// + /// PEM file. + /// Key pass phrase. + /// Get an instance of RSACryptoServiceProvider. + public static RSACryptoServiceProvider GetRSAProviderFromPemFile(String pemfile,SecureString keyPassPhrase = null) + { + const String pempubheader = "-----BEGIN PUBLIC KEY-----"; + const String pempubfooter = "-----END PUBLIC KEY-----"; + bool isPrivateKeyFile = true; + byte[] pemkey = null; + + if (!File.Exists(pemfile)) + { + throw new Exception("private key file does not exist."); + } + string pemstr = File.ReadAllText(pemfile).Trim(); + + if (pemstr.StartsWith(pempubheader) && pemstr.EndsWith(pempubfooter)) + { + isPrivateKeyFile = false; + } + + if (isPrivateKeyFile) + { + pemkey = ConvertPrivateKeyToBytes(pemstr,keyPassPhrase); + if (pemkey == null) + { + return null; + } + return DecodeRSAPrivateKey(pemkey); + } + return null ; + } + + /// + /// Convert the private key to bytes. + /// + /// Private key. + /// Key pass phrase. + /// The private key in the form of bytes. + static byte[] ConvertPrivateKeyToBytes(String instr, SecureString keyPassPhrase = null) + { + const String pemprivheader = "-----BEGIN RSA PRIVATE KEY-----"; + const String pemprivfooter = "-----END RSA PRIVATE KEY-----"; + String pemstr = instr.Trim(); + byte[] binkey; + + if (!pemstr.StartsWith(pemprivheader) || !pemstr.EndsWith(pemprivfooter)) + { + return null; + } + + StringBuilder sb = new StringBuilder(pemstr); + sb.Replace(pemprivheader, ""); + sb.Replace(pemprivfooter, ""); + String pvkstr = sb.ToString().Trim(); + + try + { // if there are no PEM encryption info lines, this is an UNencrypted PEM private key + binkey = Convert.FromBase64String(pvkstr); + return binkey; + } + catch (System.FormatException) + { + StringReader str = new StringReader(pvkstr); + + //-------- read PEM encryption info. lines and extract salt ----- + if (!str.ReadLine().StartsWith("Proc-Type: 4,ENCRYPTED")) + { + return null; + } + String saltline = str.ReadLine(); + if (!saltline.StartsWith("DEK-Info: DES-EDE3-CBC,")) + { + return null; + } + String saltstr = saltline.Substring(saltline.IndexOf(",") + 1).Trim(); + byte[] salt = new byte[saltstr.Length / 2]; + for (int i = 0; i < salt.Length; i++) + { + salt[i] = Convert.ToByte(saltstr.Substring(i * 2, 2), 16); + } + if (str.ReadLine() != "") + { + return null; + } + + //------ remaining b64 data is encrypted RSA key ---- + String encryptedstr = str.ReadToEnd(); + + try + { //should have b64 encrypted RSA key now + binkey = Convert.FromBase64String(encryptedstr); + } + catch (System.FormatException) + { //data is not in base64 format + return null; + } + + byte[] deskey = GetEncryptedKey(salt, keyPassPhrase, 1, 2); // count=1 (for OpenSSL implementation); 2 iterations to get at least 24 bytes + if (deskey == null) + { + return null; + } + + //------ Decrypt the encrypted 3des-encrypted RSA private key ------ + byte[] rsakey = DecryptKey(binkey, deskey, salt); //OpenSSL uses salt value in PEM header also as 3DES IV + return rsakey; + } + } + + /// + /// Decode the RSA private key. + /// + /// Private key. + /// An instance of RSACryptoServiceProvider. + public static RSACryptoServiceProvider DecodeRSAPrivateKey(byte[] privkey) + { + byte[] bytesModules, bytesE, bytesD, bytesP, bytesQ, bytesDp, bytesDq, bytesIq; + + // --------- Set up stream to decode the asn.1 encoded RSA private key ------ + MemoryStream mem = new MemoryStream(privkey); + BinaryReader binr = new BinaryReader(mem); //wrap Memory Stream with BinaryReader for easy reading + byte bt = 0; + ushort twobytes = 0; + int elems = 0; + try + { + twobytes = binr.ReadUInt16(); + if (twobytes == 0x8130) //data read as little endian order (actual data order for Sequence is 30 81) + { + binr.ReadByte(); //advance 1 byte + } + else if (twobytes == 0x8230) + { + binr.ReadInt16(); //advance 2 bytes + } + else + { + return null; + } + + twobytes = binr.ReadUInt16(); + if (twobytes != 0x0102) //version number + { + return null; + } + bt = binr.ReadByte(); + if (bt != 0x00) + { + return null; + } + + //------ all private key components are Integer sequences ---- + elems = GetIntegerSize(binr); + bytesModules = binr.ReadBytes(elems); + + elems = GetIntegerSize(binr); + bytesE = binr.ReadBytes(elems); + + elems = GetIntegerSize(binr); + bytesD = binr.ReadBytes(elems); + + elems = GetIntegerSize(binr); + bytesP = binr.ReadBytes(elems); + + elems = GetIntegerSize(binr); + bytesQ = binr.ReadBytes(elems); + + elems = GetIntegerSize(binr); + bytesDp = binr.ReadBytes(elems); + + elems = GetIntegerSize(binr); + bytesDq = binr.ReadBytes(elems); + + elems = GetIntegerSize(binr); + bytesIq = binr.ReadBytes(elems); + + // ------- create RSACryptoServiceProvider instance and initialize with public key ----- + RSACryptoServiceProvider rsa = new RSACryptoServiceProvider(); + RSAParameters RSAparams = new RSAParameters(); + RSAparams.Modulus = bytesModules; + RSAparams.Exponent = bytesE; + RSAparams.D = bytesD; + RSAparams.P = bytesP; + RSAparams.Q = bytesQ; + RSAparams.DP = bytesDp; + RSAparams.DQ = bytesDq; + RSAparams.InverseQ = bytesIq; + rsa.ImportParameters(RSAparams); + return rsa; + } + catch (Exception) + { + return null; + } + finally + { + binr.Close(); + } + } + + private static int GetIntegerSize(BinaryReader binr) + { + byte bt = 0; + byte lowbyte = 0x00; + byte highbyte = 0x00; + int count = 0; + bt = binr.ReadByte(); + if (bt != 0x02) //expect integer + { + return 0; + } + bt = binr.ReadByte(); + + if (bt == 0x81) + { + count = binr.ReadByte(); // data size in next byte + } + else if (bt == 0x82) + { + highbyte = binr.ReadByte(); // data size in next 2 bytes + lowbyte = binr.ReadByte(); + byte[] modint = { lowbyte, highbyte, 0x00, 0x00 }; + count = BitConverter.ToInt32(modint, 0); + } + else + { + count = bt; // we already have the data size + } + while (binr.ReadByte() == 0x00) + { //remove high order zeros in data + count -= 1; + } + binr.BaseStream.Seek(-1, SeekOrigin.Current); + //last ReadByte wasn't a removed zero, so back up a byte + return count; + } + + /// + /// Get the encrypted key. + /// + /// Random bytes to be added. + /// Password. + /// Count. + /// Miter. + /// Decrypted key. + static byte[] GetEncryptedKey(byte[] salt, SecureString secpswd, int count, int miter) + { + IntPtr unmanagedPswd = IntPtr.Zero; + const int HASHLENGTH = 16; //MD5 bytes + byte[] keymaterial = new byte[HASHLENGTH * miter]; //to store concatenated Mi hashed results + + byte[] psbytes = new byte[secpswd.Length]; + unmanagedPswd = Marshal.SecureStringToGlobalAllocAnsi(secpswd); + Marshal.Copy(unmanagedPswd, psbytes, 0, psbytes.Length); + Marshal.ZeroFreeGlobalAllocAnsi(unmanagedPswd); + + // --- concatenate salt and pswd bytes into fixed data array --- + byte[] data00 = new byte[psbytes.Length + salt.Length]; + Array.Copy(psbytes, data00, psbytes.Length); //copy the pswd bytes + Array.Copy(salt, 0, data00, psbytes.Length, salt.Length); //concatenate the salt bytes + + // ---- do multi-hashing and concatenate results D1, D2 ... into keymaterial bytes ---- + MD5 md5 = new MD5CryptoServiceProvider(); + byte[] result = null; + byte[] hashtarget = new byte[HASHLENGTH + data00.Length]; //fixed length initial hashtarget + + for (int j = 0; j < miter; j++) + { + // ---- Now hash consecutively for count times ------ + if (j == 0) + { + result = data00; //initialize + } + else + { + Array.Copy(result, hashtarget, result.Length); + Array.Copy(data00, 0, hashtarget, result.Length, data00.Length); + result = hashtarget; + } + + for (int i = 0; i < count; i++) + { + result = md5.ComputeHash(result); + } + Array.Copy(result, 0, keymaterial, j * HASHLENGTH, result.Length); //concatenate to keymaterial + } + byte[] deskey = new byte[24]; + Array.Copy(keymaterial, deskey, deskey.Length); + + Array.Clear(psbytes, 0, psbytes.Length); + Array.Clear(data00, 0, data00.Length); + Array.Clear(result, 0, result.Length); + Array.Clear(hashtarget, 0, hashtarget.Length); + Array.Clear(keymaterial, 0, keymaterial.Length); + return deskey; + } + + /// + /// Decrypt the key. + /// + /// Cipher data. + /// Key to decrypt. + /// Initialization vector. + /// Decrypted key. + static byte[] DecryptKey(byte[] cipherData, byte[] desKey, byte[] IV) + { + MemoryStream memst = new MemoryStream(); + TripleDES alg = TripleDES.Create(); + alg.Key = desKey; + alg.IV = IV; + try + { + CryptoStream cs = new CryptoStream(memst, alg.CreateDecryptor(), CryptoStreamMode.Write); + cs.Write(cipherData, 0, cipherData.Length); + cs.Close(); + } + catch (Exception) + { + return null; + } + byte[] decryptedData = memst.ToArray(); + return decryptedData; + } + } +} diff --git a/PSSailpoint/v2024/src/PSSailpointV2024/en-US/about_PSSailpointV2024.help.txt b/PSSailpoint/v2024/src/PSSailpointV2024/en-US/about_PSSailpointV2024.help.txt new file mode 100644 index 000000000..3ebdc7abc --- /dev/null +++ b/PSSailpoint/v2024/src/PSSailpointV2024/en-US/about_PSSailpointV2024.help.txt @@ -0,0 +1,20 @@ +PSTOPIC + about_PSSailpointV2024 + +SHORT DESCRIPTION + PSSailpointV2024 - the PowerShell module for the Identity Security Cloud V2024 API + +LONG DESCRIPTION + 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. + + This PowerShell module is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: + + - API version: v2024 + - SDK version: 1.3.1 + - Build package: org.openapitools.codegen.languages.PowerShellClientCodegen + For more information, please visit [https://developer.sailpoint.com/discuss/api-help](https://developer.sailpoint.com/discuss/api-help) + + Frameworks supported: + + * PowerShell 6.2 or later + * .NET 4.0 or later diff --git a/PSSailpoint/v2024/tests/Api/V2024AccessModelMetadataApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024AccessModelMetadataApi.Tests.ps1 new file mode 100644 index 000000000..23242d8a2 --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024AccessModelMetadataApi.Tests.ps1 @@ -0,0 +1,41 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024AccessModelMetadataApi' { + Context 'Get-V2024AccessModelMetadataAttribute' { + It 'Test Get-V2024AccessModelMetadataAttribute' { + #$TestResult = Get-V2024AccessModelMetadataAttribute -Key "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024AccessModelMetadataAttributeValue' { + It 'Test Get-V2024AccessModelMetadataAttributeValue' { + #$TestResult = Get-V2024AccessModelMetadataAttributeValue -Key "TEST_VALUE" -Value "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024AccessModelMetadataAttribute' { + It 'Test Get-V2024AccessModelMetadataAttribute' { + #$TestResult = Get-V2024AccessModelMetadataAttribute -XSailPointExperimental "TEST_VALUE" -Filters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024AccessModelMetadataAttributeValue' { + It 'Test Get-V2024AccessModelMetadataAttributeValue' { + #$TestResult = Get-V2024AccessModelMetadataAttributeValue -Key "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024AccessProfilesApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024AccessProfilesApi.Tests.ps1 new file mode 100644 index 000000000..2c2298789 --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024AccessProfilesApi.Tests.ps1 @@ -0,0 +1,73 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024AccessProfilesApi' { + Context 'New-V2024AccessProfile' { + It 'Test New-V2024AccessProfile' { + #$TestResult = New-V2024AccessProfile -AccessProfile "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Remove-V2024AccessProfile' { + It 'Test Remove-V2024AccessProfile' { + #$TestResult = Remove-V2024AccessProfile -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Remove-V2024AccessProfilesInBulk' { + It 'Test Remove-V2024AccessProfilesInBulk' { + #$TestResult = Remove-V2024AccessProfilesInBulk -AccessProfileBulkDeleteRequest "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024AccessProfile' { + It 'Test Get-V2024AccessProfile' { + #$TestResult = Get-V2024AccessProfile -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024AccessProfileEntitlements' { + It 'Test Get-V2024AccessProfileEntitlements' { + #$TestResult = Get-V2024AccessProfileEntitlements -Id "TEST_VALUE" -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" -Filters "TEST_VALUE" -Sorters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024AccessProfiles' { + It 'Test Get-V2024AccessProfiles' { + #$TestResult = Get-V2024AccessProfiles -ForSubadmin "TEST_VALUE" -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" -Filters "TEST_VALUE" -Sorters "TEST_VALUE" -ForSegmentIds "TEST_VALUE" -IncludeUnsegmented "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Update-V2024AccessProfile' { + It 'Test Update-V2024AccessProfile' { + #$TestResult = Update-V2024AccessProfile -Id "TEST_VALUE" -JsonPatchOperation "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Update-V2024AccessProfilesInBulk' { + It 'Test Update-V2024AccessProfilesInBulk' { + #$TestResult = Update-V2024AccessProfilesInBulk -XSailPointExperimental "TEST_VALUE" -AccessProfileBulkUpdateRequestInner "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024AccessRequestApprovalsApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024AccessRequestApprovalsApi.Tests.ps1 new file mode 100644 index 000000000..eede95014 --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024AccessRequestApprovalsApi.Tests.ps1 @@ -0,0 +1,57 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024AccessRequestApprovalsApi' { + Context 'Approve-V2024AccessRequest' { + It 'Test Approve-V2024AccessRequest' { + #$TestResult = Approve-V2024AccessRequest -ApprovalId "TEST_VALUE" -CommentDto "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Invoke-V2024ForwardAccessRequest' { + It 'Test Invoke-V2024ForwardAccessRequest' { + #$TestResult = Invoke-V2024ForwardAccessRequest -ApprovalId "TEST_VALUE" -ForwardApprovalDto "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024AccessRequestApprovalSummary' { + It 'Test Get-V2024AccessRequestApprovalSummary' { + #$TestResult = Get-V2024AccessRequestApprovalSummary -OwnerId "TEST_VALUE" -FromDate "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024CompletedApprovals' { + It 'Test Get-V2024CompletedApprovals' { + #$TestResult = Get-V2024CompletedApprovals -OwnerId "TEST_VALUE" -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" -Filters "TEST_VALUE" -Sorters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024PendingApprovals' { + It 'Test Get-V2024PendingApprovals' { + #$TestResult = Get-V2024PendingApprovals -OwnerId "TEST_VALUE" -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" -Filters "TEST_VALUE" -Sorters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Deny-V2024AccessRequest' { + It 'Test Deny-V2024AccessRequest' { + #$TestResult = Deny-V2024AccessRequest -ApprovalId "TEST_VALUE" -CommentDto "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024AccessRequestIdentityMetricsApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024AccessRequestIdentityMetricsApi.Tests.ps1 new file mode 100644 index 000000000..a7a6a5be8 --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024AccessRequestIdentityMetricsApi.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024AccessRequestIdentityMetricsApi' { + Context 'Get-V2024AccessRequestIdentityMetrics' { + It 'Test Get-V2024AccessRequestIdentityMetrics' { + #$TestResult = Get-V2024AccessRequestIdentityMetrics -IdentityId "TEST_VALUE" -RequestedObjectId "TEST_VALUE" -Type "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024AccessRequestsApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024AccessRequestsApi.Tests.ps1 new file mode 100644 index 000000000..636830ae7 --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024AccessRequestsApi.Tests.ps1 @@ -0,0 +1,57 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024AccessRequestsApi' { + Context 'Suspend-V2024AccessRequest' { + It 'Test Suspend-V2024AccessRequest' { + #$TestResult = Suspend-V2024AccessRequest -CancelAccessRequest "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Close-V2024AccessRequest' { + It 'Test Close-V2024AccessRequest' { + #$TestResult = Close-V2024AccessRequest -XSailPointExperimental "TEST_VALUE" -CloseAccessRequest "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'New-V2024AccessRequest' { + It 'Test New-V2024AccessRequest' { + #$TestResult = New-V2024AccessRequest -AccessRequest "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024AccessRequestConfig' { + It 'Test Get-V2024AccessRequestConfig' { + #$TestResult = Get-V2024AccessRequestConfig + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024AccessRequestStatus' { + It 'Test Get-V2024AccessRequestStatus' { + #$TestResult = Get-V2024AccessRequestStatus -RequestedFor "TEST_VALUE" -RequestedBy "TEST_VALUE" -RegardingIdentity "TEST_VALUE" -AssignedTo "TEST_VALUE" -Count "TEST_VALUE" -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Filters "TEST_VALUE" -Sorters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Set-V2024AccessRequestConfig' { + It 'Test Set-V2024AccessRequestConfig' { + #$TestResult = Set-V2024AccessRequestConfig -AccessRequestConfig "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024AccountActivitiesApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024AccountActivitiesApi.Tests.ps1 new file mode 100644 index 000000000..c7a0bda5c --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024AccountActivitiesApi.Tests.ps1 @@ -0,0 +1,25 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024AccountActivitiesApi' { + Context 'Get-V2024AccountActivity' { + It 'Test Get-V2024AccountActivity' { + #$TestResult = Get-V2024AccountActivity -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024AccountActivities' { + It 'Test Get-V2024AccountActivities' { + #$TestResult = Get-V2024AccountActivities -RequestedFor "TEST_VALUE" -RequestedBy "TEST_VALUE" -RegardingIdentity "TEST_VALUE" -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" -Filters "TEST_VALUE" -Sorters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024AccountAggregationsApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024AccountAggregationsApi.Tests.ps1 new file mode 100644 index 000000000..2c97d26a9 --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024AccountAggregationsApi.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024AccountAggregationsApi' { + Context 'Get-V2024AccountAggregationStatus' { + It 'Test Get-V2024AccountAggregationStatus' { + #$TestResult = Get-V2024AccountAggregationStatus -Id "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024AccountUsagesApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024AccountUsagesApi.Tests.ps1 new file mode 100644 index 000000000..656c94af1 --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024AccountUsagesApi.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024AccountUsagesApi' { + Context 'Get-V2024UsagesByAccountId' { + It 'Test Get-V2024UsagesByAccountId' { + #$TestResult = Get-V2024UsagesByAccountId -AccountId "TEST_VALUE" -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" -Sorters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024AccountsApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024AccountsApi.Tests.ps1 new file mode 100644 index 000000000..0a2e45651 --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024AccountsApi.Tests.ps1 @@ -0,0 +1,137 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024AccountsApi' { + Context 'New-V2024Account' { + It 'Test New-V2024Account' { + #$TestResult = New-V2024Account -AccountAttributesCreate "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Remove-V2024Account' { + It 'Test Remove-V2024Account' { + #$TestResult = Remove-V2024Account -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Remove-V2024AccountAsync' { + It 'Test Remove-V2024AccountAsync' { + #$TestResult = Remove-V2024AccountAsync -Id "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Disable-V2024Account' { + It 'Test Disable-V2024Account' { + #$TestResult = Disable-V2024Account -Id "TEST_VALUE" -AccountToggleRequest "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Disable-V2024AccountForIdentity' { + It 'Test Disable-V2024AccountForIdentity' { + #$TestResult = Disable-V2024AccountForIdentity -Id "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Disable-V2024AccountsForIdentities' { + It 'Test Disable-V2024AccountsForIdentities' { + #$TestResult = Disable-V2024AccountsForIdentities -XSailPointExperimental "TEST_VALUE" -IdentitiesAccountsBulkRequest "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Enable-V2024Account' { + It 'Test Enable-V2024Account' { + #$TestResult = Enable-V2024Account -Id "TEST_VALUE" -AccountToggleRequest "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Enable-V2024AccountForIdentity' { + It 'Test Enable-V2024AccountForIdentity' { + #$TestResult = Enable-V2024AccountForIdentity -Id "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Enable-V2024AccountsForIdentities' { + It 'Test Enable-V2024AccountsForIdentities' { + #$TestResult = Enable-V2024AccountsForIdentities -XSailPointExperimental "TEST_VALUE" -IdentitiesAccountsBulkRequest "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024Account' { + It 'Test Get-V2024Account' { + #$TestResult = Get-V2024Account -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024AccountEntitlements' { + It 'Test Get-V2024AccountEntitlements' { + #$TestResult = Get-V2024AccountEntitlements -Id "TEST_VALUE" -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024Accounts' { + It 'Test Get-V2024Accounts' { + #$TestResult = Get-V2024Accounts -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" -Filters "TEST_VALUE" -Sorters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Send-V2024Account' { + It 'Test Send-V2024Account' { + #$TestResult = Send-V2024Account -Id "TEST_VALUE" -AccountAttributes "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Submit-V2024ReloadAccount' { + It 'Test Submit-V2024ReloadAccount' { + #$TestResult = Submit-V2024ReloadAccount -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Unlock-V2024Account' { + It 'Test Unlock-V2024Account' { + #$TestResult = Unlock-V2024Account -Id "TEST_VALUE" -AccountUnlockRequest "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Update-V2024Account' { + It 'Test Update-V2024Account' { + #$TestResult = Update-V2024Account -Id "TEST_VALUE" -RequestBody "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024ApplicationDiscoveryApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024ApplicationDiscoveryApi.Tests.ps1 new file mode 100644 index 000000000..455bbc77e --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024ApplicationDiscoveryApi.Tests.ps1 @@ -0,0 +1,41 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024ApplicationDiscoveryApi' { + Context 'Get-V2024DiscoveredApplications' { + It 'Test Get-V2024DiscoveredApplications' { + #$TestResult = Get-V2024DiscoveredApplications -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Filter "TEST_VALUE" -Sorters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024ManualDiscoverApplicationsCsvTemplate' { + It 'Test Get-V2024ManualDiscoverApplicationsCsvTemplate' { + #$TestResult = Get-V2024ManualDiscoverApplicationsCsvTemplate + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024VendorConnectorMappings' { + It 'Test Get-V2024VendorConnectorMappings' { + #$TestResult = Get-V2024VendorConnectorMappings + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Send-V2024ManualDiscoverApplicationsCsvTemplate' { + It 'Test Send-V2024ManualDiscoverApplicationsCsvTemplate' { + #$TestResult = Send-V2024ManualDiscoverApplicationsCsvTemplate -File "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024ApprovalsApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024ApprovalsApi.Tests.ps1 new file mode 100644 index 000000000..47a6d5de6 --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024ApprovalsApi.Tests.ps1 @@ -0,0 +1,33 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024ApprovalsApi' { + Context 'Get-V2024Approval' { + It 'Test Get-V2024Approval' { + #$TestResult = Get-V2024Approval -Id "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024Approvals' { + It 'Test Get-V2024Approvals' { + #$TestResult = Get-V2024Approvals -XSailPointExperimental "TEST_VALUE" -Mine "TEST_VALUE" -RequesterId "TEST_VALUE" -Filters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Update-V2024Approval' { + It 'Test Update-V2024Approval' { + #$TestResult = Update-V2024Approval -XSailPointExperimental "TEST_VALUE" -ApprovalDto "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024AuthProfileApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024AuthProfileApi.Tests.ps1 new file mode 100644 index 000000000..ec280fb72 --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024AuthProfileApi.Tests.ps1 @@ -0,0 +1,33 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024AuthProfileApi' { + Context 'Get-V2024ProfileConfig' { + It 'Test Get-V2024ProfileConfig' { + #$TestResult = Get-V2024ProfileConfig -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024ProfileConfigList' { + It 'Test Get-V2024ProfileConfigList' { + #$TestResult = Get-V2024ProfileConfigList -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Update-V2024ProfileConfig' { + It 'Test Update-V2024ProfileConfig' { + #$TestResult = Update-V2024ProfileConfig -Id "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -JsonPatchOperation "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024AuthUsersApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024AuthUsersApi.Tests.ps1 new file mode 100644 index 000000000..37bf70c20 --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024AuthUsersApi.Tests.ps1 @@ -0,0 +1,25 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024AuthUsersApi' { + Context 'Get-V2024AuthUser' { + It 'Test Get-V2024AuthUser' { + #$TestResult = Get-V2024AuthUser -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Update-V2024AuthUser' { + It 'Test Update-V2024AuthUser' { + #$TestResult = Update-V2024AuthUser -Id "TEST_VALUE" -JsonPatchOperation "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024BrandingApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024BrandingApi.Tests.ps1 new file mode 100644 index 000000000..51e3593f4 --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024BrandingApi.Tests.ps1 @@ -0,0 +1,49 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024BrandingApi' { + Context 'New-V2024BrandingItem' { + It 'Test New-V2024BrandingItem' { + #$TestResult = New-V2024BrandingItem -Name "TEST_VALUE" -ProductName "TEST_VALUE" -ActionButtonColor "TEST_VALUE" -ActiveLinkColor "TEST_VALUE" -NavigationColor "TEST_VALUE" -EmailFromAddress "TEST_VALUE" -LoginInformationalMessage "TEST_VALUE" -FileStandard "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Remove-V2024Branding' { + It 'Test Remove-V2024Branding' { + #$TestResult = Remove-V2024Branding -Name "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024Branding' { + It 'Test Get-V2024Branding' { + #$TestResult = Get-V2024Branding -Name "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024BrandingList' { + It 'Test Get-V2024BrandingList' { + #$TestResult = Get-V2024BrandingList + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Set-V2024BrandingItem' { + It 'Test Set-V2024BrandingItem' { + #$TestResult = Set-V2024BrandingItem -Name "TEST_VALUE" -Name2 "TEST_VALUE" -ProductName "TEST_VALUE" -ActionButtonColor "TEST_VALUE" -ActiveLinkColor "TEST_VALUE" -NavigationColor "TEST_VALUE" -EmailFromAddress "TEST_VALUE" -LoginInformationalMessage "TEST_VALUE" -FileStandard "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024CertificationCampaignFiltersApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024CertificationCampaignFiltersApi.Tests.ps1 new file mode 100644 index 000000000..874d57b59 --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024CertificationCampaignFiltersApi.Tests.ps1 @@ -0,0 +1,49 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024CertificationCampaignFiltersApi' { + Context 'New-V2024CampaignFilter' { + It 'Test New-V2024CampaignFilter' { + #$TestResult = New-V2024CampaignFilter -CampaignFilterDetails "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Remove-V2024CampaignFilters' { + It 'Test Remove-V2024CampaignFilters' { + #$TestResult = Remove-V2024CampaignFilters -RequestBody "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024CampaignFilterById' { + It 'Test Get-V2024CampaignFilterById' { + #$TestResult = Get-V2024CampaignFilterById -FilterId "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024CampaignFilters' { + It 'Test Get-V2024CampaignFilters' { + #$TestResult = Get-V2024CampaignFilters -Limit "TEST_VALUE" -Start "TEST_VALUE" -IncludeSystemFilters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Update-V2024CampaignFilter' { + It 'Test Update-V2024CampaignFilter' { + #$TestResult = Update-V2024CampaignFilter -FilterId "TEST_VALUE" -CampaignFilterDetails "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024CertificationCampaignsApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024CertificationCampaignsApi.Tests.ps1 new file mode 100644 index 000000000..f1ee5a17e --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024CertificationCampaignsApi.Tests.ps1 @@ -0,0 +1,185 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024CertificationCampaignsApi' { + Context 'Complete-V2024Campaign' { + It 'Test Complete-V2024Campaign' { + #$TestResult = Complete-V2024Campaign -Id "TEST_VALUE" -CampaignCompleteOptions "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'New-V2024Campaign' { + It 'Test New-V2024Campaign' { + #$TestResult = New-V2024Campaign -Campaign "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'New-V2024CampaignTemplate' { + It 'Test New-V2024CampaignTemplate' { + #$TestResult = New-V2024CampaignTemplate -CampaignTemplate "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Remove-V2024CampaignTemplate' { + It 'Test Remove-V2024CampaignTemplate' { + #$TestResult = Remove-V2024CampaignTemplate -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Remove-V2024CampaignTemplateSchedule' { + It 'Test Remove-V2024CampaignTemplateSchedule' { + #$TestResult = Remove-V2024CampaignTemplateSchedule -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Remove-V2024Campaigns' { + It 'Test Remove-V2024Campaigns' { + #$TestResult = Remove-V2024Campaigns -CampaignsDeleteRequest "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024ActiveCampaigns' { + It 'Test Get-V2024ActiveCampaigns' { + #$TestResult = Get-V2024ActiveCampaigns -Detail "TEST_VALUE" -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" -Filters "TEST_VALUE" -Sorters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024Campaign' { + It 'Test Get-V2024Campaign' { + #$TestResult = Get-V2024Campaign -Id "TEST_VALUE" -Detail "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024CampaignReports' { + It 'Test Get-V2024CampaignReports' { + #$TestResult = Get-V2024CampaignReports -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024CampaignReportsConfig' { + It 'Test Get-V2024CampaignReportsConfig' { + #$TestResult = Get-V2024CampaignReportsConfig + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024CampaignTemplate' { + It 'Test Get-V2024CampaignTemplate' { + #$TestResult = Get-V2024CampaignTemplate -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024CampaignTemplateSchedule' { + It 'Test Get-V2024CampaignTemplateSchedule' { + #$TestResult = Get-V2024CampaignTemplateSchedule -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024CampaignTemplates' { + It 'Test Get-V2024CampaignTemplates' { + #$TestResult = Get-V2024CampaignTemplates -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" -Sorters "TEST_VALUE" -Filters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Move-V2024' { + It 'Test Move-V2024' { + #$TestResult = Move-V2024 -Id "TEST_VALUE" -AdminReviewReassign "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Update-V2024CampaignTemplate' { + It 'Test Update-V2024CampaignTemplate' { + #$TestResult = Update-V2024CampaignTemplate -Id "TEST_VALUE" -JsonPatchOperation "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Set-V2024CampaignReportsConfig' { + It 'Test Set-V2024CampaignReportsConfig' { + #$TestResult = Set-V2024CampaignReportsConfig -CampaignReportsConfig "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Set-V2024CampaignTemplateSchedule' { + It 'Test Set-V2024CampaignTemplateSchedule' { + #$TestResult = Set-V2024CampaignTemplateSchedule -Id "TEST_VALUE" -Schedule "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Start-V2024Campaign' { + It 'Test Start-V2024Campaign' { + #$TestResult = Start-V2024Campaign -Id "TEST_VALUE" -ActivateCampaignOptions "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Start-V2024CampaignRemediationScan' { + It 'Test Start-V2024CampaignRemediationScan' { + #$TestResult = Start-V2024CampaignRemediationScan -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Start-V2024CampaignReport' { + It 'Test Start-V2024CampaignReport' { + #$TestResult = Start-V2024CampaignReport -Id "TEST_VALUE" -Type "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Start-V2024GenerateCampaignTemplate' { + It 'Test Start-V2024GenerateCampaignTemplate' { + #$TestResult = Start-V2024GenerateCampaignTemplate -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Update-V2024Campaign' { + It 'Test Update-V2024Campaign' { + #$TestResult = Update-V2024Campaign -Id "TEST_VALUE" -JsonPatchOperation "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024CertificationSummariesApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024CertificationSummariesApi.Tests.ps1 new file mode 100644 index 000000000..f7072e230 --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024CertificationSummariesApi.Tests.ps1 @@ -0,0 +1,41 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024CertificationSummariesApi' { + Context 'Get-V2024IdentityAccessSummaries' { + It 'Test Get-V2024IdentityAccessSummaries' { + #$TestResult = Get-V2024IdentityAccessSummaries -Id "TEST_VALUE" -Type "TEST_VALUE" -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" -Filters "TEST_VALUE" -Sorters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024IdentityDecisionSummary' { + It 'Test Get-V2024IdentityDecisionSummary' { + #$TestResult = Get-V2024IdentityDecisionSummary -Id "TEST_VALUE" -Filters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024IdentitySummaries' { + It 'Test Get-V2024IdentitySummaries' { + #$TestResult = Get-V2024IdentitySummaries -Id "TEST_VALUE" -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" -Filters "TEST_VALUE" -Sorters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024IdentitySummary' { + It 'Test Get-V2024IdentitySummary' { + #$TestResult = Get-V2024IdentitySummary -Id "TEST_VALUE" -IdentitySummaryId "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024CertificationsApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024CertificationsApi.Tests.ps1 new file mode 100644 index 000000000..c8cf6eb78 --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024CertificationsApi.Tests.ps1 @@ -0,0 +1,97 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024CertificationsApi' { + Context 'Get-V2024CertificationTask' { + It 'Test Get-V2024CertificationTask' { + #$TestResult = Get-V2024CertificationTask -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024IdentityCertification' { + It 'Test Get-V2024IdentityCertification' { + #$TestResult = Get-V2024IdentityCertification -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024IdentityCertificationItemPermissions' { + It 'Test Get-V2024IdentityCertificationItemPermissions' { + #$TestResult = Get-V2024IdentityCertificationItemPermissions -CertificationId "TEST_VALUE" -ItemId "TEST_VALUE" -Filters "TEST_VALUE" -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024PendingCertificationTasks' { + It 'Test Get-V2024PendingCertificationTasks' { + #$TestResult = Get-V2024PendingCertificationTasks -ReviewerIdentity "TEST_VALUE" -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" -Filters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024CertificationReviewers' { + It 'Test Get-V2024CertificationReviewers' { + #$TestResult = Get-V2024CertificationReviewers -Id "TEST_VALUE" -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" -Filters "TEST_VALUE" -Sorters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024IdentityAccessReviewItems' { + It 'Test Get-V2024IdentityAccessReviewItems' { + #$TestResult = Get-V2024IdentityAccessReviewItems -Id "TEST_VALUE" -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" -Filters "TEST_VALUE" -Sorters "TEST_VALUE" -Entitlements "TEST_VALUE" -AccessProfiles "TEST_VALUE" -Roles "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024IdentityCertifications' { + It 'Test Get-V2024IdentityCertifications' { + #$TestResult = Get-V2024IdentityCertifications -ReviewerIdentity "TEST_VALUE" -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" -Filters "TEST_VALUE" -Sorters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Select-V2024IdentityDecision' { + It 'Test Select-V2024IdentityDecision' { + #$TestResult = Select-V2024IdentityDecision -Id "TEST_VALUE" -ReviewDecision "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Invoke-V2024ReassignIdentityCertifications' { + It 'Test Invoke-V2024ReassignIdentityCertifications' { + #$TestResult = Invoke-V2024ReassignIdentityCertifications -Id "TEST_VALUE" -ReviewReassign "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Invoke-V2024SignOffIdentityCertification' { + It 'Test Invoke-V2024SignOffIdentityCertification' { + #$TestResult = Invoke-V2024SignOffIdentityCertification -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Submit-V2024ReassignCertsAsync' { + It 'Test Submit-V2024ReassignCertsAsync' { + #$TestResult = Submit-V2024ReassignCertsAsync -Id "TEST_VALUE" -ReviewReassign "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024ConfigurationHubApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024ConfigurationHubApi.Tests.ps1 new file mode 100644 index 000000000..fd2636570 --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024ConfigurationHubApi.Tests.ps1 @@ -0,0 +1,81 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024ConfigurationHubApi' { + Context 'New-V2024ObjectMapping' { + It 'Test New-V2024ObjectMapping' { + #$TestResult = New-V2024ObjectMapping -SourceOrg "TEST_VALUE" -ObjectMappingRequest "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'New-V2024ObjectMappings' { + It 'Test New-V2024ObjectMappings' { + #$TestResult = New-V2024ObjectMappings -SourceOrg "TEST_VALUE" -ObjectMappingBulkCreateRequest "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Remove-V2024ObjectMapping' { + It 'Test Remove-V2024ObjectMapping' { + #$TestResult = Remove-V2024ObjectMapping -SourceOrg "TEST_VALUE" -ObjectMappingId "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Remove-V2024UploadedBackup' { + It 'Test Remove-V2024UploadedBackup' { + #$TestResult = Remove-V2024UploadedBackup -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024ObjectMappings' { + It 'Test Get-V2024ObjectMappings' { + #$TestResult = Get-V2024ObjectMappings -SourceOrg "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024UploadedBackup' { + It 'Test Get-V2024UploadedBackup' { + #$TestResult = Get-V2024UploadedBackup -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024UploadedBackups' { + It 'Test Get-V2024UploadedBackups' { + #$TestResult = Get-V2024UploadedBackups -Status "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Import-V2024UploadedBackup' { + It 'Test Import-V2024UploadedBackup' { + #$TestResult = Import-V2024UploadedBackup -Data "TEST_VALUE" -Name "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Update-V2024ObjectMappings' { + It 'Test Update-V2024ObjectMappings' { + #$TestResult = Update-V2024ObjectMappings -SourceOrg "TEST_VALUE" -ObjectMappingBulkPatchRequest "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024ConnectorRuleManagementApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024ConnectorRuleManagementApi.Tests.ps1 new file mode 100644 index 000000000..5347ceb24 --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024ConnectorRuleManagementApi.Tests.ps1 @@ -0,0 +1,57 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024ConnectorRuleManagementApi' { + Context 'New-V2024ConnectorRule' { + It 'Test New-V2024ConnectorRule' { + #$TestResult = New-V2024ConnectorRule -XSailPointExperimental "TEST_VALUE" -ConnectorRuleCreateRequest "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Remove-V2024ConnectorRule' { + It 'Test Remove-V2024ConnectorRule' { + #$TestResult = Remove-V2024ConnectorRule -Id "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024ConnectorRule' { + It 'Test Get-V2024ConnectorRule' { + #$TestResult = Get-V2024ConnectorRule -Id "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024ConnectorRuleList' { + It 'Test Get-V2024ConnectorRuleList' { + #$TestResult = Get-V2024ConnectorRuleList -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Update-V2024ConnectorRule' { + It 'Test Update-V2024ConnectorRule' { + #$TestResult = Update-V2024ConnectorRule -Id "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -ConnectorRuleUpdateRequest "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Confirm-V2024ConnectorRule' { + It 'Test Confirm-V2024ConnectorRule' { + #$TestResult = Confirm-V2024ConnectorRule -XSailPointExperimental "TEST_VALUE" -SourceCode "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024ConnectorsApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024ConnectorsApi.Tests.ps1 new file mode 100644 index 000000000..83cc101e5 --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024ConnectorsApi.Tests.ps1 @@ -0,0 +1,113 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024ConnectorsApi' { + Context 'New-V2024CustomConnector' { + It 'Test New-V2024CustomConnector' { + #$TestResult = New-V2024CustomConnector -V3CreateConnectorDto "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Remove-V2024CustomConnector' { + It 'Test Remove-V2024CustomConnector' { + #$TestResult = Remove-V2024CustomConnector -ScriptName "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024Connector' { + It 'Test Get-V2024Connector' { + #$TestResult = Get-V2024Connector -ScriptName "TEST_VALUE" -Locale "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024ConnectorCorrelationConfig' { + It 'Test Get-V2024ConnectorCorrelationConfig' { + #$TestResult = Get-V2024ConnectorCorrelationConfig -ScriptName "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024ConnectorList' { + It 'Test Get-V2024ConnectorList' { + #$TestResult = Get-V2024ConnectorList -Filters "TEST_VALUE" -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" -Locale "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024ConnectorSourceConfig' { + It 'Test Get-V2024ConnectorSourceConfig' { + #$TestResult = Get-V2024ConnectorSourceConfig -ScriptName "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024ConnectorSourceTemplate' { + It 'Test Get-V2024ConnectorSourceTemplate' { + #$TestResult = Get-V2024ConnectorSourceTemplate -ScriptName "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024ConnectorTranslations' { + It 'Test Get-V2024ConnectorTranslations' { + #$TestResult = Get-V2024ConnectorTranslations -ScriptName "TEST_VALUE" -Locale "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Send-V2024CorrelationConfig' { + It 'Test Send-V2024CorrelationConfig' { + #$TestResult = Send-V2024CorrelationConfig -ScriptName "TEST_VALUE" -File "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Send-V2024SourceConfig' { + It 'Test Send-V2024SourceConfig' { + #$TestResult = Send-V2024SourceConfig -ScriptName "TEST_VALUE" -File "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Send-V2024SourceTemplate' { + It 'Test Send-V2024SourceTemplate' { + #$TestResult = Send-V2024SourceTemplate -ScriptName "TEST_VALUE" -File "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Send-V2024Translations' { + It 'Test Send-V2024Translations' { + #$TestResult = Send-V2024Translations -ScriptName "TEST_VALUE" -Locale "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Update-V2024Connector' { + It 'Test Update-V2024Connector' { + #$TestResult = Update-V2024Connector -ScriptName "TEST_VALUE" -JsonPatchOperation "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024CustomFormsApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024CustomFormsApi.Tests.ps1 new file mode 100644 index 000000000..337fd101c --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024CustomFormsApi.Tests.ps1 @@ -0,0 +1,153 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024CustomFormsApi' { + Context 'New-V2024FormDefinition' { + It 'Test New-V2024FormDefinition' { + #$TestResult = New-V2024FormDefinition -XSailPointExperimental "TEST_VALUE" -Body "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'New-V2024FormDefinitionDynamicSchema' { + It 'Test New-V2024FormDefinitionDynamicSchema' { + #$TestResult = New-V2024FormDefinitionDynamicSchema -XSailPointExperimental "TEST_VALUE" -Body "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'New-V2024FormDefinitionFileRequest' { + It 'Test New-V2024FormDefinitionFileRequest' { + #$TestResult = New-V2024FormDefinitionFileRequest -FormDefinitionID "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -File "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'New-V2024FormInstance' { + It 'Test New-V2024FormInstance' { + #$TestResult = New-V2024FormInstance -XSailPointExperimental "TEST_VALUE" -Body "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Remove-V2024FormDefinition' { + It 'Test Remove-V2024FormDefinition' { + #$TestResult = Remove-V2024FormDefinition -FormDefinitionID "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Export-V2024FormDefinitionsByTenant' { + It 'Test Export-V2024FormDefinitionsByTenant' { + #$TestResult = Export-V2024FormDefinitionsByTenant -XSailPointExperimental "TEST_VALUE" -Offset "TEST_VALUE" -Limit "TEST_VALUE" -Filters "TEST_VALUE" -Sorters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024FileFromS3' { + It 'Test Get-V2024FileFromS3' { + #$TestResult = Get-V2024FileFromS3 -FormDefinitionID "TEST_VALUE" -FileID "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024FormDefinitionByKey' { + It 'Test Get-V2024FormDefinitionByKey' { + #$TestResult = Get-V2024FormDefinitionByKey -FormDefinitionID "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024FormInstanceByKey' { + It 'Test Get-V2024FormInstanceByKey' { + #$TestResult = Get-V2024FormInstanceByKey -FormInstanceID "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024FormInstanceFile' { + It 'Test Get-V2024FormInstanceFile' { + #$TestResult = Get-V2024FormInstanceFile -FormInstanceID "TEST_VALUE" -FileID "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Import-V2024FormDefinitions' { + It 'Test Import-V2024FormDefinitions' { + #$TestResult = Import-V2024FormDefinitions -XSailPointExperimental "TEST_VALUE" -Body "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Update-V2024FormDefinition' { + It 'Test Update-V2024FormDefinition' { + #$TestResult = Update-V2024FormDefinition -FormDefinitionID "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -Body "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Update-V2024FormInstance' { + It 'Test Update-V2024FormInstance' { + #$TestResult = Update-V2024FormInstance -FormInstanceID "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -Body "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Search-V2024FormDefinitionsByTenant' { + It 'Test Search-V2024FormDefinitionsByTenant' { + #$TestResult = Search-V2024FormDefinitionsByTenant -XSailPointExperimental "TEST_VALUE" -Offset "TEST_VALUE" -Limit "TEST_VALUE" -Filters "TEST_VALUE" -Sorters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Search-V2024FormElementDataByElementID' { + It 'Test Search-V2024FormElementDataByElementID' { + #$TestResult = Search-V2024FormElementDataByElementID -FormInstanceID "TEST_VALUE" -FormElementID "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -Limit "TEST_VALUE" -Filters "TEST_VALUE" -Query "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Search-V2024FormInstancesByTenant' { + It 'Test Search-V2024FormInstancesByTenant' { + #$TestResult = Search-V2024FormInstancesByTenant -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Search-V2024PreDefinedSelectOptions' { + It 'Test Search-V2024PreDefinedSelectOptions' { + #$TestResult = Search-V2024PreDefinedSelectOptions -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Show-V2024PreviewDataSource' { + It 'Test Show-V2024PreviewDataSource' { + #$TestResult = Show-V2024PreviewDataSource -FormDefinitionID "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -Limit "TEST_VALUE" -Filters "TEST_VALUE" -Query "TEST_VALUE" -FormElementPreviewRequest "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024CustomPasswordInstructionsApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024CustomPasswordInstructionsApi.Tests.ps1 new file mode 100644 index 000000000..c8cd25a4e --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024CustomPasswordInstructionsApi.Tests.ps1 @@ -0,0 +1,33 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024CustomPasswordInstructionsApi' { + Context 'New-V2024CustomPasswordInstructions' { + It 'Test New-V2024CustomPasswordInstructions' { + #$TestResult = New-V2024CustomPasswordInstructions -XSailPointExperimental "TEST_VALUE" -CustomPasswordInstruction "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Remove-V2024CustomPasswordInstructions' { + It 'Test Remove-V2024CustomPasswordInstructions' { + #$TestResult = Remove-V2024CustomPasswordInstructions -PageId "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -Locale "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024CustomPasswordInstructions' { + It 'Test Get-V2024CustomPasswordInstructions' { + #$TestResult = Get-V2024CustomPasswordInstructions -PageId "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -Locale "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024EntitlementsApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024EntitlementsApi.Tests.ps1 new file mode 100644 index 000000000..c9331e86d --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024EntitlementsApi.Tests.ps1 @@ -0,0 +1,105 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024EntitlementsApi' { + Context 'New-V2024AccessModelMetadataForEntitlement' { + It 'Test New-V2024AccessModelMetadataForEntitlement' { + #$TestResult = New-V2024AccessModelMetadataForEntitlement -Id "TEST_VALUE" -AttributeKey "TEST_VALUE" -AttributeValue "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Remove-V2024AccessModelMetadataFromEntitlement' { + It 'Test Remove-V2024AccessModelMetadataFromEntitlement' { + #$TestResult = Remove-V2024AccessModelMetadataFromEntitlement -Id "TEST_VALUE" -AttributeKey "TEST_VALUE" -AttributeValue "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024Entitlement' { + It 'Test Get-V2024Entitlement' { + #$TestResult = Get-V2024Entitlement -Id "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024EntitlementRequestConfig' { + It 'Test Get-V2024EntitlementRequestConfig' { + #$TestResult = Get-V2024EntitlementRequestConfig -Id "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Import-V2024EntitlementsBySource' { + It 'Test Import-V2024EntitlementsBySource' { + #$TestResult = Import-V2024EntitlementsBySource -Id "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -CsvFile "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024EntitlementChildren' { + It 'Test Get-V2024EntitlementChildren' { + #$TestResult = Get-V2024EntitlementChildren -Id "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" -Sorters "TEST_VALUE" -Filters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024EntitlementParents' { + It 'Test Get-V2024EntitlementParents' { + #$TestResult = Get-V2024EntitlementParents -Id "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" -Sorters "TEST_VALUE" -Filters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024Entitlements' { + It 'Test Get-V2024Entitlements' { + #$TestResult = Get-V2024Entitlements -XSailPointExperimental "TEST_VALUE" -AccountId "TEST_VALUE" -SegmentedForIdentity "TEST_VALUE" -ForSegmentIds "TEST_VALUE" -IncludeUnsegmented "TEST_VALUE" -Offset "TEST_VALUE" -Limit "TEST_VALUE" -Count "TEST_VALUE" -Sorters "TEST_VALUE" -Filters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Update-V2024Entitlement' { + It 'Test Update-V2024Entitlement' { + #$TestResult = Update-V2024Entitlement -Id "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -JsonPatchOperation "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Send-V2024EntitlementRequestConfig' { + It 'Test Send-V2024EntitlementRequestConfig' { + #$TestResult = Send-V2024EntitlementRequestConfig -Id "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -EntitlementRequestConfig "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Reset-V2024SourceEntitlements' { + It 'Test Reset-V2024SourceEntitlements' { + #$TestResult = Reset-V2024SourceEntitlements -Id "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Update-V2024EntitlementsInBulk' { + It 'Test Update-V2024EntitlementsInBulk' { + #$TestResult = Update-V2024EntitlementsInBulk -XSailPointExperimental "TEST_VALUE" -EntitlementBulkUpdateRequest "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024GlobalTenantSecuritySettingsApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024GlobalTenantSecuritySettingsApi.Tests.ps1 new file mode 100644 index 000000000..6310ea69a --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024GlobalTenantSecuritySettingsApi.Tests.ps1 @@ -0,0 +1,33 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024GlobalTenantSecuritySettingsApi' { + Context 'New-V2024AuthOrgNetworkConfig' { + It 'Test New-V2024AuthOrgNetworkConfig' { + #$TestResult = New-V2024AuthOrgNetworkConfig -NetworkConfiguration "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024AuthOrgNetworkConfig' { + It 'Test Get-V2024AuthOrgNetworkConfig' { + #$TestResult = Get-V2024AuthOrgNetworkConfig + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Update-V2024AuthOrgNetworkConfig' { + It 'Test Update-V2024AuthOrgNetworkConfig' { + #$TestResult = Update-V2024AuthOrgNetworkConfig -JsonPatchOperation "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024GovernanceGroupsApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024GovernanceGroupsApi.Tests.ps1 new file mode 100644 index 000000000..c4bb1a03b --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024GovernanceGroupsApi.Tests.ps1 @@ -0,0 +1,89 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024GovernanceGroupsApi' { + Context 'New-V2024Workgroup' { + It 'Test New-V2024Workgroup' { + #$TestResult = New-V2024Workgroup -XSailPointExperimental "TEST_VALUE" -WorkgroupDto "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Remove-V2024Workgroup' { + It 'Test Remove-V2024Workgroup' { + #$TestResult = Remove-V2024Workgroup -Id "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Remove-V2024WorkgroupMembers' { + It 'Test Remove-V2024WorkgroupMembers' { + #$TestResult = Remove-V2024WorkgroupMembers -WorkgroupId "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -IdentityPreviewResponseIdentity "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Remove-V2024WorkgroupsInBulk' { + It 'Test Remove-V2024WorkgroupsInBulk' { + #$TestResult = Remove-V2024WorkgroupsInBulk -XSailPointExperimental "TEST_VALUE" -WorkgroupBulkDeleteRequest "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024Workgroup' { + It 'Test Get-V2024Workgroup' { + #$TestResult = Get-V2024Workgroup -Id "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024Connections' { + It 'Test Get-V2024Connections' { + #$TestResult = Get-V2024Connections -WorkgroupId "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -Offset "TEST_VALUE" -Limit "TEST_VALUE" -Count "TEST_VALUE" -Sorters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024WorkgroupMembers' { + It 'Test Get-V2024WorkgroupMembers' { + #$TestResult = Get-V2024WorkgroupMembers -WorkgroupId "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -Offset "TEST_VALUE" -Limit "TEST_VALUE" -Count "TEST_VALUE" -Sorters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024Workgroups' { + It 'Test Get-V2024Workgroups' { + #$TestResult = Get-V2024Workgroups -XSailPointExperimental "TEST_VALUE" -Offset "TEST_VALUE" -Limit "TEST_VALUE" -Count "TEST_VALUE" -Filters "TEST_VALUE" -Sorters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Update-V2024Workgroup' { + It 'Test Update-V2024Workgroup' { + #$TestResult = Update-V2024Workgroup -Id "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -JsonPatchOperation "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Update-V2024WorkgroupMembers' { + It 'Test Update-V2024WorkgroupMembers' { + #$TestResult = Update-V2024WorkgroupMembers -WorkgroupId "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -IdentityPreviewResponseIdentity "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024IAIAccessRequestRecommendationsApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024IAIAccessRequestRecommendationsApi.Tests.ps1 new file mode 100644 index 000000000..ef034704b --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024IAIAccessRequestRecommendationsApi.Tests.ps1 @@ -0,0 +1,73 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024IAIAccessRequestRecommendationsApi' { + Context 'Add-V2024AccessRequestRecommendationsIgnoredItem' { + It 'Test Add-V2024AccessRequestRecommendationsIgnoredItem' { + #$TestResult = Add-V2024AccessRequestRecommendationsIgnoredItem -XSailPointExperimental "TEST_VALUE" -AccessRequestRecommendationActionItemDto "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Add-V2024AccessRequestRecommendationsRequestedItem' { + It 'Test Add-V2024AccessRequestRecommendationsRequestedItem' { + #$TestResult = Add-V2024AccessRequestRecommendationsRequestedItem -XSailPointExperimental "TEST_VALUE" -AccessRequestRecommendationActionItemDto "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Add-V2024AccessRequestRecommendationsViewedItem' { + It 'Test Add-V2024AccessRequestRecommendationsViewedItem' { + #$TestResult = Add-V2024AccessRequestRecommendationsViewedItem -XSailPointExperimental "TEST_VALUE" -AccessRequestRecommendationActionItemDto "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Add-V2024AccessRequestRecommendationsViewedItems' { + It 'Test Add-V2024AccessRequestRecommendationsViewedItems' { + #$TestResult = Add-V2024AccessRequestRecommendationsViewedItems -XSailPointExperimental "TEST_VALUE" -AccessRequestRecommendationActionItemDto "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024AccessRequestRecommendations' { + It 'Test Get-V2024AccessRequestRecommendations' { + #$TestResult = Get-V2024AccessRequestRecommendations -XSailPointExperimental "TEST_VALUE" -IdentityId "TEST_VALUE" -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" -IncludeTranslationMessages "TEST_VALUE" -Filters "TEST_VALUE" -Sorters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024AccessRequestRecommendationsIgnoredItems' { + It 'Test Get-V2024AccessRequestRecommendationsIgnoredItems' { + #$TestResult = Get-V2024AccessRequestRecommendationsIgnoredItems -XSailPointExperimental "TEST_VALUE" -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" -Filters "TEST_VALUE" -Sorters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024AccessRequestRecommendationsRequestedItems' { + It 'Test Get-V2024AccessRequestRecommendationsRequestedItems' { + #$TestResult = Get-V2024AccessRequestRecommendationsRequestedItems -XSailPointExperimental "TEST_VALUE" -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" -Filters "TEST_VALUE" -Sorters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024AccessRequestRecommendationsViewedItems' { + It 'Test Get-V2024AccessRequestRecommendationsViewedItems' { + #$TestResult = Get-V2024AccessRequestRecommendationsViewedItems -XSailPointExperimental "TEST_VALUE" -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" -Filters "TEST_VALUE" -Sorters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024IAICommonAccessApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024IAICommonAccessApi.Tests.ps1 new file mode 100644 index 000000000..9873f7971 --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024IAICommonAccessApi.Tests.ps1 @@ -0,0 +1,33 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024IAICommonAccessApi' { + Context 'New-V2024CommonAccess' { + It 'Test New-V2024CommonAccess' { + #$TestResult = New-V2024CommonAccess -XSailPointExperimental "TEST_VALUE" -CommonAccessItemRequest "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024CommonAccess' { + It 'Test Get-V2024CommonAccess' { + #$TestResult = Get-V2024CommonAccess -XSailPointExperimental "TEST_VALUE" -Offset "TEST_VALUE" -Limit "TEST_VALUE" -Count "TEST_VALUE" -Filters "TEST_VALUE" -Sorters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Update-V2024CommonAccessStatusInBulk' { + It 'Test Update-V2024CommonAccessStatusInBulk' { + #$TestResult = Update-V2024CommonAccessStatusInBulk -XSailPointExperimental "TEST_VALUE" -CommonAccessIDStatus "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024IAIOutliersApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024IAIOutliersApi.Tests.ps1 new file mode 100644 index 000000000..856ce0587 --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024IAIOutliersApi.Tests.ps1 @@ -0,0 +1,81 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024IAIOutliersApi' { + Context 'Export-V2024OutliersZip' { + It 'Test Export-V2024OutliersZip' { + #$TestResult = Export-V2024OutliersZip -XSailPointExperimental "TEST_VALUE" -Type "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024IdentityOutlierSnapshots' { + It 'Test Get-V2024IdentityOutlierSnapshots' { + #$TestResult = Get-V2024IdentityOutlierSnapshots -XSailPointExperimental "TEST_VALUE" -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Type "TEST_VALUE" -Filters "TEST_VALUE" -Sorters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024IdentityOutliers' { + It 'Test Get-V2024IdentityOutliers' { + #$TestResult = Get-V2024IdentityOutliers -XSailPointExperimental "TEST_VALUE" -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" -Type "TEST_VALUE" -Filters "TEST_VALUE" -Sorters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024LatestIdentityOutlierSnapshots' { + It 'Test Get-V2024LatestIdentityOutlierSnapshots' { + #$TestResult = Get-V2024LatestIdentityOutlierSnapshots -XSailPointExperimental "TEST_VALUE" -Type "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024OutlierContributingFeatureSummary' { + It 'Test Get-V2024OutlierContributingFeatureSummary' { + #$TestResult = Get-V2024OutlierContributingFeatureSummary -OutlierFeatureId "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024PeerGroupOutliersContributingFeatures' { + It 'Test Get-V2024PeerGroupOutliersContributingFeatures' { + #$TestResult = Get-V2024PeerGroupOutliersContributingFeatures -OutlierId "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" -IncludeTranslationMessages "TEST_VALUE" -Sorters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Invoke-V2024IgnoreIdentityOutliers' { + It 'Test Invoke-V2024IgnoreIdentityOutliers' { + #$TestResult = Invoke-V2024IgnoreIdentityOutliers -XSailPointExperimental "TEST_VALUE" -RequestBody "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024OutliersContributingFeatureAccessItems' { + It 'Test Get-V2024OutliersContributingFeatureAccessItems' { + #$TestResult = Get-V2024OutliersContributingFeatureAccessItems -OutlierId "TEST_VALUE" -ContributingFeatureName "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" -AccessType "TEST_VALUE" -Sorters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Invoke-V2024UnIgnoreIdentityOutliers' { + It 'Test Invoke-V2024UnIgnoreIdentityOutliers' { + #$TestResult = Invoke-V2024UnIgnoreIdentityOutliers -XSailPointExperimental "TEST_VALUE" -RequestBody "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024IAIPeerGroupStrategiesApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024IAIPeerGroupStrategiesApi.Tests.ps1 new file mode 100644 index 000000000..b1d6969f2 --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024IAIPeerGroupStrategiesApi.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024IAIPeerGroupStrategiesApi' { + Context 'Get-V2024PeerGroupOutliers' { + It 'Test Get-V2024PeerGroupOutliers' { + #$TestResult = Get-V2024PeerGroupOutliers -Strategy "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024IAIRecommendationsApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024IAIRecommendationsApi.Tests.ps1 new file mode 100644 index 000000000..25e8635c9 --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024IAIRecommendationsApi.Tests.ps1 @@ -0,0 +1,33 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024IAIRecommendationsApi' { + Context 'Get-V2024Recommendations' { + It 'Test Get-V2024Recommendations' { + #$TestResult = Get-V2024Recommendations -XSailPointExperimental "TEST_VALUE" -RecommendationRequestDto "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024RecommendationsConfig' { + It 'Test Get-V2024RecommendationsConfig' { + #$TestResult = Get-V2024RecommendationsConfig -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Update-V2024RecommendationsConfig' { + It 'Test Update-V2024RecommendationsConfig' { + #$TestResult = Update-V2024RecommendationsConfig -XSailPointExperimental "TEST_VALUE" -RecommendationConfigDto "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024IAIRoleMiningApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024IAIRoleMiningApi.Tests.ps1 new file mode 100644 index 000000000..145d67553 --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024IAIRoleMiningApi.Tests.ps1 @@ -0,0 +1,201 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024IAIRoleMiningApi' { + Context 'New-V2024PotentialRoleProvisionRequest' { + It 'Test New-V2024PotentialRoleProvisionRequest' { + #$TestResult = New-V2024PotentialRoleProvisionRequest -SessionId "TEST_VALUE" -PotentialRoleId "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -MinEntitlementPopularity "TEST_VALUE" -IncludeCommonAccess "TEST_VALUE" -RoleMiningPotentialRoleProvisionRequest "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'New-V2024RoleMiningSessions' { + It 'Test New-V2024RoleMiningSessions' { + #$TestResult = New-V2024RoleMiningSessions -XSailPointExperimental "TEST_VALUE" -RoleMiningSessionDto "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Invoke-V2024DownloadRoleMiningPotentialRoleZip' { + It 'Test Invoke-V2024DownloadRoleMiningPotentialRoleZip' { + #$TestResult = Invoke-V2024DownloadRoleMiningPotentialRoleZip -SessionId "TEST_VALUE" -PotentialRoleId "TEST_VALUE" -ExportId "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Export-V2024RoleMiningPotentialRole' { + It 'Test Export-V2024RoleMiningPotentialRole' { + #$TestResult = Export-V2024RoleMiningPotentialRole -SessionId "TEST_VALUE" -PotentialRoleId "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Export-V2024RoleMiningPotentialRoleAsync' { + It 'Test Export-V2024RoleMiningPotentialRoleAsync' { + #$TestResult = Export-V2024RoleMiningPotentialRoleAsync -SessionId "TEST_VALUE" -PotentialRoleId "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -RoleMiningPotentialRoleExportRequest "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Export-V2024RoleMiningPotentialRoleStatus' { + It 'Test Export-V2024RoleMiningPotentialRoleStatus' { + #$TestResult = Export-V2024RoleMiningPotentialRoleStatus -SessionId "TEST_VALUE" -PotentialRoleId "TEST_VALUE" -ExportId "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024AllPotentialRoleSummaries' { + It 'Test Get-V2024AllPotentialRoleSummaries' { + #$TestResult = Get-V2024AllPotentialRoleSummaries -XSailPointExperimental "TEST_VALUE" -Sorters "TEST_VALUE" -Filters "TEST_VALUE" -Offset "TEST_VALUE" -Limit "TEST_VALUE" -Count "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024EntitlementDistributionPotentialRole' { + It 'Test Get-V2024EntitlementDistributionPotentialRole' { + #$TestResult = Get-V2024EntitlementDistributionPotentialRole -SessionId "TEST_VALUE" -PotentialRoleId "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -IncludeCommonAccess "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024EntitlementsPotentialRole' { + It 'Test Get-V2024EntitlementsPotentialRole' { + #$TestResult = Get-V2024EntitlementsPotentialRole -SessionId "TEST_VALUE" -PotentialRoleId "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -IncludeCommonAccess "TEST_VALUE" -Sorters "TEST_VALUE" -Filters "TEST_VALUE" -Offset "TEST_VALUE" -Limit "TEST_VALUE" -Count "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024ExcludedEntitlementsPotentialRole' { + It 'Test Get-V2024ExcludedEntitlementsPotentialRole' { + #$TestResult = Get-V2024ExcludedEntitlementsPotentialRole -SessionId "TEST_VALUE" -PotentialRoleId "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -Sorters "TEST_VALUE" -Filters "TEST_VALUE" -Offset "TEST_VALUE" -Limit "TEST_VALUE" -Count "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024IdentitiesPotentialRole' { + It 'Test Get-V2024IdentitiesPotentialRole' { + #$TestResult = Get-V2024IdentitiesPotentialRole -SessionId "TEST_VALUE" -PotentialRoleId "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -Sorters "TEST_VALUE" -Filters "TEST_VALUE" -Offset "TEST_VALUE" -Limit "TEST_VALUE" -Count "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024PotentialRole' { + It 'Test Get-V2024PotentialRole' { + #$TestResult = Get-V2024PotentialRole -SessionId "TEST_VALUE" -PotentialRoleId "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024PotentialRoleApplications' { + It 'Test Get-V2024PotentialRoleApplications' { + #$TestResult = Get-V2024PotentialRoleApplications -SessionId "TEST_VALUE" -PotentialRoleId "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -Offset "TEST_VALUE" -Limit "TEST_VALUE" -Count "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024PotentialRoleSourceIdentityUsage' { + It 'Test Get-V2024PotentialRoleSourceIdentityUsage' { + #$TestResult = Get-V2024PotentialRoleSourceIdentityUsage -PotentialRoleId "TEST_VALUE" -SourceId "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -Sorters "TEST_VALUE" -Offset "TEST_VALUE" -Limit "TEST_VALUE" -Count "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024PotentialRoleSummaries' { + It 'Test Get-V2024PotentialRoleSummaries' { + #$TestResult = Get-V2024PotentialRoleSummaries -SessionId "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -Sorters "TEST_VALUE" -Filters "TEST_VALUE" -Offset "TEST_VALUE" -Limit "TEST_VALUE" -Count "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024RoleMiningPotentialRole' { + It 'Test Get-V2024RoleMiningPotentialRole' { + #$TestResult = Get-V2024RoleMiningPotentialRole -PotentialRoleId "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024RoleMiningSession' { + It 'Test Get-V2024RoleMiningSession' { + #$TestResult = Get-V2024RoleMiningSession -SessionId "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024RoleMiningSessionStatus' { + It 'Test Get-V2024RoleMiningSessionStatus' { + #$TestResult = Get-V2024RoleMiningSessionStatus -SessionId "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024RoleMiningSessions' { + It 'Test Get-V2024RoleMiningSessions' { + #$TestResult = Get-V2024RoleMiningSessions -XSailPointExperimental "TEST_VALUE" -Filters "TEST_VALUE" -Sorters "TEST_VALUE" -Offset "TEST_VALUE" -Limit "TEST_VALUE" -Count "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024SavedPotentialRoles' { + It 'Test Get-V2024SavedPotentialRoles' { + #$TestResult = Get-V2024SavedPotentialRoles -XSailPointExperimental "TEST_VALUE" -Sorters "TEST_VALUE" -Offset "TEST_VALUE" -Limit "TEST_VALUE" -Count "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Update-V2024PotentialRole' { + It 'Test Update-V2024PotentialRole' { + #$TestResult = Update-V2024PotentialRole -SessionId "TEST_VALUE" -PotentialRoleId "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -PatchPotentialRoleRequestInner "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Update-V2024PotentialRole0' { + It 'Test Update-V2024PotentialRole0' { + #$TestResult = Update-V2024PotentialRole0 -SessionId "TEST_VALUE" -PotentialRoleId "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -PatchPotentialRoleRequestInner "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Update-V2024RoleMiningSession' { + It 'Test Update-V2024RoleMiningSession' { + #$TestResult = Update-V2024RoleMiningSession -SessionId "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -JsonPatchOperation "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Update-V2024EntitlementsPotentialRole' { + It 'Test Update-V2024EntitlementsPotentialRole' { + #$TestResult = Update-V2024EntitlementsPotentialRole -SessionId "TEST_VALUE" -PotentialRoleId "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -RoleMiningPotentialRoleEditEntitlements "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024IconsApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024IconsApi.Tests.ps1 new file mode 100644 index 000000000..ac46eb63c --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024IconsApi.Tests.ps1 @@ -0,0 +1,25 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024IconsApi' { + Context 'Remove-V2024Icon' { + It 'Test Remove-V2024Icon' { + #$TestResult = Remove-V2024Icon -ObjectType "TEST_VALUE" -ObjectId "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Set-V2024Icon' { + It 'Test Set-V2024Icon' { + #$TestResult = Set-V2024Icon -ObjectType "TEST_VALUE" -ObjectId "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -Image "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024IdentitiesApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024IdentitiesApi.Tests.ps1 new file mode 100644 index 000000000..ebbe136c6 --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024IdentitiesApi.Tests.ps1 @@ -0,0 +1,81 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024IdentitiesApi' { + Context 'Remove-V2024Identity' { + It 'Test Remove-V2024Identity' { + #$TestResult = Remove-V2024Identity -Id "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024Identity' { + It 'Test Get-V2024Identity' { + #$TestResult = Get-V2024Identity -Id "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024IdentityOwnershipDetails' { + It 'Test Get-V2024IdentityOwnershipDetails' { + #$TestResult = Get-V2024IdentityOwnershipDetails -IdentityId "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024RoleAssignment' { + It 'Test Get-V2024RoleAssignment' { + #$TestResult = Get-V2024RoleAssignment -IdentityId "TEST_VALUE" -AssignmentId "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024RoleAssignments' { + It 'Test Get-V2024RoleAssignments' { + #$TestResult = Get-V2024RoleAssignments -IdentityId "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -RoleId "TEST_VALUE" -RoleName "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024Identities' { + It 'Test Get-V2024Identities' { + #$TestResult = Get-V2024Identities -XSailPointExperimental "TEST_VALUE" -Filters "TEST_VALUE" -Sorters "TEST_VALUE" -DefaultFilter "TEST_VALUE" -Count "TEST_VALUE" -Limit "TEST_VALUE" -Offset "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Reset-V2024Identity' { + It 'Test Reset-V2024Identity' { + #$TestResult = Reset-V2024Identity -IdentityId "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Start-V2024IdentityProcessing' { + It 'Test Start-V2024IdentityProcessing' { + #$TestResult = Start-V2024IdentityProcessing -XSailPointExperimental "TEST_VALUE" -ProcessIdentitiesRequest "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Sync-V2024hronizeAttributesForIdentity' { + It 'Test Sync-V2024hronizeAttributesForIdentity' { + #$TestResult = Sync-V2024hronizeAttributesForIdentity -IdentityId "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024IdentityAttributesApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024IdentityAttributesApi.Tests.ps1 new file mode 100644 index 000000000..4b53ffa00 --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024IdentityAttributesApi.Tests.ps1 @@ -0,0 +1,57 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024IdentityAttributesApi' { + Context 'New-V2024IdentityAttribute' { + It 'Test New-V2024IdentityAttribute' { + #$TestResult = New-V2024IdentityAttribute -XSailPointExperimental "TEST_VALUE" -IdentityAttribute "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Remove-V2024IdentityAttribute' { + It 'Test Remove-V2024IdentityAttribute' { + #$TestResult = Remove-V2024IdentityAttribute -Name "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Remove-V2024IdentityAttributesInBulk' { + It 'Test Remove-V2024IdentityAttributesInBulk' { + #$TestResult = Remove-V2024IdentityAttributesInBulk -XSailPointExperimental "TEST_VALUE" -IdentityAttributeNames "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024IdentityAttribute' { + It 'Test Get-V2024IdentityAttribute' { + #$TestResult = Get-V2024IdentityAttribute -Name "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024IdentityAttributes' { + It 'Test Get-V2024IdentityAttributes' { + #$TestResult = Get-V2024IdentityAttributes -XSailPointExperimental "TEST_VALUE" -IncludeSystem "TEST_VALUE" -IncludeSilent "TEST_VALUE" -SearchableOnly "TEST_VALUE" -Count "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Send-V2024IdentityAttribute' { + It 'Test Send-V2024IdentityAttribute' { + #$TestResult = Send-V2024IdentityAttribute -Name "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -IdentityAttribute "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024IdentityHistoryApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024IdentityHistoryApi.Tests.ps1 new file mode 100644 index 000000000..b764680fb --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024IdentityHistoryApi.Tests.ps1 @@ -0,0 +1,97 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024IdentityHistoryApi' { + Context 'Compare-V2024IdentitySnapshots' { + It 'Test Compare-V2024IdentitySnapshots' { + #$TestResult = Compare-V2024IdentitySnapshots -Id "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -Snapshot1 "TEST_VALUE" -Snapshot2 "TEST_VALUE" -AccessItemTypes "TEST_VALUE" -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Compare-V2024IdentitySnapshotsAccessType' { + It 'Test Compare-V2024IdentitySnapshotsAccessType' { + #$TestResult = Compare-V2024IdentitySnapshotsAccessType -Id "TEST_VALUE" -AccessType "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -AccessAssociated "TEST_VALUE" -Snapshot1 "TEST_VALUE" -Snapshot2 "TEST_VALUE" -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024HistoricalIdentity' { + It 'Test Get-V2024HistoricalIdentity' { + #$TestResult = Get-V2024HistoricalIdentity -Id "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024HistoricalIdentityEvents' { + It 'Test Get-V2024HistoricalIdentityEvents' { + #$TestResult = Get-V2024HistoricalIdentityEvents -Id "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -From "TEST_VALUE" -EventTypes "TEST_VALUE" -AccessItemTypes "TEST_VALUE" -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024IdentitySnapshot' { + It 'Test Get-V2024IdentitySnapshot' { + #$TestResult = Get-V2024IdentitySnapshot -Id "TEST_VALUE" -Date "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024IdentitySnapshotSummary' { + It 'Test Get-V2024IdentitySnapshotSummary' { + #$TestResult = Get-V2024IdentitySnapshotSummary -Id "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -Before "TEST_VALUE" -Interval "TEST_VALUE" -TimeZone "TEST_VALUE" -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024IdentityStartDate' { + It 'Test Get-V2024IdentityStartDate' { + #$TestResult = Get-V2024IdentityStartDate -Id "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024HistoricalIdentities' { + It 'Test Get-V2024HistoricalIdentities' { + #$TestResult = Get-V2024HistoricalIdentities -XSailPointExperimental "TEST_VALUE" -StartsWithQuery "TEST_VALUE" -IsDeleted "TEST_VALUE" -IsActive "TEST_VALUE" -Limit "TEST_VALUE" -Offset "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024IdentityAccessItems' { + It 'Test Get-V2024IdentityAccessItems' { + #$TestResult = Get-V2024IdentityAccessItems -Id "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -Type "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024IdentitySnapshotAccessItems' { + It 'Test Get-V2024IdentitySnapshotAccessItems' { + #$TestResult = Get-V2024IdentitySnapshotAccessItems -Id "TEST_VALUE" -Date "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -Type "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024IdentitySnapshots' { + It 'Test Get-V2024IdentitySnapshots' { + #$TestResult = Get-V2024IdentitySnapshots -Id "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -Start "TEST_VALUE" -Interval "TEST_VALUE" -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024IdentityProfilesApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024IdentityProfilesApi.Tests.ps1 new file mode 100644 index 000000000..7d912c767 --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024IdentityProfilesApi.Tests.ps1 @@ -0,0 +1,97 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024IdentityProfilesApi' { + Context 'New-V2024IdentityProfile' { + It 'Test New-V2024IdentityProfile' { + #$TestResult = New-V2024IdentityProfile -IdentityProfile "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Remove-V2024IdentityProfile' { + It 'Test Remove-V2024IdentityProfile' { + #$TestResult = Remove-V2024IdentityProfile -IdentityProfileId "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Remove-V2024IdentityProfiles' { + It 'Test Remove-V2024IdentityProfiles' { + #$TestResult = Remove-V2024IdentityProfiles -RequestBody "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Export-V2024IdentityProfiles' { + It 'Test Export-V2024IdentityProfiles' { + #$TestResult = Export-V2024IdentityProfiles -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" -Filters "TEST_VALUE" -Sorters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024DefaultIdentityAttributeConfig' { + It 'Test Get-V2024DefaultIdentityAttributeConfig' { + #$TestResult = Get-V2024DefaultIdentityAttributeConfig -IdentityProfileId "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024IdentityProfile' { + It 'Test Get-V2024IdentityProfile' { + #$TestResult = Get-V2024IdentityProfile -IdentityProfileId "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Import-V2024IdentityProfiles' { + It 'Test Import-V2024IdentityProfiles' { + #$TestResult = Import-V2024IdentityProfiles -IdentityProfileExportedObject "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024IdentityProfiles' { + It 'Test Get-V2024IdentityProfiles' { + #$TestResult = Get-V2024IdentityProfiles -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" -Filters "TEST_VALUE" -Sorters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Show-V2024IdentityPreview' { + It 'Test Show-V2024IdentityPreview' { + #$TestResult = Show-V2024IdentityPreview -IdentityPreviewRequest "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Sync-V2024IdentityProfile' { + It 'Test Sync-V2024IdentityProfile' { + #$TestResult = Sync-V2024IdentityProfile -IdentityProfileId "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Update-V2024IdentityProfile' { + It 'Test Update-V2024IdentityProfile' { + #$TestResult = Update-V2024IdentityProfile -IdentityProfileId "TEST_VALUE" -JsonPatchOperation "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024LifecycleStatesApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024LifecycleStatesApi.Tests.ps1 new file mode 100644 index 000000000..115c38a81 --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024LifecycleStatesApi.Tests.ps1 @@ -0,0 +1,57 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024LifecycleStatesApi' { + Context 'New-V2024LifecycleState' { + It 'Test New-V2024LifecycleState' { + #$TestResult = New-V2024LifecycleState -IdentityProfileId "TEST_VALUE" -LifecycleState "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Remove-V2024LifecycleState' { + It 'Test Remove-V2024LifecycleState' { + #$TestResult = Remove-V2024LifecycleState -IdentityProfileId "TEST_VALUE" -LifecycleStateId "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024LifecycleState' { + It 'Test Get-V2024LifecycleState' { + #$TestResult = Get-V2024LifecycleState -IdentityProfileId "TEST_VALUE" -LifecycleStateId "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024LifecycleStates' { + It 'Test Get-V2024LifecycleStates' { + #$TestResult = Get-V2024LifecycleStates -IdentityProfileId "TEST_VALUE" -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" -Sorters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Set-V2024LifecycleState' { + It 'Test Set-V2024LifecycleState' { + #$TestResult = Set-V2024LifecycleState -IdentityId "TEST_VALUE" -SetLifecycleStateRequest "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Update-V2024LifecycleStates' { + It 'Test Update-V2024LifecycleStates' { + #$TestResult = Update-V2024LifecycleStates -IdentityProfileId "TEST_VALUE" -LifecycleStateId "TEST_VALUE" -JsonPatchOperation "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024MFAConfigurationApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024MFAConfigurationApi.Tests.ps1 new file mode 100644 index 000000000..826b642d1 --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024MFAConfigurationApi.Tests.ps1 @@ -0,0 +1,65 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024MFAConfigurationApi' { + Context 'Get-V2024MFADuoConfig' { + It 'Test Get-V2024MFADuoConfig' { + #$TestResult = Get-V2024MFADuoConfig + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024MFAKbaConfig' { + It 'Test Get-V2024MFAKbaConfig' { + #$TestResult = Get-V2024MFAKbaConfig -AllLanguages "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024MFAOktaConfig' { + It 'Test Get-V2024MFAOktaConfig' { + #$TestResult = Get-V2024MFAOktaConfig + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Set-V2024MFADuoConfig' { + It 'Test Set-V2024MFADuoConfig' { + #$TestResult = Set-V2024MFADuoConfig -MfaDuoConfig "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Set-V2024MFAKBAConfig' { + It 'Test Set-V2024MFAKBAConfig' { + #$TestResult = Set-V2024MFAKBAConfig -KbaAnswerRequestItem "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Set-V2024MFAOktaConfig' { + It 'Test Set-V2024MFAOktaConfig' { + #$TestResult = Set-V2024MFAOktaConfig -MfaOktaConfig "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Test-V2024MFAConfig' { + It 'Test Test-V2024MFAConfig' { + #$TestResult = Test-V2024MFAConfig -Method "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024ManagedClientsApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024ManagedClientsApi.Tests.ps1 new file mode 100644 index 000000000..f6c266bc0 --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024ManagedClientsApi.Tests.ps1 @@ -0,0 +1,57 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024ManagedClientsApi' { + Context 'New-V2024ManagedClient' { + It 'Test New-V2024ManagedClient' { + #$TestResult = New-V2024ManagedClient -ManagedClientRequest "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Remove-V2024ManagedClient' { + It 'Test Remove-V2024ManagedClient' { + #$TestResult = Remove-V2024ManagedClient -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024ManagedClient' { + It 'Test Get-V2024ManagedClient' { + #$TestResult = Get-V2024ManagedClient -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024ManagedClientStatus' { + It 'Test Get-V2024ManagedClientStatus' { + #$TestResult = Get-V2024ManagedClientStatus -Id "TEST_VALUE" -Type "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024ManagedClients' { + It 'Test Get-V2024ManagedClients' { + #$TestResult = Get-V2024ManagedClients -Offset "TEST_VALUE" -Limit "TEST_VALUE" -Count "TEST_VALUE" -Filters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Update-V2024ManagedClient' { + It 'Test Update-V2024ManagedClient' { + #$TestResult = Update-V2024ManagedClient -Id "TEST_VALUE" -JsonPatchOperation "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024ManagedClustersApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024ManagedClustersApi.Tests.ps1 new file mode 100644 index 000000000..e44b77c94 --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024ManagedClustersApi.Tests.ps1 @@ -0,0 +1,49 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024ManagedClustersApi' { + Context 'New-V2024ManagedCluster' { + It 'Test New-V2024ManagedCluster' { + #$TestResult = New-V2024ManagedCluster -ManagedClusterRequest "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Remove-V2024ManagedCluster' { + It 'Test Remove-V2024ManagedCluster' { + #$TestResult = Remove-V2024ManagedCluster -Id "TEST_VALUE" -RemoveClients "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024ManagedCluster' { + It 'Test Get-V2024ManagedCluster' { + #$TestResult = Get-V2024ManagedCluster -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024ManagedClusters' { + It 'Test Get-V2024ManagedClusters' { + #$TestResult = Get-V2024ManagedClusters -Offset "TEST_VALUE" -Limit "TEST_VALUE" -Count "TEST_VALUE" -Filters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Update-V2024ManagedCluster' { + It 'Test Update-V2024ManagedCluster' { + #$TestResult = Update-V2024ManagedCluster -Id "TEST_VALUE" -JsonPatchOperation "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024NonEmployeeLifecycleManagementApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024NonEmployeeLifecycleManagementApi.Tests.ps1 new file mode 100644 index 000000000..c1064e773 --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024NonEmployeeLifecycleManagementApi.Tests.ps1 @@ -0,0 +1,265 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024NonEmployeeLifecycleManagementApi' { + Context 'Approve-V2024NonEmployeeRequest' { + It 'Test Approve-V2024NonEmployeeRequest' { + #$TestResult = Approve-V2024NonEmployeeRequest -Id "TEST_VALUE" -NonEmployeeApprovalDecision "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'New-V2024NonEmployeeRecord' { + It 'Test New-V2024NonEmployeeRecord' { + #$TestResult = New-V2024NonEmployeeRecord -NonEmployeeRequestBody "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'New-V2024NonEmployeeRequest' { + It 'Test New-V2024NonEmployeeRequest' { + #$TestResult = New-V2024NonEmployeeRequest -NonEmployeeRequestBody "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'New-V2024NonEmployeeSource' { + It 'Test New-V2024NonEmployeeSource' { + #$TestResult = New-V2024NonEmployeeSource -NonEmployeeSourceRequestBody "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'New-V2024NonEmployeeSourceSchemaAttributes' { + It 'Test New-V2024NonEmployeeSourceSchemaAttributes' { + #$TestResult = New-V2024NonEmployeeSourceSchemaAttributes -SourceId "TEST_VALUE" -NonEmployeeSchemaAttributeBody "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Remove-V2024NonEmployeeRecord' { + It 'Test Remove-V2024NonEmployeeRecord' { + #$TestResult = Remove-V2024NonEmployeeRecord -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Remove-V2024NonEmployeeRecordsInBulk' { + It 'Test Remove-V2024NonEmployeeRecordsInBulk' { + #$TestResult = Remove-V2024NonEmployeeRecordsInBulk -DeleteNonEmployeeRecordsInBulkRequest "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Remove-V2024NonEmployeeRequest' { + It 'Test Remove-V2024NonEmployeeRequest' { + #$TestResult = Remove-V2024NonEmployeeRequest -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Remove-V2024NonEmployeeSchemaAttribute' { + It 'Test Remove-V2024NonEmployeeSchemaAttribute' { + #$TestResult = Remove-V2024NonEmployeeSchemaAttribute -AttributeId "TEST_VALUE" -SourceId "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Remove-V2024NonEmployeeSource' { + It 'Test Remove-V2024NonEmployeeSource' { + #$TestResult = Remove-V2024NonEmployeeSource -SourceId "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Remove-V2024NonEmployeeSourceSchemaAttributes' { + It 'Test Remove-V2024NonEmployeeSourceSchemaAttributes' { + #$TestResult = Remove-V2024NonEmployeeSourceSchemaAttributes -SourceId "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Export-V2024NonEmployeeRecords' { + It 'Test Export-V2024NonEmployeeRecords' { + #$TestResult = Export-V2024NonEmployeeRecords -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Export-V2024NonEmployeeSourceSchemaTemplate' { + It 'Test Export-V2024NonEmployeeSourceSchemaTemplate' { + #$TestResult = Export-V2024NonEmployeeSourceSchemaTemplate -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024NonEmployeeApproval' { + It 'Test Get-V2024NonEmployeeApproval' { + #$TestResult = Get-V2024NonEmployeeApproval -Id "TEST_VALUE" -IncludeDetail "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024NonEmployeeApprovalSummary' { + It 'Test Get-V2024NonEmployeeApprovalSummary' { + #$TestResult = Get-V2024NonEmployeeApprovalSummary -RequestedFor "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024NonEmployeeBulkUploadStatus' { + It 'Test Get-V2024NonEmployeeBulkUploadStatus' { + #$TestResult = Get-V2024NonEmployeeBulkUploadStatus -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024NonEmployeeRecord' { + It 'Test Get-V2024NonEmployeeRecord' { + #$TestResult = Get-V2024NonEmployeeRecord -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024NonEmployeeRequest' { + It 'Test Get-V2024NonEmployeeRequest' { + #$TestResult = Get-V2024NonEmployeeRequest -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024NonEmployeeRequestSummary' { + It 'Test Get-V2024NonEmployeeRequestSummary' { + #$TestResult = Get-V2024NonEmployeeRequestSummary -RequestedFor "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024NonEmployeeSchemaAttribute' { + It 'Test Get-V2024NonEmployeeSchemaAttribute' { + #$TestResult = Get-V2024NonEmployeeSchemaAttribute -AttributeId "TEST_VALUE" -SourceId "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024NonEmployeeSource' { + It 'Test Get-V2024NonEmployeeSource' { + #$TestResult = Get-V2024NonEmployeeSource -SourceId "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024NonEmployeeSourceSchemaAttributes' { + It 'Test Get-V2024NonEmployeeSourceSchemaAttributes' { + #$TestResult = Get-V2024NonEmployeeSourceSchemaAttributes -SourceId "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Import-V2024NonEmployeeRecordsInBulk' { + It 'Test Import-V2024NonEmployeeRecordsInBulk' { + #$TestResult = Import-V2024NonEmployeeRecordsInBulk -Id "TEST_VALUE" -Data "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024NonEmployeeApprovals' { + It 'Test Get-V2024NonEmployeeApprovals' { + #$TestResult = Get-V2024NonEmployeeApprovals -RequestedFor "TEST_VALUE" -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" -Filters "TEST_VALUE" -Sorters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024NonEmployeeRecords' { + It 'Test Get-V2024NonEmployeeRecords' { + #$TestResult = Get-V2024NonEmployeeRecords -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" -Sorters "TEST_VALUE" -Filters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024NonEmployeeRequests' { + It 'Test Get-V2024NonEmployeeRequests' { + #$TestResult = Get-V2024NonEmployeeRequests -RequestedFor "TEST_VALUE" -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" -Sorters "TEST_VALUE" -Filters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024NonEmployeeSources' { + It 'Test Get-V2024NonEmployeeSources' { + #$TestResult = Get-V2024NonEmployeeSources -RequestedFor "TEST_VALUE" -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" -NonEmployeeCount "TEST_VALUE" -Sorters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Update-V2024NonEmployeeRecord' { + It 'Test Update-V2024NonEmployeeRecord' { + #$TestResult = Update-V2024NonEmployeeRecord -Id "TEST_VALUE" -JsonPatchOperation "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Update-V2024NonEmployeeSchemaAttribute' { + It 'Test Update-V2024NonEmployeeSchemaAttribute' { + #$TestResult = Update-V2024NonEmployeeSchemaAttribute -AttributeId "TEST_VALUE" -SourceId "TEST_VALUE" -JsonPatchOperation "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Update-V2024NonEmployeeSource' { + It 'Test Update-V2024NonEmployeeSource' { + #$TestResult = Update-V2024NonEmployeeSource -SourceId "TEST_VALUE" -JsonPatchOperation "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Deny-V2024NonEmployeeRequest' { + It 'Test Deny-V2024NonEmployeeRequest' { + #$TestResult = Deny-V2024NonEmployeeRequest -Id "TEST_VALUE" -NonEmployeeRejectApprovalDecision "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Update-V2024NonEmployeeRecord' { + It 'Test Update-V2024NonEmployeeRecord' { + #$TestResult = Update-V2024NonEmployeeRecord -Id "TEST_VALUE" -NonEmployeeRequestBody "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024NotificationsApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024NotificationsApi.Tests.ps1 new file mode 100644 index 000000000..64c3162bb --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024NotificationsApi.Tests.ps1 @@ -0,0 +1,129 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024NotificationsApi' { + Context 'New-V2024DomainDkim' { + It 'Test New-V2024DomainDkim' { + #$TestResult = New-V2024DomainDkim -XSailPointExperimental "TEST_VALUE" -DomainAddress "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'New-V2024NotificationTemplate' { + It 'Test New-V2024NotificationTemplate' { + #$TestResult = New-V2024NotificationTemplate -XSailPointExperimental "TEST_VALUE" -TemplateDto "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'New-V2024VerifiedFromAddress' { + It 'Test New-V2024VerifiedFromAddress' { + #$TestResult = New-V2024VerifiedFromAddress -XSailPointExperimental "TEST_VALUE" -EmailStatusDto "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Remove-V2024NotificationTemplatesInBulk' { + It 'Test Remove-V2024NotificationTemplatesInBulk' { + #$TestResult = Remove-V2024NotificationTemplatesInBulk -XSailPointExperimental "TEST_VALUE" -TemplateBulkDeleteDto "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Remove-V2024VerifiedFromAddress' { + It 'Test Remove-V2024VerifiedFromAddress' { + #$TestResult = Remove-V2024VerifiedFromAddress -Id "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024DkimAttributes' { + It 'Test Get-V2024DkimAttributes' { + #$TestResult = Get-V2024DkimAttributes -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024MailFromAttributes' { + It 'Test Get-V2024MailFromAttributes' { + #$TestResult = Get-V2024MailFromAttributes -Id "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024NotificationTemplate' { + It 'Test Get-V2024NotificationTemplate' { + #$TestResult = Get-V2024NotificationTemplate -Id "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024NotificationsTemplateContext' { + It 'Test Get-V2024NotificationsTemplateContext' { + #$TestResult = Get-V2024NotificationsTemplateContext -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024FromAddresses' { + It 'Test Get-V2024FromAddresses' { + #$TestResult = Get-V2024FromAddresses -XSailPointExperimental "TEST_VALUE" -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" -Filters "TEST_VALUE" -Sorters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024NotificationPreferences' { + It 'Test Get-V2024NotificationPreferences' { + #$TestResult = Get-V2024NotificationPreferences -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024NotificationTemplateDefaults' { + It 'Test Get-V2024NotificationTemplateDefaults' { + #$TestResult = Get-V2024NotificationTemplateDefaults -XSailPointExperimental "TEST_VALUE" -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Filters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024NotificationTemplates' { + It 'Test Get-V2024NotificationTemplates' { + #$TestResult = Get-V2024NotificationTemplates -XSailPointExperimental "TEST_VALUE" -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Filters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Send-V2024MailFromAttributes' { + It 'Test Send-V2024MailFromAttributes' { + #$TestResult = Send-V2024MailFromAttributes -XSailPointExperimental "TEST_VALUE" -MailFromAttributesDto "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Send-V2024TestNotification' { + It 'Test Send-V2024TestNotification' { + #$TestResult = Send-V2024TestNotification -XSailPointExperimental "TEST_VALUE" -SendTestNotificationRequestDto "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024OAuthClientsApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024OAuthClientsApi.Tests.ps1 new file mode 100644 index 000000000..0c18b696c --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024OAuthClientsApi.Tests.ps1 @@ -0,0 +1,49 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024OAuthClientsApi' { + Context 'New-V2024OauthClient' { + It 'Test New-V2024OauthClient' { + #$TestResult = New-V2024OauthClient -CreateOAuthClientRequest "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Remove-V2024OauthClient' { + It 'Test Remove-V2024OauthClient' { + #$TestResult = Remove-V2024OauthClient -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024OauthClient' { + It 'Test Get-V2024OauthClient' { + #$TestResult = Get-V2024OauthClient -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024OauthClients' { + It 'Test Get-V2024OauthClients' { + #$TestResult = Get-V2024OauthClients -Filters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Update-V2024OauthClient' { + It 'Test Update-V2024OauthClient' { + #$TestResult = Update-V2024OauthClient -Id "TEST_VALUE" -JsonPatchOperation "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024OrgConfigApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024OrgConfigApi.Tests.ps1 new file mode 100644 index 000000000..28c9a34b7 --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024OrgConfigApi.Tests.ps1 @@ -0,0 +1,33 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024OrgConfigApi' { + Context 'Get-V2024OrgConfig' { + It 'Test Get-V2024OrgConfig' { + #$TestResult = Get-V2024OrgConfig -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024ValidTimeZones' { + It 'Test Get-V2024ValidTimeZones' { + #$TestResult = Get-V2024ValidTimeZones -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Update-V2024OrgConfig' { + It 'Test Update-V2024OrgConfig' { + #$TestResult = Update-V2024OrgConfig -XSailPointExperimental "TEST_VALUE" -JsonPatchOperation "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024PasswordConfigurationApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024PasswordConfigurationApi.Tests.ps1 new file mode 100644 index 000000000..5d92e6aad --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024PasswordConfigurationApi.Tests.ps1 @@ -0,0 +1,33 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024PasswordConfigurationApi' { + Context 'New-V2024PasswordOrgConfig' { + It 'Test New-V2024PasswordOrgConfig' { + #$TestResult = New-V2024PasswordOrgConfig -PasswordOrgConfig "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024PasswordOrgConfig' { + It 'Test Get-V2024PasswordOrgConfig' { + #$TestResult = Get-V2024PasswordOrgConfig + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Send-V2024PasswordOrgConfig' { + It 'Test Send-V2024PasswordOrgConfig' { + #$TestResult = Send-V2024PasswordOrgConfig -PasswordOrgConfig "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024PasswordDictionaryApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024PasswordDictionaryApi.Tests.ps1 new file mode 100644 index 000000000..7547edd01 --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024PasswordDictionaryApi.Tests.ps1 @@ -0,0 +1,25 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024PasswordDictionaryApi' { + Context 'Get-V2024PasswordDictionary' { + It 'Test Get-V2024PasswordDictionary' { + #$TestResult = Get-V2024PasswordDictionary + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Send-V2024PasswordDictionary' { + It 'Test Send-V2024PasswordDictionary' { + #$TestResult = Send-V2024PasswordDictionary -File "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024PasswordManagementApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024PasswordManagementApi.Tests.ps1 new file mode 100644 index 000000000..cb096732e --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024PasswordManagementApi.Tests.ps1 @@ -0,0 +1,41 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024PasswordManagementApi' { + Context 'New-V2024DigitToken' { + It 'Test New-V2024DigitToken' { + #$TestResult = New-V2024DigitToken -XSailPointExperimental "TEST_VALUE" -PasswordDigitTokenReset "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024PasswordChangeStatus' { + It 'Test Get-V2024PasswordChangeStatus' { + #$TestResult = Get-V2024PasswordChangeStatus -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Search-V2024PasswordInfo' { + It 'Test Search-V2024PasswordInfo' { + #$TestResult = Search-V2024PasswordInfo -PasswordInfoQueryDTO "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Set-V2024Password' { + It 'Test Set-V2024Password' { + #$TestResult = Set-V2024Password -PasswordChangeRequest "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024PasswordPoliciesApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024PasswordPoliciesApi.Tests.ps1 new file mode 100644 index 000000000..c0ae41824 --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024PasswordPoliciesApi.Tests.ps1 @@ -0,0 +1,49 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024PasswordPoliciesApi' { + Context 'New-V2024PasswordPolicy' { + It 'Test New-V2024PasswordPolicy' { + #$TestResult = New-V2024PasswordPolicy -PasswordPolicyV3Dto "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Remove-V2024PasswordPolicy' { + It 'Test Remove-V2024PasswordPolicy' { + #$TestResult = Remove-V2024PasswordPolicy -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024PasswordPolicyById' { + It 'Test Get-V2024PasswordPolicyById' { + #$TestResult = Get-V2024PasswordPolicyById -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024PasswordPolicies' { + It 'Test Get-V2024PasswordPolicies' { + #$TestResult = Get-V2024PasswordPolicies -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Set-V2024PasswordPolicy' { + It 'Test Set-V2024PasswordPolicy' { + #$TestResult = Set-V2024PasswordPolicy -Id "TEST_VALUE" -PasswordPolicyV3Dto "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024PasswordSyncGroupsApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024PasswordSyncGroupsApi.Tests.ps1 new file mode 100644 index 000000000..5a177cd8c --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024PasswordSyncGroupsApi.Tests.ps1 @@ -0,0 +1,49 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024PasswordSyncGroupsApi' { + Context 'New-V2024PasswordSyncGroup' { + It 'Test New-V2024PasswordSyncGroup' { + #$TestResult = New-V2024PasswordSyncGroup -PasswordSyncGroup "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Remove-V2024PasswordSyncGroup' { + It 'Test Remove-V2024PasswordSyncGroup' { + #$TestResult = Remove-V2024PasswordSyncGroup -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024PasswordSyncGroup' { + It 'Test Get-V2024PasswordSyncGroup' { + #$TestResult = Get-V2024PasswordSyncGroup -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024PasswordSyncGroups' { + It 'Test Get-V2024PasswordSyncGroups' { + #$TestResult = Get-V2024PasswordSyncGroups -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Update-V2024PasswordSyncGroup' { + It 'Test Update-V2024PasswordSyncGroup' { + #$TestResult = Update-V2024PasswordSyncGroup -Id "TEST_VALUE" -PasswordSyncGroup "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024PersonalAccessTokensApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024PersonalAccessTokensApi.Tests.ps1 new file mode 100644 index 000000000..ace36fade --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024PersonalAccessTokensApi.Tests.ps1 @@ -0,0 +1,41 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024PersonalAccessTokensApi' { + Context 'New-V2024PersonalAccessToken' { + It 'Test New-V2024PersonalAccessToken' { + #$TestResult = New-V2024PersonalAccessToken -CreatePersonalAccessTokenRequest "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Remove-V2024PersonalAccessToken' { + It 'Test Remove-V2024PersonalAccessToken' { + #$TestResult = Remove-V2024PersonalAccessToken -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024PersonalAccessTokens' { + It 'Test Get-V2024PersonalAccessTokens' { + #$TestResult = Get-V2024PersonalAccessTokens -OwnerId "TEST_VALUE" -Filters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Update-V2024PersonalAccessToken' { + It 'Test Update-V2024PersonalAccessToken' { + #$TestResult = Update-V2024PersonalAccessToken -Id "TEST_VALUE" -JsonPatchOperation "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024PublicIdentitiesApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024PublicIdentitiesApi.Tests.ps1 new file mode 100644 index 000000000..9284eecaa --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024PublicIdentitiesApi.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024PublicIdentitiesApi' { + Context 'Get-V2024PublicIdentities' { + It 'Test Get-V2024PublicIdentities' { + #$TestResult = Get-V2024PublicIdentities -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" -Filters "TEST_VALUE" -AddCoreFilters "TEST_VALUE" -Sorters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024PublicIdentitiesConfigApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024PublicIdentitiesConfigApi.Tests.ps1 new file mode 100644 index 000000000..db7593037 --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024PublicIdentitiesConfigApi.Tests.ps1 @@ -0,0 +1,25 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024PublicIdentitiesConfigApi' { + Context 'Get-V2024PublicIdentityConfig' { + It 'Test Get-V2024PublicIdentityConfig' { + #$TestResult = Get-V2024PublicIdentityConfig + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Update-V2024PublicIdentityConfig' { + It 'Test Update-V2024PublicIdentityConfig' { + #$TestResult = Update-V2024PublicIdentityConfig -PublicIdentityConfig "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024ReportsDataExtractionApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024ReportsDataExtractionApi.Tests.ps1 new file mode 100644 index 000000000..71c3bec2e --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024ReportsDataExtractionApi.Tests.ps1 @@ -0,0 +1,41 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024ReportsDataExtractionApi' { + Context 'Suspend-V2024Report' { + It 'Test Suspend-V2024Report' { + #$TestResult = Suspend-V2024Report -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024Report' { + It 'Test Get-V2024Report' { + #$TestResult = Get-V2024Report -TaskResultId "TEST_VALUE" -FileFormat "TEST_VALUE" -Name "TEST_VALUE" -Auditable "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024ReportResult' { + It 'Test Get-V2024ReportResult' { + #$TestResult = Get-V2024ReportResult -TaskResultId "TEST_VALUE" -Completed "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Start-V2024Report' { + It 'Test Start-V2024Report' { + #$TestResult = Start-V2024Report -ReportDetails "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024RequestableObjectsApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024RequestableObjectsApi.Tests.ps1 new file mode 100644 index 000000000..670a07413 --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024RequestableObjectsApi.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024RequestableObjectsApi' { + Context 'Get-V2024RequestableObjects' { + It 'Test Get-V2024RequestableObjects' { + #$TestResult = Get-V2024RequestableObjects -IdentityId "TEST_VALUE" -Types "TEST_VALUE" -Term "TEST_VALUE" -Statuses "TEST_VALUE" -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" -Filters "TEST_VALUE" -Sorters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024RoleInsightsApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024RoleInsightsApi.Tests.ps1 new file mode 100644 index 000000000..45f0fe385 --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024RoleInsightsApi.Tests.ps1 @@ -0,0 +1,81 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024RoleInsightsApi' { + Context 'New-V2024RoleInsightRequests' { + It 'Test New-V2024RoleInsightRequests' { + #$TestResult = New-V2024RoleInsightRequests -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Invoke-V2024DownloadRoleInsightsEntitlementsChanges' { + It 'Test Invoke-V2024DownloadRoleInsightsEntitlementsChanges' { + #$TestResult = Invoke-V2024DownloadRoleInsightsEntitlementsChanges -InsightId "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -Sorters "TEST_VALUE" -Filters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024EntitlementChangesIdentities' { + It 'Test Get-V2024EntitlementChangesIdentities' { + #$TestResult = Get-V2024EntitlementChangesIdentities -InsightId "TEST_VALUE" -EntitlementId "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -HasEntitlement "TEST_VALUE" -Offset "TEST_VALUE" -Limit "TEST_VALUE" -Count "TEST_VALUE" -Sorters "TEST_VALUE" -Filters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024RoleInsight' { + It 'Test Get-V2024RoleInsight' { + #$TestResult = Get-V2024RoleInsight -InsightId "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024RoleInsights' { + It 'Test Get-V2024RoleInsights' { + #$TestResult = Get-V2024RoleInsights -XSailPointExperimental "TEST_VALUE" -Offset "TEST_VALUE" -Limit "TEST_VALUE" -Count "TEST_VALUE" -Sorters "TEST_VALUE" -Filters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024RoleInsightsCurrentEntitlements' { + It 'Test Get-V2024RoleInsightsCurrentEntitlements' { + #$TestResult = Get-V2024RoleInsightsCurrentEntitlements -InsightId "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -Filters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024RoleInsightsEntitlementsChanges' { + It 'Test Get-V2024RoleInsightsEntitlementsChanges' { + #$TestResult = Get-V2024RoleInsightsEntitlementsChanges -InsightId "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -Sorters "TEST_VALUE" -Filters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024RoleInsightsRequests' { + It 'Test Get-V2024RoleInsightsRequests' { + #$TestResult = Get-V2024RoleInsightsRequests -Id "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024RoleInsightsSummary' { + It 'Test Get-V2024RoleInsightsSummary' { + #$TestResult = Get-V2024RoleInsightsSummary -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024RolesApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024RolesApi.Tests.ps1 new file mode 100644 index 000000000..c01792be6 --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024RolesApi.Tests.ps1 @@ -0,0 +1,73 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024RolesApi' { + Context 'New-V2024Role' { + It 'Test New-V2024Role' { + #$TestResult = New-V2024Role -Role "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Remove-V2024BulkRoles' { + It 'Test Remove-V2024BulkRoles' { + #$TestResult = Remove-V2024BulkRoles -RoleBulkDeleteRequest "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Remove-V2024Role' { + It 'Test Remove-V2024Role' { + #$TestResult = Remove-V2024Role -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024Role' { + It 'Test Get-V2024Role' { + #$TestResult = Get-V2024Role -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024RoleAssignedIdentities' { + It 'Test Get-V2024RoleAssignedIdentities' { + #$TestResult = Get-V2024RoleAssignedIdentities -Id "TEST_VALUE" -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" -Filters "TEST_VALUE" -Sorters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024RoleEntitlements' { + It 'Test Get-V2024RoleEntitlements' { + #$TestResult = Get-V2024RoleEntitlements -Id "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" -Filters "TEST_VALUE" -Sorters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024Roles' { + It 'Test Get-V2024Roles' { + #$TestResult = Get-V2024Roles -ForSubadmin "TEST_VALUE" -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" -Filters "TEST_VALUE" -Sorters "TEST_VALUE" -ForSegmentIds "TEST_VALUE" -IncludeUnsegmented "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Update-V2024Role' { + It 'Test Update-V2024Role' { + #$TestResult = Update-V2024Role -Id "TEST_VALUE" -JsonPatchOperation "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024SIMIntegrationsApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024SIMIntegrationsApi.Tests.ps1 new file mode 100644 index 000000000..995cd80b3 --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024SIMIntegrationsApi.Tests.ps1 @@ -0,0 +1,65 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024SIMIntegrationsApi' { + Context 'New-V2024SIMIntegration' { + It 'Test New-V2024SIMIntegration' { + #$TestResult = New-V2024SIMIntegration -XSailPointExperimental "TEST_VALUE" -SimIntegrationDetails "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Remove-V2024SIMIntegration' { + It 'Test Remove-V2024SIMIntegration' { + #$TestResult = Remove-V2024SIMIntegration -Id "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024SIMIntegration' { + It 'Test Get-V2024SIMIntegration' { + #$TestResult = Get-V2024SIMIntegration -Id "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024SIMIntegrations' { + It 'Test Get-V2024SIMIntegrations' { + #$TestResult = Get-V2024SIMIntegrations -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Update-V2024BeforeProvisioningRule' { + It 'Test Update-V2024BeforeProvisioningRule' { + #$TestResult = Update-V2024BeforeProvisioningRule -Id "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -JsonPatch "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Update-V2024SIMAttributes' { + It 'Test Update-V2024SIMAttributes' { + #$TestResult = Update-V2024SIMAttributes -Id "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -JsonPatch "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Send-V2024SIMIntegration' { + It 'Test Send-V2024SIMIntegration' { + #$TestResult = Send-V2024SIMIntegration -Id "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -SimIntegrationDetails "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024SODPoliciesApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024SODPoliciesApi.Tests.ps1 new file mode 100644 index 000000000..85a5aebc9 --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024SODPoliciesApi.Tests.ps1 @@ -0,0 +1,145 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024SODPoliciesApi' { + Context 'New-V2024SodPolicy' { + It 'Test New-V2024SodPolicy' { + #$TestResult = New-V2024SodPolicy -SodPolicy "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Remove-V2024SodPolicy' { + It 'Test Remove-V2024SodPolicy' { + #$TestResult = Remove-V2024SodPolicy -Id "TEST_VALUE" -Logical "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Remove-V2024SodPolicySchedule' { + It 'Test Remove-V2024SodPolicySchedule' { + #$TestResult = Remove-V2024SodPolicySchedule -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024CustomViolationReport' { + It 'Test Get-V2024CustomViolationReport' { + #$TestResult = Get-V2024CustomViolationReport -ReportResultId "TEST_VALUE" -FileName "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024DefaultViolationReport' { + It 'Test Get-V2024DefaultViolationReport' { + #$TestResult = Get-V2024DefaultViolationReport -ReportResultId "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024SodAllReportRunStatus' { + It 'Test Get-V2024SodAllReportRunStatus' { + #$TestResult = Get-V2024SodAllReportRunStatus + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024SodPolicy' { + It 'Test Get-V2024SodPolicy' { + #$TestResult = Get-V2024SodPolicy -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024SodPolicySchedule' { + It 'Test Get-V2024SodPolicySchedule' { + #$TestResult = Get-V2024SodPolicySchedule -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024SodViolationReportRunStatus' { + It 'Test Get-V2024SodViolationReportRunStatus' { + #$TestResult = Get-V2024SodViolationReportRunStatus -ReportResultId "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024SodViolationReportStatus' { + It 'Test Get-V2024SodViolationReportStatus' { + #$TestResult = Get-V2024SodViolationReportStatus -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024SodPolicies' { + It 'Test Get-V2024SodPolicies' { + #$TestResult = Get-V2024SodPolicies -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" -Filters "TEST_VALUE" -Sorters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Update-V2024SodPolicy' { + It 'Test Update-V2024SodPolicy' { + #$TestResult = Update-V2024SodPolicy -Id "TEST_VALUE" -JsonPatchOperation "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Send-V2024PolicySchedule' { + It 'Test Send-V2024PolicySchedule' { + #$TestResult = Send-V2024PolicySchedule -Id "TEST_VALUE" -SodPolicySchedule "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Send-V2024SodPolicy' { + It 'Test Send-V2024SodPolicy' { + #$TestResult = Send-V2024SodPolicy -Id "TEST_VALUE" -SodPolicy "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Start-V2024EvaluateSodPolicy' { + It 'Test Start-V2024EvaluateSodPolicy' { + #$TestResult = Start-V2024EvaluateSodPolicy -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Start-V2024SodAllPoliciesForOrg' { + It 'Test Start-V2024SodAllPoliciesForOrg' { + #$TestResult = Start-V2024SodAllPoliciesForOrg -MultiPolicyRequest "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Start-V2024SodPolicy' { + It 'Test Start-V2024SodPolicy' { + #$TestResult = Start-V2024SodPolicy -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024SODViolationsApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024SODViolationsApi.Tests.ps1 new file mode 100644 index 000000000..462dd3692 --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024SODViolationsApi.Tests.ps1 @@ -0,0 +1,25 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024SODViolationsApi' { + Context 'Start-V2024PredictSodViolations' { + It 'Test Start-V2024PredictSodViolations' { + #$TestResult = Start-V2024PredictSodViolations -IdentityWithNewAccess "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Start-V2024ViolationCheck' { + It 'Test Start-V2024ViolationCheck' { + #$TestResult = Start-V2024ViolationCheck -IdentityWithNewAccess1 "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024SPConfigApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024SPConfigApi.Tests.ps1 new file mode 100644 index 000000000..a502e6631 --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024SPConfigApi.Tests.ps1 @@ -0,0 +1,65 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024SPConfigApi' { + Context 'Export-V2024SpConfig' { + It 'Test Export-V2024SpConfig' { + #$TestResult = Export-V2024SpConfig -XSailPointExperimental "TEST_VALUE" -ExportPayload "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024SpConfigExport' { + It 'Test Get-V2024SpConfigExport' { + #$TestResult = Get-V2024SpConfigExport -Id "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024SpConfigExportStatus' { + It 'Test Get-V2024SpConfigExportStatus' { + #$TestResult = Get-V2024SpConfigExportStatus -Id "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024SpConfigImport' { + It 'Test Get-V2024SpConfigImport' { + #$TestResult = Get-V2024SpConfigImport -Id "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024SpConfigImportStatus' { + It 'Test Get-V2024SpConfigImportStatus' { + #$TestResult = Get-V2024SpConfigImportStatus -Id "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Import-V2024SpConfig' { + It 'Test Import-V2024SpConfig' { + #$TestResult = Import-V2024SpConfig -XSailPointExperimental "TEST_VALUE" -Data "TEST_VALUE" -Preview "TEST_VALUE" -Options "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024SpConfigObjects' { + It 'Test Get-V2024SpConfigObjects' { + #$TestResult = Get-V2024SpConfigObjects -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024SavedSearchApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024SavedSearchApi.Tests.ps1 new file mode 100644 index 000000000..b004f2023 --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024SavedSearchApi.Tests.ps1 @@ -0,0 +1,57 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024SavedSearchApi' { + Context 'New-V2024SavedSearch' { + It 'Test New-V2024SavedSearch' { + #$TestResult = New-V2024SavedSearch -CreateSavedSearchRequest "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Remove-V2024SavedSearch' { + It 'Test Remove-V2024SavedSearch' { + #$TestResult = Remove-V2024SavedSearch -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Invoke-V2024ExecuteSavedSearch' { + It 'Test Invoke-V2024ExecuteSavedSearch' { + #$TestResult = Invoke-V2024ExecuteSavedSearch -Id "TEST_VALUE" -SearchArguments "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024SavedSearch' { + It 'Test Get-V2024SavedSearch' { + #$TestResult = Get-V2024SavedSearch -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024SavedSearches' { + It 'Test Get-V2024SavedSearches' { + #$TestResult = Get-V2024SavedSearches -Offset "TEST_VALUE" -Limit "TEST_VALUE" -Count "TEST_VALUE" -Filters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Send-V2024SavedSearch' { + It 'Test Send-V2024SavedSearch' { + #$TestResult = Send-V2024SavedSearch -Id "TEST_VALUE" -SavedSearch "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024ScheduledSearchApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024ScheduledSearchApi.Tests.ps1 new file mode 100644 index 000000000..a6e038a08 --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024ScheduledSearchApi.Tests.ps1 @@ -0,0 +1,57 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024ScheduledSearchApi' { + Context 'New-V2024ScheduledSearch' { + It 'Test New-V2024ScheduledSearch' { + #$TestResult = New-V2024ScheduledSearch -CreateScheduledSearchRequest "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Remove-V2024ScheduledSearch' { + It 'Test Remove-V2024ScheduledSearch' { + #$TestResult = Remove-V2024ScheduledSearch -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024ScheduledSearch' { + It 'Test Get-V2024ScheduledSearch' { + #$TestResult = Get-V2024ScheduledSearch -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024ScheduledSearch' { + It 'Test Get-V2024ScheduledSearch' { + #$TestResult = Get-V2024ScheduledSearch -Offset "TEST_VALUE" -Limit "TEST_VALUE" -Count "TEST_VALUE" -Filters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Invoke-V2024UnsubscribeScheduledSearch' { + It 'Test Invoke-V2024UnsubscribeScheduledSearch' { + #$TestResult = Invoke-V2024UnsubscribeScheduledSearch -Id "TEST_VALUE" -TypedReference "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Update-V2024ScheduledSearch' { + It 'Test Update-V2024ScheduledSearch' { + #$TestResult = Update-V2024ScheduledSearch -Id "TEST_VALUE" -ScheduledSearch "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024SearchApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024SearchApi.Tests.ps1 new file mode 100644 index 000000000..908934768 --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024SearchApi.Tests.ps1 @@ -0,0 +1,41 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024SearchApi' { + Context 'Search-V2024Aggregate' { + It 'Test Search-V2024Aggregate' { + #$TestResult = Search-V2024Aggregate -Search "TEST_VALUE" -Offset "TEST_VALUE" -Limit "TEST_VALUE" -Count "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Search-V2024Count' { + It 'Test Search-V2024Count' { + #$TestResult = Search-V2024Count -Search "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Search-V2024Get' { + It 'Test Search-V2024Get' { + #$TestResult = Search-V2024Get -Index "TEST_VALUE" -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Search-V2024Post' { + It 'Test Search-V2024Post' { + #$TestResult = Search-V2024Post -Search "TEST_VALUE" -Offset "TEST_VALUE" -Limit "TEST_VALUE" -Count "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024SearchAttributeConfigurationApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024SearchAttributeConfigurationApi.Tests.ps1 new file mode 100644 index 000000000..e7cd167d3 --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024SearchAttributeConfigurationApi.Tests.ps1 @@ -0,0 +1,49 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024SearchAttributeConfigurationApi' { + Context 'New-V2024SearchAttributeConfig' { + It 'Test New-V2024SearchAttributeConfig' { + #$TestResult = New-V2024SearchAttributeConfig -SearchAttributeConfig "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Remove-V2024SearchAttributeConfig' { + It 'Test Remove-V2024SearchAttributeConfig' { + #$TestResult = Remove-V2024SearchAttributeConfig -Name "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024SearchAttributeConfig' { + It 'Test Get-V2024SearchAttributeConfig' { + #$TestResult = Get-V2024SearchAttributeConfig + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024SingleSearchAttributeConfig' { + It 'Test Get-V2024SingleSearchAttributeConfig' { + #$TestResult = Get-V2024SingleSearchAttributeConfig -Name "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Update-V2024SearchAttributeConfig' { + It 'Test Update-V2024SearchAttributeConfig' { + #$TestResult = Update-V2024SearchAttributeConfig -Name "TEST_VALUE" -JsonPatchOperation "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024SegmentsApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024SegmentsApi.Tests.ps1 new file mode 100644 index 000000000..b21764067 --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024SegmentsApi.Tests.ps1 @@ -0,0 +1,49 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024SegmentsApi' { + Context 'New-V2024Segment' { + It 'Test New-V2024Segment' { + #$TestResult = New-V2024Segment -Segment "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Remove-V2024Segment' { + It 'Test Remove-V2024Segment' { + #$TestResult = Remove-V2024Segment -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024Segment' { + It 'Test Get-V2024Segment' { + #$TestResult = Get-V2024Segment -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024Segments' { + It 'Test Get-V2024Segments' { + #$TestResult = Get-V2024Segments -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Update-V2024Segment' { + It 'Test Update-V2024Segment' { + #$TestResult = Update-V2024Segment -Id "TEST_VALUE" -RequestBody "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024ServiceDeskIntegrationApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024ServiceDeskIntegrationApi.Tests.ps1 new file mode 100644 index 000000000..03768cdce --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024ServiceDeskIntegrationApi.Tests.ps1 @@ -0,0 +1,89 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024ServiceDeskIntegrationApi' { + Context 'New-V2024ServiceDeskIntegration' { + It 'Test New-V2024ServiceDeskIntegration' { + #$TestResult = New-V2024ServiceDeskIntegration -ServiceDeskIntegrationDto "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Remove-V2024ServiceDeskIntegration' { + It 'Test Remove-V2024ServiceDeskIntegration' { + #$TestResult = Remove-V2024ServiceDeskIntegration -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024ServiceDeskIntegration' { + It 'Test Get-V2024ServiceDeskIntegration' { + #$TestResult = Get-V2024ServiceDeskIntegration -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024ServiceDeskIntegrationTemplate' { + It 'Test Get-V2024ServiceDeskIntegrationTemplate' { + #$TestResult = Get-V2024ServiceDeskIntegrationTemplate -ScriptName "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024ServiceDeskIntegrationTypes' { + It 'Test Get-V2024ServiceDeskIntegrationTypes' { + #$TestResult = Get-V2024ServiceDeskIntegrationTypes + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024ServiceDeskIntegrations' { + It 'Test Get-V2024ServiceDeskIntegrations' { + #$TestResult = Get-V2024ServiceDeskIntegrations -Offset "TEST_VALUE" -Limit "TEST_VALUE" -Sorters "TEST_VALUE" -Filters "TEST_VALUE" -Count "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024StatusCheckDetails' { + It 'Test Get-V2024StatusCheckDetails' { + #$TestResult = Get-V2024StatusCheckDetails + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Update-V2024ServiceDeskIntegration' { + It 'Test Update-V2024ServiceDeskIntegration' { + #$TestResult = Update-V2024ServiceDeskIntegration -Id "TEST_VALUE" -PatchServiceDeskIntegrationRequest "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Send-V2024ServiceDeskIntegration' { + It 'Test Send-V2024ServiceDeskIntegration' { + #$TestResult = Send-V2024ServiceDeskIntegration -Id "TEST_VALUE" -ServiceDeskIntegrationDto "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Update-V2024StatusCheckDetails' { + It 'Test Update-V2024StatusCheckDetails' { + #$TestResult = Update-V2024StatusCheckDetails -QueuedCheckConfigDetails "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024SourceUsagesApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024SourceUsagesApi.Tests.ps1 new file mode 100644 index 000000000..f7de57c85 --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024SourceUsagesApi.Tests.ps1 @@ -0,0 +1,25 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024SourceUsagesApi' { + Context 'Get-V2024StatusBySourceId' { + It 'Test Get-V2024StatusBySourceId' { + #$TestResult = Get-V2024StatusBySourceId -SourceId "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024UsagesBySourceId' { + It 'Test Get-V2024UsagesBySourceId' { + #$TestResult = Get-V2024UsagesBySourceId -SourceId "TEST_VALUE" -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" -Sorters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024SourcesApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024SourcesApi.Tests.ps1 new file mode 100644 index 000000000..09c3ecc29 --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024SourcesApi.Tests.ps1 @@ -0,0 +1,337 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024SourcesApi' { + Context 'New-V2024ProvisioningPolicy' { + It 'Test New-V2024ProvisioningPolicy' { + #$TestResult = New-V2024ProvisioningPolicy -SourceId "TEST_VALUE" -ProvisioningPolicyDto "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'New-V2024Source' { + It 'Test New-V2024Source' { + #$TestResult = New-V2024Source -Source "TEST_VALUE" -ProvisionAsCsv "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'New-V2024SourceSchema' { + It 'Test New-V2024SourceSchema' { + #$TestResult = New-V2024SourceSchema -SourceId "TEST_VALUE" -Schema "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Remove-V2024AccountsAsync' { + It 'Test Remove-V2024AccountsAsync' { + #$TestResult = Remove-V2024AccountsAsync -Id "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Remove-V2024NativeChangeDetectionConfig' { + It 'Test Remove-V2024NativeChangeDetectionConfig' { + #$TestResult = Remove-V2024NativeChangeDetectionConfig -Id "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Remove-V2024ProvisioningPolicy' { + It 'Test Remove-V2024ProvisioningPolicy' { + #$TestResult = Remove-V2024ProvisioningPolicy -SourceId "TEST_VALUE" -UsageType "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Remove-V2024Source' { + It 'Test Remove-V2024Source' { + #$TestResult = Remove-V2024Source -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Remove-V2024SourceSchema' { + It 'Test Remove-V2024SourceSchema' { + #$TestResult = Remove-V2024SourceSchema -SourceId "TEST_VALUE" -SchemaId "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024AccountsSchema' { + It 'Test Get-V2024AccountsSchema' { + #$TestResult = Get-V2024AccountsSchema -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024EntitlementsSchema' { + It 'Test Get-V2024EntitlementsSchema' { + #$TestResult = Get-V2024EntitlementsSchema -Id "TEST_VALUE" -SchemaName "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024NativeChangeDetectionConfig' { + It 'Test Get-V2024NativeChangeDetectionConfig' { + #$TestResult = Get-V2024NativeChangeDetectionConfig -Id "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024ProvisioningPolicy' { + It 'Test Get-V2024ProvisioningPolicy' { + #$TestResult = Get-V2024ProvisioningPolicy -SourceId "TEST_VALUE" -UsageType "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024Source' { + It 'Test Get-V2024Source' { + #$TestResult = Get-V2024Source -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024SourceAttrSyncConfig' { + It 'Test Get-V2024SourceAttrSyncConfig' { + #$TestResult = Get-V2024SourceAttrSyncConfig -Id "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024SourceConfig' { + It 'Test Get-V2024SourceConfig' { + #$TestResult = Get-V2024SourceConfig -Id "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -Locale "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024SourceEntitlementRequestConfig' { + It 'Test Get-V2024SourceEntitlementRequestConfig' { + #$TestResult = Get-V2024SourceEntitlementRequestConfig -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024SourceHealth' { + It 'Test Get-V2024SourceHealth' { + #$TestResult = Get-V2024SourceHealth -SourceId "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024SourceSchema' { + It 'Test Get-V2024SourceSchema' { + #$TestResult = Get-V2024SourceSchema -SourceId "TEST_VALUE" -SchemaId "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024SourceSchemas' { + It 'Test Get-V2024SourceSchemas' { + #$TestResult = Get-V2024SourceSchemas -SourceId "TEST_VALUE" -IncludeTypes "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Import-V2024Accounts' { + It 'Test Import-V2024Accounts' { + #$TestResult = Import-V2024Accounts -Id "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -File "TEST_VALUE" -DisableOptimization "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Import-V2024AccountsSchema' { + It 'Test Import-V2024AccountsSchema' { + #$TestResult = Import-V2024AccountsSchema -Id "TEST_VALUE" -File "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Import-V2024ConnectorFile' { + It 'Test Import-V2024ConnectorFile' { + #$TestResult = Import-V2024ConnectorFile -SourceId "TEST_VALUE" -File "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Import-V2024EntitlementsSchema' { + It 'Test Import-V2024EntitlementsSchema' { + #$TestResult = Import-V2024EntitlementsSchema -Id "TEST_VALUE" -SchemaName "TEST_VALUE" -File "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Import-V2024UncorrelatedAccounts' { + It 'Test Import-V2024UncorrelatedAccounts' { + #$TestResult = Import-V2024UncorrelatedAccounts -Id "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -File "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024ProvisioningPolicies' { + It 'Test Get-V2024ProvisioningPolicies' { + #$TestResult = Get-V2024ProvisioningPolicies -SourceId "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024Sources' { + It 'Test Get-V2024Sources' { + #$TestResult = Get-V2024Sources -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" -Filters "TEST_VALUE" -Sorters "TEST_VALUE" -ForSubadmin "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Receive-V2024ResourceObjects' { + It 'Test Receive-V2024ResourceObjects' { + #$TestResult = Receive-V2024ResourceObjects -SourceId "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -ResourceObjectsRequest "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Ping-V2024Cluster' { + It 'Test Ping-V2024Cluster' { + #$TestResult = Ping-V2024Cluster -SourceId "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Send-V2024NativeChangeDetectionConfig' { + It 'Test Send-V2024NativeChangeDetectionConfig' { + #$TestResult = Send-V2024NativeChangeDetectionConfig -Id "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -NativeChangeDetectionConfig "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Send-V2024ProvisioningPolicy' { + It 'Test Send-V2024ProvisioningPolicy' { + #$TestResult = Send-V2024ProvisioningPolicy -SourceId "TEST_VALUE" -UsageType "TEST_VALUE" -ProvisioningPolicyDto "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Send-V2024Source' { + It 'Test Send-V2024Source' { + #$TestResult = Send-V2024Source -Id "TEST_VALUE" -Source "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Send-V2024SourceAttrSyncConfig' { + It 'Test Send-V2024SourceAttrSyncConfig' { + #$TestResult = Send-V2024SourceAttrSyncConfig -Id "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -AttrSyncSourceConfig "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Send-V2024SourceSchema' { + It 'Test Send-V2024SourceSchema' { + #$TestResult = Send-V2024SourceSchema -SourceId "TEST_VALUE" -SchemaId "TEST_VALUE" -Schema "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Sync-V2024AttributesForSource' { + It 'Test Sync-V2024AttributesForSource' { + #$TestResult = Sync-V2024AttributesForSource -Id "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Test-V2024SourceConfiguration' { + It 'Test Test-V2024SourceConfiguration' { + #$TestResult = Test-V2024SourceConfiguration -SourceId "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Test-V2024SourceConnection' { + It 'Test Test-V2024SourceConnection' { + #$TestResult = Test-V2024SourceConnection -SourceId "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Update-V2024ProvisioningPoliciesInBulk' { + It 'Test Update-V2024ProvisioningPoliciesInBulk' { + #$TestResult = Update-V2024ProvisioningPoliciesInBulk -SourceId "TEST_VALUE" -ProvisioningPolicyDto "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Update-V2024ProvisioningPolicy' { + It 'Test Update-V2024ProvisioningPolicy' { + #$TestResult = Update-V2024ProvisioningPolicy -SourceId "TEST_VALUE" -UsageType "TEST_VALUE" -JsonPatchOperation "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Update-V2024Source' { + It 'Test Update-V2024Source' { + #$TestResult = Update-V2024Source -Id "TEST_VALUE" -JsonPatchOperation "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Update-V2024SourceEntitlementRequestConfig' { + It 'Test Update-V2024SourceEntitlementRequestConfig' { + #$TestResult = Update-V2024SourceEntitlementRequestConfig -XSailPointExperimental "TEST_VALUE" -SourceEntitlementRequestConfig "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Update-V2024SourceSchema' { + It 'Test Update-V2024SourceSchema' { + #$TestResult = Update-V2024SourceSchema -SourceId "TEST_VALUE" -SchemaId "TEST_VALUE" -JsonPatchOperation "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024SuggestedEntitlementDescriptionApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024SuggestedEntitlementDescriptionApi.Tests.ps1 new file mode 100644 index 000000000..903ce2a28 --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024SuggestedEntitlementDescriptionApi.Tests.ps1 @@ -0,0 +1,65 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024SuggestedEntitlementDescriptionApi' { + Context 'Get-V2024SedBatchStats' { + It 'Test Get-V2024SedBatchStats' { + #$TestResult = Get-V2024SedBatchStats -BatchId "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024SedBatches' { + It 'Test Get-V2024SedBatches' { + #$TestResult = Get-V2024SedBatches -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024Seds' { + It 'Test Get-V2024Seds' { + #$TestResult = Get-V2024Seds -XSailPointExperimental "TEST_VALUE" -Limit "TEST_VALUE" -Filters "TEST_VALUE" -Count "TEST_VALUE" -CountOnly "TEST_VALUE" -RequestedByAnyone "TEST_VALUE" -ShowPendingStatusOnly "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Update-V2024Sed' { + It 'Test Update-V2024Sed' { + #$TestResult = Update-V2024Sed -Id "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -SedPatch "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Submit-V2024SedApproval' { + It 'Test Submit-V2024SedApproval' { + #$TestResult = Submit-V2024SedApproval -XSailPointExperimental "TEST_VALUE" -SedApproval "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Submit-V2024SedAssignment' { + It 'Test Submit-V2024SedAssignment' { + #$TestResult = Submit-V2024SedAssignment -XSailPointExperimental "TEST_VALUE" -SedAssignment "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Submit-V2024SedBatchRequest' { + It 'Test Submit-V2024SedBatchRequest' { + #$TestResult = Submit-V2024SedBatchRequest -XSailPointExperimental "TEST_VALUE" -SedBatchRequest "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024TaggedObjectsApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024TaggedObjectsApi.Tests.ps1 new file mode 100644 index 000000000..2c6870972 --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024TaggedObjectsApi.Tests.ps1 @@ -0,0 +1,73 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024TaggedObjectsApi' { + Context 'Remove-V2024TaggedObject' { + It 'Test Remove-V2024TaggedObject' { + #$TestResult = Remove-V2024TaggedObject -Type "TEST_VALUE" -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Remove-V2024TagsToManyObject' { + It 'Test Remove-V2024TagsToManyObject' { + #$TestResult = Remove-V2024TagsToManyObject -BulkRemoveTaggedObject "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024TaggedObject' { + It 'Test Get-V2024TaggedObject' { + #$TestResult = Get-V2024TaggedObject -Type "TEST_VALUE" -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024TaggedObjects' { + It 'Test Get-V2024TaggedObjects' { + #$TestResult = Get-V2024TaggedObjects -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" -Filters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024TaggedObjectsByType' { + It 'Test Get-V2024TaggedObjectsByType' { + #$TestResult = Get-V2024TaggedObjectsByType -Type "TEST_VALUE" -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" -Filters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Send-V2024TaggedObject' { + It 'Test Send-V2024TaggedObject' { + #$TestResult = Send-V2024TaggedObject -Type "TEST_VALUE" -Id "TEST_VALUE" -TaggedObject "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Set-V2024TagToObject' { + It 'Test Set-V2024TagToObject' { + #$TestResult = Set-V2024TagToObject -TaggedObject "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Set-V2024TagsToManyObjects' { + It 'Test Set-V2024TagsToManyObjects' { + #$TestResult = Set-V2024TagsToManyObjects -BulkAddTaggedObject "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024TaskManagementApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024TaskManagementApi.Tests.ps1 new file mode 100644 index 000000000..a6c0d16d3 --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024TaskManagementApi.Tests.ps1 @@ -0,0 +1,49 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024TaskManagementApi' { + Context 'Get-V2024PendingTaskHeaders' { + It 'Test Get-V2024PendingTaskHeaders' { + #$TestResult = Get-V2024PendingTaskHeaders -XSailPointExperimental "TEST_VALUE" -Offset "TEST_VALUE" -Limit "TEST_VALUE" -Count "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024PendingTasks' { + It 'Test Get-V2024PendingTasks' { + #$TestResult = Get-V2024PendingTasks -XSailPointExperimental "TEST_VALUE" -Offset "TEST_VALUE" -Limit "TEST_VALUE" -Count "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024TaskStatus' { + It 'Test Get-V2024TaskStatus' { + #$TestResult = Get-V2024TaskStatus -Id "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024TaskStatusList' { + It 'Test Get-V2024TaskStatusList' { + #$TestResult = Get-V2024TaskStatusList -XSailPointExperimental "TEST_VALUE" -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" -Filters "TEST_VALUE" -Sorters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Update-V2024TaskStatus' { + It 'Test Update-V2024TaskStatus' { + #$TestResult = Update-V2024TaskStatus -Id "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -JsonPatchOperation "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024TenantApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024TenantApi.Tests.ps1 new file mode 100644 index 000000000..6f6353db0 --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024TenantApi.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024TenantApi' { + Context 'Get-V2024Tenant' { + It 'Test Get-V2024Tenant' { + #$TestResult = Get-V2024Tenant -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024TransformsApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024TransformsApi.Tests.ps1 new file mode 100644 index 000000000..52a96773c --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024TransformsApi.Tests.ps1 @@ -0,0 +1,49 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024TransformsApi' { + Context 'New-V2024Transform' { + It 'Test New-V2024Transform' { + #$TestResult = New-V2024Transform -Transform "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Remove-V2024Transform' { + It 'Test Remove-V2024Transform' { + #$TestResult = Remove-V2024Transform -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024Transform' { + It 'Test Get-V2024Transform' { + #$TestResult = Get-V2024Transform -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024Transforms' { + It 'Test Get-V2024Transforms' { + #$TestResult = Get-V2024Transforms -Offset "TEST_VALUE" -Limit "TEST_VALUE" -Count "TEST_VALUE" -Name "TEST_VALUE" -Filters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Update-V2024Transform' { + It 'Test Update-V2024Transform' { + #$TestResult = Update-V2024Transform -Id "TEST_VALUE" -Transform "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024TriggersApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024TriggersApi.Tests.ps1 new file mode 100644 index 000000000..4b3d6b230 --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024TriggersApi.Tests.ps1 @@ -0,0 +1,89 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024TriggersApi' { + Context 'Complete-V2024TriggerInvocation' { + It 'Test Complete-V2024TriggerInvocation' { + #$TestResult = Complete-V2024TriggerInvocation -Id "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -CompleteInvocation "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'New-V2024Subscription' { + It 'Test New-V2024Subscription' { + #$TestResult = New-V2024Subscription -XSailPointExperimental "TEST_VALUE" -SubscriptionPostRequest "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Remove-V2024Subscription' { + It 'Test Remove-V2024Subscription' { + #$TestResult = Remove-V2024Subscription -Id "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024Subscriptions' { + It 'Test Get-V2024Subscriptions' { + #$TestResult = Get-V2024Subscriptions -XSailPointExperimental "TEST_VALUE" -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" -Filters "TEST_VALUE" -Sorters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024TriggerInvocationStatus' { + It 'Test Get-V2024TriggerInvocationStatus' { + #$TestResult = Get-V2024TriggerInvocationStatus -XSailPointExperimental "TEST_VALUE" -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" -Filters "TEST_VALUE" -Sorters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024Triggers' { + It 'Test Get-V2024Triggers' { + #$TestResult = Get-V2024Triggers -XSailPointExperimental "TEST_VALUE" -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" -Filters "TEST_VALUE" -Sorters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Update-V2024Subscription' { + It 'Test Update-V2024Subscription' { + #$TestResult = Update-V2024Subscription -Id "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -SubscriptionPatchRequestInner "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Start-V2024TestTriggerInvocation' { + It 'Test Start-V2024TestTriggerInvocation' { + #$TestResult = Start-V2024TestTriggerInvocation -XSailPointExperimental "TEST_VALUE" -TestInvocation "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Test-V2024SubscriptionFilter' { + It 'Test Test-V2024SubscriptionFilter' { + #$TestResult = Test-V2024SubscriptionFilter -XSailPointExperimental "TEST_VALUE" -ValidateFilterInputDto "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Update-V2024Subscription' { + It 'Test Update-V2024Subscription' { + #$TestResult = Update-V2024Subscription -Id "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -SubscriptionPutRequest "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024UIMetadataApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024UIMetadataApi.Tests.ps1 new file mode 100644 index 000000000..1faead567 --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024UIMetadataApi.Tests.ps1 @@ -0,0 +1,25 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024UIMetadataApi' { + Context 'Get-V2024TenantUiMetadata' { + It 'Test Get-V2024TenantUiMetadata' { + #$TestResult = Get-V2024TenantUiMetadata -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Set-V2024TenantUiMetadata' { + It 'Test Set-V2024TenantUiMetadata' { + #$TestResult = Set-V2024TenantUiMetadata -XSailPointExperimental "TEST_VALUE" -TenantUiMetadataItemUpdateRequest "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024VendorConnectorMappingsApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024VendorConnectorMappingsApi.Tests.ps1 new file mode 100644 index 000000000..20eb7453e --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024VendorConnectorMappingsApi.Tests.ps1 @@ -0,0 +1,25 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024VendorConnectorMappingsApi' { + Context 'New-V2024VendorConnectorMapping' { + It 'Test New-V2024VendorConnectorMapping' { + #$TestResult = New-V2024VendorConnectorMapping -VendorConnectorMapping "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Remove-V2024VendorConnectorMapping' { + It 'Test Remove-V2024VendorConnectorMapping' { + #$TestResult = Remove-V2024VendorConnectorMapping -VendorConnectorMapping "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024WorkItemsApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024WorkItemsApi.Tests.ps1 new file mode 100644 index 000000000..baf4fe29c --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024WorkItemsApi.Tests.ps1 @@ -0,0 +1,113 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024WorkItemsApi' { + Context 'Approve-V2024ApprovalItem' { + It 'Test Approve-V2024ApprovalItem' { + #$TestResult = Approve-V2024ApprovalItem -Id "TEST_VALUE" -ApprovalItemId "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Approve-V2024ApprovalItemsInBulk' { + It 'Test Approve-V2024ApprovalItemsInBulk' { + #$TestResult = Approve-V2024ApprovalItemsInBulk -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Complete-V2024WorkItem' { + It 'Test Complete-V2024WorkItem' { + #$TestResult = Complete-V2024WorkItem -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024CompletedWorkItems' { + It 'Test Get-V2024CompletedWorkItems' { + #$TestResult = Get-V2024CompletedWorkItems -OwnerId "TEST_VALUE" -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024CountCompletedWorkItems' { + It 'Test Get-V2024CountCompletedWorkItems' { + #$TestResult = Get-V2024CountCompletedWorkItems -OwnerId "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024CountWorkItems' { + It 'Test Get-V2024CountWorkItems' { + #$TestResult = Get-V2024CountWorkItems -OwnerId "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024WorkItem' { + It 'Test Get-V2024WorkItem' { + #$TestResult = Get-V2024WorkItem -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024WorkItemsSummary' { + It 'Test Get-V2024WorkItemsSummary' { + #$TestResult = Get-V2024WorkItemsSummary -OwnerId "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024WorkItems' { + It 'Test Get-V2024WorkItems' { + #$TestResult = Get-V2024WorkItems -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" -OwnerId "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Deny-V2024ApprovalItem' { + It 'Test Deny-V2024ApprovalItem' { + #$TestResult = Deny-V2024ApprovalItem -Id "TEST_VALUE" -ApprovalItemId "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Deny-V2024ApprovalItemsInBulk' { + It 'Test Deny-V2024ApprovalItemsInBulk' { + #$TestResult = Deny-V2024ApprovalItemsInBulk -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Send-V2024WorkItemForward' { + It 'Test Send-V2024WorkItemForward' { + #$TestResult = Send-V2024WorkItemForward -Id "TEST_VALUE" -WorkItemForward "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Submit-V2024AccountSelection' { + It 'Test Submit-V2024AccountSelection' { + #$TestResult = Submit-V2024AccountSelection -Id "TEST_VALUE" -RequestBody "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024WorkReassignmentApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024WorkReassignmentApi.Tests.ps1 new file mode 100644 index 000000000..a57bdee60 --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024WorkReassignmentApi.Tests.ps1 @@ -0,0 +1,81 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024WorkReassignmentApi' { + Context 'New-V2024ReassignmentConfiguration' { + It 'Test New-V2024ReassignmentConfiguration' { + #$TestResult = New-V2024ReassignmentConfiguration -XSailPointExperimental "TEST_VALUE" -ConfigurationItemRequest "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Remove-V2024ReassignmentConfiguration' { + It 'Test Remove-V2024ReassignmentConfiguration' { + #$TestResult = Remove-V2024ReassignmentConfiguration -IdentityId "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024EvaluateReassignmentConfiguration' { + It 'Test Get-V2024EvaluateReassignmentConfiguration' { + #$TestResult = Get-V2024EvaluateReassignmentConfiguration -IdentityId "TEST_VALUE" -ConfigType "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -ExclusionFilters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024ReassignmentConfigTypes' { + It 'Test Get-V2024ReassignmentConfigTypes' { + #$TestResult = Get-V2024ReassignmentConfigTypes -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024ReassignmentConfiguration' { + It 'Test Get-V2024ReassignmentConfiguration' { + #$TestResult = Get-V2024ReassignmentConfiguration -IdentityId "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024TenantConfigConfiguration' { + It 'Test Get-V2024TenantConfigConfiguration' { + #$TestResult = Get-V2024TenantConfigConfiguration -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024ReassignmentConfigurations' { + It 'Test Get-V2024ReassignmentConfigurations' { + #$TestResult = Get-V2024ReassignmentConfigurations -XSailPointExperimental "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Send-V2024ReassignmentConfig' { + It 'Test Send-V2024ReassignmentConfig' { + #$TestResult = Send-V2024ReassignmentConfig -IdentityId "TEST_VALUE" -XSailPointExperimental "TEST_VALUE" -ConfigurationItemRequest "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Send-V2024TenantConfiguration' { + It 'Test Send-V2024TenantConfiguration' { + #$TestResult = Send-V2024TenantConfiguration -XSailPointExperimental "TEST_VALUE" -TenantConfigurationRequest "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Api/V2024WorkflowsApi.Tests.ps1 b/PSSailpoint/v2024/tests/Api/V2024WorkflowsApi.Tests.ps1 new file mode 100644 index 000000000..5093295c9 --- /dev/null +++ b/PSSailpoint/v2024/tests/Api/V2024WorkflowsApi.Tests.ps1 @@ -0,0 +1,153 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V2024WorkflowsApi' { + Context 'Suspend-V2024WorkflowExecution' { + It 'Test Suspend-V2024WorkflowExecution' { + #$TestResult = Suspend-V2024WorkflowExecution -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'New-V2024ExternalExecuteWorkflow' { + It 'Test New-V2024ExternalExecuteWorkflow' { + #$TestResult = New-V2024ExternalExecuteWorkflow -Id "TEST_VALUE" -CreateExternalExecuteWorkflowRequest "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'New-V2024Workflow' { + It 'Test New-V2024Workflow' { + #$TestResult = New-V2024Workflow -CreateWorkflowRequest "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'New-V2024WorkflowExternalTrigger' { + It 'Test New-V2024WorkflowExternalTrigger' { + #$TestResult = New-V2024WorkflowExternalTrigger -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Remove-V2024Workflow' { + It 'Test Remove-V2024Workflow' { + #$TestResult = Remove-V2024Workflow -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024Workflow' { + It 'Test Get-V2024Workflow' { + #$TestResult = Get-V2024Workflow -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024WorkflowExecution' { + It 'Test Get-V2024WorkflowExecution' { + #$TestResult = Get-V2024WorkflowExecution -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024WorkflowExecutionHistory' { + It 'Test Get-V2024WorkflowExecutionHistory' { + #$TestResult = Get-V2024WorkflowExecutionHistory -Id "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024WorkflowExecutions' { + It 'Test Get-V2024WorkflowExecutions' { + #$TestResult = Get-V2024WorkflowExecutions -Id "TEST_VALUE" -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Count "TEST_VALUE" -Filters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024CompleteWorkflowLibrary' { + It 'Test Get-V2024CompleteWorkflowLibrary' { + #$TestResult = Get-V2024CompleteWorkflowLibrary -Limit "TEST_VALUE" -Offset "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024WorkflowLibraryActions' { + It 'Test Get-V2024WorkflowLibraryActions' { + #$TestResult = Get-V2024WorkflowLibraryActions -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Filters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024WorkflowLibraryOperators' { + It 'Test Get-V2024WorkflowLibraryOperators' { + #$TestResult = Get-V2024WorkflowLibraryOperators + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024WorkflowLibraryTriggers' { + It 'Test Get-V2024WorkflowLibraryTriggers' { + #$TestResult = Get-V2024WorkflowLibraryTriggers -Limit "TEST_VALUE" -Offset "TEST_VALUE" -Filters "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Get-V2024Workflows' { + It 'Test Get-V2024Workflows' { + #$TestResult = Get-V2024Workflows + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Update-V2024Workflow' { + It 'Test Update-V2024Workflow' { + #$TestResult = Update-V2024Workflow -Id "TEST_VALUE" -JsonPatchOperation "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Send-V2024Workflow' { + It 'Test Send-V2024Workflow' { + #$TestResult = Send-V2024Workflow -Id "TEST_VALUE" -WorkflowBody "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Test-V2024ExternalExecuteWorkflow' { + It 'Test Test-V2024ExternalExecuteWorkflow' { + #$TestResult = Test-V2024ExternalExecuteWorkflow -Id "TEST_VALUE" -TestExternalExecuteWorkflowRequest "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + + Context 'Test-V2024Workflow' { + It 'Test Test-V2024Workflow' { + #$TestResult = Test-V2024Workflow -Id "TEST_VALUE" -TestWorkflowRequest "TEST_VALUE" + #$TestResult | Should -BeOfType TODO + #$TestResult.property | Should -Be 0 + } + } + +} diff --git a/PSSailpoint/v2024/tests/Model/Access.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Access.Tests.ps1 new file mode 100644 index 000000000..aedfbab12 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Access.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Access' { + Context 'V2024Access' { + It 'Initialize-V2024Access' { + # a simple test to create an object + #$NewObject = Initialize-V2024Access -Id "TEST_VALUE" -Name "TEST_VALUE" -DisplayName "TEST_VALUE" -Type "TEST_VALUE" -Description "TEST_VALUE" + #$NewObject | Should -BeOfType Access + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessConstraint.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessConstraint.Tests.ps1 new file mode 100644 index 000000000..ff1af5025 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessConstraint.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessConstraint' { + Context 'V2024AccessConstraint' { + It 'Initialize-V2024AccessConstraint' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessConstraint -Type "TEST_VALUE" -Ids "TEST_VALUE" -Operator "TEST_VALUE" + #$NewObject | Should -BeOfType AccessConstraint + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessCriteria.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessCriteria.Tests.ps1 new file mode 100644 index 000000000..597716931 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessCriteria.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessCriteria' { + Context 'V2024AccessCriteria' { + It 'Initialize-V2024AccessCriteria' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessCriteria -Name "TEST_VALUE" -CriteriaList "TEST_VALUE" + #$NewObject | Should -BeOfType AccessCriteria + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessCriteriaCriteriaListInner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessCriteriaCriteriaListInner.Tests.ps1 new file mode 100644 index 000000000..bdb7227db --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessCriteriaCriteriaListInner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessCriteriaCriteriaListInner' { + Context 'V2024AccessCriteriaCriteriaListInner' { + It 'Initialize-V2024AccessCriteriaCriteriaListInner' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessCriteriaCriteriaListInner -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType AccessCriteriaCriteriaListInner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessItemAccessProfileResponse.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessItemAccessProfileResponse.Tests.ps1 new file mode 100644 index 000000000..2d32c9347 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessItemAccessProfileResponse.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessItemAccessProfileResponse' { + Context 'V2024AccessItemAccessProfileResponse' { + It 'Initialize-V2024AccessItemAccessProfileResponse' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessItemAccessProfileResponse -AccessType "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" -SourceName "TEST_VALUE" -SourceId "TEST_VALUE" -Description "TEST_VALUE" -DisplayName "TEST_VALUE" -EntitlementCount "TEST_VALUE" -AppDisplayName "TEST_VALUE" -RemoveDate "TEST_VALUE" -Standalone "TEST_VALUE" -Revocable "TEST_VALUE" + #$NewObject | Should -BeOfType AccessItemAccessProfileResponse + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessItemAccountResponse.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessItemAccountResponse.Tests.ps1 new file mode 100644 index 000000000..513f65630 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessItemAccountResponse.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessItemAccountResponse' { + Context 'V2024AccessItemAccountResponse' { + It 'Initialize-V2024AccessItemAccountResponse' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessItemAccountResponse -AccessType "TEST_VALUE" -Id "TEST_VALUE" -NativeIdentity "TEST_VALUE" -SourceName "TEST_VALUE" -SourceId "TEST_VALUE" -EntitlementCount "TEST_VALUE" -DisplayName "TEST_VALUE" + #$NewObject | Should -BeOfType AccessItemAccountResponse + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessItemAppResponse.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessItemAppResponse.Tests.ps1 new file mode 100644 index 000000000..f1a62012b --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessItemAppResponse.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessItemAppResponse' { + Context 'V2024AccessItemAppResponse' { + It 'Initialize-V2024AccessItemAppResponse' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessItemAppResponse -AccessType "TEST_VALUE" -Id "TEST_VALUE" -DisplayName "TEST_VALUE" -SourceName "TEST_VALUE" -AppRoleId "TEST_VALUE" + #$NewObject | Should -BeOfType AccessItemAppResponse + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessItemApproverDto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessItemApproverDto.Tests.ps1 new file mode 100644 index 000000000..6eea9eeee --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessItemApproverDto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessItemApproverDto' { + Context 'V2024AccessItemApproverDto' { + It 'Initialize-V2024AccessItemApproverDto' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessItemApproverDto -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType AccessItemApproverDto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessItemAssociated.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessItemAssociated.Tests.ps1 new file mode 100644 index 000000000..bd7dab6ce --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessItemAssociated.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessItemAssociated' { + Context 'V2024AccessItemAssociated' { + It 'Initialize-V2024AccessItemAssociated' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessItemAssociated -AccessItem "TEST_VALUE" -IdentityId "TEST_VALUE" -EventType "TEST_VALUE" -Dt "TEST_VALUE" -GovernanceEvent "TEST_VALUE" + #$NewObject | Should -BeOfType AccessItemAssociated + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessItemAssociatedAccessItem.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessItemAssociatedAccessItem.Tests.ps1 new file mode 100644 index 000000000..1467d630c --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessItemAssociatedAccessItem.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessItemAssociatedAccessItem' { + Context 'V2024AccessItemAssociatedAccessItem' { + It 'Initialize-V2024AccessItemAssociatedAccessItem' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessItemAssociatedAccessItem -AccessType "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" -SourceName "TEST_VALUE" -SourceId "TEST_VALUE" -Description "TEST_VALUE" -DisplayName "TEST_VALUE" -EntitlementCount "TEST_VALUE" -AppDisplayName "TEST_VALUE" -RemoveDate "TEST_VALUE" -Standalone "TEST_VALUE" -Revocable "TEST_VALUE" -NativeIdentity "TEST_VALUE" -AppRoleId "TEST_VALUE" -Attribute "TEST_VALUE" -Value "TEST_VALUE" -EntitlementType "TEST_VALUE" -Privileged "TEST_VALUE" -CloudGoverned "TEST_VALUE" + #$NewObject | Should -BeOfType AccessItemAssociatedAccessItem + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessItemDiff.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessItemDiff.Tests.ps1 new file mode 100644 index 000000000..50818dd72 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessItemDiff.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessItemDiff' { + Context 'V2024AccessItemDiff' { + It 'Initialize-V2024AccessItemDiff' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessItemDiff -Id "TEST_VALUE" -EventType "TEST_VALUE" -DisplayName "TEST_VALUE" -SourceName "TEST_VALUE" + #$NewObject | Should -BeOfType AccessItemDiff + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessItemEntitlementResponse.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessItemEntitlementResponse.Tests.ps1 new file mode 100644 index 000000000..b0f4e3762 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessItemEntitlementResponse.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessItemEntitlementResponse' { + Context 'V2024AccessItemEntitlementResponse' { + It 'Initialize-V2024AccessItemEntitlementResponse' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessItemEntitlementResponse -AccessType "TEST_VALUE" -Id "TEST_VALUE" -Attribute "TEST_VALUE" -Value "TEST_VALUE" -EntitlementType "TEST_VALUE" -SourceName "TEST_VALUE" -SourceId "TEST_VALUE" -Description "TEST_VALUE" -DisplayName "TEST_VALUE" -Standalone "TEST_VALUE" -Privileged "TEST_VALUE" -CloudGoverned "TEST_VALUE" + #$NewObject | Should -BeOfType AccessItemEntitlementResponse + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessItemRef.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessItemRef.Tests.ps1 new file mode 100644 index 000000000..995cd8335 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessItemRef.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessItemRef' { + Context 'V2024AccessItemRef' { + It 'Initialize-V2024AccessItemRef' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessItemRef -Id "TEST_VALUE" -Type "TEST_VALUE" + #$NewObject | Should -BeOfType AccessItemRef + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessItemRemoved.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessItemRemoved.Tests.ps1 new file mode 100644 index 000000000..1e4952778 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessItemRemoved.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessItemRemoved' { + Context 'V2024AccessItemRemoved' { + It 'Initialize-V2024AccessItemRemoved' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessItemRemoved -AccessItem "TEST_VALUE" -IdentityId "TEST_VALUE" -EventType "TEST_VALUE" -Dt "TEST_VALUE" -GovernanceEvent "TEST_VALUE" + #$NewObject | Should -BeOfType AccessItemRemoved + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessItemRequestedFor.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessItemRequestedFor.Tests.ps1 new file mode 100644 index 000000000..970909ba2 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessItemRequestedFor.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessItemRequestedFor' { + Context 'V2024AccessItemRequestedFor' { + It 'Initialize-V2024AccessItemRequestedFor' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessItemRequestedFor -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType AccessItemRequestedFor + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessItemRequestedForDto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessItemRequestedForDto.Tests.ps1 new file mode 100644 index 000000000..92782bde3 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessItemRequestedForDto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessItemRequestedForDto' { + Context 'V2024AccessItemRequestedForDto' { + It 'Initialize-V2024AccessItemRequestedForDto' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessItemRequestedForDto -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType AccessItemRequestedForDto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessItemRequester.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessItemRequester.Tests.ps1 new file mode 100644 index 000000000..9c79f31ec --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessItemRequester.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessItemRequester' { + Context 'V2024AccessItemRequester' { + It 'Initialize-V2024AccessItemRequester' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessItemRequester -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType AccessItemRequester + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessItemRequesterDto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessItemRequesterDto.Tests.ps1 new file mode 100644 index 000000000..15ae00b97 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessItemRequesterDto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessItemRequesterDto' { + Context 'V2024AccessItemRequesterDto' { + It 'Initialize-V2024AccessItemRequesterDto' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessItemRequesterDto -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType AccessItemRequesterDto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessItemReviewedBy.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessItemReviewedBy.Tests.ps1 new file mode 100644 index 000000000..24e0efae6 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessItemReviewedBy.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessItemReviewedBy' { + Context 'V2024AccessItemReviewedBy' { + It 'Initialize-V2024AccessItemReviewedBy' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessItemReviewedBy -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType AccessItemReviewedBy + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessItemRoleResponse.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessItemRoleResponse.Tests.ps1 new file mode 100644 index 000000000..42852d053 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessItemRoleResponse.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessItemRoleResponse' { + Context 'V2024AccessItemRoleResponse' { + It 'Initialize-V2024AccessItemRoleResponse' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessItemRoleResponse -AccessType "TEST_VALUE" -Id "TEST_VALUE" -DisplayName "TEST_VALUE" -Description "TEST_VALUE" -SourceName "TEST_VALUE" -RemoveDate "TEST_VALUE" -Revocable "TEST_VALUE" + #$NewObject | Should -BeOfType AccessItemRoleResponse + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessProfile.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessProfile.Tests.ps1 new file mode 100644 index 000000000..6137b5a4e --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessProfile.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessProfile' { + Context 'V2024AccessProfile' { + It 'Initialize-V2024AccessProfile' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessProfile -Id "TEST_VALUE" -Name "TEST_VALUE" -Description "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" -Enabled "TEST_VALUE" -Owner "TEST_VALUE" -Source "TEST_VALUE" -Entitlements "TEST_VALUE" -Requestable "TEST_VALUE" -AccessRequestConfig "TEST_VALUE" -RevocationRequestConfig "TEST_VALUE" -Segments "TEST_VALUE" -ProvisioningCriteria "TEST_VALUE" + #$NewObject | Should -BeOfType AccessProfile + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessProfileApprovalScheme.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessProfileApprovalScheme.Tests.ps1 new file mode 100644 index 000000000..b9a213c77 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessProfileApprovalScheme.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessProfileApprovalScheme' { + Context 'V2024AccessProfileApprovalScheme' { + It 'Initialize-V2024AccessProfileApprovalScheme' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessProfileApprovalScheme -ApproverType "TEST_VALUE" -ApproverId "TEST_VALUE" + #$NewObject | Should -BeOfType AccessProfileApprovalScheme + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessProfileBulkDeleteRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessProfileBulkDeleteRequest.Tests.ps1 new file mode 100644 index 000000000..f09bb3bc9 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessProfileBulkDeleteRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessProfileBulkDeleteRequest' { + Context 'V2024AccessProfileBulkDeleteRequest' { + It 'Initialize-V2024AccessProfileBulkDeleteRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessProfileBulkDeleteRequest -AccessProfileIds "TEST_VALUE" -BestEffortOnly "TEST_VALUE" + #$NewObject | Should -BeOfType AccessProfileBulkDeleteRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessProfileBulkDeleteResponse.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessProfileBulkDeleteResponse.Tests.ps1 new file mode 100644 index 000000000..fb3e4ee81 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessProfileBulkDeleteResponse.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessProfileBulkDeleteResponse' { + Context 'V2024AccessProfileBulkDeleteResponse' { + It 'Initialize-V2024AccessProfileBulkDeleteResponse' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessProfileBulkDeleteResponse -TaskId "TEST_VALUE" -Pending "TEST_VALUE" -InUse "TEST_VALUE" + #$NewObject | Should -BeOfType AccessProfileBulkDeleteResponse + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessProfileBulkUpdateRequestInner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessProfileBulkUpdateRequestInner.Tests.ps1 new file mode 100644 index 000000000..765355155 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessProfileBulkUpdateRequestInner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessProfileBulkUpdateRequestInner' { + Context 'V2024AccessProfileBulkUpdateRequestInner' { + It 'Initialize-V2024AccessProfileBulkUpdateRequestInner' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessProfileBulkUpdateRequestInner -Id "TEST_VALUE" -Requestable "TEST_VALUE" + #$NewObject | Should -BeOfType AccessProfileBulkUpdateRequestInner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessProfileDocument.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessProfileDocument.Tests.ps1 new file mode 100644 index 000000000..bd3a65bb7 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessProfileDocument.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessProfileDocument' { + Context 'V2024AccessProfileDocument' { + It 'Initialize-V2024AccessProfileDocument' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessProfileDocument -Id "TEST_VALUE" -Name "TEST_VALUE" -Description "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" -Synced "TEST_VALUE" -Enabled "TEST_VALUE" -Requestable "TEST_VALUE" -RequestCommentsRequired "TEST_VALUE" -Owner "TEST_VALUE" -Type "TEST_VALUE" -Source "TEST_VALUE" -Entitlements "TEST_VALUE" -EntitlementCount "TEST_VALUE" -Tags "TEST_VALUE" + #$NewObject | Should -BeOfType AccessProfileDocument + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessProfileDocumentAllOfSource.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessProfileDocumentAllOfSource.Tests.ps1 new file mode 100644 index 000000000..7fcf5c2c4 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessProfileDocumentAllOfSource.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessProfileDocumentAllOfSource' { + Context 'V2024AccessProfileDocumentAllOfSource' { + It 'Initialize-V2024AccessProfileDocumentAllOfSource' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessProfileDocumentAllOfSource -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType AccessProfileDocumentAllOfSource + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessProfileEntitlement.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessProfileEntitlement.Tests.ps1 new file mode 100644 index 000000000..16e97d3bf --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessProfileEntitlement.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessProfileEntitlement' { + Context 'V2024AccessProfileEntitlement' { + It 'Initialize-V2024AccessProfileEntitlement' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessProfileEntitlement -Id "TEST_VALUE" -Name "TEST_VALUE" -DisplayName "TEST_VALUE" -Type "TEST_VALUE" -Description "TEST_VALUE" -Source "TEST_VALUE" -Privileged "TEST_VALUE" -Attribute "TEST_VALUE" -Value "TEST_VALUE" -Standalone "TEST_VALUE" + #$NewObject | Should -BeOfType AccessProfileEntitlement + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessProfileRef.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessProfileRef.Tests.ps1 new file mode 100644 index 000000000..ee798e073 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessProfileRef.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessProfileRef' { + Context 'V2024AccessProfileRef' { + It 'Initialize-V2024AccessProfileRef' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessProfileRef -Id "TEST_VALUE" -Type "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType AccessProfileRef + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessProfileRole.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessProfileRole.Tests.ps1 new file mode 100644 index 000000000..25d5edb01 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessProfileRole.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessProfileRole' { + Context 'V2024AccessProfileRole' { + It 'Initialize-V2024AccessProfileRole' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessProfileRole -Id "TEST_VALUE" -Name "TEST_VALUE" -DisplayName "TEST_VALUE" -Type "TEST_VALUE" -Description "TEST_VALUE" -Owner "TEST_VALUE" -Disabled "TEST_VALUE" -Revocable "TEST_VALUE" + #$NewObject | Should -BeOfType AccessProfileRole + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessProfileSourceRef.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessProfileSourceRef.Tests.ps1 new file mode 100644 index 000000000..612f3aca6 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessProfileSourceRef.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessProfileSourceRef' { + Context 'V2024AccessProfileSourceRef' { + It 'Initialize-V2024AccessProfileSourceRef' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessProfileSourceRef -Id "TEST_VALUE" -Type "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType AccessProfileSourceRef + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessProfileSummary.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessProfileSummary.Tests.ps1 new file mode 100644 index 000000000..019cd69f5 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessProfileSummary.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessProfileSummary' { + Context 'V2024AccessProfileSummary' { + It 'Initialize-V2024AccessProfileSummary' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessProfileSummary -Id "TEST_VALUE" -Name "TEST_VALUE" -DisplayName "TEST_VALUE" -Type "TEST_VALUE" -Description "TEST_VALUE" -Source "TEST_VALUE" -Owner "TEST_VALUE" -Revocable "TEST_VALUE" + #$NewObject | Should -BeOfType AccessProfileSummary + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessProfileUpdateItem.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessProfileUpdateItem.Tests.ps1 new file mode 100644 index 000000000..1090a6bc3 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessProfileUpdateItem.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessProfileUpdateItem' { + Context 'V2024AccessProfileUpdateItem' { + It 'Initialize-V2024AccessProfileUpdateItem' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessProfileUpdateItem -Id "TEST_VALUE" -Requestable "TEST_VALUE" -Status "TEST_VALUE" -Description "TEST_VALUE" + #$NewObject | Should -BeOfType AccessProfileUpdateItem + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessProfileUsage.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessProfileUsage.Tests.ps1 new file mode 100644 index 000000000..e81e16566 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessProfileUsage.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessProfileUsage' { + Context 'V2024AccessProfileUsage' { + It 'Initialize-V2024AccessProfileUsage' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessProfileUsage -AccessProfileId "TEST_VALUE" -UsedBy "TEST_VALUE" + #$NewObject | Should -BeOfType AccessProfileUsage + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessProfileUsageUsedByInner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessProfileUsageUsedByInner.Tests.ps1 new file mode 100644 index 000000000..fe307a675 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessProfileUsageUsedByInner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessProfileUsageUsedByInner' { + Context 'V2024AccessProfileUsageUsedByInner' { + It 'Initialize-V2024AccessProfileUsageUsedByInner' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessProfileUsageUsedByInner -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType AccessProfileUsageUsedByInner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessRecommendationMessage.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessRecommendationMessage.Tests.ps1 new file mode 100644 index 000000000..f7af3b0c8 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessRecommendationMessage.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessRecommendationMessage' { + Context 'V2024AccessRecommendationMessage' { + It 'Initialize-V2024AccessRecommendationMessage' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessRecommendationMessage -Interpretation "TEST_VALUE" + #$NewObject | Should -BeOfType AccessRecommendationMessage + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessRequest.Tests.ps1 new file mode 100644 index 000000000..8310091ec --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessRequest' { + Context 'V2024AccessRequest' { + It 'Initialize-V2024AccessRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessRequest -RequestedFor "TEST_VALUE" -RequestType "TEST_VALUE" -RequestedItems "TEST_VALUE" -ClientMetadata "TEST_VALUE" + #$NewObject | Should -BeOfType AccessRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessRequestConfig.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessRequestConfig.Tests.ps1 new file mode 100644 index 000000000..d031af4b4 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessRequestConfig.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessRequestConfig' { + Context 'V2024AccessRequestConfig' { + It 'Initialize-V2024AccessRequestConfig' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessRequestConfig -ApprovalsMustBeExternal "TEST_VALUE" -AutoApprovalEnabled "TEST_VALUE" -RequestOnBehalfOfConfig "TEST_VALUE" -ApprovalReminderAndEscalationConfig "TEST_VALUE" -EntitlementRequestConfig "TEST_VALUE" + #$NewObject | Should -BeOfType AccessRequestConfig + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessRequestContext.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessRequestContext.Tests.ps1 new file mode 100644 index 000000000..fce4d4a6d --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessRequestContext.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessRequestContext' { + Context 'V2024AccessRequestContext' { + It 'Initialize-V2024AccessRequestContext' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessRequestContext -ContextAttributes "TEST_VALUE" + #$NewObject | Should -BeOfType AccessRequestContext + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessRequestDynamicApprover.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessRequestDynamicApprover.Tests.ps1 new file mode 100644 index 000000000..aaeb19068 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessRequestDynamicApprover.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessRequestDynamicApprover' { + Context 'V2024AccessRequestDynamicApprover' { + It 'Initialize-V2024AccessRequestDynamicApprover' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessRequestDynamicApprover -AccessRequestId "TEST_VALUE" -RequestedFor "TEST_VALUE" -RequestedItems "TEST_VALUE" -RequestedBy "TEST_VALUE" + #$NewObject | Should -BeOfType AccessRequestDynamicApprover + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessRequestDynamicApprover1.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessRequestDynamicApprover1.Tests.ps1 new file mode 100644 index 000000000..a6f31d619 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessRequestDynamicApprover1.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessRequestDynamicApprover1' { + Context 'V2024AccessRequestDynamicApprover1' { + It 'Initialize-V2024AccessRequestDynamicApprover1' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessRequestDynamicApprover1 -Id "TEST_VALUE" -Name "TEST_VALUE" -Type "TEST_VALUE" + #$NewObject | Should -BeOfType AccessRequestDynamicApprover1 + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessRequestDynamicApproverRequestedItemsInner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessRequestDynamicApproverRequestedItemsInner.Tests.ps1 new file mode 100644 index 000000000..629183bab --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessRequestDynamicApproverRequestedItemsInner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessRequestDynamicApproverRequestedItemsInner' { + Context 'V2024AccessRequestDynamicApproverRequestedItemsInner' { + It 'Initialize-V2024AccessRequestDynamicApproverRequestedItemsInner' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessRequestDynamicApproverRequestedItemsInner -Id "TEST_VALUE" -Name "TEST_VALUE" -Description "TEST_VALUE" -Type "TEST_VALUE" -Operation "TEST_VALUE" -Comment "TEST_VALUE" + #$NewObject | Should -BeOfType AccessRequestDynamicApproverRequestedItemsInner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessRequestItem.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessRequestItem.Tests.ps1 new file mode 100644 index 000000000..5b8707838 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessRequestItem.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessRequestItem' { + Context 'V2024AccessRequestItem' { + It 'Initialize-V2024AccessRequestItem' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessRequestItem -Type "TEST_VALUE" -Id "TEST_VALUE" -Comment "TEST_VALUE" -ClientMetadata "TEST_VALUE" -RemoveDate "TEST_VALUE" + #$NewObject | Should -BeOfType AccessRequestItem + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessRequestItemResponse.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessRequestItemResponse.Tests.ps1 new file mode 100644 index 000000000..09c3b392b --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessRequestItemResponse.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessRequestItemResponse' { + Context 'V2024AccessRequestItemResponse' { + It 'Initialize-V2024AccessRequestItemResponse' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessRequestItemResponse -Operation "TEST_VALUE" -AccessItemType "TEST_VALUE" -Name "TEST_VALUE" -Decision "TEST_VALUE" -Description "TEST_VALUE" -SourceId "TEST_VALUE" -SourceName "TEST_VALUE" -ApprovalInfos "TEST_VALUE" + #$NewObject | Should -BeOfType AccessRequestItemResponse + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessRequestPhases.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessRequestPhases.Tests.ps1 new file mode 100644 index 000000000..60d8fa151 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessRequestPhases.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessRequestPhases' { + Context 'V2024AccessRequestPhases' { + It 'Initialize-V2024AccessRequestPhases' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessRequestPhases -Started "TEST_VALUE" -Finished "TEST_VALUE" -Name "TEST_VALUE" -State "TEST_VALUE" -Result "TEST_VALUE" -PhaseReference "TEST_VALUE" + #$NewObject | Should -BeOfType AccessRequestPhases + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessRequestPostApproval.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessRequestPostApproval.Tests.ps1 new file mode 100644 index 000000000..e0ea7b5a1 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessRequestPostApproval.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessRequestPostApproval' { + Context 'V2024AccessRequestPostApproval' { + It 'Initialize-V2024AccessRequestPostApproval' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessRequestPostApproval -AccessRequestId "TEST_VALUE" -RequestedFor "TEST_VALUE" -RequestedItemsStatus "TEST_VALUE" -RequestedBy "TEST_VALUE" + #$NewObject | Should -BeOfType AccessRequestPostApproval + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessRequestPostApprovalRequestedItemsStatusInner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessRequestPostApprovalRequestedItemsStatusInner.Tests.ps1 new file mode 100644 index 000000000..b75532b27 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessRequestPostApprovalRequestedItemsStatusInner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessRequestPostApprovalRequestedItemsStatusInner' { + Context 'V2024AccessRequestPostApprovalRequestedItemsStatusInner' { + It 'Initialize-V2024AccessRequestPostApprovalRequestedItemsStatusInner' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessRequestPostApprovalRequestedItemsStatusInner -Id "TEST_VALUE" -Name "TEST_VALUE" -Description "TEST_VALUE" -Type "TEST_VALUE" -Operation "TEST_VALUE" -Comment "TEST_VALUE" -ClientMetadata "TEST_VALUE" -ApprovalInfo "TEST_VALUE" + #$NewObject | Should -BeOfType AccessRequestPostApprovalRequestedItemsStatusInner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInner.Tests.ps1 new file mode 100644 index 000000000..5aba598d3 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInner' { + Context 'V2024AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInner' { + It 'Initialize-V2024AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInner' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInner -ApprovalComment "TEST_VALUE" -ApprovalDecision "TEST_VALUE" -ApproverName "TEST_VALUE" -Approver "TEST_VALUE" + #$NewObject | Should -BeOfType AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInnerApprover.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInnerApprover.Tests.ps1 new file mode 100644 index 000000000..7b5d4adcb --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInnerApprover.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInnerApprover' { + Context 'V2024AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInnerApprover' { + It 'Initialize-V2024AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInnerApprover' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInnerApprover -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType AccessRequestPostApprovalRequestedItemsStatusInnerApprovalInfoInnerApprover + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessRequestPreApproval.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessRequestPreApproval.Tests.ps1 new file mode 100644 index 000000000..ec8b7acc6 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessRequestPreApproval.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessRequestPreApproval' { + Context 'V2024AccessRequestPreApproval' { + It 'Initialize-V2024AccessRequestPreApproval' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessRequestPreApproval -AccessRequestId "TEST_VALUE" -RequestedFor "TEST_VALUE" -RequestedItems "TEST_VALUE" -RequestedBy "TEST_VALUE" + #$NewObject | Should -BeOfType AccessRequestPreApproval + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessRequestPreApproval1.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessRequestPreApproval1.Tests.ps1 new file mode 100644 index 000000000..666da4a98 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessRequestPreApproval1.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessRequestPreApproval1' { + Context 'V2024AccessRequestPreApproval1' { + It 'Initialize-V2024AccessRequestPreApproval1' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessRequestPreApproval1 -Approved "TEST_VALUE" -Comment "TEST_VALUE" -Approver "TEST_VALUE" + #$NewObject | Should -BeOfType AccessRequestPreApproval1 + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessRequestPreApprovalRequestedItemsInner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessRequestPreApprovalRequestedItemsInner.Tests.ps1 new file mode 100644 index 000000000..7f5f1fa75 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessRequestPreApprovalRequestedItemsInner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessRequestPreApprovalRequestedItemsInner' { + Context 'V2024AccessRequestPreApprovalRequestedItemsInner' { + It 'Initialize-V2024AccessRequestPreApprovalRequestedItemsInner' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessRequestPreApprovalRequestedItemsInner -Id "TEST_VALUE" -Name "TEST_VALUE" -Description "TEST_VALUE" -Type "TEST_VALUE" -Operation "TEST_VALUE" -Comment "TEST_VALUE" + #$NewObject | Should -BeOfType AccessRequestPreApprovalRequestedItemsInner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessRequestRecommendationActionItemDto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessRequestRecommendationActionItemDto.Tests.ps1 new file mode 100644 index 000000000..5dea1ab3b --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessRequestRecommendationActionItemDto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessRequestRecommendationActionItemDto' { + Context 'V2024AccessRequestRecommendationActionItemDto' { + It 'Initialize-V2024AccessRequestRecommendationActionItemDto' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessRequestRecommendationActionItemDto -IdentityId "TEST_VALUE" -Access "TEST_VALUE" + #$NewObject | Should -BeOfType AccessRequestRecommendationActionItemDto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessRequestRecommendationActionItemResponseDto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessRequestRecommendationActionItemResponseDto.Tests.ps1 new file mode 100644 index 000000000..cf78dda55 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessRequestRecommendationActionItemResponseDto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessRequestRecommendationActionItemResponseDto' { + Context 'V2024AccessRequestRecommendationActionItemResponseDto' { + It 'Initialize-V2024AccessRequestRecommendationActionItemResponseDto' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessRequestRecommendationActionItemResponseDto -IdentityId "TEST_VALUE" -Access "TEST_VALUE" -Timestamp "TEST_VALUE" + #$NewObject | Should -BeOfType AccessRequestRecommendationActionItemResponseDto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessRequestRecommendationItem.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessRequestRecommendationItem.Tests.ps1 new file mode 100644 index 000000000..17143fd5a --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessRequestRecommendationItem.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessRequestRecommendationItem' { + Context 'V2024AccessRequestRecommendationItem' { + It 'Initialize-V2024AccessRequestRecommendationItem' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessRequestRecommendationItem -Id "TEST_VALUE" -Type "TEST_VALUE" + #$NewObject | Should -BeOfType AccessRequestRecommendationItem + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessRequestRecommendationItemDetail.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessRequestRecommendationItemDetail.Tests.ps1 new file mode 100644 index 000000000..33255a811 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessRequestRecommendationItemDetail.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessRequestRecommendationItemDetail' { + Context 'V2024AccessRequestRecommendationItemDetail' { + It 'Initialize-V2024AccessRequestRecommendationItemDetail' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessRequestRecommendationItemDetail -IdentityId "TEST_VALUE" -Access "TEST_VALUE" -Ignored "TEST_VALUE" -Requested "TEST_VALUE" -Viewed "TEST_VALUE" -Messages "TEST_VALUE" -TranslationMessages "TEST_VALUE" + #$NewObject | Should -BeOfType AccessRequestRecommendationItemDetail + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessRequestRecommendationItemDetailAccess.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessRequestRecommendationItemDetailAccess.Tests.ps1 new file mode 100644 index 000000000..bb47030a7 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessRequestRecommendationItemDetailAccess.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessRequestRecommendationItemDetailAccess' { + Context 'V2024AccessRequestRecommendationItemDetailAccess' { + It 'Initialize-V2024AccessRequestRecommendationItemDetailAccess' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessRequestRecommendationItemDetailAccess -Id "TEST_VALUE" -Type "TEST_VALUE" -Name "TEST_VALUE" -Description "TEST_VALUE" + #$NewObject | Should -BeOfType AccessRequestRecommendationItemDetailAccess + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessRequestRecommendationItemType.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessRequestRecommendationItemType.Tests.ps1 new file mode 100644 index 000000000..b8d69c573 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessRequestRecommendationItemType.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessRequestRecommendationItemType' { + Context 'V2024AccessRequestRecommendationItemType' { + It 'Initialize-V2024AccessRequestRecommendationItemType' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessRequestRecommendationItemType + #$NewObject | Should -BeOfType AccessRequestRecommendationItemType + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessRequestResponse.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessRequestResponse.Tests.ps1 new file mode 100644 index 000000000..6e9e377c2 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessRequestResponse.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessRequestResponse' { + Context 'V2024AccessRequestResponse' { + It 'Initialize-V2024AccessRequestResponse' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessRequestResponse -RequesterId "TEST_VALUE" -RequesterName "TEST_VALUE" -Items "TEST_VALUE" + #$NewObject | Should -BeOfType AccessRequestResponse + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessRequestType.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessRequestType.Tests.ps1 new file mode 100644 index 000000000..39c2b4c9f --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessRequestType.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessRequestType' { + Context 'V2024AccessRequestType' { + It 'Initialize-V2024AccessRequestType' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessRequestType + #$NewObject | Should -BeOfType AccessRequestType + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessRequested.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessRequested.Tests.ps1 new file mode 100644 index 000000000..1a2eace44 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessRequested.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessRequested' { + Context 'V2024AccessRequested' { + It 'Initialize-V2024AccessRequested' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessRequested -AccessRequest "TEST_VALUE" -IdentityId "TEST_VALUE" -EventType "TEST_VALUE" -Dt "TEST_VALUE" + #$NewObject | Should -BeOfType AccessRequested + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessReviewItem.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessReviewItem.Tests.ps1 new file mode 100644 index 000000000..c7e541860 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessReviewItem.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessReviewItem' { + Context 'V2024AccessReviewItem' { + It 'Initialize-V2024AccessReviewItem' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessReviewItem -AccessSummary "TEST_VALUE" -IdentitySummary "TEST_VALUE" -Id "TEST_VALUE" -Completed "TEST_VALUE" -NewAccess "TEST_VALUE" -Decision "TEST_VALUE" -Comments "TEST_VALUE" + #$NewObject | Should -BeOfType AccessReviewItem + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessReviewReassignment.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessReviewReassignment.Tests.ps1 new file mode 100644 index 000000000..40a10fc78 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessReviewReassignment.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessReviewReassignment' { + Context 'V2024AccessReviewReassignment' { + It 'Initialize-V2024AccessReviewReassignment' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessReviewReassignment -Reassign "TEST_VALUE" -ReassignTo "TEST_VALUE" -Reason "TEST_VALUE" + #$NewObject | Should -BeOfType AccessReviewReassignment + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessSummary.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessSummary.Tests.ps1 new file mode 100644 index 000000000..060b6565d --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessSummary.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessSummary' { + Context 'V2024AccessSummary' { + It 'Initialize-V2024AccessSummary' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessSummary -Access "TEST_VALUE" -Entitlement "TEST_VALUE" -AccessProfile "TEST_VALUE" -Role "TEST_VALUE" + #$NewObject | Should -BeOfType AccessSummary + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessSummaryAccess.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessSummaryAccess.Tests.ps1 new file mode 100644 index 000000000..a80f04ddf --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessSummaryAccess.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessSummaryAccess' { + Context 'V2024AccessSummaryAccess' { + It 'Initialize-V2024AccessSummaryAccess' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessSummaryAccess -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType AccessSummaryAccess + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccessType.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccessType.Tests.ps1 new file mode 100644 index 000000000..57be4820b --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccessType.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccessType' { + Context 'V2024AccessType' { + It 'Initialize-V2024AccessType' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccessType + #$NewObject | Should -BeOfType AccessType + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Account.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Account.Tests.ps1 new file mode 100644 index 000000000..fd5832cf9 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Account.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Account' { + Context 'V2024Account' { + It 'Initialize-V2024Account' { + # a simple test to create an object + #$NewObject = Initialize-V2024Account -Id "TEST_VALUE" -Name "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" -SourceId "TEST_VALUE" -SourceName "TEST_VALUE" -IdentityId "TEST_VALUE" -CloudLifecycleState "TEST_VALUE" -IdentityState "TEST_VALUE" -ConnectionType "TEST_VALUE" -Type "TEST_VALUE" -Attributes "TEST_VALUE" -Authoritative "TEST_VALUE" -Description "TEST_VALUE" -Disabled "TEST_VALUE" -Locked "TEST_VALUE" -NativeIdentity "TEST_VALUE" -SystemAccount "TEST_VALUE" -Uncorrelated "TEST_VALUE" -Uuid "TEST_VALUE" -ManuallyCorrelated "TEST_VALUE" -HasEntitlements "TEST_VALUE" -Identity "TEST_VALUE" -SourceOwner "TEST_VALUE" -Features "TEST_VALUE" -Origin "TEST_VALUE" -OwnerIdentity "TEST_VALUE" -OwnerGroup "TEST_VALUE" + #$NewObject | Should -BeOfType Account + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccountAction.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccountAction.Tests.ps1 new file mode 100644 index 000000000..12fda32d6 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccountAction.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccountAction' { + Context 'V2024AccountAction' { + It 'Initialize-V2024AccountAction' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccountAction -Action "TEST_VALUE" -SourceIds "TEST_VALUE" + #$NewObject | Should -BeOfType AccountAction + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccountActivity.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccountActivity.Tests.ps1 new file mode 100644 index 000000000..cb243a5cf --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccountActivity.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccountActivity' { + Context 'V2024AccountActivity' { + It 'Initialize-V2024AccountActivity' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccountActivity -Id "TEST_VALUE" -Name "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" -Completed "TEST_VALUE" -CompletionStatus "TEST_VALUE" -Type "TEST_VALUE" -RequesterIdentitySummary "TEST_VALUE" -TargetIdentitySummary "TEST_VALUE" -Errors "TEST_VALUE" -Warnings "TEST_VALUE" -Items "TEST_VALUE" -ExecutionStatus "TEST_VALUE" -ClientMetadata "TEST_VALUE" + #$NewObject | Should -BeOfType AccountActivity + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccountActivityApprovalStatus.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccountActivityApprovalStatus.Tests.ps1 new file mode 100644 index 000000000..85392f40e --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccountActivityApprovalStatus.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccountActivityApprovalStatus' { + Context 'V2024AccountActivityApprovalStatus' { + It 'Initialize-V2024AccountActivityApprovalStatus' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccountActivityApprovalStatus + #$NewObject | Should -BeOfType AccountActivityApprovalStatus + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccountActivityDocument.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccountActivityDocument.Tests.ps1 new file mode 100644 index 000000000..d62325207 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccountActivityDocument.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccountActivityDocument' { + Context 'V2024AccountActivityDocument' { + It 'Initialize-V2024AccountActivityDocument' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccountActivityDocument -Id "TEST_VALUE" -Name "TEST_VALUE" -Type "TEST_VALUE" -Action "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" -Stage "TEST_VALUE" -Origin "TEST_VALUE" -Status "TEST_VALUE" -Requester "TEST_VALUE" -Recipient "TEST_VALUE" -TrackingNumber "TEST_VALUE" -Errors "TEST_VALUE" -Warnings "TEST_VALUE" -Approvals "TEST_VALUE" -OriginalRequests "TEST_VALUE" -ExpansionItems "TEST_VALUE" -AccountRequests "TEST_VALUE" -Sources "TEST_VALUE" + #$NewObject | Should -BeOfType AccountActivityDocument + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccountActivityItem.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccountActivityItem.Tests.ps1 new file mode 100644 index 000000000..14a1d945c --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccountActivityItem.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccountActivityItem' { + Context 'V2024AccountActivityItem' { + It 'Initialize-V2024AccountActivityItem' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccountActivityItem -Id "TEST_VALUE" -Name "TEST_VALUE" -Requested "TEST_VALUE" -ApprovalStatus "TEST_VALUE" -ProvisioningStatus "TEST_VALUE" -RequesterComment "TEST_VALUE" -ReviewerIdentitySummary "TEST_VALUE" -ReviewerComment "TEST_VALUE" -Operation "TEST_VALUE" -Attribute "TEST_VALUE" -Value "TEST_VALUE" -NativeIdentity "TEST_VALUE" -SourceId "TEST_VALUE" -AccountRequestInfo "TEST_VALUE" -ClientMetadata "TEST_VALUE" -RemoveDate "TEST_VALUE" + #$NewObject | Should -BeOfType AccountActivityItem + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccountActivityItemOperation.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccountActivityItemOperation.Tests.ps1 new file mode 100644 index 000000000..1cc99d74f --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccountActivityItemOperation.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccountActivityItemOperation' { + Context 'V2024AccountActivityItemOperation' { + It 'Initialize-V2024AccountActivityItemOperation' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccountActivityItemOperation + #$NewObject | Should -BeOfType AccountActivityItemOperation + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccountActivitySearchedItem.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccountActivitySearchedItem.Tests.ps1 new file mode 100644 index 000000000..554484ace --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccountActivitySearchedItem.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccountActivitySearchedItem' { + Context 'V2024AccountActivitySearchedItem' { + It 'Initialize-V2024AccountActivitySearchedItem' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccountActivitySearchedItem -Id "TEST_VALUE" -Name "TEST_VALUE" -Type "TEST_VALUE" -Action "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" -Stage "TEST_VALUE" -Origin "TEST_VALUE" -Status "TEST_VALUE" -Requester "TEST_VALUE" -Recipient "TEST_VALUE" -TrackingNumber "TEST_VALUE" -Errors "TEST_VALUE" -Warnings "TEST_VALUE" -Approvals "TEST_VALUE" -OriginalRequests "TEST_VALUE" -ExpansionItems "TEST_VALUE" -AccountRequests "TEST_VALUE" -Sources "TEST_VALUE" + #$NewObject | Should -BeOfType AccountActivitySearchedItem + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccountAggregationCompleted.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccountAggregationCompleted.Tests.ps1 new file mode 100644 index 000000000..d9509949c --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccountAggregationCompleted.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccountAggregationCompleted' { + Context 'V2024AccountAggregationCompleted' { + It 'Initialize-V2024AccountAggregationCompleted' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccountAggregationCompleted -Source "TEST_VALUE" -Status "TEST_VALUE" -Started "TEST_VALUE" -Completed "TEST_VALUE" -Errors "TEST_VALUE" -Warnings "TEST_VALUE" -Stats "TEST_VALUE" + #$NewObject | Should -BeOfType AccountAggregationCompleted + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccountAggregationCompletedSource.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccountAggregationCompletedSource.Tests.ps1 new file mode 100644 index 000000000..23f54c536 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccountAggregationCompletedSource.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccountAggregationCompletedSource' { + Context 'V2024AccountAggregationCompletedSource' { + It 'Initialize-V2024AccountAggregationCompletedSource' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccountAggregationCompletedSource -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType AccountAggregationCompletedSource + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccountAggregationCompletedStats.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccountAggregationCompletedStats.Tests.ps1 new file mode 100644 index 000000000..b99a7b4bd --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccountAggregationCompletedStats.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccountAggregationCompletedStats' { + Context 'V2024AccountAggregationCompletedStats' { + It 'Initialize-V2024AccountAggregationCompletedStats' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccountAggregationCompletedStats -Scanned "TEST_VALUE" -Unchanged "TEST_VALUE" -Changed "TEST_VALUE" -Added "TEST_VALUE" -Removed "TEST_VALUE" + #$NewObject | Should -BeOfType AccountAggregationCompletedStats + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccountAggregationStatus.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccountAggregationStatus.Tests.ps1 new file mode 100644 index 000000000..b97a72356 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccountAggregationStatus.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccountAggregationStatus' { + Context 'V2024AccountAggregationStatus' { + It 'Initialize-V2024AccountAggregationStatus' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccountAggregationStatus -Start "TEST_VALUE" -Status "TEST_VALUE" -TotalAccounts "TEST_VALUE" -ProcessedAccounts "TEST_VALUE" + #$NewObject | Should -BeOfType AccountAggregationStatus + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccountAllOfOwnerGroup.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccountAllOfOwnerGroup.Tests.ps1 new file mode 100644 index 000000000..a48e7ce67 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccountAllOfOwnerGroup.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccountAllOfOwnerGroup' { + Context 'V2024AccountAllOfOwnerGroup' { + It 'Initialize-V2024AccountAllOfOwnerGroup' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccountAllOfOwnerGroup -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType AccountAllOfOwnerGroup + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccountAllOfOwnerIdentity.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccountAllOfOwnerIdentity.Tests.ps1 new file mode 100644 index 000000000..d455a9f34 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccountAllOfOwnerIdentity.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccountAllOfOwnerIdentity' { + Context 'V2024AccountAllOfOwnerIdentity' { + It 'Initialize-V2024AccountAllOfOwnerIdentity' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccountAllOfOwnerIdentity -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType AccountAllOfOwnerIdentity + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccountAllOfSourceOwner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccountAllOfSourceOwner.Tests.ps1 new file mode 100644 index 000000000..214b06634 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccountAllOfSourceOwner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccountAllOfSourceOwner' { + Context 'V2024AccountAllOfSourceOwner' { + It 'Initialize-V2024AccountAllOfSourceOwner' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccountAllOfSourceOwner -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType AccountAllOfSourceOwner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccountAttribute.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccountAttribute.Tests.ps1 new file mode 100644 index 000000000..421071ea6 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccountAttribute.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccountAttribute' { + Context 'V2024AccountAttribute' { + It 'Initialize-V2024AccountAttribute' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccountAttribute -SourceName "TEST_VALUE" -AttributeName "TEST_VALUE" -AccountSortAttribute "TEST_VALUE" -AccountSortDescending "TEST_VALUE" -AccountReturnFirstLink "TEST_VALUE" -AccountFilter "TEST_VALUE" -AccountPropertyFilter "TEST_VALUE" -RequiresPeriodicRefresh "TEST_VALUE" -VarInput "TEST_VALUE" + #$NewObject | Should -BeOfType AccountAttribute + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccountAttributes.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccountAttributes.Tests.ps1 new file mode 100644 index 000000000..8e12cbdc7 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccountAttributes.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccountAttributes' { + Context 'V2024AccountAttributes' { + It 'Initialize-V2024AccountAttributes' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccountAttributes -Attributes "TEST_VALUE" + #$NewObject | Should -BeOfType AccountAttributes + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccountAttributesChanged.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccountAttributesChanged.Tests.ps1 new file mode 100644 index 000000000..60fd1e5e1 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccountAttributesChanged.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccountAttributesChanged' { + Context 'V2024AccountAttributesChanged' { + It 'Initialize-V2024AccountAttributesChanged' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccountAttributesChanged -Identity "TEST_VALUE" -Source "TEST_VALUE" -Account "TEST_VALUE" -Changes "TEST_VALUE" + #$NewObject | Should -BeOfType AccountAttributesChanged + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccountAttributesChangedAccount.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccountAttributesChangedAccount.Tests.ps1 new file mode 100644 index 000000000..a8c279e62 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccountAttributesChangedAccount.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccountAttributesChangedAccount' { + Context 'V2024AccountAttributesChangedAccount' { + It 'Initialize-V2024AccountAttributesChangedAccount' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccountAttributesChangedAccount -Id "TEST_VALUE" -Uuid "TEST_VALUE" -Name "TEST_VALUE" -NativeIdentity "TEST_VALUE" -Type "TEST_VALUE" + #$NewObject | Should -BeOfType AccountAttributesChangedAccount + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccountAttributesChangedChangesInner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccountAttributesChangedChangesInner.Tests.ps1 new file mode 100644 index 000000000..2be5b413f --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccountAttributesChangedChangesInner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccountAttributesChangedChangesInner' { + Context 'V2024AccountAttributesChangedChangesInner' { + It 'Initialize-V2024AccountAttributesChangedChangesInner' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccountAttributesChangedChangesInner -Attribute "TEST_VALUE" -OldValue "TEST_VALUE" -NewValue "TEST_VALUE" + #$NewObject | Should -BeOfType AccountAttributesChangedChangesInner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccountAttributesChangedChangesInnerNewValue.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccountAttributesChangedChangesInnerNewValue.Tests.ps1 new file mode 100644 index 000000000..250dead56 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccountAttributesChangedChangesInnerNewValue.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccountAttributesChangedChangesInnerNewValue' { + Context 'V2024AccountAttributesChangedChangesInnerNewValue' { + It 'Initialize-V2024AccountAttributesChangedChangesInnerNewValue' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccountAttributesChangedChangesInnerNewValue + #$NewObject | Should -BeOfType AccountAttributesChangedChangesInnerNewValue + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccountAttributesChangedChangesInnerOldValue.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccountAttributesChangedChangesInnerOldValue.Tests.ps1 new file mode 100644 index 000000000..0a45c8b2c --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccountAttributesChangedChangesInnerOldValue.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccountAttributesChangedChangesInnerOldValue' { + Context 'V2024AccountAttributesChangedChangesInnerOldValue' { + It 'Initialize-V2024AccountAttributesChangedChangesInnerOldValue' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccountAttributesChangedChangesInnerOldValue + #$NewObject | Should -BeOfType AccountAttributesChangedChangesInnerOldValue + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccountAttributesChangedIdentity.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccountAttributesChangedIdentity.Tests.ps1 new file mode 100644 index 000000000..e13454ea5 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccountAttributesChangedIdentity.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccountAttributesChangedIdentity' { + Context 'V2024AccountAttributesChangedIdentity' { + It 'Initialize-V2024AccountAttributesChangedIdentity' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccountAttributesChangedIdentity -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType AccountAttributesChangedIdentity + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccountAttributesChangedSource.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccountAttributesChangedSource.Tests.ps1 new file mode 100644 index 000000000..1875d015f --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccountAttributesChangedSource.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccountAttributesChangedSource' { + Context 'V2024AccountAttributesChangedSource' { + It 'Initialize-V2024AccountAttributesChangedSource' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccountAttributesChangedSource -Id "TEST_VALUE" -Type "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType AccountAttributesChangedSource + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccountAttributesCreate.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccountAttributesCreate.Tests.ps1 new file mode 100644 index 000000000..3f806bbce --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccountAttributesCreate.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccountAttributesCreate' { + Context 'V2024AccountAttributesCreate' { + It 'Initialize-V2024AccountAttributesCreate' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccountAttributesCreate -Attributes "TEST_VALUE" + #$NewObject | Should -BeOfType AccountAttributesCreate + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccountAttributesCreateAttributes.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccountAttributesCreateAttributes.Tests.ps1 new file mode 100644 index 000000000..e118d46a9 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccountAttributesCreateAttributes.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccountAttributesCreateAttributes' { + Context 'V2024AccountAttributesCreateAttributes' { + It 'Initialize-V2024AccountAttributesCreateAttributes' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccountAttributesCreateAttributes -SourceId "TEST_VALUE" + #$NewObject | Should -BeOfType AccountAttributesCreateAttributes + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccountCorrelated.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccountCorrelated.Tests.ps1 new file mode 100644 index 000000000..7ad3fe4c1 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccountCorrelated.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccountCorrelated' { + Context 'V2024AccountCorrelated' { + It 'Initialize-V2024AccountCorrelated' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccountCorrelated -Identity "TEST_VALUE" -Source "TEST_VALUE" -Account "TEST_VALUE" -Attributes "TEST_VALUE" -EntitlementCount "TEST_VALUE" + #$NewObject | Should -BeOfType AccountCorrelated + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccountCorrelatedAccount.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccountCorrelatedAccount.Tests.ps1 new file mode 100644 index 000000000..bb13f1fee --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccountCorrelatedAccount.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccountCorrelatedAccount' { + Context 'V2024AccountCorrelatedAccount' { + It 'Initialize-V2024AccountCorrelatedAccount' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccountCorrelatedAccount -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" -NativeIdentity "TEST_VALUE" -Uuid "TEST_VALUE" + #$NewObject | Should -BeOfType AccountCorrelatedAccount + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccountCorrelatedIdentity.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccountCorrelatedIdentity.Tests.ps1 new file mode 100644 index 000000000..05348f2aa --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccountCorrelatedIdentity.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccountCorrelatedIdentity' { + Context 'V2024AccountCorrelatedIdentity' { + It 'Initialize-V2024AccountCorrelatedIdentity' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccountCorrelatedIdentity -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType AccountCorrelatedIdentity + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccountCorrelatedSource.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccountCorrelatedSource.Tests.ps1 new file mode 100644 index 000000000..8b06a30f0 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccountCorrelatedSource.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccountCorrelatedSource' { + Context 'V2024AccountCorrelatedSource' { + It 'Initialize-V2024AccountCorrelatedSource' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccountCorrelatedSource -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType AccountCorrelatedSource + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccountInfoDto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccountInfoDto.Tests.ps1 new file mode 100644 index 000000000..1058c608f --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccountInfoDto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccountInfoDto' { + Context 'V2024AccountInfoDto' { + It 'Initialize-V2024AccountInfoDto' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccountInfoDto -NativeIdentity "TEST_VALUE" -DisplayName "TEST_VALUE" -Uuid "TEST_VALUE" + #$NewObject | Should -BeOfType AccountInfoDto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccountRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccountRequest.Tests.ps1 new file mode 100644 index 000000000..3f2f64b96 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccountRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccountRequest' { + Context 'V2024AccountRequest' { + It 'Initialize-V2024AccountRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccountRequest -AccountId "TEST_VALUE" -AttributeRequests "TEST_VALUE" -Op "TEST_VALUE" -ProvisioningTarget "TEST_VALUE" -Result "TEST_VALUE" -Source "TEST_VALUE" + #$NewObject | Should -BeOfType AccountRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccountRequestInfo.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccountRequestInfo.Tests.ps1 new file mode 100644 index 000000000..c3a37290e --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccountRequestInfo.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccountRequestInfo' { + Context 'V2024AccountRequestInfo' { + It 'Initialize-V2024AccountRequestInfo' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccountRequestInfo -RequestedObjectId "TEST_VALUE" -RequestedObjectName "TEST_VALUE" -RequestedObjectType "TEST_VALUE" + #$NewObject | Should -BeOfType AccountRequestInfo + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccountRequestResult.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccountRequestResult.Tests.ps1 new file mode 100644 index 000000000..a366a119b --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccountRequestResult.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccountRequestResult' { + Context 'V2024AccountRequestResult' { + It 'Initialize-V2024AccountRequestResult' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccountRequestResult -Errors "TEST_VALUE" -Status "TEST_VALUE" -TicketId "TEST_VALUE" + #$NewObject | Should -BeOfType AccountRequestResult + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccountSource.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccountSource.Tests.ps1 new file mode 100644 index 000000000..633eb04a3 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccountSource.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccountSource' { + Context 'V2024AccountSource' { + It 'Initialize-V2024AccountSource' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccountSource -Id "TEST_VALUE" -Name "TEST_VALUE" -Type "TEST_VALUE" + #$NewObject | Should -BeOfType AccountSource + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccountStatusChanged.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccountStatusChanged.Tests.ps1 new file mode 100644 index 000000000..79753fee7 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccountStatusChanged.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccountStatusChanged' { + Context 'V2024AccountStatusChanged' { + It 'Initialize-V2024AccountStatusChanged' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccountStatusChanged -EventType "TEST_VALUE" -IdentityId "TEST_VALUE" -Dt "TEST_VALUE" -Account "TEST_VALUE" -StatusChange "TEST_VALUE" + #$NewObject | Should -BeOfType AccountStatusChanged + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccountStatusChangedAccount.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccountStatusChangedAccount.Tests.ps1 new file mode 100644 index 000000000..926abc03f --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccountStatusChangedAccount.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccountStatusChangedAccount' { + Context 'V2024AccountStatusChangedAccount' { + It 'Initialize-V2024AccountStatusChangedAccount' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccountStatusChangedAccount -Id "TEST_VALUE" -NativeIdentity "TEST_VALUE" -DisplayName "TEST_VALUE" -SourceId "TEST_VALUE" -SourceName "TEST_VALUE" -EntitlementCount "TEST_VALUE" -AccessType "TEST_VALUE" + #$NewObject | Should -BeOfType AccountStatusChangedAccount + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccountStatusChangedStatusChange.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccountStatusChangedStatusChange.Tests.ps1 new file mode 100644 index 000000000..5d5b8bb38 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccountStatusChangedStatusChange.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccountStatusChangedStatusChange' { + Context 'V2024AccountStatusChangedStatusChange' { + It 'Initialize-V2024AccountStatusChangedStatusChange' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccountStatusChangedStatusChange -PreviousStatus "TEST_VALUE" -NewStatus "TEST_VALUE" + #$NewObject | Should -BeOfType AccountStatusChangedStatusChange + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccountToggleRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccountToggleRequest.Tests.ps1 new file mode 100644 index 000000000..f75be18ab --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccountToggleRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccountToggleRequest' { + Context 'V2024AccountToggleRequest' { + It 'Initialize-V2024AccountToggleRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccountToggleRequest -ExternalVerificationId "TEST_VALUE" -ForceProvisioning "TEST_VALUE" + #$NewObject | Should -BeOfType AccountToggleRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccountUncorrelated.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccountUncorrelated.Tests.ps1 new file mode 100644 index 000000000..3c4172120 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccountUncorrelated.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccountUncorrelated' { + Context 'V2024AccountUncorrelated' { + It 'Initialize-V2024AccountUncorrelated' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccountUncorrelated -Identity "TEST_VALUE" -Source "TEST_VALUE" -Account "TEST_VALUE" -EntitlementCount "TEST_VALUE" + #$NewObject | Should -BeOfType AccountUncorrelated + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccountUncorrelatedAccount.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccountUncorrelatedAccount.Tests.ps1 new file mode 100644 index 000000000..66a1abf2e --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccountUncorrelatedAccount.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccountUncorrelatedAccount' { + Context 'V2024AccountUncorrelatedAccount' { + It 'Initialize-V2024AccountUncorrelatedAccount' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccountUncorrelatedAccount -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" -NativeIdentity "TEST_VALUE" -Uuid "TEST_VALUE" + #$NewObject | Should -BeOfType AccountUncorrelatedAccount + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccountUncorrelatedIdentity.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccountUncorrelatedIdentity.Tests.ps1 new file mode 100644 index 000000000..b0ea4f4ce --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccountUncorrelatedIdentity.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccountUncorrelatedIdentity' { + Context 'V2024AccountUncorrelatedIdentity' { + It 'Initialize-V2024AccountUncorrelatedIdentity' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccountUncorrelatedIdentity -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType AccountUncorrelatedIdentity + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccountUncorrelatedSource.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccountUncorrelatedSource.Tests.ps1 new file mode 100644 index 000000000..b420ee6c6 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccountUncorrelatedSource.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccountUncorrelatedSource' { + Context 'V2024AccountUncorrelatedSource' { + It 'Initialize-V2024AccountUncorrelatedSource' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccountUncorrelatedSource -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType AccountUncorrelatedSource + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccountUnlockRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccountUnlockRequest.Tests.ps1 new file mode 100644 index 000000000..856c8d64d --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccountUnlockRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccountUnlockRequest' { + Context 'V2024AccountUnlockRequest' { + It 'Initialize-V2024AccountUnlockRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccountUnlockRequest -ExternalVerificationId "TEST_VALUE" -UnlockIDNAccount "TEST_VALUE" -ForceProvisioning "TEST_VALUE" + #$NewObject | Should -BeOfType AccountUnlockRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccountUsage.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccountUsage.Tests.ps1 new file mode 100644 index 000000000..47f516a31 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccountUsage.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccountUsage' { + Context 'V2024AccountUsage' { + It 'Initialize-V2024AccountUsage' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccountUsage -Date "TEST_VALUE" -Count "TEST_VALUE" + #$NewObject | Should -BeOfType AccountUsage + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccountsAsyncResult.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccountsAsyncResult.Tests.ps1 new file mode 100644 index 000000000..08f9707bb --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccountsAsyncResult.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccountsAsyncResult' { + Context 'V2024AccountsAsyncResult' { + It 'Initialize-V2024AccountsAsyncResult' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccountsAsyncResult -Id "TEST_VALUE" + #$NewObject | Should -BeOfType AccountsAsyncResult + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccountsCollectedForAggregation.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccountsCollectedForAggregation.Tests.ps1 new file mode 100644 index 000000000..3018130f3 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccountsCollectedForAggregation.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccountsCollectedForAggregation' { + Context 'V2024AccountsCollectedForAggregation' { + It 'Initialize-V2024AccountsCollectedForAggregation' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccountsCollectedForAggregation -Source "TEST_VALUE" -Status "TEST_VALUE" -Started "TEST_VALUE" -Completed "TEST_VALUE" -Errors "TEST_VALUE" -Warnings "TEST_VALUE" -Stats "TEST_VALUE" + #$NewObject | Should -BeOfType AccountsCollectedForAggregation + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccountsCollectedForAggregationSource.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccountsCollectedForAggregationSource.Tests.ps1 new file mode 100644 index 000000000..de51a6755 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccountsCollectedForAggregationSource.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccountsCollectedForAggregationSource' { + Context 'V2024AccountsCollectedForAggregationSource' { + It 'Initialize-V2024AccountsCollectedForAggregationSource' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccountsCollectedForAggregationSource -Id "TEST_VALUE" -Type "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType AccountsCollectedForAggregationSource + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccountsCollectedForAggregationStats.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccountsCollectedForAggregationStats.Tests.ps1 new file mode 100644 index 000000000..920429d9c --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccountsCollectedForAggregationStats.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccountsCollectedForAggregationStats' { + Context 'V2024AccountsCollectedForAggregationStats' { + It 'Initialize-V2024AccountsCollectedForAggregationStats' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccountsCollectedForAggregationStats -Scanned "TEST_VALUE" -Unchanged "TEST_VALUE" -Changed "TEST_VALUE" -Added "TEST_VALUE" -Removed "TEST_VALUE" + #$NewObject | Should -BeOfType AccountsCollectedForAggregationStats + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AccountsExportReportArguments.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AccountsExportReportArguments.Tests.ps1 new file mode 100644 index 000000000..18681a758 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AccountsExportReportArguments.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AccountsExportReportArguments' { + Context 'V2024AccountsExportReportArguments' { + It 'Initialize-V2024AccountsExportReportArguments' { + # a simple test to create an object + #$NewObject = Initialize-V2024AccountsExportReportArguments -Application "TEST_VALUE" -SourceName "TEST_VALUE" + #$NewObject | Should -BeOfType AccountsExportReportArguments + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ActivateCampaignOptions.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ActivateCampaignOptions.Tests.ps1 new file mode 100644 index 000000000..07f957523 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ActivateCampaignOptions.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ActivateCampaignOptions' { + Context 'V2024ActivateCampaignOptions' { + It 'Initialize-V2024ActivateCampaignOptions' { + # a simple test to create an object + #$NewObject = Initialize-V2024ActivateCampaignOptions -TimeZone "TEST_VALUE" + #$NewObject | Should -BeOfType ActivateCampaignOptions + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ActivityInsights.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ActivityInsights.Tests.ps1 new file mode 100644 index 000000000..4fd7fa776 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ActivityInsights.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ActivityInsights' { + Context 'V2024ActivityInsights' { + It 'Initialize-V2024ActivityInsights' { + # a simple test to create an object + #$NewObject = Initialize-V2024ActivityInsights -AccountID "TEST_VALUE" -UsageDays "TEST_VALUE" -UsageDaysState "TEST_VALUE" + #$NewObject | Should -BeOfType ActivityInsights + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AdminReviewReassign.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AdminReviewReassign.Tests.ps1 new file mode 100644 index 000000000..90cea7c0b --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AdminReviewReassign.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AdminReviewReassign' { + Context 'V2024AdminReviewReassign' { + It 'Initialize-V2024AdminReviewReassign' { + # a simple test to create an object + #$NewObject = Initialize-V2024AdminReviewReassign -CertificationIds "TEST_VALUE" -ReassignTo "TEST_VALUE" -Reason "TEST_VALUE" + #$NewObject | Should -BeOfType AdminReviewReassign + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AdminReviewReassignReassignTo.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AdminReviewReassignReassignTo.Tests.ps1 new file mode 100644 index 000000000..165a61b9e --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AdminReviewReassignReassignTo.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AdminReviewReassignReassignTo' { + Context 'V2024AdminReviewReassignReassignTo' { + It 'Initialize-V2024AdminReviewReassignReassignTo' { + # a simple test to create an object + #$NewObject = Initialize-V2024AdminReviewReassignReassignTo -Id "TEST_VALUE" -Type "TEST_VALUE" + #$NewObject | Should -BeOfType AdminReviewReassignReassignTo + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AggregationResult.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AggregationResult.Tests.ps1 new file mode 100644 index 000000000..d8a19567a --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AggregationResult.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AggregationResult' { + Context 'V2024AggregationResult' { + It 'Initialize-V2024AggregationResult' { + # a simple test to create an object + #$NewObject = Initialize-V2024AggregationResult -Aggregations "TEST_VALUE" -Hits "TEST_VALUE" + #$NewObject | Should -BeOfType AggregationResult + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AggregationType.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AggregationType.Tests.ps1 new file mode 100644 index 000000000..85c37a4ce --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AggregationType.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AggregationType' { + Context 'V2024AggregationType' { + It 'Initialize-V2024AggregationType' { + # a simple test to create an object + #$NewObject = Initialize-V2024AggregationType + #$NewObject | Should -BeOfType AggregationType + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Aggregations.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Aggregations.Tests.ps1 new file mode 100644 index 000000000..5abc817e0 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Aggregations.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Aggregations' { + Context 'V2024Aggregations' { + It 'Initialize-V2024Aggregations' { + # a simple test to create an object + #$NewObject = Initialize-V2024Aggregations -Nested "TEST_VALUE" -Metric "TEST_VALUE" -VarFilter "TEST_VALUE" -Bucket "TEST_VALUE" + #$NewObject | Should -BeOfType Aggregations + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/App.Tests.ps1 b/PSSailpoint/v2024/tests/Model/App.Tests.ps1 new file mode 100644 index 000000000..ce1b60210 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/App.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024App' { + Context 'V2024App' { + It 'Initialize-V2024App' { + # a simple test to create an object + #$NewObject = Initialize-V2024App -Id "TEST_VALUE" -Name "TEST_VALUE" -Source "TEST_VALUE" -Account "TEST_VALUE" + #$NewObject | Should -BeOfType App + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AppAllOfAccount.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AppAllOfAccount.Tests.ps1 new file mode 100644 index 000000000..f7424e10d --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AppAllOfAccount.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AppAllOfAccount' { + Context 'V2024AppAllOfAccount' { + It 'Initialize-V2024AppAllOfAccount' { + # a simple test to create an object + #$NewObject = Initialize-V2024AppAllOfAccount -Id "TEST_VALUE" -AccountId "TEST_VALUE" + #$NewObject | Should -BeOfType AppAllOfAccount + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Approval.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Approval.Tests.ps1 new file mode 100644 index 000000000..c9d3d32fb --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Approval.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Approval' { + Context 'V2024Approval' { + It 'Initialize-V2024Approval' { + # a simple test to create an object + #$NewObject = Initialize-V2024Approval -ApprovalId "TEST_VALUE" -Approvers "TEST_VALUE" -CreatedDate "TEST_VALUE" -Type "TEST_VALUE" -Name "TEST_VALUE" -BatchRequest "TEST_VALUE" -Description "TEST_VALUE" -Priority "TEST_VALUE" -Requester "TEST_VALUE" -Comments "TEST_VALUE" -ApprovedBy "TEST_VALUE" -RejectedBy "TEST_VALUE" -CompletedDate "TEST_VALUE" -ApprovalCriteria "TEST_VALUE" -Status "TEST_VALUE" -AdditionalAttributes "TEST_VALUE" -ReferenceData "TEST_VALUE" + #$NewObject | Should -BeOfType Approval + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Approval1.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Approval1.Tests.ps1 new file mode 100644 index 000000000..132bd1e33 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Approval1.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Approval1' { + Context 'V2024Approval1' { + It 'Initialize-V2024Approval1' { + # a simple test to create an object + #$NewObject = Initialize-V2024Approval1 -Comments "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" -Owner "TEST_VALUE" -Result "TEST_VALUE" -Type "TEST_VALUE" + #$NewObject | Should -BeOfType Approval1 + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ApprovalBatch.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ApprovalBatch.Tests.ps1 new file mode 100644 index 000000000..fa95d5ca1 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ApprovalBatch.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ApprovalBatch' { + Context 'V2024ApprovalBatch' { + It 'Initialize-V2024ApprovalBatch' { + # a simple test to create an object + #$NewObject = Initialize-V2024ApprovalBatch -BatchId "TEST_VALUE" -BatchSize "TEST_VALUE" + #$NewObject | Should -BeOfType ApprovalBatch + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ApprovalComment.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ApprovalComment.Tests.ps1 new file mode 100644 index 000000000..9728dbecc --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ApprovalComment.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ApprovalComment' { + Context 'V2024ApprovalComment' { + It 'Initialize-V2024ApprovalComment' { + # a simple test to create an object + #$NewObject = Initialize-V2024ApprovalComment -Author "TEST_VALUE" -Comment "TEST_VALUE" -CreatedDate "TEST_VALUE" + #$NewObject | Should -BeOfType ApprovalComment + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ApprovalComment1.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ApprovalComment1.Tests.ps1 new file mode 100644 index 000000000..ad1e0d41a --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ApprovalComment1.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ApprovalComment1' { + Context 'V2024ApprovalComment1' { + It 'Initialize-V2024ApprovalComment1' { + # a simple test to create an object + #$NewObject = Initialize-V2024ApprovalComment1 -Comment "TEST_VALUE" -Commenter "TEST_VALUE" -Date "TEST_VALUE" + #$NewObject | Should -BeOfType ApprovalComment1 + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ApprovalDescription.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ApprovalDescription.Tests.ps1 new file mode 100644 index 000000000..19db4ae85 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ApprovalDescription.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ApprovalDescription' { + Context 'V2024ApprovalDescription' { + It 'Initialize-V2024ApprovalDescription' { + # a simple test to create an object + #$NewObject = Initialize-V2024ApprovalDescription -Value "TEST_VALUE" -Locale "TEST_VALUE" + #$NewObject | Should -BeOfType ApprovalDescription + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ApprovalDto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ApprovalDto.Tests.ps1 new file mode 100644 index 000000000..b907a2049 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ApprovalDto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ApprovalDto' { + Context 'V2024ApprovalDto' { + It 'Initialize-V2024ApprovalDto' { + # a simple test to create an object + #$NewObject = Initialize-V2024ApprovalDto -Comments "TEST_VALUE" -ApprovedBy "TEST_VALUE" -RejectedBy "TEST_VALUE" -ReassignFrom "TEST_VALUE" -ReassignTo "TEST_VALUE" -AdditionalAttributes "TEST_VALUE" + #$NewObject | Should -BeOfType ApprovalDto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ApprovalForwardHistory.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ApprovalForwardHistory.Tests.ps1 new file mode 100644 index 000000000..758530442 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ApprovalForwardHistory.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ApprovalForwardHistory' { + Context 'V2024ApprovalForwardHistory' { + It 'Initialize-V2024ApprovalForwardHistory' { + # a simple test to create an object + #$NewObject = Initialize-V2024ApprovalForwardHistory -OldApproverName "TEST_VALUE" -NewApproverName "TEST_VALUE" -Comment "TEST_VALUE" -Modified "TEST_VALUE" -ForwarderName "TEST_VALUE" -ReassignmentType "TEST_VALUE" + #$NewObject | Should -BeOfType ApprovalForwardHistory + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ApprovalIdentity.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ApprovalIdentity.Tests.ps1 new file mode 100644 index 000000000..586f3c1f3 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ApprovalIdentity.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ApprovalIdentity' { + Context 'V2024ApprovalIdentity' { + It 'Initialize-V2024ApprovalIdentity' { + # a simple test to create an object + #$NewObject = Initialize-V2024ApprovalIdentity -Id "TEST_VALUE" -Type "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType ApprovalIdentity + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ApprovalInfoResponse.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ApprovalInfoResponse.Tests.ps1 new file mode 100644 index 000000000..7bc885eba --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ApprovalInfoResponse.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ApprovalInfoResponse' { + Context 'V2024ApprovalInfoResponse' { + It 'Initialize-V2024ApprovalInfoResponse' { + # a simple test to create an object + #$NewObject = Initialize-V2024ApprovalInfoResponse -Id "TEST_VALUE" -Name "TEST_VALUE" -Status "TEST_VALUE" + #$NewObject | Should -BeOfType ApprovalInfoResponse + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ApprovalItemDetails.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ApprovalItemDetails.Tests.ps1 new file mode 100644 index 000000000..95443ad9a --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ApprovalItemDetails.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ApprovalItemDetails' { + Context 'V2024ApprovalItemDetails' { + It 'Initialize-V2024ApprovalItemDetails' { + # a simple test to create an object + #$NewObject = Initialize-V2024ApprovalItemDetails -Id "TEST_VALUE" -Account "TEST_VALUE" -Application "TEST_VALUE" -Name "TEST_VALUE" -Operation "TEST_VALUE" -Value "TEST_VALUE" -State "TEST_VALUE" + #$NewObject | Should -BeOfType ApprovalItemDetails + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ApprovalItems.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ApprovalItems.Tests.ps1 new file mode 100644 index 000000000..24df8bc93 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ApprovalItems.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ApprovalItems' { + Context 'V2024ApprovalItems' { + It 'Initialize-V2024ApprovalItems' { + # a simple test to create an object + #$NewObject = Initialize-V2024ApprovalItems -Id "TEST_VALUE" -Account "TEST_VALUE" -Application "TEST_VALUE" -Name "TEST_VALUE" -Operation "TEST_VALUE" -Value "TEST_VALUE" -State "TEST_VALUE" + #$NewObject | Should -BeOfType ApprovalItems + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ApprovalName.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ApprovalName.Tests.ps1 new file mode 100644 index 000000000..7e0d115af --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ApprovalName.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ApprovalName' { + Context 'V2024ApprovalName' { + It 'Initialize-V2024ApprovalName' { + # a simple test to create an object + #$NewObject = Initialize-V2024ApprovalName -Value "TEST_VALUE" -Locale "TEST_VALUE" + #$NewObject | Should -BeOfType ApprovalName + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ApprovalReference.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ApprovalReference.Tests.ps1 new file mode 100644 index 000000000..19ffb2266 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ApprovalReference.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ApprovalReference' { + Context 'V2024ApprovalReference' { + It 'Initialize-V2024ApprovalReference' { + # a simple test to create an object + #$NewObject = Initialize-V2024ApprovalReference -Id "TEST_VALUE" -Type "TEST_VALUE" + #$NewObject | Should -BeOfType ApprovalReference + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ApprovalReminderAndEscalationConfig.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ApprovalReminderAndEscalationConfig.Tests.ps1 new file mode 100644 index 000000000..db1db30a4 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ApprovalReminderAndEscalationConfig.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ApprovalReminderAndEscalationConfig' { + Context 'V2024ApprovalReminderAndEscalationConfig' { + It 'Initialize-V2024ApprovalReminderAndEscalationConfig' { + # a simple test to create an object + #$NewObject = Initialize-V2024ApprovalReminderAndEscalationConfig -DaysUntilEscalation "TEST_VALUE" -DaysBetweenReminders "TEST_VALUE" -MaxReminders "TEST_VALUE" -FallbackApproverRef "TEST_VALUE" + #$NewObject | Should -BeOfType ApprovalReminderAndEscalationConfig + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ApprovalScheme.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ApprovalScheme.Tests.ps1 new file mode 100644 index 000000000..b9030bc84 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ApprovalScheme.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ApprovalScheme' { + Context 'V2024ApprovalScheme' { + It 'Initialize-V2024ApprovalScheme' { + # a simple test to create an object + #$NewObject = Initialize-V2024ApprovalScheme + #$NewObject | Should -BeOfType ApprovalScheme + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ApprovalSchemeForRole.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ApprovalSchemeForRole.Tests.ps1 new file mode 100644 index 000000000..ab838d1d3 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ApprovalSchemeForRole.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ApprovalSchemeForRole' { + Context 'V2024ApprovalSchemeForRole' { + It 'Initialize-V2024ApprovalSchemeForRole' { + # a simple test to create an object + #$NewObject = Initialize-V2024ApprovalSchemeForRole -ApproverType "TEST_VALUE" -ApproverId "TEST_VALUE" + #$NewObject | Should -BeOfType ApprovalSchemeForRole + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ApprovalStatus.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ApprovalStatus.Tests.ps1 new file mode 100644 index 000000000..4d7aa2476 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ApprovalStatus.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ApprovalStatus' { + Context 'V2024ApprovalStatus' { + It 'Initialize-V2024ApprovalStatus' { + # a simple test to create an object + #$NewObject = Initialize-V2024ApprovalStatus + #$NewObject | Should -BeOfType ApprovalStatus + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ApprovalStatusDto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ApprovalStatusDto.Tests.ps1 new file mode 100644 index 000000000..20790f3e4 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ApprovalStatusDto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ApprovalStatusDto' { + Context 'V2024ApprovalStatusDto' { + It 'Initialize-V2024ApprovalStatusDto' { + # a simple test to create an object + #$NewObject = Initialize-V2024ApprovalStatusDto -Forwarded "TEST_VALUE" -OriginalOwner "TEST_VALUE" -CurrentOwner "TEST_VALUE" -Modified "TEST_VALUE" -Status "TEST_VALUE" -Scheme "TEST_VALUE" -ErrorMessages "TEST_VALUE" -Comment "TEST_VALUE" -RemoveDate "TEST_VALUE" + #$NewObject | Should -BeOfType ApprovalStatusDto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ApprovalStatusDtoCurrentOwner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ApprovalStatusDtoCurrentOwner.Tests.ps1 new file mode 100644 index 000000000..becf540bc --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ApprovalStatusDtoCurrentOwner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ApprovalStatusDtoCurrentOwner' { + Context 'V2024ApprovalStatusDtoCurrentOwner' { + It 'Initialize-V2024ApprovalStatusDtoCurrentOwner' { + # a simple test to create an object + #$NewObject = Initialize-V2024ApprovalStatusDtoCurrentOwner -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType ApprovalStatusDtoCurrentOwner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ApprovalStatusDtoOriginalOwner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ApprovalStatusDtoOriginalOwner.Tests.ps1 new file mode 100644 index 000000000..5868d611b --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ApprovalStatusDtoOriginalOwner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ApprovalStatusDtoOriginalOwner' { + Context 'V2024ApprovalStatusDtoOriginalOwner' { + It 'Initialize-V2024ApprovalStatusDtoOriginalOwner' { + # a simple test to create an object + #$NewObject = Initialize-V2024ApprovalStatusDtoOriginalOwner -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType ApprovalStatusDtoOriginalOwner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ApprovalSummary.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ApprovalSummary.Tests.ps1 new file mode 100644 index 000000000..aa843f4f0 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ApprovalSummary.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ApprovalSummary' { + Context 'V2024ApprovalSummary' { + It 'Initialize-V2024ApprovalSummary' { + # a simple test to create an object + #$NewObject = Initialize-V2024ApprovalSummary -Pending "TEST_VALUE" -Approved "TEST_VALUE" -Rejected "TEST_VALUE" + #$NewObject | Should -BeOfType ApprovalSummary + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Argument.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Argument.Tests.ps1 new file mode 100644 index 000000000..2b184845f --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Argument.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Argument' { + Context 'V2024Argument' { + It 'Initialize-V2024Argument' { + # a simple test to create an object + #$NewObject = Initialize-V2024Argument -Name "TEST_VALUE" -Description "TEST_VALUE" -Type "TEST_VALUE" + #$NewObject | Should -BeOfType Argument + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ArrayInner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ArrayInner.Tests.ps1 new file mode 100644 index 000000000..c2f67f5cb --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ArrayInner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ArrayInner' { + Context 'V2024ArrayInner' { + It 'Initialize-V2024ArrayInner' { + # a simple test to create an object + #$NewObject = Initialize-V2024ArrayInner + #$NewObject | Should -BeOfType ArrayInner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AssignmentContextDto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AssignmentContextDto.Tests.ps1 new file mode 100644 index 000000000..5ef71e917 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AssignmentContextDto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AssignmentContextDto' { + Context 'V2024AssignmentContextDto' { + It 'Initialize-V2024AssignmentContextDto' { + # a simple test to create an object + #$NewObject = Initialize-V2024AssignmentContextDto -Requested "TEST_VALUE" -Matched "TEST_VALUE" -ComputedDate "TEST_VALUE" + #$NewObject | Should -BeOfType AssignmentContextDto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AttrSyncSource.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AttrSyncSource.Tests.ps1 new file mode 100644 index 000000000..293f6e56a --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AttrSyncSource.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AttrSyncSource' { + Context 'V2024AttrSyncSource' { + It 'Initialize-V2024AttrSyncSource' { + # a simple test to create an object + #$NewObject = Initialize-V2024AttrSyncSource -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType AttrSyncSource + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AttrSyncSourceAttributeConfig.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AttrSyncSourceAttributeConfig.Tests.ps1 new file mode 100644 index 000000000..707cc9b1d --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AttrSyncSourceAttributeConfig.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AttrSyncSourceAttributeConfig' { + Context 'V2024AttrSyncSourceAttributeConfig' { + It 'Initialize-V2024AttrSyncSourceAttributeConfig' { + # a simple test to create an object + #$NewObject = Initialize-V2024AttrSyncSourceAttributeConfig -Name "TEST_VALUE" -DisplayName "TEST_VALUE" -Enabled "TEST_VALUE" -Target "TEST_VALUE" + #$NewObject | Should -BeOfType AttrSyncSourceAttributeConfig + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AttrSyncSourceConfig.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AttrSyncSourceConfig.Tests.ps1 new file mode 100644 index 000000000..aa1e4a595 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AttrSyncSourceConfig.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AttrSyncSourceConfig' { + Context 'V2024AttrSyncSourceConfig' { + It 'Initialize-V2024AttrSyncSourceConfig' { + # a simple test to create an object + #$NewObject = Initialize-V2024AttrSyncSourceConfig -Source "TEST_VALUE" -Attributes "TEST_VALUE" + #$NewObject | Should -BeOfType AttrSyncSourceConfig + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AttributeChange.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AttributeChange.Tests.ps1 new file mode 100644 index 000000000..e906c80f3 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AttributeChange.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AttributeChange' { + Context 'V2024AttributeChange' { + It 'Initialize-V2024AttributeChange' { + # a simple test to create an object + #$NewObject = Initialize-V2024AttributeChange -Name "TEST_VALUE" -PreviousValue "TEST_VALUE" -NewValue "TEST_VALUE" + #$NewObject | Should -BeOfType AttributeChange + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AttributeDTO.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AttributeDTO.Tests.ps1 new file mode 100644 index 000000000..c59b31997 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AttributeDTO.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AttributeDTO' { + Context 'V2024AttributeDTO' { + It 'Initialize-V2024AttributeDTO' { + # a simple test to create an object + #$NewObject = Initialize-V2024AttributeDTO -Key "TEST_VALUE" -Name "TEST_VALUE" -Multiselect "TEST_VALUE" -Status "TEST_VALUE" -Type "TEST_VALUE" -ObjectTypes "TEST_VALUE" -Description "TEST_VALUE" -Values "TEST_VALUE" + #$NewObject | Should -BeOfType AttributeDTO + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AttributeDTOList.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AttributeDTOList.Tests.ps1 new file mode 100644 index 000000000..8f7a18987 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AttributeDTOList.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AttributeDTOList' { + Context 'V2024AttributeDTOList' { + It 'Initialize-V2024AttributeDTOList' { + # a simple test to create an object + #$NewObject = Initialize-V2024AttributeDTOList -Attributes "TEST_VALUE" + #$NewObject | Should -BeOfType AttributeDTOList + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AttributeDefinition.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AttributeDefinition.Tests.ps1 new file mode 100644 index 000000000..02db7dfa0 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AttributeDefinition.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AttributeDefinition' { + Context 'V2024AttributeDefinition' { + It 'Initialize-V2024AttributeDefinition' { + # a simple test to create an object + #$NewObject = Initialize-V2024AttributeDefinition -Name "TEST_VALUE" -Type "TEST_VALUE" -Schema "TEST_VALUE" -Description "TEST_VALUE" -IsMulti "TEST_VALUE" -IsEntitlement "TEST_VALUE" -IsGroup "TEST_VALUE" + #$NewObject | Should -BeOfType AttributeDefinition + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AttributeDefinitionSchema.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AttributeDefinitionSchema.Tests.ps1 new file mode 100644 index 000000000..ab336c6a8 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AttributeDefinitionSchema.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AttributeDefinitionSchema' { + Context 'V2024AttributeDefinitionSchema' { + It 'Initialize-V2024AttributeDefinitionSchema' { + # a simple test to create an object + #$NewObject = Initialize-V2024AttributeDefinitionSchema -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType AttributeDefinitionSchema + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AttributeDefinitionType.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AttributeDefinitionType.Tests.ps1 new file mode 100644 index 000000000..4568f62ad --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AttributeDefinitionType.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AttributeDefinitionType' { + Context 'V2024AttributeDefinitionType' { + It 'Initialize-V2024AttributeDefinitionType' { + # a simple test to create an object + #$NewObject = Initialize-V2024AttributeDefinitionType + #$NewObject | Should -BeOfType AttributeDefinitionType + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AttributeRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AttributeRequest.Tests.ps1 new file mode 100644 index 000000000..8d2a2ff38 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AttributeRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AttributeRequest' { + Context 'V2024AttributeRequest' { + It 'Initialize-V2024AttributeRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024AttributeRequest -Name "TEST_VALUE" -Op "TEST_VALUE" -Value "TEST_VALUE" + #$NewObject | Should -BeOfType AttributeRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AttributeValueDTO.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AttributeValueDTO.Tests.ps1 new file mode 100644 index 000000000..ca34cbc46 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AttributeValueDTO.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AttributeValueDTO' { + Context 'V2024AttributeValueDTO' { + It 'Initialize-V2024AttributeValueDTO' { + # a simple test to create an object + #$NewObject = Initialize-V2024AttributeValueDTO -Value "TEST_VALUE" -Name "TEST_VALUE" -Status "TEST_VALUE" + #$NewObject | Should -BeOfType AttributeValueDTO + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AttributesChanged.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AttributesChanged.Tests.ps1 new file mode 100644 index 000000000..943462756 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AttributesChanged.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AttributesChanged' { + Context 'V2024AttributesChanged' { + It 'Initialize-V2024AttributesChanged' { + # a simple test to create an object + #$NewObject = Initialize-V2024AttributesChanged -Changes "TEST_VALUE" -EventType "TEST_VALUE" -IdentityId "TEST_VALUE" -Dt "TEST_VALUE" + #$NewObject | Should -BeOfType AttributesChanged + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AuditDetails.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AuditDetails.Tests.ps1 new file mode 100644 index 000000000..1427fe6df --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AuditDetails.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AuditDetails' { + Context 'V2024AuditDetails' { + It 'Initialize-V2024AuditDetails' { + # a simple test to create an object + #$NewObject = Initialize-V2024AuditDetails -Created "TEST_VALUE" -CreatedBy "TEST_VALUE" -Modified "TEST_VALUE" -ModifiedBy "TEST_VALUE" + #$NewObject | Should -BeOfType AuditDetails + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AuthProfile.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AuthProfile.Tests.ps1 new file mode 100644 index 000000000..5c03a7a4e --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AuthProfile.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AuthProfile' { + Context 'V2024AuthProfile' { + It 'Initialize-V2024AuthProfile' { + # a simple test to create an object + #$NewObject = Initialize-V2024AuthProfile -Name "TEST_VALUE" -OffNetwork "TEST_VALUE" -UntrustedGeography "TEST_VALUE" -ApplicationId "TEST_VALUE" -ApplicationName "TEST_VALUE" -Type "TEST_VALUE" -StrongAuthLogin "TEST_VALUE" + #$NewObject | Should -BeOfType AuthProfile + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AuthProfileSummary.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AuthProfileSummary.Tests.ps1 new file mode 100644 index 000000000..93be27b37 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AuthProfileSummary.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AuthProfileSummary' { + Context 'V2024AuthProfileSummary' { + It 'Initialize-V2024AuthProfileSummary' { + # a simple test to create an object + #$NewObject = Initialize-V2024AuthProfileSummary -Tenant "TEST_VALUE" -Id "TEST_VALUE" + #$NewObject | Should -BeOfType AuthProfileSummary + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/AuthUser.Tests.ps1 b/PSSailpoint/v2024/tests/Model/AuthUser.Tests.ps1 new file mode 100644 index 000000000..a8f4b7c1b --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/AuthUser.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024AuthUser' { + Context 'V2024AuthUser' { + It 'Initialize-V2024AuthUser' { + # a simple test to create an object + #$NewObject = Initialize-V2024AuthUser -Tenant "TEST_VALUE" -Id "TEST_VALUE" -Uid "TEST_VALUE" -VarProfile "TEST_VALUE" -IdentificationNumber "TEST_VALUE" -Email "TEST_VALUE" -Phone "TEST_VALUE" -WorkPhone "TEST_VALUE" -PersonalEmail "TEST_VALUE" -Firstname "TEST_VALUE" -Lastname "TEST_VALUE" -DisplayName "TEST_VALUE" -Alias "TEST_VALUE" -LastPasswordChangeDate "TEST_VALUE" -LastLoginTimestamp "TEST_VALUE" -CurrentLoginTimestamp "TEST_VALUE" -Capabilities "TEST_VALUE" + #$NewObject | Should -BeOfType AuthUser + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Base64Decode.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Base64Decode.Tests.ps1 new file mode 100644 index 000000000..75f8de78f --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Base64Decode.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Base64Decode' { + Context 'V2024Base64Decode' { + It 'Initialize-V2024Base64Decode' { + # a simple test to create an object + #$NewObject = Initialize-V2024Base64Decode -RequiresPeriodicRefresh "TEST_VALUE" -VarInput "TEST_VALUE" + #$NewObject | Should -BeOfType Base64Decode + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Base64Encode.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Base64Encode.Tests.ps1 new file mode 100644 index 000000000..7d97d8912 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Base64Encode.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Base64Encode' { + Context 'V2024Base64Encode' { + It 'Initialize-V2024Base64Encode' { + # a simple test to create an object + #$NewObject = Initialize-V2024Base64Encode -RequiresPeriodicRefresh "TEST_VALUE" -VarInput "TEST_VALUE" + #$NewObject | Should -BeOfType Base64Encode + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/BaseAccess.Tests.ps1 b/PSSailpoint/v2024/tests/Model/BaseAccess.Tests.ps1 new file mode 100644 index 000000000..eb5320520 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/BaseAccess.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024BaseAccess' { + Context 'V2024BaseAccess' { + It 'Initialize-V2024BaseAccess' { + # a simple test to create an object + #$NewObject = Initialize-V2024BaseAccess -Id "TEST_VALUE" -Name "TEST_VALUE" -Description "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" -Synced "TEST_VALUE" -Enabled "TEST_VALUE" -Requestable "TEST_VALUE" -RequestCommentsRequired "TEST_VALUE" -Owner "TEST_VALUE" + #$NewObject | Should -BeOfType BaseAccess + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/BaseAccessAllOfOwner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/BaseAccessAllOfOwner.Tests.ps1 new file mode 100644 index 000000000..e4b1f3452 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/BaseAccessAllOfOwner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024BaseAccessAllOfOwner' { + Context 'V2024BaseAccessAllOfOwner' { + It 'Initialize-V2024BaseAccessAllOfOwner' { + # a simple test to create an object + #$NewObject = Initialize-V2024BaseAccessAllOfOwner -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" -Email "TEST_VALUE" + #$NewObject | Should -BeOfType BaseAccessAllOfOwner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/BaseAccessProfile.Tests.ps1 b/PSSailpoint/v2024/tests/Model/BaseAccessProfile.Tests.ps1 new file mode 100644 index 000000000..12dd16ee3 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/BaseAccessProfile.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024BaseAccessProfile' { + Context 'V2024BaseAccessProfile' { + It 'Initialize-V2024BaseAccessProfile' { + # a simple test to create an object + #$NewObject = Initialize-V2024BaseAccessProfile -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType BaseAccessProfile + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/BaseAccount.Tests.ps1 b/PSSailpoint/v2024/tests/Model/BaseAccount.Tests.ps1 new file mode 100644 index 000000000..901cb0028 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/BaseAccount.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024BaseAccount' { + Context 'V2024BaseAccount' { + It 'Initialize-V2024BaseAccount' { + # a simple test to create an object + #$NewObject = Initialize-V2024BaseAccount -Id "TEST_VALUE" -Name "TEST_VALUE" -AccountId "TEST_VALUE" -Source "TEST_VALUE" -Disabled "TEST_VALUE" -Locked "TEST_VALUE" -Privileged "TEST_VALUE" -ManuallyCorrelated "TEST_VALUE" -PasswordLastSet "TEST_VALUE" -EntitlementAttributes "TEST_VALUE" -Created "TEST_VALUE" + #$NewObject | Should -BeOfType BaseAccount + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/BaseCommonDto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/BaseCommonDto.Tests.ps1 new file mode 100644 index 000000000..13202bcf7 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/BaseCommonDto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024BaseCommonDto' { + Context 'V2024BaseCommonDto' { + It 'Initialize-V2024BaseCommonDto' { + # a simple test to create an object + #$NewObject = Initialize-V2024BaseCommonDto -Id "TEST_VALUE" -Name "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" + #$NewObject | Should -BeOfType BaseCommonDto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/BaseCommonDto1.Tests.ps1 b/PSSailpoint/v2024/tests/Model/BaseCommonDto1.Tests.ps1 new file mode 100644 index 000000000..e23941098 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/BaseCommonDto1.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024BaseCommonDto1' { + Context 'V2024BaseCommonDto1' { + It 'Initialize-V2024BaseCommonDto1' { + # a simple test to create an object + #$NewObject = Initialize-V2024BaseCommonDto1 -Id "TEST_VALUE" -Name "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" + #$NewObject | Should -BeOfType BaseCommonDto1 + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/BaseDocument.Tests.ps1 b/PSSailpoint/v2024/tests/Model/BaseDocument.Tests.ps1 new file mode 100644 index 000000000..dfc3d5cd9 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/BaseDocument.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024BaseDocument' { + Context 'V2024BaseDocument' { + It 'Initialize-V2024BaseDocument' { + # a simple test to create an object + #$NewObject = Initialize-V2024BaseDocument -Id "TEST_VALUE" -Name "TEST_VALUE" -Type "TEST_VALUE" + #$NewObject | Should -BeOfType BaseDocument + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/BaseEntitlement.Tests.ps1 b/PSSailpoint/v2024/tests/Model/BaseEntitlement.Tests.ps1 new file mode 100644 index 000000000..b030f2c46 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/BaseEntitlement.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024BaseEntitlement' { + Context 'V2024BaseEntitlement' { + It 'Initialize-V2024BaseEntitlement' { + # a simple test to create an object + #$NewObject = Initialize-V2024BaseEntitlement -HasPermissions "TEST_VALUE" -Description "TEST_VALUE" -Attribute "TEST_VALUE" -Value "TEST_VALUE" -Schema "TEST_VALUE" -Privileged "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType BaseEntitlement + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/BaseReferenceDto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/BaseReferenceDto.Tests.ps1 new file mode 100644 index 000000000..1a0d7c4fa --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/BaseReferenceDto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024BaseReferenceDto' { + Context 'V2024BaseReferenceDto' { + It 'Initialize-V2024BaseReferenceDto' { + # a simple test to create an object + #$NewObject = Initialize-V2024BaseReferenceDto -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType BaseReferenceDto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/BaseReferenceDto1.Tests.ps1 b/PSSailpoint/v2024/tests/Model/BaseReferenceDto1.Tests.ps1 new file mode 100644 index 000000000..57106a7cb --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/BaseReferenceDto1.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024BaseReferenceDto1' { + Context 'V2024BaseReferenceDto1' { + It 'Initialize-V2024BaseReferenceDto1' { + # a simple test to create an object + #$NewObject = Initialize-V2024BaseReferenceDto1 -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType BaseReferenceDto1 + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/BaseSegment.Tests.ps1 b/PSSailpoint/v2024/tests/Model/BaseSegment.Tests.ps1 new file mode 100644 index 000000000..89883c0f9 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/BaseSegment.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024BaseSegment' { + Context 'V2024BaseSegment' { + It 'Initialize-V2024BaseSegment' { + # a simple test to create an object + #$NewObject = Initialize-V2024BaseSegment -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType BaseSegment + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/BasicAuthConfig.Tests.ps1 b/PSSailpoint/v2024/tests/Model/BasicAuthConfig.Tests.ps1 new file mode 100644 index 000000000..696a2d31b --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/BasicAuthConfig.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024BasicAuthConfig' { + Context 'V2024BasicAuthConfig' { + It 'Initialize-V2024BasicAuthConfig' { + # a simple test to create an object + #$NewObject = Initialize-V2024BasicAuthConfig -UserName "TEST_VALUE" -Password "TEST_VALUE" + #$NewObject | Should -BeOfType BasicAuthConfig + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/BearerTokenAuthConfig.Tests.ps1 b/PSSailpoint/v2024/tests/Model/BearerTokenAuthConfig.Tests.ps1 new file mode 100644 index 000000000..8ace43937 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/BearerTokenAuthConfig.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024BearerTokenAuthConfig' { + Context 'V2024BearerTokenAuthConfig' { + It 'Initialize-V2024BearerTokenAuthConfig' { + # a simple test to create an object + #$NewObject = Initialize-V2024BearerTokenAuthConfig -BearerToken "TEST_VALUE" + #$NewObject | Should -BeOfType BearerTokenAuthConfig + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/BeforeProvisioningRuleDto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/BeforeProvisioningRuleDto.Tests.ps1 new file mode 100644 index 000000000..ff737a018 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/BeforeProvisioningRuleDto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024BeforeProvisioningRuleDto' { + Context 'V2024BeforeProvisioningRuleDto' { + It 'Initialize-V2024BeforeProvisioningRuleDto' { + # a simple test to create an object + #$NewObject = Initialize-V2024BeforeProvisioningRuleDto -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType BeforeProvisioningRuleDto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Bound.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Bound.Tests.ps1 new file mode 100644 index 000000000..4c2e51e05 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Bound.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Bound' { + Context 'V2024Bound' { + It 'Initialize-V2024Bound' { + # a simple test to create an object + #$NewObject = Initialize-V2024Bound -Value "TEST_VALUE" -Inclusive "TEST_VALUE" + #$NewObject | Should -BeOfType Bound + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/BrandingItem.Tests.ps1 b/PSSailpoint/v2024/tests/Model/BrandingItem.Tests.ps1 new file mode 100644 index 000000000..36fb7347b --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/BrandingItem.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024BrandingItem' { + Context 'V2024BrandingItem' { + It 'Initialize-V2024BrandingItem' { + # a simple test to create an object + #$NewObject = Initialize-V2024BrandingItem -Name "TEST_VALUE" -ProductName "TEST_VALUE" -ActionButtonColor "TEST_VALUE" -ActiveLinkColor "TEST_VALUE" -NavigationColor "TEST_VALUE" -EmailFromAddress "TEST_VALUE" -StandardLogoURL "TEST_VALUE" -LoginInformationalMessage "TEST_VALUE" + #$NewObject | Should -BeOfType BrandingItem + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/BrandingItemCreate.Tests.ps1 b/PSSailpoint/v2024/tests/Model/BrandingItemCreate.Tests.ps1 new file mode 100644 index 000000000..0b06b6188 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/BrandingItemCreate.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024BrandingItemCreate' { + Context 'V2024BrandingItemCreate' { + It 'Initialize-V2024BrandingItemCreate' { + # a simple test to create an object + #$NewObject = Initialize-V2024BrandingItemCreate -Name "TEST_VALUE" -ProductName "TEST_VALUE" -ActionButtonColor "TEST_VALUE" -ActiveLinkColor "TEST_VALUE" -NavigationColor "TEST_VALUE" -EmailFromAddress "TEST_VALUE" -LoginInformationalMessage "TEST_VALUE" -FileStandard "TEST_VALUE" + #$NewObject | Should -BeOfType BrandingItemCreate + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/BucketAggregation.Tests.ps1 b/PSSailpoint/v2024/tests/Model/BucketAggregation.Tests.ps1 new file mode 100644 index 000000000..9ac5e5bba --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/BucketAggregation.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024BucketAggregation' { + Context 'V2024BucketAggregation' { + It 'Initialize-V2024BucketAggregation' { + # a simple test to create an object + #$NewObject = Initialize-V2024BucketAggregation -Name "TEST_VALUE" -Type "TEST_VALUE" -Field "TEST_VALUE" -Size "TEST_VALUE" -MinDocCount "TEST_VALUE" + #$NewObject | Should -BeOfType BucketAggregation + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/BucketType.Tests.ps1 b/PSSailpoint/v2024/tests/Model/BucketType.Tests.ps1 new file mode 100644 index 000000000..5a692f9fe --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/BucketType.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024BucketType' { + Context 'V2024BucketType' { + It 'Initialize-V2024BucketType' { + # a simple test to create an object + #$NewObject = Initialize-V2024BucketType + #$NewObject | Should -BeOfType BucketType + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/BulkAddTaggedObject.Tests.ps1 b/PSSailpoint/v2024/tests/Model/BulkAddTaggedObject.Tests.ps1 new file mode 100644 index 000000000..9575da80e --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/BulkAddTaggedObject.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024BulkAddTaggedObject' { + Context 'V2024BulkAddTaggedObject' { + It 'Initialize-V2024BulkAddTaggedObject' { + # a simple test to create an object + #$NewObject = Initialize-V2024BulkAddTaggedObject -ObjectRefs "TEST_VALUE" -Tags "TEST_VALUE" -Operation "TEST_VALUE" + #$NewObject | Should -BeOfType BulkAddTaggedObject + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/BulkIdentitiesAccountsResponse.Tests.ps1 b/PSSailpoint/v2024/tests/Model/BulkIdentitiesAccountsResponse.Tests.ps1 new file mode 100644 index 000000000..778900c5f --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/BulkIdentitiesAccountsResponse.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024BulkIdentitiesAccountsResponse' { + Context 'V2024BulkIdentitiesAccountsResponse' { + It 'Initialize-V2024BulkIdentitiesAccountsResponse' { + # a simple test to create an object + #$NewObject = Initialize-V2024BulkIdentitiesAccountsResponse -Id "TEST_VALUE" -StatusCode "TEST_VALUE" -Message "TEST_VALUE" + #$NewObject | Should -BeOfType BulkIdentitiesAccountsResponse + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/BulkRemoveTaggedObject.Tests.ps1 b/PSSailpoint/v2024/tests/Model/BulkRemoveTaggedObject.Tests.ps1 new file mode 100644 index 000000000..b7c48bbf7 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/BulkRemoveTaggedObject.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024BulkRemoveTaggedObject' { + Context 'V2024BulkRemoveTaggedObject' { + It 'Initialize-V2024BulkRemoveTaggedObject' { + # a simple test to create an object + #$NewObject = Initialize-V2024BulkRemoveTaggedObject -ObjectRefs "TEST_VALUE" -Tags "TEST_VALUE" + #$NewObject | Should -BeOfType BulkRemoveTaggedObject + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/BulkTaggedObjectResponse.Tests.ps1 b/PSSailpoint/v2024/tests/Model/BulkTaggedObjectResponse.Tests.ps1 new file mode 100644 index 000000000..4acd60080 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/BulkTaggedObjectResponse.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024BulkTaggedObjectResponse' { + Context 'V2024BulkTaggedObjectResponse' { + It 'Initialize-V2024BulkTaggedObjectResponse' { + # a simple test to create an object + #$NewObject = Initialize-V2024BulkTaggedObjectResponse -ObjectRefs "TEST_VALUE" -Tags "TEST_VALUE" + #$NewObject | Should -BeOfType BulkTaggedObjectResponse + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Campaign.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Campaign.Tests.ps1 new file mode 100644 index 000000000..592e90640 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Campaign.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Campaign' { + Context 'V2024Campaign' { + It 'Initialize-V2024Campaign' { + # a simple test to create an object + #$NewObject = Initialize-V2024Campaign -Id "TEST_VALUE" -Name "TEST_VALUE" -Description "TEST_VALUE" -Deadline "TEST_VALUE" -Type "TEST_VALUE" -EmailNotificationEnabled "TEST_VALUE" -AutoRevokeAllowed "TEST_VALUE" -RecommendationsEnabled "TEST_VALUE" -Status "TEST_VALUE" -CorrelatedStatus "TEST_VALUE" -Created "TEST_VALUE" -TotalCertifications "TEST_VALUE" -CompletedCertifications "TEST_VALUE" -Alerts "TEST_VALUE" -Modified "TEST_VALUE" -VarFilter "TEST_VALUE" -SunsetCommentsRequired "TEST_VALUE" -SourceOwnerCampaignInfo "TEST_VALUE" -SearchCampaignInfo "TEST_VALUE" -RoleCompositionCampaignInfo "TEST_VALUE" -SourcesWithOrphanEntitlements "TEST_VALUE" -MandatoryCommentRequirement "TEST_VALUE" + #$NewObject | Should -BeOfType Campaign + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CampaignActivated.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CampaignActivated.Tests.ps1 new file mode 100644 index 000000000..125da372b --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CampaignActivated.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CampaignActivated' { + Context 'V2024CampaignActivated' { + It 'Initialize-V2024CampaignActivated' { + # a simple test to create an object + #$NewObject = Initialize-V2024CampaignActivated -Campaign "TEST_VALUE" + #$NewObject | Should -BeOfType CampaignActivated + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CampaignActivatedCampaign.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CampaignActivatedCampaign.Tests.ps1 new file mode 100644 index 000000000..da4b9f8e1 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CampaignActivatedCampaign.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CampaignActivatedCampaign' { + Context 'V2024CampaignActivatedCampaign' { + It 'Initialize-V2024CampaignActivatedCampaign' { + # a simple test to create an object + #$NewObject = Initialize-V2024CampaignActivatedCampaign -Id "TEST_VALUE" -Name "TEST_VALUE" -Description "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" -Deadline "TEST_VALUE" -Type "TEST_VALUE" -CampaignOwner "TEST_VALUE" -Status "TEST_VALUE" + #$NewObject | Should -BeOfType CampaignActivatedCampaign + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CampaignActivatedCampaignCampaignOwner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CampaignActivatedCampaignCampaignOwner.Tests.ps1 new file mode 100644 index 000000000..e512cdc07 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CampaignActivatedCampaignCampaignOwner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CampaignActivatedCampaignCampaignOwner' { + Context 'V2024CampaignActivatedCampaignCampaignOwner' { + It 'Initialize-V2024CampaignActivatedCampaignCampaignOwner' { + # a simple test to create an object + #$NewObject = Initialize-V2024CampaignActivatedCampaignCampaignOwner -Id "TEST_VALUE" -DisplayName "TEST_VALUE" -Email "TEST_VALUE" + #$NewObject | Should -BeOfType CampaignActivatedCampaignCampaignOwner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CampaignAlert.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CampaignAlert.Tests.ps1 new file mode 100644 index 000000000..f38ac61f1 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CampaignAlert.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CampaignAlert' { + Context 'V2024CampaignAlert' { + It 'Initialize-V2024CampaignAlert' { + # a simple test to create an object + #$NewObject = Initialize-V2024CampaignAlert -Level "TEST_VALUE" -Localizations "TEST_VALUE" + #$NewObject | Should -BeOfType CampaignAlert + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CampaignAllOfFilter.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CampaignAllOfFilter.Tests.ps1 new file mode 100644 index 000000000..6e392b408 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CampaignAllOfFilter.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CampaignAllOfFilter' { + Context 'V2024CampaignAllOfFilter' { + It 'Initialize-V2024CampaignAllOfFilter' { + # a simple test to create an object + #$NewObject = Initialize-V2024CampaignAllOfFilter -Id "TEST_VALUE" -Type "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType CampaignAllOfFilter + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CampaignAllOfRoleCompositionCampaignInfo.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CampaignAllOfRoleCompositionCampaignInfo.Tests.ps1 new file mode 100644 index 000000000..7517a5f13 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CampaignAllOfRoleCompositionCampaignInfo.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CampaignAllOfRoleCompositionCampaignInfo' { + Context 'V2024CampaignAllOfRoleCompositionCampaignInfo' { + It 'Initialize-V2024CampaignAllOfRoleCompositionCampaignInfo' { + # a simple test to create an object + #$NewObject = Initialize-V2024CampaignAllOfRoleCompositionCampaignInfo -Reviewer "TEST_VALUE" -RoleIds "TEST_VALUE" -RemediatorRef "TEST_VALUE" -Query "TEST_VALUE" -Description "TEST_VALUE" + #$NewObject | Should -BeOfType CampaignAllOfRoleCompositionCampaignInfo + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CampaignAllOfRoleCompositionCampaignInfoRemediatorRef.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CampaignAllOfRoleCompositionCampaignInfoRemediatorRef.Tests.ps1 new file mode 100644 index 000000000..81dab7172 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CampaignAllOfRoleCompositionCampaignInfoRemediatorRef.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CampaignAllOfRoleCompositionCampaignInfoRemediatorRef' { + Context 'V2024CampaignAllOfRoleCompositionCampaignInfoRemediatorRef' { + It 'Initialize-V2024CampaignAllOfRoleCompositionCampaignInfoRemediatorRef' { + # a simple test to create an object + #$NewObject = Initialize-V2024CampaignAllOfRoleCompositionCampaignInfoRemediatorRef -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType CampaignAllOfRoleCompositionCampaignInfoRemediatorRef + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CampaignAllOfSearchCampaignInfo.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CampaignAllOfSearchCampaignInfo.Tests.ps1 new file mode 100644 index 000000000..fe9db45e0 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CampaignAllOfSearchCampaignInfo.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CampaignAllOfSearchCampaignInfo' { + Context 'V2024CampaignAllOfSearchCampaignInfo' { + It 'Initialize-V2024CampaignAllOfSearchCampaignInfo' { + # a simple test to create an object + #$NewObject = Initialize-V2024CampaignAllOfSearchCampaignInfo -Type "TEST_VALUE" -Description "TEST_VALUE" -Reviewer "TEST_VALUE" -Query "TEST_VALUE" -IdentityIds "TEST_VALUE" -AccessConstraints "TEST_VALUE" + #$NewObject | Should -BeOfType CampaignAllOfSearchCampaignInfo + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CampaignAllOfSearchCampaignInfoReviewer.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CampaignAllOfSearchCampaignInfoReviewer.Tests.ps1 new file mode 100644 index 000000000..5c8605701 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CampaignAllOfSearchCampaignInfoReviewer.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CampaignAllOfSearchCampaignInfoReviewer' { + Context 'V2024CampaignAllOfSearchCampaignInfoReviewer' { + It 'Initialize-V2024CampaignAllOfSearchCampaignInfoReviewer' { + # a simple test to create an object + #$NewObject = Initialize-V2024CampaignAllOfSearchCampaignInfoReviewer -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType CampaignAllOfSearchCampaignInfoReviewer + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CampaignAllOfSourceOwnerCampaignInfo.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CampaignAllOfSourceOwnerCampaignInfo.Tests.ps1 new file mode 100644 index 000000000..b3b14dccb --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CampaignAllOfSourceOwnerCampaignInfo.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CampaignAllOfSourceOwnerCampaignInfo' { + Context 'V2024CampaignAllOfSourceOwnerCampaignInfo' { + It 'Initialize-V2024CampaignAllOfSourceOwnerCampaignInfo' { + # a simple test to create an object + #$NewObject = Initialize-V2024CampaignAllOfSourceOwnerCampaignInfo -SourceIds "TEST_VALUE" + #$NewObject | Should -BeOfType CampaignAllOfSourceOwnerCampaignInfo + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CampaignAllOfSourcesWithOrphanEntitlements.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CampaignAllOfSourcesWithOrphanEntitlements.Tests.ps1 new file mode 100644 index 000000000..44d69fe8a --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CampaignAllOfSourcesWithOrphanEntitlements.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CampaignAllOfSourcesWithOrphanEntitlements' { + Context 'V2024CampaignAllOfSourcesWithOrphanEntitlements' { + It 'Initialize-V2024CampaignAllOfSourcesWithOrphanEntitlements' { + # a simple test to create an object + #$NewObject = Initialize-V2024CampaignAllOfSourcesWithOrphanEntitlements -Id "TEST_VALUE" -Type "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType CampaignAllOfSourcesWithOrphanEntitlements + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CampaignCompleteOptions.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CampaignCompleteOptions.Tests.ps1 new file mode 100644 index 000000000..f1109f11c --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CampaignCompleteOptions.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CampaignCompleteOptions' { + Context 'V2024CampaignCompleteOptions' { + It 'Initialize-V2024CampaignCompleteOptions' { + # a simple test to create an object + #$NewObject = Initialize-V2024CampaignCompleteOptions -AutoCompleteAction "TEST_VALUE" + #$NewObject | Should -BeOfType CampaignCompleteOptions + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CampaignEnded.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CampaignEnded.Tests.ps1 new file mode 100644 index 000000000..93de2fbdb --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CampaignEnded.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CampaignEnded' { + Context 'V2024CampaignEnded' { + It 'Initialize-V2024CampaignEnded' { + # a simple test to create an object + #$NewObject = Initialize-V2024CampaignEnded -Campaign "TEST_VALUE" + #$NewObject | Should -BeOfType CampaignEnded + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CampaignEndedCampaign.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CampaignEndedCampaign.Tests.ps1 new file mode 100644 index 000000000..413641536 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CampaignEndedCampaign.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CampaignEndedCampaign' { + Context 'V2024CampaignEndedCampaign' { + It 'Initialize-V2024CampaignEndedCampaign' { + # a simple test to create an object + #$NewObject = Initialize-V2024CampaignEndedCampaign -Id "TEST_VALUE" -Name "TEST_VALUE" -Description "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" -Deadline "TEST_VALUE" -Type "TEST_VALUE" -CampaignOwner "TEST_VALUE" -Status "TEST_VALUE" + #$NewObject | Should -BeOfType CampaignEndedCampaign + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CampaignFilterDetails.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CampaignFilterDetails.Tests.ps1 new file mode 100644 index 000000000..68a85990e --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CampaignFilterDetails.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CampaignFilterDetails' { + Context 'V2024CampaignFilterDetails' { + It 'Initialize-V2024CampaignFilterDetails' { + # a simple test to create an object + #$NewObject = Initialize-V2024CampaignFilterDetails -Name "TEST_VALUE" -Description "TEST_VALUE" -Owner "TEST_VALUE" -Mode "TEST_VALUE" -CriteriaList "TEST_VALUE" + #$NewObject | Should -BeOfType CampaignFilterDetails + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CampaignFilterDetailsCriteriaListInner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CampaignFilterDetailsCriteriaListInner.Tests.ps1 new file mode 100644 index 000000000..02ba229c2 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CampaignFilterDetailsCriteriaListInner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CampaignFilterDetailsCriteriaListInner' { + Context 'V2024CampaignFilterDetailsCriteriaListInner' { + It 'Initialize-V2024CampaignFilterDetailsCriteriaListInner' { + # a simple test to create an object + #$NewObject = Initialize-V2024CampaignFilterDetailsCriteriaListInner -Type "TEST_VALUE" -Operation "TEST_VALUE" -Property "TEST_VALUE" -Value "TEST_VALUE" + #$NewObject | Should -BeOfType CampaignFilterDetailsCriteriaListInner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CampaignGenerated.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CampaignGenerated.Tests.ps1 new file mode 100644 index 000000000..88d279901 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CampaignGenerated.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CampaignGenerated' { + Context 'V2024CampaignGenerated' { + It 'Initialize-V2024CampaignGenerated' { + # a simple test to create an object + #$NewObject = Initialize-V2024CampaignGenerated -Campaign "TEST_VALUE" + #$NewObject | Should -BeOfType CampaignGenerated + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CampaignGeneratedCampaign.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CampaignGeneratedCampaign.Tests.ps1 new file mode 100644 index 000000000..f549acbf2 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CampaignGeneratedCampaign.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CampaignGeneratedCampaign' { + Context 'V2024CampaignGeneratedCampaign' { + It 'Initialize-V2024CampaignGeneratedCampaign' { + # a simple test to create an object + #$NewObject = Initialize-V2024CampaignGeneratedCampaign -Id "TEST_VALUE" -Name "TEST_VALUE" -Description "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" -Deadline "TEST_VALUE" -Type "TEST_VALUE" -CampaignOwner "TEST_VALUE" -Status "TEST_VALUE" + #$NewObject | Should -BeOfType CampaignGeneratedCampaign + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CampaignGeneratedCampaignCampaignOwner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CampaignGeneratedCampaignCampaignOwner.Tests.ps1 new file mode 100644 index 000000000..e8f721fb6 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CampaignGeneratedCampaignCampaignOwner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CampaignGeneratedCampaignCampaignOwner' { + Context 'V2024CampaignGeneratedCampaignCampaignOwner' { + It 'Initialize-V2024CampaignGeneratedCampaignCampaignOwner' { + # a simple test to create an object + #$NewObject = Initialize-V2024CampaignGeneratedCampaignCampaignOwner -Id "TEST_VALUE" -DisplayName "TEST_VALUE" -Email "TEST_VALUE" + #$NewObject | Should -BeOfType CampaignGeneratedCampaignCampaignOwner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CampaignReference.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CampaignReference.Tests.ps1 new file mode 100644 index 000000000..e0800581d --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CampaignReference.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CampaignReference' { + Context 'V2024CampaignReference' { + It 'Initialize-V2024CampaignReference' { + # a simple test to create an object + #$NewObject = Initialize-V2024CampaignReference -Id "TEST_VALUE" -Name "TEST_VALUE" -Type "TEST_VALUE" -CampaignType "TEST_VALUE" -Description "TEST_VALUE" -CorrelatedStatus "TEST_VALUE" -MandatoryCommentRequirement "TEST_VALUE" + #$NewObject | Should -BeOfType CampaignReference + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CampaignReport.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CampaignReport.Tests.ps1 new file mode 100644 index 000000000..7863c31dc --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CampaignReport.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CampaignReport' { + Context 'V2024CampaignReport' { + It 'Initialize-V2024CampaignReport' { + # a simple test to create an object + #$NewObject = Initialize-V2024CampaignReport -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" -Status "TEST_VALUE" -ReportType "TEST_VALUE" -LastRunAt "TEST_VALUE" + #$NewObject | Should -BeOfType CampaignReport + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CampaignReportsConfig.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CampaignReportsConfig.Tests.ps1 new file mode 100644 index 000000000..3a4a0fe64 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CampaignReportsConfig.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CampaignReportsConfig' { + Context 'V2024CampaignReportsConfig' { + It 'Initialize-V2024CampaignReportsConfig' { + # a simple test to create an object + #$NewObject = Initialize-V2024CampaignReportsConfig -IdentityAttributeColumns "TEST_VALUE" + #$NewObject | Should -BeOfType CampaignReportsConfig + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CampaignTemplate.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CampaignTemplate.Tests.ps1 new file mode 100644 index 000000000..5c8b9b648 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CampaignTemplate.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CampaignTemplate' { + Context 'V2024CampaignTemplate' { + It 'Initialize-V2024CampaignTemplate' { + # a simple test to create an object + #$NewObject = Initialize-V2024CampaignTemplate -Id "TEST_VALUE" -Name "TEST_VALUE" -Description "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" -Scheduled "TEST_VALUE" -OwnerRef "TEST_VALUE" -DeadlineDuration "TEST_VALUE" -Campaign "TEST_VALUE" + #$NewObject | Should -BeOfType CampaignTemplate + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CampaignTemplateOwnerRef.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CampaignTemplateOwnerRef.Tests.ps1 new file mode 100644 index 000000000..a276d5010 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CampaignTemplateOwnerRef.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CampaignTemplateOwnerRef' { + Context 'V2024CampaignTemplateOwnerRef' { + It 'Initialize-V2024CampaignTemplateOwnerRef' { + # a simple test to create an object + #$NewObject = Initialize-V2024CampaignTemplateOwnerRef -Id "TEST_VALUE" -Type "TEST_VALUE" -Name "TEST_VALUE" -Email "TEST_VALUE" + #$NewObject | Should -BeOfType CampaignTemplateOwnerRef + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CampaignsDeleteRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CampaignsDeleteRequest.Tests.ps1 new file mode 100644 index 000000000..eb0468f4b --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CampaignsDeleteRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CampaignsDeleteRequest' { + Context 'V2024CampaignsDeleteRequest' { + It 'Initialize-V2024CampaignsDeleteRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024CampaignsDeleteRequest -Ids "TEST_VALUE" + #$NewObject | Should -BeOfType CampaignsDeleteRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CancelAccessRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CancelAccessRequest.Tests.ps1 new file mode 100644 index 000000000..4592de2a5 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CancelAccessRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CancelAccessRequest' { + Context 'V2024CancelAccessRequest' { + It 'Initialize-V2024CancelAccessRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024CancelAccessRequest -AccountActivityId "TEST_VALUE" -Comment "TEST_VALUE" + #$NewObject | Should -BeOfType CancelAccessRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CancelledRequestDetails.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CancelledRequestDetails.Tests.ps1 new file mode 100644 index 000000000..34e43d9b9 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CancelledRequestDetails.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CancelledRequestDetails' { + Context 'V2024CancelledRequestDetails' { + It 'Initialize-V2024CancelledRequestDetails' { + # a simple test to create an object + #$NewObject = Initialize-V2024CancelledRequestDetails -Comment "TEST_VALUE" -Owner "TEST_VALUE" -Modified "TEST_VALUE" + #$NewObject | Should -BeOfType CancelledRequestDetails + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Certification.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Certification.Tests.ps1 new file mode 100644 index 000000000..dfa5e29dc --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Certification.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Certification' { + Context 'V2024Certification' { + It 'Initialize-V2024Certification' { + # a simple test to create an object + #$NewObject = Initialize-V2024Certification -Id "TEST_VALUE" -Name "TEST_VALUE" -Campaign "TEST_VALUE" -Completed "TEST_VALUE" -IdentitiesCompleted "TEST_VALUE" -IdentitiesTotal "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" -DecisionsMade "TEST_VALUE" -DecisionsTotal "TEST_VALUE" -Due "TEST_VALUE" -Signed "TEST_VALUE" -Reviewer "TEST_VALUE" -Reassignment "TEST_VALUE" -HasErrors "TEST_VALUE" -ErrorMessage "TEST_VALUE" -Phase "TEST_VALUE" + #$NewObject | Should -BeOfType Certification + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CertificationDecision.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CertificationDecision.Tests.ps1 new file mode 100644 index 000000000..a1ffb3048 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CertificationDecision.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CertificationDecision' { + Context 'V2024CertificationDecision' { + It 'Initialize-V2024CertificationDecision' { + # a simple test to create an object + #$NewObject = Initialize-V2024CertificationDecision + #$NewObject | Should -BeOfType CertificationDecision + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CertificationDto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CertificationDto.Tests.ps1 new file mode 100644 index 000000000..33ba1af00 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CertificationDto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CertificationDto' { + Context 'V2024CertificationDto' { + It 'Initialize-V2024CertificationDto' { + # a simple test to create an object + #$NewObject = Initialize-V2024CertificationDto -CampaignRef "TEST_VALUE" -Phase "TEST_VALUE" -Due "TEST_VALUE" -Signed "TEST_VALUE" -Reviewer "TEST_VALUE" -Reassignment "TEST_VALUE" -HasErrors "TEST_VALUE" -ErrorMessage "TEST_VALUE" -Completed "TEST_VALUE" -DecisionsMade "TEST_VALUE" -DecisionsTotal "TEST_VALUE" -EntitiesCompleted "TEST_VALUE" -EntitiesTotal "TEST_VALUE" + #$NewObject | Should -BeOfType CertificationDto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CertificationIdentitySummary.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CertificationIdentitySummary.Tests.ps1 new file mode 100644 index 000000000..5642804fe --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CertificationIdentitySummary.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CertificationIdentitySummary' { + Context 'V2024CertificationIdentitySummary' { + It 'Initialize-V2024CertificationIdentitySummary' { + # a simple test to create an object + #$NewObject = Initialize-V2024CertificationIdentitySummary -Id "TEST_VALUE" -Name "TEST_VALUE" -IdentityId "TEST_VALUE" -Completed "TEST_VALUE" + #$NewObject | Should -BeOfType CertificationIdentitySummary + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CertificationPhase.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CertificationPhase.Tests.ps1 new file mode 100644 index 000000000..672f54437 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CertificationPhase.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CertificationPhase' { + Context 'V2024CertificationPhase' { + It 'Initialize-V2024CertificationPhase' { + # a simple test to create an object + #$NewObject = Initialize-V2024CertificationPhase + #$NewObject | Should -BeOfType CertificationPhase + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CertificationReference.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CertificationReference.Tests.ps1 new file mode 100644 index 000000000..6fc244dd3 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CertificationReference.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CertificationReference' { + Context 'V2024CertificationReference' { + It 'Initialize-V2024CertificationReference' { + # a simple test to create an object + #$NewObject = Initialize-V2024CertificationReference -Id "TEST_VALUE" -Name "TEST_VALUE" -Type "TEST_VALUE" -Reviewer "TEST_VALUE" + #$NewObject | Should -BeOfType CertificationReference + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CertificationReference1.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CertificationReference1.Tests.ps1 new file mode 100644 index 000000000..35292848b --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CertificationReference1.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CertificationReference1' { + Context 'V2024CertificationReference1' { + It 'Initialize-V2024CertificationReference1' { + # a simple test to create an object + #$NewObject = Initialize-V2024CertificationReference1 -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" -Reviewer "TEST_VALUE" + #$NewObject | Should -BeOfType CertificationReference1 + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CertificationReferenceDto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CertificationReferenceDto.Tests.ps1 new file mode 100644 index 000000000..d37c21fc6 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CertificationReferenceDto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CertificationReferenceDto' { + Context 'V2024CertificationReferenceDto' { + It 'Initialize-V2024CertificationReferenceDto' { + # a simple test to create an object + #$NewObject = Initialize-V2024CertificationReferenceDto -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType CertificationReferenceDto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CertificationSignedOff.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CertificationSignedOff.Tests.ps1 new file mode 100644 index 000000000..7fbb1a2e4 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CertificationSignedOff.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CertificationSignedOff' { + Context 'V2024CertificationSignedOff' { + It 'Initialize-V2024CertificationSignedOff' { + # a simple test to create an object + #$NewObject = Initialize-V2024CertificationSignedOff -Certification "TEST_VALUE" + #$NewObject | Should -BeOfType CertificationSignedOff + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CertificationSignedOffCertification.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CertificationSignedOffCertification.Tests.ps1 new file mode 100644 index 000000000..3c87bd172 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CertificationSignedOffCertification.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CertificationSignedOffCertification' { + Context 'V2024CertificationSignedOffCertification' { + It 'Initialize-V2024CertificationSignedOffCertification' { + # a simple test to create an object + #$NewObject = Initialize-V2024CertificationSignedOffCertification -Id "TEST_VALUE" -Name "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" -CampaignRef "TEST_VALUE" -Phase "TEST_VALUE" -Due "TEST_VALUE" -Signed "TEST_VALUE" -Reviewer "TEST_VALUE" -Reassignment "TEST_VALUE" -HasErrors "TEST_VALUE" -ErrorMessage "TEST_VALUE" -Completed "TEST_VALUE" -DecisionsMade "TEST_VALUE" -DecisionsTotal "TEST_VALUE" -EntitiesCompleted "TEST_VALUE" -EntitiesTotal "TEST_VALUE" + #$NewObject | Should -BeOfType CertificationSignedOffCertification + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CertificationTask.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CertificationTask.Tests.ps1 new file mode 100644 index 000000000..fabf58af4 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CertificationTask.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CertificationTask' { + Context 'V2024CertificationTask' { + It 'Initialize-V2024CertificationTask' { + # a simple test to create an object + #$NewObject = Initialize-V2024CertificationTask -Id "TEST_VALUE" -Type "TEST_VALUE" -TargetType "TEST_VALUE" -TargetId "TEST_VALUE" -Status "TEST_VALUE" -Errors "TEST_VALUE" -ReassignmentTrailDTOs "TEST_VALUE" -Created "TEST_VALUE" + #$NewObject | Should -BeOfType CertificationTask + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CertifierResponse.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CertifierResponse.Tests.ps1 new file mode 100644 index 000000000..31b0b33a2 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CertifierResponse.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CertifierResponse' { + Context 'V2024CertifierResponse' { + It 'Initialize-V2024CertifierResponse' { + # a simple test to create an object + #$NewObject = Initialize-V2024CertifierResponse -Id "TEST_VALUE" -DisplayName "TEST_VALUE" + #$NewObject | Should -BeOfType CertifierResponse + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ClientLogConfiguration.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ClientLogConfiguration.Tests.ps1 new file mode 100644 index 000000000..0737f18d3 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ClientLogConfiguration.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ClientLogConfiguration' { + Context 'V2024ClientLogConfiguration' { + It 'Initialize-V2024ClientLogConfiguration' { + # a simple test to create an object + #$NewObject = Initialize-V2024ClientLogConfiguration -ClientId "TEST_VALUE" -DurationMinutes "TEST_VALUE" -Expiration "TEST_VALUE" -RootLevel "TEST_VALUE" -LogLevels "TEST_VALUE" + #$NewObject | Should -BeOfType ClientLogConfiguration + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ClientType.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ClientType.Tests.ps1 new file mode 100644 index 000000000..768d60e29 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ClientType.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ClientType' { + Context 'V2024ClientType' { + It 'Initialize-V2024ClientType' { + # a simple test to create an object + #$NewObject = Initialize-V2024ClientType + #$NewObject | Should -BeOfType ClientType + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CloseAccessRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CloseAccessRequest.Tests.ps1 new file mode 100644 index 000000000..574809f95 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CloseAccessRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CloseAccessRequest' { + Context 'V2024CloseAccessRequest' { + It 'Initialize-V2024CloseAccessRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024CloseAccessRequest -AccessRequestIds "TEST_VALUE" -Message "TEST_VALUE" -ExecutionStatus "TEST_VALUE" -CompletionStatus "TEST_VALUE" + #$NewObject | Should -BeOfType CloseAccessRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Column.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Column.Tests.ps1 new file mode 100644 index 000000000..7f303988e --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Column.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Column' { + Context 'V2024Column' { + It 'Initialize-V2024Column' { + # a simple test to create an object + #$NewObject = Initialize-V2024Column -Field "TEST_VALUE" -Header "TEST_VALUE" + #$NewObject | Should -BeOfType Column + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Comment.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Comment.Tests.ps1 new file mode 100644 index 000000000..68cbb5c21 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Comment.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Comment' { + Context 'V2024Comment' { + It 'Initialize-V2024Comment' { + # a simple test to create an object + #$NewObject = Initialize-V2024Comment -CommenterId "TEST_VALUE" -CommenterName "TEST_VALUE" -Body "TEST_VALUE" -Date "TEST_VALUE" + #$NewObject | Should -BeOfType Comment + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CommentDto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CommentDto.Tests.ps1 new file mode 100644 index 000000000..b6760388f --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CommentDto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CommentDto' { + Context 'V2024CommentDto' { + It 'Initialize-V2024CommentDto' { + # a simple test to create an object + #$NewObject = Initialize-V2024CommentDto -Comment "TEST_VALUE" -Created "TEST_VALUE" -Author "TEST_VALUE" + #$NewObject | Should -BeOfType CommentDto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CommentDtoAuthor.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CommentDtoAuthor.Tests.ps1 new file mode 100644 index 000000000..6e4fac047 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CommentDtoAuthor.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CommentDtoAuthor' { + Context 'V2024CommentDtoAuthor' { + It 'Initialize-V2024CommentDtoAuthor' { + # a simple test to create an object + #$NewObject = Initialize-V2024CommentDtoAuthor -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType CommentDtoAuthor + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CommonAccessIDStatus.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CommonAccessIDStatus.Tests.ps1 new file mode 100644 index 000000000..6329d10ea --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CommonAccessIDStatus.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CommonAccessIDStatus' { + Context 'V2024CommonAccessIDStatus' { + It 'Initialize-V2024CommonAccessIDStatus' { + # a simple test to create an object + #$NewObject = Initialize-V2024CommonAccessIDStatus -ConfirmedIds "TEST_VALUE" -DeniedIds "TEST_VALUE" + #$NewObject | Should -BeOfType CommonAccessIDStatus + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CommonAccessItemAccess.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CommonAccessItemAccess.Tests.ps1 new file mode 100644 index 000000000..7b8f862b1 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CommonAccessItemAccess.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CommonAccessItemAccess' { + Context 'V2024CommonAccessItemAccess' { + It 'Initialize-V2024CommonAccessItemAccess' { + # a simple test to create an object + #$NewObject = Initialize-V2024CommonAccessItemAccess -Id "TEST_VALUE" -Type "TEST_VALUE" -Name "TEST_VALUE" -Description "TEST_VALUE" -OwnerName "TEST_VALUE" -OwnerId "TEST_VALUE" + #$NewObject | Should -BeOfType CommonAccessItemAccess + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CommonAccessItemRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CommonAccessItemRequest.Tests.ps1 new file mode 100644 index 000000000..d959cc449 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CommonAccessItemRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CommonAccessItemRequest' { + Context 'V2024CommonAccessItemRequest' { + It 'Initialize-V2024CommonAccessItemRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024CommonAccessItemRequest -Access "TEST_VALUE" -Status "TEST_VALUE" + #$NewObject | Should -BeOfType CommonAccessItemRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CommonAccessItemResponse.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CommonAccessItemResponse.Tests.ps1 new file mode 100644 index 000000000..b18754a6a --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CommonAccessItemResponse.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CommonAccessItemResponse' { + Context 'V2024CommonAccessItemResponse' { + It 'Initialize-V2024CommonAccessItemResponse' { + # a simple test to create an object + #$NewObject = Initialize-V2024CommonAccessItemResponse -Id "TEST_VALUE" -Access "TEST_VALUE" -Status "TEST_VALUE" -LastUpdated "TEST_VALUE" -ReviewedByUser "TEST_VALUE" -LastReviewed "TEST_VALUE" -CreatedByUser "TEST_VALUE" + #$NewObject | Should -BeOfType CommonAccessItemResponse + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CommonAccessItemState.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CommonAccessItemState.Tests.ps1 new file mode 100644 index 000000000..69f1f247f --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CommonAccessItemState.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CommonAccessItemState' { + Context 'V2024CommonAccessItemState' { + It 'Initialize-V2024CommonAccessItemState' { + # a simple test to create an object + #$NewObject = Initialize-V2024CommonAccessItemState + #$NewObject | Should -BeOfType CommonAccessItemState + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CommonAccessResponse.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CommonAccessResponse.Tests.ps1 new file mode 100644 index 000000000..7e54d8352 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CommonAccessResponse.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CommonAccessResponse' { + Context 'V2024CommonAccessResponse' { + It 'Initialize-V2024CommonAccessResponse' { + # a simple test to create an object + #$NewObject = Initialize-V2024CommonAccessResponse -Id "TEST_VALUE" -Access "TEST_VALUE" -Status "TEST_VALUE" -CommonAccessType "TEST_VALUE" -LastUpdated "TEST_VALUE" -ReviewedByUser "TEST_VALUE" -LastReviewed "TEST_VALUE" -CreatedByUser "TEST_VALUE" + #$NewObject | Should -BeOfType CommonAccessResponse + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CommonAccessType.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CommonAccessType.Tests.ps1 new file mode 100644 index 000000000..19496791b --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CommonAccessType.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CommonAccessType' { + Context 'V2024CommonAccessType' { + It 'Initialize-V2024CommonAccessType' { + # a simple test to create an object + #$NewObject = Initialize-V2024CommonAccessType + #$NewObject | Should -BeOfType CommonAccessType + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CompleteInvocation.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CompleteInvocation.Tests.ps1 new file mode 100644 index 000000000..740cf392e --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CompleteInvocation.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CompleteInvocation' { + Context 'V2024CompleteInvocation' { + It 'Initialize-V2024CompleteInvocation' { + # a simple test to create an object + #$NewObject = Initialize-V2024CompleteInvocation -Secret "TEST_VALUE" -VarError "TEST_VALUE" -Output "TEST_VALUE" + #$NewObject | Should -BeOfType CompleteInvocation + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CompleteInvocationInput.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CompleteInvocationInput.Tests.ps1 new file mode 100644 index 000000000..e8f97aaa3 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CompleteInvocationInput.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CompleteInvocationInput' { + Context 'V2024CompleteInvocationInput' { + It 'Initialize-V2024CompleteInvocationInput' { + # a simple test to create an object + #$NewObject = Initialize-V2024CompleteInvocationInput -LocalizedError "TEST_VALUE" -Output "TEST_VALUE" + #$NewObject | Should -BeOfType CompleteInvocationInput + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CompletedApproval.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CompletedApproval.Tests.ps1 new file mode 100644 index 000000000..ddad0b046 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CompletedApproval.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CompletedApproval' { + Context 'V2024CompletedApproval' { + It 'Initialize-V2024CompletedApproval' { + # a simple test to create an object + #$NewObject = Initialize-V2024CompletedApproval -Id "TEST_VALUE" -Name "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" -RequestCreated "TEST_VALUE" -RequestType "TEST_VALUE" -Requester "TEST_VALUE" -RequestedFor "TEST_VALUE" -ReviewedBy "TEST_VALUE" -Owner "TEST_VALUE" -RequestedObject "TEST_VALUE" -RequesterComment "TEST_VALUE" -ReviewerComment "TEST_VALUE" -PreviousReviewersComments "TEST_VALUE" -ForwardHistory "TEST_VALUE" -CommentRequiredWhenRejected "TEST_VALUE" -State "TEST_VALUE" -RemoveDate "TEST_VALUE" -RemoveDateUpdateRequested "TEST_VALUE" -CurrentRemoveDate "TEST_VALUE" -SodViolationContext "TEST_VALUE" -PreApprovalTriggerResult "TEST_VALUE" -ClientMetadata "TEST_VALUE" + #$NewObject | Should -BeOfType CompletedApproval + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CompletedApprovalPreApprovalTriggerResult.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CompletedApprovalPreApprovalTriggerResult.Tests.ps1 new file mode 100644 index 000000000..c578aff26 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CompletedApprovalPreApprovalTriggerResult.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CompletedApprovalPreApprovalTriggerResult' { + Context 'V2024CompletedApprovalPreApprovalTriggerResult' { + It 'Initialize-V2024CompletedApprovalPreApprovalTriggerResult' { + # a simple test to create an object + #$NewObject = Initialize-V2024CompletedApprovalPreApprovalTriggerResult -Comment "TEST_VALUE" -Decision "TEST_VALUE" -Reviewer "TEST_VALUE" -Date "TEST_VALUE" + #$NewObject | Should -BeOfType CompletedApprovalPreApprovalTriggerResult + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CompletedApprovalRequesterComment.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CompletedApprovalRequesterComment.Tests.ps1 new file mode 100644 index 000000000..0a4c6c282 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CompletedApprovalRequesterComment.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CompletedApprovalRequesterComment' { + Context 'V2024CompletedApprovalRequesterComment' { + It 'Initialize-V2024CompletedApprovalRequesterComment' { + # a simple test to create an object + #$NewObject = Initialize-V2024CompletedApprovalRequesterComment -Comment "TEST_VALUE" -Created "TEST_VALUE" -Author "TEST_VALUE" + #$NewObject | Should -BeOfType CompletedApprovalRequesterComment + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CompletedApprovalReviewerComment.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CompletedApprovalReviewerComment.Tests.ps1 new file mode 100644 index 000000000..307d92e11 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CompletedApprovalReviewerComment.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CompletedApprovalReviewerComment' { + Context 'V2024CompletedApprovalReviewerComment' { + It 'Initialize-V2024CompletedApprovalReviewerComment' { + # a simple test to create an object + #$NewObject = Initialize-V2024CompletedApprovalReviewerComment -Comment "TEST_VALUE" -Created "TEST_VALUE" -Author "TEST_VALUE" + #$NewObject | Should -BeOfType CompletedApprovalReviewerComment + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CompletedApprovalState.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CompletedApprovalState.Tests.ps1 new file mode 100644 index 000000000..d2e28122c --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CompletedApprovalState.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CompletedApprovalState' { + Context 'V2024CompletedApprovalState' { + It 'Initialize-V2024CompletedApprovalState' { + # a simple test to create an object + #$NewObject = Initialize-V2024CompletedApprovalState + #$NewObject | Should -BeOfType CompletedApprovalState + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CompletionStatus.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CompletionStatus.Tests.ps1 new file mode 100644 index 000000000..ddf3d1c0c --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CompletionStatus.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CompletionStatus' { + Context 'V2024CompletionStatus' { + It 'Initialize-V2024CompletionStatus' { + # a simple test to create an object + #$NewObject = Initialize-V2024CompletionStatus + #$NewObject | Should -BeOfType CompletionStatus + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Concatenation.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Concatenation.Tests.ps1 new file mode 100644 index 000000000..487bc0c04 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Concatenation.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Concatenation' { + Context 'V2024Concatenation' { + It 'Initialize-V2024Concatenation' { + # a simple test to create an object + #$NewObject = Initialize-V2024Concatenation -Values "TEST_VALUE" -RequiresPeriodicRefresh "TEST_VALUE" -VarInput "TEST_VALUE" + #$NewObject | Should -BeOfType Concatenation + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ConditionEffect.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ConditionEffect.Tests.ps1 new file mode 100644 index 000000000..5a8a8f615 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ConditionEffect.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ConditionEffect' { + Context 'V2024ConditionEffect' { + It 'Initialize-V2024ConditionEffect' { + # a simple test to create an object + #$NewObject = Initialize-V2024ConditionEffect -EffectType "TEST_VALUE" -Config "TEST_VALUE" + #$NewObject | Should -BeOfType ConditionEffect + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ConditionEffectConfig.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ConditionEffectConfig.Tests.ps1 new file mode 100644 index 000000000..2f6b678bf --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ConditionEffectConfig.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ConditionEffectConfig' { + Context 'V2024ConditionEffectConfig' { + It 'Initialize-V2024ConditionEffectConfig' { + # a simple test to create an object + #$NewObject = Initialize-V2024ConditionEffectConfig -DefaultValueLabel "TEST_VALUE" -Element "TEST_VALUE" + #$NewObject | Should -BeOfType ConditionEffectConfig + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ConditionRule.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ConditionRule.Tests.ps1 new file mode 100644 index 000000000..93a35704b --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ConditionRule.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ConditionRule' { + Context 'V2024ConditionRule' { + It 'Initialize-V2024ConditionRule' { + # a simple test to create an object + #$NewObject = Initialize-V2024ConditionRule -SourceType "TEST_VALUE" -Source "TEST_VALUE" -Operator "TEST_VALUE" -ValueType "TEST_VALUE" -Value "TEST_VALUE" + #$NewObject | Should -BeOfType ConditionRule + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Conditional.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Conditional.Tests.ps1 new file mode 100644 index 000000000..efcf4d590 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Conditional.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Conditional' { + Context 'V2024Conditional' { + It 'Initialize-V2024Conditional' { + # a simple test to create an object + #$NewObject = Initialize-V2024Conditional -Expression "TEST_VALUE" -PositiveCondition "TEST_VALUE" -NegativeCondition "TEST_VALUE" -RequiresPeriodicRefresh "TEST_VALUE" -VarInput "TEST_VALUE" + #$NewObject | Should -BeOfType Conditional + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ConfigObject.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ConfigObject.Tests.ps1 new file mode 100644 index 000000000..e508950a4 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ConfigObject.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ConfigObject' { + Context 'V2024ConfigObject' { + It 'Initialize-V2024ConfigObject' { + # a simple test to create an object + #$NewObject = Initialize-V2024ConfigObject -Version "TEST_VALUE" -Self "TEST_VALUE" -Object "TEST_VALUE" + #$NewObject | Should -BeOfType ConfigObject + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ConfigType.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ConfigType.Tests.ps1 new file mode 100644 index 000000000..9cb76eba7 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ConfigType.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ConfigType' { + Context 'V2024ConfigType' { + It 'Initialize-V2024ConfigType' { + # a simple test to create an object + #$NewObject = Initialize-V2024ConfigType -Priority "TEST_VALUE" -InternalName "TEST_VALUE" -InternalNameCamel "TEST_VALUE" -DisplayName "TEST_VALUE" -Description "TEST_VALUE" + #$NewObject | Should -BeOfType ConfigType + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ConfigTypeEnum.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ConfigTypeEnum.Tests.ps1 new file mode 100644 index 000000000..43d6b82bd --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ConfigTypeEnum.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ConfigTypeEnum' { + Context 'V2024ConfigTypeEnum' { + It 'Initialize-V2024ConfigTypeEnum' { + # a simple test to create an object + #$NewObject = Initialize-V2024ConfigTypeEnum + #$NewObject | Should -BeOfType ConfigTypeEnum + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ConfigTypeEnumCamel.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ConfigTypeEnumCamel.Tests.ps1 new file mode 100644 index 000000000..57cf7fd09 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ConfigTypeEnumCamel.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ConfigTypeEnumCamel' { + Context 'V2024ConfigTypeEnumCamel' { + It 'Initialize-V2024ConfigTypeEnumCamel' { + # a simple test to create an object + #$NewObject = Initialize-V2024ConfigTypeEnumCamel + #$NewObject | Should -BeOfType ConfigTypeEnumCamel + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ConfigurationDetailsResponse.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ConfigurationDetailsResponse.Tests.ps1 new file mode 100644 index 000000000..6c4d21c3e --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ConfigurationDetailsResponse.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ConfigurationDetailsResponse' { + Context 'V2024ConfigurationDetailsResponse' { + It 'Initialize-V2024ConfigurationDetailsResponse' { + # a simple test to create an object + #$NewObject = Initialize-V2024ConfigurationDetailsResponse -ConfigType "TEST_VALUE" -TargetIdentity "TEST_VALUE" -StartDate "TEST_VALUE" -EndDate "TEST_VALUE" -AuditDetails "TEST_VALUE" + #$NewObject | Should -BeOfType ConfigurationDetailsResponse + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ConfigurationItemRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ConfigurationItemRequest.Tests.ps1 new file mode 100644 index 000000000..408d8576d --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ConfigurationItemRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ConfigurationItemRequest' { + Context 'V2024ConfigurationItemRequest' { + It 'Initialize-V2024ConfigurationItemRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024ConfigurationItemRequest -ReassignedFromId "TEST_VALUE" -ReassignedToId "TEST_VALUE" -ConfigType "TEST_VALUE" -StartDate "TEST_VALUE" -EndDate "TEST_VALUE" + #$NewObject | Should -BeOfType ConfigurationItemRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ConfigurationItemResponse.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ConfigurationItemResponse.Tests.ps1 new file mode 100644 index 000000000..f9ce98d64 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ConfigurationItemResponse.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ConfigurationItemResponse' { + Context 'V2024ConfigurationItemResponse' { + It 'Initialize-V2024ConfigurationItemResponse' { + # a simple test to create an object + #$NewObject = Initialize-V2024ConfigurationItemResponse -Identity "TEST_VALUE" -ConfigDetails "TEST_VALUE" + #$NewObject | Should -BeOfType ConfigurationItemResponse + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ConfigurationResponse.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ConfigurationResponse.Tests.ps1 new file mode 100644 index 000000000..e7692acd6 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ConfigurationResponse.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ConfigurationResponse' { + Context 'V2024ConfigurationResponse' { + It 'Initialize-V2024ConfigurationResponse' { + # a simple test to create an object + #$NewObject = Initialize-V2024ConfigurationResponse -Identity "TEST_VALUE" -ConfigDetails "TEST_VALUE" + #$NewObject | Should -BeOfType ConfigurationResponse + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ConflictingAccessCriteria.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ConflictingAccessCriteria.Tests.ps1 new file mode 100644 index 000000000..34bc186fe --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ConflictingAccessCriteria.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ConflictingAccessCriteria' { + Context 'V2024ConflictingAccessCriteria' { + It 'Initialize-V2024ConflictingAccessCriteria' { + # a simple test to create an object + #$NewObject = Initialize-V2024ConflictingAccessCriteria -LeftCriteria "TEST_VALUE" -RightCriteria "TEST_VALUE" + #$NewObject | Should -BeOfType ConflictingAccessCriteria + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ConnectedObject.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ConnectedObject.Tests.ps1 new file mode 100644 index 000000000..24e83b3a4 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ConnectedObject.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ConnectedObject' { + Context 'V2024ConnectedObject' { + It 'Initialize-V2024ConnectedObject' { + # a simple test to create an object + #$NewObject = Initialize-V2024ConnectedObject -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" -Description "TEST_VALUE" + #$NewObject | Should -BeOfType ConnectedObject + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ConnectedObjectType.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ConnectedObjectType.Tests.ps1 new file mode 100644 index 000000000..7904d7608 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ConnectedObjectType.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ConnectedObjectType' { + Context 'V2024ConnectedObjectType' { + It 'Initialize-V2024ConnectedObjectType' { + # a simple test to create an object + #$NewObject = Initialize-V2024ConnectedObjectType + #$NewObject | Should -BeOfType ConnectedObjectType + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ConnectorDetail.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ConnectorDetail.Tests.ps1 new file mode 100644 index 000000000..e13b01df0 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ConnectorDetail.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ConnectorDetail' { + Context 'V2024ConnectorDetail' { + It 'Initialize-V2024ConnectorDetail' { + # a simple test to create an object + #$NewObject = Initialize-V2024ConnectorDetail -Name "TEST_VALUE" -Type "TEST_VALUE" -ClassName "TEST_VALUE" -ScriptName "TEST_VALUE" -ApplicationXml "TEST_VALUE" -CorrelationConfigXml "TEST_VALUE" -SourceConfigXml "TEST_VALUE" -SourceConfig "TEST_VALUE" -SourceConfigFrom "TEST_VALUE" -S3Location "TEST_VALUE" -UploadedFiles "TEST_VALUE" -FileUpload "TEST_VALUE" -DirectConnect "TEST_VALUE" -TranslationProperties "TEST_VALUE" -ConnectorMetadata "TEST_VALUE" -Status "TEST_VALUE" + #$NewObject | Should -BeOfType ConnectorDetail + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ConnectorDetail1.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ConnectorDetail1.Tests.ps1 new file mode 100644 index 000000000..9c6119290 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ConnectorDetail1.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ConnectorDetail1' { + Context 'V2024ConnectorDetail1' { + It 'Initialize-V2024ConnectorDetail1' { + # a simple test to create an object + #$NewObject = Initialize-V2024ConnectorDetail1 -Name "TEST_VALUE" -SourceConfigXml "TEST_VALUE" -SourceConfig "TEST_VALUE" -DirectConnect "TEST_VALUE" -FileUpload "TEST_VALUE" -UploadedFiles "TEST_VALUE" -ConnectorMetadata "TEST_VALUE" + #$NewObject | Should -BeOfType ConnectorDetail1 + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ConnectorRuleCreateRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ConnectorRuleCreateRequest.Tests.ps1 new file mode 100644 index 000000000..0c81e1648 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ConnectorRuleCreateRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ConnectorRuleCreateRequest' { + Context 'V2024ConnectorRuleCreateRequest' { + It 'Initialize-V2024ConnectorRuleCreateRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024ConnectorRuleCreateRequest -Name "TEST_VALUE" -Description "TEST_VALUE" -Type "TEST_VALUE" -Signature "TEST_VALUE" -SourceCode "TEST_VALUE" -Attributes "TEST_VALUE" + #$NewObject | Should -BeOfType ConnectorRuleCreateRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ConnectorRuleCreateRequestSignature.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ConnectorRuleCreateRequestSignature.Tests.ps1 new file mode 100644 index 000000000..33c627d77 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ConnectorRuleCreateRequestSignature.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ConnectorRuleCreateRequestSignature' { + Context 'V2024ConnectorRuleCreateRequestSignature' { + It 'Initialize-V2024ConnectorRuleCreateRequestSignature' { + # a simple test to create an object + #$NewObject = Initialize-V2024ConnectorRuleCreateRequestSignature -VarInput "TEST_VALUE" -Output "TEST_VALUE" + #$NewObject | Should -BeOfType ConnectorRuleCreateRequestSignature + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ConnectorRuleResponse.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ConnectorRuleResponse.Tests.ps1 new file mode 100644 index 000000000..08fbb5d3c --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ConnectorRuleResponse.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ConnectorRuleResponse' { + Context 'V2024ConnectorRuleResponse' { + It 'Initialize-V2024ConnectorRuleResponse' { + # a simple test to create an object + #$NewObject = Initialize-V2024ConnectorRuleResponse -Name "TEST_VALUE" -Description "TEST_VALUE" -Type "TEST_VALUE" -Signature "TEST_VALUE" -SourceCode "TEST_VALUE" -Attributes "TEST_VALUE" -Id "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" + #$NewObject | Should -BeOfType ConnectorRuleResponse + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ConnectorRuleUpdateRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ConnectorRuleUpdateRequest.Tests.ps1 new file mode 100644 index 000000000..5bc9678e3 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ConnectorRuleUpdateRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ConnectorRuleUpdateRequest' { + Context 'V2024ConnectorRuleUpdateRequest' { + It 'Initialize-V2024ConnectorRuleUpdateRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024ConnectorRuleUpdateRequest -Name "TEST_VALUE" -Description "TEST_VALUE" -Type "TEST_VALUE" -Signature "TEST_VALUE" -SourceCode "TEST_VALUE" -Attributes "TEST_VALUE" -Id "TEST_VALUE" + #$NewObject | Should -BeOfType ConnectorRuleUpdateRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ConnectorRuleValidationResponse.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ConnectorRuleValidationResponse.Tests.ps1 new file mode 100644 index 000000000..bc52e1ed2 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ConnectorRuleValidationResponse.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ConnectorRuleValidationResponse' { + Context 'V2024ConnectorRuleValidationResponse' { + It 'Initialize-V2024ConnectorRuleValidationResponse' { + # a simple test to create an object + #$NewObject = Initialize-V2024ConnectorRuleValidationResponse -State "TEST_VALUE" -Details "TEST_VALUE" + #$NewObject | Should -BeOfType ConnectorRuleValidationResponse + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ConnectorRuleValidationResponseDetailsInner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ConnectorRuleValidationResponseDetailsInner.Tests.ps1 new file mode 100644 index 000000000..3cdd036f5 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ConnectorRuleValidationResponseDetailsInner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ConnectorRuleValidationResponseDetailsInner' { + Context 'V2024ConnectorRuleValidationResponseDetailsInner' { + It 'Initialize-V2024ConnectorRuleValidationResponseDetailsInner' { + # a simple test to create an object + #$NewObject = Initialize-V2024ConnectorRuleValidationResponseDetailsInner -Line "TEST_VALUE" -Column "TEST_VALUE" -Messsage "TEST_VALUE" + #$NewObject | Should -BeOfType ConnectorRuleValidationResponseDetailsInner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ContextAttributeDto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ContextAttributeDto.Tests.ps1 new file mode 100644 index 000000000..139da9389 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ContextAttributeDto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ContextAttributeDto' { + Context 'V2024ContextAttributeDto' { + It 'Initialize-V2024ContextAttributeDto' { + # a simple test to create an object + #$NewObject = Initialize-V2024ContextAttributeDto -Attribute "TEST_VALUE" -Value "TEST_VALUE" -Derived "TEST_VALUE" + #$NewObject | Should -BeOfType ContextAttributeDto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ContextAttributeDtoValue.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ContextAttributeDtoValue.Tests.ps1 new file mode 100644 index 000000000..5ea5aaf1e --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ContextAttributeDtoValue.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ContextAttributeDtoValue' { + Context 'V2024ContextAttributeDtoValue' { + It 'Initialize-V2024ContextAttributeDtoValue' { + # a simple test to create an object + #$NewObject = Initialize-V2024ContextAttributeDtoValue + #$NewObject | Should -BeOfType ContextAttributeDtoValue + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CorrelatedGovernanceEvent.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CorrelatedGovernanceEvent.Tests.ps1 new file mode 100644 index 000000000..2906932a7 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CorrelatedGovernanceEvent.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CorrelatedGovernanceEvent' { + Context 'V2024CorrelatedGovernanceEvent' { + It 'Initialize-V2024CorrelatedGovernanceEvent' { + # a simple test to create an object + #$NewObject = Initialize-V2024CorrelatedGovernanceEvent -Name "TEST_VALUE" -Dt "TEST_VALUE" -Type "TEST_VALUE" -GovernanceId "TEST_VALUE" -Owners "TEST_VALUE" -Reviewers "TEST_VALUE" -DecisionMaker "TEST_VALUE" + #$NewObject | Should -BeOfType CorrelatedGovernanceEvent + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CreateDomainDkim405Response.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CreateDomainDkim405Response.Tests.ps1 new file mode 100644 index 000000000..0322d25f4 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CreateDomainDkim405Response.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CreateDomainDkim405Response' { + Context 'V2024CreateDomainDkim405Response' { + It 'Initialize-V2024CreateDomainDkim405Response' { + # a simple test to create an object + #$NewObject = Initialize-V2024CreateDomainDkim405Response -ErrorName "TEST_VALUE" -ErrorMessage "TEST_VALUE" -TrackingId "TEST_VALUE" + #$NewObject | Should -BeOfType CreateDomainDkim405Response + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CreateExternalExecuteWorkflow200Response.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CreateExternalExecuteWorkflow200Response.Tests.ps1 new file mode 100644 index 000000000..649b41c1a --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CreateExternalExecuteWorkflow200Response.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CreateExternalExecuteWorkflow200Response' { + Context 'V2024CreateExternalExecuteWorkflow200Response' { + It 'Initialize-V2024CreateExternalExecuteWorkflow200Response' { + # a simple test to create an object + #$NewObject = Initialize-V2024CreateExternalExecuteWorkflow200Response -WorkflowExecutionId "TEST_VALUE" -Message "TEST_VALUE" + #$NewObject | Should -BeOfType CreateExternalExecuteWorkflow200Response + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CreateExternalExecuteWorkflowRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CreateExternalExecuteWorkflowRequest.Tests.ps1 new file mode 100644 index 000000000..a4e1f2252 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CreateExternalExecuteWorkflowRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CreateExternalExecuteWorkflowRequest' { + Context 'V2024CreateExternalExecuteWorkflowRequest' { + It 'Initialize-V2024CreateExternalExecuteWorkflowRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024CreateExternalExecuteWorkflowRequest -VarInput "TEST_VALUE" + #$NewObject | Should -BeOfType CreateExternalExecuteWorkflowRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CreateFormDefinitionFileRequestRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CreateFormDefinitionFileRequestRequest.Tests.ps1 new file mode 100644 index 000000000..b8711f6f2 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CreateFormDefinitionFileRequestRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CreateFormDefinitionFileRequestRequest' { + Context 'V2024CreateFormDefinitionFileRequestRequest' { + It 'Initialize-V2024CreateFormDefinitionFileRequestRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024CreateFormDefinitionFileRequestRequest -File "TEST_VALUE" + #$NewObject | Should -BeOfType CreateFormDefinitionFileRequestRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CreateFormDefinitionRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CreateFormDefinitionRequest.Tests.ps1 new file mode 100644 index 000000000..334e150b4 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CreateFormDefinitionRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CreateFormDefinitionRequest' { + Context 'V2024CreateFormDefinitionRequest' { + It 'Initialize-V2024CreateFormDefinitionRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024CreateFormDefinitionRequest -Description "TEST_VALUE" -FormConditions "TEST_VALUE" -FormElements "TEST_VALUE" -FormInput "TEST_VALUE" -Name "TEST_VALUE" -Owner "TEST_VALUE" -UsedBy "TEST_VALUE" + #$NewObject | Should -BeOfType CreateFormDefinitionRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CreateFormInstanceRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CreateFormInstanceRequest.Tests.ps1 new file mode 100644 index 000000000..83148d481 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CreateFormInstanceRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CreateFormInstanceRequest' { + Context 'V2024CreateFormInstanceRequest' { + It 'Initialize-V2024CreateFormInstanceRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024CreateFormInstanceRequest -CreatedBy "TEST_VALUE" -Expire "TEST_VALUE" -FormDefinitionId "TEST_VALUE" -FormInput "TEST_VALUE" -Recipients "TEST_VALUE" -StandAloneForm "TEST_VALUE" -State "TEST_VALUE" -Ttl "TEST_VALUE" + #$NewObject | Should -BeOfType CreateFormInstanceRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CreateOAuthClientRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CreateOAuthClientRequest.Tests.ps1 new file mode 100644 index 000000000..65863edd8 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CreateOAuthClientRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CreateOAuthClientRequest' { + Context 'V2024CreateOAuthClientRequest' { + It 'Initialize-V2024CreateOAuthClientRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024CreateOAuthClientRequest -BusinessName "TEST_VALUE" -HomepageUrl "TEST_VALUE" -Name "TEST_VALUE" -Description "TEST_VALUE" -AccessTokenValiditySeconds "TEST_VALUE" -RefreshTokenValiditySeconds "TEST_VALUE" -RedirectUris "TEST_VALUE" -GrantTypes "TEST_VALUE" -AccessType "TEST_VALUE" -Type "TEST_VALUE" -Internal "TEST_VALUE" -Enabled "TEST_VALUE" -StrongAuthSupported "TEST_VALUE" -ClaimsSupported "TEST_VALUE" -Scope "TEST_VALUE" + #$NewObject | Should -BeOfType CreateOAuthClientRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CreateOAuthClientResponse.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CreateOAuthClientResponse.Tests.ps1 new file mode 100644 index 000000000..36270e905 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CreateOAuthClientResponse.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CreateOAuthClientResponse' { + Context 'V2024CreateOAuthClientResponse' { + It 'Initialize-V2024CreateOAuthClientResponse' { + # a simple test to create an object + #$NewObject = Initialize-V2024CreateOAuthClientResponse -Id "TEST_VALUE" -Secret "TEST_VALUE" -BusinessName "TEST_VALUE" -HomepageUrl "TEST_VALUE" -Name "TEST_VALUE" -Description "TEST_VALUE" -AccessTokenValiditySeconds "TEST_VALUE" -RefreshTokenValiditySeconds "TEST_VALUE" -RedirectUris "TEST_VALUE" -GrantTypes "TEST_VALUE" -AccessType "TEST_VALUE" -Type "TEST_VALUE" -Internal "TEST_VALUE" -Enabled "TEST_VALUE" -StrongAuthSupported "TEST_VALUE" -ClaimsSupported "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" -Scope "TEST_VALUE" + #$NewObject | Should -BeOfType CreateOAuthClientResponse + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CreatePersonalAccessTokenRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CreatePersonalAccessTokenRequest.Tests.ps1 new file mode 100644 index 000000000..0803c293d --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CreatePersonalAccessTokenRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CreatePersonalAccessTokenRequest' { + Context 'V2024CreatePersonalAccessTokenRequest' { + It 'Initialize-V2024CreatePersonalAccessTokenRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024CreatePersonalAccessTokenRequest -Name "TEST_VALUE" -Scope "TEST_VALUE" + #$NewObject | Should -BeOfType CreatePersonalAccessTokenRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CreatePersonalAccessTokenResponse.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CreatePersonalAccessTokenResponse.Tests.ps1 new file mode 100644 index 000000000..2c61428ce --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CreatePersonalAccessTokenResponse.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CreatePersonalAccessTokenResponse' { + Context 'V2024CreatePersonalAccessTokenResponse' { + It 'Initialize-V2024CreatePersonalAccessTokenResponse' { + # a simple test to create an object + #$NewObject = Initialize-V2024CreatePersonalAccessTokenResponse -Id "TEST_VALUE" -Secret "TEST_VALUE" -Scope "TEST_VALUE" -Name "TEST_VALUE" -Owner "TEST_VALUE" -Created "TEST_VALUE" + #$NewObject | Should -BeOfType CreatePersonalAccessTokenResponse + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CreateSavedSearchRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CreateSavedSearchRequest.Tests.ps1 new file mode 100644 index 000000000..531b5c36e --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CreateSavedSearchRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CreateSavedSearchRequest' { + Context 'V2024CreateSavedSearchRequest' { + It 'Initialize-V2024CreateSavedSearchRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024CreateSavedSearchRequest -Name "TEST_VALUE" -Description "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" -Indices "TEST_VALUE" -Columns "TEST_VALUE" -Query "TEST_VALUE" -Fields "TEST_VALUE" -OrderBy "TEST_VALUE" -Sort "TEST_VALUE" -Filters "TEST_VALUE" + #$NewObject | Should -BeOfType CreateSavedSearchRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CreateScheduledSearchRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CreateScheduledSearchRequest.Tests.ps1 new file mode 100644 index 000000000..2def906a6 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CreateScheduledSearchRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CreateScheduledSearchRequest' { + Context 'V2024CreateScheduledSearchRequest' { + It 'Initialize-V2024CreateScheduledSearchRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024CreateScheduledSearchRequest -Name "TEST_VALUE" -Description "TEST_VALUE" -SavedSearchId "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" -Schedule "TEST_VALUE" -Recipients "TEST_VALUE" -Enabled "TEST_VALUE" -EmailEmptyResults "TEST_VALUE" -DisplayQueryDetails "TEST_VALUE" + #$NewObject | Should -BeOfType CreateScheduledSearchRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CreateWorkflowRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CreateWorkflowRequest.Tests.ps1 new file mode 100644 index 000000000..11ee7d79b --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CreateWorkflowRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CreateWorkflowRequest' { + Context 'V2024CreateWorkflowRequest' { + It 'Initialize-V2024CreateWorkflowRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024CreateWorkflowRequest -Name "TEST_VALUE" -Owner "TEST_VALUE" -Description "TEST_VALUE" -Definition "TEST_VALUE" -Enabled "TEST_VALUE" -Trigger "TEST_VALUE" + #$NewObject | Should -BeOfType CreateWorkflowRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CriteriaType.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CriteriaType.Tests.ps1 new file mode 100644 index 000000000..b8dc03df5 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CriteriaType.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CriteriaType' { + Context 'V2024CriteriaType' { + It 'Initialize-V2024CriteriaType' { + # a simple test to create an object + #$NewObject = Initialize-V2024CriteriaType + #$NewObject | Should -BeOfType CriteriaType + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/CustomPasswordInstruction.Tests.ps1 b/PSSailpoint/v2024/tests/Model/CustomPasswordInstruction.Tests.ps1 new file mode 100644 index 000000000..2cf1ec174 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/CustomPasswordInstruction.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024CustomPasswordInstruction' { + Context 'V2024CustomPasswordInstruction' { + It 'Initialize-V2024CustomPasswordInstruction' { + # a simple test to create an object + #$NewObject = Initialize-V2024CustomPasswordInstruction -PageId "TEST_VALUE" -PageContent "TEST_VALUE" -Locale "TEST_VALUE" + #$NewObject | Should -BeOfType CustomPasswordInstruction + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/DataAccess.Tests.ps1 b/PSSailpoint/v2024/tests/Model/DataAccess.Tests.ps1 new file mode 100644 index 000000000..e44961136 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/DataAccess.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024DataAccess' { + Context 'V2024DataAccess' { + It 'Initialize-V2024DataAccess' { + # a simple test to create an object + #$NewObject = Initialize-V2024DataAccess -Policies "TEST_VALUE" -Categories "TEST_VALUE" -ImpactScore "TEST_VALUE" + #$NewObject | Should -BeOfType DataAccess + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/DataAccessCategoriesInner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/DataAccessCategoriesInner.Tests.ps1 new file mode 100644 index 000000000..ffbe87128 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/DataAccessCategoriesInner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024DataAccessCategoriesInner' { + Context 'V2024DataAccessCategoriesInner' { + It 'Initialize-V2024DataAccessCategoriesInner' { + # a simple test to create an object + #$NewObject = Initialize-V2024DataAccessCategoriesInner -Value "TEST_VALUE" -MatchCount "TEST_VALUE" + #$NewObject | Should -BeOfType DataAccessCategoriesInner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/DataAccessImpactScore.Tests.ps1 b/PSSailpoint/v2024/tests/Model/DataAccessImpactScore.Tests.ps1 new file mode 100644 index 000000000..ef2383fe0 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/DataAccessImpactScore.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024DataAccessImpactScore' { + Context 'V2024DataAccessImpactScore' { + It 'Initialize-V2024DataAccessImpactScore' { + # a simple test to create an object + #$NewObject = Initialize-V2024DataAccessImpactScore -Value "TEST_VALUE" + #$NewObject | Should -BeOfType DataAccessImpactScore + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/DataAccessPoliciesInner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/DataAccessPoliciesInner.Tests.ps1 new file mode 100644 index 000000000..265ab3817 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/DataAccessPoliciesInner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024DataAccessPoliciesInner' { + Context 'V2024DataAccessPoliciesInner' { + It 'Initialize-V2024DataAccessPoliciesInner' { + # a simple test to create an object + #$NewObject = Initialize-V2024DataAccessPoliciesInner -Value "TEST_VALUE" + #$NewObject | Should -BeOfType DataAccessPoliciesInner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/DateCompare.Tests.ps1 b/PSSailpoint/v2024/tests/Model/DateCompare.Tests.ps1 new file mode 100644 index 000000000..21993aee8 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/DateCompare.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024DateCompare' { + Context 'V2024DateCompare' { + It 'Initialize-V2024DateCompare' { + # a simple test to create an object + #$NewObject = Initialize-V2024DateCompare -FirstDate "TEST_VALUE" -SecondDate "TEST_VALUE" -Operator "TEST_VALUE" -PositiveCondition "TEST_VALUE" -NegativeCondition "TEST_VALUE" -RequiresPeriodicRefresh "TEST_VALUE" -VarInput "TEST_VALUE" + #$NewObject | Should -BeOfType DateCompare + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/DateCompareFirstDate.Tests.ps1 b/PSSailpoint/v2024/tests/Model/DateCompareFirstDate.Tests.ps1 new file mode 100644 index 000000000..f12969c2b --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/DateCompareFirstDate.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024DateCompareFirstDate' { + Context 'V2024DateCompareFirstDate' { + It 'Initialize-V2024DateCompareFirstDate' { + # a simple test to create an object + #$NewObject = Initialize-V2024DateCompareFirstDate -SourceName "TEST_VALUE" -AttributeName "TEST_VALUE" -AccountSortAttribute "TEST_VALUE" -AccountSortDescending "TEST_VALUE" -AccountReturnFirstLink "TEST_VALUE" -AccountFilter "TEST_VALUE" -AccountPropertyFilter "TEST_VALUE" -RequiresPeriodicRefresh "TEST_VALUE" -VarInput "TEST_VALUE" -InputFormat "TEST_VALUE" -OutputFormat "TEST_VALUE" + #$NewObject | Should -BeOfType DateCompareFirstDate + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/DateCompareSecondDate.Tests.ps1 b/PSSailpoint/v2024/tests/Model/DateCompareSecondDate.Tests.ps1 new file mode 100644 index 000000000..7f2ae5f61 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/DateCompareSecondDate.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024DateCompareSecondDate' { + Context 'V2024DateCompareSecondDate' { + It 'Initialize-V2024DateCompareSecondDate' { + # a simple test to create an object + #$NewObject = Initialize-V2024DateCompareSecondDate -SourceName "TEST_VALUE" -AttributeName "TEST_VALUE" -AccountSortAttribute "TEST_VALUE" -AccountSortDescending "TEST_VALUE" -AccountReturnFirstLink "TEST_VALUE" -AccountFilter "TEST_VALUE" -AccountPropertyFilter "TEST_VALUE" -RequiresPeriodicRefresh "TEST_VALUE" -VarInput "TEST_VALUE" -InputFormat "TEST_VALUE" -OutputFormat "TEST_VALUE" + #$NewObject | Should -BeOfType DateCompareSecondDate + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/DateFormat.Tests.ps1 b/PSSailpoint/v2024/tests/Model/DateFormat.Tests.ps1 new file mode 100644 index 000000000..8cf2ca5a9 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/DateFormat.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024DateFormat' { + Context 'V2024DateFormat' { + It 'Initialize-V2024DateFormat' { + # a simple test to create an object + #$NewObject = Initialize-V2024DateFormat -InputFormat "TEST_VALUE" -OutputFormat "TEST_VALUE" -RequiresPeriodicRefresh "TEST_VALUE" -VarInput "TEST_VALUE" + #$NewObject | Should -BeOfType DateFormat + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/DateFormatInputFormat.Tests.ps1 b/PSSailpoint/v2024/tests/Model/DateFormatInputFormat.Tests.ps1 new file mode 100644 index 000000000..006efdb99 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/DateFormatInputFormat.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024DateFormatInputFormat' { + Context 'V2024DateFormatInputFormat' { + It 'Initialize-V2024DateFormatInputFormat' { + # a simple test to create an object + #$NewObject = Initialize-V2024DateFormatInputFormat + #$NewObject | Should -BeOfType DateFormatInputFormat + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/DateFormatOutputFormat.Tests.ps1 b/PSSailpoint/v2024/tests/Model/DateFormatOutputFormat.Tests.ps1 new file mode 100644 index 000000000..d6dcded39 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/DateFormatOutputFormat.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024DateFormatOutputFormat' { + Context 'V2024DateFormatOutputFormat' { + It 'Initialize-V2024DateFormatOutputFormat' { + # a simple test to create an object + #$NewObject = Initialize-V2024DateFormatOutputFormat + #$NewObject | Should -BeOfType DateFormatOutputFormat + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/DateMath.Tests.ps1 b/PSSailpoint/v2024/tests/Model/DateMath.Tests.ps1 new file mode 100644 index 000000000..dfe87530b --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/DateMath.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024DateMath' { + Context 'V2024DateMath' { + It 'Initialize-V2024DateMath' { + # a simple test to create an object + #$NewObject = Initialize-V2024DateMath -Expression "TEST_VALUE" -RoundUp "TEST_VALUE" -RequiresPeriodicRefresh "TEST_VALUE" -VarInput "TEST_VALUE" + #$NewObject | Should -BeOfType DateMath + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/DecomposeDiacriticalMarks.Tests.ps1 b/PSSailpoint/v2024/tests/Model/DecomposeDiacriticalMarks.Tests.ps1 new file mode 100644 index 000000000..b5e7e1d4b --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/DecomposeDiacriticalMarks.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024DecomposeDiacriticalMarks' { + Context 'V2024DecomposeDiacriticalMarks' { + It 'Initialize-V2024DecomposeDiacriticalMarks' { + # a simple test to create an object + #$NewObject = Initialize-V2024DecomposeDiacriticalMarks -RequiresPeriodicRefresh "TEST_VALUE" -VarInput "TEST_VALUE" + #$NewObject | Should -BeOfType DecomposeDiacriticalMarks + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/DeleteNonEmployeeRecordsInBulkRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/DeleteNonEmployeeRecordsInBulkRequest.Tests.ps1 new file mode 100644 index 000000000..3f40df20b --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/DeleteNonEmployeeRecordsInBulkRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024DeleteNonEmployeeRecordsInBulkRequest' { + Context 'V2024DeleteNonEmployeeRecordsInBulkRequest' { + It 'Initialize-V2024DeleteNonEmployeeRecordsInBulkRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024DeleteNonEmployeeRecordsInBulkRequest -Ids "TEST_VALUE" + #$NewObject | Should -BeOfType DeleteNonEmployeeRecordsInBulkRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/DeleteSource202Response.Tests.ps1 b/PSSailpoint/v2024/tests/Model/DeleteSource202Response.Tests.ps1 new file mode 100644 index 000000000..7cd13260a --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/DeleteSource202Response.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024DeleteSource202Response' { + Context 'V2024DeleteSource202Response' { + It 'Initialize-V2024DeleteSource202Response' { + # a simple test to create an object + #$NewObject = Initialize-V2024DeleteSource202Response -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType DeleteSource202Response + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/DeleteVendorConnectorMapping200Response.Tests.ps1 b/PSSailpoint/v2024/tests/Model/DeleteVendorConnectorMapping200Response.Tests.ps1 new file mode 100644 index 000000000..247309a65 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/DeleteVendorConnectorMapping200Response.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024DeleteVendorConnectorMapping200Response' { + Context 'V2024DeleteVendorConnectorMapping200Response' { + It 'Initialize-V2024DeleteVendorConnectorMapping200Response' { + # a simple test to create an object + #$NewObject = Initialize-V2024DeleteVendorConnectorMapping200Response -Count "TEST_VALUE" + #$NewObject | Should -BeOfType DeleteVendorConnectorMapping200Response + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/DiscoveredApplicationsInner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/DiscoveredApplicationsInner.Tests.ps1 new file mode 100644 index 000000000..4a3ee354c --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/DiscoveredApplicationsInner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024DiscoveredApplicationsInner' { + Context 'V2024DiscoveredApplicationsInner' { + It 'Initialize-V2024DiscoveredApplicationsInner' { + # a simple test to create an object + #$NewObject = Initialize-V2024DiscoveredApplicationsInner -Id "TEST_VALUE" -Name "TEST_VALUE" -DiscoverySource "TEST_VALUE" -DiscoveredVendor "TEST_VALUE" -Description "TEST_VALUE" -RecommendedConnectors "TEST_VALUE" -DiscoveredTimestamp "TEST_VALUE" + #$NewObject | Should -BeOfType DiscoveredApplicationsInner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/DisplayReference.Tests.ps1 b/PSSailpoint/v2024/tests/Model/DisplayReference.Tests.ps1 new file mode 100644 index 000000000..91907bf47 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/DisplayReference.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024DisplayReference' { + Context 'V2024DisplayReference' { + It 'Initialize-V2024DisplayReference' { + # a simple test to create an object + #$NewObject = Initialize-V2024DisplayReference -Id "TEST_VALUE" -Name "TEST_VALUE" -DisplayName "TEST_VALUE" + #$NewObject | Should -BeOfType DisplayReference + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/DkimAttributes.Tests.ps1 b/PSSailpoint/v2024/tests/Model/DkimAttributes.Tests.ps1 new file mode 100644 index 000000000..683e110c9 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/DkimAttributes.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024DkimAttributes' { + Context 'V2024DkimAttributes' { + It 'Initialize-V2024DkimAttributes' { + # a simple test to create an object + #$NewObject = Initialize-V2024DkimAttributes -Id "TEST_VALUE" -Address "TEST_VALUE" -DkimEnabled "TEST_VALUE" -DkimTokens "TEST_VALUE" -DkimVerificationStatus "TEST_VALUE" + #$NewObject | Should -BeOfType DkimAttributes + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/DocumentType.Tests.ps1 b/PSSailpoint/v2024/tests/Model/DocumentType.Tests.ps1 new file mode 100644 index 000000000..87bb38058 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/DocumentType.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024DocumentType' { + Context 'V2024DocumentType' { + It 'Initialize-V2024DocumentType' { + # a simple test to create an object + #$NewObject = Initialize-V2024DocumentType + #$NewObject | Should -BeOfType DocumentType + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/DomainAddress.Tests.ps1 b/PSSailpoint/v2024/tests/Model/DomainAddress.Tests.ps1 new file mode 100644 index 000000000..6db811ffd --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/DomainAddress.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024DomainAddress' { + Context 'V2024DomainAddress' { + It 'Initialize-V2024DomainAddress' { + # a simple test to create an object + #$NewObject = Initialize-V2024DomainAddress -Domain "TEST_VALUE" + #$NewObject | Should -BeOfType DomainAddress + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/DomainStatusDto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/DomainStatusDto.Tests.ps1 new file mode 100644 index 000000000..44ca594d4 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/DomainStatusDto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024DomainStatusDto' { + Context 'V2024DomainStatusDto' { + It 'Initialize-V2024DomainStatusDto' { + # a simple test to create an object + #$NewObject = Initialize-V2024DomainStatusDto -Id "TEST_VALUE" -Domain "TEST_VALUE" -DkimEnabled "TEST_VALUE" -DkimTokens "TEST_VALUE" -DkimVerificationStatus "TEST_VALUE" + #$NewObject | Should -BeOfType DomainStatusDto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/DtoType.Tests.ps1 b/PSSailpoint/v2024/tests/Model/DtoType.Tests.ps1 new file mode 100644 index 000000000..010262cbc --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/DtoType.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024DtoType' { + Context 'V2024DtoType' { + It 'Initialize-V2024DtoType' { + # a simple test to create an object + #$NewObject = Initialize-V2024DtoType + #$NewObject | Should -BeOfType DtoType + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/E164phone.Tests.ps1 b/PSSailpoint/v2024/tests/Model/E164phone.Tests.ps1 new file mode 100644 index 000000000..8bacb7d07 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/E164phone.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024E164phone' { + Context 'V2024E164phone' { + It 'Initialize-V2024E164phone' { + # a simple test to create an object + #$NewObject = Initialize-V2024E164phone -DefaultRegion "TEST_VALUE" -RequiresPeriodicRefresh "TEST_VALUE" -VarInput "TEST_VALUE" + #$NewObject | Should -BeOfType E164phone + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/EmailNotificationOption.Tests.ps1 b/PSSailpoint/v2024/tests/Model/EmailNotificationOption.Tests.ps1 new file mode 100644 index 000000000..f9c713995 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/EmailNotificationOption.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024EmailNotificationOption' { + Context 'V2024EmailNotificationOption' { + It 'Initialize-V2024EmailNotificationOption' { + # a simple test to create an object + #$NewObject = Initialize-V2024EmailNotificationOption -NotifyManagers "TEST_VALUE" -NotifyAllAdmins "TEST_VALUE" -NotifySpecificUsers "TEST_VALUE" -EmailAddressList "TEST_VALUE" + #$NewObject | Should -BeOfType EmailNotificationOption + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/EmailStatusDto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/EmailStatusDto.Tests.ps1 new file mode 100644 index 000000000..76f8276fa --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/EmailStatusDto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024EmailStatusDto' { + Context 'V2024EmailStatusDto' { + It 'Initialize-V2024EmailStatusDto' { + # a simple test to create an object + #$NewObject = Initialize-V2024EmailStatusDto -Id "TEST_VALUE" -Email "TEST_VALUE" -IsVerifiedByDomain "TEST_VALUE" -VerificationStatus "TEST_VALUE" + #$NewObject | Should -BeOfType EmailStatusDto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Entitlement.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Entitlement.Tests.ps1 new file mode 100644 index 000000000..875affca3 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Entitlement.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Entitlement' { + Context 'V2024Entitlement' { + It 'Initialize-V2024Entitlement' { + # a simple test to create an object + #$NewObject = Initialize-V2024Entitlement -Id "TEST_VALUE" -Name "TEST_VALUE" -Attribute "TEST_VALUE" -Value "TEST_VALUE" -SourceSchemaObjectType "TEST_VALUE" -Description "TEST_VALUE" -Privileged "TEST_VALUE" -CloudGoverned "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" -Source "TEST_VALUE" -Attributes "TEST_VALUE" -Segments "TEST_VALUE" -DirectPermissions "TEST_VALUE" + #$NewObject | Should -BeOfType Entitlement + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Entitlement1.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Entitlement1.Tests.ps1 new file mode 100644 index 000000000..0f2d4368a --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Entitlement1.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Entitlement1' { + Context 'V2024Entitlement1' { + It 'Initialize-V2024Entitlement1' { + # a simple test to create an object + #$NewObject = Initialize-V2024Entitlement1 -Id "TEST_VALUE" -Name "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" -Attribute "TEST_VALUE" -Value "TEST_VALUE" -SourceSchemaObjectType "TEST_VALUE" -Privileged "TEST_VALUE" -CloudGoverned "TEST_VALUE" -Description "TEST_VALUE" -Requestable "TEST_VALUE" -Attributes "TEST_VALUE" -Source "TEST_VALUE" -Owner "TEST_VALUE" -DirectPermissions "TEST_VALUE" -Segments "TEST_VALUE" -ManuallyUpdatedFields "TEST_VALUE" -AccessModelMetadata "TEST_VALUE" + #$NewObject | Should -BeOfType Entitlement1 + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Entitlement1AccessModelMetadata.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Entitlement1AccessModelMetadata.Tests.ps1 new file mode 100644 index 000000000..8d973d0d1 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Entitlement1AccessModelMetadata.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Entitlement1AccessModelMetadata' { + Context 'V2024Entitlement1AccessModelMetadata' { + It 'Initialize-V2024Entitlement1AccessModelMetadata' { + # a simple test to create an object + #$NewObject = Initialize-V2024Entitlement1AccessModelMetadata -Attributes "TEST_VALUE" + #$NewObject | Should -BeOfType Entitlement1AccessModelMetadata + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Entitlement1ManuallyUpdatedFields.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Entitlement1ManuallyUpdatedFields.Tests.ps1 new file mode 100644 index 000000000..01bfdbb1d --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Entitlement1ManuallyUpdatedFields.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Entitlement1ManuallyUpdatedFields' { + Context 'V2024Entitlement1ManuallyUpdatedFields' { + It 'Initialize-V2024Entitlement1ManuallyUpdatedFields' { + # a simple test to create an object + #$NewObject = Initialize-V2024Entitlement1ManuallyUpdatedFields -DISPLAYNAME "TEST_VALUE" -DESCRIPTION "TEST_VALUE" + #$NewObject | Should -BeOfType Entitlement1ManuallyUpdatedFields + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Entitlement1Owner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Entitlement1Owner.Tests.ps1 new file mode 100644 index 000000000..bc13855ad --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Entitlement1Owner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Entitlement1Owner' { + Context 'V2024Entitlement1Owner' { + It 'Initialize-V2024Entitlement1Owner' { + # a simple test to create an object + #$NewObject = Initialize-V2024Entitlement1Owner -Id "TEST_VALUE" -Name "TEST_VALUE" -Type "TEST_VALUE" + #$NewObject | Should -BeOfType Entitlement1Owner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Entitlement1Source.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Entitlement1Source.Tests.ps1 new file mode 100644 index 000000000..d69a95e44 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Entitlement1Source.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Entitlement1Source' { + Context 'V2024Entitlement1Source' { + It 'Initialize-V2024Entitlement1Source' { + # a simple test to create an object + #$NewObject = Initialize-V2024Entitlement1Source -Id "TEST_VALUE" -Type "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType Entitlement1Source + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/EntitlementAccessRequestConfig.Tests.ps1 b/PSSailpoint/v2024/tests/Model/EntitlementAccessRequestConfig.Tests.ps1 new file mode 100644 index 000000000..633a0d708 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/EntitlementAccessRequestConfig.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024EntitlementAccessRequestConfig' { + Context 'V2024EntitlementAccessRequestConfig' { + It 'Initialize-V2024EntitlementAccessRequestConfig' { + # a simple test to create an object + #$NewObject = Initialize-V2024EntitlementAccessRequestConfig -ApprovalSchemes "TEST_VALUE" -RequestCommentRequired "TEST_VALUE" -DenialCommentRequired "TEST_VALUE" + #$NewObject | Should -BeOfType EntitlementAccessRequestConfig + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/EntitlementApprovalScheme.Tests.ps1 b/PSSailpoint/v2024/tests/Model/EntitlementApprovalScheme.Tests.ps1 new file mode 100644 index 000000000..02a99418b --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/EntitlementApprovalScheme.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024EntitlementApprovalScheme' { + Context 'V2024EntitlementApprovalScheme' { + It 'Initialize-V2024EntitlementApprovalScheme' { + # a simple test to create an object + #$NewObject = Initialize-V2024EntitlementApprovalScheme -ApproverType "TEST_VALUE" -ApproverId "TEST_VALUE" + #$NewObject | Should -BeOfType EntitlementApprovalScheme + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/EntitlementBulkUpdateRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/EntitlementBulkUpdateRequest.Tests.ps1 new file mode 100644 index 000000000..d971e418e --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/EntitlementBulkUpdateRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024EntitlementBulkUpdateRequest' { + Context 'V2024EntitlementBulkUpdateRequest' { + It 'Initialize-V2024EntitlementBulkUpdateRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024EntitlementBulkUpdateRequest -EntitlementIds "TEST_VALUE" -JsonPatch "TEST_VALUE" + #$NewObject | Should -BeOfType EntitlementBulkUpdateRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/EntitlementDocument.Tests.ps1 b/PSSailpoint/v2024/tests/Model/EntitlementDocument.Tests.ps1 new file mode 100644 index 000000000..fdb5f5e58 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/EntitlementDocument.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024EntitlementDocument' { + Context 'V2024EntitlementDocument' { + It 'Initialize-V2024EntitlementDocument' { + # a simple test to create an object + #$NewObject = Initialize-V2024EntitlementDocument -Id "TEST_VALUE" -Name "TEST_VALUE" -Type "TEST_VALUE" -Modified "TEST_VALUE" -Synced "TEST_VALUE" -DisplayName "TEST_VALUE" -Source "TEST_VALUE" -Segments "TEST_VALUE" -SegmentCount "TEST_VALUE" -Requestable "TEST_VALUE" -CloudGoverned "TEST_VALUE" -Created "TEST_VALUE" -Privileged "TEST_VALUE" -IdentityCount "TEST_VALUE" -Tags "TEST_VALUE" + #$NewObject | Should -BeOfType EntitlementDocument + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/EntitlementDocumentAllOfSource.Tests.ps1 b/PSSailpoint/v2024/tests/Model/EntitlementDocumentAllOfSource.Tests.ps1 new file mode 100644 index 000000000..df6d7b259 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/EntitlementDocumentAllOfSource.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024EntitlementDocumentAllOfSource' { + Context 'V2024EntitlementDocumentAllOfSource' { + It 'Initialize-V2024EntitlementDocumentAllOfSource' { + # a simple test to create an object + #$NewObject = Initialize-V2024EntitlementDocumentAllOfSource -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType EntitlementDocumentAllOfSource + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/EntitlementDto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/EntitlementDto.Tests.ps1 new file mode 100644 index 000000000..5bbe779c2 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/EntitlementDto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024EntitlementDto' { + Context 'V2024EntitlementDto' { + It 'Initialize-V2024EntitlementDto' { + # a simple test to create an object + #$NewObject = Initialize-V2024EntitlementDto -Id "TEST_VALUE" -Name "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" -Attribute "TEST_VALUE" -Value "TEST_VALUE" -Description "TEST_VALUE" -Attributes "TEST_VALUE" -SourceSchemaObjectType "TEST_VALUE" -Privileged "TEST_VALUE" -CloudGoverned "TEST_VALUE" -Source "TEST_VALUE" + #$NewObject | Should -BeOfType EntitlementDto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/EntitlementRef.Tests.ps1 b/PSSailpoint/v2024/tests/Model/EntitlementRef.Tests.ps1 new file mode 100644 index 000000000..06f3940fa --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/EntitlementRef.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024EntitlementRef' { + Context 'V2024EntitlementRef' { + It 'Initialize-V2024EntitlementRef' { + # a simple test to create an object + #$NewObject = Initialize-V2024EntitlementRef -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType EntitlementRef + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/EntitlementRef1.Tests.ps1 b/PSSailpoint/v2024/tests/Model/EntitlementRef1.Tests.ps1 new file mode 100644 index 000000000..78f9be0c2 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/EntitlementRef1.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024EntitlementRef1' { + Context 'V2024EntitlementRef1' { + It 'Initialize-V2024EntitlementRef1' { + # a simple test to create an object + #$NewObject = Initialize-V2024EntitlementRef1 -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType EntitlementRef1 + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/EntitlementRequestConfig.Tests.ps1 b/PSSailpoint/v2024/tests/Model/EntitlementRequestConfig.Tests.ps1 new file mode 100644 index 000000000..5771641dd --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/EntitlementRequestConfig.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024EntitlementRequestConfig' { + Context 'V2024EntitlementRequestConfig' { + It 'Initialize-V2024EntitlementRequestConfig' { + # a simple test to create an object + #$NewObject = Initialize-V2024EntitlementRequestConfig -AccessRequestConfig "TEST_VALUE" + #$NewObject | Should -BeOfType EntitlementRequestConfig + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/EntitlementRequestConfig1.Tests.ps1 b/PSSailpoint/v2024/tests/Model/EntitlementRequestConfig1.Tests.ps1 new file mode 100644 index 000000000..739452362 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/EntitlementRequestConfig1.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024EntitlementRequestConfig1' { + Context 'V2024EntitlementRequestConfig1' { + It 'Initialize-V2024EntitlementRequestConfig1' { + # a simple test to create an object + #$NewObject = Initialize-V2024EntitlementRequestConfig1 -AllowEntitlementRequest "TEST_VALUE" -RequestCommentsRequired "TEST_VALUE" -DeniedCommentsRequired "TEST_VALUE" -GrantRequestApprovalSchemes "TEST_VALUE" + #$NewObject | Should -BeOfType EntitlementRequestConfig1 + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/EntitlementSource.Tests.ps1 b/PSSailpoint/v2024/tests/Model/EntitlementSource.Tests.ps1 new file mode 100644 index 000000000..a36287014 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/EntitlementSource.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024EntitlementSource' { + Context 'V2024EntitlementSource' { + It 'Initialize-V2024EntitlementSource' { + # a simple test to create an object + #$NewObject = Initialize-V2024EntitlementSource -Id "TEST_VALUE" -Type "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType EntitlementSource + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/EntitlementSourceResetBaseReferenceDto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/EntitlementSourceResetBaseReferenceDto.Tests.ps1 new file mode 100644 index 000000000..1fbb69cec --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/EntitlementSourceResetBaseReferenceDto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024EntitlementSourceResetBaseReferenceDto' { + Context 'V2024EntitlementSourceResetBaseReferenceDto' { + It 'Initialize-V2024EntitlementSourceResetBaseReferenceDto' { + # a simple test to create an object + #$NewObject = Initialize-V2024EntitlementSourceResetBaseReferenceDto -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType EntitlementSourceResetBaseReferenceDto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/EntitlementSummary.Tests.ps1 b/PSSailpoint/v2024/tests/Model/EntitlementSummary.Tests.ps1 new file mode 100644 index 000000000..8902bf1ee --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/EntitlementSummary.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024EntitlementSummary' { + Context 'V2024EntitlementSummary' { + It 'Initialize-V2024EntitlementSummary' { + # a simple test to create an object + #$NewObject = Initialize-V2024EntitlementSummary -Id "TEST_VALUE" -Name "TEST_VALUE" -DisplayName "TEST_VALUE" -Type "TEST_VALUE" -Description "TEST_VALUE" -Source "TEST_VALUE" -Privileged "TEST_VALUE" -Attribute "TEST_VALUE" -Value "TEST_VALUE" -Standalone "TEST_VALUE" + #$NewObject | Should -BeOfType EntitlementSummary + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/EntityCreatedByDTO.Tests.ps1 b/PSSailpoint/v2024/tests/Model/EntityCreatedByDTO.Tests.ps1 new file mode 100644 index 000000000..3b4ce4a39 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/EntityCreatedByDTO.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024EntityCreatedByDTO' { + Context 'V2024EntityCreatedByDTO' { + It 'Initialize-V2024EntityCreatedByDTO' { + # a simple test to create an object + #$NewObject = Initialize-V2024EntityCreatedByDTO -Id "TEST_VALUE" -DisplayName "TEST_VALUE" + #$NewObject | Should -BeOfType EntityCreatedByDTO + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ErrorMessage.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ErrorMessage.Tests.ps1 new file mode 100644 index 000000000..4136f5b59 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ErrorMessage.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ErrorMessage' { + Context 'V2024ErrorMessage' { + It 'Initialize-V2024ErrorMessage' { + # a simple test to create an object + #$NewObject = Initialize-V2024ErrorMessage -Locale "TEST_VALUE" -LocaleOrigin "TEST_VALUE" -Text "TEST_VALUE" + #$NewObject | Should -BeOfType ErrorMessage + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ErrorMessageDto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ErrorMessageDto.Tests.ps1 new file mode 100644 index 000000000..25d6ecaac --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ErrorMessageDto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ErrorMessageDto' { + Context 'V2024ErrorMessageDto' { + It 'Initialize-V2024ErrorMessageDto' { + # a simple test to create an object + #$NewObject = Initialize-V2024ErrorMessageDto -Locale "TEST_VALUE" -LocaleOrigin "TEST_VALUE" -Text "TEST_VALUE" + #$NewObject | Should -BeOfType ErrorMessageDto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ErrorResponseDto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ErrorResponseDto.Tests.ps1 new file mode 100644 index 000000000..0ff132caa --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ErrorResponseDto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ErrorResponseDto' { + Context 'V2024ErrorResponseDto' { + It 'Initialize-V2024ErrorResponseDto' { + # a simple test to create an object + #$NewObject = Initialize-V2024ErrorResponseDto -DetailCode "TEST_VALUE" -TrackingId "TEST_VALUE" -Messages "TEST_VALUE" -Causes "TEST_VALUE" + #$NewObject | Should -BeOfType ErrorResponseDto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/EvaluateResponse.Tests.ps1 b/PSSailpoint/v2024/tests/Model/EvaluateResponse.Tests.ps1 new file mode 100644 index 000000000..6eee3bcf2 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/EvaluateResponse.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024EvaluateResponse' { + Context 'V2024EvaluateResponse' { + It 'Initialize-V2024EvaluateResponse' { + # a simple test to create an object + #$NewObject = Initialize-V2024EvaluateResponse -ReassignToId "TEST_VALUE" -LookupTrail "TEST_VALUE" + #$NewObject | Should -BeOfType EvaluateResponse + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/EventAttributes.Tests.ps1 b/PSSailpoint/v2024/tests/Model/EventAttributes.Tests.ps1 new file mode 100644 index 000000000..a11525ed7 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/EventAttributes.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024EventAttributes' { + Context 'V2024EventAttributes' { + It 'Initialize-V2024EventAttributes' { + # a simple test to create an object + #$NewObject = Initialize-V2024EventAttributes -Id "TEST_VALUE" -VarFilter "TEST_VALUE" -Description "TEST_VALUE" + #$NewObject | Should -BeOfType EventAttributes + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/EventBridgeConfig.Tests.ps1 b/PSSailpoint/v2024/tests/Model/EventBridgeConfig.Tests.ps1 new file mode 100644 index 000000000..5cd3c3175 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/EventBridgeConfig.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024EventBridgeConfig' { + Context 'V2024EventBridgeConfig' { + It 'Initialize-V2024EventBridgeConfig' { + # a simple test to create an object + #$NewObject = Initialize-V2024EventBridgeConfig -AwsAccount "TEST_VALUE" -AwsRegion "TEST_VALUE" + #$NewObject | Should -BeOfType EventBridgeConfig + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/EventDocument.Tests.ps1 b/PSSailpoint/v2024/tests/Model/EventDocument.Tests.ps1 new file mode 100644 index 000000000..5d0bcb78e --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/EventDocument.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024EventDocument' { + Context 'V2024EventDocument' { + It 'Initialize-V2024EventDocument' { + # a simple test to create an object + #$NewObject = Initialize-V2024EventDocument -Id "TEST_VALUE" -Name "TEST_VALUE" -Type "TEST_VALUE" -Created "TEST_VALUE" -Synced "TEST_VALUE" -Action "TEST_VALUE" -Type "TEST_VALUE" -Actor "TEST_VALUE" -Target "TEST_VALUE" -Stack "TEST_VALUE" -TrackingNumber "TEST_VALUE" -IpAddress "TEST_VALUE" -Details "TEST_VALUE" -Attributes "TEST_VALUE" -Objects "TEST_VALUE" -Operation "TEST_VALUE" -Status "TEST_VALUE" -TechnicalName "TEST_VALUE" + #$NewObject | Should -BeOfType EventDocument + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ExceptionAccessCriteria.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ExceptionAccessCriteria.Tests.ps1 new file mode 100644 index 000000000..92162e11d --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ExceptionAccessCriteria.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ExceptionAccessCriteria' { + Context 'V2024ExceptionAccessCriteria' { + It 'Initialize-V2024ExceptionAccessCriteria' { + # a simple test to create an object + #$NewObject = Initialize-V2024ExceptionAccessCriteria -LeftCriteria "TEST_VALUE" -RightCriteria "TEST_VALUE" + #$NewObject | Should -BeOfType ExceptionAccessCriteria + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ExceptionCriteria.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ExceptionCriteria.Tests.ps1 new file mode 100644 index 000000000..08014ac72 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ExceptionCriteria.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ExceptionCriteria' { + Context 'V2024ExceptionCriteria' { + It 'Initialize-V2024ExceptionCriteria' { + # a simple test to create an object + #$NewObject = Initialize-V2024ExceptionCriteria -CriteriaList "TEST_VALUE" + #$NewObject | Should -BeOfType ExceptionCriteria + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ExceptionCriteriaAccess.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ExceptionCriteriaAccess.Tests.ps1 new file mode 100644 index 000000000..d530adc4e --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ExceptionCriteriaAccess.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ExceptionCriteriaAccess' { + Context 'V2024ExceptionCriteriaAccess' { + It 'Initialize-V2024ExceptionCriteriaAccess' { + # a simple test to create an object + #$NewObject = Initialize-V2024ExceptionCriteriaAccess -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" -Existing "TEST_VALUE" + #$NewObject | Should -BeOfType ExceptionCriteriaAccess + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ExceptionCriteriaCriteriaListInner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ExceptionCriteriaCriteriaListInner.Tests.ps1 new file mode 100644 index 000000000..c8ec3d537 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ExceptionCriteriaCriteriaListInner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ExceptionCriteriaCriteriaListInner' { + Context 'V2024ExceptionCriteriaCriteriaListInner' { + It 'Initialize-V2024ExceptionCriteriaCriteriaListInner' { + # a simple test to create an object + #$NewObject = Initialize-V2024ExceptionCriteriaCriteriaListInner -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" -Existing "TEST_VALUE" + #$NewObject | Should -BeOfType ExceptionCriteriaCriteriaListInner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ExecutionStatus.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ExecutionStatus.Tests.ps1 new file mode 100644 index 000000000..36740efad --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ExecutionStatus.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ExecutionStatus' { + Context 'V2024ExecutionStatus' { + It 'Initialize-V2024ExecutionStatus' { + # a simple test to create an object + #$NewObject = Initialize-V2024ExecutionStatus + #$NewObject | Should -BeOfType ExecutionStatus + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ExpansionItem.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ExpansionItem.Tests.ps1 new file mode 100644 index 000000000..f08d69105 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ExpansionItem.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ExpansionItem' { + Context 'V2024ExpansionItem' { + It 'Initialize-V2024ExpansionItem' { + # a simple test to create an object + #$NewObject = Initialize-V2024ExpansionItem -AccountId "TEST_VALUE" -Cause "TEST_VALUE" -Name "TEST_VALUE" -AttributeRequests "TEST_VALUE" -Source "TEST_VALUE" + #$NewObject | Should -BeOfType ExpansionItem + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ExportFormDefinitionsByTenant200ResponseInner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ExportFormDefinitionsByTenant200ResponseInner.Tests.ps1 new file mode 100644 index 000000000..60f608c96 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ExportFormDefinitionsByTenant200ResponseInner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ExportFormDefinitionsByTenant200ResponseInner' { + Context 'V2024ExportFormDefinitionsByTenant200ResponseInner' { + It 'Initialize-V2024ExportFormDefinitionsByTenant200ResponseInner' { + # a simple test to create an object + #$NewObject = Initialize-V2024ExportFormDefinitionsByTenant200ResponseInner -Object "TEST_VALUE" -Self "TEST_VALUE" -Version "TEST_VALUE" + #$NewObject | Should -BeOfType ExportFormDefinitionsByTenant200ResponseInner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ExportOptions.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ExportOptions.Tests.ps1 new file mode 100644 index 000000000..67c78095d --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ExportOptions.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ExportOptions' { + Context 'V2024ExportOptions' { + It 'Initialize-V2024ExportOptions' { + # a simple test to create an object + #$NewObject = Initialize-V2024ExportOptions -ExcludeTypes "TEST_VALUE" -IncludeTypes "TEST_VALUE" -ObjectOptions "TEST_VALUE" + #$NewObject | Should -BeOfType ExportOptions + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ExportPayload.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ExportPayload.Tests.ps1 new file mode 100644 index 000000000..78e0f07fc --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ExportPayload.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ExportPayload' { + Context 'V2024ExportPayload' { + It 'Initialize-V2024ExportPayload' { + # a simple test to create an object + #$NewObject = Initialize-V2024ExportPayload -Description "TEST_VALUE" -ExcludeTypes "TEST_VALUE" -IncludeTypes "TEST_VALUE" -ObjectOptions "TEST_VALUE" + #$NewObject | Should -BeOfType ExportPayload + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Expression.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Expression.Tests.ps1 new file mode 100644 index 000000000..4e5040a1a --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Expression.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Expression' { + Context 'V2024Expression' { + It 'Initialize-V2024Expression' { + # a simple test to create an object + #$NewObject = Initialize-V2024Expression -Operator "TEST_VALUE" -Attribute "TEST_VALUE" -Value "TEST_VALUE" -Children "TEST_VALUE" + #$NewObject | Should -BeOfType Expression + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ExpressionChildrenInner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ExpressionChildrenInner.Tests.ps1 new file mode 100644 index 000000000..d98a36c8d --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ExpressionChildrenInner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ExpressionChildrenInner' { + Context 'V2024ExpressionChildrenInner' { + It 'Initialize-V2024ExpressionChildrenInner' { + # a simple test to create an object + #$NewObject = Initialize-V2024ExpressionChildrenInner -Operator "TEST_VALUE" -Attribute "TEST_VALUE" -Value "TEST_VALUE" -Children "TEST_VALUE" + #$NewObject | Should -BeOfType ExpressionChildrenInner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ExternalAttributes.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ExternalAttributes.Tests.ps1 new file mode 100644 index 000000000..22fff51c2 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ExternalAttributes.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ExternalAttributes' { + Context 'V2024ExternalAttributes' { + It 'Initialize-V2024ExternalAttributes' { + # a simple test to create an object + #$NewObject = Initialize-V2024ExternalAttributes -Name "TEST_VALUE" -Description "TEST_VALUE" -ClientId "TEST_VALUE" -Url "TEST_VALUE" + #$NewObject | Should -BeOfType ExternalAttributes + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/FeatureValueDto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/FeatureValueDto.Tests.ps1 new file mode 100644 index 000000000..52a0473e3 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/FeatureValueDto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024FeatureValueDto' { + Context 'V2024FeatureValueDto' { + It 'Initialize-V2024FeatureValueDto' { + # a simple test to create an object + #$NewObject = Initialize-V2024FeatureValueDto -Feature "TEST_VALUE" -Numerator "TEST_VALUE" -Denominator "TEST_VALUE" + #$NewObject | Should -BeOfType FeatureValueDto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/FieldDetailsDto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/FieldDetailsDto.Tests.ps1 new file mode 100644 index 000000000..fed963b25 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/FieldDetailsDto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024FieldDetailsDto' { + Context 'V2024FieldDetailsDto' { + It 'Initialize-V2024FieldDetailsDto' { + # a simple test to create an object + #$NewObject = Initialize-V2024FieldDetailsDto -Name "TEST_VALUE" -Transform "TEST_VALUE" -Attributes "TEST_VALUE" -IsRequired "TEST_VALUE" -Type "TEST_VALUE" -IsMultiValued "TEST_VALUE" + #$NewObject | Should -BeOfType FieldDetailsDto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/FilterAggregation.Tests.ps1 b/PSSailpoint/v2024/tests/Model/FilterAggregation.Tests.ps1 new file mode 100644 index 000000000..0c8367f40 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/FilterAggregation.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024FilterAggregation' { + Context 'V2024FilterAggregation' { + It 'Initialize-V2024FilterAggregation' { + # a simple test to create an object + #$NewObject = Initialize-V2024FilterAggregation -Name "TEST_VALUE" -Type "TEST_VALUE" -Field "TEST_VALUE" -Value "TEST_VALUE" + #$NewObject | Should -BeOfType FilterAggregation + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/FilterType.Tests.ps1 b/PSSailpoint/v2024/tests/Model/FilterType.Tests.ps1 new file mode 100644 index 000000000..0a0cb24ea --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/FilterType.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024FilterType' { + Context 'V2024FilterType' { + It 'Initialize-V2024FilterType' { + # a simple test to create an object + #$NewObject = Initialize-V2024FilterType + #$NewObject | Should -BeOfType FilterType + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/FirstValid.Tests.ps1 b/PSSailpoint/v2024/tests/Model/FirstValid.Tests.ps1 new file mode 100644 index 000000000..e8e04720c --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/FirstValid.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024FirstValid' { + Context 'V2024FirstValid' { + It 'Initialize-V2024FirstValid' { + # a simple test to create an object + #$NewObject = Initialize-V2024FirstValid -Values "TEST_VALUE" -IgnoreErrors "TEST_VALUE" -RequiresPeriodicRefresh "TEST_VALUE" + #$NewObject | Should -BeOfType FirstValid + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/FormCondition.Tests.ps1 b/PSSailpoint/v2024/tests/Model/FormCondition.Tests.ps1 new file mode 100644 index 000000000..7fcf1c4f5 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/FormCondition.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024FormCondition' { + Context 'V2024FormCondition' { + It 'Initialize-V2024FormCondition' { + # a simple test to create an object + #$NewObject = Initialize-V2024FormCondition -RuleOperator "TEST_VALUE" -Rules "TEST_VALUE" -Effects "TEST_VALUE" + #$NewObject | Should -BeOfType FormCondition + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/FormDefinitionDynamicSchemaRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/FormDefinitionDynamicSchemaRequest.Tests.ps1 new file mode 100644 index 000000000..38e09824c --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/FormDefinitionDynamicSchemaRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024FormDefinitionDynamicSchemaRequest' { + Context 'V2024FormDefinitionDynamicSchemaRequest' { + It 'Initialize-V2024FormDefinitionDynamicSchemaRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024FormDefinitionDynamicSchemaRequest -Attributes "TEST_VALUE" -Description "TEST_VALUE" -Id "TEST_VALUE" -Type "TEST_VALUE" -VersionNumber "TEST_VALUE" + #$NewObject | Should -BeOfType FormDefinitionDynamicSchemaRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/FormDefinitionDynamicSchemaRequestAttributes.Tests.ps1 b/PSSailpoint/v2024/tests/Model/FormDefinitionDynamicSchemaRequestAttributes.Tests.ps1 new file mode 100644 index 000000000..08979f8d0 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/FormDefinitionDynamicSchemaRequestAttributes.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024FormDefinitionDynamicSchemaRequestAttributes' { + Context 'V2024FormDefinitionDynamicSchemaRequestAttributes' { + It 'Initialize-V2024FormDefinitionDynamicSchemaRequestAttributes' { + # a simple test to create an object + #$NewObject = Initialize-V2024FormDefinitionDynamicSchemaRequestAttributes -FormDefinitionId "TEST_VALUE" + #$NewObject | Should -BeOfType FormDefinitionDynamicSchemaRequestAttributes + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/FormDefinitionDynamicSchemaResponse.Tests.ps1 b/PSSailpoint/v2024/tests/Model/FormDefinitionDynamicSchemaResponse.Tests.ps1 new file mode 100644 index 000000000..82507c6d9 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/FormDefinitionDynamicSchemaResponse.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024FormDefinitionDynamicSchemaResponse' { + Context 'V2024FormDefinitionDynamicSchemaResponse' { + It 'Initialize-V2024FormDefinitionDynamicSchemaResponse' { + # a simple test to create an object + #$NewObject = Initialize-V2024FormDefinitionDynamicSchemaResponse -OutputSchema "TEST_VALUE" + #$NewObject | Should -BeOfType FormDefinitionDynamicSchemaResponse + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/FormDefinitionFileUploadResponse.Tests.ps1 b/PSSailpoint/v2024/tests/Model/FormDefinitionFileUploadResponse.Tests.ps1 new file mode 100644 index 000000000..0a86dad43 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/FormDefinitionFileUploadResponse.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024FormDefinitionFileUploadResponse' { + Context 'V2024FormDefinitionFileUploadResponse' { + It 'Initialize-V2024FormDefinitionFileUploadResponse' { + # a simple test to create an object + #$NewObject = Initialize-V2024FormDefinitionFileUploadResponse -Created "TEST_VALUE" -FileId "TEST_VALUE" -FormDefinitionId "TEST_VALUE" + #$NewObject | Should -BeOfType FormDefinitionFileUploadResponse + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/FormDefinitionInput.Tests.ps1 b/PSSailpoint/v2024/tests/Model/FormDefinitionInput.Tests.ps1 new file mode 100644 index 000000000..2d2deb22a --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/FormDefinitionInput.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024FormDefinitionInput' { + Context 'V2024FormDefinitionInput' { + It 'Initialize-V2024FormDefinitionInput' { + # a simple test to create an object + #$NewObject = Initialize-V2024FormDefinitionInput -Id "TEST_VALUE" -Type "TEST_VALUE" -Label "TEST_VALUE" -Description "TEST_VALUE" + #$NewObject | Should -BeOfType FormDefinitionInput + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/FormDefinitionResponse.Tests.ps1 b/PSSailpoint/v2024/tests/Model/FormDefinitionResponse.Tests.ps1 new file mode 100644 index 000000000..e126fdf4b --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/FormDefinitionResponse.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024FormDefinitionResponse' { + Context 'V2024FormDefinitionResponse' { + It 'Initialize-V2024FormDefinitionResponse' { + # a simple test to create an object + #$NewObject = Initialize-V2024FormDefinitionResponse -Id "TEST_VALUE" -Name "TEST_VALUE" -Description "TEST_VALUE" -Owner "TEST_VALUE" -UsedBy "TEST_VALUE" -FormInput "TEST_VALUE" -FormElements "TEST_VALUE" -FormConditions "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" + #$NewObject | Should -BeOfType FormDefinitionResponse + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/FormDetails.Tests.ps1 b/PSSailpoint/v2024/tests/Model/FormDetails.Tests.ps1 new file mode 100644 index 000000000..035cbc089 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/FormDetails.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024FormDetails' { + Context 'V2024FormDetails' { + It 'Initialize-V2024FormDetails' { + # a simple test to create an object + #$NewObject = Initialize-V2024FormDetails -Id "TEST_VALUE" -Name "TEST_VALUE" -Title "TEST_VALUE" -Subtitle "TEST_VALUE" -TargetUser "TEST_VALUE" -Sections "TEST_VALUE" + #$NewObject | Should -BeOfType FormDetails + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/FormElement.Tests.ps1 b/PSSailpoint/v2024/tests/Model/FormElement.Tests.ps1 new file mode 100644 index 000000000..8b1d47049 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/FormElement.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024FormElement' { + Context 'V2024FormElement' { + It 'Initialize-V2024FormElement' { + # a simple test to create an object + #$NewObject = Initialize-V2024FormElement -Id "TEST_VALUE" -ElementType "TEST_VALUE" -Config "TEST_VALUE" -Key "TEST_VALUE" -Validations "TEST_VALUE" + #$NewObject | Should -BeOfType FormElement + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/FormElementDataSourceConfigOptions.Tests.ps1 b/PSSailpoint/v2024/tests/Model/FormElementDataSourceConfigOptions.Tests.ps1 new file mode 100644 index 000000000..d417beb0d --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/FormElementDataSourceConfigOptions.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024FormElementDataSourceConfigOptions' { + Context 'V2024FormElementDataSourceConfigOptions' { + It 'Initialize-V2024FormElementDataSourceConfigOptions' { + # a simple test to create an object + #$NewObject = Initialize-V2024FormElementDataSourceConfigOptions -Label "TEST_VALUE" -SubLabel "TEST_VALUE" -Value "TEST_VALUE" + #$NewObject | Should -BeOfType FormElementDataSourceConfigOptions + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/FormElementDynamicDataSource.Tests.ps1 b/PSSailpoint/v2024/tests/Model/FormElementDynamicDataSource.Tests.ps1 new file mode 100644 index 000000000..da0fa18ce --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/FormElementDynamicDataSource.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024FormElementDynamicDataSource' { + Context 'V2024FormElementDynamicDataSource' { + It 'Initialize-V2024FormElementDynamicDataSource' { + # a simple test to create an object + #$NewObject = Initialize-V2024FormElementDynamicDataSource -Config "TEST_VALUE" -DataSourceType "TEST_VALUE" + #$NewObject | Should -BeOfType FormElementDynamicDataSource + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/FormElementDynamicDataSourceConfig.Tests.ps1 b/PSSailpoint/v2024/tests/Model/FormElementDynamicDataSourceConfig.Tests.ps1 new file mode 100644 index 000000000..11f1f4290 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/FormElementDynamicDataSourceConfig.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024FormElementDynamicDataSourceConfig' { + Context 'V2024FormElementDynamicDataSourceConfig' { + It 'Initialize-V2024FormElementDynamicDataSourceConfig' { + # a simple test to create an object + #$NewObject = Initialize-V2024FormElementDynamicDataSourceConfig -AggregationBucketField "TEST_VALUE" -Indices "TEST_VALUE" -ObjectType "TEST_VALUE" -Query "TEST_VALUE" + #$NewObject | Should -BeOfType FormElementDynamicDataSourceConfig + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/FormElementPreviewRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/FormElementPreviewRequest.Tests.ps1 new file mode 100644 index 000000000..7da9d7209 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/FormElementPreviewRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024FormElementPreviewRequest' { + Context 'V2024FormElementPreviewRequest' { + It 'Initialize-V2024FormElementPreviewRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024FormElementPreviewRequest -DataSource "TEST_VALUE" + #$NewObject | Should -BeOfType FormElementPreviewRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/FormElementValidationsSet.Tests.ps1 b/PSSailpoint/v2024/tests/Model/FormElementValidationsSet.Tests.ps1 new file mode 100644 index 000000000..c2917bfac --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/FormElementValidationsSet.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024FormElementValidationsSet' { + Context 'V2024FormElementValidationsSet' { + It 'Initialize-V2024FormElementValidationsSet' { + # a simple test to create an object + #$NewObject = Initialize-V2024FormElementValidationsSet -ValidationType "TEST_VALUE" + #$NewObject | Should -BeOfType FormElementValidationsSet + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/FormError.Tests.ps1 b/PSSailpoint/v2024/tests/Model/FormError.Tests.ps1 new file mode 100644 index 000000000..808cb2ee1 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/FormError.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024FormError' { + Context 'V2024FormError' { + It 'Initialize-V2024FormError' { + # a simple test to create an object + #$NewObject = Initialize-V2024FormError -Key "TEST_VALUE" -Messages "TEST_VALUE" -Value "TEST_VALUE" + #$NewObject | Should -BeOfType FormError + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/FormInstanceCreatedBy.Tests.ps1 b/PSSailpoint/v2024/tests/Model/FormInstanceCreatedBy.Tests.ps1 new file mode 100644 index 000000000..411cce6a4 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/FormInstanceCreatedBy.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024FormInstanceCreatedBy' { + Context 'V2024FormInstanceCreatedBy' { + It 'Initialize-V2024FormInstanceCreatedBy' { + # a simple test to create an object + #$NewObject = Initialize-V2024FormInstanceCreatedBy -Id "TEST_VALUE" -Type "TEST_VALUE" + #$NewObject | Should -BeOfType FormInstanceCreatedBy + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/FormInstanceRecipient.Tests.ps1 b/PSSailpoint/v2024/tests/Model/FormInstanceRecipient.Tests.ps1 new file mode 100644 index 000000000..98130578d --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/FormInstanceRecipient.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024FormInstanceRecipient' { + Context 'V2024FormInstanceRecipient' { + It 'Initialize-V2024FormInstanceRecipient' { + # a simple test to create an object + #$NewObject = Initialize-V2024FormInstanceRecipient -Id "TEST_VALUE" -Type "TEST_VALUE" + #$NewObject | Should -BeOfType FormInstanceRecipient + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/FormInstanceResponse.Tests.ps1 b/PSSailpoint/v2024/tests/Model/FormInstanceResponse.Tests.ps1 new file mode 100644 index 000000000..63f87c6f1 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/FormInstanceResponse.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024FormInstanceResponse' { + Context 'V2024FormInstanceResponse' { + It 'Initialize-V2024FormInstanceResponse' { + # a simple test to create an object + #$NewObject = Initialize-V2024FormInstanceResponse -Created "TEST_VALUE" -CreatedBy "TEST_VALUE" -Expire "TEST_VALUE" -FormConditions "TEST_VALUE" -FormData "TEST_VALUE" -FormDefinitionId "TEST_VALUE" -FormElements "TEST_VALUE" -FormErrors "TEST_VALUE" -FormInput "TEST_VALUE" -Id "TEST_VALUE" -Modified "TEST_VALUE" -Recipients "TEST_VALUE" -StandAloneForm "TEST_VALUE" -StandAloneFormUrl "TEST_VALUE" -State "TEST_VALUE" + #$NewObject | Should -BeOfType FormInstanceResponse + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/FormItemDetails.Tests.ps1 b/PSSailpoint/v2024/tests/Model/FormItemDetails.Tests.ps1 new file mode 100644 index 000000000..e40caf1b7 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/FormItemDetails.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024FormItemDetails' { + Context 'V2024FormItemDetails' { + It 'Initialize-V2024FormItemDetails' { + # a simple test to create an object + #$NewObject = Initialize-V2024FormItemDetails -Name "TEST_VALUE" + #$NewObject | Should -BeOfType FormItemDetails + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/FormOwner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/FormOwner.Tests.ps1 new file mode 100644 index 000000000..adf0875cc --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/FormOwner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024FormOwner' { + Context 'V2024FormOwner' { + It 'Initialize-V2024FormOwner' { + # a simple test to create an object + #$NewObject = Initialize-V2024FormOwner -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType FormOwner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/FormUsedBy.Tests.ps1 b/PSSailpoint/v2024/tests/Model/FormUsedBy.Tests.ps1 new file mode 100644 index 000000000..d51836b79 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/FormUsedBy.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024FormUsedBy' { + Context 'V2024FormUsedBy' { + It 'Initialize-V2024FormUsedBy' { + # a simple test to create an object + #$NewObject = Initialize-V2024FormUsedBy -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType FormUsedBy + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ForwardApprovalDto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ForwardApprovalDto.Tests.ps1 new file mode 100644 index 000000000..5b11ab1d7 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ForwardApprovalDto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ForwardApprovalDto' { + Context 'V2024ForwardApprovalDto' { + It 'Initialize-V2024ForwardApprovalDto' { + # a simple test to create an object + #$NewObject = Initialize-V2024ForwardApprovalDto -NewOwnerId "TEST_VALUE" -Comment "TEST_VALUE" + #$NewObject | Should -BeOfType ForwardApprovalDto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/GenerateRandomString.Tests.ps1 b/PSSailpoint/v2024/tests/Model/GenerateRandomString.Tests.ps1 new file mode 100644 index 000000000..8996bdd2a --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/GenerateRandomString.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024GenerateRandomString' { + Context 'V2024GenerateRandomString' { + It 'Initialize-V2024GenerateRandomString' { + # a simple test to create an object + #$NewObject = Initialize-V2024GenerateRandomString -Name "TEST_VALUE" -Operation "TEST_VALUE" -IncludeNumbers "TEST_VALUE" -IncludeSpecialChars "TEST_VALUE" -Length "TEST_VALUE" -RequiresPeriodicRefresh "TEST_VALUE" + #$NewObject | Should -BeOfType GenerateRandomString + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/GetActiveCampaigns200ResponseInner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/GetActiveCampaigns200ResponseInner.Tests.ps1 new file mode 100644 index 000000000..97e06b1af --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/GetActiveCampaigns200ResponseInner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024GetActiveCampaigns200ResponseInner' { + Context 'V2024GetActiveCampaigns200ResponseInner' { + It 'Initialize-V2024GetActiveCampaigns200ResponseInner' { + # a simple test to create an object + #$NewObject = Initialize-V2024GetActiveCampaigns200ResponseInner -Id "TEST_VALUE" -Name "TEST_VALUE" -Description "TEST_VALUE" -Deadline "TEST_VALUE" -Type "TEST_VALUE" -EmailNotificationEnabled "TEST_VALUE" -AutoRevokeAllowed "TEST_VALUE" -RecommendationsEnabled "TEST_VALUE" -Status "TEST_VALUE" -CorrelatedStatus "TEST_VALUE" -Created "TEST_VALUE" -TotalCertifications "TEST_VALUE" -CompletedCertifications "TEST_VALUE" -Alerts "TEST_VALUE" -Modified "TEST_VALUE" -VarFilter "TEST_VALUE" -SunsetCommentsRequired "TEST_VALUE" -SourceOwnerCampaignInfo "TEST_VALUE" -SearchCampaignInfo "TEST_VALUE" -RoleCompositionCampaignInfo "TEST_VALUE" -SourcesWithOrphanEntitlements "TEST_VALUE" -MandatoryCommentRequirement "TEST_VALUE" + #$NewObject | Should -BeOfType GetActiveCampaigns200ResponseInner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/GetHistoricalIdentityEvents200ResponseInner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/GetHistoricalIdentityEvents200ResponseInner.Tests.ps1 new file mode 100644 index 000000000..7a7db5463 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/GetHistoricalIdentityEvents200ResponseInner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024GetHistoricalIdentityEvents200ResponseInner' { + Context 'V2024GetHistoricalIdentityEvents200ResponseInner' { + It 'Initialize-V2024GetHistoricalIdentityEvents200ResponseInner' { + # a simple test to create an object + #$NewObject = Initialize-V2024GetHistoricalIdentityEvents200ResponseInner -AccessItem "TEST_VALUE" -IdentityId "TEST_VALUE" -EventType "TEST_VALUE" -Dt "TEST_VALUE" -GovernanceEvent "TEST_VALUE" -Changes "TEST_VALUE" -AccessRequest "TEST_VALUE" -CertificationId "TEST_VALUE" -CertificationName "TEST_VALUE" -SignedDate "TEST_VALUE" -Certifiers "TEST_VALUE" -Reviewers "TEST_VALUE" -Signer "TEST_VALUE" -Account "TEST_VALUE" -StatusChange "TEST_VALUE" + #$NewObject | Should -BeOfType GetHistoricalIdentityEvents200ResponseInner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/GetOAuthClientResponse.Tests.ps1 b/PSSailpoint/v2024/tests/Model/GetOAuthClientResponse.Tests.ps1 new file mode 100644 index 000000000..f93688976 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/GetOAuthClientResponse.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024GetOAuthClientResponse' { + Context 'V2024GetOAuthClientResponse' { + It 'Initialize-V2024GetOAuthClientResponse' { + # a simple test to create an object + #$NewObject = Initialize-V2024GetOAuthClientResponse -Id "TEST_VALUE" -BusinessName "TEST_VALUE" -HomepageUrl "TEST_VALUE" -Name "TEST_VALUE" -Description "TEST_VALUE" -AccessTokenValiditySeconds "TEST_VALUE" -RefreshTokenValiditySeconds "TEST_VALUE" -RedirectUris "TEST_VALUE" -GrantTypes "TEST_VALUE" -AccessType "TEST_VALUE" -Type "TEST_VALUE" -Internal "TEST_VALUE" -Enabled "TEST_VALUE" -StrongAuthSupported "TEST_VALUE" -ClaimsSupported "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" -Secret "TEST_VALUE" -Metadata "TEST_VALUE" -LastUsed "TEST_VALUE" -Scope "TEST_VALUE" + #$NewObject | Should -BeOfType GetOAuthClientResponse + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/GetPersonalAccessTokenResponse.Tests.ps1 b/PSSailpoint/v2024/tests/Model/GetPersonalAccessTokenResponse.Tests.ps1 new file mode 100644 index 000000000..633507470 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/GetPersonalAccessTokenResponse.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024GetPersonalAccessTokenResponse' { + Context 'V2024GetPersonalAccessTokenResponse' { + It 'Initialize-V2024GetPersonalAccessTokenResponse' { + # a simple test to create an object + #$NewObject = Initialize-V2024GetPersonalAccessTokenResponse -Id "TEST_VALUE" -Name "TEST_VALUE" -Scope "TEST_VALUE" -Owner "TEST_VALUE" -Created "TEST_VALUE" -LastUsed "TEST_VALUE" -Managed "TEST_VALUE" + #$NewObject | Should -BeOfType GetPersonalAccessTokenResponse + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/GetReferenceIdentityAttribute.Tests.ps1 b/PSSailpoint/v2024/tests/Model/GetReferenceIdentityAttribute.Tests.ps1 new file mode 100644 index 000000000..68c296575 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/GetReferenceIdentityAttribute.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024GetReferenceIdentityAttribute' { + Context 'V2024GetReferenceIdentityAttribute' { + It 'Initialize-V2024GetReferenceIdentityAttribute' { + # a simple test to create an object + #$NewObject = Initialize-V2024GetReferenceIdentityAttribute -Name "TEST_VALUE" -Operation "TEST_VALUE" -Uid "TEST_VALUE" -RequiresPeriodicRefresh "TEST_VALUE" + #$NewObject | Should -BeOfType GetReferenceIdentityAttribute + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/GetRoleAssignments200ResponseInner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/GetRoleAssignments200ResponseInner.Tests.ps1 new file mode 100644 index 000000000..f1166c6fd --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/GetRoleAssignments200ResponseInner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024GetRoleAssignments200ResponseInner' { + Context 'V2024GetRoleAssignments200ResponseInner' { + It 'Initialize-V2024GetRoleAssignments200ResponseInner' { + # a simple test to create an object + #$NewObject = Initialize-V2024GetRoleAssignments200ResponseInner -Id "TEST_VALUE" -Role "TEST_VALUE" -Comments "TEST_VALUE" -AssignmentSource "TEST_VALUE" -Assigner "TEST_VALUE" -AssignedDimensions "TEST_VALUE" -AssignmentContext "TEST_VALUE" -AccountTargets "TEST_VALUE" -RemoveDate "TEST_VALUE" + #$NewObject | Should -BeOfType GetRoleAssignments200ResponseInner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/GrantType.Tests.ps1 b/PSSailpoint/v2024/tests/Model/GrantType.Tests.ps1 new file mode 100644 index 000000000..28cb137e4 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/GrantType.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024GrantType' { + Context 'V2024GrantType' { + It 'Initialize-V2024GrantType' { + # a simple test to create an object + #$NewObject = Initialize-V2024GrantType + #$NewObject | Should -BeOfType GrantType + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/HttpAuthenticationType.Tests.ps1 b/PSSailpoint/v2024/tests/Model/HttpAuthenticationType.Tests.ps1 new file mode 100644 index 000000000..7ff79fe6a --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/HttpAuthenticationType.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024HttpAuthenticationType' { + Context 'V2024HttpAuthenticationType' { + It 'Initialize-V2024HttpAuthenticationType' { + # a simple test to create an object + #$NewObject = Initialize-V2024HttpAuthenticationType + #$NewObject | Should -BeOfType HttpAuthenticationType + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/HttpConfig.Tests.ps1 b/PSSailpoint/v2024/tests/Model/HttpConfig.Tests.ps1 new file mode 100644 index 000000000..f9d850d37 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/HttpConfig.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024HttpConfig' { + Context 'V2024HttpConfig' { + It 'Initialize-V2024HttpConfig' { + # a simple test to create an object + #$NewObject = Initialize-V2024HttpConfig -Url "TEST_VALUE" -HttpDispatchMode "TEST_VALUE" -HttpAuthenticationType "TEST_VALUE" -BasicAuthConfig "TEST_VALUE" -BearerTokenAuthConfig "TEST_VALUE" + #$NewObject | Should -BeOfType HttpConfig + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/HttpDispatchMode.Tests.ps1 b/PSSailpoint/v2024/tests/Model/HttpDispatchMode.Tests.ps1 new file mode 100644 index 000000000..d5527315a --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/HttpDispatchMode.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024HttpDispatchMode' { + Context 'V2024HttpDispatchMode' { + It 'Initialize-V2024HttpDispatchMode' { + # a simple test to create an object + #$NewObject = Initialize-V2024HttpDispatchMode + #$NewObject | Should -BeOfType HttpDispatchMode + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ISO3166.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ISO3166.Tests.ps1 new file mode 100644 index 000000000..e999f8589 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ISO3166.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ISO3166' { + Context 'V2024ISO3166' { + It 'Initialize-V2024ISO3166' { + # a simple test to create an object + #$NewObject = Initialize-V2024ISO3166 -Format "TEST_VALUE" -RequiresPeriodicRefresh "TEST_VALUE" -VarInput "TEST_VALUE" + #$NewObject | Should -BeOfType ISO3166 + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/IdentitiesAccountsBulkRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/IdentitiesAccountsBulkRequest.Tests.ps1 new file mode 100644 index 000000000..fe8dee712 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/IdentitiesAccountsBulkRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024IdentitiesAccountsBulkRequest' { + Context 'V2024IdentitiesAccountsBulkRequest' { + It 'Initialize-V2024IdentitiesAccountsBulkRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024IdentitiesAccountsBulkRequest -IdentityIds "TEST_VALUE" + #$NewObject | Should -BeOfType IdentitiesAccountsBulkRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/IdentitiesDetailsReportArguments.Tests.ps1 b/PSSailpoint/v2024/tests/Model/IdentitiesDetailsReportArguments.Tests.ps1 new file mode 100644 index 000000000..03a8a8a78 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/IdentitiesDetailsReportArguments.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024IdentitiesDetailsReportArguments' { + Context 'V2024IdentitiesDetailsReportArguments' { + It 'Initialize-V2024IdentitiesDetailsReportArguments' { + # a simple test to create an object + #$NewObject = Initialize-V2024IdentitiesDetailsReportArguments -CorrelatedOnly "TEST_VALUE" + #$NewObject | Should -BeOfType IdentitiesDetailsReportArguments + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/IdentitiesReportArguments.Tests.ps1 b/PSSailpoint/v2024/tests/Model/IdentitiesReportArguments.Tests.ps1 new file mode 100644 index 000000000..e009df18d --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/IdentitiesReportArguments.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024IdentitiesReportArguments' { + Context 'V2024IdentitiesReportArguments' { + It 'Initialize-V2024IdentitiesReportArguments' { + # a simple test to create an object + #$NewObject = Initialize-V2024IdentitiesReportArguments -CorrelatedOnly "TEST_VALUE" + #$NewObject | Should -BeOfType IdentitiesReportArguments + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Identity.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Identity.Tests.ps1 new file mode 100644 index 000000000..6e6c49cb9 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Identity.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Identity' { + Context 'V2024Identity' { + It 'Initialize-V2024Identity' { + # a simple test to create an object + #$NewObject = Initialize-V2024Identity -Id "TEST_VALUE" -Name "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" -Alias "TEST_VALUE" -EmailAddress "TEST_VALUE" -ProcessingState "TEST_VALUE" -IdentityStatus "TEST_VALUE" -ManagerRef "TEST_VALUE" -IsManager "TEST_VALUE" -LastRefresh "TEST_VALUE" -Attributes "TEST_VALUE" -LifecycleState "TEST_VALUE" + #$NewObject | Should -BeOfType Identity + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Identity1.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Identity1.Tests.ps1 new file mode 100644 index 000000000..14d1e6322 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Identity1.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Identity1' { + Context 'V2024Identity1' { + It 'Initialize-V2024Identity1' { + # a simple test to create an object + #$NewObject = Initialize-V2024Identity1 -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType Identity1 + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/IdentityAccess.Tests.ps1 b/PSSailpoint/v2024/tests/Model/IdentityAccess.Tests.ps1 new file mode 100644 index 000000000..4b74aea76 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/IdentityAccess.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024IdentityAccess' { + Context 'V2024IdentityAccess' { + It 'Initialize-V2024IdentityAccess' { + # a simple test to create an object + #$NewObject = Initialize-V2024IdentityAccess -Id "TEST_VALUE" -Name "TEST_VALUE" -DisplayName "TEST_VALUE" -Type "TEST_VALUE" -Description "TEST_VALUE" -Source "TEST_VALUE" -Owner "TEST_VALUE" -Revocable "TEST_VALUE" -Privileged "TEST_VALUE" -Attribute "TEST_VALUE" -Value "TEST_VALUE" -Standalone "TEST_VALUE" -Disabled "TEST_VALUE" + #$NewObject | Should -BeOfType IdentityAccess + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/IdentityAssociationDetails.Tests.ps1 b/PSSailpoint/v2024/tests/Model/IdentityAssociationDetails.Tests.ps1 new file mode 100644 index 000000000..54cd2c74c --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/IdentityAssociationDetails.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024IdentityAssociationDetails' { + Context 'V2024IdentityAssociationDetails' { + It 'Initialize-V2024IdentityAssociationDetails' { + # a simple test to create an object + #$NewObject = Initialize-V2024IdentityAssociationDetails -Message "TEST_VALUE" -AssociationDetails "TEST_VALUE" + #$NewObject | Should -BeOfType IdentityAssociationDetails + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/IdentityAssociationDetailsAssociationDetailsInner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/IdentityAssociationDetailsAssociationDetailsInner.Tests.ps1 new file mode 100644 index 000000000..b712186b6 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/IdentityAssociationDetailsAssociationDetailsInner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024IdentityAssociationDetailsAssociationDetailsInner' { + Context 'V2024IdentityAssociationDetailsAssociationDetailsInner' { + It 'Initialize-V2024IdentityAssociationDetailsAssociationDetailsInner' { + # a simple test to create an object + #$NewObject = Initialize-V2024IdentityAssociationDetailsAssociationDetailsInner -AssociationType "TEST_VALUE" -Entities "TEST_VALUE" + #$NewObject | Should -BeOfType IdentityAssociationDetailsAssociationDetailsInner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/IdentityAttribute.Tests.ps1 b/PSSailpoint/v2024/tests/Model/IdentityAttribute.Tests.ps1 new file mode 100644 index 000000000..0e1922479 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/IdentityAttribute.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024IdentityAttribute' { + Context 'V2024IdentityAttribute' { + It 'Initialize-V2024IdentityAttribute' { + # a simple test to create an object + #$NewObject = Initialize-V2024IdentityAttribute -Name "TEST_VALUE" -DisplayName "TEST_VALUE" -Standard "TEST_VALUE" -Type "TEST_VALUE" -Multi "TEST_VALUE" -Searchable "TEST_VALUE" -System "TEST_VALUE" -Sources "TEST_VALUE" + #$NewObject | Should -BeOfType IdentityAttribute + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/IdentityAttribute1.Tests.ps1 b/PSSailpoint/v2024/tests/Model/IdentityAttribute1.Tests.ps1 new file mode 100644 index 000000000..7ce44f548 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/IdentityAttribute1.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024IdentityAttribute1' { + Context 'V2024IdentityAttribute1' { + It 'Initialize-V2024IdentityAttribute1' { + # a simple test to create an object + #$NewObject = Initialize-V2024IdentityAttribute1 -Name "TEST_VALUE" -RequiresPeriodicRefresh "TEST_VALUE" -VarInput "TEST_VALUE" + #$NewObject | Should -BeOfType IdentityAttribute1 + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/IdentityAttribute2.Tests.ps1 b/PSSailpoint/v2024/tests/Model/IdentityAttribute2.Tests.ps1 new file mode 100644 index 000000000..506866b5a --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/IdentityAttribute2.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024IdentityAttribute2' { + Context 'V2024IdentityAttribute2' { + It 'Initialize-V2024IdentityAttribute2' { + # a simple test to create an object + #$NewObject = Initialize-V2024IdentityAttribute2 -Key "TEST_VALUE" -Name "TEST_VALUE" -Value "TEST_VALUE" + #$NewObject | Should -BeOfType IdentityAttribute2 + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/IdentityAttributeConfig.Tests.ps1 b/PSSailpoint/v2024/tests/Model/IdentityAttributeConfig.Tests.ps1 new file mode 100644 index 000000000..cf60e9a7f --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/IdentityAttributeConfig.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024IdentityAttributeConfig' { + Context 'V2024IdentityAttributeConfig' { + It 'Initialize-V2024IdentityAttributeConfig' { + # a simple test to create an object + #$NewObject = Initialize-V2024IdentityAttributeConfig -Enabled "TEST_VALUE" -AttributeTransforms "TEST_VALUE" + #$NewObject | Should -BeOfType IdentityAttributeConfig + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/IdentityAttributeNames.Tests.ps1 b/PSSailpoint/v2024/tests/Model/IdentityAttributeNames.Tests.ps1 new file mode 100644 index 000000000..7daa128eb --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/IdentityAttributeNames.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024IdentityAttributeNames' { + Context 'V2024IdentityAttributeNames' { + It 'Initialize-V2024IdentityAttributeNames' { + # a simple test to create an object + #$NewObject = Initialize-V2024IdentityAttributeNames -Ids "TEST_VALUE" + #$NewObject | Should -BeOfType IdentityAttributeNames + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/IdentityAttributePreview.Tests.ps1 b/PSSailpoint/v2024/tests/Model/IdentityAttributePreview.Tests.ps1 new file mode 100644 index 000000000..9e29df35d --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/IdentityAttributePreview.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024IdentityAttributePreview' { + Context 'V2024IdentityAttributePreview' { + It 'Initialize-V2024IdentityAttributePreview' { + # a simple test to create an object + #$NewObject = Initialize-V2024IdentityAttributePreview -Name "TEST_VALUE" -Value "TEST_VALUE" -PreviousValue "TEST_VALUE" -ErrorMessages "TEST_VALUE" + #$NewObject | Should -BeOfType IdentityAttributePreview + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/IdentityAttributeTransform.Tests.ps1 b/PSSailpoint/v2024/tests/Model/IdentityAttributeTransform.Tests.ps1 new file mode 100644 index 000000000..43e7c1853 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/IdentityAttributeTransform.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024IdentityAttributeTransform' { + Context 'V2024IdentityAttributeTransform' { + It 'Initialize-V2024IdentityAttributeTransform' { + # a simple test to create an object + #$NewObject = Initialize-V2024IdentityAttributeTransform -IdentityAttributeName "TEST_VALUE" -TransformDefinition "TEST_VALUE" + #$NewObject | Should -BeOfType IdentityAttributeTransform + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/IdentityAttributesChanged.Tests.ps1 b/PSSailpoint/v2024/tests/Model/IdentityAttributesChanged.Tests.ps1 new file mode 100644 index 000000000..e6bc4375f --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/IdentityAttributesChanged.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024IdentityAttributesChanged' { + Context 'V2024IdentityAttributesChanged' { + It 'Initialize-V2024IdentityAttributesChanged' { + # a simple test to create an object + #$NewObject = Initialize-V2024IdentityAttributesChanged -Identity "TEST_VALUE" -Changes "TEST_VALUE" + #$NewObject | Should -BeOfType IdentityAttributesChanged + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/IdentityAttributesChangedChangesInner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/IdentityAttributesChangedChangesInner.Tests.ps1 new file mode 100644 index 000000000..1531913b8 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/IdentityAttributesChangedChangesInner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024IdentityAttributesChangedChangesInner' { + Context 'V2024IdentityAttributesChangedChangesInner' { + It 'Initialize-V2024IdentityAttributesChangedChangesInner' { + # a simple test to create an object + #$NewObject = Initialize-V2024IdentityAttributesChangedChangesInner -Attribute "TEST_VALUE" -OldValue "TEST_VALUE" -NewValue "TEST_VALUE" + #$NewObject | Should -BeOfType IdentityAttributesChangedChangesInner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/IdentityAttributesChangedChangesInnerNewValue.Tests.ps1 b/PSSailpoint/v2024/tests/Model/IdentityAttributesChangedChangesInnerNewValue.Tests.ps1 new file mode 100644 index 000000000..2982e2916 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/IdentityAttributesChangedChangesInnerNewValue.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024IdentityAttributesChangedChangesInnerNewValue' { + Context 'V2024IdentityAttributesChangedChangesInnerNewValue' { + It 'Initialize-V2024IdentityAttributesChangedChangesInnerNewValue' { + # a simple test to create an object + #$NewObject = Initialize-V2024IdentityAttributesChangedChangesInnerNewValue + #$NewObject | Should -BeOfType IdentityAttributesChangedChangesInnerNewValue + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/IdentityAttributesChangedChangesInnerOldValue.Tests.ps1 b/PSSailpoint/v2024/tests/Model/IdentityAttributesChangedChangesInnerOldValue.Tests.ps1 new file mode 100644 index 000000000..e717c4315 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/IdentityAttributesChangedChangesInnerOldValue.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024IdentityAttributesChangedChangesInnerOldValue' { + Context 'V2024IdentityAttributesChangedChangesInnerOldValue' { + It 'Initialize-V2024IdentityAttributesChangedChangesInnerOldValue' { + # a simple test to create an object + #$NewObject = Initialize-V2024IdentityAttributesChangedChangesInnerOldValue + #$NewObject | Should -BeOfType IdentityAttributesChangedChangesInnerOldValue + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/IdentityAttributesChangedChangesInnerOldValueOneOfValue.Tests.ps1 b/PSSailpoint/v2024/tests/Model/IdentityAttributesChangedChangesInnerOldValueOneOfValue.Tests.ps1 new file mode 100644 index 000000000..755acc298 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/IdentityAttributesChangedChangesInnerOldValueOneOfValue.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024IdentityAttributesChangedChangesInnerOldValueOneOfValue' { + Context 'V2024IdentityAttributesChangedChangesInnerOldValueOneOfValue' { + It 'Initialize-V2024IdentityAttributesChangedChangesInnerOldValueOneOfValue' { + # a simple test to create an object + #$NewObject = Initialize-V2024IdentityAttributesChangedChangesInnerOldValueOneOfValue + #$NewObject | Should -BeOfType IdentityAttributesChangedChangesInnerOldValueOneOfValue + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/IdentityAttributesChangedIdentity.Tests.ps1 b/PSSailpoint/v2024/tests/Model/IdentityAttributesChangedIdentity.Tests.ps1 new file mode 100644 index 000000000..2992fae10 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/IdentityAttributesChangedIdentity.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024IdentityAttributesChangedIdentity' { + Context 'V2024IdentityAttributesChangedIdentity' { + It 'Initialize-V2024IdentityAttributesChangedIdentity' { + # a simple test to create an object + #$NewObject = Initialize-V2024IdentityAttributesChangedIdentity -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType IdentityAttributesChangedIdentity + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/IdentityCertDecisionSummary.Tests.ps1 b/PSSailpoint/v2024/tests/Model/IdentityCertDecisionSummary.Tests.ps1 new file mode 100644 index 000000000..04b52bf20 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/IdentityCertDecisionSummary.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024IdentityCertDecisionSummary' { + Context 'V2024IdentityCertDecisionSummary' { + It 'Initialize-V2024IdentityCertDecisionSummary' { + # a simple test to create an object + #$NewObject = Initialize-V2024IdentityCertDecisionSummary -EntitlementDecisionsMade "TEST_VALUE" -AccessProfileDecisionsMade "TEST_VALUE" -RoleDecisionsMade "TEST_VALUE" -AccountDecisionsMade "TEST_VALUE" -EntitlementDecisionsTotal "TEST_VALUE" -AccessProfileDecisionsTotal "TEST_VALUE" -RoleDecisionsTotal "TEST_VALUE" -AccountDecisionsTotal "TEST_VALUE" -EntitlementsApproved "TEST_VALUE" -EntitlementsRevoked "TEST_VALUE" -AccessProfilesApproved "TEST_VALUE" -AccessProfilesRevoked "TEST_VALUE" -RolesApproved "TEST_VALUE" -RolesRevoked "TEST_VALUE" -AccountsApproved "TEST_VALUE" -AccountsRevoked "TEST_VALUE" + #$NewObject | Should -BeOfType IdentityCertDecisionSummary + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/IdentityCertificationDto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/IdentityCertificationDto.Tests.ps1 new file mode 100644 index 000000000..176ab1883 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/IdentityCertificationDto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024IdentityCertificationDto' { + Context 'V2024IdentityCertificationDto' { + It 'Initialize-V2024IdentityCertificationDto' { + # a simple test to create an object + #$NewObject = Initialize-V2024IdentityCertificationDto -Id "TEST_VALUE" -Name "TEST_VALUE" -Campaign "TEST_VALUE" -Completed "TEST_VALUE" -IdentitiesCompleted "TEST_VALUE" -IdentitiesTotal "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" -DecisionsMade "TEST_VALUE" -DecisionsTotal "TEST_VALUE" -Due "TEST_VALUE" -Signed "TEST_VALUE" -Reviewer "TEST_VALUE" -Reassignment "TEST_VALUE" -HasErrors "TEST_VALUE" -ErrorMessage "TEST_VALUE" -Phase "TEST_VALUE" + #$NewObject | Should -BeOfType IdentityCertificationDto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/IdentityCertified.Tests.ps1 b/PSSailpoint/v2024/tests/Model/IdentityCertified.Tests.ps1 new file mode 100644 index 000000000..3d1822fd6 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/IdentityCertified.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024IdentityCertified' { + Context 'V2024IdentityCertified' { + It 'Initialize-V2024IdentityCertified' { + # a simple test to create an object + #$NewObject = Initialize-V2024IdentityCertified -CertificationId "TEST_VALUE" -CertificationName "TEST_VALUE" -SignedDate "TEST_VALUE" -Certifiers "TEST_VALUE" -Reviewers "TEST_VALUE" -Signer "TEST_VALUE" -EventType "TEST_VALUE" -Dt "TEST_VALUE" + #$NewObject | Should -BeOfType IdentityCertified + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/IdentityCompareResponse.Tests.ps1 b/PSSailpoint/v2024/tests/Model/IdentityCompareResponse.Tests.ps1 new file mode 100644 index 000000000..49b374c26 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/IdentityCompareResponse.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024IdentityCompareResponse' { + Context 'V2024IdentityCompareResponse' { + It 'Initialize-V2024IdentityCompareResponse' { + # a simple test to create an object + #$NewObject = Initialize-V2024IdentityCompareResponse -AccessItemDiff "TEST_VALUE" + #$NewObject | Should -BeOfType IdentityCompareResponse + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/IdentityCreated.Tests.ps1 b/PSSailpoint/v2024/tests/Model/IdentityCreated.Tests.ps1 new file mode 100644 index 000000000..1a9f37849 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/IdentityCreated.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024IdentityCreated' { + Context 'V2024IdentityCreated' { + It 'Initialize-V2024IdentityCreated' { + # a simple test to create an object + #$NewObject = Initialize-V2024IdentityCreated -Identity "TEST_VALUE" -Attributes "TEST_VALUE" + #$NewObject | Should -BeOfType IdentityCreated + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/IdentityCreatedIdentity.Tests.ps1 b/PSSailpoint/v2024/tests/Model/IdentityCreatedIdentity.Tests.ps1 new file mode 100644 index 000000000..eba2d9919 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/IdentityCreatedIdentity.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024IdentityCreatedIdentity' { + Context 'V2024IdentityCreatedIdentity' { + It 'Initialize-V2024IdentityCreatedIdentity' { + # a simple test to create an object + #$NewObject = Initialize-V2024IdentityCreatedIdentity -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType IdentityCreatedIdentity + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/IdentityDeleted.Tests.ps1 b/PSSailpoint/v2024/tests/Model/IdentityDeleted.Tests.ps1 new file mode 100644 index 000000000..fa95887f7 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/IdentityDeleted.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024IdentityDeleted' { + Context 'V2024IdentityDeleted' { + It 'Initialize-V2024IdentityDeleted' { + # a simple test to create an object + #$NewObject = Initialize-V2024IdentityDeleted -Identity "TEST_VALUE" -Attributes "TEST_VALUE" + #$NewObject | Should -BeOfType IdentityDeleted + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/IdentityDeletedIdentity.Tests.ps1 b/PSSailpoint/v2024/tests/Model/IdentityDeletedIdentity.Tests.ps1 new file mode 100644 index 000000000..55aa96ce3 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/IdentityDeletedIdentity.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024IdentityDeletedIdentity' { + Context 'V2024IdentityDeletedIdentity' { + It 'Initialize-V2024IdentityDeletedIdentity' { + # a simple test to create an object + #$NewObject = Initialize-V2024IdentityDeletedIdentity -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType IdentityDeletedIdentity + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/IdentityDocument.Tests.ps1 b/PSSailpoint/v2024/tests/Model/IdentityDocument.Tests.ps1 new file mode 100644 index 000000000..59e99185f --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/IdentityDocument.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024IdentityDocument' { + Context 'V2024IdentityDocument' { + It 'Initialize-V2024IdentityDocument' { + # a simple test to create an object + #$NewObject = Initialize-V2024IdentityDocument -Id "TEST_VALUE" -Name "TEST_VALUE" -Type "TEST_VALUE" -DisplayName "TEST_VALUE" -FirstName "TEST_VALUE" -LastName "TEST_VALUE" -Email "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" -Phone "TEST_VALUE" -Synced "TEST_VALUE" -Inactive "TEST_VALUE" -Protected "TEST_VALUE" -Status "TEST_VALUE" -EmployeeNumber "TEST_VALUE" -Manager "TEST_VALUE" -IsManager "TEST_VALUE" -IdentityProfile "TEST_VALUE" -Source "TEST_VALUE" -Attributes "TEST_VALUE" -ProcessingState "TEST_VALUE" -ProcessingDetails "TEST_VALUE" -Accounts "TEST_VALUE" -AccountCount "TEST_VALUE" -Apps "TEST_VALUE" -AppCount "TEST_VALUE" -Access "TEST_VALUE" -AccessCount "TEST_VALUE" -EntitlementCount "TEST_VALUE" -RoleCount "TEST_VALUE" -AccessProfileCount "TEST_VALUE" -Owns "TEST_VALUE" -OwnsCount "TEST_VALUE" -Tags "TEST_VALUE" + #$NewObject | Should -BeOfType IdentityDocument + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/IdentityDocumentAllOfIdentityProfile.Tests.ps1 b/PSSailpoint/v2024/tests/Model/IdentityDocumentAllOfIdentityProfile.Tests.ps1 new file mode 100644 index 000000000..fe8d74a60 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/IdentityDocumentAllOfIdentityProfile.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024IdentityDocumentAllOfIdentityProfile' { + Context 'V2024IdentityDocumentAllOfIdentityProfile' { + It 'Initialize-V2024IdentityDocumentAllOfIdentityProfile' { + # a simple test to create an object + #$NewObject = Initialize-V2024IdentityDocumentAllOfIdentityProfile -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType IdentityDocumentAllOfIdentityProfile + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/IdentityDocumentAllOfManager.Tests.ps1 b/PSSailpoint/v2024/tests/Model/IdentityDocumentAllOfManager.Tests.ps1 new file mode 100644 index 000000000..665179802 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/IdentityDocumentAllOfManager.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024IdentityDocumentAllOfManager' { + Context 'V2024IdentityDocumentAllOfManager' { + It 'Initialize-V2024IdentityDocumentAllOfManager' { + # a simple test to create an object + #$NewObject = Initialize-V2024IdentityDocumentAllOfManager -Id "TEST_VALUE" -Name "TEST_VALUE" -DisplayName "TEST_VALUE" + #$NewObject | Should -BeOfType IdentityDocumentAllOfManager + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/IdentityDocumentAllOfSource.Tests.ps1 b/PSSailpoint/v2024/tests/Model/IdentityDocumentAllOfSource.Tests.ps1 new file mode 100644 index 000000000..2bcb092c5 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/IdentityDocumentAllOfSource.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024IdentityDocumentAllOfSource' { + Context 'V2024IdentityDocumentAllOfSource' { + It 'Initialize-V2024IdentityDocumentAllOfSource' { + # a simple test to create an object + #$NewObject = Initialize-V2024IdentityDocumentAllOfSource -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType IdentityDocumentAllOfSource + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/IdentityDtoLifecycleState.Tests.ps1 b/PSSailpoint/v2024/tests/Model/IdentityDtoLifecycleState.Tests.ps1 new file mode 100644 index 000000000..f771d6142 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/IdentityDtoLifecycleState.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024IdentityDtoLifecycleState' { + Context 'V2024IdentityDtoLifecycleState' { + It 'Initialize-V2024IdentityDtoLifecycleState' { + # a simple test to create an object + #$NewObject = Initialize-V2024IdentityDtoLifecycleState -StateName "TEST_VALUE" -ManuallyUpdated "TEST_VALUE" + #$NewObject | Should -BeOfType IdentityDtoLifecycleState + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/IdentityDtoManagerRef.Tests.ps1 b/PSSailpoint/v2024/tests/Model/IdentityDtoManagerRef.Tests.ps1 new file mode 100644 index 000000000..2e50d8066 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/IdentityDtoManagerRef.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024IdentityDtoManagerRef' { + Context 'V2024IdentityDtoManagerRef' { + It 'Initialize-V2024IdentityDtoManagerRef' { + # a simple test to create an object + #$NewObject = Initialize-V2024IdentityDtoManagerRef -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType IdentityDtoManagerRef + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/IdentityEntities.Tests.ps1 b/PSSailpoint/v2024/tests/Model/IdentityEntities.Tests.ps1 new file mode 100644 index 000000000..d63a45a1c --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/IdentityEntities.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024IdentityEntities' { + Context 'V2024IdentityEntities' { + It 'Initialize-V2024IdentityEntities' { + # a simple test to create an object + #$NewObject = Initialize-V2024IdentityEntities -IdentityEntity "TEST_VALUE" + #$NewObject | Should -BeOfType IdentityEntities + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/IdentityEntitiesIdentityEntity.Tests.ps1 b/PSSailpoint/v2024/tests/Model/IdentityEntitiesIdentityEntity.Tests.ps1 new file mode 100644 index 000000000..c21159a72 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/IdentityEntitiesIdentityEntity.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024IdentityEntitiesIdentityEntity' { + Context 'V2024IdentityEntitiesIdentityEntity' { + It 'Initialize-V2024IdentityEntitiesIdentityEntity' { + # a simple test to create an object + #$NewObject = Initialize-V2024IdentityEntitiesIdentityEntity -Id "TEST_VALUE" -Name "TEST_VALUE" -Type "TEST_VALUE" + #$NewObject | Should -BeOfType IdentityEntitiesIdentityEntity + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/IdentityExceptionReportReference.Tests.ps1 b/PSSailpoint/v2024/tests/Model/IdentityExceptionReportReference.Tests.ps1 new file mode 100644 index 000000000..4810facdc --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/IdentityExceptionReportReference.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024IdentityExceptionReportReference' { + Context 'V2024IdentityExceptionReportReference' { + It 'Initialize-V2024IdentityExceptionReportReference' { + # a simple test to create an object + #$NewObject = Initialize-V2024IdentityExceptionReportReference -TaskResultId "TEST_VALUE" -ReportName "TEST_VALUE" + #$NewObject | Should -BeOfType IdentityExceptionReportReference + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/IdentityHistoryResponse.Tests.ps1 b/PSSailpoint/v2024/tests/Model/IdentityHistoryResponse.Tests.ps1 new file mode 100644 index 000000000..7dcc9405e --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/IdentityHistoryResponse.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024IdentityHistoryResponse' { + Context 'V2024IdentityHistoryResponse' { + It 'Initialize-V2024IdentityHistoryResponse' { + # a simple test to create an object + #$NewObject = Initialize-V2024IdentityHistoryResponse -Id "TEST_VALUE" -DisplayName "TEST_VALUE" -Snapshot "TEST_VALUE" -DeletedDate "TEST_VALUE" -AccessItemCount "TEST_VALUE" -Attributes "TEST_VALUE" + #$NewObject | Should -BeOfType IdentityHistoryResponse + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/IdentityListItem.Tests.ps1 b/PSSailpoint/v2024/tests/Model/IdentityListItem.Tests.ps1 new file mode 100644 index 000000000..1f559cb01 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/IdentityListItem.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024IdentityListItem' { + Context 'V2024IdentityListItem' { + It 'Initialize-V2024IdentityListItem' { + # a simple test to create an object + #$NewObject = Initialize-V2024IdentityListItem -Id "TEST_VALUE" -DisplayName "TEST_VALUE" -FirstName "TEST_VALUE" -LastName "TEST_VALUE" -Active "TEST_VALUE" -DeletedDate "TEST_VALUE" + #$NewObject | Should -BeOfType IdentityListItem + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/IdentityOwnershipAssociationDetails.Tests.ps1 b/PSSailpoint/v2024/tests/Model/IdentityOwnershipAssociationDetails.Tests.ps1 new file mode 100644 index 000000000..e8e972e23 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/IdentityOwnershipAssociationDetails.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024IdentityOwnershipAssociationDetails' { + Context 'V2024IdentityOwnershipAssociationDetails' { + It 'Initialize-V2024IdentityOwnershipAssociationDetails' { + # a simple test to create an object + #$NewObject = Initialize-V2024IdentityOwnershipAssociationDetails -AssociationDetails "TEST_VALUE" + #$NewObject | Should -BeOfType IdentityOwnershipAssociationDetails + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/IdentityOwnershipAssociationDetailsAssociationDetailsInner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/IdentityOwnershipAssociationDetailsAssociationDetailsInner.Tests.ps1 new file mode 100644 index 000000000..059a4c3fa --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/IdentityOwnershipAssociationDetailsAssociationDetailsInner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024IdentityOwnershipAssociationDetailsAssociationDetailsInner' { + Context 'V2024IdentityOwnershipAssociationDetailsAssociationDetailsInner' { + It 'Initialize-V2024IdentityOwnershipAssociationDetailsAssociationDetailsInner' { + # a simple test to create an object + #$NewObject = Initialize-V2024IdentityOwnershipAssociationDetailsAssociationDetailsInner -AssociationType "TEST_VALUE" -Entities "TEST_VALUE" + #$NewObject | Should -BeOfType IdentityOwnershipAssociationDetailsAssociationDetailsInner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/IdentityPreviewRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/IdentityPreviewRequest.Tests.ps1 new file mode 100644 index 000000000..6e5100a91 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/IdentityPreviewRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024IdentityPreviewRequest' { + Context 'V2024IdentityPreviewRequest' { + It 'Initialize-V2024IdentityPreviewRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024IdentityPreviewRequest -IdentityId "TEST_VALUE" -IdentityAttributeConfig "TEST_VALUE" + #$NewObject | Should -BeOfType IdentityPreviewRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/IdentityPreviewResponse.Tests.ps1 b/PSSailpoint/v2024/tests/Model/IdentityPreviewResponse.Tests.ps1 new file mode 100644 index 000000000..3cb71548a --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/IdentityPreviewResponse.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024IdentityPreviewResponse' { + Context 'V2024IdentityPreviewResponse' { + It 'Initialize-V2024IdentityPreviewResponse' { + # a simple test to create an object + #$NewObject = Initialize-V2024IdentityPreviewResponse -Identity "TEST_VALUE" -PreviewAttributes "TEST_VALUE" + #$NewObject | Should -BeOfType IdentityPreviewResponse + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/IdentityPreviewResponseIdentity.Tests.ps1 b/PSSailpoint/v2024/tests/Model/IdentityPreviewResponseIdentity.Tests.ps1 new file mode 100644 index 000000000..755609005 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/IdentityPreviewResponseIdentity.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024IdentityPreviewResponseIdentity' { + Context 'V2024IdentityPreviewResponseIdentity' { + It 'Initialize-V2024IdentityPreviewResponseIdentity' { + # a simple test to create an object + #$NewObject = Initialize-V2024IdentityPreviewResponseIdentity -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType IdentityPreviewResponseIdentity + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/IdentityProfile.Tests.ps1 b/PSSailpoint/v2024/tests/Model/IdentityProfile.Tests.ps1 new file mode 100644 index 000000000..5ebec793c --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/IdentityProfile.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024IdentityProfile' { + Context 'V2024IdentityProfile' { + It 'Initialize-V2024IdentityProfile' { + # a simple test to create an object + #$NewObject = Initialize-V2024IdentityProfile -Id "TEST_VALUE" -Name "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" -Description "TEST_VALUE" -Owner "TEST_VALUE" -Priority "TEST_VALUE" -AuthoritativeSource "TEST_VALUE" -IdentityRefreshRequired "TEST_VALUE" -IdentityCount "TEST_VALUE" -IdentityAttributeConfig "TEST_VALUE" -IdentityExceptionReportReference "TEST_VALUE" -HasTimeBasedAttr "TEST_VALUE" + #$NewObject | Should -BeOfType IdentityProfile + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/IdentityProfileAllOfAuthoritativeSource.Tests.ps1 b/PSSailpoint/v2024/tests/Model/IdentityProfileAllOfAuthoritativeSource.Tests.ps1 new file mode 100644 index 000000000..2b23d8521 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/IdentityProfileAllOfAuthoritativeSource.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024IdentityProfileAllOfAuthoritativeSource' { + Context 'V2024IdentityProfileAllOfAuthoritativeSource' { + It 'Initialize-V2024IdentityProfileAllOfAuthoritativeSource' { + # a simple test to create an object + #$NewObject = Initialize-V2024IdentityProfileAllOfAuthoritativeSource -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType IdentityProfileAllOfAuthoritativeSource + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/IdentityProfileAllOfOwner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/IdentityProfileAllOfOwner.Tests.ps1 new file mode 100644 index 000000000..c70f36bf8 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/IdentityProfileAllOfOwner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024IdentityProfileAllOfOwner' { + Context 'V2024IdentityProfileAllOfOwner' { + It 'Initialize-V2024IdentityProfileAllOfOwner' { + # a simple test to create an object + #$NewObject = Initialize-V2024IdentityProfileAllOfOwner -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType IdentityProfileAllOfOwner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/IdentityProfileExportedObject.Tests.ps1 b/PSSailpoint/v2024/tests/Model/IdentityProfileExportedObject.Tests.ps1 new file mode 100644 index 000000000..62ecd0596 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/IdentityProfileExportedObject.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024IdentityProfileExportedObject' { + Context 'V2024IdentityProfileExportedObject' { + It 'Initialize-V2024IdentityProfileExportedObject' { + # a simple test to create an object + #$NewObject = Initialize-V2024IdentityProfileExportedObject -Version "TEST_VALUE" -Self "TEST_VALUE" -Object "TEST_VALUE" + #$NewObject | Should -BeOfType IdentityProfileExportedObject + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/IdentityProfileExportedObjectSelf.Tests.ps1 b/PSSailpoint/v2024/tests/Model/IdentityProfileExportedObjectSelf.Tests.ps1 new file mode 100644 index 000000000..144a0c0c7 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/IdentityProfileExportedObjectSelf.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024IdentityProfileExportedObjectSelf' { + Context 'V2024IdentityProfileExportedObjectSelf' { + It 'Initialize-V2024IdentityProfileExportedObjectSelf' { + # a simple test to create an object + #$NewObject = Initialize-V2024IdentityProfileExportedObjectSelf -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType IdentityProfileExportedObjectSelf + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/IdentityProfileIdentityErrorReportArguments.Tests.ps1 b/PSSailpoint/v2024/tests/Model/IdentityProfileIdentityErrorReportArguments.Tests.ps1 new file mode 100644 index 000000000..9d9aaf79d --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/IdentityProfileIdentityErrorReportArguments.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024IdentityProfileIdentityErrorReportArguments' { + Context 'V2024IdentityProfileIdentityErrorReportArguments' { + It 'Initialize-V2024IdentityProfileIdentityErrorReportArguments' { + # a simple test to create an object + #$NewObject = Initialize-V2024IdentityProfileIdentityErrorReportArguments -AuthoritativeSource "TEST_VALUE" + #$NewObject | Should -BeOfType IdentityProfileIdentityErrorReportArguments + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/IdentityReference.Tests.ps1 b/PSSailpoint/v2024/tests/Model/IdentityReference.Tests.ps1 new file mode 100644 index 000000000..860639843 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/IdentityReference.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024IdentityReference' { + Context 'V2024IdentityReference' { + It 'Initialize-V2024IdentityReference' { + # a simple test to create an object + #$NewObject = Initialize-V2024IdentityReference -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType IdentityReference + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/IdentityReferenceWithNameAndEmail.Tests.ps1 b/PSSailpoint/v2024/tests/Model/IdentityReferenceWithNameAndEmail.Tests.ps1 new file mode 100644 index 000000000..02232ea2e --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/IdentityReferenceWithNameAndEmail.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024IdentityReferenceWithNameAndEmail' { + Context 'V2024IdentityReferenceWithNameAndEmail' { + It 'Initialize-V2024IdentityReferenceWithNameAndEmail' { + # a simple test to create an object + #$NewObject = Initialize-V2024IdentityReferenceWithNameAndEmail -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" -Email "TEST_VALUE" + #$NewObject | Should -BeOfType IdentityReferenceWithNameAndEmail + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/IdentitySnapshotSummaryResponse.Tests.ps1 b/PSSailpoint/v2024/tests/Model/IdentitySnapshotSummaryResponse.Tests.ps1 new file mode 100644 index 000000000..0c7cb9444 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/IdentitySnapshotSummaryResponse.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024IdentitySnapshotSummaryResponse' { + Context 'V2024IdentitySnapshotSummaryResponse' { + It 'Initialize-V2024IdentitySnapshotSummaryResponse' { + # a simple test to create an object + #$NewObject = Initialize-V2024IdentitySnapshotSummaryResponse -Snapshot "TEST_VALUE" + #$NewObject | Should -BeOfType IdentitySnapshotSummaryResponse + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/IdentitySummary.Tests.ps1 b/PSSailpoint/v2024/tests/Model/IdentitySummary.Tests.ps1 new file mode 100644 index 000000000..5a1b7890e --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/IdentitySummary.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024IdentitySummary' { + Context 'V2024IdentitySummary' { + It 'Initialize-V2024IdentitySummary' { + # a simple test to create an object + #$NewObject = Initialize-V2024IdentitySummary -Id "TEST_VALUE" -Name "TEST_VALUE" -IdentityId "TEST_VALUE" -Completed "TEST_VALUE" + #$NewObject | Should -BeOfType IdentitySummary + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/IdentitySyncJob.Tests.ps1 b/PSSailpoint/v2024/tests/Model/IdentitySyncJob.Tests.ps1 new file mode 100644 index 000000000..f98b96d5b --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/IdentitySyncJob.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024IdentitySyncJob' { + Context 'V2024IdentitySyncJob' { + It 'Initialize-V2024IdentitySyncJob' { + # a simple test to create an object + #$NewObject = Initialize-V2024IdentitySyncJob -Id "TEST_VALUE" -Status "TEST_VALUE" -Payload "TEST_VALUE" + #$NewObject | Should -BeOfType IdentitySyncJob + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/IdentitySyncPayload.Tests.ps1 b/PSSailpoint/v2024/tests/Model/IdentitySyncPayload.Tests.ps1 new file mode 100644 index 000000000..0609e727a --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/IdentitySyncPayload.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024IdentitySyncPayload' { + Context 'V2024IdentitySyncPayload' { + It 'Initialize-V2024IdentitySyncPayload' { + # a simple test to create an object + #$NewObject = Initialize-V2024IdentitySyncPayload -Type "TEST_VALUE" -DataJson "TEST_VALUE" + #$NewObject | Should -BeOfType IdentitySyncPayload + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/IdentityWithNewAccess.Tests.ps1 b/PSSailpoint/v2024/tests/Model/IdentityWithNewAccess.Tests.ps1 new file mode 100644 index 000000000..9d54314e4 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/IdentityWithNewAccess.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024IdentityWithNewAccess' { + Context 'V2024IdentityWithNewAccess' { + It 'Initialize-V2024IdentityWithNewAccess' { + # a simple test to create an object + #$NewObject = Initialize-V2024IdentityWithNewAccess -IdentityId "TEST_VALUE" -AccessRefs "TEST_VALUE" + #$NewObject | Should -BeOfType IdentityWithNewAccess + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/IdentityWithNewAccess1.Tests.ps1 b/PSSailpoint/v2024/tests/Model/IdentityWithNewAccess1.Tests.ps1 new file mode 100644 index 000000000..9fcbce532 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/IdentityWithNewAccess1.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024IdentityWithNewAccess1' { + Context 'V2024IdentityWithNewAccess1' { + It 'Initialize-V2024IdentityWithNewAccess1' { + # a simple test to create an object + #$NewObject = Initialize-V2024IdentityWithNewAccess1 -IdentityId "TEST_VALUE" -AccessRefs "TEST_VALUE" -ClientMetadata "TEST_VALUE" + #$NewObject | Should -BeOfType IdentityWithNewAccess1 + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/IdentityWithNewAccessAccessRefsInner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/IdentityWithNewAccessAccessRefsInner.Tests.ps1 new file mode 100644 index 000000000..127ecdfd3 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/IdentityWithNewAccessAccessRefsInner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024IdentityWithNewAccessAccessRefsInner' { + Context 'V2024IdentityWithNewAccessAccessRefsInner' { + It 'Initialize-V2024IdentityWithNewAccessAccessRefsInner' { + # a simple test to create an object + #$NewObject = Initialize-V2024IdentityWithNewAccessAccessRefsInner -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType IdentityWithNewAccessAccessRefsInner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ImportAccountsRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ImportAccountsRequest.Tests.ps1 new file mode 100644 index 000000000..d65ffcafa --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ImportAccountsRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ImportAccountsRequest' { + Context 'V2024ImportAccountsRequest' { + It 'Initialize-V2024ImportAccountsRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024ImportAccountsRequest -File "TEST_VALUE" -DisableOptimization "TEST_VALUE" + #$NewObject | Should -BeOfType ImportAccountsRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ImportEntitlementsBySourceRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ImportEntitlementsBySourceRequest.Tests.ps1 new file mode 100644 index 000000000..7861f49d9 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ImportEntitlementsBySourceRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ImportEntitlementsBySourceRequest' { + Context 'V2024ImportEntitlementsBySourceRequest' { + It 'Initialize-V2024ImportEntitlementsBySourceRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024ImportEntitlementsBySourceRequest -CsvFile "TEST_VALUE" + #$NewObject | Should -BeOfType ImportEntitlementsBySourceRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ImportFormDefinitions202Response.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ImportFormDefinitions202Response.Tests.ps1 new file mode 100644 index 000000000..40f95a986 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ImportFormDefinitions202Response.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ImportFormDefinitions202Response' { + Context 'V2024ImportFormDefinitions202Response' { + It 'Initialize-V2024ImportFormDefinitions202Response' { + # a simple test to create an object + #$NewObject = Initialize-V2024ImportFormDefinitions202Response -Errors "TEST_VALUE" -ImportedObjects "TEST_VALUE" -Infos "TEST_VALUE" -Warnings "TEST_VALUE" + #$NewObject | Should -BeOfType ImportFormDefinitions202Response + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ImportFormDefinitions202ResponseErrorsInner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ImportFormDefinitions202ResponseErrorsInner.Tests.ps1 new file mode 100644 index 000000000..a66b9e262 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ImportFormDefinitions202ResponseErrorsInner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ImportFormDefinitions202ResponseErrorsInner' { + Context 'V2024ImportFormDefinitions202ResponseErrorsInner' { + It 'Initialize-V2024ImportFormDefinitions202ResponseErrorsInner' { + # a simple test to create an object + #$NewObject = Initialize-V2024ImportFormDefinitions202ResponseErrorsInner -Detail "TEST_VALUE" -Key "TEST_VALUE" -Text "TEST_VALUE" + #$NewObject | Should -BeOfType ImportFormDefinitions202ResponseErrorsInner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ImportNonEmployeeRecordsInBulkRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ImportNonEmployeeRecordsInBulkRequest.Tests.ps1 new file mode 100644 index 000000000..a03ed0646 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ImportNonEmployeeRecordsInBulkRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ImportNonEmployeeRecordsInBulkRequest' { + Context 'V2024ImportNonEmployeeRecordsInBulkRequest' { + It 'Initialize-V2024ImportNonEmployeeRecordsInBulkRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024ImportNonEmployeeRecordsInBulkRequest -VarData "TEST_VALUE" + #$NewObject | Should -BeOfType ImportNonEmployeeRecordsInBulkRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ImportObject.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ImportObject.Tests.ps1 new file mode 100644 index 000000000..2893a00db --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ImportObject.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ImportObject' { + Context 'V2024ImportObject' { + It 'Initialize-V2024ImportObject' { + # a simple test to create an object + #$NewObject = Initialize-V2024ImportObject -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType ImportObject + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ImportOptions.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ImportOptions.Tests.ps1 new file mode 100644 index 000000000..af729e3ad --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ImportOptions.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ImportOptions' { + Context 'V2024ImportOptions' { + It 'Initialize-V2024ImportOptions' { + # a simple test to create an object + #$NewObject = Initialize-V2024ImportOptions -ExcludeTypes "TEST_VALUE" -IncludeTypes "TEST_VALUE" -ObjectOptions "TEST_VALUE" -DefaultReferences "TEST_VALUE" -ExcludeBackup "TEST_VALUE" + #$NewObject | Should -BeOfType ImportOptions + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ImportSpConfigRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ImportSpConfigRequest.Tests.ps1 new file mode 100644 index 000000000..4cdef7f0e --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ImportSpConfigRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ImportSpConfigRequest' { + Context 'V2024ImportSpConfigRequest' { + It 'Initialize-V2024ImportSpConfigRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024ImportSpConfigRequest -VarData "TEST_VALUE" -Options "TEST_VALUE" + #$NewObject | Should -BeOfType ImportSpConfigRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ImportUploadedBackupRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ImportUploadedBackupRequest.Tests.ps1 new file mode 100644 index 000000000..ae250fd2a --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ImportUploadedBackupRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ImportUploadedBackupRequest' { + Context 'V2024ImportUploadedBackupRequest' { + It 'Initialize-V2024ImportUploadedBackupRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024ImportUploadedBackupRequest -VarData "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType ImportUploadedBackupRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Index.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Index.Tests.ps1 new file mode 100644 index 000000000..f8081ab92 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Index.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Index' { + Context 'V2024Index' { + It 'Initialize-V2024Index' { + # a simple test to create an object + #$NewObject = Initialize-V2024Index + #$NewObject | Should -BeOfType Index + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/IndexOf.Tests.ps1 b/PSSailpoint/v2024/tests/Model/IndexOf.Tests.ps1 new file mode 100644 index 000000000..418cdc742 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/IndexOf.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024IndexOf' { + Context 'V2024IndexOf' { + It 'Initialize-V2024IndexOf' { + # a simple test to create an object + #$NewObject = Initialize-V2024IndexOf -Substring "TEST_VALUE" -RequiresPeriodicRefresh "TEST_VALUE" -VarInput "TEST_VALUE" + #$NewObject | Should -BeOfType IndexOf + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/InnerHit.Tests.ps1 b/PSSailpoint/v2024/tests/Model/InnerHit.Tests.ps1 new file mode 100644 index 000000000..11037621c --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/InnerHit.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024InnerHit' { + Context 'V2024InnerHit' { + It 'Initialize-V2024InnerHit' { + # a simple test to create an object + #$NewObject = Initialize-V2024InnerHit -Query "TEST_VALUE" -Type "TEST_VALUE" + #$NewObject | Should -BeOfType InnerHit + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Invocation.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Invocation.Tests.ps1 new file mode 100644 index 000000000..737a05917 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Invocation.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Invocation' { + Context 'V2024Invocation' { + It 'Initialize-V2024Invocation' { + # a simple test to create an object + #$NewObject = Initialize-V2024Invocation -Id "TEST_VALUE" -TriggerId "TEST_VALUE" -Secret "TEST_VALUE" -ContentJson "TEST_VALUE" + #$NewObject | Should -BeOfType Invocation + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/InvocationStatus.Tests.ps1 b/PSSailpoint/v2024/tests/Model/InvocationStatus.Tests.ps1 new file mode 100644 index 000000000..cfc171aeb --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/InvocationStatus.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024InvocationStatus' { + Context 'V2024InvocationStatus' { + It 'Initialize-V2024InvocationStatus' { + # a simple test to create an object + #$NewObject = Initialize-V2024InvocationStatus -Id "TEST_VALUE" -TriggerId "TEST_VALUE" -SubscriptionName "TEST_VALUE" -SubscriptionId "TEST_VALUE" -Type "TEST_VALUE" -Created "TEST_VALUE" -Completed "TEST_VALUE" -StartInvocationInput "TEST_VALUE" -CompleteInvocationInput "TEST_VALUE" + #$NewObject | Should -BeOfType InvocationStatus + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/InvocationStatusType.Tests.ps1 b/PSSailpoint/v2024/tests/Model/InvocationStatusType.Tests.ps1 new file mode 100644 index 000000000..e4dca63ac --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/InvocationStatusType.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024InvocationStatusType' { + Context 'V2024InvocationStatusType' { + It 'Initialize-V2024InvocationStatusType' { + # a simple test to create an object + #$NewObject = Initialize-V2024InvocationStatusType + #$NewObject | Should -BeOfType InvocationStatusType + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/JsonPatch.Tests.ps1 b/PSSailpoint/v2024/tests/Model/JsonPatch.Tests.ps1 new file mode 100644 index 000000000..1af23f4ae --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/JsonPatch.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024JsonPatch' { + Context 'V2024JsonPatch' { + It 'Initialize-V2024JsonPatch' { + # a simple test to create an object + #$NewObject = Initialize-V2024JsonPatch -Operations "TEST_VALUE" + #$NewObject | Should -BeOfType JsonPatch + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/JsonPatchOperation.Tests.ps1 b/PSSailpoint/v2024/tests/Model/JsonPatchOperation.Tests.ps1 new file mode 100644 index 000000000..b88df2181 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/JsonPatchOperation.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024JsonPatchOperation' { + Context 'V2024JsonPatchOperation' { + It 'Initialize-V2024JsonPatchOperation' { + # a simple test to create an object + #$NewObject = Initialize-V2024JsonPatchOperation -Op "TEST_VALUE" -Path "TEST_VALUE" -Value "TEST_VALUE" + #$NewObject | Should -BeOfType JsonPatchOperation + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/JsonPatchOperationValue.Tests.ps1 b/PSSailpoint/v2024/tests/Model/JsonPatchOperationValue.Tests.ps1 new file mode 100644 index 000000000..76777ba79 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/JsonPatchOperationValue.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024JsonPatchOperationValue' { + Context 'V2024JsonPatchOperationValue' { + It 'Initialize-V2024JsonPatchOperationValue' { + # a simple test to create an object + #$NewObject = Initialize-V2024JsonPatchOperationValue + #$NewObject | Should -BeOfType JsonPatchOperationValue + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/KbaAnswerRequestItem.Tests.ps1 b/PSSailpoint/v2024/tests/Model/KbaAnswerRequestItem.Tests.ps1 new file mode 100644 index 000000000..bdeaf5008 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/KbaAnswerRequestItem.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024KbaAnswerRequestItem' { + Context 'V2024KbaAnswerRequestItem' { + It 'Initialize-V2024KbaAnswerRequestItem' { + # a simple test to create an object + #$NewObject = Initialize-V2024KbaAnswerRequestItem -Id "TEST_VALUE" -Answer "TEST_VALUE" + #$NewObject | Should -BeOfType KbaAnswerRequestItem + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/KbaAnswerResponseItem.Tests.ps1 b/PSSailpoint/v2024/tests/Model/KbaAnswerResponseItem.Tests.ps1 new file mode 100644 index 000000000..4c00bc411 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/KbaAnswerResponseItem.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024KbaAnswerResponseItem' { + Context 'V2024KbaAnswerResponseItem' { + It 'Initialize-V2024KbaAnswerResponseItem' { + # a simple test to create an object + #$NewObject = Initialize-V2024KbaAnswerResponseItem -Id "TEST_VALUE" -Question "TEST_VALUE" -HasAnswer "TEST_VALUE" + #$NewObject | Should -BeOfType KbaAnswerResponseItem + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/KbaQuestion.Tests.ps1 b/PSSailpoint/v2024/tests/Model/KbaQuestion.Tests.ps1 new file mode 100644 index 000000000..6fbe0d5f4 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/KbaQuestion.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024KbaQuestion' { + Context 'V2024KbaQuestion' { + It 'Initialize-V2024KbaQuestion' { + # a simple test to create an object + #$NewObject = Initialize-V2024KbaQuestion -Id "TEST_VALUE" -Text "TEST_VALUE" -HasAnswer "TEST_VALUE" -NumAnswers "TEST_VALUE" + #$NewObject | Should -BeOfType KbaQuestion + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/LatestOutlierSummary.Tests.ps1 b/PSSailpoint/v2024/tests/Model/LatestOutlierSummary.Tests.ps1 new file mode 100644 index 000000000..af953ee64 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/LatestOutlierSummary.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024LatestOutlierSummary' { + Context 'V2024LatestOutlierSummary' { + It 'Initialize-V2024LatestOutlierSummary' { + # a simple test to create an object + #$NewObject = Initialize-V2024LatestOutlierSummary -Type "TEST_VALUE" -SnapshotDate "TEST_VALUE" -TotalOutliers "TEST_VALUE" -TotalIdentities "TEST_VALUE" -TotalIgnored "TEST_VALUE" + #$NewObject | Should -BeOfType LatestOutlierSummary + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/LeftPad.Tests.ps1 b/PSSailpoint/v2024/tests/Model/LeftPad.Tests.ps1 new file mode 100644 index 000000000..82e6f8644 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/LeftPad.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024LeftPad' { + Context 'V2024LeftPad' { + It 'Initialize-V2024LeftPad' { + # a simple test to create an object + #$NewObject = Initialize-V2024LeftPad -Length "TEST_VALUE" -Padding "TEST_VALUE" -RequiresPeriodicRefresh "TEST_VALUE" -VarInput "TEST_VALUE" + #$NewObject | Should -BeOfType LeftPad + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/License.Tests.ps1 b/PSSailpoint/v2024/tests/Model/License.Tests.ps1 new file mode 100644 index 000000000..63b7e6661 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/License.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024License' { + Context 'V2024License' { + It 'Initialize-V2024License' { + # a simple test to create an object + #$NewObject = Initialize-V2024License -LicenseId "TEST_VALUE" -LegacyFeatureName "TEST_VALUE" + #$NewObject | Should -BeOfType License + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/LifecycleState.Tests.ps1 b/PSSailpoint/v2024/tests/Model/LifecycleState.Tests.ps1 new file mode 100644 index 000000000..16fb2d477 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/LifecycleState.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024LifecycleState' { + Context 'V2024LifecycleState' { + It 'Initialize-V2024LifecycleState' { + # a simple test to create an object + #$NewObject = Initialize-V2024LifecycleState -Id "TEST_VALUE" -Name "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" -Enabled "TEST_VALUE" -TechnicalName "TEST_VALUE" -Description "TEST_VALUE" -IdentityCount "TEST_VALUE" -EmailNotificationOption "TEST_VALUE" -AccountActions "TEST_VALUE" -AccessProfileIds "TEST_VALUE" -IdentityState "TEST_VALUE" + #$NewObject | Should -BeOfType LifecycleState + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/LifecycleStateDto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/LifecycleStateDto.Tests.ps1 new file mode 100644 index 000000000..97a1b3028 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/LifecycleStateDto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024LifecycleStateDto' { + Context 'V2024LifecycleStateDto' { + It 'Initialize-V2024LifecycleStateDto' { + # a simple test to create an object + #$NewObject = Initialize-V2024LifecycleStateDto -StateName "TEST_VALUE" -ManuallyUpdated "TEST_VALUE" + #$NewObject | Should -BeOfType LifecycleStateDto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/LifecyclestateDeleted.Tests.ps1 b/PSSailpoint/v2024/tests/Model/LifecyclestateDeleted.Tests.ps1 new file mode 100644 index 000000000..9235e9aa9 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/LifecyclestateDeleted.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024LifecyclestateDeleted' { + Context 'V2024LifecyclestateDeleted' { + It 'Initialize-V2024LifecyclestateDeleted' { + # a simple test to create an object + #$NewObject = Initialize-V2024LifecyclestateDeleted -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType LifecyclestateDeleted + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ListAccessProfiles401Response.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ListAccessProfiles401Response.Tests.ps1 new file mode 100644 index 000000000..7f9db63f3 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ListAccessProfiles401Response.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ListAccessProfiles401Response' { + Context 'V2024ListAccessProfiles401Response' { + It 'Initialize-V2024ListAccessProfiles401Response' { + # a simple test to create an object + #$NewObject = Initialize-V2024ListAccessProfiles401Response -VarError "TEST_VALUE" + #$NewObject | Should -BeOfType ListAccessProfiles401Response + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ListAccessProfiles429Response.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ListAccessProfiles429Response.Tests.ps1 new file mode 100644 index 000000000..78037df96 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ListAccessProfiles429Response.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ListAccessProfiles429Response' { + Context 'V2024ListAccessProfiles429Response' { + It 'Initialize-V2024ListAccessProfiles429Response' { + # a simple test to create an object + #$NewObject = Initialize-V2024ListAccessProfiles429Response -Message "TEST_VALUE" + #$NewObject | Should -BeOfType ListAccessProfiles429Response + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ListCampaignFilters200Response.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ListCampaignFilters200Response.Tests.ps1 new file mode 100644 index 000000000..1b51e3515 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ListCampaignFilters200Response.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ListCampaignFilters200Response' { + Context 'V2024ListCampaignFilters200Response' { + It 'Initialize-V2024ListCampaignFilters200Response' { + # a simple test to create an object + #$NewObject = Initialize-V2024ListCampaignFilters200Response -Items "TEST_VALUE" -Count "TEST_VALUE" + #$NewObject | Should -BeOfType ListCampaignFilters200Response + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ListCompleteWorkflowLibrary200ResponseInner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ListCompleteWorkflowLibrary200ResponseInner.Tests.ps1 new file mode 100644 index 000000000..c57cec4c0 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ListCompleteWorkflowLibrary200ResponseInner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ListCompleteWorkflowLibrary200ResponseInner' { + Context 'V2024ListCompleteWorkflowLibrary200ResponseInner' { + It 'Initialize-V2024ListCompleteWorkflowLibrary200ResponseInner' { + # a simple test to create an object + #$NewObject = Initialize-V2024ListCompleteWorkflowLibrary200ResponseInner -Id "TEST_VALUE" -Name "TEST_VALUE" -Type "TEST_VALUE" -Description "TEST_VALUE" -FormFields "TEST_VALUE" -ExampleOutput "TEST_VALUE" -Deprecated "TEST_VALUE" -DeprecatedBy "TEST_VALUE" -VersionNumber "TEST_VALUE" -IsSimulationEnabled "TEST_VALUE" -IsDynamicSchema "TEST_VALUE" -OutputSchema "TEST_VALUE" -InputExample "TEST_VALUE" + #$NewObject | Should -BeOfType ListCompleteWorkflowLibrary200ResponseInner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ListFormDefinitionsByTenantResponse.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ListFormDefinitionsByTenantResponse.Tests.ps1 new file mode 100644 index 000000000..c6c1e590f --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ListFormDefinitionsByTenantResponse.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ListFormDefinitionsByTenantResponse' { + Context 'V2024ListFormDefinitionsByTenantResponse' { + It 'Initialize-V2024ListFormDefinitionsByTenantResponse' { + # a simple test to create an object + #$NewObject = Initialize-V2024ListFormDefinitionsByTenantResponse -Count "TEST_VALUE" -Results "TEST_VALUE" + #$NewObject | Should -BeOfType ListFormDefinitionsByTenantResponse + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ListFormElementDataByElementIDResponse.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ListFormElementDataByElementIDResponse.Tests.ps1 new file mode 100644 index 000000000..407398dc8 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ListFormElementDataByElementIDResponse.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ListFormElementDataByElementIDResponse' { + Context 'V2024ListFormElementDataByElementIDResponse' { + It 'Initialize-V2024ListFormElementDataByElementIDResponse' { + # a simple test to create an object + #$NewObject = Initialize-V2024ListFormElementDataByElementIDResponse -Results "TEST_VALUE" + #$NewObject | Should -BeOfType ListFormElementDataByElementIDResponse + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ListFormInstancesByTenantResponse.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ListFormInstancesByTenantResponse.Tests.ps1 new file mode 100644 index 000000000..4f986a05b --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ListFormInstancesByTenantResponse.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ListFormInstancesByTenantResponse' { + Context 'V2024ListFormInstancesByTenantResponse' { + It 'Initialize-V2024ListFormInstancesByTenantResponse' { + # a simple test to create an object + #$NewObject = Initialize-V2024ListFormInstancesByTenantResponse -Count "TEST_VALUE" -Results "TEST_VALUE" + #$NewObject | Should -BeOfType ListFormInstancesByTenantResponse + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ListIdentityAccessItems200ResponseInner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ListIdentityAccessItems200ResponseInner.Tests.ps1 new file mode 100644 index 000000000..a4675ebc4 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ListIdentityAccessItems200ResponseInner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ListIdentityAccessItems200ResponseInner' { + Context 'V2024ListIdentityAccessItems200ResponseInner' { + It 'Initialize-V2024ListIdentityAccessItems200ResponseInner' { + # a simple test to create an object + #$NewObject = Initialize-V2024ListIdentityAccessItems200ResponseInner -AccessType "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" -SourceName "TEST_VALUE" -SourceId "TEST_VALUE" -Description "TEST_VALUE" -DisplayName "TEST_VALUE" -EntitlementCount "TEST_VALUE" -AppDisplayName "TEST_VALUE" -RemoveDate "TEST_VALUE" -Standalone "TEST_VALUE" -Revocable "TEST_VALUE" -NativeIdentity "TEST_VALUE" -AppRoleId "TEST_VALUE" -Attribute "TEST_VALUE" -Value "TEST_VALUE" -EntitlementType "TEST_VALUE" -Privileged "TEST_VALUE" -CloudGoverned "TEST_VALUE" + #$NewObject | Should -BeOfType ListIdentityAccessItems200ResponseInner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ListPredefinedSelectOptionsResponse.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ListPredefinedSelectOptionsResponse.Tests.ps1 new file mode 100644 index 000000000..bbffd76a6 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ListPredefinedSelectOptionsResponse.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ListPredefinedSelectOptionsResponse' { + Context 'V2024ListPredefinedSelectOptionsResponse' { + It 'Initialize-V2024ListPredefinedSelectOptionsResponse' { + # a simple test to create an object + #$NewObject = Initialize-V2024ListPredefinedSelectOptionsResponse -Results "TEST_VALUE" + #$NewObject | Should -BeOfType ListPredefinedSelectOptionsResponse + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ListWorkgroupMembers200ResponseInner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ListWorkgroupMembers200ResponseInner.Tests.ps1 new file mode 100644 index 000000000..c69690017 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ListWorkgroupMembers200ResponseInner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ListWorkgroupMembers200ResponseInner' { + Context 'V2024ListWorkgroupMembers200ResponseInner' { + It 'Initialize-V2024ListWorkgroupMembers200ResponseInner' { + # a simple test to create an object + #$NewObject = Initialize-V2024ListWorkgroupMembers200ResponseInner -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" -Email "TEST_VALUE" + #$NewObject | Should -BeOfType ListWorkgroupMembers200ResponseInner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/LoadAccountsTask.Tests.ps1 b/PSSailpoint/v2024/tests/Model/LoadAccountsTask.Tests.ps1 new file mode 100644 index 000000000..6af887e90 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/LoadAccountsTask.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024LoadAccountsTask' { + Context 'V2024LoadAccountsTask' { + It 'Initialize-V2024LoadAccountsTask' { + # a simple test to create an object + #$NewObject = Initialize-V2024LoadAccountsTask -Success "TEST_VALUE" -Task "TEST_VALUE" + #$NewObject | Should -BeOfType LoadAccountsTask + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/LoadAccountsTaskTask.Tests.ps1 b/PSSailpoint/v2024/tests/Model/LoadAccountsTaskTask.Tests.ps1 new file mode 100644 index 000000000..ebd2c9995 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/LoadAccountsTaskTask.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024LoadAccountsTaskTask' { + Context 'V2024LoadAccountsTaskTask' { + It 'Initialize-V2024LoadAccountsTaskTask' { + # a simple test to create an object + #$NewObject = Initialize-V2024LoadAccountsTaskTask -Id "TEST_VALUE" -Type "TEST_VALUE" -Name "TEST_VALUE" -Description "TEST_VALUE" -Launcher "TEST_VALUE" -Created "TEST_VALUE" -Launched "TEST_VALUE" -Completed "TEST_VALUE" -CompletionStatus "TEST_VALUE" -ParentName "TEST_VALUE" -Messages "TEST_VALUE" -Progress "TEST_VALUE" -Attributes "TEST_VALUE" -Returns "TEST_VALUE" + #$NewObject | Should -BeOfType LoadAccountsTaskTask + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/LoadAccountsTaskTaskAttributes.Tests.ps1 b/PSSailpoint/v2024/tests/Model/LoadAccountsTaskTaskAttributes.Tests.ps1 new file mode 100644 index 000000000..0d4420d66 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/LoadAccountsTaskTaskAttributes.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024LoadAccountsTaskTaskAttributes' { + Context 'V2024LoadAccountsTaskTaskAttributes' { + It 'Initialize-V2024LoadAccountsTaskTaskAttributes' { + # a simple test to create an object + #$NewObject = Initialize-V2024LoadAccountsTaskTaskAttributes -AppId "TEST_VALUE" -OptimizedAggregation "TEST_VALUE" + #$NewObject | Should -BeOfType LoadAccountsTaskTaskAttributes + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/LoadAccountsTaskTaskMessagesInner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/LoadAccountsTaskTaskMessagesInner.Tests.ps1 new file mode 100644 index 000000000..2d3d07c26 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/LoadAccountsTaskTaskMessagesInner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024LoadAccountsTaskTaskMessagesInner' { + Context 'V2024LoadAccountsTaskTaskMessagesInner' { + It 'Initialize-V2024LoadAccountsTaskTaskMessagesInner' { + # a simple test to create an object + #$NewObject = Initialize-V2024LoadAccountsTaskTaskMessagesInner -Type "TEST_VALUE" -VarError "TEST_VALUE" -Warning "TEST_VALUE" -Key "TEST_VALUE" -LocalizedText "TEST_VALUE" + #$NewObject | Should -BeOfType LoadAccountsTaskTaskMessagesInner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/LoadAccountsTaskTaskReturnsInner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/LoadAccountsTaskTaskReturnsInner.Tests.ps1 new file mode 100644 index 000000000..4b5474c7a --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/LoadAccountsTaskTaskReturnsInner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024LoadAccountsTaskTaskReturnsInner' { + Context 'V2024LoadAccountsTaskTaskReturnsInner' { + It 'Initialize-V2024LoadAccountsTaskTaskReturnsInner' { + # a simple test to create an object + #$NewObject = Initialize-V2024LoadAccountsTaskTaskReturnsInner -DisplayLabel "TEST_VALUE" -AttributeName "TEST_VALUE" + #$NewObject | Should -BeOfType LoadAccountsTaskTaskReturnsInner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/LoadEntitlementTask.Tests.ps1 b/PSSailpoint/v2024/tests/Model/LoadEntitlementTask.Tests.ps1 new file mode 100644 index 000000000..465634e4f --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/LoadEntitlementTask.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024LoadEntitlementTask' { + Context 'V2024LoadEntitlementTask' { + It 'Initialize-V2024LoadEntitlementTask' { + # a simple test to create an object + #$NewObject = Initialize-V2024LoadEntitlementTask -Id "TEST_VALUE" -Type "TEST_VALUE" -UniqueName "TEST_VALUE" -Description "TEST_VALUE" -Launcher "TEST_VALUE" -Created "TEST_VALUE" -Returns "TEST_VALUE" + #$NewObject | Should -BeOfType LoadEntitlementTask + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/LoadEntitlementTaskReturnsInner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/LoadEntitlementTaskReturnsInner.Tests.ps1 new file mode 100644 index 000000000..21dd1725b --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/LoadEntitlementTaskReturnsInner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024LoadEntitlementTaskReturnsInner' { + Context 'V2024LoadEntitlementTaskReturnsInner' { + It 'Initialize-V2024LoadEntitlementTaskReturnsInner' { + # a simple test to create an object + #$NewObject = Initialize-V2024LoadEntitlementTaskReturnsInner -DisplayLabel "TEST_VALUE" -AttributeName "TEST_VALUE" + #$NewObject | Should -BeOfType LoadEntitlementTaskReturnsInner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/LoadUncorrelatedAccountsTask.Tests.ps1 b/PSSailpoint/v2024/tests/Model/LoadUncorrelatedAccountsTask.Tests.ps1 new file mode 100644 index 000000000..d4048a391 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/LoadUncorrelatedAccountsTask.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024LoadUncorrelatedAccountsTask' { + Context 'V2024LoadUncorrelatedAccountsTask' { + It 'Initialize-V2024LoadUncorrelatedAccountsTask' { + # a simple test to create an object + #$NewObject = Initialize-V2024LoadUncorrelatedAccountsTask -Success "TEST_VALUE" -Task "TEST_VALUE" + #$NewObject | Should -BeOfType LoadUncorrelatedAccountsTask + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/LoadUncorrelatedAccountsTaskTask.Tests.ps1 b/PSSailpoint/v2024/tests/Model/LoadUncorrelatedAccountsTaskTask.Tests.ps1 new file mode 100644 index 000000000..1206a1cf7 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/LoadUncorrelatedAccountsTaskTask.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024LoadUncorrelatedAccountsTaskTask' { + Context 'V2024LoadUncorrelatedAccountsTaskTask' { + It 'Initialize-V2024LoadUncorrelatedAccountsTaskTask' { + # a simple test to create an object + #$NewObject = Initialize-V2024LoadUncorrelatedAccountsTaskTask -Id "TEST_VALUE" -Type "TEST_VALUE" -Name "TEST_VALUE" -Description "TEST_VALUE" -Launcher "TEST_VALUE" -Created "TEST_VALUE" -Launched "TEST_VALUE" -Completed "TEST_VALUE" -CompletionStatus "TEST_VALUE" -ParentName "TEST_VALUE" -Messages "TEST_VALUE" -Progress "TEST_VALUE" -Attributes "TEST_VALUE" -Returns "TEST_VALUE" + #$NewObject | Should -BeOfType LoadUncorrelatedAccountsTaskTask + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/LoadUncorrelatedAccountsTaskTaskAttributes.Tests.ps1 b/PSSailpoint/v2024/tests/Model/LoadUncorrelatedAccountsTaskTaskAttributes.Tests.ps1 new file mode 100644 index 000000000..f657a215b --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/LoadUncorrelatedAccountsTaskTaskAttributes.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024LoadUncorrelatedAccountsTaskTaskAttributes' { + Context 'V2024LoadUncorrelatedAccountsTaskTaskAttributes' { + It 'Initialize-V2024LoadUncorrelatedAccountsTaskTaskAttributes' { + # a simple test to create an object + #$NewObject = Initialize-V2024LoadUncorrelatedAccountsTaskTaskAttributes -QpocJobId "TEST_VALUE" -TaskStartDelay "TEST_VALUE" + #$NewObject | Should -BeOfType LoadUncorrelatedAccountsTaskTaskAttributes + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/LoadUncorrelatedAccountsTaskTaskMessagesInner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/LoadUncorrelatedAccountsTaskTaskMessagesInner.Tests.ps1 new file mode 100644 index 000000000..cf7b16567 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/LoadUncorrelatedAccountsTaskTaskMessagesInner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024LoadUncorrelatedAccountsTaskTaskMessagesInner' { + Context 'V2024LoadUncorrelatedAccountsTaskTaskMessagesInner' { + It 'Initialize-V2024LoadUncorrelatedAccountsTaskTaskMessagesInner' { + # a simple test to create an object + #$NewObject = Initialize-V2024LoadUncorrelatedAccountsTaskTaskMessagesInner -Type "TEST_VALUE" -VarError "TEST_VALUE" -Warning "TEST_VALUE" -Key "TEST_VALUE" -LocalizedText "TEST_VALUE" + #$NewObject | Should -BeOfType LoadUncorrelatedAccountsTaskTaskMessagesInner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/LocaleOrigin.Tests.ps1 b/PSSailpoint/v2024/tests/Model/LocaleOrigin.Tests.ps1 new file mode 100644 index 000000000..ac8fae614 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/LocaleOrigin.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024LocaleOrigin' { + Context 'V2024LocaleOrigin' { + It 'Initialize-V2024LocaleOrigin' { + # a simple test to create an object + #$NewObject = Initialize-V2024LocaleOrigin + #$NewObject | Should -BeOfType LocaleOrigin + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/LocalizedMessage.Tests.ps1 b/PSSailpoint/v2024/tests/Model/LocalizedMessage.Tests.ps1 new file mode 100644 index 000000000..d0ad14e58 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/LocalizedMessage.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024LocalizedMessage' { + Context 'V2024LocalizedMessage' { + It 'Initialize-V2024LocalizedMessage' { + # a simple test to create an object + #$NewObject = Initialize-V2024LocalizedMessage -Locale "TEST_VALUE" -Message "TEST_VALUE" + #$NewObject | Should -BeOfType LocalizedMessage + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Lookup.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Lookup.Tests.ps1 new file mode 100644 index 000000000..af73bdfeb --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Lookup.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Lookup' { + Context 'V2024Lookup' { + It 'Initialize-V2024Lookup' { + # a simple test to create an object + #$NewObject = Initialize-V2024Lookup -Table "TEST_VALUE" -RequiresPeriodicRefresh "TEST_VALUE" -VarInput "TEST_VALUE" + #$NewObject | Should -BeOfType Lookup + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/LookupStep.Tests.ps1 b/PSSailpoint/v2024/tests/Model/LookupStep.Tests.ps1 new file mode 100644 index 000000000..40dbf8648 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/LookupStep.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024LookupStep' { + Context 'V2024LookupStep' { + It 'Initialize-V2024LookupStep' { + # a simple test to create an object + #$NewObject = Initialize-V2024LookupStep -ReassignedToId "TEST_VALUE" -ReassignedFromId "TEST_VALUE" -ReassignmentType "TEST_VALUE" + #$NewObject | Should -BeOfType LookupStep + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Lower.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Lower.Tests.ps1 new file mode 100644 index 000000000..cfc8f3316 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Lower.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Lower' { + Context 'V2024Lower' { + It 'Initialize-V2024Lower' { + # a simple test to create an object + #$NewObject = Initialize-V2024Lower -RequiresPeriodicRefresh "TEST_VALUE" -VarInput "TEST_VALUE" + #$NewObject | Should -BeOfType Lower + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/MailFromAttributes.Tests.ps1 b/PSSailpoint/v2024/tests/Model/MailFromAttributes.Tests.ps1 new file mode 100644 index 000000000..0e15ca380 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/MailFromAttributes.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024MailFromAttributes' { + Context 'V2024MailFromAttributes' { + It 'Initialize-V2024MailFromAttributes' { + # a simple test to create an object + #$NewObject = Initialize-V2024MailFromAttributes -Identity "TEST_VALUE" -MailFromDomain "TEST_VALUE" -MxRecord "TEST_VALUE" -TxtRecord "TEST_VALUE" -MailFromDomainStatus "TEST_VALUE" + #$NewObject | Should -BeOfType MailFromAttributes + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/MailFromAttributesDto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/MailFromAttributesDto.Tests.ps1 new file mode 100644 index 000000000..ab9378e3d --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/MailFromAttributesDto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024MailFromAttributesDto' { + Context 'V2024MailFromAttributesDto' { + It 'Initialize-V2024MailFromAttributesDto' { + # a simple test to create an object + #$NewObject = Initialize-V2024MailFromAttributesDto -Identity "TEST_VALUE" -MailFromDomain "TEST_VALUE" + #$NewObject | Should -BeOfType MailFromAttributesDto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ManagedClient.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ManagedClient.Tests.ps1 new file mode 100644 index 000000000..15598d8b3 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ManagedClient.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ManagedClient' { + Context 'V2024ManagedClient' { + It 'Initialize-V2024ManagedClient' { + # a simple test to create an object + #$NewObject = Initialize-V2024ManagedClient -Id "TEST_VALUE" -AlertKey "TEST_VALUE" -ApiGatewayBaseUrl "TEST_VALUE" -Cookbook "TEST_VALUE" -CcId "TEST_VALUE" -ClientId "TEST_VALUE" -ClusterId "TEST_VALUE" -Description "TEST_VALUE" -IpAddress "TEST_VALUE" -LastSeen "TEST_VALUE" -Name "TEST_VALUE" -SinceLastSeen "TEST_VALUE" -Status "TEST_VALUE" -Type "TEST_VALUE" -ClusterType "TEST_VALUE" -VaDownloadUrl "TEST_VALUE" -VaVersion "TEST_VALUE" -Secret "TEST_VALUE" -CreatedAt "TEST_VALUE" -UpdatedAt "TEST_VALUE" -ProvisionStatus "TEST_VALUE" + #$NewObject | Should -BeOfType ManagedClient + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ManagedClientRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ManagedClientRequest.Tests.ps1 new file mode 100644 index 000000000..90064a45d --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ManagedClientRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ManagedClientRequest' { + Context 'V2024ManagedClientRequest' { + It 'Initialize-V2024ManagedClientRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024ManagedClientRequest -ClusterId "TEST_VALUE" -Description "TEST_VALUE" -Name "TEST_VALUE" -Type "TEST_VALUE" + #$NewObject | Should -BeOfType ManagedClientRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ManagedClientStatus.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ManagedClientStatus.Tests.ps1 new file mode 100644 index 000000000..e58f9825e --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ManagedClientStatus.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ManagedClientStatus' { + Context 'V2024ManagedClientStatus' { + It 'Initialize-V2024ManagedClientStatus' { + # a simple test to create an object + #$NewObject = Initialize-V2024ManagedClientStatus -Body "TEST_VALUE" -Status "TEST_VALUE" -Type "TEST_VALUE" -Timestamp "TEST_VALUE" + #$NewObject | Should -BeOfType ManagedClientStatus + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ManagedClientStatusCode.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ManagedClientStatusCode.Tests.ps1 new file mode 100644 index 000000000..5b526c728 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ManagedClientStatusCode.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ManagedClientStatusCode' { + Context 'V2024ManagedClientStatusCode' { + It 'Initialize-V2024ManagedClientStatusCode' { + # a simple test to create an object + #$NewObject = Initialize-V2024ManagedClientStatusCode + #$NewObject | Should -BeOfType ManagedClientStatusCode + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ManagedClientType.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ManagedClientType.Tests.ps1 new file mode 100644 index 000000000..c03c7448c --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ManagedClientType.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ManagedClientType' { + Context 'V2024ManagedClientType' { + It 'Initialize-V2024ManagedClientType' { + # a simple test to create an object + #$NewObject = Initialize-V2024ManagedClientType + #$NewObject | Should -BeOfType ManagedClientType + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ManagedCluster.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ManagedCluster.Tests.ps1 new file mode 100644 index 000000000..58769484c --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ManagedCluster.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ManagedCluster' { + Context 'V2024ManagedCluster' { + It 'Initialize-V2024ManagedCluster' { + # a simple test to create an object + #$NewObject = Initialize-V2024ManagedCluster -Id "TEST_VALUE" -Name "TEST_VALUE" -Pod "TEST_VALUE" -Org "TEST_VALUE" -Type "TEST_VALUE" -Configuration "TEST_VALUE" -KeyPair "TEST_VALUE" -Attributes "TEST_VALUE" -Description "TEST_VALUE" -Redis "TEST_VALUE" -ClientType "TEST_VALUE" -CcgVersion "TEST_VALUE" -PinnedConfig "TEST_VALUE" -LogConfiguration "TEST_VALUE" -Operational "TEST_VALUE" -Status "TEST_VALUE" -PublicKeyCertificate "TEST_VALUE" -PublicKeyThumbprint "TEST_VALUE" -PublicKey "TEST_VALUE" -AlertKey "TEST_VALUE" -ClientIds "TEST_VALUE" -ServiceCount "TEST_VALUE" -CcId "TEST_VALUE" -CreatedAt "TEST_VALUE" -UpdatedAt "TEST_VALUE" + #$NewObject | Should -BeOfType ManagedCluster + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ManagedClusterAttributes.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ManagedClusterAttributes.Tests.ps1 new file mode 100644 index 000000000..2cda90fc6 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ManagedClusterAttributes.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ManagedClusterAttributes' { + Context 'V2024ManagedClusterAttributes' { + It 'Initialize-V2024ManagedClusterAttributes' { + # a simple test to create an object + #$NewObject = Initialize-V2024ManagedClusterAttributes -Queue "TEST_VALUE" -Keystore "TEST_VALUE" + #$NewObject | Should -BeOfType ManagedClusterAttributes + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ManagedClusterKeyPair.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ManagedClusterKeyPair.Tests.ps1 new file mode 100644 index 000000000..3e080ba1e --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ManagedClusterKeyPair.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ManagedClusterKeyPair' { + Context 'V2024ManagedClusterKeyPair' { + It 'Initialize-V2024ManagedClusterKeyPair' { + # a simple test to create an object + #$NewObject = Initialize-V2024ManagedClusterKeyPair -PublicKey "TEST_VALUE" -PublicKeyThumbprint "TEST_VALUE" -PublicKeyCertificate "TEST_VALUE" + #$NewObject | Should -BeOfType ManagedClusterKeyPair + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ManagedClusterQueue.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ManagedClusterQueue.Tests.ps1 new file mode 100644 index 000000000..9302387b6 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ManagedClusterQueue.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ManagedClusterQueue' { + Context 'V2024ManagedClusterQueue' { + It 'Initialize-V2024ManagedClusterQueue' { + # a simple test to create an object + #$NewObject = Initialize-V2024ManagedClusterQueue -Name "TEST_VALUE" -Region "TEST_VALUE" + #$NewObject | Should -BeOfType ManagedClusterQueue + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ManagedClusterRedis.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ManagedClusterRedis.Tests.ps1 new file mode 100644 index 000000000..b385b42e8 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ManagedClusterRedis.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ManagedClusterRedis' { + Context 'V2024ManagedClusterRedis' { + It 'Initialize-V2024ManagedClusterRedis' { + # a simple test to create an object + #$NewObject = Initialize-V2024ManagedClusterRedis -RedisHost "TEST_VALUE" -RedisPort "TEST_VALUE" + #$NewObject | Should -BeOfType ManagedClusterRedis + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ManagedClusterRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ManagedClusterRequest.Tests.ps1 new file mode 100644 index 000000000..9d9e4e073 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ManagedClusterRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ManagedClusterRequest' { + Context 'V2024ManagedClusterRequest' { + It 'Initialize-V2024ManagedClusterRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024ManagedClusterRequest -Name "TEST_VALUE" -Type "TEST_VALUE" -Configuration "TEST_VALUE" -Description "TEST_VALUE" + #$NewObject | Should -BeOfType ManagedClusterRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ManagedClusterTypes.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ManagedClusterTypes.Tests.ps1 new file mode 100644 index 000000000..ed244b7a7 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ManagedClusterTypes.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ManagedClusterTypes' { + Context 'V2024ManagedClusterTypes' { + It 'Initialize-V2024ManagedClusterTypes' { + # a simple test to create an object + #$NewObject = Initialize-V2024ManagedClusterTypes + #$NewObject | Should -BeOfType ManagedClusterTypes + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ManagerCorrelationMapping.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ManagerCorrelationMapping.Tests.ps1 new file mode 100644 index 000000000..b95cb7d4d --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ManagerCorrelationMapping.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ManagerCorrelationMapping' { + Context 'V2024ManagerCorrelationMapping' { + It 'Initialize-V2024ManagerCorrelationMapping' { + # a simple test to create an object + #$NewObject = Initialize-V2024ManagerCorrelationMapping -AccountAttributeName "TEST_VALUE" -IdentityAttributeName "TEST_VALUE" + #$NewObject | Should -BeOfType ManagerCorrelationMapping + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ManualDiscoverApplications.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ManualDiscoverApplications.Tests.ps1 new file mode 100644 index 000000000..df2b444f3 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ManualDiscoverApplications.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ManualDiscoverApplications' { + Context 'V2024ManualDiscoverApplications' { + It 'Initialize-V2024ManualDiscoverApplications' { + # a simple test to create an object + #$NewObject = Initialize-V2024ManualDiscoverApplications -File "TEST_VALUE" + #$NewObject | Should -BeOfType ManualDiscoverApplications + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ManualDiscoverApplicationsTemplate.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ManualDiscoverApplicationsTemplate.Tests.ps1 new file mode 100644 index 000000000..87e250042 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ManualDiscoverApplicationsTemplate.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ManualDiscoverApplicationsTemplate' { + Context 'V2024ManualDiscoverApplicationsTemplate' { + It 'Initialize-V2024ManualDiscoverApplicationsTemplate' { + # a simple test to create an object + #$NewObject = Initialize-V2024ManualDiscoverApplicationsTemplate -ApplicationName "TEST_VALUE" -Description "TEST_VALUE" + #$NewObject | Should -BeOfType ManualDiscoverApplicationsTemplate + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ManualWorkItemDetails.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ManualWorkItemDetails.Tests.ps1 new file mode 100644 index 000000000..b54d994ba --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ManualWorkItemDetails.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ManualWorkItemDetails' { + Context 'V2024ManualWorkItemDetails' { + It 'Initialize-V2024ManualWorkItemDetails' { + # a simple test to create an object + #$NewObject = Initialize-V2024ManualWorkItemDetails -Forwarded "TEST_VALUE" -OriginalOwner "TEST_VALUE" -CurrentOwner "TEST_VALUE" -Modified "TEST_VALUE" -Status "TEST_VALUE" -ForwardHistory "TEST_VALUE" + #$NewObject | Should -BeOfType ManualWorkItemDetails + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ManualWorkItemDetailsCurrentOwner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ManualWorkItemDetailsCurrentOwner.Tests.ps1 new file mode 100644 index 000000000..8d2474b0d --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ManualWorkItemDetailsCurrentOwner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ManualWorkItemDetailsCurrentOwner' { + Context 'V2024ManualWorkItemDetailsCurrentOwner' { + It 'Initialize-V2024ManualWorkItemDetailsCurrentOwner' { + # a simple test to create an object + #$NewObject = Initialize-V2024ManualWorkItemDetailsCurrentOwner -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType ManualWorkItemDetailsCurrentOwner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ManualWorkItemDetailsOriginalOwner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ManualWorkItemDetailsOriginalOwner.Tests.ps1 new file mode 100644 index 000000000..4d6d696da --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ManualWorkItemDetailsOriginalOwner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ManualWorkItemDetailsOriginalOwner' { + Context 'V2024ManualWorkItemDetailsOriginalOwner' { + It 'Initialize-V2024ManualWorkItemDetailsOriginalOwner' { + # a simple test to create an object + #$NewObject = Initialize-V2024ManualWorkItemDetailsOriginalOwner -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType ManualWorkItemDetailsOriginalOwner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ManualWorkItemState.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ManualWorkItemState.Tests.ps1 new file mode 100644 index 000000000..87c08b264 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ManualWorkItemState.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ManualWorkItemState' { + Context 'V2024ManualWorkItemState' { + It 'Initialize-V2024ManualWorkItemState' { + # a simple test to create an object + #$NewObject = Initialize-V2024ManualWorkItemState + #$NewObject | Should -BeOfType ManualWorkItemState + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ManuallyUpdatedFieldsDTO.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ManuallyUpdatedFieldsDTO.Tests.ps1 new file mode 100644 index 000000000..ff196aabe --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ManuallyUpdatedFieldsDTO.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ManuallyUpdatedFieldsDTO' { + Context 'V2024ManuallyUpdatedFieldsDTO' { + It 'Initialize-V2024ManuallyUpdatedFieldsDTO' { + # a simple test to create an object + #$NewObject = Initialize-V2024ManuallyUpdatedFieldsDTO -DISPLAYNAME "TEST_VALUE" -DESCRIPTION "TEST_VALUE" + #$NewObject | Should -BeOfType ManuallyUpdatedFieldsDTO + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Medium.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Medium.Tests.ps1 new file mode 100644 index 000000000..05275bf4e --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Medium.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Medium' { + Context 'V2024Medium' { + It 'Initialize-V2024Medium' { + # a simple test to create an object + #$NewObject = Initialize-V2024Medium + #$NewObject | Should -BeOfType Medium + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/MetricAggregation.Tests.ps1 b/PSSailpoint/v2024/tests/Model/MetricAggregation.Tests.ps1 new file mode 100644 index 000000000..fadf1a7a1 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/MetricAggregation.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024MetricAggregation' { + Context 'V2024MetricAggregation' { + It 'Initialize-V2024MetricAggregation' { + # a simple test to create an object + #$NewObject = Initialize-V2024MetricAggregation -Name "TEST_VALUE" -Type "TEST_VALUE" -Field "TEST_VALUE" + #$NewObject | Should -BeOfType MetricAggregation + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/MetricResponse.Tests.ps1 b/PSSailpoint/v2024/tests/Model/MetricResponse.Tests.ps1 new file mode 100644 index 000000000..a62167468 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/MetricResponse.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024MetricResponse' { + Context 'V2024MetricResponse' { + It 'Initialize-V2024MetricResponse' { + # a simple test to create an object + #$NewObject = Initialize-V2024MetricResponse -Name "TEST_VALUE" -Value "TEST_VALUE" + #$NewObject | Should -BeOfType MetricResponse + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/MetricType.Tests.ps1 b/PSSailpoint/v2024/tests/Model/MetricType.Tests.ps1 new file mode 100644 index 000000000..29ff52f56 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/MetricType.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024MetricType' { + Context 'V2024MetricType' { + It 'Initialize-V2024MetricType' { + # a simple test to create an object + #$NewObject = Initialize-V2024MetricType + #$NewObject | Should -BeOfType MetricType + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/MfaConfigTestResponse.Tests.ps1 b/PSSailpoint/v2024/tests/Model/MfaConfigTestResponse.Tests.ps1 new file mode 100644 index 000000000..ce9c2713e --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/MfaConfigTestResponse.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024MfaConfigTestResponse' { + Context 'V2024MfaConfigTestResponse' { + It 'Initialize-V2024MfaConfigTestResponse' { + # a simple test to create an object + #$NewObject = Initialize-V2024MfaConfigTestResponse -State "TEST_VALUE" -VarError "TEST_VALUE" + #$NewObject | Should -BeOfType MfaConfigTestResponse + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/MfaDuoConfig.Tests.ps1 b/PSSailpoint/v2024/tests/Model/MfaDuoConfig.Tests.ps1 new file mode 100644 index 000000000..a297ea3a9 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/MfaDuoConfig.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024MfaDuoConfig' { + Context 'V2024MfaDuoConfig' { + It 'Initialize-V2024MfaDuoConfig' { + # a simple test to create an object + #$NewObject = Initialize-V2024MfaDuoConfig -MfaMethod "TEST_VALUE" -Enabled "TEST_VALUE" -VarHost "TEST_VALUE" -AccessKey "TEST_VALUE" -IdentityAttribute "TEST_VALUE" -ConfigProperties "TEST_VALUE" + #$NewObject | Should -BeOfType MfaDuoConfig + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/MfaOktaConfig.Tests.ps1 b/PSSailpoint/v2024/tests/Model/MfaOktaConfig.Tests.ps1 new file mode 100644 index 000000000..21a4d267c --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/MfaOktaConfig.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024MfaOktaConfig' { + Context 'V2024MfaOktaConfig' { + It 'Initialize-V2024MfaOktaConfig' { + # a simple test to create an object + #$NewObject = Initialize-V2024MfaOktaConfig -MfaMethod "TEST_VALUE" -Enabled "TEST_VALUE" -VarHost "TEST_VALUE" -AccessKey "TEST_VALUE" -IdentityAttribute "TEST_VALUE" + #$NewObject | Should -BeOfType MfaOktaConfig + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ModelError.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ModelError.Tests.ps1 new file mode 100644 index 000000000..fb3313b35 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ModelError.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ModelError' { + Context 'V2024ModelError' { + It 'Initialize-V2024ModelError' { + # a simple test to create an object + #$NewObject = Initialize-V2024ModelError -DetailCode "TEST_VALUE" -Messages "TEST_VALUE" -TrackingId "TEST_VALUE" + #$NewObject | Should -BeOfType ModelError + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ModelEvent.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ModelEvent.Tests.ps1 new file mode 100644 index 000000000..3beca2c01 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ModelEvent.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ModelEvent' { + Context 'V2024ModelEvent' { + It 'Initialize-V2024ModelEvent' { + # a simple test to create an object + #$NewObject = Initialize-V2024ModelEvent -Id "TEST_VALUE" -Name "TEST_VALUE" -Type "TEST_VALUE" -Created "TEST_VALUE" -Synced "TEST_VALUE" -Action "TEST_VALUE" -Type "TEST_VALUE" -Actor "TEST_VALUE" -Target "TEST_VALUE" -Stack "TEST_VALUE" -TrackingNumber "TEST_VALUE" -IpAddress "TEST_VALUE" -Details "TEST_VALUE" -Attributes "TEST_VALUE" -Objects "TEST_VALUE" -Operation "TEST_VALUE" -Status "TEST_VALUE" -TechnicalName "TEST_VALUE" + #$NewObject | Should -BeOfType ModelEvent + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ModelFilter.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ModelFilter.Tests.ps1 new file mode 100644 index 000000000..b0dda9526 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ModelFilter.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ModelFilter' { + Context 'V2024ModelFilter' { + It 'Initialize-V2024ModelFilter' { + # a simple test to create an object + #$NewObject = Initialize-V2024ModelFilter -Type "TEST_VALUE" -Range "TEST_VALUE" -Terms "TEST_VALUE" -Exclude "TEST_VALUE" + #$NewObject | Should -BeOfType ModelFilter + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/MultiPolicyRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/MultiPolicyRequest.Tests.ps1 new file mode 100644 index 000000000..36d73f45b --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/MultiPolicyRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024MultiPolicyRequest' { + Context 'V2024MultiPolicyRequest' { + It 'Initialize-V2024MultiPolicyRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024MultiPolicyRequest -FilteredPolicyList "TEST_VALUE" + #$NewObject | Should -BeOfType MultiPolicyRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/NameNormalizer.Tests.ps1 b/PSSailpoint/v2024/tests/Model/NameNormalizer.Tests.ps1 new file mode 100644 index 000000000..91532d2ae --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/NameNormalizer.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024NameNormalizer' { + Context 'V2024NameNormalizer' { + It 'Initialize-V2024NameNormalizer' { + # a simple test to create an object + #$NewObject = Initialize-V2024NameNormalizer -RequiresPeriodicRefresh "TEST_VALUE" -VarInput "TEST_VALUE" + #$NewObject | Should -BeOfType NameNormalizer + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/NamedConstructs.Tests.ps1 b/PSSailpoint/v2024/tests/Model/NamedConstructs.Tests.ps1 new file mode 100644 index 000000000..27e47fc58 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/NamedConstructs.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024NamedConstructs' { + Context 'V2024NamedConstructs' { + It 'Initialize-V2024NamedConstructs' { + # a simple test to create an object + #$NewObject = Initialize-V2024NamedConstructs + #$NewObject | Should -BeOfType NamedConstructs + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/NativeChangeDetectionConfig.Tests.ps1 b/PSSailpoint/v2024/tests/Model/NativeChangeDetectionConfig.Tests.ps1 new file mode 100644 index 000000000..874af4edc --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/NativeChangeDetectionConfig.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024NativeChangeDetectionConfig' { + Context 'V2024NativeChangeDetectionConfig' { + It 'Initialize-V2024NativeChangeDetectionConfig' { + # a simple test to create an object + #$NewObject = Initialize-V2024NativeChangeDetectionConfig -Enabled "TEST_VALUE" -Operations "TEST_VALUE" -AllEntitlements "TEST_VALUE" -AllNonEntitlementAttributes "TEST_VALUE" -SelectedEntitlements "TEST_VALUE" -SelectedNonEntitlementAttributes "TEST_VALUE" + #$NewObject | Should -BeOfType NativeChangeDetectionConfig + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/NestedAggregation.Tests.ps1 b/PSSailpoint/v2024/tests/Model/NestedAggregation.Tests.ps1 new file mode 100644 index 000000000..4c09c7092 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/NestedAggregation.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024NestedAggregation' { + Context 'V2024NestedAggregation' { + It 'Initialize-V2024NestedAggregation' { + # a simple test to create an object + #$NewObject = Initialize-V2024NestedAggregation -Name "TEST_VALUE" -Type "TEST_VALUE" + #$NewObject | Should -BeOfType NestedAggregation + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/NetworkConfiguration.Tests.ps1 b/PSSailpoint/v2024/tests/Model/NetworkConfiguration.Tests.ps1 new file mode 100644 index 000000000..f5d9b5e72 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/NetworkConfiguration.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024NetworkConfiguration' { + Context 'V2024NetworkConfiguration' { + It 'Initialize-V2024NetworkConfiguration' { + # a simple test to create an object + #$NewObject = Initialize-V2024NetworkConfiguration -Range "TEST_VALUE" -Geolocation "TEST_VALUE" -Whitelisted "TEST_VALUE" + #$NewObject | Should -BeOfType NetworkConfiguration + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/NonEmployeeApprovalDecision.Tests.ps1 b/PSSailpoint/v2024/tests/Model/NonEmployeeApprovalDecision.Tests.ps1 new file mode 100644 index 000000000..55207f1e4 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/NonEmployeeApprovalDecision.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024NonEmployeeApprovalDecision' { + Context 'V2024NonEmployeeApprovalDecision' { + It 'Initialize-V2024NonEmployeeApprovalDecision' { + # a simple test to create an object + #$NewObject = Initialize-V2024NonEmployeeApprovalDecision -Comment "TEST_VALUE" + #$NewObject | Should -BeOfType NonEmployeeApprovalDecision + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/NonEmployeeApprovalItem.Tests.ps1 b/PSSailpoint/v2024/tests/Model/NonEmployeeApprovalItem.Tests.ps1 new file mode 100644 index 000000000..46289085f --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/NonEmployeeApprovalItem.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024NonEmployeeApprovalItem' { + Context 'V2024NonEmployeeApprovalItem' { + It 'Initialize-V2024NonEmployeeApprovalItem' { + # a simple test to create an object + #$NewObject = Initialize-V2024NonEmployeeApprovalItem -Id "TEST_VALUE" -Approver "TEST_VALUE" -AccountName "TEST_VALUE" -ApprovalStatus "TEST_VALUE" -ApprovalOrder "TEST_VALUE" -Comment "TEST_VALUE" -Modified "TEST_VALUE" -Created "TEST_VALUE" -NonEmployeeRequest "TEST_VALUE" + #$NewObject | Should -BeOfType NonEmployeeApprovalItem + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/NonEmployeeApprovalItemBase.Tests.ps1 b/PSSailpoint/v2024/tests/Model/NonEmployeeApprovalItemBase.Tests.ps1 new file mode 100644 index 000000000..4723385a1 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/NonEmployeeApprovalItemBase.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024NonEmployeeApprovalItemBase' { + Context 'V2024NonEmployeeApprovalItemBase' { + It 'Initialize-V2024NonEmployeeApprovalItemBase' { + # a simple test to create an object + #$NewObject = Initialize-V2024NonEmployeeApprovalItemBase -Id "TEST_VALUE" -Approver "TEST_VALUE" -AccountName "TEST_VALUE" -ApprovalStatus "TEST_VALUE" -ApprovalOrder "TEST_VALUE" -Comment "TEST_VALUE" -Modified "TEST_VALUE" -Created "TEST_VALUE" + #$NewObject | Should -BeOfType NonEmployeeApprovalItemBase + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/NonEmployeeApprovalItemDetail.Tests.ps1 b/PSSailpoint/v2024/tests/Model/NonEmployeeApprovalItemDetail.Tests.ps1 new file mode 100644 index 000000000..0fe613fb7 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/NonEmployeeApprovalItemDetail.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024NonEmployeeApprovalItemDetail' { + Context 'V2024NonEmployeeApprovalItemDetail' { + It 'Initialize-V2024NonEmployeeApprovalItemDetail' { + # a simple test to create an object + #$NewObject = Initialize-V2024NonEmployeeApprovalItemDetail -Id "TEST_VALUE" -Approver "TEST_VALUE" -AccountName "TEST_VALUE" -ApprovalStatus "TEST_VALUE" -ApprovalOrder "TEST_VALUE" -Comment "TEST_VALUE" -Modified "TEST_VALUE" -Created "TEST_VALUE" -NonEmployeeRequest "TEST_VALUE" + #$NewObject | Should -BeOfType NonEmployeeApprovalItemDetail + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/NonEmployeeApprovalSummary.Tests.ps1 b/PSSailpoint/v2024/tests/Model/NonEmployeeApprovalSummary.Tests.ps1 new file mode 100644 index 000000000..19b0cf095 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/NonEmployeeApprovalSummary.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024NonEmployeeApprovalSummary' { + Context 'V2024NonEmployeeApprovalSummary' { + It 'Initialize-V2024NonEmployeeApprovalSummary' { + # a simple test to create an object + #$NewObject = Initialize-V2024NonEmployeeApprovalSummary -Approved "TEST_VALUE" -Pending "TEST_VALUE" -Rejected "TEST_VALUE" + #$NewObject | Should -BeOfType NonEmployeeApprovalSummary + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/NonEmployeeBulkUploadJob.Tests.ps1 b/PSSailpoint/v2024/tests/Model/NonEmployeeBulkUploadJob.Tests.ps1 new file mode 100644 index 000000000..69f2653dc --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/NonEmployeeBulkUploadJob.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024NonEmployeeBulkUploadJob' { + Context 'V2024NonEmployeeBulkUploadJob' { + It 'Initialize-V2024NonEmployeeBulkUploadJob' { + # a simple test to create an object + #$NewObject = Initialize-V2024NonEmployeeBulkUploadJob -Id "TEST_VALUE" -SourceId "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" -Status "TEST_VALUE" + #$NewObject | Should -BeOfType NonEmployeeBulkUploadJob + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/NonEmployeeBulkUploadStatus.Tests.ps1 b/PSSailpoint/v2024/tests/Model/NonEmployeeBulkUploadStatus.Tests.ps1 new file mode 100644 index 000000000..7b68654c9 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/NonEmployeeBulkUploadStatus.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024NonEmployeeBulkUploadStatus' { + Context 'V2024NonEmployeeBulkUploadStatus' { + It 'Initialize-V2024NonEmployeeBulkUploadStatus' { + # a simple test to create an object + #$NewObject = Initialize-V2024NonEmployeeBulkUploadStatus -Status "TEST_VALUE" + #$NewObject | Should -BeOfType NonEmployeeBulkUploadStatus + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/NonEmployeeIdentityDtoType.Tests.ps1 b/PSSailpoint/v2024/tests/Model/NonEmployeeIdentityDtoType.Tests.ps1 new file mode 100644 index 000000000..6691720ba --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/NonEmployeeIdentityDtoType.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024NonEmployeeIdentityDtoType' { + Context 'V2024NonEmployeeIdentityDtoType' { + It 'Initialize-V2024NonEmployeeIdentityDtoType' { + # a simple test to create an object + #$NewObject = Initialize-V2024NonEmployeeIdentityDtoType + #$NewObject | Should -BeOfType NonEmployeeIdentityDtoType + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/NonEmployeeIdentityReferenceWithId.Tests.ps1 b/PSSailpoint/v2024/tests/Model/NonEmployeeIdentityReferenceWithId.Tests.ps1 new file mode 100644 index 000000000..689a78f81 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/NonEmployeeIdentityReferenceWithId.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024NonEmployeeIdentityReferenceWithId' { + Context 'V2024NonEmployeeIdentityReferenceWithId' { + It 'Initialize-V2024NonEmployeeIdentityReferenceWithId' { + # a simple test to create an object + #$NewObject = Initialize-V2024NonEmployeeIdentityReferenceWithId -Type "TEST_VALUE" -Id "TEST_VALUE" + #$NewObject | Should -BeOfType NonEmployeeIdentityReferenceWithId + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/NonEmployeeIdnUserRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/NonEmployeeIdnUserRequest.Tests.ps1 new file mode 100644 index 000000000..afd94a3d0 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/NonEmployeeIdnUserRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024NonEmployeeIdnUserRequest' { + Context 'V2024NonEmployeeIdnUserRequest' { + It 'Initialize-V2024NonEmployeeIdnUserRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024NonEmployeeIdnUserRequest -Id "TEST_VALUE" + #$NewObject | Should -BeOfType NonEmployeeIdnUserRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/NonEmployeeRecord.Tests.ps1 b/PSSailpoint/v2024/tests/Model/NonEmployeeRecord.Tests.ps1 new file mode 100644 index 000000000..71b63311c --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/NonEmployeeRecord.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024NonEmployeeRecord' { + Context 'V2024NonEmployeeRecord' { + It 'Initialize-V2024NonEmployeeRecord' { + # a simple test to create an object + #$NewObject = Initialize-V2024NonEmployeeRecord -Id "TEST_VALUE" -AccountName "TEST_VALUE" -FirstName "TEST_VALUE" -LastName "TEST_VALUE" -Email "TEST_VALUE" -Phone "TEST_VALUE" -Manager "TEST_VALUE" -SourceId "TEST_VALUE" -VarData "TEST_VALUE" -StartDate "TEST_VALUE" -EndDate "TEST_VALUE" -Modified "TEST_VALUE" -Created "TEST_VALUE" + #$NewObject | Should -BeOfType NonEmployeeRecord + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/NonEmployeeRejectApprovalDecision.Tests.ps1 b/PSSailpoint/v2024/tests/Model/NonEmployeeRejectApprovalDecision.Tests.ps1 new file mode 100644 index 000000000..0171c6b25 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/NonEmployeeRejectApprovalDecision.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024NonEmployeeRejectApprovalDecision' { + Context 'V2024NonEmployeeRejectApprovalDecision' { + It 'Initialize-V2024NonEmployeeRejectApprovalDecision' { + # a simple test to create an object + #$NewObject = Initialize-V2024NonEmployeeRejectApprovalDecision -Comment "TEST_VALUE" + #$NewObject | Should -BeOfType NonEmployeeRejectApprovalDecision + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/NonEmployeeRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/NonEmployeeRequest.Tests.ps1 new file mode 100644 index 000000000..9ce2e199f --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/NonEmployeeRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024NonEmployeeRequest' { + Context 'V2024NonEmployeeRequest' { + It 'Initialize-V2024NonEmployeeRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024NonEmployeeRequest -Id "TEST_VALUE" -SourceId "TEST_VALUE" -Name "TEST_VALUE" -Description "TEST_VALUE" -AccountName "TEST_VALUE" -FirstName "TEST_VALUE" -LastName "TEST_VALUE" -Email "TEST_VALUE" -Phone "TEST_VALUE" -Manager "TEST_VALUE" -NonEmployeeSource "TEST_VALUE" -VarData "TEST_VALUE" -ApprovalItems "TEST_VALUE" -ApprovalStatus "TEST_VALUE" -Comment "TEST_VALUE" -CompletionDate "TEST_VALUE" -StartDate "TEST_VALUE" -EndDate "TEST_VALUE" -Modified "TEST_VALUE" -Created "TEST_VALUE" + #$NewObject | Should -BeOfType NonEmployeeRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/NonEmployeeRequestBody.Tests.ps1 b/PSSailpoint/v2024/tests/Model/NonEmployeeRequestBody.Tests.ps1 new file mode 100644 index 000000000..4f938c53d --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/NonEmployeeRequestBody.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024NonEmployeeRequestBody' { + Context 'V2024NonEmployeeRequestBody' { + It 'Initialize-V2024NonEmployeeRequestBody' { + # a simple test to create an object + #$NewObject = Initialize-V2024NonEmployeeRequestBody -AccountName "TEST_VALUE" -FirstName "TEST_VALUE" -LastName "TEST_VALUE" -Email "TEST_VALUE" -Phone "TEST_VALUE" -Manager "TEST_VALUE" -SourceId "TEST_VALUE" -VarData "TEST_VALUE" -StartDate "TEST_VALUE" -EndDate "TEST_VALUE" + #$NewObject | Should -BeOfType NonEmployeeRequestBody + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/NonEmployeeRequestLite.Tests.ps1 b/PSSailpoint/v2024/tests/Model/NonEmployeeRequestLite.Tests.ps1 new file mode 100644 index 000000000..98f2433af --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/NonEmployeeRequestLite.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024NonEmployeeRequestLite' { + Context 'V2024NonEmployeeRequestLite' { + It 'Initialize-V2024NonEmployeeRequestLite' { + # a simple test to create an object + #$NewObject = Initialize-V2024NonEmployeeRequestLite -Id "TEST_VALUE" -Requester "TEST_VALUE" + #$NewObject | Should -BeOfType NonEmployeeRequestLite + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/NonEmployeeRequestSummary.Tests.ps1 b/PSSailpoint/v2024/tests/Model/NonEmployeeRequestSummary.Tests.ps1 new file mode 100644 index 000000000..94081aaa1 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/NonEmployeeRequestSummary.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024NonEmployeeRequestSummary' { + Context 'V2024NonEmployeeRequestSummary' { + It 'Initialize-V2024NonEmployeeRequestSummary' { + # a simple test to create an object + #$NewObject = Initialize-V2024NonEmployeeRequestSummary -Approved "TEST_VALUE" -Rejected "TEST_VALUE" -Pending "TEST_VALUE" -NonEmployeeCount "TEST_VALUE" + #$NewObject | Should -BeOfType NonEmployeeRequestSummary + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/NonEmployeeRequestWithoutApprovalItem.Tests.ps1 b/PSSailpoint/v2024/tests/Model/NonEmployeeRequestWithoutApprovalItem.Tests.ps1 new file mode 100644 index 000000000..c898879b8 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/NonEmployeeRequestWithoutApprovalItem.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024NonEmployeeRequestWithoutApprovalItem' { + Context 'V2024NonEmployeeRequestWithoutApprovalItem' { + It 'Initialize-V2024NonEmployeeRequestWithoutApprovalItem' { + # a simple test to create an object + #$NewObject = Initialize-V2024NonEmployeeRequestWithoutApprovalItem -Id "TEST_VALUE" -Requester "TEST_VALUE" -AccountName "TEST_VALUE" -FirstName "TEST_VALUE" -LastName "TEST_VALUE" -Email "TEST_VALUE" -Phone "TEST_VALUE" -Manager "TEST_VALUE" -NonEmployeeSource "TEST_VALUE" -VarData "TEST_VALUE" -ApprovalStatus "TEST_VALUE" -Comment "TEST_VALUE" -CompletionDate "TEST_VALUE" -StartDate "TEST_VALUE" -EndDate "TEST_VALUE" -Modified "TEST_VALUE" -Created "TEST_VALUE" + #$NewObject | Should -BeOfType NonEmployeeRequestWithoutApprovalItem + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/NonEmployeeSchemaAttribute.Tests.ps1 b/PSSailpoint/v2024/tests/Model/NonEmployeeSchemaAttribute.Tests.ps1 new file mode 100644 index 000000000..e35dfdb37 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/NonEmployeeSchemaAttribute.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024NonEmployeeSchemaAttribute' { + Context 'V2024NonEmployeeSchemaAttribute' { + It 'Initialize-V2024NonEmployeeSchemaAttribute' { + # a simple test to create an object + #$NewObject = Initialize-V2024NonEmployeeSchemaAttribute -Id "TEST_VALUE" -System "TEST_VALUE" -Modified "TEST_VALUE" -Created "TEST_VALUE" -Type "TEST_VALUE" -Label "TEST_VALUE" -TechnicalName "TEST_VALUE" -HelpText "TEST_VALUE" -Placeholder "TEST_VALUE" -Required "TEST_VALUE" + #$NewObject | Should -BeOfType NonEmployeeSchemaAttribute + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/NonEmployeeSchemaAttributeBody.Tests.ps1 b/PSSailpoint/v2024/tests/Model/NonEmployeeSchemaAttributeBody.Tests.ps1 new file mode 100644 index 000000000..10e69cced --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/NonEmployeeSchemaAttributeBody.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024NonEmployeeSchemaAttributeBody' { + Context 'V2024NonEmployeeSchemaAttributeBody' { + It 'Initialize-V2024NonEmployeeSchemaAttributeBody' { + # a simple test to create an object + #$NewObject = Initialize-V2024NonEmployeeSchemaAttributeBody -Type "TEST_VALUE" -Label "TEST_VALUE" -TechnicalName "TEST_VALUE" -HelpText "TEST_VALUE" -Placeholder "TEST_VALUE" -Required "TEST_VALUE" + #$NewObject | Should -BeOfType NonEmployeeSchemaAttributeBody + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/NonEmployeeSchemaAttributeType.Tests.ps1 b/PSSailpoint/v2024/tests/Model/NonEmployeeSchemaAttributeType.Tests.ps1 new file mode 100644 index 000000000..38042d07a --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/NonEmployeeSchemaAttributeType.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024NonEmployeeSchemaAttributeType' { + Context 'V2024NonEmployeeSchemaAttributeType' { + It 'Initialize-V2024NonEmployeeSchemaAttributeType' { + # a simple test to create an object + #$NewObject = Initialize-V2024NonEmployeeSchemaAttributeType + #$NewObject | Should -BeOfType NonEmployeeSchemaAttributeType + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/NonEmployeeSource.Tests.ps1 b/PSSailpoint/v2024/tests/Model/NonEmployeeSource.Tests.ps1 new file mode 100644 index 000000000..b046fde5b --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/NonEmployeeSource.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024NonEmployeeSource' { + Context 'V2024NonEmployeeSource' { + It 'Initialize-V2024NonEmployeeSource' { + # a simple test to create an object + #$NewObject = Initialize-V2024NonEmployeeSource -Id "TEST_VALUE" -SourceId "TEST_VALUE" -Name "TEST_VALUE" -Description "TEST_VALUE" -Approvers "TEST_VALUE" -AccountManagers "TEST_VALUE" -Modified "TEST_VALUE" -Created "TEST_VALUE" + #$NewObject | Should -BeOfType NonEmployeeSource + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/NonEmployeeSourceLite.Tests.ps1 b/PSSailpoint/v2024/tests/Model/NonEmployeeSourceLite.Tests.ps1 new file mode 100644 index 000000000..142d0673f --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/NonEmployeeSourceLite.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024NonEmployeeSourceLite' { + Context 'V2024NonEmployeeSourceLite' { + It 'Initialize-V2024NonEmployeeSourceLite' { + # a simple test to create an object + #$NewObject = Initialize-V2024NonEmployeeSourceLite -Id "TEST_VALUE" -SourceId "TEST_VALUE" -Name "TEST_VALUE" -Description "TEST_VALUE" + #$NewObject | Should -BeOfType NonEmployeeSourceLite + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/NonEmployeeSourceLiteWithSchemaAttributes.Tests.ps1 b/PSSailpoint/v2024/tests/Model/NonEmployeeSourceLiteWithSchemaAttributes.Tests.ps1 new file mode 100644 index 000000000..725e1af58 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/NonEmployeeSourceLiteWithSchemaAttributes.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024NonEmployeeSourceLiteWithSchemaAttributes' { + Context 'V2024NonEmployeeSourceLiteWithSchemaAttributes' { + It 'Initialize-V2024NonEmployeeSourceLiteWithSchemaAttributes' { + # a simple test to create an object + #$NewObject = Initialize-V2024NonEmployeeSourceLiteWithSchemaAttributes -Id "TEST_VALUE" -SourceId "TEST_VALUE" -Name "TEST_VALUE" -Description "TEST_VALUE" -SchemaAttributes "TEST_VALUE" + #$NewObject | Should -BeOfType NonEmployeeSourceLiteWithSchemaAttributes + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/NonEmployeeSourceRequestBody.Tests.ps1 b/PSSailpoint/v2024/tests/Model/NonEmployeeSourceRequestBody.Tests.ps1 new file mode 100644 index 000000000..d68521017 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/NonEmployeeSourceRequestBody.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024NonEmployeeSourceRequestBody' { + Context 'V2024NonEmployeeSourceRequestBody' { + It 'Initialize-V2024NonEmployeeSourceRequestBody' { + # a simple test to create an object + #$NewObject = Initialize-V2024NonEmployeeSourceRequestBody -Name "TEST_VALUE" -Description "TEST_VALUE" -Owner "TEST_VALUE" -ManagementWorkgroup "TEST_VALUE" -Approvers "TEST_VALUE" -AccountManagers "TEST_VALUE" + #$NewObject | Should -BeOfType NonEmployeeSourceRequestBody + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/NonEmployeeSourceWithCloudExternalId.Tests.ps1 b/PSSailpoint/v2024/tests/Model/NonEmployeeSourceWithCloudExternalId.Tests.ps1 new file mode 100644 index 000000000..23be1b96c --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/NonEmployeeSourceWithCloudExternalId.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024NonEmployeeSourceWithCloudExternalId' { + Context 'V2024NonEmployeeSourceWithCloudExternalId' { + It 'Initialize-V2024NonEmployeeSourceWithCloudExternalId' { + # a simple test to create an object + #$NewObject = Initialize-V2024NonEmployeeSourceWithCloudExternalId -Id "TEST_VALUE" -SourceId "TEST_VALUE" -Name "TEST_VALUE" -Description "TEST_VALUE" -Approvers "TEST_VALUE" -AccountManagers "TEST_VALUE" -Modified "TEST_VALUE" -Created "TEST_VALUE" -CloudExternalId "TEST_VALUE" + #$NewObject | Should -BeOfType NonEmployeeSourceWithCloudExternalId + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/NonEmployeeSourceWithNECount.Tests.ps1 b/PSSailpoint/v2024/tests/Model/NonEmployeeSourceWithNECount.Tests.ps1 new file mode 100644 index 000000000..a56a0bcb6 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/NonEmployeeSourceWithNECount.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024NonEmployeeSourceWithNECount' { + Context 'V2024NonEmployeeSourceWithNECount' { + It 'Initialize-V2024NonEmployeeSourceWithNECount' { + # a simple test to create an object + #$NewObject = Initialize-V2024NonEmployeeSourceWithNECount -Id "TEST_VALUE" -SourceId "TEST_VALUE" -Name "TEST_VALUE" -Description "TEST_VALUE" -Approvers "TEST_VALUE" -AccountManagers "TEST_VALUE" -Modified "TEST_VALUE" -Created "TEST_VALUE" -NonEmployeeCount "TEST_VALUE" + #$NewObject | Should -BeOfType NonEmployeeSourceWithNECount + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/NotificationTemplateContext.Tests.ps1 b/PSSailpoint/v2024/tests/Model/NotificationTemplateContext.Tests.ps1 new file mode 100644 index 000000000..24205b6a8 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/NotificationTemplateContext.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024NotificationTemplateContext' { + Context 'V2024NotificationTemplateContext' { + It 'Initialize-V2024NotificationTemplateContext' { + # a simple test to create an object + #$NewObject = Initialize-V2024NotificationTemplateContext -Attributes "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" + #$NewObject | Should -BeOfType NotificationTemplateContext + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ObjectExportImportOptions.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ObjectExportImportOptions.Tests.ps1 new file mode 100644 index 000000000..1ec6383b5 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ObjectExportImportOptions.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ObjectExportImportOptions' { + Context 'V2024ObjectExportImportOptions' { + It 'Initialize-V2024ObjectExportImportOptions' { + # a simple test to create an object + #$NewObject = Initialize-V2024ObjectExportImportOptions -IncludedIds "TEST_VALUE" -IncludedNames "TEST_VALUE" + #$NewObject | Should -BeOfType ObjectExportImportOptions + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ObjectImportResult.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ObjectImportResult.Tests.ps1 new file mode 100644 index 000000000..787b6f8e1 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ObjectImportResult.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ObjectImportResult' { + Context 'V2024ObjectImportResult' { + It 'Initialize-V2024ObjectImportResult' { + # a simple test to create an object + #$NewObject = Initialize-V2024ObjectImportResult -Infos "TEST_VALUE" -Warnings "TEST_VALUE" -Errors "TEST_VALUE" -ImportedObjects "TEST_VALUE" + #$NewObject | Should -BeOfType ObjectImportResult + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ObjectImportResult1.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ObjectImportResult1.Tests.ps1 new file mode 100644 index 000000000..d0591d764 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ObjectImportResult1.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ObjectImportResult1' { + Context 'V2024ObjectImportResult1' { + It 'Initialize-V2024ObjectImportResult1' { + # a simple test to create an object + #$NewObject = Initialize-V2024ObjectImportResult1 -Infos "TEST_VALUE" -Warnings "TEST_VALUE" -Errors "TEST_VALUE" -ImportedObjects "TEST_VALUE" + #$NewObject | Should -BeOfType ObjectImportResult1 + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ObjectMappingBulkCreateRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ObjectMappingBulkCreateRequest.Tests.ps1 new file mode 100644 index 000000000..e684da798 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ObjectMappingBulkCreateRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ObjectMappingBulkCreateRequest' { + Context 'V2024ObjectMappingBulkCreateRequest' { + It 'Initialize-V2024ObjectMappingBulkCreateRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024ObjectMappingBulkCreateRequest -NewObjectMappings "TEST_VALUE" + #$NewObject | Should -BeOfType ObjectMappingBulkCreateRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ObjectMappingBulkCreateResponse.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ObjectMappingBulkCreateResponse.Tests.ps1 new file mode 100644 index 000000000..e5f38d413 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ObjectMappingBulkCreateResponse.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ObjectMappingBulkCreateResponse' { + Context 'V2024ObjectMappingBulkCreateResponse' { + It 'Initialize-V2024ObjectMappingBulkCreateResponse' { + # a simple test to create an object + #$NewObject = Initialize-V2024ObjectMappingBulkCreateResponse -AddedObjects "TEST_VALUE" + #$NewObject | Should -BeOfType ObjectMappingBulkCreateResponse + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ObjectMappingBulkPatchRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ObjectMappingBulkPatchRequest.Tests.ps1 new file mode 100644 index 000000000..5477ac023 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ObjectMappingBulkPatchRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ObjectMappingBulkPatchRequest' { + Context 'V2024ObjectMappingBulkPatchRequest' { + It 'Initialize-V2024ObjectMappingBulkPatchRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024ObjectMappingBulkPatchRequest -Patches "TEST_VALUE" + #$NewObject | Should -BeOfType ObjectMappingBulkPatchRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ObjectMappingBulkPatchResponse.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ObjectMappingBulkPatchResponse.Tests.ps1 new file mode 100644 index 000000000..a677f6d69 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ObjectMappingBulkPatchResponse.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ObjectMappingBulkPatchResponse' { + Context 'V2024ObjectMappingBulkPatchResponse' { + It 'Initialize-V2024ObjectMappingBulkPatchResponse' { + # a simple test to create an object + #$NewObject = Initialize-V2024ObjectMappingBulkPatchResponse -PatchedObjects "TEST_VALUE" + #$NewObject | Should -BeOfType ObjectMappingBulkPatchResponse + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ObjectMappingRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ObjectMappingRequest.Tests.ps1 new file mode 100644 index 000000000..3a09ead47 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ObjectMappingRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ObjectMappingRequest' { + Context 'V2024ObjectMappingRequest' { + It 'Initialize-V2024ObjectMappingRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024ObjectMappingRequest -ObjectType "TEST_VALUE" -JsonPath "TEST_VALUE" -SourceValue "TEST_VALUE" -TargetValue "TEST_VALUE" -Enabled "TEST_VALUE" + #$NewObject | Should -BeOfType ObjectMappingRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ObjectMappingResponse.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ObjectMappingResponse.Tests.ps1 new file mode 100644 index 000000000..da28eadbd --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ObjectMappingResponse.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ObjectMappingResponse' { + Context 'V2024ObjectMappingResponse' { + It 'Initialize-V2024ObjectMappingResponse' { + # a simple test to create an object + #$NewObject = Initialize-V2024ObjectMappingResponse -ObjectMappingId "TEST_VALUE" -ObjectType "TEST_VALUE" -JsonPath "TEST_VALUE" -SourceValue "TEST_VALUE" -TargetValue "TEST_VALUE" -Enabled "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" + #$NewObject | Should -BeOfType ObjectMappingResponse + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Operation.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Operation.Tests.ps1 new file mode 100644 index 000000000..71c067ac1 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Operation.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Operation' { + Context 'V2024Operation' { + It 'Initialize-V2024Operation' { + # a simple test to create an object + #$NewObject = Initialize-V2024Operation + #$NewObject | Should -BeOfType Operation + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/OrgConfig.Tests.ps1 b/PSSailpoint/v2024/tests/Model/OrgConfig.Tests.ps1 new file mode 100644 index 000000000..abf6697e4 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/OrgConfig.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024OrgConfig' { + Context 'V2024OrgConfig' { + It 'Initialize-V2024OrgConfig' { + # a simple test to create an object + #$NewObject = Initialize-V2024OrgConfig -OrgName "TEST_VALUE" -TimeZone "TEST_VALUE" -LcsChangeHonorsSourceEnableFeature "TEST_VALUE" -ArmCustomerId "TEST_VALUE" -ArmSapSystemIdMappings "TEST_VALUE" -ArmAuth "TEST_VALUE" -ArmDb "TEST_VALUE" -ArmSsoUrl "TEST_VALUE" -IaiEnableCertificationRecommendations "TEST_VALUE" -SodReportConfigs "TEST_VALUE" + #$NewObject | Should -BeOfType OrgConfig + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/OriginalRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/OriginalRequest.Tests.ps1 new file mode 100644 index 000000000..573e02b5d --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/OriginalRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024OriginalRequest' { + Context 'V2024OriginalRequest' { + It 'Initialize-V2024OriginalRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024OriginalRequest -AccountId "TEST_VALUE" -AttributeRequests "TEST_VALUE" -Op "TEST_VALUE" -Source "TEST_VALUE" + #$NewObject | Should -BeOfType OriginalRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/OrphanUncorrelatedReportArguments.Tests.ps1 b/PSSailpoint/v2024/tests/Model/OrphanUncorrelatedReportArguments.Tests.ps1 new file mode 100644 index 000000000..9449649ad --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/OrphanUncorrelatedReportArguments.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024OrphanUncorrelatedReportArguments' { + Context 'V2024OrphanUncorrelatedReportArguments' { + It 'Initialize-V2024OrphanUncorrelatedReportArguments' { + # a simple test to create an object + #$NewObject = Initialize-V2024OrphanUncorrelatedReportArguments -SelectedFormats "TEST_VALUE" + #$NewObject | Should -BeOfType OrphanUncorrelatedReportArguments + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Outlier.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Outlier.Tests.ps1 new file mode 100644 index 000000000..41c831381 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Outlier.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Outlier' { + Context 'V2024Outlier' { + It 'Initialize-V2024Outlier' { + # a simple test to create an object + #$NewObject = Initialize-V2024Outlier -Id "TEST_VALUE" -IdentityId "TEST_VALUE" -Type "TEST_VALUE" -FirstDetectionDate "TEST_VALUE" -LatestDetectionDate "TEST_VALUE" -Ignored "TEST_VALUE" -Attributes "TEST_VALUE" -Score "TEST_VALUE" -UnignoreType "TEST_VALUE" -UnignoreDate "TEST_VALUE" -IgnoreDate "TEST_VALUE" + #$NewObject | Should -BeOfType Outlier + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/OutlierContributingFeature.Tests.ps1 b/PSSailpoint/v2024/tests/Model/OutlierContributingFeature.Tests.ps1 new file mode 100644 index 000000000..866b0d44a --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/OutlierContributingFeature.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024OutlierContributingFeature' { + Context 'V2024OutlierContributingFeature' { + It 'Initialize-V2024OutlierContributingFeature' { + # a simple test to create an object + #$NewObject = Initialize-V2024OutlierContributingFeature -Id "TEST_VALUE" -Name "TEST_VALUE" -ValueType "TEST_VALUE" -Value "TEST_VALUE" -Importance "TEST_VALUE" -DisplayName "TEST_VALUE" -Description "TEST_VALUE" -TranslationMessages "TEST_VALUE" + #$NewObject | Should -BeOfType OutlierContributingFeature + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/OutlierContributingFeatureValue.Tests.ps1 b/PSSailpoint/v2024/tests/Model/OutlierContributingFeatureValue.Tests.ps1 new file mode 100644 index 000000000..5bc54719d --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/OutlierContributingFeatureValue.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024OutlierContributingFeatureValue' { + Context 'V2024OutlierContributingFeatureValue' { + It 'Initialize-V2024OutlierContributingFeatureValue' { + # a simple test to create an object + #$NewObject = Initialize-V2024OutlierContributingFeatureValue + #$NewObject | Should -BeOfType OutlierContributingFeatureValue + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/OutlierFeatureSummary.Tests.ps1 b/PSSailpoint/v2024/tests/Model/OutlierFeatureSummary.Tests.ps1 new file mode 100644 index 000000000..8498bb4e3 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/OutlierFeatureSummary.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024OutlierFeatureSummary' { + Context 'V2024OutlierFeatureSummary' { + It 'Initialize-V2024OutlierFeatureSummary' { + # a simple test to create an object + #$NewObject = Initialize-V2024OutlierFeatureSummary -ContributingFeatureName "TEST_VALUE" -IdentityOutlierDisplayName "TEST_VALUE" -OutlierFeatureDisplayValues "TEST_VALUE" -FeatureDefinition "TEST_VALUE" -FeatureExplanation "TEST_VALUE" -PeerDisplayName "TEST_VALUE" -PeerIdentityId "TEST_VALUE" -AccessItemReference "TEST_VALUE" + #$NewObject | Should -BeOfType OutlierFeatureSummary + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/OutlierFeatureSummaryOutlierFeatureDisplayValuesInner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/OutlierFeatureSummaryOutlierFeatureDisplayValuesInner.Tests.ps1 new file mode 100644 index 000000000..b5eb3ad25 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/OutlierFeatureSummaryOutlierFeatureDisplayValuesInner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024OutlierFeatureSummaryOutlierFeatureDisplayValuesInner' { + Context 'V2024OutlierFeatureSummaryOutlierFeatureDisplayValuesInner' { + It 'Initialize-V2024OutlierFeatureSummaryOutlierFeatureDisplayValuesInner' { + # a simple test to create an object + #$NewObject = Initialize-V2024OutlierFeatureSummaryOutlierFeatureDisplayValuesInner -DisplayName "TEST_VALUE" -Value "TEST_VALUE" -ValueType "TEST_VALUE" + #$NewObject | Should -BeOfType OutlierFeatureSummaryOutlierFeatureDisplayValuesInner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/OutlierFeatureTranslation.Tests.ps1 b/PSSailpoint/v2024/tests/Model/OutlierFeatureTranslation.Tests.ps1 new file mode 100644 index 000000000..4e622e5ca --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/OutlierFeatureTranslation.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024OutlierFeatureTranslation' { + Context 'V2024OutlierFeatureTranslation' { + It 'Initialize-V2024OutlierFeatureTranslation' { + # a simple test to create an object + #$NewObject = Initialize-V2024OutlierFeatureTranslation -DisplayName "TEST_VALUE" -Description "TEST_VALUE" + #$NewObject | Should -BeOfType OutlierFeatureTranslation + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/OutlierSummary.Tests.ps1 b/PSSailpoint/v2024/tests/Model/OutlierSummary.Tests.ps1 new file mode 100644 index 000000000..3c235c4a0 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/OutlierSummary.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024OutlierSummary' { + Context 'V2024OutlierSummary' { + It 'Initialize-V2024OutlierSummary' { + # a simple test to create an object + #$NewObject = Initialize-V2024OutlierSummary -Type "TEST_VALUE" -SnapshotDate "TEST_VALUE" -TotalOutliers "TEST_VALUE" -TotalIdentities "TEST_VALUE" -TotalIgnored "TEST_VALUE" + #$NewObject | Should -BeOfType OutlierSummary + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/OutliersContributingFeatureAccessItems.Tests.ps1 b/PSSailpoint/v2024/tests/Model/OutliersContributingFeatureAccessItems.Tests.ps1 new file mode 100644 index 000000000..6b3ef93cf --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/OutliersContributingFeatureAccessItems.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024OutliersContributingFeatureAccessItems' { + Context 'V2024OutliersContributingFeatureAccessItems' { + It 'Initialize-V2024OutliersContributingFeatureAccessItems' { + # a simple test to create an object + #$NewObject = Initialize-V2024OutliersContributingFeatureAccessItems -Id "TEST_VALUE" -DisplayName "TEST_VALUE" -Description "TEST_VALUE" -AccessType "TEST_VALUE" -SourceName "TEST_VALUE" -ExtremelyRare "TEST_VALUE" + #$NewObject | Should -BeOfType OutliersContributingFeatureAccessItems + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/OwnerDto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/OwnerDto.Tests.ps1 new file mode 100644 index 000000000..dfb5b5de3 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/OwnerDto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024OwnerDto' { + Context 'V2024OwnerDto' { + It 'Initialize-V2024OwnerDto' { + # a simple test to create an object + #$NewObject = Initialize-V2024OwnerDto -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType OwnerDto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/OwnerReference.Tests.ps1 b/PSSailpoint/v2024/tests/Model/OwnerReference.Tests.ps1 new file mode 100644 index 000000000..2ee2fcf35 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/OwnerReference.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024OwnerReference' { + Context 'V2024OwnerReference' { + It 'Initialize-V2024OwnerReference' { + # a simple test to create an object + #$NewObject = Initialize-V2024OwnerReference -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType OwnerReference + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/OwnerReferenceDto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/OwnerReferenceDto.Tests.ps1 new file mode 100644 index 000000000..f7d182f96 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/OwnerReferenceDto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024OwnerReferenceDto' { + Context 'V2024OwnerReferenceDto' { + It 'Initialize-V2024OwnerReferenceDto' { + # a simple test to create an object + #$NewObject = Initialize-V2024OwnerReferenceDto -Id "TEST_VALUE" -Name "TEST_VALUE" -Type "TEST_VALUE" + #$NewObject | Should -BeOfType OwnerReferenceDto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/OwnerReferenceSegments.Tests.ps1 b/PSSailpoint/v2024/tests/Model/OwnerReferenceSegments.Tests.ps1 new file mode 100644 index 000000000..79f386165 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/OwnerReferenceSegments.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024OwnerReferenceSegments' { + Context 'V2024OwnerReferenceSegments' { + It 'Initialize-V2024OwnerReferenceSegments' { + # a simple test to create an object + #$NewObject = Initialize-V2024OwnerReferenceSegments -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType OwnerReferenceSegments + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Owns.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Owns.Tests.ps1 new file mode 100644 index 000000000..c299fe128 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Owns.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Owns' { + Context 'V2024Owns' { + It 'Initialize-V2024Owns' { + # a simple test to create an object + #$NewObject = Initialize-V2024Owns -Sources "TEST_VALUE" -Entitlements "TEST_VALUE" -AccessProfiles "TEST_VALUE" -Roles "TEST_VALUE" -Apps "TEST_VALUE" -GovernanceGroups "TEST_VALUE" -FallbackApprover "TEST_VALUE" + #$NewObject | Should -BeOfType Owns + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/PasswordChangeRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/PasswordChangeRequest.Tests.ps1 new file mode 100644 index 000000000..f066e56c1 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/PasswordChangeRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024PasswordChangeRequest' { + Context 'V2024PasswordChangeRequest' { + It 'Initialize-V2024PasswordChangeRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024PasswordChangeRequest -IdentityId "TEST_VALUE" -EncryptedPassword "TEST_VALUE" -PublicKeyId "TEST_VALUE" -AccountId "TEST_VALUE" -SourceId "TEST_VALUE" + #$NewObject | Should -BeOfType PasswordChangeRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/PasswordChangeResponse.Tests.ps1 b/PSSailpoint/v2024/tests/Model/PasswordChangeResponse.Tests.ps1 new file mode 100644 index 000000000..28dd117a9 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/PasswordChangeResponse.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024PasswordChangeResponse' { + Context 'V2024PasswordChangeResponse' { + It 'Initialize-V2024PasswordChangeResponse' { + # a simple test to create an object + #$NewObject = Initialize-V2024PasswordChangeResponse -RequestId "TEST_VALUE" -State "TEST_VALUE" + #$NewObject | Should -BeOfType PasswordChangeResponse + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/PasswordDigitToken.Tests.ps1 b/PSSailpoint/v2024/tests/Model/PasswordDigitToken.Tests.ps1 new file mode 100644 index 000000000..58796913f --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/PasswordDigitToken.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024PasswordDigitToken' { + Context 'V2024PasswordDigitToken' { + It 'Initialize-V2024PasswordDigitToken' { + # a simple test to create an object + #$NewObject = Initialize-V2024PasswordDigitToken -DigitToken "TEST_VALUE" -RequestId "TEST_VALUE" + #$NewObject | Should -BeOfType PasswordDigitToken + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/PasswordDigitTokenReset.Tests.ps1 b/PSSailpoint/v2024/tests/Model/PasswordDigitTokenReset.Tests.ps1 new file mode 100644 index 000000000..0bf31c179 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/PasswordDigitTokenReset.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024PasswordDigitTokenReset' { + Context 'V2024PasswordDigitTokenReset' { + It 'Initialize-V2024PasswordDigitTokenReset' { + # a simple test to create an object + #$NewObject = Initialize-V2024PasswordDigitTokenReset -UserId "TEST_VALUE" -Length "TEST_VALUE" -DurationMinutes "TEST_VALUE" + #$NewObject | Should -BeOfType PasswordDigitTokenReset + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/PasswordInfo.Tests.ps1 b/PSSailpoint/v2024/tests/Model/PasswordInfo.Tests.ps1 new file mode 100644 index 000000000..b10529146 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/PasswordInfo.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024PasswordInfo' { + Context 'V2024PasswordInfo' { + It 'Initialize-V2024PasswordInfo' { + # a simple test to create an object + #$NewObject = Initialize-V2024PasswordInfo -IdentityId "TEST_VALUE" -SourceId "TEST_VALUE" -PublicKeyId "TEST_VALUE" -PublicKey "TEST_VALUE" -Accounts "TEST_VALUE" -Policies "TEST_VALUE" + #$NewObject | Should -BeOfType PasswordInfo + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/PasswordInfoAccount.Tests.ps1 b/PSSailpoint/v2024/tests/Model/PasswordInfoAccount.Tests.ps1 new file mode 100644 index 000000000..0f1f6bc95 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/PasswordInfoAccount.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024PasswordInfoAccount' { + Context 'V2024PasswordInfoAccount' { + It 'Initialize-V2024PasswordInfoAccount' { + # a simple test to create an object + #$NewObject = Initialize-V2024PasswordInfoAccount -AccountId "TEST_VALUE" -AccountName "TEST_VALUE" + #$NewObject | Should -BeOfType PasswordInfoAccount + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/PasswordInfoQueryDTO.Tests.ps1 b/PSSailpoint/v2024/tests/Model/PasswordInfoQueryDTO.Tests.ps1 new file mode 100644 index 000000000..5b61d3c79 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/PasswordInfoQueryDTO.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024PasswordInfoQueryDTO' { + Context 'V2024PasswordInfoQueryDTO' { + It 'Initialize-V2024PasswordInfoQueryDTO' { + # a simple test to create an object + #$NewObject = Initialize-V2024PasswordInfoQueryDTO -UserName "TEST_VALUE" -SourceName "TEST_VALUE" + #$NewObject | Should -BeOfType PasswordInfoQueryDTO + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/PasswordOrgConfig.Tests.ps1 b/PSSailpoint/v2024/tests/Model/PasswordOrgConfig.Tests.ps1 new file mode 100644 index 000000000..97d6073de --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/PasswordOrgConfig.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024PasswordOrgConfig' { + Context 'V2024PasswordOrgConfig' { + It 'Initialize-V2024PasswordOrgConfig' { + # a simple test to create an object + #$NewObject = Initialize-V2024PasswordOrgConfig -CustomInstructionsEnabled "TEST_VALUE" -DigitTokenEnabled "TEST_VALUE" -DigitTokenDurationMinutes "TEST_VALUE" -DigitTokenLength "TEST_VALUE" + #$NewObject | Should -BeOfType PasswordOrgConfig + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/PasswordPolicyV3Dto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/PasswordPolicyV3Dto.Tests.ps1 new file mode 100644 index 000000000..9eced460f --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/PasswordPolicyV3Dto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024PasswordPolicyV3Dto' { + Context 'V2024PasswordPolicyV3Dto' { + It 'Initialize-V2024PasswordPolicyV3Dto' { + # a simple test to create an object + #$NewObject = Initialize-V2024PasswordPolicyV3Dto -Id "TEST_VALUE" -Description "TEST_VALUE" -Name "TEST_VALUE" -DateCreated "TEST_VALUE" -LastUpdated "TEST_VALUE" -FirstExpirationReminder "TEST_VALUE" -AccountIdMinWordLength "TEST_VALUE" -AccountNameMinWordLength "TEST_VALUE" -MinAlpha "TEST_VALUE" -MinCharacterTypes "TEST_VALUE" -MaxLength "TEST_VALUE" -MinLength "TEST_VALUE" -MaxRepeatedChars "TEST_VALUE" -MinLower "TEST_VALUE" -MinNumeric "TEST_VALUE" -MinSpecial "TEST_VALUE" -MinUpper "TEST_VALUE" -PasswordExpiration "TEST_VALUE" -DefaultPolicy "TEST_VALUE" -EnablePasswdExpiration "TEST_VALUE" -RequireStrongAuthn "TEST_VALUE" -RequireStrongAuthOffNetwork "TEST_VALUE" -RequireStrongAuthUntrustedGeographies "TEST_VALUE" -UseAccountAttributes "TEST_VALUE" -UseDictionary "TEST_VALUE" -UseIdentityAttributes "TEST_VALUE" -ValidateAgainstAccountId "TEST_VALUE" -ValidateAgainstAccountName "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" -SourceIds "TEST_VALUE" + #$NewObject | Should -BeOfType PasswordPolicyV3Dto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/PasswordStatus.Tests.ps1 b/PSSailpoint/v2024/tests/Model/PasswordStatus.Tests.ps1 new file mode 100644 index 000000000..fec0a2936 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/PasswordStatus.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024PasswordStatus' { + Context 'V2024PasswordStatus' { + It 'Initialize-V2024PasswordStatus' { + # a simple test to create an object + #$NewObject = Initialize-V2024PasswordStatus -RequestId "TEST_VALUE" -State "TEST_VALUE" -Errors "TEST_VALUE" -SourceIds "TEST_VALUE" + #$NewObject | Should -BeOfType PasswordStatus + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/PasswordSyncGroup.Tests.ps1 b/PSSailpoint/v2024/tests/Model/PasswordSyncGroup.Tests.ps1 new file mode 100644 index 000000000..0f83a0e15 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/PasswordSyncGroup.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024PasswordSyncGroup' { + Context 'V2024PasswordSyncGroup' { + It 'Initialize-V2024PasswordSyncGroup' { + # a simple test to create an object + #$NewObject = Initialize-V2024PasswordSyncGroup -Id "TEST_VALUE" -Name "TEST_VALUE" -PasswordPolicyId "TEST_VALUE" -SourceIds "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" + #$NewObject | Should -BeOfType PasswordSyncGroup + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/PatOwner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/PatOwner.Tests.ps1 new file mode 100644 index 000000000..143a91d86 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/PatOwner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024PatOwner' { + Context 'V2024PatOwner' { + It 'Initialize-V2024PatOwner' { + # a simple test to create an object + #$NewObject = Initialize-V2024PatOwner -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType PatOwner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/PatchPotentialRoleRequestInner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/PatchPotentialRoleRequestInner.Tests.ps1 new file mode 100644 index 000000000..216133a9a --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/PatchPotentialRoleRequestInner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024PatchPotentialRoleRequestInner' { + Context 'V2024PatchPotentialRoleRequestInner' { + It 'Initialize-V2024PatchPotentialRoleRequestInner' { + # a simple test to create an object + #$NewObject = Initialize-V2024PatchPotentialRoleRequestInner -Op "TEST_VALUE" -Path "TEST_VALUE" -Value "TEST_VALUE" + #$NewObject | Should -BeOfType PatchPotentialRoleRequestInner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/PatchServiceDeskIntegrationRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/PatchServiceDeskIntegrationRequest.Tests.ps1 new file mode 100644 index 000000000..063522c3b --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/PatchServiceDeskIntegrationRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024PatchServiceDeskIntegrationRequest' { + Context 'V2024PatchServiceDeskIntegrationRequest' { + It 'Initialize-V2024PatchServiceDeskIntegrationRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024PatchServiceDeskIntegrationRequest -Operations "TEST_VALUE" + #$NewObject | Should -BeOfType PatchServiceDeskIntegrationRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/PeerGroupMember.Tests.ps1 b/PSSailpoint/v2024/tests/Model/PeerGroupMember.Tests.ps1 new file mode 100644 index 000000000..841ac7dca --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/PeerGroupMember.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024PeerGroupMember' { + Context 'V2024PeerGroupMember' { + It 'Initialize-V2024PeerGroupMember' { + # a simple test to create an object + #$NewObject = Initialize-V2024PeerGroupMember -Id "TEST_VALUE" -Type "TEST_VALUE" -PeerGroupId "TEST_VALUE" -Attributes "TEST_VALUE" + #$NewObject | Should -BeOfType PeerGroupMember + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/PendingApproval.Tests.ps1 b/PSSailpoint/v2024/tests/Model/PendingApproval.Tests.ps1 new file mode 100644 index 000000000..9c8e80afa --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/PendingApproval.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024PendingApproval' { + Context 'V2024PendingApproval' { + It 'Initialize-V2024PendingApproval' { + # a simple test to create an object + #$NewObject = Initialize-V2024PendingApproval -Id "TEST_VALUE" -Name "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" -RequestCreated "TEST_VALUE" -RequestType "TEST_VALUE" -Requester "TEST_VALUE" -RequestedFor "TEST_VALUE" -Owner "TEST_VALUE" -RequestedObject "TEST_VALUE" -RequesterComment "TEST_VALUE" -PreviousReviewersComments "TEST_VALUE" -ForwardHistory "TEST_VALUE" -CommentRequiredWhenRejected "TEST_VALUE" -ActionInProcess "TEST_VALUE" -RemoveDate "TEST_VALUE" -RemoveDateUpdateRequested "TEST_VALUE" -CurrentRemoveDate "TEST_VALUE" -SodViolationContext "TEST_VALUE" + #$NewObject | Should -BeOfType PendingApproval + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/PendingApprovalAction.Tests.ps1 b/PSSailpoint/v2024/tests/Model/PendingApprovalAction.Tests.ps1 new file mode 100644 index 000000000..cb7ff68a8 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/PendingApprovalAction.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024PendingApprovalAction' { + Context 'V2024PendingApprovalAction' { + It 'Initialize-V2024PendingApprovalAction' { + # a simple test to create an object + #$NewObject = Initialize-V2024PendingApprovalAction + #$NewObject | Should -BeOfType PendingApprovalAction + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/PendingApprovalOwner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/PendingApprovalOwner.Tests.ps1 new file mode 100644 index 000000000..041336da5 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/PendingApprovalOwner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024PendingApprovalOwner' { + Context 'V2024PendingApprovalOwner' { + It 'Initialize-V2024PendingApprovalOwner' { + # a simple test to create an object + #$NewObject = Initialize-V2024PendingApprovalOwner -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType PendingApprovalOwner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/PermissionDto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/PermissionDto.Tests.ps1 new file mode 100644 index 000000000..363277710 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/PermissionDto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024PermissionDto' { + Context 'V2024PermissionDto' { + It 'Initialize-V2024PermissionDto' { + # a simple test to create an object + #$NewObject = Initialize-V2024PermissionDto -Rights "TEST_VALUE" -Target "TEST_VALUE" + #$NewObject | Should -BeOfType PermissionDto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/PreApprovalTriggerDetails.Tests.ps1 b/PSSailpoint/v2024/tests/Model/PreApprovalTriggerDetails.Tests.ps1 new file mode 100644 index 000000000..4d06cbc64 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/PreApprovalTriggerDetails.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024PreApprovalTriggerDetails' { + Context 'V2024PreApprovalTriggerDetails' { + It 'Initialize-V2024PreApprovalTriggerDetails' { + # a simple test to create an object + #$NewObject = Initialize-V2024PreApprovalTriggerDetails -Comment "TEST_VALUE" -Reviewer "TEST_VALUE" -Decision "TEST_VALUE" + #$NewObject | Should -BeOfType PreApprovalTriggerDetails + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/PreferencesDto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/PreferencesDto.Tests.ps1 new file mode 100644 index 000000000..439d4cdc2 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/PreferencesDto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024PreferencesDto' { + Context 'V2024PreferencesDto' { + It 'Initialize-V2024PreferencesDto' { + # a simple test to create an object + #$NewObject = Initialize-V2024PreferencesDto -Key "TEST_VALUE" -Mediums "TEST_VALUE" -Modified "TEST_VALUE" + #$NewObject | Should -BeOfType PreferencesDto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/PreviewDataSourceResponse.Tests.ps1 b/PSSailpoint/v2024/tests/Model/PreviewDataSourceResponse.Tests.ps1 new file mode 100644 index 000000000..fd340ec6b --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/PreviewDataSourceResponse.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024PreviewDataSourceResponse' { + Context 'V2024PreviewDataSourceResponse' { + It 'Initialize-V2024PreviewDataSourceResponse' { + # a simple test to create an object + #$NewObject = Initialize-V2024PreviewDataSourceResponse -Results "TEST_VALUE" + #$NewObject | Should -BeOfType PreviewDataSourceResponse + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ProcessIdentitiesRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ProcessIdentitiesRequest.Tests.ps1 new file mode 100644 index 000000000..2a5c9289f --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ProcessIdentitiesRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ProcessIdentitiesRequest' { + Context 'V2024ProcessIdentitiesRequest' { + It 'Initialize-V2024ProcessIdentitiesRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024ProcessIdentitiesRequest -IdentityIds "TEST_VALUE" + #$NewObject | Should -BeOfType ProcessIdentitiesRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ProcessingDetails.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ProcessingDetails.Tests.ps1 new file mode 100644 index 000000000..5a81f686f --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ProcessingDetails.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ProcessingDetails' { + Context 'V2024ProcessingDetails' { + It 'Initialize-V2024ProcessingDetails' { + # a simple test to create an object + #$NewObject = Initialize-V2024ProcessingDetails -Date "TEST_VALUE" -Stage "TEST_VALUE" -RetryCount "TEST_VALUE" -VarStackTrace "TEST_VALUE" -Message "TEST_VALUE" + #$NewObject | Should -BeOfType ProcessingDetails + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Product.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Product.Tests.ps1 new file mode 100644 index 000000000..2a5f6228a --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Product.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Product' { + Context 'V2024Product' { + It 'Initialize-V2024Product' { + # a simple test to create an object + #$NewObject = Initialize-V2024Product -ProductName "TEST_VALUE" -Url "TEST_VALUE" -ProductTenantId "TEST_VALUE" -ProductRegion "TEST_VALUE" -ProductRight "TEST_VALUE" -ApiUrl "TEST_VALUE" -Licenses "TEST_VALUE" -Attributes "TEST_VALUE" -Zone "TEST_VALUE" -Status "TEST_VALUE" -StatusDateTime "TEST_VALUE" -Reason "TEST_VALUE" -Notes "TEST_VALUE" -DateCreated "TEST_VALUE" -LastUpdated "TEST_VALUE" -OrgType "TEST_VALUE" + #$NewObject | Should -BeOfType Product + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ProvisioningCompleted.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ProvisioningCompleted.Tests.ps1 new file mode 100644 index 000000000..e640430da --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ProvisioningCompleted.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ProvisioningCompleted' { + Context 'V2024ProvisioningCompleted' { + It 'Initialize-V2024ProvisioningCompleted' { + # a simple test to create an object + #$NewObject = Initialize-V2024ProvisioningCompleted -TrackingNumber "TEST_VALUE" -Sources "TEST_VALUE" -Action "TEST_VALUE" -Errors "TEST_VALUE" -Warnings "TEST_VALUE" -Recipient "TEST_VALUE" -Requester "TEST_VALUE" -AccountRequests "TEST_VALUE" + #$NewObject | Should -BeOfType ProvisioningCompleted + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ProvisioningCompletedAccountRequestsInner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ProvisioningCompletedAccountRequestsInner.Tests.ps1 new file mode 100644 index 000000000..90d428eb6 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ProvisioningCompletedAccountRequestsInner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ProvisioningCompletedAccountRequestsInner' { + Context 'V2024ProvisioningCompletedAccountRequestsInner' { + It 'Initialize-V2024ProvisioningCompletedAccountRequestsInner' { + # a simple test to create an object + #$NewObject = Initialize-V2024ProvisioningCompletedAccountRequestsInner -Source "TEST_VALUE" -AccountId "TEST_VALUE" -AccountOperation "TEST_VALUE" -ProvisioningResult "TEST_VALUE" -ProvisioningTarget "TEST_VALUE" -TicketId "TEST_VALUE" -AttributeRequests "TEST_VALUE" + #$NewObject | Should -BeOfType ProvisioningCompletedAccountRequestsInner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ProvisioningCompletedAccountRequestsInnerAttributeRequestsInner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ProvisioningCompletedAccountRequestsInnerAttributeRequestsInner.Tests.ps1 new file mode 100644 index 000000000..8da17a2bb --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ProvisioningCompletedAccountRequestsInnerAttributeRequestsInner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ProvisioningCompletedAccountRequestsInnerAttributeRequestsInner' { + Context 'V2024ProvisioningCompletedAccountRequestsInnerAttributeRequestsInner' { + It 'Initialize-V2024ProvisioningCompletedAccountRequestsInnerAttributeRequestsInner' { + # a simple test to create an object + #$NewObject = Initialize-V2024ProvisioningCompletedAccountRequestsInnerAttributeRequestsInner -AttributeName "TEST_VALUE" -AttributeValue "TEST_VALUE" -Operation "TEST_VALUE" + #$NewObject | Should -BeOfType ProvisioningCompletedAccountRequestsInnerAttributeRequestsInner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ProvisioningCompletedAccountRequestsInnerSource.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ProvisioningCompletedAccountRequestsInnerSource.Tests.ps1 new file mode 100644 index 000000000..b7aa19a7a --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ProvisioningCompletedAccountRequestsInnerSource.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ProvisioningCompletedAccountRequestsInnerSource' { + Context 'V2024ProvisioningCompletedAccountRequestsInnerSource' { + It 'Initialize-V2024ProvisioningCompletedAccountRequestsInnerSource' { + # a simple test to create an object + #$NewObject = Initialize-V2024ProvisioningCompletedAccountRequestsInnerSource -Id "TEST_VALUE" -Type "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType ProvisioningCompletedAccountRequestsInnerSource + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ProvisioningCompletedRecipient.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ProvisioningCompletedRecipient.Tests.ps1 new file mode 100644 index 000000000..d51726d29 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ProvisioningCompletedRecipient.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ProvisioningCompletedRecipient' { + Context 'V2024ProvisioningCompletedRecipient' { + It 'Initialize-V2024ProvisioningCompletedRecipient' { + # a simple test to create an object + #$NewObject = Initialize-V2024ProvisioningCompletedRecipient -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType ProvisioningCompletedRecipient + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ProvisioningCompletedRequester.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ProvisioningCompletedRequester.Tests.ps1 new file mode 100644 index 000000000..edc46dfaf --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ProvisioningCompletedRequester.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ProvisioningCompletedRequester' { + Context 'V2024ProvisioningCompletedRequester' { + It 'Initialize-V2024ProvisioningCompletedRequester' { + # a simple test to create an object + #$NewObject = Initialize-V2024ProvisioningCompletedRequester -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType ProvisioningCompletedRequester + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ProvisioningConfig.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ProvisioningConfig.Tests.ps1 new file mode 100644 index 000000000..d5132bc9b --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ProvisioningConfig.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ProvisioningConfig' { + Context 'V2024ProvisioningConfig' { + It 'Initialize-V2024ProvisioningConfig' { + # a simple test to create an object + #$NewObject = Initialize-V2024ProvisioningConfig -UniversalManager "TEST_VALUE" -ManagedResourceRefs "TEST_VALUE" -PlanInitializerScript "TEST_VALUE" -NoProvisioningRequests "TEST_VALUE" -ProvisioningRequestExpiration "TEST_VALUE" + #$NewObject | Should -BeOfType ProvisioningConfig + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ProvisioningConfig1.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ProvisioningConfig1.Tests.ps1 new file mode 100644 index 000000000..1ab869e8a --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ProvisioningConfig1.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ProvisioningConfig1' { + Context 'V2024ProvisioningConfig1' { + It 'Initialize-V2024ProvisioningConfig1' { + # a simple test to create an object + #$NewObject = Initialize-V2024ProvisioningConfig1 -UniversalManager "TEST_VALUE" -ManagedResourceRefs "TEST_VALUE" -PlanInitializerScript "TEST_VALUE" -NoProvisioningRequests "TEST_VALUE" -ProvisioningRequestExpiration "TEST_VALUE" + #$NewObject | Should -BeOfType ProvisioningConfig1 + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ProvisioningConfig1ManagedResourceRefsInner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ProvisioningConfig1ManagedResourceRefsInner.Tests.ps1 new file mode 100644 index 000000000..d23f9ea55 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ProvisioningConfig1ManagedResourceRefsInner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ProvisioningConfig1ManagedResourceRefsInner' { + Context 'V2024ProvisioningConfig1ManagedResourceRefsInner' { + It 'Initialize-V2024ProvisioningConfig1ManagedResourceRefsInner' { + # a simple test to create an object + #$NewObject = Initialize-V2024ProvisioningConfig1ManagedResourceRefsInner -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType ProvisioningConfig1ManagedResourceRefsInner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ProvisioningConfig1PlanInitializerScript.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ProvisioningConfig1PlanInitializerScript.Tests.ps1 new file mode 100644 index 000000000..32ac0b423 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ProvisioningConfig1PlanInitializerScript.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ProvisioningConfig1PlanInitializerScript' { + Context 'V2024ProvisioningConfig1PlanInitializerScript' { + It 'Initialize-V2024ProvisioningConfig1PlanInitializerScript' { + # a simple test to create an object + #$NewObject = Initialize-V2024ProvisioningConfig1PlanInitializerScript -Source "TEST_VALUE" + #$NewObject | Should -BeOfType ProvisioningConfig1PlanInitializerScript + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ProvisioningConfigPlanInitializerScript.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ProvisioningConfigPlanInitializerScript.Tests.ps1 new file mode 100644 index 000000000..7345262a8 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ProvisioningConfigPlanInitializerScript.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ProvisioningConfigPlanInitializerScript' { + Context 'V2024ProvisioningConfigPlanInitializerScript' { + It 'Initialize-V2024ProvisioningConfigPlanInitializerScript' { + # a simple test to create an object + #$NewObject = Initialize-V2024ProvisioningConfigPlanInitializerScript -Source "TEST_VALUE" + #$NewObject | Should -BeOfType ProvisioningConfigPlanInitializerScript + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ProvisioningCriteriaLevel1.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ProvisioningCriteriaLevel1.Tests.ps1 new file mode 100644 index 000000000..fe647878f --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ProvisioningCriteriaLevel1.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ProvisioningCriteriaLevel1' { + Context 'V2024ProvisioningCriteriaLevel1' { + It 'Initialize-V2024ProvisioningCriteriaLevel1' { + # a simple test to create an object + #$NewObject = Initialize-V2024ProvisioningCriteriaLevel1 -Operation "TEST_VALUE" -Attribute "TEST_VALUE" -Value "TEST_VALUE" -Children "TEST_VALUE" + #$NewObject | Should -BeOfType ProvisioningCriteriaLevel1 + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ProvisioningCriteriaLevel2.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ProvisioningCriteriaLevel2.Tests.ps1 new file mode 100644 index 000000000..6c76da169 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ProvisioningCriteriaLevel2.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ProvisioningCriteriaLevel2' { + Context 'V2024ProvisioningCriteriaLevel2' { + It 'Initialize-V2024ProvisioningCriteriaLevel2' { + # a simple test to create an object + #$NewObject = Initialize-V2024ProvisioningCriteriaLevel2 -Operation "TEST_VALUE" -Attribute "TEST_VALUE" -Value "TEST_VALUE" -Children "TEST_VALUE" + #$NewObject | Should -BeOfType ProvisioningCriteriaLevel2 + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ProvisioningCriteriaLevel3.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ProvisioningCriteriaLevel3.Tests.ps1 new file mode 100644 index 000000000..c0ec57fd5 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ProvisioningCriteriaLevel3.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ProvisioningCriteriaLevel3' { + Context 'V2024ProvisioningCriteriaLevel3' { + It 'Initialize-V2024ProvisioningCriteriaLevel3' { + # a simple test to create an object + #$NewObject = Initialize-V2024ProvisioningCriteriaLevel3 -Operation "TEST_VALUE" -Attribute "TEST_VALUE" -Value "TEST_VALUE" -Children "TEST_VALUE" + #$NewObject | Should -BeOfType ProvisioningCriteriaLevel3 + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ProvisioningCriteriaOperation.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ProvisioningCriteriaOperation.Tests.ps1 new file mode 100644 index 000000000..44457a9c3 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ProvisioningCriteriaOperation.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ProvisioningCriteriaOperation' { + Context 'V2024ProvisioningCriteriaOperation' { + It 'Initialize-V2024ProvisioningCriteriaOperation' { + # a simple test to create an object + #$NewObject = Initialize-V2024ProvisioningCriteriaOperation + #$NewObject | Should -BeOfType ProvisioningCriteriaOperation + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ProvisioningDetails.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ProvisioningDetails.Tests.ps1 new file mode 100644 index 000000000..87092d76a --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ProvisioningDetails.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ProvisioningDetails' { + Context 'V2024ProvisioningDetails' { + It 'Initialize-V2024ProvisioningDetails' { + # a simple test to create an object + #$NewObject = Initialize-V2024ProvisioningDetails -OrderedSubPhaseReferences "TEST_VALUE" + #$NewObject | Should -BeOfType ProvisioningDetails + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ProvisioningPolicy.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ProvisioningPolicy.Tests.ps1 new file mode 100644 index 000000000..e643c683b --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ProvisioningPolicy.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ProvisioningPolicy' { + Context 'V2024ProvisioningPolicy' { + It 'Initialize-V2024ProvisioningPolicy' { + # a simple test to create an object + #$NewObject = Initialize-V2024ProvisioningPolicy -Name "TEST_VALUE" -Description "TEST_VALUE" -UsageType "TEST_VALUE" -Fields "TEST_VALUE" + #$NewObject | Should -BeOfType ProvisioningPolicy + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ProvisioningPolicyDto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ProvisioningPolicyDto.Tests.ps1 new file mode 100644 index 000000000..2e97bd4b9 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ProvisioningPolicyDto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ProvisioningPolicyDto' { + Context 'V2024ProvisioningPolicyDto' { + It 'Initialize-V2024ProvisioningPolicyDto' { + # a simple test to create an object + #$NewObject = Initialize-V2024ProvisioningPolicyDto -Name "TEST_VALUE" -Description "TEST_VALUE" -UsageType "TEST_VALUE" -Fields "TEST_VALUE" + #$NewObject | Should -BeOfType ProvisioningPolicyDto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ProvisioningState.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ProvisioningState.Tests.ps1 new file mode 100644 index 000000000..3bae513a9 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ProvisioningState.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ProvisioningState' { + Context 'V2024ProvisioningState' { + It 'Initialize-V2024ProvisioningState' { + # a simple test to create an object + #$NewObject = Initialize-V2024ProvisioningState + #$NewObject | Should -BeOfType ProvisioningState + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/PublicIdentity.Tests.ps1 b/PSSailpoint/v2024/tests/Model/PublicIdentity.Tests.ps1 new file mode 100644 index 000000000..da552739c --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/PublicIdentity.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024PublicIdentity' { + Context 'V2024PublicIdentity' { + It 'Initialize-V2024PublicIdentity' { + # a simple test to create an object + #$NewObject = Initialize-V2024PublicIdentity -Id "TEST_VALUE" -Name "TEST_VALUE" -Alias "TEST_VALUE" -Email "TEST_VALUE" -Status "TEST_VALUE" -IdentityState "TEST_VALUE" -Manager "TEST_VALUE" -Attributes "TEST_VALUE" + #$NewObject | Should -BeOfType PublicIdentity + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/PublicIdentityAttributeConfig.Tests.ps1 b/PSSailpoint/v2024/tests/Model/PublicIdentityAttributeConfig.Tests.ps1 new file mode 100644 index 000000000..7fb2b9eab --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/PublicIdentityAttributeConfig.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024PublicIdentityAttributeConfig' { + Context 'V2024PublicIdentityAttributeConfig' { + It 'Initialize-V2024PublicIdentityAttributeConfig' { + # a simple test to create an object + #$NewObject = Initialize-V2024PublicIdentityAttributeConfig -Key "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType PublicIdentityAttributeConfig + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/PublicIdentityConfig.Tests.ps1 b/PSSailpoint/v2024/tests/Model/PublicIdentityConfig.Tests.ps1 new file mode 100644 index 000000000..f04bb3d38 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/PublicIdentityConfig.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024PublicIdentityConfig' { + Context 'V2024PublicIdentityConfig' { + It 'Initialize-V2024PublicIdentityConfig' { + # a simple test to create an object + #$NewObject = Initialize-V2024PublicIdentityConfig -Attributes "TEST_VALUE" -Modified "TEST_VALUE" -ModifiedBy "TEST_VALUE" + #$NewObject | Should -BeOfType PublicIdentityConfig + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/PutCorrelationConfigRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/PutCorrelationConfigRequest.Tests.ps1 new file mode 100644 index 000000000..ade0549a3 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/PutCorrelationConfigRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024PutCorrelationConfigRequest' { + Context 'V2024PutCorrelationConfigRequest' { + It 'Initialize-V2024PutCorrelationConfigRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024PutCorrelationConfigRequest -File "TEST_VALUE" + #$NewObject | Should -BeOfType PutCorrelationConfigRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/PutPasswordDictionaryRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/PutPasswordDictionaryRequest.Tests.ps1 new file mode 100644 index 000000000..710659d0f --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/PutPasswordDictionaryRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024PutPasswordDictionaryRequest' { + Context 'V2024PutPasswordDictionaryRequest' { + It 'Initialize-V2024PutPasswordDictionaryRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024PutPasswordDictionaryRequest -File "TEST_VALUE" + #$NewObject | Should -BeOfType PutPasswordDictionaryRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/PutSourceConfigRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/PutSourceConfigRequest.Tests.ps1 new file mode 100644 index 000000000..3bad6a23a --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/PutSourceConfigRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024PutSourceConfigRequest' { + Context 'V2024PutSourceConfigRequest' { + It 'Initialize-V2024PutSourceConfigRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024PutSourceConfigRequest -File "TEST_VALUE" + #$NewObject | Should -BeOfType PutSourceConfigRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/PutSourceTemplateRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/PutSourceTemplateRequest.Tests.ps1 new file mode 100644 index 000000000..0f597fde8 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/PutSourceTemplateRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024PutSourceTemplateRequest' { + Context 'V2024PutSourceTemplateRequest' { + It 'Initialize-V2024PutSourceTemplateRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024PutSourceTemplateRequest -File "TEST_VALUE" + #$NewObject | Should -BeOfType PutSourceTemplateRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Query.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Query.Tests.ps1 new file mode 100644 index 000000000..99ea55a27 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Query.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Query' { + Context 'V2024Query' { + It 'Initialize-V2024Query' { + # a simple test to create an object + #$NewObject = Initialize-V2024Query -Query "TEST_VALUE" -Fields "TEST_VALUE" -TimeZone "TEST_VALUE" -InnerHit "TEST_VALUE" + #$NewObject | Should -BeOfType Query + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/QueryResultFilter.Tests.ps1 b/PSSailpoint/v2024/tests/Model/QueryResultFilter.Tests.ps1 new file mode 100644 index 000000000..003ac47f3 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/QueryResultFilter.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024QueryResultFilter' { + Context 'V2024QueryResultFilter' { + It 'Initialize-V2024QueryResultFilter' { + # a simple test to create an object + #$NewObject = Initialize-V2024QueryResultFilter -Includes "TEST_VALUE" -Excludes "TEST_VALUE" + #$NewObject | Should -BeOfType QueryResultFilter + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/QueryType.Tests.ps1 b/PSSailpoint/v2024/tests/Model/QueryType.Tests.ps1 new file mode 100644 index 000000000..4c9c3ab0a --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/QueryType.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024QueryType' { + Context 'V2024QueryType' { + It 'Initialize-V2024QueryType' { + # a simple test to create an object + #$NewObject = Initialize-V2024QueryType + #$NewObject | Should -BeOfType QueryType + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/QueuedCheckConfigDetails.Tests.ps1 b/PSSailpoint/v2024/tests/Model/QueuedCheckConfigDetails.Tests.ps1 new file mode 100644 index 000000000..5be9cb783 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/QueuedCheckConfigDetails.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024QueuedCheckConfigDetails' { + Context 'V2024QueuedCheckConfigDetails' { + It 'Initialize-V2024QueuedCheckConfigDetails' { + # a simple test to create an object + #$NewObject = Initialize-V2024QueuedCheckConfigDetails -ProvisioningStatusCheckIntervalMinutes "TEST_VALUE" -ProvisioningMaxStatusCheckDays "TEST_VALUE" + #$NewObject | Should -BeOfType QueuedCheckConfigDetails + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RandomAlphaNumeric.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RandomAlphaNumeric.Tests.ps1 new file mode 100644 index 000000000..e553e3bd1 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RandomAlphaNumeric.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RandomAlphaNumeric' { + Context 'V2024RandomAlphaNumeric' { + It 'Initialize-V2024RandomAlphaNumeric' { + # a simple test to create an object + #$NewObject = Initialize-V2024RandomAlphaNumeric -Length "TEST_VALUE" -RequiresPeriodicRefresh "TEST_VALUE" -VarInput "TEST_VALUE" + #$NewObject | Should -BeOfType RandomAlphaNumeric + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RandomNumeric.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RandomNumeric.Tests.ps1 new file mode 100644 index 000000000..65dd4a017 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RandomNumeric.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RandomNumeric' { + Context 'V2024RandomNumeric' { + It 'Initialize-V2024RandomNumeric' { + # a simple test to create an object + #$NewObject = Initialize-V2024RandomNumeric -Length "TEST_VALUE" -RequiresPeriodicRefresh "TEST_VALUE" -VarInput "TEST_VALUE" + #$NewObject | Should -BeOfType RandomNumeric + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Range.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Range.Tests.ps1 new file mode 100644 index 000000000..d14613abc --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Range.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Range' { + Context 'V2024Range' { + It 'Initialize-V2024Range' { + # a simple test to create an object + #$NewObject = Initialize-V2024Range -Lower "TEST_VALUE" -Upper "TEST_VALUE" + #$NewObject | Should -BeOfType Range + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ReassignReference.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ReassignReference.Tests.ps1 new file mode 100644 index 000000000..ef43944df --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ReassignReference.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ReassignReference' { + Context 'V2024ReassignReference' { + It 'Initialize-V2024ReassignReference' { + # a simple test to create an object + #$NewObject = Initialize-V2024ReassignReference -Id "TEST_VALUE" -Type "TEST_VALUE" + #$NewObject | Should -BeOfType ReassignReference + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Reassignment.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Reassignment.Tests.ps1 new file mode 100644 index 000000000..6527b54a2 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Reassignment.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Reassignment' { + Context 'V2024Reassignment' { + It 'Initialize-V2024Reassignment' { + # a simple test to create an object + #$NewObject = Initialize-V2024Reassignment -VarFrom "TEST_VALUE" -Comment "TEST_VALUE" + #$NewObject | Should -BeOfType Reassignment + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Reassignment1.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Reassignment1.Tests.ps1 new file mode 100644 index 000000000..3b637dc88 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Reassignment1.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Reassignment1' { + Context 'V2024Reassignment1' { + It 'Initialize-V2024Reassignment1' { + # a simple test to create an object + #$NewObject = Initialize-V2024Reassignment1 -VarFrom "TEST_VALUE" -Comment "TEST_VALUE" + #$NewObject | Should -BeOfType Reassignment1 + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ReassignmentReference.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ReassignmentReference.Tests.ps1 new file mode 100644 index 000000000..28a5373f8 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ReassignmentReference.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ReassignmentReference' { + Context 'V2024ReassignmentReference' { + It 'Initialize-V2024ReassignmentReference' { + # a simple test to create an object + #$NewObject = Initialize-V2024ReassignmentReference -Id "TEST_VALUE" -Type "TEST_VALUE" + #$NewObject | Should -BeOfType ReassignmentReference + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ReassignmentTrailDTO.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ReassignmentTrailDTO.Tests.ps1 new file mode 100644 index 000000000..5a19d1f75 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ReassignmentTrailDTO.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ReassignmentTrailDTO' { + Context 'V2024ReassignmentTrailDTO' { + It 'Initialize-V2024ReassignmentTrailDTO' { + # a simple test to create an object + #$NewObject = Initialize-V2024ReassignmentTrailDTO -PreviousOwner "TEST_VALUE" -NewOwner "TEST_VALUE" -ReassignmentType "TEST_VALUE" + #$NewObject | Should -BeOfType ReassignmentTrailDTO + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ReassignmentType.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ReassignmentType.Tests.ps1 new file mode 100644 index 000000000..a27cf70f8 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ReassignmentType.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ReassignmentType' { + Context 'V2024ReassignmentType' { + It 'Initialize-V2024ReassignmentType' { + # a simple test to create an object + #$NewObject = Initialize-V2024ReassignmentType + #$NewObject | Should -BeOfType ReassignmentType + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ReassignmentTypeEnum.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ReassignmentTypeEnum.Tests.ps1 new file mode 100644 index 000000000..e0d52e894 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ReassignmentTypeEnum.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ReassignmentTypeEnum' { + Context 'V2024ReassignmentTypeEnum' { + It 'Initialize-V2024ReassignmentTypeEnum' { + # a simple test to create an object + #$NewObject = Initialize-V2024ReassignmentTypeEnum + #$NewObject | Should -BeOfType ReassignmentTypeEnum + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RecommendationConfigDto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RecommendationConfigDto.Tests.ps1 new file mode 100644 index 000000000..cbea102c3 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RecommendationConfigDto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RecommendationConfigDto' { + Context 'V2024RecommendationConfigDto' { + It 'Initialize-V2024RecommendationConfigDto' { + # a simple test to create an object + #$NewObject = Initialize-V2024RecommendationConfigDto -RecommenderFeatures "TEST_VALUE" -PeerGroupPercentageThreshold "TEST_VALUE" -RunAutoSelectOnce "TEST_VALUE" -OnlyTuneThreshold "TEST_VALUE" + #$NewObject | Should -BeOfType RecommendationConfigDto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RecommendationRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RecommendationRequest.Tests.ps1 new file mode 100644 index 000000000..7d639a937 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RecommendationRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RecommendationRequest' { + Context 'V2024RecommendationRequest' { + It 'Initialize-V2024RecommendationRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024RecommendationRequest -IdentityId "TEST_VALUE" -Item "TEST_VALUE" + #$NewObject | Should -BeOfType RecommendationRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RecommendationRequestDto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RecommendationRequestDto.Tests.ps1 new file mode 100644 index 000000000..1d8c8965a --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RecommendationRequestDto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RecommendationRequestDto' { + Context 'V2024RecommendationRequestDto' { + It 'Initialize-V2024RecommendationRequestDto' { + # a simple test to create an object + #$NewObject = Initialize-V2024RecommendationRequestDto -Requests "TEST_VALUE" -ExcludeInterpretations "TEST_VALUE" -IncludeTranslationMessages "TEST_VALUE" -IncludeDebugInformation "TEST_VALUE" -PrescribeMode "TEST_VALUE" + #$NewObject | Should -BeOfType RecommendationRequestDto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RecommendationResponse.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RecommendationResponse.Tests.ps1 new file mode 100644 index 000000000..d3e7e6341 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RecommendationResponse.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RecommendationResponse' { + Context 'V2024RecommendationResponse' { + It 'Initialize-V2024RecommendationResponse' { + # a simple test to create an object + #$NewObject = Initialize-V2024RecommendationResponse -Request "TEST_VALUE" -Recommendation "TEST_VALUE" -Interpretations "TEST_VALUE" -TranslationMessages "TEST_VALUE" -RecommenderCalculations "TEST_VALUE" + #$NewObject | Should -BeOfType RecommendationResponse + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RecommendationResponseDto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RecommendationResponseDto.Tests.ps1 new file mode 100644 index 000000000..a093996f1 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RecommendationResponseDto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RecommendationResponseDto' { + Context 'V2024RecommendationResponseDto' { + It 'Initialize-V2024RecommendationResponseDto' { + # a simple test to create an object + #$NewObject = Initialize-V2024RecommendationResponseDto -Response "TEST_VALUE" + #$NewObject | Should -BeOfType RecommendationResponseDto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RecommenderCalculations.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RecommenderCalculations.Tests.ps1 new file mode 100644 index 000000000..0d136308d --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RecommenderCalculations.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RecommenderCalculations' { + Context 'V2024RecommenderCalculations' { + It 'Initialize-V2024RecommenderCalculations' { + # a simple test to create an object + #$NewObject = Initialize-V2024RecommenderCalculations -IdentityId "TEST_VALUE" -EntitlementId "TEST_VALUE" -Recommendation "TEST_VALUE" -OverallWeightedScore "TEST_VALUE" -FeatureWeightedScores "TEST_VALUE" -Threshold "TEST_VALUE" -IdentityAttributes "TEST_VALUE" -FeatureValues "TEST_VALUE" + #$NewObject | Should -BeOfType RecommenderCalculations + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RecommenderCalculationsIdentityAttributesValue.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RecommenderCalculationsIdentityAttributesValue.Tests.ps1 new file mode 100644 index 000000000..64ba26195 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RecommenderCalculationsIdentityAttributesValue.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RecommenderCalculationsIdentityAttributesValue' { + Context 'V2024RecommenderCalculationsIdentityAttributesValue' { + It 'Initialize-V2024RecommenderCalculationsIdentityAttributesValue' { + # a simple test to create an object + #$NewObject = Initialize-V2024RecommenderCalculationsIdentityAttributesValue -Value "TEST_VALUE" + #$NewObject | Should -BeOfType RecommenderCalculationsIdentityAttributesValue + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Reference.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Reference.Tests.ps1 new file mode 100644 index 000000000..2ff33c682 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Reference.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Reference' { + Context 'V2024Reference' { + It 'Initialize-V2024Reference' { + # a simple test to create an object + #$NewObject = Initialize-V2024Reference -Id "TEST_VALUE" -RequiresPeriodicRefresh "TEST_VALUE" -VarInput "TEST_VALUE" + #$NewObject | Should -BeOfType Reference + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Reference1.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Reference1.Tests.ps1 new file mode 100644 index 000000000..030b5d10d --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Reference1.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Reference1' { + Context 'V2024Reference1' { + It 'Initialize-V2024Reference1' { + # a simple test to create an object + #$NewObject = Initialize-V2024Reference1 -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType Reference1 + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RemediationItemDetails.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RemediationItemDetails.Tests.ps1 new file mode 100644 index 000000000..21e8a126b --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RemediationItemDetails.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RemediationItemDetails' { + Context 'V2024RemediationItemDetails' { + It 'Initialize-V2024RemediationItemDetails' { + # a simple test to create an object + #$NewObject = Initialize-V2024RemediationItemDetails -Id "TEST_VALUE" -TargetId "TEST_VALUE" -TargetName "TEST_VALUE" -TargetDisplayName "TEST_VALUE" -ApplicationName "TEST_VALUE" -AttributeName "TEST_VALUE" -AttributeOperation "TEST_VALUE" -AttributeValue "TEST_VALUE" -NativeIdentity "TEST_VALUE" + #$NewObject | Should -BeOfType RemediationItemDetails + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RemediationItems.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RemediationItems.Tests.ps1 new file mode 100644 index 000000000..df0b443a3 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RemediationItems.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RemediationItems' { + Context 'V2024RemediationItems' { + It 'Initialize-V2024RemediationItems' { + # a simple test to create an object + #$NewObject = Initialize-V2024RemediationItems -Id "TEST_VALUE" -TargetId "TEST_VALUE" -TargetName "TEST_VALUE" -TargetDisplayName "TEST_VALUE" -ApplicationName "TEST_VALUE" -AttributeName "TEST_VALUE" -AttributeOperation "TEST_VALUE" -AttributeValue "TEST_VALUE" -NativeIdentity "TEST_VALUE" + #$NewObject | Should -BeOfType RemediationItems + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Replace.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Replace.Tests.ps1 new file mode 100644 index 000000000..0e6337ac4 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Replace.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Replace' { + Context 'V2024Replace' { + It 'Initialize-V2024Replace' { + # a simple test to create an object + #$NewObject = Initialize-V2024Replace -Regex "TEST_VALUE" -Replacement "TEST_VALUE" -RequiresPeriodicRefresh "TEST_VALUE" -VarInput "TEST_VALUE" + #$NewObject | Should -BeOfType Replace + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ReplaceAll.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ReplaceAll.Tests.ps1 new file mode 100644 index 000000000..88f23654b --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ReplaceAll.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ReplaceAll' { + Context 'V2024ReplaceAll' { + It 'Initialize-V2024ReplaceAll' { + # a simple test to create an object + #$NewObject = Initialize-V2024ReplaceAll -Table "TEST_VALUE" -RequiresPeriodicRefresh "TEST_VALUE" -VarInput "TEST_VALUE" + #$NewObject | Should -BeOfType ReplaceAll + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ReportConfigDTO.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ReportConfigDTO.Tests.ps1 new file mode 100644 index 000000000..2dc62e7c0 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ReportConfigDTO.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ReportConfigDTO' { + Context 'V2024ReportConfigDTO' { + It 'Initialize-V2024ReportConfigDTO' { + # a simple test to create an object + #$NewObject = Initialize-V2024ReportConfigDTO -ColumnName "TEST_VALUE" -Required "TEST_VALUE" -Included "TEST_VALUE" -Order "TEST_VALUE" + #$NewObject | Should -BeOfType ReportConfigDTO + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ReportDetails.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ReportDetails.Tests.ps1 new file mode 100644 index 000000000..11c9ec926 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ReportDetails.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ReportDetails' { + Context 'V2024ReportDetails' { + It 'Initialize-V2024ReportDetails' { + # a simple test to create an object + #$NewObject = Initialize-V2024ReportDetails -ReportType "TEST_VALUE" -Arguments "TEST_VALUE" + #$NewObject | Should -BeOfType ReportDetails + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ReportDetailsArguments.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ReportDetailsArguments.Tests.ps1 new file mode 100644 index 000000000..06e756d09 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ReportDetailsArguments.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ReportDetailsArguments' { + Context 'V2024ReportDetailsArguments' { + It 'Initialize-V2024ReportDetailsArguments' { + # a simple test to create an object + #$NewObject = Initialize-V2024ReportDetailsArguments -Application "TEST_VALUE" -SourceName "TEST_VALUE" -CorrelatedOnly "TEST_VALUE" -AuthoritativeSource "TEST_VALUE" -SelectedFormats "TEST_VALUE" -Indices "TEST_VALUE" -Filters "TEST_VALUE" -Query "TEST_VALUE" -IncludeNested "TEST_VALUE" -Sort "TEST_VALUE" + #$NewObject | Should -BeOfType ReportDetailsArguments + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ReportResultReference.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ReportResultReference.Tests.ps1 new file mode 100644 index 000000000..1555182ce --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ReportResultReference.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ReportResultReference' { + Context 'V2024ReportResultReference' { + It 'Initialize-V2024ReportResultReference' { + # a simple test to create an object + #$NewObject = Initialize-V2024ReportResultReference -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" -Status "TEST_VALUE" + #$NewObject | Should -BeOfType ReportResultReference + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ReportResults.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ReportResults.Tests.ps1 new file mode 100644 index 000000000..259d893f5 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ReportResults.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ReportResults' { + Context 'V2024ReportResults' { + It 'Initialize-V2024ReportResults' { + # a simple test to create an object + #$NewObject = Initialize-V2024ReportResults -ReportType "TEST_VALUE" -TaskDefName "TEST_VALUE" -Id "TEST_VALUE" -Created "TEST_VALUE" -Status "TEST_VALUE" -Duration "TEST_VALUE" -Rows "TEST_VALUE" -AvailableFormats "TEST_VALUE" + #$NewObject | Should -BeOfType ReportResults + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ReportType.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ReportType.Tests.ps1 new file mode 100644 index 000000000..0437a6e24 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ReportType.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ReportType' { + Context 'V2024ReportType' { + It 'Initialize-V2024ReportType' { + # a simple test to create an object + #$NewObject = Initialize-V2024ReportType + #$NewObject | Should -BeOfType ReportType + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RequestOnBehalfOfConfig.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RequestOnBehalfOfConfig.Tests.ps1 new file mode 100644 index 000000000..fddbe3993 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RequestOnBehalfOfConfig.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RequestOnBehalfOfConfig' { + Context 'V2024RequestOnBehalfOfConfig' { + It 'Initialize-V2024RequestOnBehalfOfConfig' { + # a simple test to create an object + #$NewObject = Initialize-V2024RequestOnBehalfOfConfig -AllowRequestOnBehalfOfAnyoneByAnyone "TEST_VALUE" -AllowRequestOnBehalfOfEmployeeByManager "TEST_VALUE" + #$NewObject | Should -BeOfType RequestOnBehalfOfConfig + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Requestability.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Requestability.Tests.ps1 new file mode 100644 index 000000000..3224191b1 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Requestability.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Requestability' { + Context 'V2024Requestability' { + It 'Initialize-V2024Requestability' { + # a simple test to create an object + #$NewObject = Initialize-V2024Requestability -CommentsRequired "TEST_VALUE" -DenialCommentsRequired "TEST_VALUE" -ApprovalSchemes "TEST_VALUE" + #$NewObject | Should -BeOfType Requestability + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RequestabilityForRole.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RequestabilityForRole.Tests.ps1 new file mode 100644 index 000000000..4923e7e6c --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RequestabilityForRole.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RequestabilityForRole' { + Context 'V2024RequestabilityForRole' { + It 'Initialize-V2024RequestabilityForRole' { + # a simple test to create an object + #$NewObject = Initialize-V2024RequestabilityForRole -CommentsRequired "TEST_VALUE" -DenialCommentsRequired "TEST_VALUE" -ApprovalSchemes "TEST_VALUE" + #$NewObject | Should -BeOfType RequestabilityForRole + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RequestableObject.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RequestableObject.Tests.ps1 new file mode 100644 index 000000000..f187636bf --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RequestableObject.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RequestableObject' { + Context 'V2024RequestableObject' { + It 'Initialize-V2024RequestableObject' { + # a simple test to create an object + #$NewObject = Initialize-V2024RequestableObject -Id "TEST_VALUE" -Name "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" -Description "TEST_VALUE" -Type "TEST_VALUE" -RequestStatus "TEST_VALUE" -IdentityRequestId "TEST_VALUE" -OwnerRef "TEST_VALUE" -RequestCommentsRequired "TEST_VALUE" + #$NewObject | Should -BeOfType RequestableObject + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RequestableObjectReference.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RequestableObjectReference.Tests.ps1 new file mode 100644 index 000000000..b76e315d1 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RequestableObjectReference.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RequestableObjectReference' { + Context 'V2024RequestableObjectReference' { + It 'Initialize-V2024RequestableObjectReference' { + # a simple test to create an object + #$NewObject = Initialize-V2024RequestableObjectReference -Id "TEST_VALUE" -Name "TEST_VALUE" -Description "TEST_VALUE" -Type "TEST_VALUE" + #$NewObject | Should -BeOfType RequestableObjectReference + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RequestableObjectRequestStatus.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RequestableObjectRequestStatus.Tests.ps1 new file mode 100644 index 000000000..699b6cf04 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RequestableObjectRequestStatus.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RequestableObjectRequestStatus' { + Context 'V2024RequestableObjectRequestStatus' { + It 'Initialize-V2024RequestableObjectRequestStatus' { + # a simple test to create an object + #$NewObject = Initialize-V2024RequestableObjectRequestStatus + #$NewObject | Should -BeOfType RequestableObjectRequestStatus + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RequestableObjectType.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RequestableObjectType.Tests.ps1 new file mode 100644 index 000000000..91a9ad496 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RequestableObjectType.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RequestableObjectType' { + Context 'V2024RequestableObjectType' { + It 'Initialize-V2024RequestableObjectType' { + # a simple test to create an object + #$NewObject = Initialize-V2024RequestableObjectType + #$NewObject | Should -BeOfType RequestableObjectType + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RequestedItemStatus.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RequestedItemStatus.Tests.ps1 new file mode 100644 index 000000000..757db7580 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RequestedItemStatus.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RequestedItemStatus' { + Context 'V2024RequestedItemStatus' { + It 'Initialize-V2024RequestedItemStatus' { + # a simple test to create an object + #$NewObject = Initialize-V2024RequestedItemStatus -Name "TEST_VALUE" -Type "TEST_VALUE" -CancelledRequestDetails "TEST_VALUE" -ErrorMessages "TEST_VALUE" -State "TEST_VALUE" -ApprovalDetails "TEST_VALUE" -ManualWorkItemDetails "TEST_VALUE" -AccountActivityItemId "TEST_VALUE" -RequestType "TEST_VALUE" -Modified "TEST_VALUE" -Created "TEST_VALUE" -Requester "TEST_VALUE" -RequestedFor "TEST_VALUE" -RequesterComment "TEST_VALUE" -SodViolationContext "TEST_VALUE" -ProvisioningDetails "TEST_VALUE" -PreApprovalTriggerDetails "TEST_VALUE" -AccessRequestPhases "TEST_VALUE" -Description "TEST_VALUE" -RemoveDate "TEST_VALUE" -Cancelable "TEST_VALUE" -AccessRequestId "TEST_VALUE" -ClientMetadata "TEST_VALUE" + #$NewObject | Should -BeOfType RequestedItemStatus + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RequestedItemStatusCancelledRequestDetails.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RequestedItemStatusCancelledRequestDetails.Tests.ps1 new file mode 100644 index 000000000..1387f6568 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RequestedItemStatusCancelledRequestDetails.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RequestedItemStatusCancelledRequestDetails' { + Context 'V2024RequestedItemStatusCancelledRequestDetails' { + It 'Initialize-V2024RequestedItemStatusCancelledRequestDetails' { + # a simple test to create an object + #$NewObject = Initialize-V2024RequestedItemStatusCancelledRequestDetails -Comment "TEST_VALUE" -Owner "TEST_VALUE" -Modified "TEST_VALUE" + #$NewObject | Should -BeOfType RequestedItemStatusCancelledRequestDetails + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RequestedItemStatusPreApprovalTriggerDetails.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RequestedItemStatusPreApprovalTriggerDetails.Tests.ps1 new file mode 100644 index 000000000..73165c70d --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RequestedItemStatusPreApprovalTriggerDetails.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RequestedItemStatusPreApprovalTriggerDetails' { + Context 'V2024RequestedItemStatusPreApprovalTriggerDetails' { + It 'Initialize-V2024RequestedItemStatusPreApprovalTriggerDetails' { + # a simple test to create an object + #$NewObject = Initialize-V2024RequestedItemStatusPreApprovalTriggerDetails -Comment "TEST_VALUE" -Reviewer "TEST_VALUE" -Decision "TEST_VALUE" + #$NewObject | Should -BeOfType RequestedItemStatusPreApprovalTriggerDetails + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RequestedItemStatusProvisioningDetails.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RequestedItemStatusProvisioningDetails.Tests.ps1 new file mode 100644 index 000000000..558eb04a2 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RequestedItemStatusProvisioningDetails.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RequestedItemStatusProvisioningDetails' { + Context 'V2024RequestedItemStatusProvisioningDetails' { + It 'Initialize-V2024RequestedItemStatusProvisioningDetails' { + # a simple test to create an object + #$NewObject = Initialize-V2024RequestedItemStatusProvisioningDetails -OrderedSubPhaseReferences "TEST_VALUE" + #$NewObject | Should -BeOfType RequestedItemStatusProvisioningDetails + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RequestedItemStatusRequestState.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RequestedItemStatusRequestState.Tests.ps1 new file mode 100644 index 000000000..73e926fa9 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RequestedItemStatusRequestState.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RequestedItemStatusRequestState' { + Context 'V2024RequestedItemStatusRequestState' { + It 'Initialize-V2024RequestedItemStatusRequestState' { + # a simple test to create an object + #$NewObject = Initialize-V2024RequestedItemStatusRequestState + #$NewObject | Should -BeOfType RequestedItemStatusRequestState + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RequestedItemStatusRequestedFor.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RequestedItemStatusRequestedFor.Tests.ps1 new file mode 100644 index 000000000..227de1835 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RequestedItemStatusRequestedFor.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RequestedItemStatusRequestedFor' { + Context 'V2024RequestedItemStatusRequestedFor' { + It 'Initialize-V2024RequestedItemStatusRequestedFor' { + # a simple test to create an object + #$NewObject = Initialize-V2024RequestedItemStatusRequestedFor -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType RequestedItemStatusRequestedFor + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RequestedItemStatusRequesterComment.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RequestedItemStatusRequesterComment.Tests.ps1 new file mode 100644 index 000000000..42ab11d41 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RequestedItemStatusRequesterComment.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RequestedItemStatusRequesterComment' { + Context 'V2024RequestedItemStatusRequesterComment' { + It 'Initialize-V2024RequestedItemStatusRequesterComment' { + # a simple test to create an object + #$NewObject = Initialize-V2024RequestedItemStatusRequesterComment -Comment "TEST_VALUE" -Created "TEST_VALUE" -Author "TEST_VALUE" + #$NewObject | Should -BeOfType RequestedItemStatusRequesterComment + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RequestedItemStatusSodViolationContext.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RequestedItemStatusSodViolationContext.Tests.ps1 new file mode 100644 index 000000000..59d8dcf95 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RequestedItemStatusSodViolationContext.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RequestedItemStatusSodViolationContext' { + Context 'V2024RequestedItemStatusSodViolationContext' { + It 'Initialize-V2024RequestedItemStatusSodViolationContext' { + # a simple test to create an object + #$NewObject = Initialize-V2024RequestedItemStatusSodViolationContext -State "TEST_VALUE" -Uuid "TEST_VALUE" -ViolationCheckResult "TEST_VALUE" + #$NewObject | Should -BeOfType RequestedItemStatusSodViolationContext + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ResourceObject.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ResourceObject.Tests.ps1 new file mode 100644 index 000000000..a00fd4f01 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ResourceObject.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ResourceObject' { + Context 'V2024ResourceObject' { + It 'Initialize-V2024ResourceObject' { + # a simple test to create an object + #$NewObject = Initialize-V2024ResourceObject -Instance "TEST_VALUE" -Identity "TEST_VALUE" -Uuid "TEST_VALUE" -PreviousIdentity "TEST_VALUE" -Name "TEST_VALUE" -ObjectType "TEST_VALUE" -Incomplete "TEST_VALUE" -Incremental "TEST_VALUE" -Delete "TEST_VALUE" -Remove "TEST_VALUE" -Missing "TEST_VALUE" -Attributes "TEST_VALUE" -FinalUpdate "TEST_VALUE" + #$NewObject | Should -BeOfType ResourceObject + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ResourceObjectsRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ResourceObjectsRequest.Tests.ps1 new file mode 100644 index 000000000..a3552fa90 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ResourceObjectsRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ResourceObjectsRequest' { + Context 'V2024ResourceObjectsRequest' { + It 'Initialize-V2024ResourceObjectsRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024ResourceObjectsRequest -ObjectType "TEST_VALUE" -MaxCount "TEST_VALUE" + #$NewObject | Should -BeOfType ResourceObjectsRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ResourceObjectsResponse.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ResourceObjectsResponse.Tests.ps1 new file mode 100644 index 000000000..5542b5619 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ResourceObjectsResponse.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ResourceObjectsResponse' { + Context 'V2024ResourceObjectsResponse' { + It 'Initialize-V2024ResourceObjectsResponse' { + # a simple test to create an object + #$NewObject = Initialize-V2024ResourceObjectsResponse -Id "TEST_VALUE" -Name "TEST_VALUE" -ObjectCount "TEST_VALUE" -ElapsedMillis "TEST_VALUE" -ResourceObjects "TEST_VALUE" + #$NewObject | Should -BeOfType ResourceObjectsResponse + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ReviewDecision.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ReviewDecision.Tests.ps1 new file mode 100644 index 000000000..e685051f2 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ReviewDecision.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ReviewDecision' { + Context 'V2024ReviewDecision' { + It 'Initialize-V2024ReviewDecision' { + # a simple test to create an object + #$NewObject = Initialize-V2024ReviewDecision -Id "TEST_VALUE" -Decision "TEST_VALUE" -ProposedEndDate "TEST_VALUE" -Bulk "TEST_VALUE" -Recommendation "TEST_VALUE" -Comments "TEST_VALUE" + #$NewObject | Should -BeOfType ReviewDecision + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ReviewReassign.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ReviewReassign.Tests.ps1 new file mode 100644 index 000000000..bd760ed43 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ReviewReassign.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ReviewReassign' { + Context 'V2024ReviewReassign' { + It 'Initialize-V2024ReviewReassign' { + # a simple test to create an object + #$NewObject = Initialize-V2024ReviewReassign -Reassign "TEST_VALUE" -ReassignTo "TEST_VALUE" -Reason "TEST_VALUE" + #$NewObject | Should -BeOfType ReviewReassign + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ReviewRecommendation.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ReviewRecommendation.Tests.ps1 new file mode 100644 index 000000000..dd75b5c65 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ReviewRecommendation.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ReviewRecommendation' { + Context 'V2024ReviewRecommendation' { + It 'Initialize-V2024ReviewRecommendation' { + # a simple test to create an object + #$NewObject = Initialize-V2024ReviewRecommendation -Recommendation "TEST_VALUE" -Reasons "TEST_VALUE" -Timestamp "TEST_VALUE" + #$NewObject | Should -BeOfType ReviewRecommendation + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ReviewableAccessProfile.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ReviewableAccessProfile.Tests.ps1 new file mode 100644 index 000000000..22e7cf567 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ReviewableAccessProfile.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ReviewableAccessProfile' { + Context 'V2024ReviewableAccessProfile' { + It 'Initialize-V2024ReviewableAccessProfile' { + # a simple test to create an object + #$NewObject = Initialize-V2024ReviewableAccessProfile -Id "TEST_VALUE" -Name "TEST_VALUE" -Description "TEST_VALUE" -Privileged "TEST_VALUE" -CloudGoverned "TEST_VALUE" -EndDate "TEST_VALUE" -Owner "TEST_VALUE" -Entitlements "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" + #$NewObject | Should -BeOfType ReviewableAccessProfile + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ReviewableEntitlement.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ReviewableEntitlement.Tests.ps1 new file mode 100644 index 000000000..30806da5f --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ReviewableEntitlement.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ReviewableEntitlement' { + Context 'V2024ReviewableEntitlement' { + It 'Initialize-V2024ReviewableEntitlement' { + # a simple test to create an object + #$NewObject = Initialize-V2024ReviewableEntitlement -Id "TEST_VALUE" -Name "TEST_VALUE" -Description "TEST_VALUE" -Privileged "TEST_VALUE" -Owner "TEST_VALUE" -AttributeName "TEST_VALUE" -AttributeValue "TEST_VALUE" -SourceSchemaObjectType "TEST_VALUE" -SourceName "TEST_VALUE" -SourceType "TEST_VALUE" -SourceId "TEST_VALUE" -HasPermissions "TEST_VALUE" -IsPermission "TEST_VALUE" -Revocable "TEST_VALUE" -CloudGoverned "TEST_VALUE" -ContainsDataAccess "TEST_VALUE" -DataAccess "TEST_VALUE" -Account "TEST_VALUE" + #$NewObject | Should -BeOfType ReviewableEntitlement + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ReviewableEntitlementAccount.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ReviewableEntitlementAccount.Tests.ps1 new file mode 100644 index 000000000..8a3ff503f --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ReviewableEntitlementAccount.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ReviewableEntitlementAccount' { + Context 'V2024ReviewableEntitlementAccount' { + It 'Initialize-V2024ReviewableEntitlementAccount' { + # a simple test to create an object + #$NewObject = Initialize-V2024ReviewableEntitlementAccount -NativeIdentity "TEST_VALUE" -Disabled "TEST_VALUE" -Locked "TEST_VALUE" -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" -ActivityInsights "TEST_VALUE" + #$NewObject | Should -BeOfType ReviewableEntitlementAccount + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ReviewableRole.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ReviewableRole.Tests.ps1 new file mode 100644 index 000000000..84205efe1 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ReviewableRole.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ReviewableRole' { + Context 'V2024ReviewableRole' { + It 'Initialize-V2024ReviewableRole' { + # a simple test to create an object + #$NewObject = Initialize-V2024ReviewableRole -Id "TEST_VALUE" -Name "TEST_VALUE" -Description "TEST_VALUE" -Privileged "TEST_VALUE" -Owner "TEST_VALUE" -Revocable "TEST_VALUE" -EndDate "TEST_VALUE" -AccessProfiles "TEST_VALUE" -Entitlements "TEST_VALUE" + #$NewObject | Should -BeOfType ReviewableRole + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Reviewer.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Reviewer.Tests.ps1 new file mode 100644 index 000000000..2de491da6 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Reviewer.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Reviewer' { + Context 'V2024Reviewer' { + It 'Initialize-V2024Reviewer' { + # a simple test to create an object + #$NewObject = Initialize-V2024Reviewer -Id "TEST_VALUE" -Name "TEST_VALUE" -Email "TEST_VALUE" -Type "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" + #$NewObject | Should -BeOfType Reviewer + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Reviewer1.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Reviewer1.Tests.ps1 new file mode 100644 index 000000000..87b1bcd59 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Reviewer1.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Reviewer1' { + Context 'V2024Reviewer1' { + It 'Initialize-V2024Reviewer1' { + # a simple test to create an object + #$NewObject = Initialize-V2024Reviewer1 -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" -Email "TEST_VALUE" + #$NewObject | Should -BeOfType Reviewer1 + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Revocability.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Revocability.Tests.ps1 new file mode 100644 index 000000000..ab4474761 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Revocability.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Revocability' { + Context 'V2024Revocability' { + It 'Initialize-V2024Revocability' { + # a simple test to create an object + #$NewObject = Initialize-V2024Revocability -ApprovalSchemes "TEST_VALUE" + #$NewObject | Should -BeOfType Revocability + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RevocabilityForRole.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RevocabilityForRole.Tests.ps1 new file mode 100644 index 000000000..7b16db46b --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RevocabilityForRole.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RevocabilityForRole' { + Context 'V2024RevocabilityForRole' { + It 'Initialize-V2024RevocabilityForRole' { + # a simple test to create an object + #$NewObject = Initialize-V2024RevocabilityForRole -CommentsRequired "TEST_VALUE" -DenialCommentsRequired "TEST_VALUE" -ApprovalSchemes "TEST_VALUE" + #$NewObject | Should -BeOfType RevocabilityForRole + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RightPad.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RightPad.Tests.ps1 new file mode 100644 index 000000000..80dd43eda --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RightPad.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RightPad' { + Context 'V2024RightPad' { + It 'Initialize-V2024RightPad' { + # a simple test to create an object + #$NewObject = Initialize-V2024RightPad -Length "TEST_VALUE" -Padding "TEST_VALUE" -RequiresPeriodicRefresh "TEST_VALUE" -VarInput "TEST_VALUE" + #$NewObject | Should -BeOfType RightPad + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Role.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Role.Tests.ps1 new file mode 100644 index 000000000..685d238b9 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Role.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Role' { + Context 'V2024Role' { + It 'Initialize-V2024Role' { + # a simple test to create an object + #$NewObject = Initialize-V2024Role -Id "TEST_VALUE" -Name "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" -Description "TEST_VALUE" -Owner "TEST_VALUE" -AccessProfiles "TEST_VALUE" -Entitlements "TEST_VALUE" -Membership "TEST_VALUE" -LegacyMembershipInfo "TEST_VALUE" -Enabled "TEST_VALUE" -Requestable "TEST_VALUE" -AccessRequestConfig "TEST_VALUE" -RevocationRequestConfig "TEST_VALUE" -Segments "TEST_VALUE" -Dimensional "TEST_VALUE" -DimensionRefs "TEST_VALUE" + #$NewObject | Should -BeOfType Role + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RoleAssignmentDto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RoleAssignmentDto.Tests.ps1 new file mode 100644 index 000000000..2f7e9e3c4 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RoleAssignmentDto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RoleAssignmentDto' { + Context 'V2024RoleAssignmentDto' { + It 'Initialize-V2024RoleAssignmentDto' { + # a simple test to create an object + #$NewObject = Initialize-V2024RoleAssignmentDto -Id "TEST_VALUE" -Role "TEST_VALUE" -Comments "TEST_VALUE" -AssignmentSource "TEST_VALUE" -Assigner "TEST_VALUE" -AssignedDimensions "TEST_VALUE" -AssignmentContext "TEST_VALUE" -AccountTargets "TEST_VALUE" -RemoveDate "TEST_VALUE" + #$NewObject | Should -BeOfType RoleAssignmentDto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RoleAssignmentRef.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RoleAssignmentRef.Tests.ps1 new file mode 100644 index 000000000..685e94b8f --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RoleAssignmentRef.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RoleAssignmentRef' { + Context 'V2024RoleAssignmentRef' { + It 'Initialize-V2024RoleAssignmentRef' { + # a simple test to create an object + #$NewObject = Initialize-V2024RoleAssignmentRef -Id "TEST_VALUE" -Role "TEST_VALUE" + #$NewObject | Should -BeOfType RoleAssignmentRef + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RoleAssignmentSourceType.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RoleAssignmentSourceType.Tests.ps1 new file mode 100644 index 000000000..80340dd35 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RoleAssignmentSourceType.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RoleAssignmentSourceType' { + Context 'V2024RoleAssignmentSourceType' { + It 'Initialize-V2024RoleAssignmentSourceType' { + # a simple test to create an object + #$NewObject = Initialize-V2024RoleAssignmentSourceType + #$NewObject | Should -BeOfType RoleAssignmentSourceType + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RoleBulkDeleteRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RoleBulkDeleteRequest.Tests.ps1 new file mode 100644 index 000000000..bdb2d0417 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RoleBulkDeleteRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RoleBulkDeleteRequest' { + Context 'V2024RoleBulkDeleteRequest' { + It 'Initialize-V2024RoleBulkDeleteRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024RoleBulkDeleteRequest -RoleIds "TEST_VALUE" + #$NewObject | Should -BeOfType RoleBulkDeleteRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RoleCriteriaKey.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RoleCriteriaKey.Tests.ps1 new file mode 100644 index 000000000..bd2b71409 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RoleCriteriaKey.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RoleCriteriaKey' { + Context 'V2024RoleCriteriaKey' { + It 'Initialize-V2024RoleCriteriaKey' { + # a simple test to create an object + #$NewObject = Initialize-V2024RoleCriteriaKey -Type "TEST_VALUE" -Property "TEST_VALUE" -SourceId "TEST_VALUE" + #$NewObject | Should -BeOfType RoleCriteriaKey + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RoleCriteriaKeyType.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RoleCriteriaKeyType.Tests.ps1 new file mode 100644 index 000000000..66518cb43 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RoleCriteriaKeyType.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RoleCriteriaKeyType' { + Context 'V2024RoleCriteriaKeyType' { + It 'Initialize-V2024RoleCriteriaKeyType' { + # a simple test to create an object + #$NewObject = Initialize-V2024RoleCriteriaKeyType + #$NewObject | Should -BeOfType RoleCriteriaKeyType + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RoleCriteriaLevel1.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RoleCriteriaLevel1.Tests.ps1 new file mode 100644 index 000000000..9a8c94bc9 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RoleCriteriaLevel1.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RoleCriteriaLevel1' { + Context 'V2024RoleCriteriaLevel1' { + It 'Initialize-V2024RoleCriteriaLevel1' { + # a simple test to create an object + #$NewObject = Initialize-V2024RoleCriteriaLevel1 -Operation "TEST_VALUE" -Key "TEST_VALUE" -StringValue "TEST_VALUE" -Children "TEST_VALUE" + #$NewObject | Should -BeOfType RoleCriteriaLevel1 + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RoleCriteriaLevel2.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RoleCriteriaLevel2.Tests.ps1 new file mode 100644 index 000000000..ef43e5b3b --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RoleCriteriaLevel2.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RoleCriteriaLevel2' { + Context 'V2024RoleCriteriaLevel2' { + It 'Initialize-V2024RoleCriteriaLevel2' { + # a simple test to create an object + #$NewObject = Initialize-V2024RoleCriteriaLevel2 -Operation "TEST_VALUE" -Key "TEST_VALUE" -StringValue "TEST_VALUE" -Children "TEST_VALUE" + #$NewObject | Should -BeOfType RoleCriteriaLevel2 + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RoleCriteriaLevel3.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RoleCriteriaLevel3.Tests.ps1 new file mode 100644 index 000000000..eda67eb75 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RoleCriteriaLevel3.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RoleCriteriaLevel3' { + Context 'V2024RoleCriteriaLevel3' { + It 'Initialize-V2024RoleCriteriaLevel3' { + # a simple test to create an object + #$NewObject = Initialize-V2024RoleCriteriaLevel3 -Operation "TEST_VALUE" -Key "TEST_VALUE" -StringValue "TEST_VALUE" + #$NewObject | Should -BeOfType RoleCriteriaLevel3 + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RoleCriteriaOperation.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RoleCriteriaOperation.Tests.ps1 new file mode 100644 index 000000000..acec07d30 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RoleCriteriaOperation.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RoleCriteriaOperation' { + Context 'V2024RoleCriteriaOperation' { + It 'Initialize-V2024RoleCriteriaOperation' { + # a simple test to create an object + #$NewObject = Initialize-V2024RoleCriteriaOperation + #$NewObject | Should -BeOfType RoleCriteriaOperation + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RoleDocument.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RoleDocument.Tests.ps1 new file mode 100644 index 000000000..3cf31e253 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RoleDocument.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RoleDocument' { + Context 'V2024RoleDocument' { + It 'Initialize-V2024RoleDocument' { + # a simple test to create an object + #$NewObject = Initialize-V2024RoleDocument -Id "TEST_VALUE" -Name "TEST_VALUE" -Type "TEST_VALUE" -Description "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" -Synced "TEST_VALUE" -Enabled "TEST_VALUE" -Requestable "TEST_VALUE" -RequestCommentsRequired "TEST_VALUE" -Owner "TEST_VALUE" -AccessProfiles "TEST_VALUE" -AccessProfileCount "TEST_VALUE" -Tags "TEST_VALUE" -Segments "TEST_VALUE" -SegmentCount "TEST_VALUE" -Entitlements "TEST_VALUE" -EntitlementCount "TEST_VALUE" + #$NewObject | Should -BeOfType RoleDocument + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RoleIdentity.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RoleIdentity.Tests.ps1 new file mode 100644 index 000000000..b10e79d56 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RoleIdentity.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RoleIdentity' { + Context 'V2024RoleIdentity' { + It 'Initialize-V2024RoleIdentity' { + # a simple test to create an object + #$NewObject = Initialize-V2024RoleIdentity -Id "TEST_VALUE" -AliasName "TEST_VALUE" -Name "TEST_VALUE" -Email "TEST_VALUE" -RoleAssignmentSource "TEST_VALUE" + #$NewObject | Should -BeOfType RoleIdentity + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RoleInsight.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RoleInsight.Tests.ps1 new file mode 100644 index 000000000..5c699586c --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RoleInsight.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RoleInsight' { + Context 'V2024RoleInsight' { + It 'Initialize-V2024RoleInsight' { + # a simple test to create an object + #$NewObject = Initialize-V2024RoleInsight -Id "TEST_VALUE" -NumberOfUpdates "TEST_VALUE" -CreatedDate "TEST_VALUE" -ModifiedDate "TEST_VALUE" -Role "TEST_VALUE" -Insight "TEST_VALUE" + #$NewObject | Should -BeOfType RoleInsight + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RoleInsightsEntitlement.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RoleInsightsEntitlement.Tests.ps1 new file mode 100644 index 000000000..3fa155753 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RoleInsightsEntitlement.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RoleInsightsEntitlement' { + Context 'V2024RoleInsightsEntitlement' { + It 'Initialize-V2024RoleInsightsEntitlement' { + # a simple test to create an object + #$NewObject = Initialize-V2024RoleInsightsEntitlement -Name "TEST_VALUE" -Id "TEST_VALUE" -Description "TEST_VALUE" -Source "TEST_VALUE" -Attribute "TEST_VALUE" -Value "TEST_VALUE" + #$NewObject | Should -BeOfType RoleInsightsEntitlement + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RoleInsightsEntitlementChanges.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RoleInsightsEntitlementChanges.Tests.ps1 new file mode 100644 index 000000000..2d49730b6 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RoleInsightsEntitlementChanges.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RoleInsightsEntitlementChanges' { + Context 'V2024RoleInsightsEntitlementChanges' { + It 'Initialize-V2024RoleInsightsEntitlementChanges' { + # a simple test to create an object + #$NewObject = Initialize-V2024RoleInsightsEntitlementChanges -Name "TEST_VALUE" -Id "TEST_VALUE" -Description "TEST_VALUE" -Attribute "TEST_VALUE" -Value "TEST_VALUE" -Source "TEST_VALUE" -Insight "TEST_VALUE" + #$NewObject | Should -BeOfType RoleInsightsEntitlementChanges + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RoleInsightsIdentities.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RoleInsightsIdentities.Tests.ps1 new file mode 100644 index 000000000..dd1da1483 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RoleInsightsIdentities.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RoleInsightsIdentities' { + Context 'V2024RoleInsightsIdentities' { + It 'Initialize-V2024RoleInsightsIdentities' { + # a simple test to create an object + #$NewObject = Initialize-V2024RoleInsightsIdentities -Id "TEST_VALUE" -Name "TEST_VALUE" -Attributes "TEST_VALUE" + #$NewObject | Should -BeOfType RoleInsightsIdentities + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RoleInsightsInsight.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RoleInsightsInsight.Tests.ps1 new file mode 100644 index 000000000..3dc3a3551 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RoleInsightsInsight.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RoleInsightsInsight' { + Context 'V2024RoleInsightsInsight' { + It 'Initialize-V2024RoleInsightsInsight' { + # a simple test to create an object + #$NewObject = Initialize-V2024RoleInsightsInsight -Type "TEST_VALUE" -IdentitiesWithAccess "TEST_VALUE" -IdentitiesImpacted "TEST_VALUE" -TotalNumberOfIdentities "TEST_VALUE" -ImpactedIdentityNames "TEST_VALUE" + #$NewObject | Should -BeOfType RoleInsightsInsight + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RoleInsightsResponse.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RoleInsightsResponse.Tests.ps1 new file mode 100644 index 000000000..baa725cbb --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RoleInsightsResponse.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RoleInsightsResponse' { + Context 'V2024RoleInsightsResponse' { + It 'Initialize-V2024RoleInsightsResponse' { + # a simple test to create an object + #$NewObject = Initialize-V2024RoleInsightsResponse -Id "TEST_VALUE" -CreatedDate "TEST_VALUE" -LastGenerated "TEST_VALUE" -NumberOfUpdates "TEST_VALUE" -RoleIds "TEST_VALUE" -Status "TEST_VALUE" + #$NewObject | Should -BeOfType RoleInsightsResponse + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RoleInsightsRole.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RoleInsightsRole.Tests.ps1 new file mode 100644 index 000000000..6af585cbf --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RoleInsightsRole.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RoleInsightsRole' { + Context 'V2024RoleInsightsRole' { + It 'Initialize-V2024RoleInsightsRole' { + # a simple test to create an object + #$NewObject = Initialize-V2024RoleInsightsRole -Name "TEST_VALUE" -Id "TEST_VALUE" -Description "TEST_VALUE" -OwnerName "TEST_VALUE" -OwnerId "TEST_VALUE" + #$NewObject | Should -BeOfType RoleInsightsRole + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RoleInsightsSummary.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RoleInsightsSummary.Tests.ps1 new file mode 100644 index 000000000..38dfaefa1 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RoleInsightsSummary.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RoleInsightsSummary' { + Context 'V2024RoleInsightsSummary' { + It 'Initialize-V2024RoleInsightsSummary' { + # a simple test to create an object + #$NewObject = Initialize-V2024RoleInsightsSummary -NumberOfUpdates "TEST_VALUE" -LastGenerated "TEST_VALUE" -EntitlementsIncludedInRoles "TEST_VALUE" -TotalNumberOfEntitlements "TEST_VALUE" -IdentitiesWithAccessViaRoles "TEST_VALUE" -TotalNumberOfIdentities "TEST_VALUE" + #$NewObject | Should -BeOfType RoleInsightsSummary + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RoleMatchDto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RoleMatchDto.Tests.ps1 new file mode 100644 index 000000000..475986460 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RoleMatchDto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RoleMatchDto' { + Context 'V2024RoleMatchDto' { + It 'Initialize-V2024RoleMatchDto' { + # a simple test to create an object + #$NewObject = Initialize-V2024RoleMatchDto -RoleRef "TEST_VALUE" -MatchedAttributes "TEST_VALUE" + #$NewObject | Should -BeOfType RoleMatchDto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RoleMembershipIdentity.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RoleMembershipIdentity.Tests.ps1 new file mode 100644 index 000000000..875d692d7 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RoleMembershipIdentity.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RoleMembershipIdentity' { + Context 'V2024RoleMembershipIdentity' { + It 'Initialize-V2024RoleMembershipIdentity' { + # a simple test to create an object + #$NewObject = Initialize-V2024RoleMembershipIdentity -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" -AliasName "TEST_VALUE" + #$NewObject | Should -BeOfType RoleMembershipIdentity + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RoleMembershipSelector.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RoleMembershipSelector.Tests.ps1 new file mode 100644 index 000000000..af9b042df --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RoleMembershipSelector.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RoleMembershipSelector' { + Context 'V2024RoleMembershipSelector' { + It 'Initialize-V2024RoleMembershipSelector' { + # a simple test to create an object + #$NewObject = Initialize-V2024RoleMembershipSelector -Type "TEST_VALUE" -Criteria "TEST_VALUE" -Identities "TEST_VALUE" + #$NewObject | Should -BeOfType RoleMembershipSelector + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RoleMembershipSelectorType.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RoleMembershipSelectorType.Tests.ps1 new file mode 100644 index 000000000..deb928382 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RoleMembershipSelectorType.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RoleMembershipSelectorType' { + Context 'V2024RoleMembershipSelectorType' { + It 'Initialize-V2024RoleMembershipSelectorType' { + # a simple test to create an object + #$NewObject = Initialize-V2024RoleMembershipSelectorType + #$NewObject | Should -BeOfType RoleMembershipSelectorType + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RoleMiningEntitlement.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RoleMiningEntitlement.Tests.ps1 new file mode 100644 index 000000000..82a3c9f7d --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RoleMiningEntitlement.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RoleMiningEntitlement' { + Context 'V2024RoleMiningEntitlement' { + It 'Initialize-V2024RoleMiningEntitlement' { + # a simple test to create an object + #$NewObject = Initialize-V2024RoleMiningEntitlement -EntitlementRef "TEST_VALUE" -Name "TEST_VALUE" -ApplicationName "TEST_VALUE" -IdentityCount "TEST_VALUE" -Popularity "TEST_VALUE" -PopularityInOrg "TEST_VALUE" -SourceId "TEST_VALUE" -ActivitySourceState "TEST_VALUE" -SourceUsagePercent "TEST_VALUE" + #$NewObject | Should -BeOfType RoleMiningEntitlement + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RoleMiningEntitlementRef.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RoleMiningEntitlementRef.Tests.ps1 new file mode 100644 index 000000000..2ab068548 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RoleMiningEntitlementRef.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RoleMiningEntitlementRef' { + Context 'V2024RoleMiningEntitlementRef' { + It 'Initialize-V2024RoleMiningEntitlementRef' { + # a simple test to create an object + #$NewObject = Initialize-V2024RoleMiningEntitlementRef -Id "TEST_VALUE" -Name "TEST_VALUE" -Description "TEST_VALUE" -Attribute "TEST_VALUE" + #$NewObject | Should -BeOfType RoleMiningEntitlementRef + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RoleMiningIdentity.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RoleMiningIdentity.Tests.ps1 new file mode 100644 index 000000000..6860724a5 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RoleMiningIdentity.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RoleMiningIdentity' { + Context 'V2024RoleMiningIdentity' { + It 'Initialize-V2024RoleMiningIdentity' { + # a simple test to create an object + #$NewObject = Initialize-V2024RoleMiningIdentity -Id "TEST_VALUE" -Name "TEST_VALUE" -Attributes "TEST_VALUE" + #$NewObject | Should -BeOfType RoleMiningIdentity + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RoleMiningIdentityDistribution.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RoleMiningIdentityDistribution.Tests.ps1 new file mode 100644 index 000000000..3ec32f743 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RoleMiningIdentityDistribution.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RoleMiningIdentityDistribution' { + Context 'V2024RoleMiningIdentityDistribution' { + It 'Initialize-V2024RoleMiningIdentityDistribution' { + # a simple test to create an object + #$NewObject = Initialize-V2024RoleMiningIdentityDistribution -AttributeName "TEST_VALUE" -Distribution "TEST_VALUE" + #$NewObject | Should -BeOfType RoleMiningIdentityDistribution + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RoleMiningPotentialRole.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RoleMiningPotentialRole.Tests.ps1 new file mode 100644 index 000000000..40386864f --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RoleMiningPotentialRole.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RoleMiningPotentialRole' { + Context 'V2024RoleMiningPotentialRole' { + It 'Initialize-V2024RoleMiningPotentialRole' { + # a simple test to create an object + #$NewObject = Initialize-V2024RoleMiningPotentialRole -CreatedBy "TEST_VALUE" -Density "TEST_VALUE" -Description "TEST_VALUE" -EntitlementCount "TEST_VALUE" -ExcludedEntitlements "TEST_VALUE" -Freshness "TEST_VALUE" -IdentityCount "TEST_VALUE" -IdentityDistribution "TEST_VALUE" -IdentityIds "TEST_VALUE" -Name "TEST_VALUE" -ProvisionState "TEST_VALUE" -Quality "TEST_VALUE" -RoleId "TEST_VALUE" -Saved "TEST_VALUE" -Session "TEST_VALUE" -Type "TEST_VALUE" -Id "TEST_VALUE" -CreatedDate "TEST_VALUE" -ModifiedDate "TEST_VALUE" + #$NewObject | Should -BeOfType RoleMiningPotentialRole + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RoleMiningPotentialRoleApplication.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RoleMiningPotentialRoleApplication.Tests.ps1 new file mode 100644 index 000000000..97b02b72a --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RoleMiningPotentialRoleApplication.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RoleMiningPotentialRoleApplication' { + Context 'V2024RoleMiningPotentialRoleApplication' { + It 'Initialize-V2024RoleMiningPotentialRoleApplication' { + # a simple test to create an object + #$NewObject = Initialize-V2024RoleMiningPotentialRoleApplication -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType RoleMiningPotentialRoleApplication + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RoleMiningPotentialRoleEditEntitlements.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RoleMiningPotentialRoleEditEntitlements.Tests.ps1 new file mode 100644 index 000000000..5581fd076 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RoleMiningPotentialRoleEditEntitlements.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RoleMiningPotentialRoleEditEntitlements' { + Context 'V2024RoleMiningPotentialRoleEditEntitlements' { + It 'Initialize-V2024RoleMiningPotentialRoleEditEntitlements' { + # a simple test to create an object + #$NewObject = Initialize-V2024RoleMiningPotentialRoleEditEntitlements -Ids "TEST_VALUE" -Exclude "TEST_VALUE" + #$NewObject | Should -BeOfType RoleMiningPotentialRoleEditEntitlements + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RoleMiningPotentialRoleExportRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RoleMiningPotentialRoleExportRequest.Tests.ps1 new file mode 100644 index 000000000..d676304fd --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RoleMiningPotentialRoleExportRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RoleMiningPotentialRoleExportRequest' { + Context 'V2024RoleMiningPotentialRoleExportRequest' { + It 'Initialize-V2024RoleMiningPotentialRoleExportRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024RoleMiningPotentialRoleExportRequest -MinEntitlementPopularity "TEST_VALUE" -IncludeCommonAccess "TEST_VALUE" + #$NewObject | Should -BeOfType RoleMiningPotentialRoleExportRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RoleMiningPotentialRoleExportResponse.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RoleMiningPotentialRoleExportResponse.Tests.ps1 new file mode 100644 index 000000000..94c2ea567 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RoleMiningPotentialRoleExportResponse.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RoleMiningPotentialRoleExportResponse' { + Context 'V2024RoleMiningPotentialRoleExportResponse' { + It 'Initialize-V2024RoleMiningPotentialRoleExportResponse' { + # a simple test to create an object + #$NewObject = Initialize-V2024RoleMiningPotentialRoleExportResponse -MinEntitlementPopularity "TEST_VALUE" -IncludeCommonAccess "TEST_VALUE" -ExportId "TEST_VALUE" -Status "TEST_VALUE" + #$NewObject | Should -BeOfType RoleMiningPotentialRoleExportResponse + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RoleMiningPotentialRoleExportState.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RoleMiningPotentialRoleExportState.Tests.ps1 new file mode 100644 index 000000000..570d67aaa --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RoleMiningPotentialRoleExportState.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RoleMiningPotentialRoleExportState' { + Context 'V2024RoleMiningPotentialRoleExportState' { + It 'Initialize-V2024RoleMiningPotentialRoleExportState' { + # a simple test to create an object + #$NewObject = Initialize-V2024RoleMiningPotentialRoleExportState + #$NewObject | Should -BeOfType RoleMiningPotentialRoleExportState + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RoleMiningPotentialRoleProvisionRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RoleMiningPotentialRoleProvisionRequest.Tests.ps1 new file mode 100644 index 000000000..fd99b949c --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RoleMiningPotentialRoleProvisionRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RoleMiningPotentialRoleProvisionRequest' { + Context 'V2024RoleMiningPotentialRoleProvisionRequest' { + It 'Initialize-V2024RoleMiningPotentialRoleProvisionRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024RoleMiningPotentialRoleProvisionRequest -RoleName "TEST_VALUE" -RoleDescription "TEST_VALUE" -OwnerId "TEST_VALUE" -IncludeIdentities "TEST_VALUE" -DirectlyAssignedEntitlements "TEST_VALUE" + #$NewObject | Should -BeOfType RoleMiningPotentialRoleProvisionRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RoleMiningPotentialRoleProvisionState.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RoleMiningPotentialRoleProvisionState.Tests.ps1 new file mode 100644 index 000000000..8567bfe69 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RoleMiningPotentialRoleProvisionState.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RoleMiningPotentialRoleProvisionState' { + Context 'V2024RoleMiningPotentialRoleProvisionState' { + It 'Initialize-V2024RoleMiningPotentialRoleProvisionState' { + # a simple test to create an object + #$NewObject = Initialize-V2024RoleMiningPotentialRoleProvisionState + #$NewObject | Should -BeOfType RoleMiningPotentialRoleProvisionState + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RoleMiningPotentialRoleRef.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RoleMiningPotentialRoleRef.Tests.ps1 new file mode 100644 index 000000000..9846fbc30 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RoleMiningPotentialRoleRef.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RoleMiningPotentialRoleRef' { + Context 'V2024RoleMiningPotentialRoleRef' { + It 'Initialize-V2024RoleMiningPotentialRoleRef' { + # a simple test to create an object + #$NewObject = Initialize-V2024RoleMiningPotentialRoleRef -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType RoleMiningPotentialRoleRef + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RoleMiningPotentialRoleSourceUsage.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RoleMiningPotentialRoleSourceUsage.Tests.ps1 new file mode 100644 index 000000000..d4f5e24e4 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RoleMiningPotentialRoleSourceUsage.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RoleMiningPotentialRoleSourceUsage' { + Context 'V2024RoleMiningPotentialRoleSourceUsage' { + It 'Initialize-V2024RoleMiningPotentialRoleSourceUsage' { + # a simple test to create an object + #$NewObject = Initialize-V2024RoleMiningPotentialRoleSourceUsage -Id "TEST_VALUE" -DisplayName "TEST_VALUE" -Email "TEST_VALUE" -UsageCount "TEST_VALUE" + #$NewObject | Should -BeOfType RoleMiningPotentialRoleSourceUsage + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RoleMiningPotentialRoleSummary.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RoleMiningPotentialRoleSummary.Tests.ps1 new file mode 100644 index 000000000..53d6ac16e --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RoleMiningPotentialRoleSummary.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RoleMiningPotentialRoleSummary' { + Context 'V2024RoleMiningPotentialRoleSummary' { + It 'Initialize-V2024RoleMiningPotentialRoleSummary' { + # a simple test to create an object + #$NewObject = Initialize-V2024RoleMiningPotentialRoleSummary -Id "TEST_VALUE" -Name "TEST_VALUE" -PotentialRoleRef "TEST_VALUE" -IdentityCount "TEST_VALUE" -EntitlementCount "TEST_VALUE" -IdentityGroupStatus "TEST_VALUE" -ProvisionState "TEST_VALUE" -RoleId "TEST_VALUE" -Density "TEST_VALUE" -Freshness "TEST_VALUE" -Quality "TEST_VALUE" -Type "TEST_VALUE" -CreatedBy "TEST_VALUE" -CreatedDate "TEST_VALUE" -Saved "TEST_VALUE" -Description "TEST_VALUE" -Session "TEST_VALUE" + #$NewObject | Should -BeOfType RoleMiningPotentialRoleSummary + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RoleMiningPotentialRoleSummaryCreatedBy.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RoleMiningPotentialRoleSummaryCreatedBy.Tests.ps1 new file mode 100644 index 000000000..4591b49a1 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RoleMiningPotentialRoleSummaryCreatedBy.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RoleMiningPotentialRoleSummaryCreatedBy' { + Context 'V2024RoleMiningPotentialRoleSummaryCreatedBy' { + It 'Initialize-V2024RoleMiningPotentialRoleSummaryCreatedBy' { + # a simple test to create an object + #$NewObject = Initialize-V2024RoleMiningPotentialRoleSummaryCreatedBy -Id "TEST_VALUE" -DisplayName "TEST_VALUE" + #$NewObject | Should -BeOfType RoleMiningPotentialRoleSummaryCreatedBy + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RoleMiningRoleType.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RoleMiningRoleType.Tests.ps1 new file mode 100644 index 000000000..ababe9037 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RoleMiningRoleType.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RoleMiningRoleType' { + Context 'V2024RoleMiningRoleType' { + It 'Initialize-V2024RoleMiningRoleType' { + # a simple test to create an object + #$NewObject = Initialize-V2024RoleMiningRoleType + #$NewObject | Should -BeOfType RoleMiningRoleType + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RoleMiningSessionDraftRoleDto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RoleMiningSessionDraftRoleDto.Tests.ps1 new file mode 100644 index 000000000..062273944 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RoleMiningSessionDraftRoleDto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RoleMiningSessionDraftRoleDto' { + Context 'V2024RoleMiningSessionDraftRoleDto' { + It 'Initialize-V2024RoleMiningSessionDraftRoleDto' { + # a simple test to create an object + #$NewObject = Initialize-V2024RoleMiningSessionDraftRoleDto -Name "TEST_VALUE" -Description "TEST_VALUE" -IdentityIds "TEST_VALUE" -EntitlementIds "TEST_VALUE" -ExcludedEntitlements "TEST_VALUE" -Modified "TEST_VALUE" -Type "TEST_VALUE" -Id "TEST_VALUE" -CreatedDate "TEST_VALUE" -ModifiedDate "TEST_VALUE" + #$NewObject | Should -BeOfType RoleMiningSessionDraftRoleDto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RoleMiningSessionDto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RoleMiningSessionDto.Tests.ps1 new file mode 100644 index 000000000..8eab9cceb --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RoleMiningSessionDto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RoleMiningSessionDto' { + Context 'V2024RoleMiningSessionDto' { + It 'Initialize-V2024RoleMiningSessionDto' { + # a simple test to create an object + #$NewObject = Initialize-V2024RoleMiningSessionDto -Scope "TEST_VALUE" -PruneThreshold "TEST_VALUE" -PrescribedPruneThreshold "TEST_VALUE" -MinNumIdentitiesInPotentialRole "TEST_VALUE" -PotentialRoleCount "TEST_VALUE" -PotentialRolesReadyCount "TEST_VALUE" -Type "TEST_VALUE" -EmailRecipientId "TEST_VALUE" -IdentityCount "TEST_VALUE" -Saved "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType RoleMiningSessionDto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RoleMiningSessionParametersDto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RoleMiningSessionParametersDto.Tests.ps1 new file mode 100644 index 000000000..10a9ba716 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RoleMiningSessionParametersDto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RoleMiningSessionParametersDto' { + Context 'V2024RoleMiningSessionParametersDto' { + It 'Initialize-V2024RoleMiningSessionParametersDto' { + # a simple test to create an object + #$NewObject = Initialize-V2024RoleMiningSessionParametersDto -Id "TEST_VALUE" -Name "TEST_VALUE" -MinNumIdentitiesInPotentialRole "TEST_VALUE" -PruneThreshold "TEST_VALUE" -Saved "TEST_VALUE" -Scope "TEST_VALUE" -Type "TEST_VALUE" -State "TEST_VALUE" -ScopingMethod "TEST_VALUE" + #$NewObject | Should -BeOfType RoleMiningSessionParametersDto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RoleMiningSessionResponse.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RoleMiningSessionResponse.Tests.ps1 new file mode 100644 index 000000000..51e0c73aa --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RoleMiningSessionResponse.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RoleMiningSessionResponse' { + Context 'V2024RoleMiningSessionResponse' { + It 'Initialize-V2024RoleMiningSessionResponse' { + # a simple test to create an object + #$NewObject = Initialize-V2024RoleMiningSessionResponse -Scope "TEST_VALUE" -MinNumIdentitiesInPotentialRole "TEST_VALUE" -ScopingMethod "TEST_VALUE" -PrescribedPruneThreshold "TEST_VALUE" -PruneThreshold "TEST_VALUE" -PotentialRoleCount "TEST_VALUE" -PotentialRolesReadyCount "TEST_VALUE" -Status "TEST_VALUE" -EmailRecipientId "TEST_VALUE" -CreatedBy "TEST_VALUE" -IdentityCount "TEST_VALUE" -Saved "TEST_VALUE" -Name "TEST_VALUE" -DataFilePath "TEST_VALUE" -Id "TEST_VALUE" -CreatedDate "TEST_VALUE" -ModifiedDate "TEST_VALUE" -Type "TEST_VALUE" + #$NewObject | Should -BeOfType RoleMiningSessionResponse + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RoleMiningSessionResponseCreatedBy.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RoleMiningSessionResponseCreatedBy.Tests.ps1 new file mode 100644 index 000000000..d87b53385 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RoleMiningSessionResponseCreatedBy.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RoleMiningSessionResponseCreatedBy' { + Context 'V2024RoleMiningSessionResponseCreatedBy' { + It 'Initialize-V2024RoleMiningSessionResponseCreatedBy' { + # a simple test to create an object + #$NewObject = Initialize-V2024RoleMiningSessionResponseCreatedBy -Id "TEST_VALUE" -DisplayName "TEST_VALUE" + #$NewObject | Should -BeOfType RoleMiningSessionResponseCreatedBy + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RoleMiningSessionScope.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RoleMiningSessionScope.Tests.ps1 new file mode 100644 index 000000000..79f44498d --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RoleMiningSessionScope.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RoleMiningSessionScope' { + Context 'V2024RoleMiningSessionScope' { + It 'Initialize-V2024RoleMiningSessionScope' { + # a simple test to create an object + #$NewObject = Initialize-V2024RoleMiningSessionScope -IdentityIds "TEST_VALUE" -Criteria "TEST_VALUE" -AttributeFilterCriteria "TEST_VALUE" + #$NewObject | Should -BeOfType RoleMiningSessionScope + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RoleMiningSessionScopingMethod.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RoleMiningSessionScopingMethod.Tests.ps1 new file mode 100644 index 000000000..4e11fcad7 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RoleMiningSessionScopingMethod.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RoleMiningSessionScopingMethod' { + Context 'V2024RoleMiningSessionScopingMethod' { + It 'Initialize-V2024RoleMiningSessionScopingMethod' { + # a simple test to create an object + #$NewObject = Initialize-V2024RoleMiningSessionScopingMethod + #$NewObject | Should -BeOfType RoleMiningSessionScopingMethod + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RoleMiningSessionState.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RoleMiningSessionState.Tests.ps1 new file mode 100644 index 000000000..1155220f1 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RoleMiningSessionState.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RoleMiningSessionState' { + Context 'V2024RoleMiningSessionState' { + It 'Initialize-V2024RoleMiningSessionState' { + # a simple test to create an object + #$NewObject = Initialize-V2024RoleMiningSessionState + #$NewObject | Should -BeOfType RoleMiningSessionState + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RoleMiningSessionStatus.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RoleMiningSessionStatus.Tests.ps1 new file mode 100644 index 000000000..678dbd297 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RoleMiningSessionStatus.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RoleMiningSessionStatus' { + Context 'V2024RoleMiningSessionStatus' { + It 'Initialize-V2024RoleMiningSessionStatus' { + # a simple test to create an object + #$NewObject = Initialize-V2024RoleMiningSessionStatus -State "TEST_VALUE" + #$NewObject | Should -BeOfType RoleMiningSessionStatus + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RoleSummary.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RoleSummary.Tests.ps1 new file mode 100644 index 000000000..2c89d3061 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RoleSummary.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RoleSummary' { + Context 'V2024RoleSummary' { + It 'Initialize-V2024RoleSummary' { + # a simple test to create an object + #$NewObject = Initialize-V2024RoleSummary -Id "TEST_VALUE" -Name "TEST_VALUE" -DisplayName "TEST_VALUE" -Type "TEST_VALUE" -Description "TEST_VALUE" -Owner "TEST_VALUE" -Disabled "TEST_VALUE" -Revocable "TEST_VALUE" + #$NewObject | Should -BeOfType RoleSummary + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/RoleTargetDto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/RoleTargetDto.Tests.ps1 new file mode 100644 index 000000000..780929489 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/RoleTargetDto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024RoleTargetDto' { + Context 'V2024RoleTargetDto' { + It 'Initialize-V2024RoleTargetDto' { + # a simple test to create an object + #$NewObject = Initialize-V2024RoleTargetDto -Source "TEST_VALUE" -AccountInfo "TEST_VALUE" -RoleName "TEST_VALUE" + #$NewObject | Should -BeOfType RoleTargetDto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Rule.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Rule.Tests.ps1 new file mode 100644 index 000000000..d71eaf461 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Rule.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Rule' { + Context 'V2024Rule' { + It 'Initialize-V2024Rule' { + # a simple test to create an object + #$NewObject = Initialize-V2024Rule -Name "TEST_VALUE" -RequiresPeriodicRefresh "TEST_VALUE" -Operation "TEST_VALUE" -IncludeNumbers "TEST_VALUE" -IncludeSpecialChars "TEST_VALUE" -Length "TEST_VALUE" -Uid "TEST_VALUE" + #$NewObject | Should -BeOfType Rule + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SavedSearch.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SavedSearch.Tests.ps1 new file mode 100644 index 000000000..b65b51191 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SavedSearch.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SavedSearch' { + Context 'V2024SavedSearch' { + It 'Initialize-V2024SavedSearch' { + # a simple test to create an object + #$NewObject = Initialize-V2024SavedSearch -Name "TEST_VALUE" -Description "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" -Indices "TEST_VALUE" -Columns "TEST_VALUE" -Query "TEST_VALUE" -Fields "TEST_VALUE" -OrderBy "TEST_VALUE" -Sort "TEST_VALUE" -Filters "TEST_VALUE" -Id "TEST_VALUE" -Owner "TEST_VALUE" -OwnerId "TEST_VALUE" -Public "TEST_VALUE" + #$NewObject | Should -BeOfType SavedSearch + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SavedSearchComplete.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SavedSearchComplete.Tests.ps1 new file mode 100644 index 000000000..f23dead19 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SavedSearchComplete.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SavedSearchComplete' { + Context 'V2024SavedSearchComplete' { + It 'Initialize-V2024SavedSearchComplete' { + # a simple test to create an object + #$NewObject = Initialize-V2024SavedSearchComplete -FileName "TEST_VALUE" -OwnerEmail "TEST_VALUE" -OwnerName "TEST_VALUE" -Query "TEST_VALUE" -SearchName "TEST_VALUE" -SearchResults "TEST_VALUE" -SignedS3Url "TEST_VALUE" + #$NewObject | Should -BeOfType SavedSearchComplete + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SavedSearchCompleteSearchResults.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SavedSearchCompleteSearchResults.Tests.ps1 new file mode 100644 index 000000000..a4810e843 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SavedSearchCompleteSearchResults.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SavedSearchCompleteSearchResults' { + Context 'V2024SavedSearchCompleteSearchResults' { + It 'Initialize-V2024SavedSearchCompleteSearchResults' { + # a simple test to create an object + #$NewObject = Initialize-V2024SavedSearchCompleteSearchResults -Account "TEST_VALUE" -Entitlement "TEST_VALUE" -Identity "TEST_VALUE" + #$NewObject | Should -BeOfType SavedSearchCompleteSearchResults + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SavedSearchCompleteSearchResultsAccount.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SavedSearchCompleteSearchResultsAccount.Tests.ps1 new file mode 100644 index 000000000..476fefa23 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SavedSearchCompleteSearchResultsAccount.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SavedSearchCompleteSearchResultsAccount' { + Context 'V2024SavedSearchCompleteSearchResultsAccount' { + It 'Initialize-V2024SavedSearchCompleteSearchResultsAccount' { + # a simple test to create an object + #$NewObject = Initialize-V2024SavedSearchCompleteSearchResultsAccount -Count "TEST_VALUE" -Noun "TEST_VALUE" -Preview "TEST_VALUE" + #$NewObject | Should -BeOfType SavedSearchCompleteSearchResultsAccount + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SavedSearchCompleteSearchResultsEntitlement.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SavedSearchCompleteSearchResultsEntitlement.Tests.ps1 new file mode 100644 index 000000000..919ac71d7 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SavedSearchCompleteSearchResultsEntitlement.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SavedSearchCompleteSearchResultsEntitlement' { + Context 'V2024SavedSearchCompleteSearchResultsEntitlement' { + It 'Initialize-V2024SavedSearchCompleteSearchResultsEntitlement' { + # a simple test to create an object + #$NewObject = Initialize-V2024SavedSearchCompleteSearchResultsEntitlement -Count "TEST_VALUE" -Noun "TEST_VALUE" -Preview "TEST_VALUE" + #$NewObject | Should -BeOfType SavedSearchCompleteSearchResultsEntitlement + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SavedSearchCompleteSearchResultsIdentity.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SavedSearchCompleteSearchResultsIdentity.Tests.ps1 new file mode 100644 index 000000000..0da599fcb --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SavedSearchCompleteSearchResultsIdentity.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SavedSearchCompleteSearchResultsIdentity' { + Context 'V2024SavedSearchCompleteSearchResultsIdentity' { + It 'Initialize-V2024SavedSearchCompleteSearchResultsIdentity' { + # a simple test to create an object + #$NewObject = Initialize-V2024SavedSearchCompleteSearchResultsIdentity -Count "TEST_VALUE" -Noun "TEST_VALUE" -Preview "TEST_VALUE" + #$NewObject | Should -BeOfType SavedSearchCompleteSearchResultsIdentity + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SavedSearchDetail.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SavedSearchDetail.Tests.ps1 new file mode 100644 index 000000000..4be1e0fd5 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SavedSearchDetail.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SavedSearchDetail' { + Context 'V2024SavedSearchDetail' { + It 'Initialize-V2024SavedSearchDetail' { + # a simple test to create an object + #$NewObject = Initialize-V2024SavedSearchDetail -Created "TEST_VALUE" -Modified "TEST_VALUE" -Indices "TEST_VALUE" -Columns "TEST_VALUE" -Query "TEST_VALUE" -Fields "TEST_VALUE" -OrderBy "TEST_VALUE" -Sort "TEST_VALUE" -Filters "TEST_VALUE" + #$NewObject | Should -BeOfType SavedSearchDetail + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SavedSearchDetailFilters.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SavedSearchDetailFilters.Tests.ps1 new file mode 100644 index 000000000..c5de12dc3 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SavedSearchDetailFilters.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SavedSearchDetailFilters' { + Context 'V2024SavedSearchDetailFilters' { + It 'Initialize-V2024SavedSearchDetailFilters' { + # a simple test to create an object + #$NewObject = Initialize-V2024SavedSearchDetailFilters -Type "TEST_VALUE" -Range "TEST_VALUE" -Terms "TEST_VALUE" -Exclude "TEST_VALUE" + #$NewObject | Should -BeOfType SavedSearchDetailFilters + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SavedSearchName.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SavedSearchName.Tests.ps1 new file mode 100644 index 000000000..35ea7dcb1 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SavedSearchName.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SavedSearchName' { + Context 'V2024SavedSearchName' { + It 'Initialize-V2024SavedSearchName' { + # a simple test to create an object + #$NewObject = Initialize-V2024SavedSearchName -Name "TEST_VALUE" -Description "TEST_VALUE" + #$NewObject | Should -BeOfType SavedSearchName + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Schedule.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Schedule.Tests.ps1 new file mode 100644 index 000000000..87ae9ade1 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Schedule.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Schedule' { + Context 'V2024Schedule' { + It 'Initialize-V2024Schedule' { + # a simple test to create an object + #$NewObject = Initialize-V2024Schedule -Type "TEST_VALUE" -Months "TEST_VALUE" -Days "TEST_VALUE" -Hours "TEST_VALUE" -Expiration "TEST_VALUE" -TimeZoneId "TEST_VALUE" + #$NewObject | Should -BeOfType Schedule + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Schedule1.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Schedule1.Tests.ps1 new file mode 100644 index 000000000..9b670161a --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Schedule1.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Schedule1' { + Context 'V2024Schedule1' { + It 'Initialize-V2024Schedule1' { + # a simple test to create an object + #$NewObject = Initialize-V2024Schedule1 -Type "TEST_VALUE" -Months "TEST_VALUE" -Days "TEST_VALUE" -Hours "TEST_VALUE" -Expiration "TEST_VALUE" -TimeZoneId "TEST_VALUE" + #$NewObject | Should -BeOfType Schedule1 + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Schedule1Days.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Schedule1Days.Tests.ps1 new file mode 100644 index 000000000..1689e5504 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Schedule1Days.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Schedule1Days' { + Context 'V2024Schedule1Days' { + It 'Initialize-V2024Schedule1Days' { + # a simple test to create an object + #$NewObject = Initialize-V2024Schedule1Days -Type "TEST_VALUE" -Values "TEST_VALUE" -Interval "TEST_VALUE" + #$NewObject | Should -BeOfType Schedule1Days + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Schedule1Hours.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Schedule1Hours.Tests.ps1 new file mode 100644 index 000000000..207ccf768 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Schedule1Hours.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Schedule1Hours' { + Context 'V2024Schedule1Hours' { + It 'Initialize-V2024Schedule1Hours' { + # a simple test to create an object + #$NewObject = Initialize-V2024Schedule1Hours -Type "TEST_VALUE" -Values "TEST_VALUE" -Interval "TEST_VALUE" + #$NewObject | Should -BeOfType Schedule1Hours + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Schedule1Months.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Schedule1Months.Tests.ps1 new file mode 100644 index 000000000..e78b104e4 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Schedule1Months.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Schedule1Months' { + Context 'V2024Schedule1Months' { + It 'Initialize-V2024Schedule1Months' { + # a simple test to create an object + #$NewObject = Initialize-V2024Schedule1Months -Type "TEST_VALUE" -Values "TEST_VALUE" -Interval "TEST_VALUE" + #$NewObject | Should -BeOfType Schedule1Months + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ScheduleDays.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ScheduleDays.Tests.ps1 new file mode 100644 index 000000000..13d6116d3 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ScheduleDays.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ScheduleDays' { + Context 'V2024ScheduleDays' { + It 'Initialize-V2024ScheduleDays' { + # a simple test to create an object + #$NewObject = Initialize-V2024ScheduleDays -Type "TEST_VALUE" -Values "TEST_VALUE" -Interval "TEST_VALUE" + #$NewObject | Should -BeOfType ScheduleDays + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ScheduleHours.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ScheduleHours.Tests.ps1 new file mode 100644 index 000000000..f2aedfd81 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ScheduleHours.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ScheduleHours' { + Context 'V2024ScheduleHours' { + It 'Initialize-V2024ScheduleHours' { + # a simple test to create an object + #$NewObject = Initialize-V2024ScheduleHours -Type "TEST_VALUE" -Values "TEST_VALUE" -Interval "TEST_VALUE" + #$NewObject | Should -BeOfType ScheduleHours + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ScheduleMonths.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ScheduleMonths.Tests.ps1 new file mode 100644 index 000000000..52a9ffd8e --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ScheduleMonths.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ScheduleMonths' { + Context 'V2024ScheduleMonths' { + It 'Initialize-V2024ScheduleMonths' { + # a simple test to create an object + #$NewObject = Initialize-V2024ScheduleMonths -Type "TEST_VALUE" -Values "TEST_VALUE" -Interval "TEST_VALUE" + #$NewObject | Should -BeOfType ScheduleMonths + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ScheduleType.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ScheduleType.Tests.ps1 new file mode 100644 index 000000000..0f560aa57 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ScheduleType.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ScheduleType' { + Context 'V2024ScheduleType' { + It 'Initialize-V2024ScheduleType' { + # a simple test to create an object + #$NewObject = Initialize-V2024ScheduleType + #$NewObject | Should -BeOfType ScheduleType + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ScheduledAttributes.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ScheduledAttributes.Tests.ps1 new file mode 100644 index 000000000..69155b7bc --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ScheduledAttributes.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ScheduledAttributes' { + Context 'V2024ScheduledAttributes' { + It 'Initialize-V2024ScheduledAttributes' { + # a simple test to create an object + #$NewObject = Initialize-V2024ScheduledAttributes -CronString "TEST_VALUE" -Frequency "TEST_VALUE" -TimeZone "TEST_VALUE" -WeeklyDays "TEST_VALUE" -WeeklyTimes "TEST_VALUE" + #$NewObject | Should -BeOfType ScheduledAttributes + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ScheduledSearch.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ScheduledSearch.Tests.ps1 new file mode 100644 index 000000000..0c2d2a936 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ScheduledSearch.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ScheduledSearch' { + Context 'V2024ScheduledSearch' { + It 'Initialize-V2024ScheduledSearch' { + # a simple test to create an object + #$NewObject = Initialize-V2024ScheduledSearch -Name "TEST_VALUE" -Description "TEST_VALUE" -SavedSearchId "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" -Schedule "TEST_VALUE" -Recipients "TEST_VALUE" -Enabled "TEST_VALUE" -EmailEmptyResults "TEST_VALUE" -DisplayQueryDetails "TEST_VALUE" -Id "TEST_VALUE" -Owner "TEST_VALUE" -OwnerId "TEST_VALUE" + #$NewObject | Should -BeOfType ScheduledSearch + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ScheduledSearchAllOfOwner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ScheduledSearchAllOfOwner.Tests.ps1 new file mode 100644 index 000000000..1bca48378 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ScheduledSearchAllOfOwner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ScheduledSearchAllOfOwner' { + Context 'V2024ScheduledSearchAllOfOwner' { + It 'Initialize-V2024ScheduledSearchAllOfOwner' { + # a simple test to create an object + #$NewObject = Initialize-V2024ScheduledSearchAllOfOwner -Type "TEST_VALUE" -Id "TEST_VALUE" + #$NewObject | Should -BeOfType ScheduledSearchAllOfOwner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ScheduledSearchName.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ScheduledSearchName.Tests.ps1 new file mode 100644 index 000000000..4d1c6bfa7 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ScheduledSearchName.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ScheduledSearchName' { + Context 'V2024ScheduledSearchName' { + It 'Initialize-V2024ScheduledSearchName' { + # a simple test to create an object + #$NewObject = Initialize-V2024ScheduledSearchName -Name "TEST_VALUE" -Description "TEST_VALUE" + #$NewObject | Should -BeOfType ScheduledSearchName + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Schema.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Schema.Tests.ps1 new file mode 100644 index 000000000..16a9b5142 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Schema.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Schema' { + Context 'V2024Schema' { + It 'Initialize-V2024Schema' { + # a simple test to create an object + #$NewObject = Initialize-V2024Schema -Id "TEST_VALUE" -Name "TEST_VALUE" -NativeObjectType "TEST_VALUE" -IdentityAttribute "TEST_VALUE" -DisplayAttribute "TEST_VALUE" -HierarchyAttribute "TEST_VALUE" -IncludePermissions "TEST_VALUE" -Features "TEST_VALUE" -Configuration "TEST_VALUE" -Attributes "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" + #$NewObject | Should -BeOfType Schema + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Search.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Search.Tests.ps1 new file mode 100644 index 000000000..d81e5c056 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Search.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Search' { + Context 'V2024Search' { + It 'Initialize-V2024Search' { + # a simple test to create an object + #$NewObject = Initialize-V2024Search -Indices "TEST_VALUE" -QueryType "TEST_VALUE" -QueryVersion "TEST_VALUE" -Query "TEST_VALUE" -QueryDsl "TEST_VALUE" -TextQuery "TEST_VALUE" -TypeAheadQuery "TEST_VALUE" -IncludeNested "TEST_VALUE" -QueryResultFilter "TEST_VALUE" -AggregationType "TEST_VALUE" -AggregationsVersion "TEST_VALUE" -AggregationsDsl "TEST_VALUE" -Aggregations "TEST_VALUE" -Sort "TEST_VALUE" -SearchAfter "TEST_VALUE" -Filters "TEST_VALUE" + #$NewObject | Should -BeOfType Search + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SearchAggregationSpecification.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SearchAggregationSpecification.Tests.ps1 new file mode 100644 index 000000000..a3e875d95 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SearchAggregationSpecification.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SearchAggregationSpecification' { + Context 'V2024SearchAggregationSpecification' { + It 'Initialize-V2024SearchAggregationSpecification' { + # a simple test to create an object + #$NewObject = Initialize-V2024SearchAggregationSpecification -Nested "TEST_VALUE" -Metric "TEST_VALUE" -VarFilter "TEST_VALUE" -Bucket "TEST_VALUE" -SubAggregation "TEST_VALUE" + #$NewObject | Should -BeOfType SearchAggregationSpecification + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SearchArguments.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SearchArguments.Tests.ps1 new file mode 100644 index 000000000..ea98a3884 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SearchArguments.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SearchArguments' { + Context 'V2024SearchArguments' { + It 'Initialize-V2024SearchArguments' { + # a simple test to create an object + #$NewObject = Initialize-V2024SearchArguments -ScheduleId "TEST_VALUE" -Owner "TEST_VALUE" -Recipients "TEST_VALUE" + #$NewObject | Should -BeOfType SearchArguments + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SearchAttributeConfig.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SearchAttributeConfig.Tests.ps1 new file mode 100644 index 000000000..54d0117d1 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SearchAttributeConfig.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SearchAttributeConfig' { + Context 'V2024SearchAttributeConfig' { + It 'Initialize-V2024SearchAttributeConfig' { + # a simple test to create an object + #$NewObject = Initialize-V2024SearchAttributeConfig -Name "TEST_VALUE" -DisplayName "TEST_VALUE" -ApplicationAttributes "TEST_VALUE" + #$NewObject | Should -BeOfType SearchAttributeConfig + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SearchExportReportArguments.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SearchExportReportArguments.Tests.ps1 new file mode 100644 index 000000000..e7accf22f --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SearchExportReportArguments.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SearchExportReportArguments' { + Context 'V2024SearchExportReportArguments' { + It 'Initialize-V2024SearchExportReportArguments' { + # a simple test to create an object + #$NewObject = Initialize-V2024SearchExportReportArguments -Indices "TEST_VALUE" -Filters "TEST_VALUE" -Query "TEST_VALUE" -IncludeNested "TEST_VALUE" -Sort "TEST_VALUE" + #$NewObject | Should -BeOfType SearchExportReportArguments + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SearchFilterType.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SearchFilterType.Tests.ps1 new file mode 100644 index 000000000..3959a26a4 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SearchFilterType.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SearchFilterType' { + Context 'V2024SearchFilterType' { + It 'Initialize-V2024SearchFilterType' { + # a simple test to create an object + #$NewObject = Initialize-V2024SearchFilterType + #$NewObject | Should -BeOfType SearchFilterType + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SearchFormDefinitionsByTenant400Response.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SearchFormDefinitionsByTenant400Response.Tests.ps1 new file mode 100644 index 000000000..7f1a3505e --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SearchFormDefinitionsByTenant400Response.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SearchFormDefinitionsByTenant400Response' { + Context 'V2024SearchFormDefinitionsByTenant400Response' { + It 'Initialize-V2024SearchFormDefinitionsByTenant400Response' { + # a simple test to create an object + #$NewObject = Initialize-V2024SearchFormDefinitionsByTenant400Response -DetailCode "TEST_VALUE" -Messages "TEST_VALUE" -StatusCode "TEST_VALUE" -TrackingId "TEST_VALUE" + #$NewObject | Should -BeOfType SearchFormDefinitionsByTenant400Response + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SearchSchedule.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SearchSchedule.Tests.ps1 new file mode 100644 index 000000000..02c391b22 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SearchSchedule.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SearchSchedule' { + Context 'V2024SearchSchedule' { + It 'Initialize-V2024SearchSchedule' { + # a simple test to create an object + #$NewObject = Initialize-V2024SearchSchedule -SavedSearchId "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" -Schedule "TEST_VALUE" -Recipients "TEST_VALUE" -Enabled "TEST_VALUE" -EmailEmptyResults "TEST_VALUE" -DisplayQueryDetails "TEST_VALUE" + #$NewObject | Should -BeOfType SearchSchedule + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SearchScheduleRecipientsInner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SearchScheduleRecipientsInner.Tests.ps1 new file mode 100644 index 000000000..68d9e5641 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SearchScheduleRecipientsInner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SearchScheduleRecipientsInner' { + Context 'V2024SearchScheduleRecipientsInner' { + It 'Initialize-V2024SearchScheduleRecipientsInner' { + # a simple test to create an object + #$NewObject = Initialize-V2024SearchScheduleRecipientsInner -Type "TEST_VALUE" -Id "TEST_VALUE" + #$NewObject | Should -BeOfType SearchScheduleRecipientsInner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SectionDetails.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SectionDetails.Tests.ps1 new file mode 100644 index 000000000..d320df6b8 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SectionDetails.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SectionDetails' { + Context 'V2024SectionDetails' { + It 'Initialize-V2024SectionDetails' { + # a simple test to create an object + #$NewObject = Initialize-V2024SectionDetails -Name "TEST_VALUE" -Label "TEST_VALUE" -FormItems "TEST_VALUE" + #$NewObject | Should -BeOfType SectionDetails + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Sed.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Sed.Tests.ps1 new file mode 100644 index 000000000..c8bbf416f --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Sed.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Sed' { + Context 'V2024Sed' { + It 'Initialize-V2024Sed' { + # a simple test to create an object + #$NewObject = Initialize-V2024Sed -Name "TEST_VALUE" -ApprovedBy "TEST_VALUE" -ApprovedType "TEST_VALUE" -ApprovedWhen "TEST_VALUE" -Attribute "TEST_VALUE" -Description "TEST_VALUE" -DisplayName "TEST_VALUE" -Id "TEST_VALUE" -SourceId "TEST_VALUE" -SourceName "TEST_VALUE" -Status "TEST_VALUE" -SuggestedDescription "TEST_VALUE" -Type "TEST_VALUE" -Value "TEST_VALUE" + #$NewObject | Should -BeOfType Sed + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SedApproval.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SedApproval.Tests.ps1 new file mode 100644 index 000000000..206ac896d --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SedApproval.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SedApproval' { + Context 'V2024SedApproval' { + It 'Initialize-V2024SedApproval' { + # a simple test to create an object + #$NewObject = Initialize-V2024SedApproval -Items "TEST_VALUE" + #$NewObject | Should -BeOfType SedApproval + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SedApprovalStatus.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SedApprovalStatus.Tests.ps1 new file mode 100644 index 000000000..b159fb20d --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SedApprovalStatus.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SedApprovalStatus' { + Context 'V2024SedApprovalStatus' { + It 'Initialize-V2024SedApprovalStatus' { + # a simple test to create an object + #$NewObject = Initialize-V2024SedApprovalStatus -FailedReason "TEST_VALUE" -Id "TEST_VALUE" -Status "TEST_VALUE" + #$NewObject | Should -BeOfType SedApprovalStatus + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SedAssignee.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SedAssignee.Tests.ps1 new file mode 100644 index 000000000..f9a90846e --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SedAssignee.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SedAssignee' { + Context 'V2024SedAssignee' { + It 'Initialize-V2024SedAssignee' { + # a simple test to create an object + #$NewObject = Initialize-V2024SedAssignee -Type "TEST_VALUE" -Value "TEST_VALUE" + #$NewObject | Should -BeOfType SedAssignee + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SedAssignment.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SedAssignment.Tests.ps1 new file mode 100644 index 000000000..ed2fbace3 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SedAssignment.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SedAssignment' { + Context 'V2024SedAssignment' { + It 'Initialize-V2024SedAssignment' { + # a simple test to create an object + #$NewObject = Initialize-V2024SedAssignment -Assignee "TEST_VALUE" -Items "TEST_VALUE" + #$NewObject | Should -BeOfType SedAssignment + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SedAssignmentResponse.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SedAssignmentResponse.Tests.ps1 new file mode 100644 index 000000000..b1d414889 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SedAssignmentResponse.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SedAssignmentResponse' { + Context 'V2024SedAssignmentResponse' { + It 'Initialize-V2024SedAssignmentResponse' { + # a simple test to create an object + #$NewObject = Initialize-V2024SedAssignmentResponse -BatchId "TEST_VALUE" + #$NewObject | Should -BeOfType SedAssignmentResponse + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SedBatchRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SedBatchRequest.Tests.ps1 new file mode 100644 index 000000000..be6d651a5 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SedBatchRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SedBatchRequest' { + Context 'V2024SedBatchRequest' { + It 'Initialize-V2024SedBatchRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024SedBatchRequest -Entitlements "TEST_VALUE" + #$NewObject | Should -BeOfType SedBatchRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SedBatchResponse.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SedBatchResponse.Tests.ps1 new file mode 100644 index 000000000..c2bacd3c5 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SedBatchResponse.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SedBatchResponse' { + Context 'V2024SedBatchResponse' { + It 'Initialize-V2024SedBatchResponse' { + # a simple test to create an object + #$NewObject = Initialize-V2024SedBatchResponse -BatchId "TEST_VALUE" + #$NewObject | Should -BeOfType SedBatchResponse + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SedBatchStats.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SedBatchStats.Tests.ps1 new file mode 100644 index 000000000..d9504e882 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SedBatchStats.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SedBatchStats' { + Context 'V2024SedBatchStats' { + It 'Initialize-V2024SedBatchStats' { + # a simple test to create an object + #$NewObject = Initialize-V2024SedBatchStats -BatchComplete "TEST_VALUE" -BatchId "TEST_VALUE" -DiscoveredCount "TEST_VALUE" -DiscoveryComplete "TEST_VALUE" -ProcessedCount "TEST_VALUE" + #$NewObject | Should -BeOfType SedBatchStats + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SedBatchStatus.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SedBatchStatus.Tests.ps1 new file mode 100644 index 000000000..0575158b6 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SedBatchStatus.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SedBatchStatus' { + Context 'V2024SedBatchStatus' { + It 'Initialize-V2024SedBatchStatus' { + # a simple test to create an object + #$NewObject = Initialize-V2024SedBatchStatus -Status "TEST_VALUE" + #$NewObject | Should -BeOfType SedBatchStatus + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SedPatch.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SedPatch.Tests.ps1 new file mode 100644 index 000000000..9a67cdef6 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SedPatch.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SedPatch' { + Context 'V2024SedPatch' { + It 'Initialize-V2024SedPatch' { + # a simple test to create an object + #$NewObject = Initialize-V2024SedPatch -Op "TEST_VALUE" -Path "TEST_VALUE" -Value "TEST_VALUE" + #$NewObject | Should -BeOfType SedPatch + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Segment.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Segment.Tests.ps1 new file mode 100644 index 000000000..dd874e70d --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Segment.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Segment' { + Context 'V2024Segment' { + It 'Initialize-V2024Segment' { + # a simple test to create an object + #$NewObject = Initialize-V2024Segment -Id "TEST_VALUE" -Name "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" -Description "TEST_VALUE" -Owner "TEST_VALUE" -VisibilityCriteria "TEST_VALUE" -Active "TEST_VALUE" + #$NewObject | Should -BeOfType Segment + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SegmentVisibilityCriteria.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SegmentVisibilityCriteria.Tests.ps1 new file mode 100644 index 000000000..9d7ecd3ba --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SegmentVisibilityCriteria.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SegmentVisibilityCriteria' { + Context 'V2024SegmentVisibilityCriteria' { + It 'Initialize-V2024SegmentVisibilityCriteria' { + # a simple test to create an object + #$NewObject = Initialize-V2024SegmentVisibilityCriteria -Expression "TEST_VALUE" + #$NewObject | Should -BeOfType SegmentVisibilityCriteria + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Selector.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Selector.Tests.ps1 new file mode 100644 index 000000000..903a310d5 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Selector.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Selector' { + Context 'V2024Selector' { + It 'Initialize-V2024Selector' { + # a simple test to create an object + #$NewObject = Initialize-V2024Selector -Type "TEST_VALUE" -Values "TEST_VALUE" -Interval "TEST_VALUE" + #$NewObject | Should -BeOfType Selector + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SelectorType.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SelectorType.Tests.ps1 new file mode 100644 index 000000000..f25c51bc2 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SelectorType.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SelectorType' { + Context 'V2024SelectorType' { + It 'Initialize-V2024SelectorType' { + # a simple test to create an object + #$NewObject = Initialize-V2024SelectorType + #$NewObject | Should -BeOfType SelectorType + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SelfImportExportDto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SelfImportExportDto.Tests.ps1 new file mode 100644 index 000000000..8edea7054 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SelfImportExportDto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SelfImportExportDto' { + Context 'V2024SelfImportExportDto' { + It 'Initialize-V2024SelfImportExportDto' { + # a simple test to create an object + #$NewObject = Initialize-V2024SelfImportExportDto -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType SelfImportExportDto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SendTestNotificationRequestDto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SendTestNotificationRequestDto.Tests.ps1 new file mode 100644 index 000000000..6b0ce684e --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SendTestNotificationRequestDto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SendTestNotificationRequestDto' { + Context 'V2024SendTestNotificationRequestDto' { + It 'Initialize-V2024SendTestNotificationRequestDto' { + # a simple test to create an object + #$NewObject = Initialize-V2024SendTestNotificationRequestDto -Key "TEST_VALUE" -Medium "TEST_VALUE" -Context "TEST_VALUE" + #$NewObject | Should -BeOfType SendTestNotificationRequestDto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ServiceDeskIntegrationDto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ServiceDeskIntegrationDto.Tests.ps1 new file mode 100644 index 000000000..634bb83ee --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ServiceDeskIntegrationDto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ServiceDeskIntegrationDto' { + Context 'V2024ServiceDeskIntegrationDto' { + It 'Initialize-V2024ServiceDeskIntegrationDto' { + # a simple test to create an object + #$NewObject = Initialize-V2024ServiceDeskIntegrationDto -Id "TEST_VALUE" -Name "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" -Description "TEST_VALUE" -Type "TEST_VALUE" -OwnerRef "TEST_VALUE" -ClusterRef "TEST_VALUE" -Cluster "TEST_VALUE" -ManagedSources "TEST_VALUE" -ProvisioningConfig "TEST_VALUE" -Attributes "TEST_VALUE" -BeforeProvisioningRule "TEST_VALUE" + #$NewObject | Should -BeOfType ServiceDeskIntegrationDto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ServiceDeskIntegrationDto1.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ServiceDeskIntegrationDto1.Tests.ps1 new file mode 100644 index 000000000..938590e01 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ServiceDeskIntegrationDto1.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ServiceDeskIntegrationDto1' { + Context 'V2024ServiceDeskIntegrationDto1' { + It 'Initialize-V2024ServiceDeskIntegrationDto1' { + # a simple test to create an object + #$NewObject = Initialize-V2024ServiceDeskIntegrationDto1 -Name "TEST_VALUE" -Description "TEST_VALUE" -Type "TEST_VALUE" -OwnerRef "TEST_VALUE" -ClusterRef "TEST_VALUE" -Cluster "TEST_VALUE" -ManagedSources "TEST_VALUE" -ProvisioningConfig "TEST_VALUE" -Attributes "TEST_VALUE" -BeforeProvisioningRule "TEST_VALUE" + #$NewObject | Should -BeOfType ServiceDeskIntegrationDto1 + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ServiceDeskIntegrationTemplateDto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ServiceDeskIntegrationTemplateDto.Tests.ps1 new file mode 100644 index 000000000..40c20b79d --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ServiceDeskIntegrationTemplateDto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ServiceDeskIntegrationTemplateDto' { + Context 'V2024ServiceDeskIntegrationTemplateDto' { + It 'Initialize-V2024ServiceDeskIntegrationTemplateDto' { + # a simple test to create an object + #$NewObject = Initialize-V2024ServiceDeskIntegrationTemplateDto -Id "TEST_VALUE" -Name "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" -Type "TEST_VALUE" -Attributes "TEST_VALUE" -ProvisioningConfig "TEST_VALUE" + #$NewObject | Should -BeOfType ServiceDeskIntegrationTemplateDto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ServiceDeskIntegrationTemplateType.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ServiceDeskIntegrationTemplateType.Tests.ps1 new file mode 100644 index 000000000..f3bd4b750 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ServiceDeskIntegrationTemplateType.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ServiceDeskIntegrationTemplateType' { + Context 'V2024ServiceDeskIntegrationTemplateType' { + It 'Initialize-V2024ServiceDeskIntegrationTemplateType' { + # a simple test to create an object + #$NewObject = Initialize-V2024ServiceDeskIntegrationTemplateType -Name "TEST_VALUE" -Type "TEST_VALUE" -ScriptName "TEST_VALUE" + #$NewObject | Should -BeOfType ServiceDeskIntegrationTemplateType + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ServiceDeskSource.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ServiceDeskSource.Tests.ps1 new file mode 100644 index 000000000..1bfdd3028 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ServiceDeskSource.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ServiceDeskSource' { + Context 'V2024ServiceDeskSource' { + It 'Initialize-V2024ServiceDeskSource' { + # a simple test to create an object + #$NewObject = Initialize-V2024ServiceDeskSource -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType ServiceDeskSource + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SetIcon200Response.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SetIcon200Response.Tests.ps1 new file mode 100644 index 000000000..720460155 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SetIcon200Response.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SetIcon200Response' { + Context 'V2024SetIcon200Response' { + It 'Initialize-V2024SetIcon200Response' { + # a simple test to create an object + #$NewObject = Initialize-V2024SetIcon200Response -Icon "TEST_VALUE" + #$NewObject | Should -BeOfType SetIcon200Response + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SetIconRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SetIconRequest.Tests.ps1 new file mode 100644 index 000000000..cfa0e96ee --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SetIconRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SetIconRequest' { + Context 'V2024SetIconRequest' { + It 'Initialize-V2024SetIconRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024SetIconRequest -Image "TEST_VALUE" + #$NewObject | Should -BeOfType SetIconRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SetLifecycleState200Response.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SetLifecycleState200Response.Tests.ps1 new file mode 100644 index 000000000..188758e9b --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SetLifecycleState200Response.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SetLifecycleState200Response' { + Context 'V2024SetLifecycleState200Response' { + It 'Initialize-V2024SetLifecycleState200Response' { + # a simple test to create an object + #$NewObject = Initialize-V2024SetLifecycleState200Response -AccountActivityId "TEST_VALUE" + #$NewObject | Should -BeOfType SetLifecycleState200Response + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SetLifecycleStateRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SetLifecycleStateRequest.Tests.ps1 new file mode 100644 index 000000000..1e257813d --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SetLifecycleStateRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SetLifecycleStateRequest' { + Context 'V2024SetLifecycleStateRequest' { + It 'Initialize-V2024SetLifecycleStateRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024SetLifecycleStateRequest -LifecycleStateId "TEST_VALUE" + #$NewObject | Should -BeOfType SetLifecycleStateRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SimIntegrationDetails.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SimIntegrationDetails.Tests.ps1 new file mode 100644 index 000000000..c7914381d --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SimIntegrationDetails.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SimIntegrationDetails' { + Context 'V2024SimIntegrationDetails' { + It 'Initialize-V2024SimIntegrationDetails' { + # a simple test to create an object + #$NewObject = Initialize-V2024SimIntegrationDetails -Id "TEST_VALUE" -Name "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" -Description "TEST_VALUE" -Type "TEST_VALUE" -Attributes "TEST_VALUE" -Sources "TEST_VALUE" -Cluster "TEST_VALUE" -StatusMap "TEST_VALUE" -Request "TEST_VALUE" -BeforeProvisioningRule "TEST_VALUE" + #$NewObject | Should -BeOfType SimIntegrationDetails + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SimIntegrationDetailsAllOfBeforeProvisioningRule.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SimIntegrationDetailsAllOfBeforeProvisioningRule.Tests.ps1 new file mode 100644 index 000000000..6f2ef867b --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SimIntegrationDetailsAllOfBeforeProvisioningRule.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SimIntegrationDetailsAllOfBeforeProvisioningRule' { + Context 'V2024SimIntegrationDetailsAllOfBeforeProvisioningRule' { + It 'Initialize-V2024SimIntegrationDetailsAllOfBeforeProvisioningRule' { + # a simple test to create an object + #$NewObject = Initialize-V2024SimIntegrationDetailsAllOfBeforeProvisioningRule -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType SimIntegrationDetailsAllOfBeforeProvisioningRule + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SlimCampaign.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SlimCampaign.Tests.ps1 new file mode 100644 index 000000000..f2d5e4b7c --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SlimCampaign.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SlimCampaign' { + Context 'V2024SlimCampaign' { + It 'Initialize-V2024SlimCampaign' { + # a simple test to create an object + #$NewObject = Initialize-V2024SlimCampaign -Id "TEST_VALUE" -Name "TEST_VALUE" -Description "TEST_VALUE" -Deadline "TEST_VALUE" -Type "TEST_VALUE" -EmailNotificationEnabled "TEST_VALUE" -AutoRevokeAllowed "TEST_VALUE" -RecommendationsEnabled "TEST_VALUE" -Status "TEST_VALUE" -CorrelatedStatus "TEST_VALUE" -Created "TEST_VALUE" -TotalCertifications "TEST_VALUE" -CompletedCertifications "TEST_VALUE" -Alerts "TEST_VALUE" + #$NewObject | Should -BeOfType SlimCampaign + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SodExemptCriteria.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SodExemptCriteria.Tests.ps1 new file mode 100644 index 000000000..cdcdc7755 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SodExemptCriteria.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SodExemptCriteria' { + Context 'V2024SodExemptCriteria' { + It 'Initialize-V2024SodExemptCriteria' { + # a simple test to create an object + #$NewObject = Initialize-V2024SodExemptCriteria -Existing "TEST_VALUE" -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType SodExemptCriteria + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SodPolicy.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SodPolicy.Tests.ps1 new file mode 100644 index 000000000..76768b79e --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SodPolicy.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SodPolicy' { + Context 'V2024SodPolicy' { + It 'Initialize-V2024SodPolicy' { + # a simple test to create an object + #$NewObject = Initialize-V2024SodPolicy -Id "TEST_VALUE" -Name "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" -Description "TEST_VALUE" -OwnerRef "TEST_VALUE" -ExternalPolicyReference "TEST_VALUE" -PolicyQuery "TEST_VALUE" -CompensatingControls "TEST_VALUE" -CorrectionAdvice "TEST_VALUE" -State "TEST_VALUE" -Tags "TEST_VALUE" -CreatorId "TEST_VALUE" -ModifierId "TEST_VALUE" -ViolationOwnerAssignmentConfig "TEST_VALUE" -Scheduled "TEST_VALUE" -Type "TEST_VALUE" -ConflictingAccessCriteria "TEST_VALUE" + #$NewObject | Should -BeOfType SodPolicy + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SodPolicyConflictingAccessCriteria.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SodPolicyConflictingAccessCriteria.Tests.ps1 new file mode 100644 index 000000000..2c9bb16c8 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SodPolicyConflictingAccessCriteria.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SodPolicyConflictingAccessCriteria' { + Context 'V2024SodPolicyConflictingAccessCriteria' { + It 'Initialize-V2024SodPolicyConflictingAccessCriteria' { + # a simple test to create an object + #$NewObject = Initialize-V2024SodPolicyConflictingAccessCriteria -LeftCriteria "TEST_VALUE" -RightCriteria "TEST_VALUE" + #$NewObject | Should -BeOfType SodPolicyConflictingAccessCriteria + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SodPolicyDto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SodPolicyDto.Tests.ps1 new file mode 100644 index 000000000..ae1f2a000 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SodPolicyDto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SodPolicyDto' { + Context 'V2024SodPolicyDto' { + It 'Initialize-V2024SodPolicyDto' { + # a simple test to create an object + #$NewObject = Initialize-V2024SodPolicyDto -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType SodPolicyDto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SodPolicyOwnerRef.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SodPolicyOwnerRef.Tests.ps1 new file mode 100644 index 000000000..7e660faed --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SodPolicyOwnerRef.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SodPolicyOwnerRef' { + Context 'V2024SodPolicyOwnerRef' { + It 'Initialize-V2024SodPolicyOwnerRef' { + # a simple test to create an object + #$NewObject = Initialize-V2024SodPolicyOwnerRef -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType SodPolicyOwnerRef + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SodPolicySchedule.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SodPolicySchedule.Tests.ps1 new file mode 100644 index 000000000..1c1f4cc74 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SodPolicySchedule.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SodPolicySchedule' { + Context 'V2024SodPolicySchedule' { + It 'Initialize-V2024SodPolicySchedule' { + # a simple test to create an object + #$NewObject = Initialize-V2024SodPolicySchedule -Name "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" -Description "TEST_VALUE" -Schedule "TEST_VALUE" -Recipients "TEST_VALUE" -EmailEmptyResults "TEST_VALUE" -CreatorId "TEST_VALUE" -ModifierId "TEST_VALUE" + #$NewObject | Should -BeOfType SodPolicySchedule + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SodRecipient.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SodRecipient.Tests.ps1 new file mode 100644 index 000000000..59705dd2b --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SodRecipient.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SodRecipient' { + Context 'V2024SodRecipient' { + It 'Initialize-V2024SodRecipient' { + # a simple test to create an object + #$NewObject = Initialize-V2024SodRecipient -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType SodRecipient + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SodReportResultDto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SodReportResultDto.Tests.ps1 new file mode 100644 index 000000000..139613ced --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SodReportResultDto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SodReportResultDto' { + Context 'V2024SodReportResultDto' { + It 'Initialize-V2024SodReportResultDto' { + # a simple test to create an object + #$NewObject = Initialize-V2024SodReportResultDto -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType SodReportResultDto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SodViolationCheck.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SodViolationCheck.Tests.ps1 new file mode 100644 index 000000000..92531bb62 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SodViolationCheck.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SodViolationCheck' { + Context 'V2024SodViolationCheck' { + It 'Initialize-V2024SodViolationCheck' { + # a simple test to create an object + #$NewObject = Initialize-V2024SodViolationCheck -RequestId "TEST_VALUE" -Created "TEST_VALUE" + #$NewObject | Should -BeOfType SodViolationCheck + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SodViolationCheckResult.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SodViolationCheckResult.Tests.ps1 new file mode 100644 index 000000000..a66f38538 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SodViolationCheckResult.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SodViolationCheckResult' { + Context 'V2024SodViolationCheckResult' { + It 'Initialize-V2024SodViolationCheckResult' { + # a simple test to create an object + #$NewObject = Initialize-V2024SodViolationCheckResult -Message "TEST_VALUE" -ClientMetadata "TEST_VALUE" -ViolationContexts "TEST_VALUE" -ViolatedPolicies "TEST_VALUE" + #$NewObject | Should -BeOfType SodViolationCheckResult + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SodViolationContext.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SodViolationContext.Tests.ps1 new file mode 100644 index 000000000..153d627ea --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SodViolationContext.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SodViolationContext' { + Context 'V2024SodViolationContext' { + It 'Initialize-V2024SodViolationContext' { + # a simple test to create an object + #$NewObject = Initialize-V2024SodViolationContext -Policy "TEST_VALUE" -ConflictingAccessCriteria "TEST_VALUE" + #$NewObject | Should -BeOfType SodViolationContext + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SodViolationContextCheckCompleted.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SodViolationContextCheckCompleted.Tests.ps1 new file mode 100644 index 000000000..890405f02 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SodViolationContextCheckCompleted.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SodViolationContextCheckCompleted' { + Context 'V2024SodViolationContextCheckCompleted' { + It 'Initialize-V2024SodViolationContextCheckCompleted' { + # a simple test to create an object + #$NewObject = Initialize-V2024SodViolationContextCheckCompleted -State "TEST_VALUE" -Uuid "TEST_VALUE" -ViolationCheckResult "TEST_VALUE" + #$NewObject | Should -BeOfType SodViolationContextCheckCompleted + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SodViolationContextConflictingAccessCriteria.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SodViolationContextConflictingAccessCriteria.Tests.ps1 new file mode 100644 index 000000000..92bc4822c --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SodViolationContextConflictingAccessCriteria.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SodViolationContextConflictingAccessCriteria' { + Context 'V2024SodViolationContextConflictingAccessCriteria' { + It 'Initialize-V2024SodViolationContextConflictingAccessCriteria' { + # a simple test to create an object + #$NewObject = Initialize-V2024SodViolationContextConflictingAccessCriteria -LeftCriteria "TEST_VALUE" -RightCriteria "TEST_VALUE" + #$NewObject | Should -BeOfType SodViolationContextConflictingAccessCriteria + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SodViolationContextConflictingAccessCriteriaLeftCriteria.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SodViolationContextConflictingAccessCriteriaLeftCriteria.Tests.ps1 new file mode 100644 index 000000000..f0e044e1e --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SodViolationContextConflictingAccessCriteriaLeftCriteria.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SodViolationContextConflictingAccessCriteriaLeftCriteria' { + Context 'V2024SodViolationContextConflictingAccessCriteriaLeftCriteria' { + It 'Initialize-V2024SodViolationContextConflictingAccessCriteriaLeftCriteria' { + # a simple test to create an object + #$NewObject = Initialize-V2024SodViolationContextConflictingAccessCriteriaLeftCriteria -CriteriaList "TEST_VALUE" + #$NewObject | Should -BeOfType SodViolationContextConflictingAccessCriteriaLeftCriteria + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Source.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Source.Tests.ps1 new file mode 100644 index 000000000..c692f1d4c --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Source.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Source' { + Context 'V2024Source' { + It 'Initialize-V2024Source' { + # a simple test to create an object + #$NewObject = Initialize-V2024Source -Id "TEST_VALUE" -Name "TEST_VALUE" -Description "TEST_VALUE" -Owner "TEST_VALUE" -Cluster "TEST_VALUE" -AccountCorrelationConfig "TEST_VALUE" -AccountCorrelationRule "TEST_VALUE" -ManagerCorrelationMapping "TEST_VALUE" -ManagerCorrelationRule "TEST_VALUE" -BeforeProvisioningRule "TEST_VALUE" -Schemas "TEST_VALUE" -PasswordPolicies "TEST_VALUE" -Features "TEST_VALUE" -Type "TEST_VALUE" -Connector "TEST_VALUE" -ConnectorClass "TEST_VALUE" -ConnectorAttributes "TEST_VALUE" -DeleteThreshold "TEST_VALUE" -Authoritative "TEST_VALUE" -ManagementWorkgroup "TEST_VALUE" -Healthy "TEST_VALUE" -Status "TEST_VALUE" -Since "TEST_VALUE" -ConnectorId "TEST_VALUE" -ConnectorName "TEST_VALUE" -ConnectionType "TEST_VALUE" -ConnectorImplementationId "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" -CredentialProviderEnabled "TEST_VALUE" -Category "TEST_VALUE" + #$NewObject | Should -BeOfType Source + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Source1.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Source1.Tests.ps1 new file mode 100644 index 000000000..d0229ac3e --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Source1.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Source1' { + Context 'V2024Source1' { + It 'Initialize-V2024Source1' { + # a simple test to create an object + #$NewObject = Initialize-V2024Source1 -Type "TEST_VALUE" -Properties "TEST_VALUE" + #$NewObject | Should -BeOfType Source1 + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SourceAccountCorrelationConfig.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SourceAccountCorrelationConfig.Tests.ps1 new file mode 100644 index 000000000..ea32df350 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SourceAccountCorrelationConfig.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SourceAccountCorrelationConfig' { + Context 'V2024SourceAccountCorrelationConfig' { + It 'Initialize-V2024SourceAccountCorrelationConfig' { + # a simple test to create an object + #$NewObject = Initialize-V2024SourceAccountCorrelationConfig -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType SourceAccountCorrelationConfig + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SourceAccountCorrelationRule.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SourceAccountCorrelationRule.Tests.ps1 new file mode 100644 index 000000000..c94b78551 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SourceAccountCorrelationRule.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SourceAccountCorrelationRule' { + Context 'V2024SourceAccountCorrelationRule' { + It 'Initialize-V2024SourceAccountCorrelationRule' { + # a simple test to create an object + #$NewObject = Initialize-V2024SourceAccountCorrelationRule -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType SourceAccountCorrelationRule + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SourceAccountCreated.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SourceAccountCreated.Tests.ps1 new file mode 100644 index 000000000..6f2ac045c --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SourceAccountCreated.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SourceAccountCreated' { + Context 'V2024SourceAccountCreated' { + It 'Initialize-V2024SourceAccountCreated' { + # a simple test to create an object + #$NewObject = Initialize-V2024SourceAccountCreated -Uuid "TEST_VALUE" -Id "TEST_VALUE" -NativeIdentifier "TEST_VALUE" -SourceId "TEST_VALUE" -SourceName "TEST_VALUE" -IdentityId "TEST_VALUE" -IdentityName "TEST_VALUE" -Attributes "TEST_VALUE" + #$NewObject | Should -BeOfType SourceAccountCreated + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SourceAccountDeleted.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SourceAccountDeleted.Tests.ps1 new file mode 100644 index 000000000..83cbda4be --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SourceAccountDeleted.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SourceAccountDeleted' { + Context 'V2024SourceAccountDeleted' { + It 'Initialize-V2024SourceAccountDeleted' { + # a simple test to create an object + #$NewObject = Initialize-V2024SourceAccountDeleted -Uuid "TEST_VALUE" -Id "TEST_VALUE" -NativeIdentifier "TEST_VALUE" -SourceId "TEST_VALUE" -SourceName "TEST_VALUE" -IdentityId "TEST_VALUE" -IdentityName "TEST_VALUE" -Attributes "TEST_VALUE" + #$NewObject | Should -BeOfType SourceAccountDeleted + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SourceAccountUpdated.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SourceAccountUpdated.Tests.ps1 new file mode 100644 index 000000000..3d943dff8 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SourceAccountUpdated.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SourceAccountUpdated' { + Context 'V2024SourceAccountUpdated' { + It 'Initialize-V2024SourceAccountUpdated' { + # a simple test to create an object + #$NewObject = Initialize-V2024SourceAccountUpdated -Uuid "TEST_VALUE" -Id "TEST_VALUE" -NativeIdentifier "TEST_VALUE" -SourceId "TEST_VALUE" -SourceName "TEST_VALUE" -IdentityId "TEST_VALUE" -IdentityName "TEST_VALUE" -Attributes "TEST_VALUE" + #$NewObject | Should -BeOfType SourceAccountUpdated + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SourceBeforeProvisioningRule.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SourceBeforeProvisioningRule.Tests.ps1 new file mode 100644 index 000000000..c953daff7 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SourceBeforeProvisioningRule.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SourceBeforeProvisioningRule' { + Context 'V2024SourceBeforeProvisioningRule' { + It 'Initialize-V2024SourceBeforeProvisioningRule' { + # a simple test to create an object + #$NewObject = Initialize-V2024SourceBeforeProvisioningRule -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType SourceBeforeProvisioningRule + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SourceCluster.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SourceCluster.Tests.ps1 new file mode 100644 index 000000000..057b049fe --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SourceCluster.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SourceCluster' { + Context 'V2024SourceCluster' { + It 'Initialize-V2024SourceCluster' { + # a simple test to create an object + #$NewObject = Initialize-V2024SourceCluster -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType SourceCluster + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SourceClusterDto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SourceClusterDto.Tests.ps1 new file mode 100644 index 000000000..fb6273607 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SourceClusterDto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SourceClusterDto' { + Context 'V2024SourceClusterDto' { + It 'Initialize-V2024SourceClusterDto' { + # a simple test to create an object + #$NewObject = Initialize-V2024SourceClusterDto -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType SourceClusterDto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SourceCode.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SourceCode.Tests.ps1 new file mode 100644 index 000000000..0774d2e64 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SourceCode.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SourceCode' { + Context 'V2024SourceCode' { + It 'Initialize-V2024SourceCode' { + # a simple test to create an object + #$NewObject = Initialize-V2024SourceCode -Version "TEST_VALUE" -Script "TEST_VALUE" + #$NewObject | Should -BeOfType SourceCode + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SourceCreated.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SourceCreated.Tests.ps1 new file mode 100644 index 000000000..f401f0987 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SourceCreated.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SourceCreated' { + Context 'V2024SourceCreated' { + It 'Initialize-V2024SourceCreated' { + # a simple test to create an object + #$NewObject = Initialize-V2024SourceCreated -Id "TEST_VALUE" -Name "TEST_VALUE" -Type "TEST_VALUE" -Created "TEST_VALUE" -Connector "TEST_VALUE" -Actor "TEST_VALUE" + #$NewObject | Should -BeOfType SourceCreated + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SourceCreatedActor.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SourceCreatedActor.Tests.ps1 new file mode 100644 index 000000000..cac7e4421 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SourceCreatedActor.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SourceCreatedActor' { + Context 'V2024SourceCreatedActor' { + It 'Initialize-V2024SourceCreatedActor' { + # a simple test to create an object + #$NewObject = Initialize-V2024SourceCreatedActor -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType SourceCreatedActor + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SourceDeleted.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SourceDeleted.Tests.ps1 new file mode 100644 index 000000000..65f367391 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SourceDeleted.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SourceDeleted' { + Context 'V2024SourceDeleted' { + It 'Initialize-V2024SourceDeleted' { + # a simple test to create an object + #$NewObject = Initialize-V2024SourceDeleted -Id "TEST_VALUE" -Name "TEST_VALUE" -Type "TEST_VALUE" -Deleted "TEST_VALUE" -Connector "TEST_VALUE" -Actor "TEST_VALUE" + #$NewObject | Should -BeOfType SourceDeleted + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SourceDeletedActor.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SourceDeletedActor.Tests.ps1 new file mode 100644 index 000000000..7b41c9dbf --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SourceDeletedActor.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SourceDeletedActor' { + Context 'V2024SourceDeletedActor' { + It 'Initialize-V2024SourceDeletedActor' { + # a simple test to create an object + #$NewObject = Initialize-V2024SourceDeletedActor -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType SourceDeletedActor + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SourceEntitlementRequestConfig.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SourceEntitlementRequestConfig.Tests.ps1 new file mode 100644 index 000000000..f2fbe4295 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SourceEntitlementRequestConfig.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SourceEntitlementRequestConfig' { + Context 'V2024SourceEntitlementRequestConfig' { + It 'Initialize-V2024SourceEntitlementRequestConfig' { + # a simple test to create an object + #$NewObject = Initialize-V2024SourceEntitlementRequestConfig -AccessRequestConfig "TEST_VALUE" + #$NewObject | Should -BeOfType SourceEntitlementRequestConfig + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SourceHealthDto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SourceHealthDto.Tests.ps1 new file mode 100644 index 000000000..86eb65b38 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SourceHealthDto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SourceHealthDto' { + Context 'V2024SourceHealthDto' { + It 'Initialize-V2024SourceHealthDto' { + # a simple test to create an object + #$NewObject = Initialize-V2024SourceHealthDto -Id "TEST_VALUE" -Type "TEST_VALUE" -Name "TEST_VALUE" -Org "TEST_VALUE" -IsAuthoritative "TEST_VALUE" -IsCluster "TEST_VALUE" -Hostname "TEST_VALUE" -Pod "TEST_VALUE" -IqServiceVersion "TEST_VALUE" -Status "TEST_VALUE" + #$NewObject | Should -BeOfType SourceHealthDto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SourceManagementWorkgroup.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SourceManagementWorkgroup.Tests.ps1 new file mode 100644 index 000000000..3ddaeddf9 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SourceManagementWorkgroup.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SourceManagementWorkgroup' { + Context 'V2024SourceManagementWorkgroup' { + It 'Initialize-V2024SourceManagementWorkgroup' { + # a simple test to create an object + #$NewObject = Initialize-V2024SourceManagementWorkgroup -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType SourceManagementWorkgroup + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SourceManagerCorrelationMapping.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SourceManagerCorrelationMapping.Tests.ps1 new file mode 100644 index 000000000..e09e598d2 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SourceManagerCorrelationMapping.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SourceManagerCorrelationMapping' { + Context 'V2024SourceManagerCorrelationMapping' { + It 'Initialize-V2024SourceManagerCorrelationMapping' { + # a simple test to create an object + #$NewObject = Initialize-V2024SourceManagerCorrelationMapping -AccountAttributeName "TEST_VALUE" -IdentityAttributeName "TEST_VALUE" + #$NewObject | Should -BeOfType SourceManagerCorrelationMapping + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SourceManagerCorrelationRule.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SourceManagerCorrelationRule.Tests.ps1 new file mode 100644 index 000000000..669f32352 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SourceManagerCorrelationRule.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SourceManagerCorrelationRule' { + Context 'V2024SourceManagerCorrelationRule' { + It 'Initialize-V2024SourceManagerCorrelationRule' { + # a simple test to create an object + #$NewObject = Initialize-V2024SourceManagerCorrelationRule -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType SourceManagerCorrelationRule + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SourceOwner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SourceOwner.Tests.ps1 new file mode 100644 index 000000000..f14fb927b --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SourceOwner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SourceOwner' { + Context 'V2024SourceOwner' { + It 'Initialize-V2024SourceOwner' { + # a simple test to create an object + #$NewObject = Initialize-V2024SourceOwner -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType SourceOwner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SourcePasswordPoliciesInner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SourcePasswordPoliciesInner.Tests.ps1 new file mode 100644 index 000000000..f9f57e465 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SourcePasswordPoliciesInner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SourcePasswordPoliciesInner' { + Context 'V2024SourcePasswordPoliciesInner' { + It 'Initialize-V2024SourcePasswordPoliciesInner' { + # a simple test to create an object + #$NewObject = Initialize-V2024SourcePasswordPoliciesInner -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType SourcePasswordPoliciesInner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SourceSchemasInner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SourceSchemasInner.Tests.ps1 new file mode 100644 index 000000000..6081a4a05 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SourceSchemasInner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SourceSchemasInner' { + Context 'V2024SourceSchemasInner' { + It 'Initialize-V2024SourceSchemasInner' { + # a simple test to create an object + #$NewObject = Initialize-V2024SourceSchemasInner -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType SourceSchemasInner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SourceSyncJob.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SourceSyncJob.Tests.ps1 new file mode 100644 index 000000000..ee4482456 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SourceSyncJob.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SourceSyncJob' { + Context 'V2024SourceSyncJob' { + It 'Initialize-V2024SourceSyncJob' { + # a simple test to create an object + #$NewObject = Initialize-V2024SourceSyncJob -Id "TEST_VALUE" -Status "TEST_VALUE" -Payload "TEST_VALUE" + #$NewObject | Should -BeOfType SourceSyncJob + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SourceSyncPayload.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SourceSyncPayload.Tests.ps1 new file mode 100644 index 000000000..62a316427 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SourceSyncPayload.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SourceSyncPayload' { + Context 'V2024SourceSyncPayload' { + It 'Initialize-V2024SourceSyncPayload' { + # a simple test to create an object + #$NewObject = Initialize-V2024SourceSyncPayload -Type "TEST_VALUE" -DataJson "TEST_VALUE" + #$NewObject | Should -BeOfType SourceSyncPayload + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SourceUpdated.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SourceUpdated.Tests.ps1 new file mode 100644 index 000000000..36c54f61e --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SourceUpdated.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SourceUpdated' { + Context 'V2024SourceUpdated' { + It 'Initialize-V2024SourceUpdated' { + # a simple test to create an object + #$NewObject = Initialize-V2024SourceUpdated -Id "TEST_VALUE" -Name "TEST_VALUE" -Type "TEST_VALUE" -Modified "TEST_VALUE" -Connector "TEST_VALUE" -Actor "TEST_VALUE" + #$NewObject | Should -BeOfType SourceUpdated + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SourceUpdatedActor.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SourceUpdatedActor.Tests.ps1 new file mode 100644 index 000000000..bf1939a39 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SourceUpdatedActor.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SourceUpdatedActor' { + Context 'V2024SourceUpdatedActor' { + It 'Initialize-V2024SourceUpdatedActor' { + # a simple test to create an object + #$NewObject = Initialize-V2024SourceUpdatedActor -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType SourceUpdatedActor + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SourceUsage.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SourceUsage.Tests.ps1 new file mode 100644 index 000000000..a44e47dbd --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SourceUsage.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SourceUsage' { + Context 'V2024SourceUsage' { + It 'Initialize-V2024SourceUsage' { + # a simple test to create an object + #$NewObject = Initialize-V2024SourceUsage -Date "TEST_VALUE" -Count "TEST_VALUE" + #$NewObject | Should -BeOfType SourceUsage + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SourceUsageStatus.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SourceUsageStatus.Tests.ps1 new file mode 100644 index 000000000..736a63e54 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SourceUsageStatus.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SourceUsageStatus' { + Context 'V2024SourceUsageStatus' { + It 'Initialize-V2024SourceUsageStatus' { + # a simple test to create an object + #$NewObject = Initialize-V2024SourceUsageStatus -Status "TEST_VALUE" + #$NewObject | Should -BeOfType SourceUsageStatus + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SpConfigExportJob.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SpConfigExportJob.Tests.ps1 new file mode 100644 index 000000000..98d16d282 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SpConfigExportJob.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SpConfigExportJob' { + Context 'V2024SpConfigExportJob' { + It 'Initialize-V2024SpConfigExportJob' { + # a simple test to create an object + #$NewObject = Initialize-V2024SpConfigExportJob -JobId "TEST_VALUE" -Status "TEST_VALUE" -Type "TEST_VALUE" -Expiration "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" -Description "TEST_VALUE" + #$NewObject | Should -BeOfType SpConfigExportJob + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SpConfigExportJobStatus.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SpConfigExportJobStatus.Tests.ps1 new file mode 100644 index 000000000..555bd0a62 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SpConfigExportJobStatus.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SpConfigExportJobStatus' { + Context 'V2024SpConfigExportJobStatus' { + It 'Initialize-V2024SpConfigExportJobStatus' { + # a simple test to create an object + #$NewObject = Initialize-V2024SpConfigExportJobStatus -JobId "TEST_VALUE" -Status "TEST_VALUE" -Type "TEST_VALUE" -Expiration "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" -Description "TEST_VALUE" -Completed "TEST_VALUE" + #$NewObject | Should -BeOfType SpConfigExportJobStatus + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SpConfigExportResults.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SpConfigExportResults.Tests.ps1 new file mode 100644 index 000000000..f8ca7d434 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SpConfigExportResults.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SpConfigExportResults' { + Context 'V2024SpConfigExportResults' { + It 'Initialize-V2024SpConfigExportResults' { + # a simple test to create an object + #$NewObject = Initialize-V2024SpConfigExportResults -Version "TEST_VALUE" -Timestamp "TEST_VALUE" -Tenant "TEST_VALUE" -Description "TEST_VALUE" -Options "TEST_VALUE" -Objects "TEST_VALUE" + #$NewObject | Should -BeOfType SpConfigExportResults + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SpConfigImportJobStatus.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SpConfigImportJobStatus.Tests.ps1 new file mode 100644 index 000000000..2cb7b2e2d --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SpConfigImportJobStatus.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SpConfigImportJobStatus' { + Context 'V2024SpConfigImportJobStatus' { + It 'Initialize-V2024SpConfigImportJobStatus' { + # a simple test to create an object + #$NewObject = Initialize-V2024SpConfigImportJobStatus -JobId "TEST_VALUE" -Status "TEST_VALUE" -Type "TEST_VALUE" -Expiration "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" -Message "TEST_VALUE" -Completed "TEST_VALUE" + #$NewObject | Should -BeOfType SpConfigImportJobStatus + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SpConfigImportResults.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SpConfigImportResults.Tests.ps1 new file mode 100644 index 000000000..c5e4f2fe2 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SpConfigImportResults.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SpConfigImportResults' { + Context 'V2024SpConfigImportResults' { + It 'Initialize-V2024SpConfigImportResults' { + # a simple test to create an object + #$NewObject = Initialize-V2024SpConfigImportResults -Results "TEST_VALUE" -ExportJobId "TEST_VALUE" + #$NewObject | Should -BeOfType SpConfigImportResults + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SpConfigJob.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SpConfigJob.Tests.ps1 new file mode 100644 index 000000000..19c46d3e6 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SpConfigJob.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SpConfigJob' { + Context 'V2024SpConfigJob' { + It 'Initialize-V2024SpConfigJob' { + # a simple test to create an object + #$NewObject = Initialize-V2024SpConfigJob -JobId "TEST_VALUE" -Status "TEST_VALUE" -Type "TEST_VALUE" -Expiration "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" + #$NewObject | Should -BeOfType SpConfigJob + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SpConfigMessage.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SpConfigMessage.Tests.ps1 new file mode 100644 index 000000000..5005f9394 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SpConfigMessage.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SpConfigMessage' { + Context 'V2024SpConfigMessage' { + It 'Initialize-V2024SpConfigMessage' { + # a simple test to create an object + #$NewObject = Initialize-V2024SpConfigMessage -Key "TEST_VALUE" -Text "TEST_VALUE" -Details "TEST_VALUE" + #$NewObject | Should -BeOfType SpConfigMessage + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SpConfigMessage1.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SpConfigMessage1.Tests.ps1 new file mode 100644 index 000000000..6c31b08f8 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SpConfigMessage1.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SpConfigMessage1' { + Context 'V2024SpConfigMessage1' { + It 'Initialize-V2024SpConfigMessage1' { + # a simple test to create an object + #$NewObject = Initialize-V2024SpConfigMessage1 -Key "TEST_VALUE" -Text "TEST_VALUE" -Details "TEST_VALUE" + #$NewObject | Should -BeOfType SpConfigMessage1 + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SpConfigObject.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SpConfigObject.Tests.ps1 new file mode 100644 index 000000000..a9c2ac5c9 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SpConfigObject.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SpConfigObject' { + Context 'V2024SpConfigObject' { + It 'Initialize-V2024SpConfigObject' { + # a simple test to create an object + #$NewObject = Initialize-V2024SpConfigObject -ObjectType "TEST_VALUE" -ResolveByIdUrl "TEST_VALUE" -ResolveByNameUrl "TEST_VALUE" -ExportUrl "TEST_VALUE" -ExportRight "TEST_VALUE" -ExportLimit "TEST_VALUE" -ImportUrl "TEST_VALUE" -ImportRight "TEST_VALUE" -ImportLimit "TEST_VALUE" -ReferenceExtractors "TEST_VALUE" -SignatureRequired "TEST_VALUE" -LegacyObject "TEST_VALUE" -OnePerTenant "TEST_VALUE" + #$NewObject | Should -BeOfType SpConfigObject + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SpConfigUrl.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SpConfigUrl.Tests.ps1 new file mode 100644 index 000000000..7c51e6118 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SpConfigUrl.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SpConfigUrl' { + Context 'V2024SpConfigUrl' { + It 'Initialize-V2024SpConfigUrl' { + # a simple test to create an object + #$NewObject = Initialize-V2024SpConfigUrl -Url "TEST_VALUE" -Query "TEST_VALUE" + #$NewObject | Should -BeOfType SpConfigUrl + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Split.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Split.Tests.ps1 new file mode 100644 index 000000000..d2e359b5c --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Split.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Split' { + Context 'V2024Split' { + It 'Initialize-V2024Split' { + # a simple test to create an object + #$NewObject = Initialize-V2024Split -Delimiter "TEST_VALUE" -Index "TEST_VALUE" -Throws "TEST_VALUE" -RequiresPeriodicRefresh "TEST_VALUE" -VarInput "TEST_VALUE" + #$NewObject | Should -BeOfType Split + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/StandardLevel.Tests.ps1 b/PSSailpoint/v2024/tests/Model/StandardLevel.Tests.ps1 new file mode 100644 index 000000000..8479c79cc --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/StandardLevel.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024StandardLevel' { + Context 'V2024StandardLevel' { + It 'Initialize-V2024StandardLevel' { + # a simple test to create an object + #$NewObject = Initialize-V2024StandardLevel + #$NewObject | Should -BeOfType StandardLevel + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/StartInvocationInput.Tests.ps1 b/PSSailpoint/v2024/tests/Model/StartInvocationInput.Tests.ps1 new file mode 100644 index 000000000..369da66f6 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/StartInvocationInput.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024StartInvocationInput' { + Context 'V2024StartInvocationInput' { + It 'Initialize-V2024StartInvocationInput' { + # a simple test to create an object + #$NewObject = Initialize-V2024StartInvocationInput -TriggerId "TEST_VALUE" -VarInput "TEST_VALUE" -ContentJson "TEST_VALUE" + #$NewObject | Should -BeOfType StartInvocationInput + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Static.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Static.Tests.ps1 new file mode 100644 index 000000000..833f48e18 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Static.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Static' { + Context 'V2024Static' { + It 'Initialize-V2024Static' { + # a simple test to create an object + #$NewObject = Initialize-V2024Static -Values "TEST_VALUE" -RequiresPeriodicRefresh "TEST_VALUE" + #$NewObject | Should -BeOfType Static + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/StatusResponse.Tests.ps1 b/PSSailpoint/v2024/tests/Model/StatusResponse.Tests.ps1 new file mode 100644 index 000000000..29db4532d --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/StatusResponse.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024StatusResponse' { + Context 'V2024StatusResponse' { + It 'Initialize-V2024StatusResponse' { + # a simple test to create an object + #$NewObject = Initialize-V2024StatusResponse -Id "TEST_VALUE" -Name "TEST_VALUE" -Status "TEST_VALUE" -ElapsedMillis "TEST_VALUE" -Details "TEST_VALUE" + #$NewObject | Should -BeOfType StatusResponse + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SubSearchAggregationSpecification.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SubSearchAggregationSpecification.Tests.ps1 new file mode 100644 index 000000000..0e93a8ccf --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SubSearchAggregationSpecification.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SubSearchAggregationSpecification' { + Context 'V2024SubSearchAggregationSpecification' { + It 'Initialize-V2024SubSearchAggregationSpecification' { + # a simple test to create an object + #$NewObject = Initialize-V2024SubSearchAggregationSpecification -Nested "TEST_VALUE" -Metric "TEST_VALUE" -VarFilter "TEST_VALUE" -Bucket "TEST_VALUE" -SubAggregation "TEST_VALUE" + #$NewObject | Should -BeOfType SubSearchAggregationSpecification + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Subscription.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Subscription.Tests.ps1 new file mode 100644 index 000000000..94bf0f574 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Subscription.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Subscription' { + Context 'V2024Subscription' { + It 'Initialize-V2024Subscription' { + # a simple test to create an object + #$NewObject = Initialize-V2024Subscription -Id "TEST_VALUE" -Name "TEST_VALUE" -Description "TEST_VALUE" -TriggerId "TEST_VALUE" -TriggerName "TEST_VALUE" -Type "TEST_VALUE" -ResponseDeadline "TEST_VALUE" -HttpConfig "TEST_VALUE" -EventBridgeConfig "TEST_VALUE" -Enabled "TEST_VALUE" -VarFilter "TEST_VALUE" + #$NewObject | Should -BeOfType Subscription + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SubscriptionPatchRequestInner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SubscriptionPatchRequestInner.Tests.ps1 new file mode 100644 index 000000000..12add79c4 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SubscriptionPatchRequestInner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SubscriptionPatchRequestInner' { + Context 'V2024SubscriptionPatchRequestInner' { + It 'Initialize-V2024SubscriptionPatchRequestInner' { + # a simple test to create an object + #$NewObject = Initialize-V2024SubscriptionPatchRequestInner -Op "TEST_VALUE" -Path "TEST_VALUE" -Value "TEST_VALUE" + #$NewObject | Should -BeOfType SubscriptionPatchRequestInner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SubscriptionPatchRequestInnerValue.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SubscriptionPatchRequestInnerValue.Tests.ps1 new file mode 100644 index 000000000..8c6ae1e26 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SubscriptionPatchRequestInnerValue.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SubscriptionPatchRequestInnerValue' { + Context 'V2024SubscriptionPatchRequestInnerValue' { + It 'Initialize-V2024SubscriptionPatchRequestInnerValue' { + # a simple test to create an object + #$NewObject = Initialize-V2024SubscriptionPatchRequestInnerValue + #$NewObject | Should -BeOfType SubscriptionPatchRequestInnerValue + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SubscriptionPatchRequestInnerValueAnyOfInner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SubscriptionPatchRequestInnerValueAnyOfInner.Tests.ps1 new file mode 100644 index 000000000..0c3b43b55 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SubscriptionPatchRequestInnerValueAnyOfInner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SubscriptionPatchRequestInnerValueAnyOfInner' { + Context 'V2024SubscriptionPatchRequestInnerValueAnyOfInner' { + It 'Initialize-V2024SubscriptionPatchRequestInnerValueAnyOfInner' { + # a simple test to create an object + #$NewObject = Initialize-V2024SubscriptionPatchRequestInnerValueAnyOfInner + #$NewObject | Should -BeOfType SubscriptionPatchRequestInnerValueAnyOfInner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SubscriptionPostRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SubscriptionPostRequest.Tests.ps1 new file mode 100644 index 000000000..537d8784e --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SubscriptionPostRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SubscriptionPostRequest' { + Context 'V2024SubscriptionPostRequest' { + It 'Initialize-V2024SubscriptionPostRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024SubscriptionPostRequest -Name "TEST_VALUE" -Description "TEST_VALUE" -TriggerId "TEST_VALUE" -Type "TEST_VALUE" -ResponseDeadline "TEST_VALUE" -HttpConfig "TEST_VALUE" -EventBridgeConfig "TEST_VALUE" -Enabled "TEST_VALUE" -VarFilter "TEST_VALUE" + #$NewObject | Should -BeOfType SubscriptionPostRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SubscriptionPutRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SubscriptionPutRequest.Tests.ps1 new file mode 100644 index 000000000..60fa74588 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SubscriptionPutRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SubscriptionPutRequest' { + Context 'V2024SubscriptionPutRequest' { + It 'Initialize-V2024SubscriptionPutRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024SubscriptionPutRequest -Name "TEST_VALUE" -Description "TEST_VALUE" -Type "TEST_VALUE" -ResponseDeadline "TEST_VALUE" -HttpConfig "TEST_VALUE" -EventBridgeConfig "TEST_VALUE" -Enabled "TEST_VALUE" -VarFilter "TEST_VALUE" + #$NewObject | Should -BeOfType SubscriptionPutRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/SubscriptionType.Tests.ps1 b/PSSailpoint/v2024/tests/Model/SubscriptionType.Tests.ps1 new file mode 100644 index 000000000..a165a2796 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/SubscriptionType.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024SubscriptionType' { + Context 'V2024SubscriptionType' { + It 'Initialize-V2024SubscriptionType' { + # a simple test to create an object + #$NewObject = Initialize-V2024SubscriptionType + #$NewObject | Should -BeOfType SubscriptionType + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Substring.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Substring.Tests.ps1 new file mode 100644 index 000000000..0294f3441 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Substring.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Substring' { + Context 'V2024Substring' { + It 'Initialize-V2024Substring' { + # a simple test to create an object + #$NewObject = Initialize-V2024Substring -VarBegin "TEST_VALUE" -BeginOffset "TEST_VALUE" -VarEnd "TEST_VALUE" -EndOffset "TEST_VALUE" -RequiresPeriodicRefresh "TEST_VALUE" -VarInput "TEST_VALUE" + #$NewObject | Should -BeOfType Substring + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/TaggedObject.Tests.ps1 b/PSSailpoint/v2024/tests/Model/TaggedObject.Tests.ps1 new file mode 100644 index 000000000..d819f3340 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/TaggedObject.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024TaggedObject' { + Context 'V2024TaggedObject' { + It 'Initialize-V2024TaggedObject' { + # a simple test to create an object + #$NewObject = Initialize-V2024TaggedObject -ObjectRef "TEST_VALUE" -Tags "TEST_VALUE" + #$NewObject | Should -BeOfType TaggedObject + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/TaggedObjectDto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/TaggedObjectDto.Tests.ps1 new file mode 100644 index 000000000..e060234f4 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/TaggedObjectDto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024TaggedObjectDto' { + Context 'V2024TaggedObjectDto' { + It 'Initialize-V2024TaggedObjectDto' { + # a simple test to create an object + #$NewObject = Initialize-V2024TaggedObjectDto -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType TaggedObjectDto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Target.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Target.Tests.ps1 new file mode 100644 index 000000000..a1a09255a --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Target.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Target' { + Context 'V2024Target' { + It 'Initialize-V2024Target' { + # a simple test to create an object + #$NewObject = Initialize-V2024Target -Id "TEST_VALUE" -Type "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType Target + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/TaskDefinitionSummary.Tests.ps1 b/PSSailpoint/v2024/tests/Model/TaskDefinitionSummary.Tests.ps1 new file mode 100644 index 000000000..1f8bea315 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/TaskDefinitionSummary.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024TaskDefinitionSummary' { + Context 'V2024TaskDefinitionSummary' { + It 'Initialize-V2024TaskDefinitionSummary' { + # a simple test to create an object + #$NewObject = Initialize-V2024TaskDefinitionSummary -Id "TEST_VALUE" -UniqueName "TEST_VALUE" -Description "TEST_VALUE" -ParentName "TEST_VALUE" -Executor "TEST_VALUE" -Arguments "TEST_VALUE" + #$NewObject | Should -BeOfType TaskDefinitionSummary + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/TaskResultDetails.Tests.ps1 b/PSSailpoint/v2024/tests/Model/TaskResultDetails.Tests.ps1 new file mode 100644 index 000000000..9c48c3f64 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/TaskResultDetails.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024TaskResultDetails' { + Context 'V2024TaskResultDetails' { + It 'Initialize-V2024TaskResultDetails' { + # a simple test to create an object + #$NewObject = Initialize-V2024TaskResultDetails -Type "TEST_VALUE" -Id "TEST_VALUE" -ReportType "TEST_VALUE" -Description "TEST_VALUE" -ParentName "TEST_VALUE" -Launcher "TEST_VALUE" -Created "TEST_VALUE" -Launched "TEST_VALUE" -Completed "TEST_VALUE" -CompletionStatus "TEST_VALUE" -Messages "TEST_VALUE" -Returns "TEST_VALUE" -Attributes "TEST_VALUE" -Progress "TEST_VALUE" + #$NewObject | Should -BeOfType TaskResultDetails + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/TaskResultDetailsMessagesInner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/TaskResultDetailsMessagesInner.Tests.ps1 new file mode 100644 index 000000000..7cc8afae7 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/TaskResultDetailsMessagesInner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024TaskResultDetailsMessagesInner' { + Context 'V2024TaskResultDetailsMessagesInner' { + It 'Initialize-V2024TaskResultDetailsMessagesInner' { + # a simple test to create an object + #$NewObject = Initialize-V2024TaskResultDetailsMessagesInner -Type "TEST_VALUE" -VarError "TEST_VALUE" -Warning "TEST_VALUE" -Key "TEST_VALUE" -LocalizedText "TEST_VALUE" + #$NewObject | Should -BeOfType TaskResultDetailsMessagesInner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/TaskResultDetailsReturnsInner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/TaskResultDetailsReturnsInner.Tests.ps1 new file mode 100644 index 000000000..4c1bf9fd9 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/TaskResultDetailsReturnsInner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024TaskResultDetailsReturnsInner' { + Context 'V2024TaskResultDetailsReturnsInner' { + It 'Initialize-V2024TaskResultDetailsReturnsInner' { + # a simple test to create an object + #$NewObject = Initialize-V2024TaskResultDetailsReturnsInner -DisplayLabel "TEST_VALUE" -AttributeName "TEST_VALUE" + #$NewObject | Should -BeOfType TaskResultDetailsReturnsInner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/TaskResultDto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/TaskResultDto.Tests.ps1 new file mode 100644 index 000000000..fd6dd401b --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/TaskResultDto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024TaskResultDto' { + Context 'V2024TaskResultDto' { + It 'Initialize-V2024TaskResultDto' { + # a simple test to create an object + #$NewObject = Initialize-V2024TaskResultDto -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType TaskResultDto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/TaskResultResponse.Tests.ps1 b/PSSailpoint/v2024/tests/Model/TaskResultResponse.Tests.ps1 new file mode 100644 index 000000000..8f34ada69 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/TaskResultResponse.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024TaskResultResponse' { + Context 'V2024TaskResultResponse' { + It 'Initialize-V2024TaskResultResponse' { + # a simple test to create an object + #$NewObject = Initialize-V2024TaskResultResponse -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType TaskResultResponse + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/TaskResultSimplified.Tests.ps1 b/PSSailpoint/v2024/tests/Model/TaskResultSimplified.Tests.ps1 new file mode 100644 index 000000000..2ac3fe050 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/TaskResultSimplified.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024TaskResultSimplified' { + Context 'V2024TaskResultSimplified' { + It 'Initialize-V2024TaskResultSimplified' { + # a simple test to create an object + #$NewObject = Initialize-V2024TaskResultSimplified -Id "TEST_VALUE" -Name "TEST_VALUE" -Description "TEST_VALUE" -Launcher "TEST_VALUE" -Completed "TEST_VALUE" -Launched "TEST_VALUE" -CompletionStatus "TEST_VALUE" + #$NewObject | Should -BeOfType TaskResultSimplified + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/TaskReturnDetails.Tests.ps1 b/PSSailpoint/v2024/tests/Model/TaskReturnDetails.Tests.ps1 new file mode 100644 index 000000000..5f540c986 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/TaskReturnDetails.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024TaskReturnDetails' { + Context 'V2024TaskReturnDetails' { + It 'Initialize-V2024TaskReturnDetails' { + # a simple test to create an object + #$NewObject = Initialize-V2024TaskReturnDetails -Name "TEST_VALUE" -AttributeName "TEST_VALUE" + #$NewObject | Should -BeOfType TaskReturnDetails + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/TaskStatus.Tests.ps1 b/PSSailpoint/v2024/tests/Model/TaskStatus.Tests.ps1 new file mode 100644 index 000000000..468e4f65f --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/TaskStatus.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024TaskStatus' { + Context 'V2024TaskStatus' { + It 'Initialize-V2024TaskStatus' { + # a simple test to create an object + #$NewObject = Initialize-V2024TaskStatus -Id "TEST_VALUE" -Type "TEST_VALUE" -UniqueName "TEST_VALUE" -Description "TEST_VALUE" -ParentName "TEST_VALUE" -Launcher "TEST_VALUE" -Target "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" -Launched "TEST_VALUE" -Completed "TEST_VALUE" -CompletionStatus "TEST_VALUE" -Messages "TEST_VALUE" -Returns "TEST_VALUE" -Attributes "TEST_VALUE" -Progress "TEST_VALUE" -PercentComplete "TEST_VALUE" -TaskDefinitionSummary "TEST_VALUE" + #$NewObject | Should -BeOfType TaskStatus + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/TaskStatusMessage.Tests.ps1 b/PSSailpoint/v2024/tests/Model/TaskStatusMessage.Tests.ps1 new file mode 100644 index 000000000..8dd7f5b12 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/TaskStatusMessage.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024TaskStatusMessage' { + Context 'V2024TaskStatusMessage' { + It 'Initialize-V2024TaskStatusMessage' { + # a simple test to create an object + #$NewObject = Initialize-V2024TaskStatusMessage -Type "TEST_VALUE" -LocalizedText "TEST_VALUE" -Key "TEST_VALUE" -Parameters "TEST_VALUE" + #$NewObject | Should -BeOfType TaskStatusMessage + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/TemplateBulkDeleteDto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/TemplateBulkDeleteDto.Tests.ps1 new file mode 100644 index 000000000..2ecdb9112 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/TemplateBulkDeleteDto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024TemplateBulkDeleteDto' { + Context 'V2024TemplateBulkDeleteDto' { + It 'Initialize-V2024TemplateBulkDeleteDto' { + # a simple test to create an object + #$NewObject = Initialize-V2024TemplateBulkDeleteDto -Key "TEST_VALUE" -Medium "TEST_VALUE" -Locale "TEST_VALUE" + #$NewObject | Should -BeOfType TemplateBulkDeleteDto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/TemplateDto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/TemplateDto.Tests.ps1 new file mode 100644 index 000000000..c151fb410 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/TemplateDto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024TemplateDto' { + Context 'V2024TemplateDto' { + It 'Initialize-V2024TemplateDto' { + # a simple test to create an object + #$NewObject = Initialize-V2024TemplateDto -Key "TEST_VALUE" -Name "TEST_VALUE" -Medium "TEST_VALUE" -Locale "TEST_VALUE" -Subject "TEST_VALUE" -Header "TEST_VALUE" -Body "TEST_VALUE" -Footer "TEST_VALUE" -VarFrom "TEST_VALUE" -ReplyTo "TEST_VALUE" -Description "TEST_VALUE" -Id "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" -SlackTemplate "TEST_VALUE" -TeamsTemplate "TEST_VALUE" + #$NewObject | Should -BeOfType TemplateDto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/TemplateDtoDefault.Tests.ps1 b/PSSailpoint/v2024/tests/Model/TemplateDtoDefault.Tests.ps1 new file mode 100644 index 000000000..45e3eaad7 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/TemplateDtoDefault.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024TemplateDtoDefault' { + Context 'V2024TemplateDtoDefault' { + It 'Initialize-V2024TemplateDtoDefault' { + # a simple test to create an object + #$NewObject = Initialize-V2024TemplateDtoDefault -Key "TEST_VALUE" -Name "TEST_VALUE" -Medium "TEST_VALUE" -Locale "TEST_VALUE" -Subject "TEST_VALUE" -Header "TEST_VALUE" -Body "TEST_VALUE" -Footer "TEST_VALUE" -VarFrom "TEST_VALUE" -ReplyTo "TEST_VALUE" -Description "TEST_VALUE" -SlackTemplate "TEST_VALUE" -TeamsTemplate "TEST_VALUE" + #$NewObject | Should -BeOfType TemplateDtoDefault + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/TemplateSlack.Tests.ps1 b/PSSailpoint/v2024/tests/Model/TemplateSlack.Tests.ps1 new file mode 100644 index 000000000..33eb200a6 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/TemplateSlack.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024TemplateSlack' { + Context 'V2024TemplateSlack' { + It 'Initialize-V2024TemplateSlack' { + # a simple test to create an object + #$NewObject = Initialize-V2024TemplateSlack -Key "TEST_VALUE" -Text "TEST_VALUE" -Blocks "TEST_VALUE" -Attachments "TEST_VALUE" -NotificationType "TEST_VALUE" -ApprovalId "TEST_VALUE" -RequestId "TEST_VALUE" -RequestedById "TEST_VALUE" -IsSubscription "TEST_VALUE" -AutoApprovalData "TEST_VALUE" -CustomFields "TEST_VALUE" + #$NewObject | Should -BeOfType TemplateSlack + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/TemplateSlackAutoApprovalData.Tests.ps1 b/PSSailpoint/v2024/tests/Model/TemplateSlackAutoApprovalData.Tests.ps1 new file mode 100644 index 000000000..58d46412a --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/TemplateSlackAutoApprovalData.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024TemplateSlackAutoApprovalData' { + Context 'V2024TemplateSlackAutoApprovalData' { + It 'Initialize-V2024TemplateSlackAutoApprovalData' { + # a simple test to create an object + #$NewObject = Initialize-V2024TemplateSlackAutoApprovalData -IsAutoApproved "TEST_VALUE" -ItemId "TEST_VALUE" -ItemType "TEST_VALUE" -AutoApprovalMessageJSON "TEST_VALUE" -AutoApprovalTitle "TEST_VALUE" + #$NewObject | Should -BeOfType TemplateSlackAutoApprovalData + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/TemplateSlackCustomFields.Tests.ps1 b/PSSailpoint/v2024/tests/Model/TemplateSlackCustomFields.Tests.ps1 new file mode 100644 index 000000000..82725a9e1 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/TemplateSlackCustomFields.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024TemplateSlackCustomFields' { + Context 'V2024TemplateSlackCustomFields' { + It 'Initialize-V2024TemplateSlackCustomFields' { + # a simple test to create an object + #$NewObject = Initialize-V2024TemplateSlackCustomFields -RequestType "TEST_VALUE" -ContainsDeny "TEST_VALUE" -CampaignId "TEST_VALUE" -CampaignStatus "TEST_VALUE" + #$NewObject | Should -BeOfType TemplateSlackCustomFields + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/TemplateTeams.Tests.ps1 b/PSSailpoint/v2024/tests/Model/TemplateTeams.Tests.ps1 new file mode 100644 index 000000000..6e05671fb --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/TemplateTeams.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024TemplateTeams' { + Context 'V2024TemplateTeams' { + It 'Initialize-V2024TemplateTeams' { + # a simple test to create an object + #$NewObject = Initialize-V2024TemplateTeams -Key "TEST_VALUE" -Title "TEST_VALUE" -Text "TEST_VALUE" -MessageJSON "TEST_VALUE" -IsSubscription "TEST_VALUE" -ApprovalId "TEST_VALUE" -RequestId "TEST_VALUE" -RequestedById "TEST_VALUE" -NotificationType "TEST_VALUE" -AutoApprovalData "TEST_VALUE" -CustomFields "TEST_VALUE" + #$NewObject | Should -BeOfType TemplateTeams + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Tenant.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Tenant.Tests.ps1 new file mode 100644 index 000000000..838b40fd6 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Tenant.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Tenant' { + Context 'V2024Tenant' { + It 'Initialize-V2024Tenant' { + # a simple test to create an object + #$NewObject = Initialize-V2024Tenant -Id "TEST_VALUE" -Name "TEST_VALUE" -FullName "TEST_VALUE" -Pod "TEST_VALUE" -Region "TEST_VALUE" -Description "TEST_VALUE" -Products "TEST_VALUE" + #$NewObject | Should -BeOfType Tenant + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/TenantConfigurationDetails.Tests.ps1 b/PSSailpoint/v2024/tests/Model/TenantConfigurationDetails.Tests.ps1 new file mode 100644 index 000000000..bd0d69d8d --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/TenantConfigurationDetails.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024TenantConfigurationDetails' { + Context 'V2024TenantConfigurationDetails' { + It 'Initialize-V2024TenantConfigurationDetails' { + # a simple test to create an object + #$NewObject = Initialize-V2024TenantConfigurationDetails -Disabled "TEST_VALUE" + #$NewObject | Should -BeOfType TenantConfigurationDetails + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/TenantConfigurationRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/TenantConfigurationRequest.Tests.ps1 new file mode 100644 index 000000000..8b8b18a62 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/TenantConfigurationRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024TenantConfigurationRequest' { + Context 'V2024TenantConfigurationRequest' { + It 'Initialize-V2024TenantConfigurationRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024TenantConfigurationRequest -ConfigDetails "TEST_VALUE" + #$NewObject | Should -BeOfType TenantConfigurationRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/TenantConfigurationResponse.Tests.ps1 b/PSSailpoint/v2024/tests/Model/TenantConfigurationResponse.Tests.ps1 new file mode 100644 index 000000000..b0832186b --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/TenantConfigurationResponse.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024TenantConfigurationResponse' { + Context 'V2024TenantConfigurationResponse' { + It 'Initialize-V2024TenantConfigurationResponse' { + # a simple test to create an object + #$NewObject = Initialize-V2024TenantConfigurationResponse -AuditDetails "TEST_VALUE" -ConfigDetails "TEST_VALUE" + #$NewObject | Should -BeOfType TenantConfigurationResponse + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/TenantUiMetadataItemResponse.Tests.ps1 b/PSSailpoint/v2024/tests/Model/TenantUiMetadataItemResponse.Tests.ps1 new file mode 100644 index 000000000..b57e711d4 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/TenantUiMetadataItemResponse.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024TenantUiMetadataItemResponse' { + Context 'V2024TenantUiMetadataItemResponse' { + It 'Initialize-V2024TenantUiMetadataItemResponse' { + # a simple test to create an object + #$NewObject = Initialize-V2024TenantUiMetadataItemResponse -IframeWhiteList "TEST_VALUE" -UsernameLabel "TEST_VALUE" -UsernameEmptyText "TEST_VALUE" + #$NewObject | Should -BeOfType TenantUiMetadataItemResponse + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/TenantUiMetadataItemUpdateRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/TenantUiMetadataItemUpdateRequest.Tests.ps1 new file mode 100644 index 000000000..6da5f5acb --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/TenantUiMetadataItemUpdateRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024TenantUiMetadataItemUpdateRequest' { + Context 'V2024TenantUiMetadataItemUpdateRequest' { + It 'Initialize-V2024TenantUiMetadataItemUpdateRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024TenantUiMetadataItemUpdateRequest -IframeWhiteList "TEST_VALUE" -UsernameLabel "TEST_VALUE" -UsernameEmptyText "TEST_VALUE" + #$NewObject | Should -BeOfType TenantUiMetadataItemUpdateRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/TestExternalExecuteWorkflow200Response.Tests.ps1 b/PSSailpoint/v2024/tests/Model/TestExternalExecuteWorkflow200Response.Tests.ps1 new file mode 100644 index 000000000..8b1ce18df --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/TestExternalExecuteWorkflow200Response.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024TestExternalExecuteWorkflow200Response' { + Context 'V2024TestExternalExecuteWorkflow200Response' { + It 'Initialize-V2024TestExternalExecuteWorkflow200Response' { + # a simple test to create an object + #$NewObject = Initialize-V2024TestExternalExecuteWorkflow200Response -Payload "TEST_VALUE" + #$NewObject | Should -BeOfType TestExternalExecuteWorkflow200Response + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/TestExternalExecuteWorkflowRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/TestExternalExecuteWorkflowRequest.Tests.ps1 new file mode 100644 index 000000000..a44ea7225 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/TestExternalExecuteWorkflowRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024TestExternalExecuteWorkflowRequest' { + Context 'V2024TestExternalExecuteWorkflowRequest' { + It 'Initialize-V2024TestExternalExecuteWorkflowRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024TestExternalExecuteWorkflowRequest -VarInput "TEST_VALUE" + #$NewObject | Should -BeOfType TestExternalExecuteWorkflowRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/TestInvocation.Tests.ps1 b/PSSailpoint/v2024/tests/Model/TestInvocation.Tests.ps1 new file mode 100644 index 000000000..7bd23f3ef --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/TestInvocation.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024TestInvocation' { + Context 'V2024TestInvocation' { + It 'Initialize-V2024TestInvocation' { + # a simple test to create an object + #$NewObject = Initialize-V2024TestInvocation -TriggerId "TEST_VALUE" -VarInput "TEST_VALUE" -ContentJson "TEST_VALUE" -SubscriptionIds "TEST_VALUE" + #$NewObject | Should -BeOfType TestInvocation + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/TestWorkflow200Response.Tests.ps1 b/PSSailpoint/v2024/tests/Model/TestWorkflow200Response.Tests.ps1 new file mode 100644 index 000000000..d1b5e365c --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/TestWorkflow200Response.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024TestWorkflow200Response' { + Context 'V2024TestWorkflow200Response' { + It 'Initialize-V2024TestWorkflow200Response' { + # a simple test to create an object + #$NewObject = Initialize-V2024TestWorkflow200Response -WorkflowExecutionId "TEST_VALUE" + #$NewObject | Should -BeOfType TestWorkflow200Response + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/TestWorkflowRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/TestWorkflowRequest.Tests.ps1 new file mode 100644 index 000000000..47bed81ac --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/TestWorkflowRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024TestWorkflowRequest' { + Context 'V2024TestWorkflowRequest' { + It 'Initialize-V2024TestWorkflowRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024TestWorkflowRequest -VarInput "TEST_VALUE" + #$NewObject | Should -BeOfType TestWorkflowRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/TextQuery.Tests.ps1 b/PSSailpoint/v2024/tests/Model/TextQuery.Tests.ps1 new file mode 100644 index 000000000..2c76888ce --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/TextQuery.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024TextQuery' { + Context 'V2024TextQuery' { + It 'Initialize-V2024TextQuery' { + # a simple test to create an object + #$NewObject = Initialize-V2024TextQuery -Terms "TEST_VALUE" -Fields "TEST_VALUE" -MatchAny "TEST_VALUE" -Contains "TEST_VALUE" + #$NewObject | Should -BeOfType TextQuery + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Transform.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Transform.Tests.ps1 new file mode 100644 index 000000000..5d9378b6e --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Transform.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Transform' { + Context 'V2024Transform' { + It 'Initialize-V2024Transform' { + # a simple test to create an object + #$NewObject = Initialize-V2024Transform -Name "TEST_VALUE" -Type "TEST_VALUE" -Attributes "TEST_VALUE" + #$NewObject | Should -BeOfType Transform + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/TransformAttributes.Tests.ps1 b/PSSailpoint/v2024/tests/Model/TransformAttributes.Tests.ps1 new file mode 100644 index 000000000..c98095047 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/TransformAttributes.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024TransformAttributes' { + Context 'V2024TransformAttributes' { + It 'Initialize-V2024TransformAttributes' { + # a simple test to create an object + #$NewObject = Initialize-V2024TransformAttributes -SourceName "TEST_VALUE" -AttributeName "TEST_VALUE" -AccountSortAttribute "TEST_VALUE" -AccountSortDescending "TEST_VALUE" -AccountReturnFirstLink "TEST_VALUE" -AccountFilter "TEST_VALUE" -AccountPropertyFilter "TEST_VALUE" -RequiresPeriodicRefresh "TEST_VALUE" -VarInput "TEST_VALUE" -Values "TEST_VALUE" -Expression "TEST_VALUE" -PositiveCondition "TEST_VALUE" -NegativeCondition "TEST_VALUE" -FirstDate "TEST_VALUE" -SecondDate "TEST_VALUE" -Operator "TEST_VALUE" -InputFormat "TEST_VALUE" -OutputFormat "TEST_VALUE" -RoundUp "TEST_VALUE" -DefaultRegion "TEST_VALUE" -IgnoreErrors "TEST_VALUE" -Name "TEST_VALUE" -Operation "TEST_VALUE" -IncludeNumbers "TEST_VALUE" -IncludeSpecialChars "TEST_VALUE" -Length "TEST_VALUE" -Uid "TEST_VALUE" -Substring "TEST_VALUE" -Format "TEST_VALUE" -Padding "TEST_VALUE" -Table "TEST_VALUE" -Id "TEST_VALUE" -Regex "TEST_VALUE" -Replacement "TEST_VALUE" -Delimiter "TEST_VALUE" -Index "TEST_VALUE" -Throws "TEST_VALUE" -VarBegin "TEST_VALUE" -BeginOffset "TEST_VALUE" -VarEnd "TEST_VALUE" -EndOffset "TEST_VALUE" + #$NewObject | Should -BeOfType TransformAttributes + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/TransformDefinition.Tests.ps1 b/PSSailpoint/v2024/tests/Model/TransformDefinition.Tests.ps1 new file mode 100644 index 000000000..01841f014 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/TransformDefinition.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024TransformDefinition' { + Context 'V2024TransformDefinition' { + It 'Initialize-V2024TransformDefinition' { + # a simple test to create an object + #$NewObject = Initialize-V2024TransformDefinition -Type "TEST_VALUE" -Attributes "TEST_VALUE" + #$NewObject | Should -BeOfType TransformDefinition + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/TransformDefinitionAttributesValue.Tests.ps1 b/PSSailpoint/v2024/tests/Model/TransformDefinitionAttributesValue.Tests.ps1 new file mode 100644 index 000000000..65338d992 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/TransformDefinitionAttributesValue.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024TransformDefinitionAttributesValue' { + Context 'V2024TransformDefinitionAttributesValue' { + It 'Initialize-V2024TransformDefinitionAttributesValue' { + # a simple test to create an object + #$NewObject = Initialize-V2024TransformDefinitionAttributesValue + #$NewObject | Should -BeOfType TransformDefinitionAttributesValue + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/TransformRead.Tests.ps1 b/PSSailpoint/v2024/tests/Model/TransformRead.Tests.ps1 new file mode 100644 index 000000000..98a72aee2 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/TransformRead.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024TransformRead' { + Context 'V2024TransformRead' { + It 'Initialize-V2024TransformRead' { + # a simple test to create an object + #$NewObject = Initialize-V2024TransformRead -Name "TEST_VALUE" -Type "TEST_VALUE" -Attributes "TEST_VALUE" -Id "TEST_VALUE" -Internal "TEST_VALUE" + #$NewObject | Should -BeOfType TransformRead + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/TransformRule.Tests.ps1 b/PSSailpoint/v2024/tests/Model/TransformRule.Tests.ps1 new file mode 100644 index 000000000..e7237e4f8 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/TransformRule.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024TransformRule' { + Context 'V2024TransformRule' { + It 'Initialize-V2024TransformRule' { + # a simple test to create an object + #$NewObject = Initialize-V2024TransformRule -Name "TEST_VALUE" -RequiresPeriodicRefresh "TEST_VALUE" + #$NewObject | Should -BeOfType TransformRule + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/TranslationMessage.Tests.ps1 b/PSSailpoint/v2024/tests/Model/TranslationMessage.Tests.ps1 new file mode 100644 index 000000000..bccb7be5c --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/TranslationMessage.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024TranslationMessage' { + Context 'V2024TranslationMessage' { + It 'Initialize-V2024TranslationMessage' { + # a simple test to create an object + #$NewObject = Initialize-V2024TranslationMessage -Key "TEST_VALUE" -Values "TEST_VALUE" + #$NewObject | Should -BeOfType TranslationMessage + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Trigger.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Trigger.Tests.ps1 new file mode 100644 index 000000000..2879abb1e --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Trigger.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Trigger' { + Context 'V2024Trigger' { + It 'Initialize-V2024Trigger' { + # a simple test to create an object + #$NewObject = Initialize-V2024Trigger -Id "TEST_VALUE" -Name "TEST_VALUE" -Type "TEST_VALUE" -Description "TEST_VALUE" -InputSchema "TEST_VALUE" -ExampleInput "TEST_VALUE" -OutputSchema "TEST_VALUE" -ExampleOutput "TEST_VALUE" + #$NewObject | Should -BeOfType Trigger + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/TriggerExampleInput.Tests.ps1 b/PSSailpoint/v2024/tests/Model/TriggerExampleInput.Tests.ps1 new file mode 100644 index 000000000..2c2989f2e --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/TriggerExampleInput.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024TriggerExampleInput' { + Context 'V2024TriggerExampleInput' { + It 'Initialize-V2024TriggerExampleInput' { + # a simple test to create an object + #$NewObject = Initialize-V2024TriggerExampleInput -AccessRequestId "TEST_VALUE" -RequestedFor "TEST_VALUE" -RequestedItems "TEST_VALUE" -RequestedBy "TEST_VALUE" -RequestedItemsStatus "TEST_VALUE" -Source "TEST_VALUE" -Status "TEST_VALUE" -Started "TEST_VALUE" -Completed "TEST_VALUE" -Errors "TEST_VALUE" -Warnings "TEST_VALUE" -Stats "TEST_VALUE" -Identity "TEST_VALUE" -Account "TEST_VALUE" -Changes "TEST_VALUE" -Attributes "TEST_VALUE" -EntitlementCount "TEST_VALUE" -Campaign "TEST_VALUE" -Certification "TEST_VALUE" -TrackingNumber "TEST_VALUE" -Sources "TEST_VALUE" -Action "TEST_VALUE" -Recipient "TEST_VALUE" -Requester "TEST_VALUE" -AccountRequests "TEST_VALUE" -FileName "TEST_VALUE" -OwnerEmail "TEST_VALUE" -OwnerName "TEST_VALUE" -Query "TEST_VALUE" -SearchName "TEST_VALUE" -SearchResults "TEST_VALUE" -SignedS3Url "TEST_VALUE" -Uuid "TEST_VALUE" -Id "TEST_VALUE" -NativeIdentifier "TEST_VALUE" -SourceId "TEST_VALUE" -SourceName "TEST_VALUE" -IdentityId "TEST_VALUE" -IdentityName "TEST_VALUE" -Name "TEST_VALUE" -Type "TEST_VALUE" -Created "TEST_VALUE" -Connector "TEST_VALUE" -Actor "TEST_VALUE" -Deleted "TEST_VALUE" -Modified "TEST_VALUE" -Application "TEST_VALUE" -HealthCheckResult "TEST_VALUE" -PreviousHealthCheckResult "TEST_VALUE" + #$NewObject | Should -BeOfType TriggerExampleInput + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/TriggerExampleOutput.Tests.ps1 b/PSSailpoint/v2024/tests/Model/TriggerExampleOutput.Tests.ps1 new file mode 100644 index 000000000..5aed1dcc5 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/TriggerExampleOutput.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024TriggerExampleOutput' { + Context 'V2024TriggerExampleOutput' { + It 'Initialize-V2024TriggerExampleOutput' { + # a simple test to create an object + #$NewObject = Initialize-V2024TriggerExampleOutput -Id "TEST_VALUE" -Name "TEST_VALUE" -Type "TEST_VALUE" -Approved "TEST_VALUE" -Comment "TEST_VALUE" -Approver "TEST_VALUE" + #$NewObject | Should -BeOfType TriggerExampleOutput + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/TriggerType.Tests.ps1 b/PSSailpoint/v2024/tests/Model/TriggerType.Tests.ps1 new file mode 100644 index 000000000..6cd06c84f --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/TriggerType.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024TriggerType' { + Context 'V2024TriggerType' { + It 'Initialize-V2024TriggerType' { + # a simple test to create an object + #$NewObject = Initialize-V2024TriggerType + #$NewObject | Should -BeOfType TriggerType + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Trim.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Trim.Tests.ps1 new file mode 100644 index 000000000..fd8d2463b --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Trim.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Trim' { + Context 'V2024Trim' { + It 'Initialize-V2024Trim' { + # a simple test to create an object + #$NewObject = Initialize-V2024Trim -RequiresPeriodicRefresh "TEST_VALUE" -VarInput "TEST_VALUE" + #$NewObject | Should -BeOfType Trim + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/TypeAheadQuery.Tests.ps1 b/PSSailpoint/v2024/tests/Model/TypeAheadQuery.Tests.ps1 new file mode 100644 index 000000000..173791d61 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/TypeAheadQuery.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024TypeAheadQuery' { + Context 'V2024TypeAheadQuery' { + It 'Initialize-V2024TypeAheadQuery' { + # a simple test to create an object + #$NewObject = Initialize-V2024TypeAheadQuery -Query "TEST_VALUE" -Field "TEST_VALUE" -NestedType "TEST_VALUE" -MaxExpansions "TEST_VALUE" -Size "TEST_VALUE" -Sort "TEST_VALUE" -SortByValue "TEST_VALUE" + #$NewObject | Should -BeOfType TypeAheadQuery + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/TypedReference.Tests.ps1 b/PSSailpoint/v2024/tests/Model/TypedReference.Tests.ps1 new file mode 100644 index 000000000..34b629069 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/TypedReference.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024TypedReference' { + Context 'V2024TypedReference' { + It 'Initialize-V2024TypedReference' { + # a simple test to create an object + #$NewObject = Initialize-V2024TypedReference -Type "TEST_VALUE" -Id "TEST_VALUE" + #$NewObject | Should -BeOfType TypedReference + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/UUIDGenerator.Tests.ps1 b/PSSailpoint/v2024/tests/Model/UUIDGenerator.Tests.ps1 new file mode 100644 index 000000000..b9ec00e57 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/UUIDGenerator.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024UUIDGenerator' { + Context 'V2024UUIDGenerator' { + It 'Initialize-V2024UUIDGenerator' { + # a simple test to create an object + #$NewObject = Initialize-V2024UUIDGenerator -RequiresPeriodicRefresh "TEST_VALUE" + #$NewObject | Should -BeOfType UUIDGenerator + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/UpdateAccessProfilesInBulk412Response.Tests.ps1 b/PSSailpoint/v2024/tests/Model/UpdateAccessProfilesInBulk412Response.Tests.ps1 new file mode 100644 index 000000000..5bfb82c6b --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/UpdateAccessProfilesInBulk412Response.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024UpdateAccessProfilesInBulk412Response' { + Context 'V2024UpdateAccessProfilesInBulk412Response' { + It 'Initialize-V2024UpdateAccessProfilesInBulk412Response' { + # a simple test to create an object + #$NewObject = Initialize-V2024UpdateAccessProfilesInBulk412Response -Message "TEST_VALUE" + #$NewObject | Should -BeOfType UpdateAccessProfilesInBulk412Response + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/UpdateDetail.Tests.ps1 b/PSSailpoint/v2024/tests/Model/UpdateDetail.Tests.ps1 new file mode 100644 index 000000000..beb427f12 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/UpdateDetail.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024UpdateDetail' { + Context 'V2024UpdateDetail' { + It 'Initialize-V2024UpdateDetail' { + # a simple test to create an object + #$NewObject = Initialize-V2024UpdateDetail -Message "TEST_VALUE" -ScriptName "TEST_VALUE" -UpdatedFiles "TEST_VALUE" -Status "TEST_VALUE" + #$NewObject | Should -BeOfType UpdateDetail + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/UploadsRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/UploadsRequest.Tests.ps1 new file mode 100644 index 000000000..30d35ab26 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/UploadsRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024UploadsRequest' { + Context 'V2024UploadsRequest' { + It 'Initialize-V2024UploadsRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024UploadsRequest -JobId "TEST_VALUE" -Status "TEST_VALUE" -Type "TEST_VALUE" -Tenant "TEST_VALUE" -RequesterName "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" -Name "TEST_VALUE" -UserCanDelete "TEST_VALUE" -IsPartial "TEST_VALUE" -BackupType "TEST_VALUE" -HydrationStatus "TEST_VALUE" + #$NewObject | Should -BeOfType UploadsRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/UploadsResponse.Tests.ps1 b/PSSailpoint/v2024/tests/Model/UploadsResponse.Tests.ps1 new file mode 100644 index 000000000..4ca7a2c7b --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/UploadsResponse.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024UploadsResponse' { + Context 'V2024UploadsResponse' { + It 'Initialize-V2024UploadsResponse' { + # a simple test to create an object + #$NewObject = Initialize-V2024UploadsResponse -JobId "TEST_VALUE" -Status "TEST_VALUE" -Type "TEST_VALUE" -Tenant "TEST_VALUE" -RequesterName "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" -Name "TEST_VALUE" -UserCanDelete "TEST_VALUE" -IsPartial "TEST_VALUE" -BackupType "TEST_VALUE" -HydrationStatus "TEST_VALUE" + #$NewObject | Should -BeOfType UploadsResponse + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Upper.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Upper.Tests.ps1 new file mode 100644 index 000000000..f0e5616c3 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Upper.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Upper' { + Context 'V2024Upper' { + It 'Initialize-V2024Upper' { + # a simple test to create an object + #$NewObject = Initialize-V2024Upper -RequiresPeriodicRefresh "TEST_VALUE" -VarInput "TEST_VALUE" + #$NewObject | Should -BeOfType Upper + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/UsageType.Tests.ps1 b/PSSailpoint/v2024/tests/Model/UsageType.Tests.ps1 new file mode 100644 index 000000000..60102d8aa --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/UsageType.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024UsageType' { + Context 'V2024UsageType' { + It 'Initialize-V2024UsageType' { + # a simple test to create an object + #$NewObject = Initialize-V2024UsageType + #$NewObject | Should -BeOfType UsageType + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/V3ConnectorDto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/V3ConnectorDto.Tests.ps1 new file mode 100644 index 000000000..db419578e --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/V3ConnectorDto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V3ConnectorDto' { + Context 'V2024V3ConnectorDto' { + It 'Initialize-V2024V3ConnectorDto' { + # a simple test to create an object + #$NewObject = Initialize-V2024V3ConnectorDto -Name "TEST_VALUE" -Type "TEST_VALUE" -ScriptName "TEST_VALUE" -ClassName "TEST_VALUE" -Features "TEST_VALUE" -DirectConnect "TEST_VALUE" -ConnectorMetadata "TEST_VALUE" -Status "TEST_VALUE" + #$NewObject | Should -BeOfType V3ConnectorDto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/V3CreateConnectorDto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/V3CreateConnectorDto.Tests.ps1 new file mode 100644 index 000000000..fb2d651f3 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/V3CreateConnectorDto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024V3CreateConnectorDto' { + Context 'V2024V3CreateConnectorDto' { + It 'Initialize-V2024V3CreateConnectorDto' { + # a simple test to create an object + #$NewObject = Initialize-V2024V3CreateConnectorDto -Name "TEST_VALUE" -Type "TEST_VALUE" -ClassName "TEST_VALUE" -DirectConnect "TEST_VALUE" -Status "TEST_VALUE" + #$NewObject | Should -BeOfType V3CreateConnectorDto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/VAClusterStatusChangeEvent.Tests.ps1 b/PSSailpoint/v2024/tests/Model/VAClusterStatusChangeEvent.Tests.ps1 new file mode 100644 index 000000000..ec0b13d9e --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/VAClusterStatusChangeEvent.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024VAClusterStatusChangeEvent' { + Context 'V2024VAClusterStatusChangeEvent' { + It 'Initialize-V2024VAClusterStatusChangeEvent' { + # a simple test to create an object + #$NewObject = Initialize-V2024VAClusterStatusChangeEvent -Created "TEST_VALUE" -Type "TEST_VALUE" -Application "TEST_VALUE" -HealthCheckResult "TEST_VALUE" -PreviousHealthCheckResult "TEST_VALUE" + #$NewObject | Should -BeOfType VAClusterStatusChangeEvent + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/VAClusterStatusChangeEventApplication.Tests.ps1 b/PSSailpoint/v2024/tests/Model/VAClusterStatusChangeEventApplication.Tests.ps1 new file mode 100644 index 000000000..ea92f1eee --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/VAClusterStatusChangeEventApplication.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024VAClusterStatusChangeEventApplication' { + Context 'V2024VAClusterStatusChangeEventApplication' { + It 'Initialize-V2024VAClusterStatusChangeEventApplication' { + # a simple test to create an object + #$NewObject = Initialize-V2024VAClusterStatusChangeEventApplication -Id "TEST_VALUE" -Name "TEST_VALUE" -Attributes "TEST_VALUE" + #$NewObject | Should -BeOfType VAClusterStatusChangeEventApplication + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/VAClusterStatusChangeEventHealthCheckResult.Tests.ps1 b/PSSailpoint/v2024/tests/Model/VAClusterStatusChangeEventHealthCheckResult.Tests.ps1 new file mode 100644 index 000000000..7500acfbf --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/VAClusterStatusChangeEventHealthCheckResult.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024VAClusterStatusChangeEventHealthCheckResult' { + Context 'V2024VAClusterStatusChangeEventHealthCheckResult' { + It 'Initialize-V2024VAClusterStatusChangeEventHealthCheckResult' { + # a simple test to create an object + #$NewObject = Initialize-V2024VAClusterStatusChangeEventHealthCheckResult -Message "TEST_VALUE" -ResultType "TEST_VALUE" -Status "TEST_VALUE" + #$NewObject | Should -BeOfType VAClusterStatusChangeEventHealthCheckResult + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/VAClusterStatusChangeEventPreviousHealthCheckResult.Tests.ps1 b/PSSailpoint/v2024/tests/Model/VAClusterStatusChangeEventPreviousHealthCheckResult.Tests.ps1 new file mode 100644 index 000000000..0fe6afea4 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/VAClusterStatusChangeEventPreviousHealthCheckResult.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024VAClusterStatusChangeEventPreviousHealthCheckResult' { + Context 'V2024VAClusterStatusChangeEventPreviousHealthCheckResult' { + It 'Initialize-V2024VAClusterStatusChangeEventPreviousHealthCheckResult' { + # a simple test to create an object + #$NewObject = Initialize-V2024VAClusterStatusChangeEventPreviousHealthCheckResult -Message "TEST_VALUE" -ResultType "TEST_VALUE" -Status "TEST_VALUE" + #$NewObject | Should -BeOfType VAClusterStatusChangeEventPreviousHealthCheckResult + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ValidateFilterInputDto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ValidateFilterInputDto.Tests.ps1 new file mode 100644 index 000000000..92f5b9232 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ValidateFilterInputDto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ValidateFilterInputDto' { + Context 'V2024ValidateFilterInputDto' { + It 'Initialize-V2024ValidateFilterInputDto' { + # a simple test to create an object + #$NewObject = Initialize-V2024ValidateFilterInputDto -VarInput "TEST_VALUE" -VarFilter "TEST_VALUE" + #$NewObject | Should -BeOfType ValidateFilterInputDto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ValidateFilterOutputDto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ValidateFilterOutputDto.Tests.ps1 new file mode 100644 index 000000000..4fe9a71c8 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ValidateFilterOutputDto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ValidateFilterOutputDto' { + Context 'V2024ValidateFilterOutputDto' { + It 'Initialize-V2024ValidateFilterOutputDto' { + # a simple test to create an object + #$NewObject = Initialize-V2024ValidateFilterOutputDto -IsValid "TEST_VALUE" -IsValidJSONPath "TEST_VALUE" -IsPathExist "TEST_VALUE" + #$NewObject | Should -BeOfType ValidateFilterOutputDto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Value.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Value.Tests.ps1 new file mode 100644 index 000000000..c4fb8294b --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Value.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Value' { + Context 'V2024Value' { + It 'Initialize-V2024Value' { + # a simple test to create an object + #$NewObject = Initialize-V2024Value -Type "TEST_VALUE" -Value "TEST_VALUE" + #$NewObject | Should -BeOfType Value + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/VendorConnectorMapping.Tests.ps1 b/PSSailpoint/v2024/tests/Model/VendorConnectorMapping.Tests.ps1 new file mode 100644 index 000000000..831d4c4ff --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/VendorConnectorMapping.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024VendorConnectorMapping' { + Context 'V2024VendorConnectorMapping' { + It 'Initialize-V2024VendorConnectorMapping' { + # a simple test to create an object + #$NewObject = Initialize-V2024VendorConnectorMapping -Id "TEST_VALUE" -Vendor "TEST_VALUE" -Connector "TEST_VALUE" -CreatedAt "TEST_VALUE" -CreatedBy "TEST_VALUE" -UpdatedAt "TEST_VALUE" -UpdatedBy "TEST_VALUE" -DeletedAt "TEST_VALUE" -DeletedBy "TEST_VALUE" + #$NewObject | Should -BeOfType VendorConnectorMapping + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/VendorConnectorMappingDeletedAt.Tests.ps1 b/PSSailpoint/v2024/tests/Model/VendorConnectorMappingDeletedAt.Tests.ps1 new file mode 100644 index 000000000..c8a242f0a --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/VendorConnectorMappingDeletedAt.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024VendorConnectorMappingDeletedAt' { + Context 'V2024VendorConnectorMappingDeletedAt' { + It 'Initialize-V2024VendorConnectorMappingDeletedAt' { + # a simple test to create an object + #$NewObject = Initialize-V2024VendorConnectorMappingDeletedAt -Time "TEST_VALUE" -Valid "TEST_VALUE" + #$NewObject | Should -BeOfType VendorConnectorMappingDeletedAt + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/VendorConnectorMappingDeletedBy.Tests.ps1 b/PSSailpoint/v2024/tests/Model/VendorConnectorMappingDeletedBy.Tests.ps1 new file mode 100644 index 000000000..43574f897 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/VendorConnectorMappingDeletedBy.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024VendorConnectorMappingDeletedBy' { + Context 'V2024VendorConnectorMappingDeletedBy' { + It 'Initialize-V2024VendorConnectorMappingDeletedBy' { + # a simple test to create an object + #$NewObject = Initialize-V2024VendorConnectorMappingDeletedBy -String "TEST_VALUE" -Valid "TEST_VALUE" + #$NewObject | Should -BeOfType VendorConnectorMappingDeletedBy + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/VendorConnectorMappingUpdatedAt.Tests.ps1 b/PSSailpoint/v2024/tests/Model/VendorConnectorMappingUpdatedAt.Tests.ps1 new file mode 100644 index 000000000..bf9f6dc61 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/VendorConnectorMappingUpdatedAt.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024VendorConnectorMappingUpdatedAt' { + Context 'V2024VendorConnectorMappingUpdatedAt' { + It 'Initialize-V2024VendorConnectorMappingUpdatedAt' { + # a simple test to create an object + #$NewObject = Initialize-V2024VendorConnectorMappingUpdatedAt -Time "TEST_VALUE" -Valid "TEST_VALUE" + #$NewObject | Should -BeOfType VendorConnectorMappingUpdatedAt + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/VendorConnectorMappingUpdatedBy.Tests.ps1 b/PSSailpoint/v2024/tests/Model/VendorConnectorMappingUpdatedBy.Tests.ps1 new file mode 100644 index 000000000..b2572272a --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/VendorConnectorMappingUpdatedBy.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024VendorConnectorMappingUpdatedBy' { + Context 'V2024VendorConnectorMappingUpdatedBy' { + It 'Initialize-V2024VendorConnectorMappingUpdatedBy' { + # a simple test to create an object + #$NewObject = Initialize-V2024VendorConnectorMappingUpdatedBy -String "TEST_VALUE" -Valid "TEST_VALUE" + #$NewObject | Should -BeOfType VendorConnectorMappingUpdatedBy + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ViolationContext.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ViolationContext.Tests.ps1 new file mode 100644 index 000000000..5c449b7ad --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ViolationContext.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ViolationContext' { + Context 'V2024ViolationContext' { + It 'Initialize-V2024ViolationContext' { + # a simple test to create an object + #$NewObject = Initialize-V2024ViolationContext -Policy "TEST_VALUE" -ConflictingAccessCriteria "TEST_VALUE" + #$NewObject | Should -BeOfType ViolationContext + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ViolationContextPolicy.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ViolationContextPolicy.Tests.ps1 new file mode 100644 index 000000000..936b87bb0 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ViolationContextPolicy.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ViolationContextPolicy' { + Context 'V2024ViolationContextPolicy' { + It 'Initialize-V2024ViolationContextPolicy' { + # a simple test to create an object + #$NewObject = Initialize-V2024ViolationContextPolicy -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType ViolationContextPolicy + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ViolationOwnerAssignmentConfig.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ViolationOwnerAssignmentConfig.Tests.ps1 new file mode 100644 index 000000000..5ac473c85 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ViolationOwnerAssignmentConfig.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ViolationOwnerAssignmentConfig' { + Context 'V2024ViolationOwnerAssignmentConfig' { + It 'Initialize-V2024ViolationOwnerAssignmentConfig' { + # a simple test to create an object + #$NewObject = Initialize-V2024ViolationOwnerAssignmentConfig -AssignmentRule "TEST_VALUE" -OwnerRef "TEST_VALUE" + #$NewObject | Should -BeOfType ViolationOwnerAssignmentConfig + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ViolationOwnerAssignmentConfigOwnerRef.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ViolationOwnerAssignmentConfigOwnerRef.Tests.ps1 new file mode 100644 index 000000000..414bf6509 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ViolationOwnerAssignmentConfigOwnerRef.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ViolationOwnerAssignmentConfigOwnerRef' { + Context 'V2024ViolationOwnerAssignmentConfigOwnerRef' { + It 'Initialize-V2024ViolationOwnerAssignmentConfigOwnerRef' { + # a simple test to create an object + #$NewObject = Initialize-V2024ViolationOwnerAssignmentConfigOwnerRef -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType ViolationOwnerAssignmentConfigOwnerRef + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/ViolationPrediction.Tests.ps1 b/PSSailpoint/v2024/tests/Model/ViolationPrediction.Tests.ps1 new file mode 100644 index 000000000..ebad62357 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/ViolationPrediction.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024ViolationPrediction' { + Context 'V2024ViolationPrediction' { + It 'Initialize-V2024ViolationPrediction' { + # a simple test to create an object + #$NewObject = Initialize-V2024ViolationPrediction -ViolationContexts "TEST_VALUE" + #$NewObject | Should -BeOfType ViolationPrediction + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/VisibilityCriteria.Tests.ps1 b/PSSailpoint/v2024/tests/Model/VisibilityCriteria.Tests.ps1 new file mode 100644 index 000000000..be6057aa3 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/VisibilityCriteria.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024VisibilityCriteria' { + Context 'V2024VisibilityCriteria' { + It 'Initialize-V2024VisibilityCriteria' { + # a simple test to create an object + #$NewObject = Initialize-V2024VisibilityCriteria -Expression "TEST_VALUE" + #$NewObject | Should -BeOfType VisibilityCriteria + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/WorkItemForward.Tests.ps1 b/PSSailpoint/v2024/tests/Model/WorkItemForward.Tests.ps1 new file mode 100644 index 000000000..8f687fa07 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/WorkItemForward.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024WorkItemForward' { + Context 'V2024WorkItemForward' { + It 'Initialize-V2024WorkItemForward' { + # a simple test to create an object + #$NewObject = Initialize-V2024WorkItemForward -TargetOwnerId "TEST_VALUE" -Comment "TEST_VALUE" -SendNotifications "TEST_VALUE" + #$NewObject | Should -BeOfType WorkItemForward + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/WorkItemState.Tests.ps1 b/PSSailpoint/v2024/tests/Model/WorkItemState.Tests.ps1 new file mode 100644 index 000000000..86b5fd910 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/WorkItemState.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024WorkItemState' { + Context 'V2024WorkItemState' { + It 'Initialize-V2024WorkItemState' { + # a simple test to create an object + #$NewObject = Initialize-V2024WorkItemState + #$NewObject | Should -BeOfType WorkItemState + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/WorkItemStateManualWorkItems.Tests.ps1 b/PSSailpoint/v2024/tests/Model/WorkItemStateManualWorkItems.Tests.ps1 new file mode 100644 index 000000000..4d3baed0e --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/WorkItemStateManualWorkItems.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024WorkItemStateManualWorkItems' { + Context 'V2024WorkItemStateManualWorkItems' { + It 'Initialize-V2024WorkItemStateManualWorkItems' { + # a simple test to create an object + #$NewObject = Initialize-V2024WorkItemStateManualWorkItems + #$NewObject | Should -BeOfType WorkItemStateManualWorkItems + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/WorkItemTypeManualWorkItems.Tests.ps1 b/PSSailpoint/v2024/tests/Model/WorkItemTypeManualWorkItems.Tests.ps1 new file mode 100644 index 000000000..f74bbcf7d --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/WorkItemTypeManualWorkItems.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024WorkItemTypeManualWorkItems' { + Context 'V2024WorkItemTypeManualWorkItems' { + It 'Initialize-V2024WorkItemTypeManualWorkItems' { + # a simple test to create an object + #$NewObject = Initialize-V2024WorkItemTypeManualWorkItems + #$NewObject | Should -BeOfType WorkItemTypeManualWorkItems + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/WorkItems.Tests.ps1 b/PSSailpoint/v2024/tests/Model/WorkItems.Tests.ps1 new file mode 100644 index 000000000..c9374d3cf --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/WorkItems.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024WorkItems' { + Context 'V2024WorkItems' { + It 'Initialize-V2024WorkItems' { + # a simple test to create an object + #$NewObject = Initialize-V2024WorkItems -Id "TEST_VALUE" -RequesterId "TEST_VALUE" -RequesterDisplayName "TEST_VALUE" -OwnerId "TEST_VALUE" -OwnerName "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" -Description "TEST_VALUE" -State "TEST_VALUE" -Type "TEST_VALUE" -RemediationItems "TEST_VALUE" -ApprovalItems "TEST_VALUE" -Name "TEST_VALUE" -Completed "TEST_VALUE" -NumItems "TEST_VALUE" -Form "TEST_VALUE" -Errors "TEST_VALUE" + #$NewObject | Should -BeOfType WorkItems + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/WorkItemsCount.Tests.ps1 b/PSSailpoint/v2024/tests/Model/WorkItemsCount.Tests.ps1 new file mode 100644 index 000000000..1561906a0 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/WorkItemsCount.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024WorkItemsCount' { + Context 'V2024WorkItemsCount' { + It 'Initialize-V2024WorkItemsCount' { + # a simple test to create an object + #$NewObject = Initialize-V2024WorkItemsCount -Count "TEST_VALUE" + #$NewObject | Should -BeOfType WorkItemsCount + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/WorkItemsForm.Tests.ps1 b/PSSailpoint/v2024/tests/Model/WorkItemsForm.Tests.ps1 new file mode 100644 index 000000000..75f2273c4 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/WorkItemsForm.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024WorkItemsForm' { + Context 'V2024WorkItemsForm' { + It 'Initialize-V2024WorkItemsForm' { + # a simple test to create an object + #$NewObject = Initialize-V2024WorkItemsForm -Id "TEST_VALUE" -Name "TEST_VALUE" -Title "TEST_VALUE" -Subtitle "TEST_VALUE" -TargetUser "TEST_VALUE" -Sections "TEST_VALUE" + #$NewObject | Should -BeOfType WorkItemsForm + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/WorkItemsSummary.Tests.ps1 b/PSSailpoint/v2024/tests/Model/WorkItemsSummary.Tests.ps1 new file mode 100644 index 000000000..a8fc8faf1 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/WorkItemsSummary.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024WorkItemsSummary' { + Context 'V2024WorkItemsSummary' { + It 'Initialize-V2024WorkItemsSummary' { + # a simple test to create an object + #$NewObject = Initialize-V2024WorkItemsSummary -Open "TEST_VALUE" -Completed "TEST_VALUE" -Total "TEST_VALUE" + #$NewObject | Should -BeOfType WorkItemsSummary + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/Workflow.Tests.ps1 b/PSSailpoint/v2024/tests/Model/Workflow.Tests.ps1 new file mode 100644 index 000000000..4665821cd --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/Workflow.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024Workflow' { + Context 'V2024Workflow' { + It 'Initialize-V2024Workflow' { + # a simple test to create an object + #$NewObject = Initialize-V2024Workflow -Name "TEST_VALUE" -Owner "TEST_VALUE" -Description "TEST_VALUE" -Definition "TEST_VALUE" -Enabled "TEST_VALUE" -Trigger "TEST_VALUE" -Id "TEST_VALUE" -ExecutionCount "TEST_VALUE" -FailureCount "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" -ModifiedBy "TEST_VALUE" -Creator "TEST_VALUE" + #$NewObject | Should -BeOfType Workflow + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/WorkflowAllOfCreator.Tests.ps1 b/PSSailpoint/v2024/tests/Model/WorkflowAllOfCreator.Tests.ps1 new file mode 100644 index 000000000..b635ea38b --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/WorkflowAllOfCreator.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024WorkflowAllOfCreator' { + Context 'V2024WorkflowAllOfCreator' { + It 'Initialize-V2024WorkflowAllOfCreator' { + # a simple test to create an object + #$NewObject = Initialize-V2024WorkflowAllOfCreator -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType WorkflowAllOfCreator + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/WorkflowBody.Tests.ps1 b/PSSailpoint/v2024/tests/Model/WorkflowBody.Tests.ps1 new file mode 100644 index 000000000..13aca4a8a --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/WorkflowBody.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024WorkflowBody' { + Context 'V2024WorkflowBody' { + It 'Initialize-V2024WorkflowBody' { + # a simple test to create an object + #$NewObject = Initialize-V2024WorkflowBody -Name "TEST_VALUE" -Owner "TEST_VALUE" -Description "TEST_VALUE" -Definition "TEST_VALUE" -Enabled "TEST_VALUE" -Trigger "TEST_VALUE" + #$NewObject | Should -BeOfType WorkflowBody + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/WorkflowBodyOwner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/WorkflowBodyOwner.Tests.ps1 new file mode 100644 index 000000000..2a7117c3b --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/WorkflowBodyOwner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024WorkflowBodyOwner' { + Context 'V2024WorkflowBodyOwner' { + It 'Initialize-V2024WorkflowBodyOwner' { + # a simple test to create an object + #$NewObject = Initialize-V2024WorkflowBodyOwner -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType WorkflowBodyOwner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/WorkflowDefinition.Tests.ps1 b/PSSailpoint/v2024/tests/Model/WorkflowDefinition.Tests.ps1 new file mode 100644 index 000000000..adba55a4e --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/WorkflowDefinition.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024WorkflowDefinition' { + Context 'V2024WorkflowDefinition' { + It 'Initialize-V2024WorkflowDefinition' { + # a simple test to create an object + #$NewObject = Initialize-V2024WorkflowDefinition -Start "TEST_VALUE" -Steps "TEST_VALUE" + #$NewObject | Should -BeOfType WorkflowDefinition + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/WorkflowExecution.Tests.ps1 b/PSSailpoint/v2024/tests/Model/WorkflowExecution.Tests.ps1 new file mode 100644 index 000000000..0d938e75f --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/WorkflowExecution.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024WorkflowExecution' { + Context 'V2024WorkflowExecution' { + It 'Initialize-V2024WorkflowExecution' { + # a simple test to create an object + #$NewObject = Initialize-V2024WorkflowExecution -Id "TEST_VALUE" -WorkflowId "TEST_VALUE" -RequestId "TEST_VALUE" -StartTime "TEST_VALUE" -CloseTime "TEST_VALUE" -Status "TEST_VALUE" + #$NewObject | Should -BeOfType WorkflowExecution + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/WorkflowExecutionEvent.Tests.ps1 b/PSSailpoint/v2024/tests/Model/WorkflowExecutionEvent.Tests.ps1 new file mode 100644 index 000000000..f09e829f5 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/WorkflowExecutionEvent.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024WorkflowExecutionEvent' { + Context 'V2024WorkflowExecutionEvent' { + It 'Initialize-V2024WorkflowExecutionEvent' { + # a simple test to create an object + #$NewObject = Initialize-V2024WorkflowExecutionEvent -Type "TEST_VALUE" -Timestamp "TEST_VALUE" -Attributes "TEST_VALUE" + #$NewObject | Should -BeOfType WorkflowExecutionEvent + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/WorkflowLibraryAction.Tests.ps1 b/PSSailpoint/v2024/tests/Model/WorkflowLibraryAction.Tests.ps1 new file mode 100644 index 000000000..99f0ccdc4 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/WorkflowLibraryAction.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024WorkflowLibraryAction' { + Context 'V2024WorkflowLibraryAction' { + It 'Initialize-V2024WorkflowLibraryAction' { + # a simple test to create an object + #$NewObject = Initialize-V2024WorkflowLibraryAction -Id "TEST_VALUE" -Name "TEST_VALUE" -Type "TEST_VALUE" -Description "TEST_VALUE" -FormFields "TEST_VALUE" -ExampleOutput "TEST_VALUE" -Deprecated "TEST_VALUE" -DeprecatedBy "TEST_VALUE" -VersionNumber "TEST_VALUE" -IsSimulationEnabled "TEST_VALUE" -IsDynamicSchema "TEST_VALUE" -OutputSchema "TEST_VALUE" + #$NewObject | Should -BeOfType WorkflowLibraryAction + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/WorkflowLibraryActionExampleOutput.Tests.ps1 b/PSSailpoint/v2024/tests/Model/WorkflowLibraryActionExampleOutput.Tests.ps1 new file mode 100644 index 000000000..8c8799c3a --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/WorkflowLibraryActionExampleOutput.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024WorkflowLibraryActionExampleOutput' { + Context 'V2024WorkflowLibraryActionExampleOutput' { + It 'Initialize-V2024WorkflowLibraryActionExampleOutput' { + # a simple test to create an object + #$NewObject = Initialize-V2024WorkflowLibraryActionExampleOutput + #$NewObject | Should -BeOfType WorkflowLibraryActionExampleOutput + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/WorkflowLibraryFormFields.Tests.ps1 b/PSSailpoint/v2024/tests/Model/WorkflowLibraryFormFields.Tests.ps1 new file mode 100644 index 000000000..c5479747d --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/WorkflowLibraryFormFields.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024WorkflowLibraryFormFields' { + Context 'V2024WorkflowLibraryFormFields' { + It 'Initialize-V2024WorkflowLibraryFormFields' { + # a simple test to create an object + #$NewObject = Initialize-V2024WorkflowLibraryFormFields -Description "TEST_VALUE" -HelpText "TEST_VALUE" -Label "TEST_VALUE" -Name "TEST_VALUE" -Required "TEST_VALUE" -Type "TEST_VALUE" + #$NewObject | Should -BeOfType WorkflowLibraryFormFields + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/WorkflowLibraryOperator.Tests.ps1 b/PSSailpoint/v2024/tests/Model/WorkflowLibraryOperator.Tests.ps1 new file mode 100644 index 000000000..732bf6b7c --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/WorkflowLibraryOperator.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024WorkflowLibraryOperator' { + Context 'V2024WorkflowLibraryOperator' { + It 'Initialize-V2024WorkflowLibraryOperator' { + # a simple test to create an object + #$NewObject = Initialize-V2024WorkflowLibraryOperator -Id "TEST_VALUE" -Name "TEST_VALUE" -Type "TEST_VALUE" -Description "TEST_VALUE" -IsDynamicSchema "TEST_VALUE" -Deprecated "TEST_VALUE" -DeprecatedBy "TEST_VALUE" -IsSimulationEnabled "TEST_VALUE" -FormFields "TEST_VALUE" + #$NewObject | Should -BeOfType WorkflowLibraryOperator + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/WorkflowLibraryTrigger.Tests.ps1 b/PSSailpoint/v2024/tests/Model/WorkflowLibraryTrigger.Tests.ps1 new file mode 100644 index 000000000..1bf1bab0c --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/WorkflowLibraryTrigger.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024WorkflowLibraryTrigger' { + Context 'V2024WorkflowLibraryTrigger' { + It 'Initialize-V2024WorkflowLibraryTrigger' { + # a simple test to create an object + #$NewObject = Initialize-V2024WorkflowLibraryTrigger -Id "TEST_VALUE" -Type "TEST_VALUE" -Deprecated "TEST_VALUE" -DeprecatedBy "TEST_VALUE" -IsSimulationEnabled "TEST_VALUE" -OutputSchema "TEST_VALUE" -Name "TEST_VALUE" -Description "TEST_VALUE" -IsDynamicSchema "TEST_VALUE" -InputExample "TEST_VALUE" -FormFields "TEST_VALUE" + #$NewObject | Should -BeOfType WorkflowLibraryTrigger + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/WorkflowModifiedBy.Tests.ps1 b/PSSailpoint/v2024/tests/Model/WorkflowModifiedBy.Tests.ps1 new file mode 100644 index 000000000..32e128954 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/WorkflowModifiedBy.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024WorkflowModifiedBy' { + Context 'V2024WorkflowModifiedBy' { + It 'Initialize-V2024WorkflowModifiedBy' { + # a simple test to create an object + #$NewObject = Initialize-V2024WorkflowModifiedBy -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" + #$NewObject | Should -BeOfType WorkflowModifiedBy + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/WorkflowOAuthClient.Tests.ps1 b/PSSailpoint/v2024/tests/Model/WorkflowOAuthClient.Tests.ps1 new file mode 100644 index 000000000..83b175a88 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/WorkflowOAuthClient.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024WorkflowOAuthClient' { + Context 'V2024WorkflowOAuthClient' { + It 'Initialize-V2024WorkflowOAuthClient' { + # a simple test to create an object + #$NewObject = Initialize-V2024WorkflowOAuthClient -Id "TEST_VALUE" -Secret "TEST_VALUE" -Url "TEST_VALUE" + #$NewObject | Should -BeOfType WorkflowOAuthClient + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/WorkflowTrigger.Tests.ps1 b/PSSailpoint/v2024/tests/Model/WorkflowTrigger.Tests.ps1 new file mode 100644 index 000000000..8ad372f3d --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/WorkflowTrigger.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024WorkflowTrigger' { + Context 'V2024WorkflowTrigger' { + It 'Initialize-V2024WorkflowTrigger' { + # a simple test to create an object + #$NewObject = Initialize-V2024WorkflowTrigger -Type "TEST_VALUE" -DisplayName "TEST_VALUE" -Attributes "TEST_VALUE" + #$NewObject | Should -BeOfType WorkflowTrigger + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/WorkflowTriggerAttributes.Tests.ps1 b/PSSailpoint/v2024/tests/Model/WorkflowTriggerAttributes.Tests.ps1 new file mode 100644 index 000000000..4f9e27953 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/WorkflowTriggerAttributes.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024WorkflowTriggerAttributes' { + Context 'V2024WorkflowTriggerAttributes' { + It 'Initialize-V2024WorkflowTriggerAttributes' { + # a simple test to create an object + #$NewObject = Initialize-V2024WorkflowTriggerAttributes -Id "TEST_VALUE" -VarFilter "TEST_VALUE" -Description "TEST_VALUE" -Name "TEST_VALUE" -ClientId "TEST_VALUE" -Url "TEST_VALUE" -CronString "TEST_VALUE" -Frequency "TEST_VALUE" -TimeZone "TEST_VALUE" -WeeklyDays "TEST_VALUE" -WeeklyTimes "TEST_VALUE" + #$NewObject | Should -BeOfType WorkflowTriggerAttributes + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/WorkgroupBulkDeleteRequest.Tests.ps1 b/PSSailpoint/v2024/tests/Model/WorkgroupBulkDeleteRequest.Tests.ps1 new file mode 100644 index 000000000..1b74b32e0 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/WorkgroupBulkDeleteRequest.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024WorkgroupBulkDeleteRequest' { + Context 'V2024WorkgroupBulkDeleteRequest' { + It 'Initialize-V2024WorkgroupBulkDeleteRequest' { + # a simple test to create an object + #$NewObject = Initialize-V2024WorkgroupBulkDeleteRequest -Ids "TEST_VALUE" + #$NewObject | Should -BeOfType WorkgroupBulkDeleteRequest + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/WorkgroupConnectionDto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/WorkgroupConnectionDto.Tests.ps1 new file mode 100644 index 000000000..cb86f7509 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/WorkgroupConnectionDto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024WorkgroupConnectionDto' { + Context 'V2024WorkgroupConnectionDto' { + It 'Initialize-V2024WorkgroupConnectionDto' { + # a simple test to create an object + #$NewObject = Initialize-V2024WorkgroupConnectionDto -Object "TEST_VALUE" -ConnectionType "TEST_VALUE" + #$NewObject | Should -BeOfType WorkgroupConnectionDto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/WorkgroupDeleteItem.Tests.ps1 b/PSSailpoint/v2024/tests/Model/WorkgroupDeleteItem.Tests.ps1 new file mode 100644 index 000000000..1142570fd --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/WorkgroupDeleteItem.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024WorkgroupDeleteItem' { + Context 'V2024WorkgroupDeleteItem' { + It 'Initialize-V2024WorkgroupDeleteItem' { + # a simple test to create an object + #$NewObject = Initialize-V2024WorkgroupDeleteItem -Id "TEST_VALUE" -Status "TEST_VALUE" -Description "TEST_VALUE" + #$NewObject | Should -BeOfType WorkgroupDeleteItem + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/WorkgroupDto.Tests.ps1 b/PSSailpoint/v2024/tests/Model/WorkgroupDto.Tests.ps1 new file mode 100644 index 000000000..6a5d0db7f --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/WorkgroupDto.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024WorkgroupDto' { + Context 'V2024WorkgroupDto' { + It 'Initialize-V2024WorkgroupDto' { + # a simple test to create an object + #$NewObject = Initialize-V2024WorkgroupDto -Owner "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" -Description "TEST_VALUE" -MemberCount "TEST_VALUE" -ConnectionCount "TEST_VALUE" -Created "TEST_VALUE" -Modified "TEST_VALUE" + #$NewObject | Should -BeOfType WorkgroupDto + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/WorkgroupDtoOwner.Tests.ps1 b/PSSailpoint/v2024/tests/Model/WorkgroupDtoOwner.Tests.ps1 new file mode 100644 index 000000000..2d0c72115 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/WorkgroupDtoOwner.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024WorkgroupDtoOwner' { + Context 'V2024WorkgroupDtoOwner' { + It 'Initialize-V2024WorkgroupDtoOwner' { + # a simple test to create an object + #$NewObject = Initialize-V2024WorkgroupDtoOwner -Type "TEST_VALUE" -Id "TEST_VALUE" -Name "TEST_VALUE" -DisplayName "TEST_VALUE" -EmailAddress "TEST_VALUE" + #$NewObject | Should -BeOfType WorkgroupDtoOwner + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/WorkgroupMemberAddItem.Tests.ps1 b/PSSailpoint/v2024/tests/Model/WorkgroupMemberAddItem.Tests.ps1 new file mode 100644 index 000000000..7960ba19a --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/WorkgroupMemberAddItem.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024WorkgroupMemberAddItem' { + Context 'V2024WorkgroupMemberAddItem' { + It 'Initialize-V2024WorkgroupMemberAddItem' { + # a simple test to create an object + #$NewObject = Initialize-V2024WorkgroupMemberAddItem -Id "TEST_VALUE" -Status "TEST_VALUE" -Description "TEST_VALUE" + #$NewObject | Should -BeOfType WorkgroupMemberAddItem + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v2024/tests/Model/WorkgroupMemberDeleteItem.Tests.ps1 b/PSSailpoint/v2024/tests/Model/WorkgroupMemberDeleteItem.Tests.ps1 new file mode 100644 index 000000000..515cf4e32 --- /dev/null +++ b/PSSailpoint/v2024/tests/Model/WorkgroupMemberDeleteItem.Tests.ps1 @@ -0,0 +1,17 @@ +# +# Identity Security Cloud V2024 API +# 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. +# Version: v2024 +# Generated by OpenAPI Generator: https://openapi-generator.tech +# + +Describe -tag 'PSSailpointV2024' -name 'V2024WorkgroupMemberDeleteItem' { + Context 'V2024WorkgroupMemberDeleteItem' { + It 'Initialize-V2024WorkgroupMemberDeleteItem' { + # a simple test to create an object + #$NewObject = Initialize-V2024WorkgroupMemberDeleteItem -Id "TEST_VALUE" -Status "TEST_VALUE" -Description "TEST_VALUE" + #$NewObject | Should -BeOfType WorkgroupMemberDeleteItem + #$NewObject.property | Should -Be 0 + } + } +} diff --git a/PSSailpoint/v3/docs/AccountUsage.md b/PSSailpoint/v3/docs/AccountUsage.md index 8d046b85a..3c09b6fe2 100644 --- a/PSSailpoint/v3/docs/AccountUsage.md +++ b/PSSailpoint/v3/docs/AccountUsage.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes - Prepare the resource ```powershell -$AccountUsage = Initialize-PSSailpointAccountUsage -Date Fri Apr 21 00:00:00 UTC 2023 ` +$AccountUsage = Initialize-PSSailpointAccountUsage -Date Thu Apr 20 20:00:00 EDT 2023 ` -Count 10 ``` diff --git a/PSSailpoint/v3/docs/NonEmployeeRequestWithoutApprovalItem.md b/PSSailpoint/v3/docs/NonEmployeeRequestWithoutApprovalItem.md index 2177f5d72..dfba90661 100644 --- a/PSSailpoint/v3/docs/NonEmployeeRequestWithoutApprovalItem.md +++ b/PSSailpoint/v3/docs/NonEmployeeRequestWithoutApprovalItem.md @@ -38,8 +38,8 @@ $NonEmployeeRequestWithoutApprovalItem = Initialize-PSSailpointNonEmployeeReques -ApprovalStatus null ` -Comment approved ` -CompletionDate 2020-03-24T11:11:41.139-05:00 ` - -StartDate Tue Mar 24 00:00:00 UTC 2020 ` - -EndDate Thu Mar 25 00:00:00 UTC 2021 ` + -StartDate Mon Mar 23 20:00:00 EDT 2020 ` + -EndDate Wed Mar 24 20:00:00 EDT 2021 ` -Modified 2020-03-24T11:11:41.139-05:00 ` -Created 2020-03-24T11:11:41.139-05:00 ``` diff --git a/PSSailpoint/v3/docs/SourceUsage.md b/PSSailpoint/v3/docs/SourceUsage.md index d4f5abd1a..0a45aa9ff 100644 --- a/PSSailpoint/v3/docs/SourceUsage.md +++ b/PSSailpoint/v3/docs/SourceUsage.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes - Prepare the resource ```powershell -$SourceUsage = Initialize-PSSailpointSourceUsage -Date Fri Apr 21 00:00:00 UTC 2023 ` +$SourceUsage = Initialize-PSSailpointSourceUsage -Date Thu Apr 20 20:00:00 EDT 2023 ` -Count 10.45 ``` diff --git a/sdk-resources/resources/api.mustache b/sdk-resources/resources/api.mustache index b3b9a14b5..60e9e621a 100644 --- a/sdk-resources/resources/api.mustache +++ b/sdk-resources/resources/api.mustache @@ -40,9 +40,14 @@ function {{{vendorExtensions.x-powershell-method-name}}} { {{/allowableValues}} {{/isEnum}} [{{{vendorExtensions.x-powershell-data-type}}}] + {{#isHeaderParam}} + ${{paramName}} = {{{defaultValue}}}, + {{/isHeaderParam}} + {{^isHeaderParam}} {{=<% %>=}} ${<%paramName%>}, <%={{ }}=%> + {{/isHeaderParam}} {{/allParams}} {{#vendorExtensions.x-powershell-select-accept}} [String] diff --git a/sdk-resources/v2024-config.yaml b/sdk-resources/v2024-config.yaml new file mode 100644 index 000000000..649deef7f --- /dev/null +++ b/sdk-resources/v2024-config.yaml @@ -0,0 +1,9 @@ +templateDir: ./sdk-resources/resources +packageName: PSSailpointV2024 +packageVersion: 1.3.1 +apiNamePrefix: V2024 +apiVersion: v2024 +companyName: SailPoint Technologies +packageGuid: 51EC9F24-1977-40CE-A990-D0186150E0A2 +commonVerbs: Delete=Remove:Cancel=Suspend:Patch=Update:List=Get:Query=Search:Run=Start:Validate=Confirm:Make=Select +discardReadOnly: true